diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 059f3bbaa4..66828c2927 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,44 +1,82 @@ -### Заголовок вносимых изменений (например Dropdown или CI) [Heading 3] +## [Heading 2] -Здесь описываем резюме вносимых изменений. +Может быть: -В формате списка, например +- `Core` - используем если изменения в библиотеки new-hope и затрагивают все библиотеки +- `SDDS-CS, PLASMA-WEB, PLASMA-ICONS` - если изменения только для конкретной библиотеки используем ее название -- добавили новый api -- изменили свойство size +Например, -Пример такого описания, см. ниже +```md +## Core +``` ```md -### Raised hand +## PLASMA-WEB +``` + +### [Heading 3] Названия компонента, функции, темы, etc -- добавлена новая иконка +Например, -raisedHand +```md +### Dropdown ``` -Примечания: +```md +### PopoverProvider +``` -- По возможности приложите скриншоты решенной проблемы в формате "до/после" или скриншоты нового компонента. -- Обязательно укажите соответствующий **label**. Это нужно для определения правильной категории вносимых изменений. +Резюме вносимых изменений. -### What/why changed (Это обязательный заголовок) +```md +- исправлено поведение, когда нажатие на `Tab` очищало набранный текст в `single` mode; +``` -Более подробное описание решаемой проблемы. +Полный пример: + +```md +## Core + +### Combobox + +- исправлено поведение, когда нажатие на `Tab` очищало набранный текст в `single` mode; +``` -### Labels +```md +## SDDS-CS + +### Notification + +- добавлен layout `horizontal` +- добавлены токены для позиционирования `actions`, `iconLeft` и `iconClose` +``` + +Когда pull request содержит изменения и в core и в конечной библиотеки + +```md +## Core + +### Drawer, Panel -Это то, что **решает** ваш pull request. Label может быть только один. +- добавлена возможность изменить цвет закрывающей иконки -Список доступных labels: +## SDDS-CS -- Components (задача добавить новый компонент) -- Infra (поправили CI/CD, обновили зависимости, etc) -- Tokens (поправили в plasma-tokens, theme-builder) -- Icons (добавили новые иконки) -- Docs (задачи связанные с документацией) +### Datepicker -Все что не попадает в вышеперечисленное, попадет в категорию Misc. +- актуализированы примеры в storybook +``` + +**Примечания:** + +- По возможности приложите скриншоты решенной проблемы в формате "до/после" или скриншоты нового компонента. + +### What/why changed + +Это **обязательный** блок и заголовок! + +Более подробное описание решаемой проблемы. ### Прежде чем перевести в статус "requested a review" убедитесь diff --git a/.github/actions/preprocessing-release-changelog/action.yml b/.github/actions/preprocessing-release-changelog/action.yml new file mode 100644 index 0000000000..74b98f57f1 --- /dev/null +++ b/.github/actions/preprocessing-release-changelog/action.yml @@ -0,0 +1,16 @@ +name: preprocessing-release-changelog + +description: 'Transform release changelog with group by heading' + +inputs: + data: + description: "Raw data for processing" + required: true + +outputs: + changelog: + description: "changelog after processing" + +runs: + using: 'node20' + main: 'index.js' diff --git a/.github/actions/preprocessing-release-changelog/groupByHeadings.js b/.github/actions/preprocessing-release-changelog/groupByHeadings.js new file mode 100644 index 0000000000..702d361199 --- /dev/null +++ b/.github/actions/preprocessing-release-changelog/groupByHeadings.js @@ -0,0 +1,40 @@ +export function groupByHeadings(tree) { + const groups = new Map(); + const h2List = new Set(); + + let currentGroup = null; + let currentNodes = []; + + for (const node of tree.children) { + if (node.type === 'heading' && node.depth === 2) { + // Сохраняем предыдущую группу + if (currentGroup) { + const data = [...(groups.get(currentGroup) || []), ...currentNodes]; + + groups.set(currentGroup, data); + } + + const headingValue = node.children[0].value; + + currentGroup = headingValue; + + // Сохраняем заголовок только если он встречается впервые + currentNodes = !h2List.has(headingValue) ? [node] : []; + h2List.add(headingValue); + } else if (currentGroup) { + currentNodes.push(node); + } + } + + // Сохраняем последнюю группу + if (currentGroup && currentNodes.length) { + const data = [...(groups.get(currentGroup) || []), ...currentNodes]; + + groups.set(currentGroup, data); + } + + return { + ...tree, + children: [...groups.values()].flat(), + }; +} diff --git a/.github/actions/preprocessing-release-changelog/index.js b/.github/actions/preprocessing-release-changelog/index.js new file mode 100644 index 0000000000..fca97c0e6d --- /dev/null +++ b/.github/actions/preprocessing-release-changelog/index.js @@ -0,0 +1,25 @@ +import { unified } from 'unified'; +import remarkParse from 'remark-parse'; +import remarkStringify from 'remark-stringify'; + +import * as core from '@actions/core'; + +import { groupByHeadings } from './groupByHeadings.js'; + +async function run() { + try { + const data = core.getInput('data', { required: true }); + + const changelog = await unified() + .use(remarkParse) + .use(() => groupByHeadings) + .use(remarkStringify) + .process(data); + + core.setOutput('changelog', changelog.toLocaleString()); + } catch (error) { + core.setFailed(error.message); + } +} + +run(); diff --git a/.github/actions/preprocessing-release-changelog/package-lock.json b/.github/actions/preprocessing-release-changelog/package-lock.json new file mode 100644 index 0000000000..d540f9b17a --- /dev/null +++ b/.github/actions/preprocessing-release-changelog/package-lock.json @@ -0,0 +1,2136 @@ +{ + "name": "preprocessing-release-changelog", + "version": "0.0.1", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "preprocessing-release-changelog", + "version": "0.0.1", + "license": "ISC", + "dependencies": { + "@actions/core": "^1.10.1", + "@actions/github": "^6.0.0", + "remark-gfm": "^4.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.5", + "unist-util-visit": "^5.0.0" + } + }, + "node_modules/@actions/core": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.11.1.tgz", + "integrity": "sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A==", + "dependencies": { + "@actions/exec": "^1.1.1", + "@actions/http-client": "^2.0.1" + } + }, + "node_modules/@actions/exec": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", + "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", + "dependencies": { + "@actions/io": "^1.0.1" + } + }, + "node_modules/@actions/github": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-6.0.0.tgz", + "integrity": "sha512-alScpSVnYmjNEXboZjarjukQEzgCRmjMv6Xj47fsdnqGS73bjJNDpiiXmp8jr0UZLdUB6d9jW63IcmddUP+l0g==", + "dependencies": { + "@actions/http-client": "^2.2.0", + "@octokit/core": "^5.0.1", + "@octokit/plugin-paginate-rest": "^9.0.0", + "@octokit/plugin-rest-endpoint-methods": "^10.0.0" + } + }, + "node_modules/@actions/http-client": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.3.tgz", + "integrity": "sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA==", + "dependencies": { + "tunnel": "^0.0.6", + "undici": "^5.25.4" + } + }, + "node_modules/@actions/io": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.3.tgz", + "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==" + }, + "node_modules/@fastify/busboy": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", + "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==", + "engines": { + "node": ">=14" + } + }, + "node_modules/@octokit/auth-token": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-4.0.0.tgz", + "integrity": "sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==", + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/core": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.2.0.tgz", + "integrity": "sha512-1LFfa/qnMQvEOAdzlQymH0ulepxbxnCYAKJZfMci/5XJyIHWgEYnDmgnKakbTh7CH2tFQ5O60oYDvns4i9RAIg==", + "dependencies": { + "@octokit/auth-token": "^4.0.0", + "@octokit/graphql": "^7.1.0", + "@octokit/request": "^8.3.1", + "@octokit/request-error": "^5.1.0", + "@octokit/types": "^13.0.0", + "before-after-hook": "^2.2.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/endpoint": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-9.0.5.tgz", + "integrity": "sha512-ekqR4/+PCLkEBF6qgj8WqJfvDq65RH85OAgrtnVp1mSxaXF03u2xW/hUdweGS5654IlC0wkNYC18Z50tSYTAFw==", + "dependencies": { + "@octokit/types": "^13.1.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/graphql": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-7.1.0.tgz", + "integrity": "sha512-r+oZUH7aMFui1ypZnAvZmn0KSqAUgE1/tUXIWaqUCa1758ts/Jio84GZuzsvUkme98kv0WFY8//n0J1Z+vsIsQ==", + "dependencies": { + "@octokit/request": "^8.3.0", + "@octokit/types": "^13.0.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/openapi-types": { + "version": "22.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", + "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==" + }, + "node_modules/@octokit/plugin-paginate-rest": { + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-9.2.1.tgz", + "integrity": "sha512-wfGhE/TAkXZRLjksFXuDZdmGnJQHvtU/joFQdweXUgzo1XwvBCD4o4+75NtFfjfLK5IwLf9vHTfSiU3sLRYpRw==", + "dependencies": { + "@octokit/types": "^12.6.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": "5" + } + }, + "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/openapi-types": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", + "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" + }, + "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/types": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", + "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "dependencies": { + "@octokit/openapi-types": "^20.0.0" + } + }, + "node_modules/@octokit/plugin-rest-endpoint-methods": { + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-10.4.1.tgz", + "integrity": "sha512-xV1b+ceKV9KytQe3zCVqjg+8GTGfDYwaT1ATU5isiUyVtlVAO3HNdzpS4sr4GBx4hxQ46s7ITtZrAsxG22+rVg==", + "dependencies": { + "@octokit/types": "^12.6.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": "5" + } + }, + "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/openapi-types": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", + "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" + }, + "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", + "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "dependencies": { + "@octokit/openapi-types": "^20.0.0" + } + }, + "node_modules/@octokit/request": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.4.0.tgz", + "integrity": "sha512-9Bb014e+m2TgBeEJGEbdplMVWwPmL1FPtggHQRkV+WVsMggPtEkLKPlcVYm/o8xKLkpJ7B+6N8WfQMtDLX2Dpw==", + "dependencies": { + "@octokit/endpoint": "^9.0.1", + "@octokit/request-error": "^5.1.0", + "@octokit/types": "^13.1.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/request-error": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-5.1.0.tgz", + "integrity": "sha512-GETXfE05J0+7H2STzekpKObFe765O5dlAKUTLNGeH+x47z7JjXHfsHKo5z21D/o/IOZTUEI6nyWyR+bZVP/n5Q==", + "dependencies": { + "@octokit/types": "^13.1.0", + "deprecation": "^2.0.0", + "once": "^1.4.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/types": { + "version": "13.6.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.6.2.tgz", + "integrity": "sha512-WpbZfZUcZU77DrSW4wbsSgTPfKcp286q3ItaIgvSbBpZJlu6mnYXAkjZz6LVZPXkEvLIM8McanyZejKTYUHipA==", + "dependencies": { + "@octokit/openapi-types": "^22.2.0" + } + }, + "node_modules/@types/debug": { + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", + "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", + "dependencies": { + "@types/ms": "*" + } + }, + "node_modules/@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/ms": { + "version": "0.7.34", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz", + "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==" + }, + "node_modules/@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==" + }, + "node_modules/bail": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/before-after-hook": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", + "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==" + }, + "node_modules/ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decode-named-character-reference": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz", + "integrity": "sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==", + "dependencies": { + "character-entities": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" + }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "dependencies": { + "dequal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/markdown-table": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz", + "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/mdast-util-find-and-replace": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.1.tgz", + "integrity": "sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-from-markdown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz", + "integrity": "sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.0.0.tgz", + "integrity": "sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==", + "dependencies": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-autolink-literal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", + "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", + "dependencies": { + "@types/mdast": "^4.0.0", + "ccount": "^2.0.0", + "devlop": "^1.0.0", + "mdast-util-find-and-replace": "^3.0.0", + "micromark-util-character": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-footnote": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.0.0.tgz", + "integrity": "sha512-5jOT2boTSVkMnQ7LTrd6n/18kqwjmuYqo7JUPe+tRCY6O7dAuTFMtTPauYYrMPpox9hlN0uOx/FL8XvEfG9/mQ==", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-strikethrough": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz", + "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-table": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz", + "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-task-list-item": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", + "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "dependencies": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-markdown": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz", + "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "dependencies": { + "@types/mdast": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.1.tgz", + "integrity": "sha512-eBPdkcoCNvYcxQOAKAlceo5SNdzZWfF+FcSupREAzdAh9rRmE239CEQAiTwIgblwnoM8zzj35sZ5ZwvSEOF6Kw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-core-commonmark": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.2.tgz", + "integrity": "sha512-FKjQKbxd1cibWMM1P9N+H8TwlgGgSkWZMmfuVucLCHaYqeSvJ0hFeHsIa65pA2nYbes0f8LDHPMrd9X7Ujxg9w==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-extension-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", + "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", + "dependencies": { + "micromark-extension-gfm-autolink-literal": "^2.0.0", + "micromark-extension-gfm-footnote": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", + "micromark-extension-gfm-table": "^2.0.0", + "micromark-extension-gfm-tagfilter": "^2.0.0", + "micromark-extension-gfm-task-list-item": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "dependencies": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-strikethrough": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-table": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.0.tgz", + "integrity": "sha512-Ub2ncQv+fwD70/l4ou27b4YzfNaCJOvyX4HxXU15m7mpYY+rjuWzsLIPZHJL253Z643RpbcP1oeIJlQ/SKW67g==", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-tagfilter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", + "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", + "dependencies": { + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-task-list-item": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-space": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz", + "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-subtokenize": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.0.3.tgz", + "integrity": "sha512-VXJJuNxYWSoYL6AJ6OQECCFGhIU2GGHMw8tahogePBrjkG8aCCas3ibkp7RnVOSTClg2is05/R7maAhF1XyQMg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromark-util-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.1.tgz", + "integrity": "sha512-534m2WhVTddrcKVepwmVEVnUAmtrx9bfIjNoQHRqfnvdaHQiFytEhJoTgpWJvDEXCO5gLTQh3wYC1PgOJA4NSQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/remark-gfm": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.0.tgz", + "integrity": "sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-gfm": "^3.0.0", + "micromark-extension-gfm": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-parse": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz", + "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-stringify": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz", + "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-to-markdown": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/trough": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", + "engines": { + "node": ">=0.6.11 <=0.7.0 || >=0.7.3" + } + }, + "node_modules/undici": { + "version": "5.28.4", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz", + "integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==", + "dependencies": { + "@fastify/busboy": "^2.0.0" + }, + "engines": { + "node": ">=14.0" + } + }, + "node_modules/unified": { + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", + "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", + "dependencies": { + "@types/unist": "^3.0.0", + "bail": "^2.0.0", + "devlop": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-is": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.0.tgz", + "integrity": "sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.0.0.tgz", + "integrity": "sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz", + "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/universal-user-agent": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz", + "integrity": "sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==" + }, + "node_modules/vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.2.tgz", + "integrity": "sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + } + }, + "dependencies": { + "@actions/core": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.11.1.tgz", + "integrity": "sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A==", + "requires": { + "@actions/exec": "^1.1.1", + "@actions/http-client": "^2.0.1" + } + }, + "@actions/exec": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", + "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", + "requires": { + "@actions/io": "^1.0.1" + } + }, + "@actions/github": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-6.0.0.tgz", + "integrity": "sha512-alScpSVnYmjNEXboZjarjukQEzgCRmjMv6Xj47fsdnqGS73bjJNDpiiXmp8jr0UZLdUB6d9jW63IcmddUP+l0g==", + "requires": { + "@actions/http-client": "^2.2.0", + "@octokit/core": "^5.0.1", + "@octokit/plugin-paginate-rest": "^9.0.0", + "@octokit/plugin-rest-endpoint-methods": "^10.0.0" + } + }, + "@actions/http-client": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.3.tgz", + "integrity": "sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA==", + "requires": { + "tunnel": "^0.0.6", + "undici": "^5.25.4" + } + }, + "@actions/io": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.3.tgz", + "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==" + }, + "@fastify/busboy": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", + "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==" + }, + "@octokit/auth-token": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-4.0.0.tgz", + "integrity": "sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==" + }, + "@octokit/core": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.2.0.tgz", + "integrity": "sha512-1LFfa/qnMQvEOAdzlQymH0ulepxbxnCYAKJZfMci/5XJyIHWgEYnDmgnKakbTh7CH2tFQ5O60oYDvns4i9RAIg==", + "requires": { + "@octokit/auth-token": "^4.0.0", + "@octokit/graphql": "^7.1.0", + "@octokit/request": "^8.3.1", + "@octokit/request-error": "^5.1.0", + "@octokit/types": "^13.0.0", + "before-after-hook": "^2.2.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/endpoint": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-9.0.5.tgz", + "integrity": "sha512-ekqR4/+PCLkEBF6qgj8WqJfvDq65RH85OAgrtnVp1mSxaXF03u2xW/hUdweGS5654IlC0wkNYC18Z50tSYTAFw==", + "requires": { + "@octokit/types": "^13.1.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/graphql": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-7.1.0.tgz", + "integrity": "sha512-r+oZUH7aMFui1ypZnAvZmn0KSqAUgE1/tUXIWaqUCa1758ts/Jio84GZuzsvUkme98kv0WFY8//n0J1Z+vsIsQ==", + "requires": { + "@octokit/request": "^8.3.0", + "@octokit/types": "^13.0.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/openapi-types": { + "version": "22.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", + "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==" + }, + "@octokit/plugin-paginate-rest": { + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-9.2.1.tgz", + "integrity": "sha512-wfGhE/TAkXZRLjksFXuDZdmGnJQHvtU/joFQdweXUgzo1XwvBCD4o4+75NtFfjfLK5IwLf9vHTfSiU3sLRYpRw==", + "requires": { + "@octokit/types": "^12.6.0" + }, + "dependencies": { + "@octokit/openapi-types": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", + "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" + }, + "@octokit/types": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", + "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "requires": { + "@octokit/openapi-types": "^20.0.0" + } + } + } + }, + "@octokit/plugin-rest-endpoint-methods": { + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-10.4.1.tgz", + "integrity": "sha512-xV1b+ceKV9KytQe3zCVqjg+8GTGfDYwaT1ATU5isiUyVtlVAO3HNdzpS4sr4GBx4hxQ46s7ITtZrAsxG22+rVg==", + "requires": { + "@octokit/types": "^12.6.0" + }, + "dependencies": { + "@octokit/openapi-types": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", + "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" + }, + "@octokit/types": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", + "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "requires": { + "@octokit/openapi-types": "^20.0.0" + } + } + } + }, + "@octokit/request": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.4.0.tgz", + "integrity": "sha512-9Bb014e+m2TgBeEJGEbdplMVWwPmL1FPtggHQRkV+WVsMggPtEkLKPlcVYm/o8xKLkpJ7B+6N8WfQMtDLX2Dpw==", + "requires": { + "@octokit/endpoint": "^9.0.1", + "@octokit/request-error": "^5.1.0", + "@octokit/types": "^13.1.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/request-error": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-5.1.0.tgz", + "integrity": "sha512-GETXfE05J0+7H2STzekpKObFe765O5dlAKUTLNGeH+x47z7JjXHfsHKo5z21D/o/IOZTUEI6nyWyR+bZVP/n5Q==", + "requires": { + "@octokit/types": "^13.1.0", + "deprecation": "^2.0.0", + "once": "^1.4.0" + } + }, + "@octokit/types": { + "version": "13.6.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.6.2.tgz", + "integrity": "sha512-WpbZfZUcZU77DrSW4wbsSgTPfKcp286q3ItaIgvSbBpZJlu6mnYXAkjZz6LVZPXkEvLIM8McanyZejKTYUHipA==", + "requires": { + "@octokit/openapi-types": "^22.2.0" + } + }, + "@types/debug": { + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", + "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", + "requires": { + "@types/ms": "*" + } + }, + "@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "requires": { + "@types/unist": "*" + } + }, + "@types/ms": { + "version": "0.7.34", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz", + "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==" + }, + "@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==" + }, + "bail": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==" + }, + "before-after-hook": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", + "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==" + }, + "ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==" + }, + "character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==" + }, + "debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "requires": { + "ms": "^2.1.3" + } + }, + "decode-named-character-reference": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz", + "integrity": "sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==", + "requires": { + "character-entities": "^2.0.0" + } + }, + "deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" + }, + "dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==" + }, + "devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "requires": { + "dequal": "^2.0.0" + } + }, + "escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==" + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" + }, + "longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==" + }, + "markdown-table": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz", + "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==" + }, + "mdast-util-find-and-replace": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.1.tgz", + "integrity": "sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA==", + "requires": { + "@types/mdast": "^4.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + } + }, + "mdast-util-from-markdown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz", + "integrity": "sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==", + "requires": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + } + }, + "mdast-util-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.0.0.tgz", + "integrity": "sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==", + "requires": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-gfm-autolink-literal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", + "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", + "requires": { + "@types/mdast": "^4.0.0", + "ccount": "^2.0.0", + "devlop": "^1.0.0", + "mdast-util-find-and-replace": "^3.0.0", + "micromark-util-character": "^2.0.0" + } + }, + "mdast-util-gfm-footnote": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.0.0.tgz", + "integrity": "sha512-5jOT2boTSVkMnQ7LTrd6n/18kqwjmuYqo7JUPe+tRCY6O7dAuTFMtTPauYYrMPpox9hlN0uOx/FL8XvEfG9/mQ==", + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0" + } + }, + "mdast-util-gfm-strikethrough": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz", + "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-gfm-table": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz", + "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==", + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-gfm-task-list-item": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", + "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==", + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "requires": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + } + }, + "mdast-util-to-markdown": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz", + "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==", + "requires": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + } + }, + "mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "requires": { + "@types/mdast": "^4.0.0" + } + }, + "micromark": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.1.tgz", + "integrity": "sha512-eBPdkcoCNvYcxQOAKAlceo5SNdzZWfF+FcSupREAzdAh9rRmE239CEQAiTwIgblwnoM8zzj35sZ5ZwvSEOF6Kw==", + "requires": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-core-commonmark": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.2.tgz", + "integrity": "sha512-FKjQKbxd1cibWMM1P9N+H8TwlgGgSkWZMmfuVucLCHaYqeSvJ0hFeHsIa65pA2nYbes0f8LDHPMrd9X7Ujxg9w==", + "requires": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", + "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", + "requires": { + "micromark-extension-gfm-autolink-literal": "^2.0.0", + "micromark-extension-gfm-footnote": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", + "micromark-extension-gfm-table": "^2.0.0", + "micromark-extension-gfm-tagfilter": "^2.0.0", + "micromark-extension-gfm-task-list-item": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "requires": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-strikethrough": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", + "requires": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-table": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.0.tgz", + "integrity": "sha512-Ub2ncQv+fwD70/l4ou27b4YzfNaCJOvyX4HxXU15m7mpYY+rjuWzsLIPZHJL253Z643RpbcP1oeIJlQ/SKW67g==", + "requires": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-tagfilter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", + "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", + "requires": { + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-task-list-item": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", + "requires": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "requires": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-space": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz", + "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "requires": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "requires": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "requires": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "requires": { + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "requires": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "requires": { + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "requires": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==" + }, + "micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==" + }, + "micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "requires": { + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "requires": { + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-subtokenize": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.0.3.tgz", + "integrity": "sha512-VXJJuNxYWSoYL6AJ6OQECCFGhIU2GGHMw8tahogePBrjkG8aCCas3ibkp7RnVOSTClg2is05/R7maAhF1XyQMg==", + "requires": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==" + }, + "micromark-util-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.1.tgz", + "integrity": "sha512-534m2WhVTddrcKVepwmVEVnUAmtrx9bfIjNoQHRqfnvdaHQiFytEhJoTgpWJvDEXCO5gLTQh3wYC1PgOJA4NSQ==" + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "requires": { + "wrappy": "1" + } + }, + "remark-gfm": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.0.tgz", + "integrity": "sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-gfm": "^3.0.0", + "micromark-extension-gfm": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + } + }, + "remark-parse": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz", + "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unified": "^11.0.0" + } + }, + "remark-stringify": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz", + "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-to-markdown": "^2.0.0", + "unified": "^11.0.0" + } + }, + "trough": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==" + }, + "tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==" + }, + "undici": { + "version": "5.28.4", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz", + "integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==", + "requires": { + "@fastify/busboy": "^2.0.0" + } + }, + "unified": { + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", + "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", + "requires": { + "@types/unist": "^3.0.0", + "bail": "^2.0.0", + "devlop": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^6.0.0" + } + }, + "unist-util-is": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.0.tgz", + "integrity": "sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==", + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-visit": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.0.0.tgz", + "integrity": "sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==", + "requires": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + } + }, + "unist-util-visit-parents": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz", + "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==", + "requires": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + } + }, + "universal-user-agent": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz", + "integrity": "sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==" + }, + "vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "requires": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + } + }, + "vfile-message": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.2.tgz", + "integrity": "sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==", + "requires": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==" + } + } +} diff --git a/.github/actions/preprocessing-release-changelog/package.json b/.github/actions/preprocessing-release-changelog/package.json new file mode 100644 index 0000000000..7899a4055a --- /dev/null +++ b/.github/actions/preprocessing-release-changelog/package.json @@ -0,0 +1,18 @@ +{ + "name": "preprocessing-release-changelog", + "version": "0.0.1", + "description": "", + "main": "index.js", + "author": "", + "license": "ISC", + "type": "module", + "dependencies": { + "@actions/core": "^1.10.1", + "@actions/github": "^6.0.0", + "remark-gfm": "^4.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.5", + "unist-util-visit": "^5.0.0" + } +} diff --git a/.github/actions/write-changelog/action.yml b/.github/actions/write-changelog/action.yml new file mode 100644 index 0000000000..38a98b24eb --- /dev/null +++ b/.github/actions/write-changelog/action.yml @@ -0,0 +1,12 @@ +name: write-changelog + +description: '' + +inputs: + data: + description: '' + required: true + +runs: + using: 'node20' + main: 'index.js' diff --git a/.github/actions/write-changelog/groupHeadingsByDeep.js b/.github/actions/write-changelog/groupHeadingsByDeep.js new file mode 100644 index 0000000000..b2e4577516 --- /dev/null +++ b/.github/actions/write-changelog/groupHeadingsByDeep.js @@ -0,0 +1,41 @@ +export function groupByHeadings(tree) { + const initialState = { + groups: new Map(), + currentH2: null, + currentH3: null, + seenHeadings: new Set(), + }; + + const result = tree.children.reduce((state, node) => { + const { groups, currentH2, currentH3, seenHeadings } = state; + + if (node.type !== 'heading') { + const currentHeading = currentH3 || currentH2; + const currentNodes = groups.get(currentHeading) || []; + + groups.set(currentHeading, [...currentNodes, node]); + + return state; + } + + const value = node.children[0].value; + + if (seenHeadings.has(value)) { + return state; + } + + seenHeadings.add(value); + + return { + ...state, + currentH2: node.depth === 2 ? value : currentH2, + currentH3: node.depth === 3 ? value : node.depth === 2 ? null : currentH3, + groups: new Map([...groups, [value, [node]]]), + }; + }, initialState); + + return { + ...tree, + children: [...result.groups.values()].flat(), + }; +} diff --git a/.github/actions/write-changelog/index.js b/.github/actions/write-changelog/index.js new file mode 100644 index 0000000000..f47dcc96cf --- /dev/null +++ b/.github/actions/write-changelog/index.js @@ -0,0 +1,75 @@ +import { unified } from 'unified'; +import remarkParse from 'remark-parse'; +import remarkStringify from 'remark-stringify'; +import { visit } from 'unist-util-visit'; + +import * as core from '@actions/core'; + +import { writeChangelog } from './utils.js'; +import { processingHeadingByPackages } from './processingHeadingByPackages.js'; +import { rewriteHeadingValue } from './rewriteHeadingValue.js'; +import { groupByHeadings } from './groupHeadingsByDeep.js'; + +import * as META from '../../meta-prod.js'; + +// INFO: List of packages/libs as "plasma-web" or "sdds-serv" +const packages = Object.keys(META.default); + +async function run() { + try { + const rawData = core.getInput('data'); + + if (!rawData) { + console.log('Нет данных для записи'); + + return; + } + + const tree = unified().use(remarkParse).parse(rawData); + + const headings = new Set(); + + // TODO: Переписать на метод map утилитарного пакета unist-util-* + // INFO: Собираем массив пакетов в которых есть изменения + visit(tree, 'heading', (node) => { + const { depth } = node; + const heading = node?.children[0]?.value.toLowerCase() || ''; + + if (!heading || depth !== 2 || headings.has(heading)) { + return; + } + + if (heading === 'core') { + packages.forEach((pkg) => { + headings.add(pkg); + }); + + return; + } + + headings.add(heading); + }); + + // INFO: В коллекции будут или все пакеты так как были изменения в core, + // INFO: или только те библиотеки в которых были изменения + for (const pkg of Array.from(headings)) { + const blackList = [...packages.filter((item) => pkg !== item), 'tokens', 'bugs']; + + const isPlasmaIcons = pkg === 'plasma-icons'; + + const changelogMD = unified() + .use(remarkParse) + .use(() => processingHeadingByPackages(isPlasmaIcons ? [...blackList, 'core'] : blackList)) + .use(() => groupByHeadings) + .use(() => rewriteHeadingValue(pkg)) + .use(remarkStringify) + .processSync(rawData); + + await writeChangelog(changelogMD.toString(), pkg); + } + } catch (error) { + core.setFailed(error.message); + } +} + +run(); diff --git a/.github/actions/write-changelog/package-lock.json b/.github/actions/write-changelog/package-lock.json new file mode 100644 index 0000000000..eb6e6ae204 --- /dev/null +++ b/.github/actions/write-changelog/package-lock.json @@ -0,0 +1,2123 @@ +{ + "name": "write-changelog", + "version": "0.0.1", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "write-changelog", + "version": "0.0.1", + "license": "ISC", + "dependencies": { + "@actions/core": "^1.10.1", + "@actions/github": "^6.0.0", + "remark-gfm": "^4.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.5", + "unist-util-visit": "^5.0.0" + } + }, + "node_modules/@actions/core": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.1.tgz", + "integrity": "sha512-3lBR9EDAY+iYIpTnTIXmWcNbX3T2kCkAEQGIQx4NVQ0575nk2k3GRZDTPQG+vVtS2izSLmINlxXf0uLtnrTP+g==", + "dependencies": { + "@actions/http-client": "^2.0.1", + "uuid": "^8.3.2" + } + }, + "node_modules/@actions/github": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-6.0.0.tgz", + "integrity": "sha512-alScpSVnYmjNEXboZjarjukQEzgCRmjMv6Xj47fsdnqGS73bjJNDpiiXmp8jr0UZLdUB6d9jW63IcmddUP+l0g==", + "dependencies": { + "@actions/http-client": "^2.2.0", + "@octokit/core": "^5.0.1", + "@octokit/plugin-paginate-rest": "^9.0.0", + "@octokit/plugin-rest-endpoint-methods": "^10.0.0" + } + }, + "node_modules/@actions/http-client": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.3.tgz", + "integrity": "sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA==", + "dependencies": { + "tunnel": "^0.0.6", + "undici": "^5.25.4" + } + }, + "node_modules/@fastify/busboy": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", + "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==", + "engines": { + "node": ">=14" + } + }, + "node_modules/@octokit/auth-token": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-4.0.0.tgz", + "integrity": "sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==", + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/core": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.2.0.tgz", + "integrity": "sha512-1LFfa/qnMQvEOAdzlQymH0ulepxbxnCYAKJZfMci/5XJyIHWgEYnDmgnKakbTh7CH2tFQ5O60oYDvns4i9RAIg==", + "dependencies": { + "@octokit/auth-token": "^4.0.0", + "@octokit/graphql": "^7.1.0", + "@octokit/request": "^8.3.1", + "@octokit/request-error": "^5.1.0", + "@octokit/types": "^13.0.0", + "before-after-hook": "^2.2.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/endpoint": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-9.0.5.tgz", + "integrity": "sha512-ekqR4/+PCLkEBF6qgj8WqJfvDq65RH85OAgrtnVp1mSxaXF03u2xW/hUdweGS5654IlC0wkNYC18Z50tSYTAFw==", + "dependencies": { + "@octokit/types": "^13.1.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/graphql": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-7.1.0.tgz", + "integrity": "sha512-r+oZUH7aMFui1ypZnAvZmn0KSqAUgE1/tUXIWaqUCa1758ts/Jio84GZuzsvUkme98kv0WFY8//n0J1Z+vsIsQ==", + "dependencies": { + "@octokit/request": "^8.3.0", + "@octokit/types": "^13.0.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/openapi-types": { + "version": "22.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", + "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==" + }, + "node_modules/@octokit/plugin-paginate-rest": { + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-9.2.1.tgz", + "integrity": "sha512-wfGhE/TAkXZRLjksFXuDZdmGnJQHvtU/joFQdweXUgzo1XwvBCD4o4+75NtFfjfLK5IwLf9vHTfSiU3sLRYpRw==", + "dependencies": { + "@octokit/types": "^12.6.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": "5" + } + }, + "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/openapi-types": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", + "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" + }, + "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/types": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", + "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "dependencies": { + "@octokit/openapi-types": "^20.0.0" + } + }, + "node_modules/@octokit/plugin-rest-endpoint-methods": { + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-10.4.1.tgz", + "integrity": "sha512-xV1b+ceKV9KytQe3zCVqjg+8GTGfDYwaT1ATU5isiUyVtlVAO3HNdzpS4sr4GBx4hxQ46s7ITtZrAsxG22+rVg==", + "dependencies": { + "@octokit/types": "^12.6.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": "5" + } + }, + "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/openapi-types": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", + "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" + }, + "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", + "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "dependencies": { + "@octokit/openapi-types": "^20.0.0" + } + }, + "node_modules/@octokit/request": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.4.0.tgz", + "integrity": "sha512-9Bb014e+m2TgBeEJGEbdplMVWwPmL1FPtggHQRkV+WVsMggPtEkLKPlcVYm/o8xKLkpJ7B+6N8WfQMtDLX2Dpw==", + "dependencies": { + "@octokit/endpoint": "^9.0.1", + "@octokit/request-error": "^5.1.0", + "@octokit/types": "^13.1.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/request-error": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-5.1.0.tgz", + "integrity": "sha512-GETXfE05J0+7H2STzekpKObFe765O5dlAKUTLNGeH+x47z7JjXHfsHKo5z21D/o/IOZTUEI6nyWyR+bZVP/n5Q==", + "dependencies": { + "@octokit/types": "^13.1.0", + "deprecation": "^2.0.0", + "once": "^1.4.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/types": { + "version": "13.5.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.5.1.tgz", + "integrity": "sha512-F41lGiWBKPIWPBgjSvaDXTTQptBujnozENAK3S//nj7xsFdYdirImKlBB/hTjr+Vii68SM+8jG3UJWRa6DMuDA==", + "dependencies": { + "@octokit/openapi-types": "^22.2.0" + } + }, + "node_modules/@types/debug": { + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", + "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", + "dependencies": { + "@types/ms": "*" + } + }, + "node_modules/@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "dependencies": { + "@types/unist": "*" + } + }, + "node_modules/@types/ms": { + "version": "0.7.34", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz", + "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==" + }, + "node_modules/@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==" + }, + "node_modules/bail": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/before-after-hook": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", + "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==" + }, + "node_modules/ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decode-named-character-reference": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz", + "integrity": "sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==", + "dependencies": { + "character-entities": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" + }, + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "dependencies": { + "dequal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/markdown-table": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz", + "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/mdast-util-find-and-replace": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.1.tgz", + "integrity": "sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-from-markdown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz", + "integrity": "sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.0.0.tgz", + "integrity": "sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==", + "dependencies": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-autolink-literal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", + "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", + "dependencies": { + "@types/mdast": "^4.0.0", + "ccount": "^2.0.0", + "devlop": "^1.0.0", + "mdast-util-find-and-replace": "^3.0.0", + "micromark-util-character": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-footnote": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.0.0.tgz", + "integrity": "sha512-5jOT2boTSVkMnQ7LTrd6n/18kqwjmuYqo7JUPe+tRCY6O7dAuTFMtTPauYYrMPpox9hlN0uOx/FL8XvEfG9/mQ==", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-strikethrough": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz", + "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-table": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz", + "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-gfm-task-list-item": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", + "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==", + "dependencies": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "dependencies": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-markdown": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz", + "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "dependencies": { + "@types/mdast": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.1.tgz", + "integrity": "sha512-eBPdkcoCNvYcxQOAKAlceo5SNdzZWfF+FcSupREAzdAh9rRmE239CEQAiTwIgblwnoM8zzj35sZ5ZwvSEOF6Kw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-core-commonmark": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.2.tgz", + "integrity": "sha512-FKjQKbxd1cibWMM1P9N+H8TwlgGgSkWZMmfuVucLCHaYqeSvJ0hFeHsIa65pA2nYbes0f8LDHPMrd9X7Ujxg9w==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-extension-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", + "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", + "dependencies": { + "micromark-extension-gfm-autolink-literal": "^2.0.0", + "micromark-extension-gfm-footnote": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", + "micromark-extension-gfm-table": "^2.0.0", + "micromark-extension-gfm-tagfilter": "^2.0.0", + "micromark-extension-gfm-task-list-item": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "dependencies": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-strikethrough": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-table": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.0.tgz", + "integrity": "sha512-Ub2ncQv+fwD70/l4ou27b4YzfNaCJOvyX4HxXU15m7mpYY+rjuWzsLIPZHJL253Z643RpbcP1oeIJlQ/SKW67g==", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-tagfilter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", + "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", + "dependencies": { + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-extension-gfm-task-list-item": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", + "dependencies": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-space": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz", + "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-subtokenize": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.0.3.tgz", + "integrity": "sha512-VXJJuNxYWSoYL6AJ6OQECCFGhIU2GGHMw8tahogePBrjkG8aCCas3ibkp7RnVOSTClg2is05/R7maAhF1XyQMg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/micromark-util-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.1.tgz", + "integrity": "sha512-534m2WhVTddrcKVepwmVEVnUAmtrx9bfIjNoQHRqfnvdaHQiFytEhJoTgpWJvDEXCO5gLTQh3wYC1PgOJA4NSQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ] + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/remark-gfm": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.0.tgz", + "integrity": "sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-gfm": "^3.0.0", + "micromark-extension-gfm": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-parse": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz", + "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-stringify": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz", + "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-to-markdown": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/trough": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", + "engines": { + "node": ">=0.6.11 <=0.7.0 || >=0.7.3" + } + }, + "node_modules/undici": { + "version": "5.28.4", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz", + "integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==", + "dependencies": { + "@fastify/busboy": "^2.0.0" + }, + "engines": { + "node": ">=14.0" + } + }, + "node_modules/unified": { + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", + "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", + "dependencies": { + "@types/unist": "^3.0.0", + "bail": "^2.0.0", + "devlop": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-is": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.0.tgz", + "integrity": "sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.0.0.tgz", + "integrity": "sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz", + "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/universal-user-agent": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz", + "integrity": "sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==" + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.2.tgz", + "integrity": "sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + } + }, + "dependencies": { + "@actions/core": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.1.tgz", + "integrity": "sha512-3lBR9EDAY+iYIpTnTIXmWcNbX3T2kCkAEQGIQx4NVQ0575nk2k3GRZDTPQG+vVtS2izSLmINlxXf0uLtnrTP+g==", + "requires": { + "@actions/http-client": "^2.0.1", + "uuid": "^8.3.2" + } + }, + "@actions/github": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-6.0.0.tgz", + "integrity": "sha512-alScpSVnYmjNEXboZjarjukQEzgCRmjMv6Xj47fsdnqGS73bjJNDpiiXmp8jr0UZLdUB6d9jW63IcmddUP+l0g==", + "requires": { + "@actions/http-client": "^2.2.0", + "@octokit/core": "^5.0.1", + "@octokit/plugin-paginate-rest": "^9.0.0", + "@octokit/plugin-rest-endpoint-methods": "^10.0.0" + } + }, + "@actions/http-client": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.3.tgz", + "integrity": "sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA==", + "requires": { + "tunnel": "^0.0.6", + "undici": "^5.25.4" + } + }, + "@fastify/busboy": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", + "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==" + }, + "@octokit/auth-token": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-4.0.0.tgz", + "integrity": "sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==" + }, + "@octokit/core": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.2.0.tgz", + "integrity": "sha512-1LFfa/qnMQvEOAdzlQymH0ulepxbxnCYAKJZfMci/5XJyIHWgEYnDmgnKakbTh7CH2tFQ5O60oYDvns4i9RAIg==", + "requires": { + "@octokit/auth-token": "^4.0.0", + "@octokit/graphql": "^7.1.0", + "@octokit/request": "^8.3.1", + "@octokit/request-error": "^5.1.0", + "@octokit/types": "^13.0.0", + "before-after-hook": "^2.2.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/endpoint": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-9.0.5.tgz", + "integrity": "sha512-ekqR4/+PCLkEBF6qgj8WqJfvDq65RH85OAgrtnVp1mSxaXF03u2xW/hUdweGS5654IlC0wkNYC18Z50tSYTAFw==", + "requires": { + "@octokit/types": "^13.1.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/graphql": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-7.1.0.tgz", + "integrity": "sha512-r+oZUH7aMFui1ypZnAvZmn0KSqAUgE1/tUXIWaqUCa1758ts/Jio84GZuzsvUkme98kv0WFY8//n0J1Z+vsIsQ==", + "requires": { + "@octokit/request": "^8.3.0", + "@octokit/types": "^13.0.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/openapi-types": { + "version": "22.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", + "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==" + }, + "@octokit/plugin-paginate-rest": { + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-9.2.1.tgz", + "integrity": "sha512-wfGhE/TAkXZRLjksFXuDZdmGnJQHvtU/joFQdweXUgzo1XwvBCD4o4+75NtFfjfLK5IwLf9vHTfSiU3sLRYpRw==", + "requires": { + "@octokit/types": "^12.6.0" + }, + "dependencies": { + "@octokit/openapi-types": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", + "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" + }, + "@octokit/types": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", + "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "requires": { + "@octokit/openapi-types": "^20.0.0" + } + } + } + }, + "@octokit/plugin-rest-endpoint-methods": { + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-10.4.1.tgz", + "integrity": "sha512-xV1b+ceKV9KytQe3zCVqjg+8GTGfDYwaT1ATU5isiUyVtlVAO3HNdzpS4sr4GBx4hxQ46s7ITtZrAsxG22+rVg==", + "requires": { + "@octokit/types": "^12.6.0" + }, + "dependencies": { + "@octokit/openapi-types": { + "version": "20.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", + "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==" + }, + "@octokit/types": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", + "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "requires": { + "@octokit/openapi-types": "^20.0.0" + } + } + } + }, + "@octokit/request": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.4.0.tgz", + "integrity": "sha512-9Bb014e+m2TgBeEJGEbdplMVWwPmL1FPtggHQRkV+WVsMggPtEkLKPlcVYm/o8xKLkpJ7B+6N8WfQMtDLX2Dpw==", + "requires": { + "@octokit/endpoint": "^9.0.1", + "@octokit/request-error": "^5.1.0", + "@octokit/types": "^13.1.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/request-error": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-5.1.0.tgz", + "integrity": "sha512-GETXfE05J0+7H2STzekpKObFe765O5dlAKUTLNGeH+x47z7JjXHfsHKo5z21D/o/IOZTUEI6nyWyR+bZVP/n5Q==", + "requires": { + "@octokit/types": "^13.1.0", + "deprecation": "^2.0.0", + "once": "^1.4.0" + } + }, + "@octokit/types": { + "version": "13.5.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.5.1.tgz", + "integrity": "sha512-F41lGiWBKPIWPBgjSvaDXTTQptBujnozENAK3S//nj7xsFdYdirImKlBB/hTjr+Vii68SM+8jG3UJWRa6DMuDA==", + "requires": { + "@octokit/openapi-types": "^22.2.0" + } + }, + "@types/debug": { + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", + "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", + "requires": { + "@types/ms": "*" + } + }, + "@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "requires": { + "@types/unist": "*" + } + }, + "@types/ms": { + "version": "0.7.34", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz", + "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==" + }, + "@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==" + }, + "bail": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==" + }, + "before-after-hook": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", + "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==" + }, + "ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==" + }, + "character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==" + }, + "debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "requires": { + "ms": "^2.1.3" + } + }, + "decode-named-character-reference": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz", + "integrity": "sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==", + "requires": { + "character-entities": "^2.0.0" + } + }, + "deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" + }, + "dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==" + }, + "devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "requires": { + "dequal": "^2.0.0" + } + }, + "escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==" + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" + }, + "longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==" + }, + "markdown-table": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz", + "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==" + }, + "mdast-util-find-and-replace": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.1.tgz", + "integrity": "sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA==", + "requires": { + "@types/mdast": "^4.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + } + }, + "mdast-util-from-markdown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz", + "integrity": "sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==", + "requires": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + } + }, + "mdast-util-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.0.0.tgz", + "integrity": "sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==", + "requires": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-gfm-autolink-literal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", + "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", + "requires": { + "@types/mdast": "^4.0.0", + "ccount": "^2.0.0", + "devlop": "^1.0.0", + "mdast-util-find-and-replace": "^3.0.0", + "micromark-util-character": "^2.0.0" + } + }, + "mdast-util-gfm-footnote": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.0.0.tgz", + "integrity": "sha512-5jOT2boTSVkMnQ7LTrd6n/18kqwjmuYqo7JUPe+tRCY6O7dAuTFMtTPauYYrMPpox9hlN0uOx/FL8XvEfG9/mQ==", + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0" + } + }, + "mdast-util-gfm-strikethrough": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz", + "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-gfm-table": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz", + "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==", + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-gfm-task-list-item": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", + "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==", + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "requires": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + } + }, + "mdast-util-to-markdown": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz", + "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==", + "requires": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + } + }, + "mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "requires": { + "@types/mdast": "^4.0.0" + } + }, + "micromark": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.1.tgz", + "integrity": "sha512-eBPdkcoCNvYcxQOAKAlceo5SNdzZWfF+FcSupREAzdAh9rRmE239CEQAiTwIgblwnoM8zzj35sZ5ZwvSEOF6Kw==", + "requires": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-core-commonmark": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.2.tgz", + "integrity": "sha512-FKjQKbxd1cibWMM1P9N+H8TwlgGgSkWZMmfuVucLCHaYqeSvJ0hFeHsIa65pA2nYbes0f8LDHPMrd9X7Ujxg9w==", + "requires": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", + "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", + "requires": { + "micromark-extension-gfm-autolink-literal": "^2.0.0", + "micromark-extension-gfm-footnote": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", + "micromark-extension-gfm-table": "^2.0.0", + "micromark-extension-gfm-tagfilter": "^2.0.0", + "micromark-extension-gfm-task-list-item": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "requires": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-strikethrough": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", + "requires": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-table": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.0.tgz", + "integrity": "sha512-Ub2ncQv+fwD70/l4ou27b4YzfNaCJOvyX4HxXU15m7mpYY+rjuWzsLIPZHJL253Z643RpbcP1oeIJlQ/SKW67g==", + "requires": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-tagfilter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", + "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", + "requires": { + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-task-list-item": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", + "requires": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "requires": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-space": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz", + "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "requires": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "requires": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "requires": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "requires": { + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "requires": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "requires": { + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "requires": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==" + }, + "micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==" + }, + "micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "requires": { + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "requires": { + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-subtokenize": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.0.3.tgz", + "integrity": "sha512-VXJJuNxYWSoYL6AJ6OQECCFGhIU2GGHMw8tahogePBrjkG8aCCas3ibkp7RnVOSTClg2is05/R7maAhF1XyQMg==", + "requires": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==" + }, + "micromark-util-types": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.1.tgz", + "integrity": "sha512-534m2WhVTddrcKVepwmVEVnUAmtrx9bfIjNoQHRqfnvdaHQiFytEhJoTgpWJvDEXCO5gLTQh3wYC1PgOJA4NSQ==" + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "requires": { + "wrappy": "1" + } + }, + "remark-gfm": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.0.tgz", + "integrity": "sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-gfm": "^3.0.0", + "micromark-extension-gfm": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + } + }, + "remark-parse": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz", + "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unified": "^11.0.0" + } + }, + "remark-stringify": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz", + "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==", + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-to-markdown": "^2.0.0", + "unified": "^11.0.0" + } + }, + "trough": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==" + }, + "tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==" + }, + "undici": { + "version": "5.28.4", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz", + "integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==", + "requires": { + "@fastify/busboy": "^2.0.0" + } + }, + "unified": { + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", + "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", + "requires": { + "@types/unist": "^3.0.0", + "bail": "^2.0.0", + "devlop": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^6.0.0" + } + }, + "unist-util-is": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.0.tgz", + "integrity": "sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==", + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-visit": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.0.0.tgz", + "integrity": "sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==", + "requires": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + } + }, + "unist-util-visit-parents": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz", + "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==", + "requires": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + } + }, + "universal-user-agent": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz", + "integrity": "sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==" + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + }, + "vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "requires": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + } + }, + "vfile-message": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.2.tgz", + "integrity": "sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==", + "requires": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==" + } + } +} diff --git a/.github/actions/write-changelog/package.json b/.github/actions/write-changelog/package.json new file mode 100644 index 0000000000..11f7a177be --- /dev/null +++ b/.github/actions/write-changelog/package.json @@ -0,0 +1,18 @@ +{ + "name": "write-changelog", + "version": "0.0.1", + "description": "", + "main": "index.js", + "author": "", + "license": "ISC", + "type": "module", + "dependencies": { + "@actions/core": "^1.10.1", + "@actions/github": "^6.0.0", + "remark-gfm": "^4.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.5", + "unist-util-visit": "^5.0.0" + } +} diff --git a/.github/actions/write-changelog/processingHeadingByPackages.js b/.github/actions/write-changelog/processingHeadingByPackages.js new file mode 100644 index 0000000000..2b6045f9ad --- /dev/null +++ b/.github/actions/write-changelog/processingHeadingByPackages.js @@ -0,0 +1,41 @@ +import { visit, SKIP } from 'unist-util-visit'; + +const isH2Heading = ({ type, depth }) => { + return type === 'heading' && depth === 2; +}; + +const findNextH2Index = (parent, startIndex) => { + let index = startIndex + 1; + + while (index < parent.children.length) { + if (isH2Heading(parent.children[index])) { + return index; + } + + index++; + } + + return parent.children.length; +}; + +export const processingHeadingByPackages = (list) => (tree) => { + visit(tree, (node, index, parent) => { + if (!parent?.children) { + return; + } + + const value = node.children?.[0]?.value ?? ''; + const isExcludePackage = value && list.includes(value.toLowerCase()); + + if (!isH2Heading(node) || !isExcludePackage) { + return; + } + + const nextH2Index = findNextH2Index(parent, index); + const deleteCount = nextH2Index - index; + + parent.children.splice(index, deleteCount); + + return [SKIP, index]; + }); +}; diff --git a/.github/actions/write-changelog/rewriteHeadingValue.js b/.github/actions/write-changelog/rewriteHeadingValue.js new file mode 100644 index 0000000000..8a0172faea --- /dev/null +++ b/.github/actions/write-changelog/rewriteHeadingValue.js @@ -0,0 +1,22 @@ +import { visit } from 'unist-util-visit'; + +export const rewriteHeadingValue = (pkg) => (tree) => { + visit(tree, 'heading', (node, index, parent) => { + const { depth, children } = node; + const { value = '' } = children && children.length ? children[0] : {}; + + if (depth === 2) { + if (value.toLowerCase() === pkg) { + node.children[0].value = 'Изменения в библиотеки'; + + return node; + } + + if (value.toLowerCase() === 'core') { + node.children[0].value = 'Функциональные изменения в компонентах'; + + return node; + } + } + }); +}; diff --git a/.github/actions/write-changelog/swapSectionPlace.js b/.github/actions/write-changelog/swapSectionPlace.js new file mode 100644 index 0000000000..aba80e014f --- /dev/null +++ b/.github/actions/write-changelog/swapSectionPlace.js @@ -0,0 +1,27 @@ +import { visit } from 'unist-util-visit'; + +export const swapSectionPlace = (pkg) => (tree) => { + // Находим индексы начала каждой секции + let coreIndex = -1; + let pkgIndex = -1; + + visit(tree, 'heading', (node, index) => { + if (node.depth === 2) { + if (node.children[0].value === 'Core') { + coreIndex = index; + } else if (node.children[0].value.toLowerCase() === pkg) { + pkgIndex = index; + } + } + }); + + // Находим границы секций + const coreEnd = pkgIndex > coreIndex ? pkgIndex : tree.children.length; + const pkgEnd = tree.children.length; + + // Извлекаем содержимое секций + const coreSection = tree.children.slice(coreIndex, coreEnd); + const pkgSection = tree.children.slice(pkgIndex, pkgEnd); + + tree.children = [...pkgSection, ...coreSection]; +}; diff --git a/.github/actions/write-changelog/utils.js b/.github/actions/write-changelog/utils.js new file mode 100644 index 0000000000..f46e53c773 --- /dev/null +++ b/.github/actions/write-changelog/utils.js @@ -0,0 +1,56 @@ +import { fileURLToPath } from 'url'; +import { dirname, resolve } from 'path'; +import { promises as fs } from 'fs'; + +function getFilePath(pkg, fileName) { + const __filename = fileURLToPath(import.meta.url); + const __dirname = dirname(__filename); + + return resolve(__dirname, '../../..', `packages/${pkg}/${fileName}`); +} + +function getDate(date) { + const formatter = new Intl.DateTimeFormat('ru', { + day: 'numeric', + month: 'long', + year: 'numeric', + }); + const data = formatter.format(date).replace(' г.', ''); + + return `(${data})`; +} + +async function getPackageVersion(pkg) { + const filePath = getFilePath(pkg, 'package.json'); + + try { + const packageJson = await fs.readFile(filePath, 'utf8'); + const { version } = JSON.parse(packageJson); + + return `# ${version}`; + } catch (error) { + console.error('Error reading package.json:', error); + } +} + +export async function writeChangelog(markdown, pkg) { + try { + if (!pkg) { + console.error('Не указан пакет для записи об изменениях'); + + return; + } + + const version = await getPackageVersion(pkg); + const mdFilePAth = getFilePath(pkg, 'CHANGELOG.md'); + const CHANGELOG = await fs.readFile(mdFilePAth, 'utf8'); + + const changelog = `${version} ${getDate(new Date())}\n\n${markdown}\n\n${CHANGELOG}`; + + await fs.writeFile(mdFilePAth, changelog, 'utf8'); + + console.log(`${pkg} - changelog успешно записан`); + } catch (error) { + console.error('Ошибка при записи файла:', error); + } +} diff --git a/.github/changelog-builder-config.json b/.github/changelog-builder-config.json index eeee074a7e..1503b7e086 100644 --- a/.github/changelog-builder-config.json +++ b/.github/changelog-builder-config.json @@ -1,36 +1,12 @@ { "categories": [ { - "title": "## Components", - "labels": ["plasma-components"] - }, - { - "title": "## Icons", - "labels": ["plasma-icons"] - }, - { - "title": "## Infra", - "labels": ["plasma-infra"] - }, - { - "title": "## Tokens", - "labels": ["plasma-tokens"] - }, - { - "title": "## Docs", - "labels": ["plasma-docs"] - }, - { - "title": "## Bugs", - "labels": ["plasma-bugs"] - }, - { - "title": "## Misc", + "title": "# Release notes", "labels": [] } ], "ignore_labels": ["changelog-skip"], - "pr_template": "#{{DESC}}\n#{{TITLE}} (#{{URL}})\n", + "pr_template": "#{{DESC}}\n[PR](#{{URL}})\n", "custom_placeholders": [ { "name": "DESC", diff --git a/.github/meta-prod.js b/.github/meta-prod.js new file mode 100644 index 0000000000..f25e604924 --- /dev/null +++ b/.github/meta-prod.js @@ -0,0 +1,70 @@ +const commonScope = [ + 'plasma-icons', + 'plasma-sb-utils', + 'plasma-tokens', + 'plasma-tokens-utils', + 'core-themes', + 'plasma-typo', + 'plasma-new-hope', +]; + +module.exports = { + 'plasma-asdk': { + scope: [...commonScope, 'plasma-tokens-b2b', 'plasma-themes', 'plasma-core'], + }, + 'plasma-b2c': { + scope: [ + ...commonScope, + 'plasma-core', + 'plasma-hope', + 'plasma-tokens-b2c', + 'plasma-tokens-web', + 'plasma-themes', + 'plasma-docs-ui', + 'plasma-b2c-docs', + ], + }, + 'plasma-new-hope': { + scope: [...commonScope, 'plasma-themes', 'plasma-core'], + }, + 'plasma-ui': { + scope: [ + 'plasma-icons', + 'plasma-sb-utils', + 'plasma-tokens', + 'plasma-tokens-utils', + 'plasma-core', + 'plasma-typo', + 'plasma-docs-ui', + 'plasma-ui-docs', + ], + }, + 'plasma-web': { + scope: [ + ...commonScope, + 'plasma-core', + 'plasma-hope', + 'plasma-tokens-b2c', + 'plasma-tokens-b2b', + 'plasma-tokens-web', + 'plasma-themes', + 'plasma-docs-ui', + 'plasma-web-docs', + ], + }, + 'sdds-serv': { + scope: [...commonScope, 'sdds-themes', 'plasma-core', 'plasma-docs-ui', 'sdds-serv-docs'], + }, + 'sdds-dfa': { + scope: [...commonScope, 'sdds-themes', 'plasma-core', 'plasma-docs-ui', 'sdds-dfa-docs'], + }, + 'sdds-cs': { + scope: [...commonScope, 'sdds-themes', 'plasma-core', 'plasma-docs-ui', 'sdds-cs-docs'], + }, + 'sdds-finportal': { + scope: [...commonScope, 'sdds-themes', 'plasma-core'], + }, + 'sdds-insol': { + scope: [...commonScope, 'sdds-themes', 'plasma-core', 'plasma-docs-ui', 'sdds-insol-docs'], + }, +}; diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml index e2543aa99a..99865374a9 100644 --- a/.github/workflows/create-release-pr.yml +++ b/.github/workflows/create-release-pr.yml @@ -10,7 +10,7 @@ on: jobs: release-pr: - name: Create release PR with changelog + name: Create release pull request runs-on: ubuntu-22.04 env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} @@ -54,10 +54,70 @@ jobs: with: name: release-changelog-artifacts path: ${{ env.FILE }} + + - name: Install dependencies + run: | + cd .github/actions/preprocessing-release-changelog + npm ci + + - name: Processing changelog data + id: changelog + uses: ./.github/actions/preprocessing-release-changelog + with: + data: | + ${{ steps.github_release.outputs.changelog }} - name: Create release PR run: | - changelog='${{ steps.github_release.outputs.changelog }}' - gh pr create --base master --head ${{ github.ref_name }} --title "Release by ${{ env.DATE }}" --body "# Release Notes - $changelog" + changelog='${{ steps.changelog.outputs.changelog }}' + gh pr create --base master --head ${{ github.ref_name }} --title "Release by ${{ env.DATE }}" --body "$changelog" + - name: Processing pull request by title + id: jira_tasks + uses: actions/github-script@v7 + env: + PULL_REQUESTS_IDS: ${{ steps.github_release.outputs.pull_requests }} + with: + script: | + const prIds = process.env.PULL_REQUESTS_IDS.split(',').map(id => parseInt(id, 10)); + const ids = []; + + for (const prId of prIds) { + try { + const { data: pr } = await github.rest.pulls.get({ + owner: 'salute-developers', + repo: 'plasma', + pull_number: prId + }); + + const jiraIdMatch = pr.title.toLocaleLowerCase().match(/plasma-\d+/); + const id = jiraIdMatch ? jiraIdMatch[0] : null; + + if (id) { + ids.push(id); + } + } catch (error) { + console.error(`Error fetching PR #${prId}:`, error); + } + } + + console.log('Found pull requests:', ids); + + return ids; + + - name: Send MM + uses: mattermost/action-mattermost-notify@master + with: + MATTERMOST_WEBHOOK_URL: ${{ secrets.WEBHOOKS_RELEASE_LF_MM }} + TEXT: |- + { + "name": "plasma", + "version": "Release ${{ env.DATE }}", + "applicationType": "web", + "hotfix": false, + "authorMmUser": "alex_czech", + "configurationElement": "${{ secrets.CE }}", + "distributionLink": "", + "tasks": ${{ steps.jira_tasks.outputs.result }}, + "jiraProject": "PLASMA" + } diff --git a/.github/workflows/documentation-deploy-stage-dev.yml b/.github/workflows/deploy-documentation-prod-old.yml similarity index 64% rename from .github/workflows/documentation-deploy-stage-dev.yml rename to .github/workflows/deploy-documentation-prod-old.yml index 84aac1f190..b672258d6a 100644 --- a/.github/workflows/documentation-deploy-stage-dev.yml +++ b/.github/workflows/deploy-documentation-prod-old.yml @@ -1,21 +1,27 @@ -name: Deploy documentation and storybook artifacts to DEV stage +name: Deploy documentations artefacts [PROD] on: workflow_dispatch: - workflow_run: - workflows: [Release RC] - types: [completed] - + jobs: - deploy: - if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} + build: + name: Build runs-on: ubuntu-22.04 steps: + # [NOTE]: В проекте default branch - dev, что бы правильно собрать + # актуальную версию для branch master, нужно указать ref = 'master' - uses: actions/checkout@v4 + # [DOC]: About REF. The branch, tag or SHA to checkout. When checking out the repository that + # triggered a workflow, this defaults to the reference or SHA for that event. + # Otherwise, **uses the default branch**. + # [DOC]: Last commit on default branch with: - fetch-depth: 0 + ref: 'master' show-progress: false - + + - name: Prepare repository + run: git fetch --unshallow --tags + - name: Prepare environment uses: ./.github/actions/prepare-environment @@ -25,57 +31,56 @@ jobs: - name: Prepare directories run: | mkdir -p s3_build s3_build_sb - - name: Plasma Website run: | + export NODE_OPTIONS=--openssl-legacy-provider npm run build --prefix="./website/plasma-website" cp -R ./website/plasma-website/build ./s3_build/next-${{ github.sha }} - - name: Plasma UI Docs run: | + export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" npm run build --prefix="./website/plasma-ui-docs" cp -R ./website/plasma-ui-docs/build ./s3_build/next-${{ github.sha }}/ui - - name: Plasma Web Docs run: | + export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" npm run build --prefix="./website/plasma-web-docs" cp -R ./website/plasma-web-docs/build ./s3_build/next-${{ github.sha }}/web - name: Plasma B2C Docs run: | + export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" npm run build --prefix="./website/plasma-b2c-docs" cp -R ./website/plasma-b2c-docs/build ./s3_build/next-${{ github.sha }}/b2c - - name: Plasma SDDS SERV Docs + - name: SDDS-SERV Docs run: | + export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" npm run build --prefix="./website/sdds-serv-docs" cp -R ./website/sdds-serv-docs/build ./s3_build/next-${{ github.sha }}/sdds-serv - - - name: Plasma SDDS CS Docs + - name: SDDS-CS Docs run: | + export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" npm run build --prefix="./website/sdds-cs-docs" cp -R ./website/sdds-cs-docs/build ./s3_build/next-${{ github.sha }}/sdds-cs - - - name: Plasma SDDS DFA Docs + - name: SDDS-DFA Docs run: | + export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" npm run build --prefix="./website/sdds-dfa-docs" cp -R ./website/sdds-dfa-docs/build ./s3_build/next-${{ github.sha }}/sdds-dfa - - - name: Plasma SDDS INSOL Docs + - name: SDDS-INSOL Docs run: | + export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" npm run build --prefix="./website/sdds-insol-docs" cp -R ./website/sdds-insol-docs/build ./s3_build/next-${{ github.sha }}/sdds-insol - - name: Plasma UI Storybook run: | npm run storybook:build --prefix="./packages/plasma-ui" cp -R ./packages/plasma-ui/build-sb ./s3_build_sb/ui-storybook - - name: Plasma Web Storybook run: | npm run storybook:build --prefix="./packages/plasma-web" cp -R ./packages/plasma-web/build-sb ./s3_build_sb/web-storybook - - name: Plasma B2C Storybook run: | npm run storybook:build --prefix="./packages/plasma-b2c" @@ -90,31 +95,33 @@ jobs: run: | npm run storybook:build --prefix="./packages/plasma-new-hope" cp -R ./packages/plasma-new-hope/build-sb ./s3_build_sb/new-hope-storybook - + - name: Plasma "SDDS SERV" Storybook run: | npm run storybook:build --prefix="./packages/sdds-serv" cp -R ./packages/sdds-serv/build-sb ./s3_build_sb/sdds-serv-storybook - + - name: Plasma "SDDS DFA" Storybook + run: | + npm run storybook:build --prefix="./packages/sdds-dfa" + cp -R ./packages/sdds-dfa/build-sb ./s3_build_sb/sdds-dfa-storybook - name: Plasma "SDDS CS" Storybook run: | npm run storybook:build --prefix="./packages/sdds-cs" cp -R ./packages/sdds-cs/build-sb ./s3_build_sb/sdds-cs-storybook - - - name: Plasma "SDDS DFA" Storybook + + - name: Plasma "SDDS FinPortal" Storybook run: | - npm run storybook:build --prefix="./packages/sdds-dfa" - cp -R ./packages/sdds-dfa/build-sb ./s3_build_sb/sdds-dfa-storybook - + npm run storybook:build --prefix="./packages/sdds-finportal" + cp -R ./packages/sdds-finportal/build-sb ./s3_build_sb/sdds-finportal-storybook - name: Plasma "SDDS INSOL" Storybook run: | npm run storybook:build --prefix="./packages/sdds-insol" cp -R ./packages/sdds-insol/build-sb ./s3_build_sb/sdds-insol-storybook - + - name: Install s3cmd run: pip3 install s3cmd - - name: Upload documentation build + - name: s3 Upload documentation build run: > s3cmd --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} @@ -127,8 +134,7 @@ jobs: --no-mime-magic sync ./s3_build/next-${{ github.sha }}/ - s3://${{ secrets.AWS_S3_BUCKET_DEV_STAGE }}/current/ - + s3://${{ secrets.AWS_S3_BUCKET_2 }}/current/ - name: Upload to S3 storybook "Plasma-UI" run: > s3cmd @@ -142,8 +148,7 @@ jobs: --no-mime-magic sync ./s3_build_sb/ui-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_DEV_STAGE }}/ui-storybook/ - + s3://${{ secrets.AWS_S3_BUCKET_2 }}/ui-storybook/ - name: Upload to S3 storybook "Plasma-Web" run: > s3cmd @@ -157,8 +162,7 @@ jobs: --no-mime-magic sync ./s3_build_sb/web-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_DEV_STAGE }}/web-storybook/ - + s3://${{ secrets.AWS_S3_BUCKET_2 }}/web-storybook/ - name: Upload to S3 storybook "Plasma-b2c" run: > s3cmd @@ -172,7 +176,7 @@ jobs: --no-mime-magic sync ./s3_build_sb/b2c-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_DEV_STAGE }}/b2c-storybook/ + s3://${{ secrets.AWS_S3_BUCKET_2 }}/b2c-storybook/ - name: Upload to S3 storybook "Plasma-ASDK" run: > @@ -187,9 +191,9 @@ jobs: --no-mime-magic sync ./s3_build_sb/asdk-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_DEV_STAGE }}/asdk-storybook/ - - - name: Upload to S3 storybook "Plasma-New-Hope" + s3://${{ secrets.AWS_S3_BUCKET_2 }}/asdk-storybook/ + + - name: Upload to S3 storybook "Plasma-new-hope" run: > s3cmd --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} @@ -202,8 +206,7 @@ jobs: --no-mime-magic sync ./s3_build_sb/new-hope-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_DEV_STAGE }}/new-hope-storybook/ - + s3://${{ secrets.AWS_S3_BUCKET_2 }}/new-hope-storybook/ - name: Upload to S3 storybook "SDDS SERV" run: > s3cmd @@ -217,9 +220,36 @@ jobs: --no-mime-magic sync ./s3_build_sb/sdds-serv-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_DEV_STAGE }}/sdds-serv-storybook/ - - - name: Upload to S3 storybook "SDDS INSOL" + s3://${{ secrets.AWS_S3_BUCKET_2 }}/sdds-serv-storybook/ + - name: Upload to S3 storybook "SDDS DFA" + run: > + s3cmd + --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} + --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} + --host ${{ secrets.AWS_ENDPOINT }} + --host-bucket ${{ secrets.AWS_ENDPOINT }} + --bucket-location ${{ secrets.AWS_REGION }} + --signature-v2 + --delete-removed + --no-mime-magic + sync + ./s3_build_sb/sdds-dfa-storybook/ + s3://${{ secrets.AWS_S3_BUCKET_2 }}/sdds-dfa-storybook/ + - name: Upload to S3 storybook "SDDS CS" + run: > + s3cmd + --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} + --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} + --host ${{ secrets.AWS_ENDPOINT }} + --host-bucket ${{ secrets.AWS_ENDPOINT }} + --bucket-location ${{ secrets.AWS_REGION }} + --signature-v2 + --delete-removed + --no-mime-magic + sync + ./s3_build_sb/sdds-cs-storybook/ + s3://${{ secrets.AWS_S3_BUCKET_2 }}/sdds-cs-storybook/ + - name: Upload to S3 storybook "SDDS FinPortal" run: > s3cmd --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} @@ -231,5 +261,19 @@ jobs: --delete-removed --no-mime-magic sync - ./s3_build_sb/sdds-insol-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_DEV_STAGE }}/sdds-insol-storybook/ \ No newline at end of file + ./s3_build_sb/sdds-finportal-storybook/ + s3://${{ secrets.AWS_S3_BUCKET_2 }}/sdds-finportal-storybook/ + - name: Upload to S3 storybook "SDDS Insol" + run: > + s3cmd + --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} + --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} + --host ${{ secrets.AWS_ENDPOINT }} + --host-bucket ${{ secrets.AWS_ENDPOINT }} + --bucket-location ${{ secrets.AWS_REGION }} + --signature-v2 + --delete-removed + --no-mime-magic + sync + ./s3_build_sb/sdds-insol-storybook/ + s3://${{ secrets.AWS_S3_BUCKET_2 }}/sdds-insol-storybook/ \ No newline at end of file diff --git a/.github/workflows/documentation-deploy-common.yml b/.github/workflows/documentation-deploy-common.yml new file mode 100644 index 0000000000..f877f424be --- /dev/null +++ b/.github/workflows/documentation-deploy-common.yml @@ -0,0 +1,174 @@ +name: Deploy documentations artefacts common workflow (PROD,DEV SUBDIR) + +on: + workflow_call: + inputs: + path: + description: 'Possible value: dev, current' + default: 'dev' + type: string + ref: + type: string + description: "Manual set repo ref" + default: 'dev' + docusaurusURLPrefix: + type: string + description: "prefix for docusaurus URL, example 'plasma.sberdevices.ru/dev/sdds-serv/'" + default: '' +jobs: + state: + name: Computed state + runs-on: ubuntu-22.04 + outputs: + MATRIX: ${{ steps.matrix.outputs.result }} + steps: + - uses: actions/checkout@v4 + # [NOTE]: В проекте default branch - dev, что бы правильно собрать + # актуальную версию для branch master, нужно указать ref = 'master' + # [DOC]: About REF. The branch, tag or SHA to checkout. When checking out the repository that + # triggered a workflow, this defaults to the reference or SHA for that event. + # Otherwise, **uses the default branch**. + # [DOC]: Last commit on default branch + with: + ref: ${{ inputs.ref }} + show-progress: false + + - name: Read meta config + id: matrix + uses: actions/github-script@v7 + with: + script: | + const fs = require('fs'); + const data = '.github/config-ci.json'; + const config = JSON.parse(fs.readFileSync(data, 'utf8')); + + return config.PACKAGES_DS; + deploy-website: + name: Deploy website artifacts + needs: state + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ inputs.ref }} + show-progress: false + + - name: Prepare environment + uses: ./.github/actions/prepare-environment + + - name: Lerna bootstrap + run: npx lerna bootstrap --scope="@salutejs/{plasma-b2c,plasma-web,plasma-website,plasma-tokens-b2c,plasma-typo,plasma-icons,plasma-new-hope,plasma-themes,core-themes}" + + - name: Prepare directory + run: mkdir -p s3_local_current + + - name: Plasma Website + run: | + npm run build --prefix="./website/plasma-website" + cp -R ./website/plasma-website/build/. ./s3_local_current/next-${{ github.sha }} + + - name: Install s3cmd + run: pip3 install s3cmd + + - name: s3 Upload + run: > + s3cmd + --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} + --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} + --host ${{ secrets.AWS_ENDPOINT }} + --host-bucket ${{ secrets.AWS_ENDPOINT }} + --bucket-location ${{ secrets.AWS_REGION }} + --signature-v2 + --no-mime-magic + sync + ./s3_local_current/next-${{ github.sha }}/ + s3://${{ secrets.AWS_S3_BUCKET_2 }}/${{ inputs.path }}/ + + deploy-artifacts: + name: Deploy artifacts + needs: [ state, deploy-website ] + env: + PREFIX: ${{ inputs.docusaurusURLPrefix }} + runs-on: ubuntu-22.04 + strategy: + fail-fast: false + matrix: + package: ${{ fromJSON(needs.state.outputs.MATRIX) }} + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ inputs.ref }} + show-progress: false + + - name: Prepare environment + uses: ./.github/actions/prepare-environment + + - name: Set job environment variables + run: | + echo "SHORT_NAME=$(echo ${{ matrix.package }} | sed -r 's/plasma-//g')" >> $GITHUB_ENV + echo "HAS_PACKAGE_DOCS=$([ -d "./website/${{ matrix.package }}-docs" ] && echo true || echo false)" >> $GITHUB_ENV + + - name: Computed lerna scope + id: scope + uses: actions/github-script@v7 + env: + PACKAGE: ${{ matrix.package }} + with: + result-encoding: string + script: | + const fs = require('fs'); + const META = require('.github/meta-prod.js'); + const packageName = process.env.PACKAGE; + + return META[packageName].scope; + + - name: Lerna bootstrap + run: npx lerna bootstrap --scope="@salutejs/${{ matrix.package }}" --scope="@salutejs/{${{ steps.scope.outputs.result }}}" + + - name: Prepare directory + run: mkdir -p s3_local_storybook_build s3_local_docs_build + + - name: Build documentation - "${{ matrix.package }}" + if: ${{ fromJSON(env.HAS_PACKAGE_DOCS) }} + run: | + npm run build --prefix="./website/${{ matrix.package }}-docs" -- --no-minify + cp -R ./website/${{ matrix.package }}-docs/build ./s3_local_docs_build/${{ env.SHORT_NAME }} + + - name: Build storybook - "${{ matrix.package }}" + run: | + npm run storybook:build --prefix="./packages/${{ matrix.package }}" + cp -R ./packages/${{ matrix.package }}/build-sb ./s3_local_storybook_build/${{ env.SHORT_NAME }}-storybook + + - name: Install s3cmd + run: pip3 install s3cmd + + - name: s3 upload docs + if: ${{ fromJSON(env.HAS_PACKAGE_DOCS) }} + run: > + s3cmd + --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} + --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} + --host ${{ secrets.AWS_ENDPOINT }} + --host-bucket ${{ secrets.AWS_ENDPOINT }} + --bucket-location ${{ secrets.AWS_REGION }} + --signature-v2 + --delete-removed + --no-mime-magic + sync + ./s3_local_docs_build/${{ env.SHORT_NAME }}/ + s3://${{ secrets.AWS_S3_BUCKET_2 }}/${{ inputs.path }}/${{ env.SHORT_NAME }}/ + + - name: s3 upload storybook + run: > + s3cmd + --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} + --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} + --host ${{ secrets.AWS_ENDPOINT }} + --host-bucket ${{ secrets.AWS_ENDPOINT }} + --bucket-location ${{ secrets.AWS_REGION }} + --signature-v2 + --delete-removed + --no-mime-magic + sync + ./s3_local_storybook_build/${{ env.SHORT_NAME }}-storybook/ + s3://${{ secrets.AWS_S3_BUCKET_2 }}/${{ inputs.path }}/${{ env.SHORT_NAME }}-storybook/ \ No newline at end of file diff --git a/.github/workflows/documentation-deploy-dev-stage.yml b/.github/workflows/documentation-deploy-dev-stage.yml new file mode 100644 index 0000000000..45fbe0977e --- /dev/null +++ b/.github/workflows/documentation-deploy-dev-stage.yml @@ -0,0 +1,14 @@ +name: Deploy documentations artefacts [DEV SUBDIR] + +on: + workflow_dispatch: + +jobs: + run: + name: Deploy artifacts [DEV SUBDIR] + uses: ./.github/workflows/documentation-deploy-common.yml + with: + path: 'dev' + ref: 'dev' + docusaurusURLPrefix: 'dev' + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/documentation-deploy-prod.yml b/.github/workflows/documentation-deploy-prod.yml index 8633d960b8..56a4dc2251 100644 --- a/.github/workflows/documentation-deploy-prod.yml +++ b/.github/workflows/documentation-deploy-prod.yml @@ -1,304 +1,18 @@ name: Deploy documentations artefacts [PROD] on: - workflow_dispatch: - workflow_run: - workflows: ["Release"] - branches: [master] - types: - - completed + workflow_dispatch: + workflow_run: + workflows: ["Release"] + branches: [master] + types: [completed] jobs: - build: - name: Build - runs-on: ubuntu-22.04 - steps: - # [NOTE]: В проекте default branch - dev, что бы правильно собрать - # актуальную версию для branch master, нужно указать ref = 'master' - - uses: actions/checkout@v4 - # [DOC]: About REF. The branch, tag or SHA to checkout. When checking out the repository that - # triggered a workflow, this defaults to the reference or SHA for that event. - # Otherwise, **uses the default branch**. - # [DOC]: Last commit on default branch + run: + name: Deploy artifacts [PROD] + if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} + uses: ./.github/workflows/documentation-deploy-common.yml with: - ref: 'master' - show-progress: false - - - name: Prepare repository - run: git fetch --unshallow --tags - - - name: Prepare environment - uses: ./.github/actions/prepare-environment - - - name: Lerna bootstrap - run: npx lerna bootstrap - - - name: Prepare directories - run: | - mkdir -p s3_build s3_build_sb - - - name: Plasma Website - run: | - export NODE_OPTIONS=--openssl-legacy-provider - npm run build --prefix="./website/plasma-website" - cp -R ./website/plasma-website/build ./s3_build/next-${{ github.sha }} - - - name: Plasma UI Docs - run: | - export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" - npm run build --prefix="./website/plasma-ui-docs" - cp -R ./website/plasma-ui-docs/build ./s3_build/next-${{ github.sha }}/ui - - - name: Plasma Web Docs - run: | - export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" - npm run build --prefix="./website/plasma-web-docs" - cp -R ./website/plasma-web-docs/build ./s3_build/next-${{ github.sha }}/web - - - name: Plasma B2C Docs - run: | - export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" - npm run build --prefix="./website/plasma-b2c-docs" - cp -R ./website/plasma-b2c-docs/build ./s3_build/next-${{ github.sha }}/b2c - - - name: SDDS-SERV Docs - run: | - export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" - npm run build --prefix="./website/sdds-serv-docs" - cp -R ./website/sdds-serv-docs/build ./s3_build/next-${{ github.sha }}/sdds-serv - - - name: SDDS-CS Docs - run: | - export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" - npm run build --prefix="./website/sdds-cs-docs" - cp -R ./website/sdds-cs-docs/build ./s3_build/next-${{ github.sha }}/sdds-cs - - - name: SDDS-DFA Docs - run: | - export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" - npm run build --prefix="./website/sdds-dfa-docs" - cp -R ./website/sdds-dfa-docs/build ./s3_build/next-${{ github.sha }}/sdds-dfa - - - name: SDDS-INSOL Docs - run: | - export NODE_OPTIONS="--max_old_space_size=8192 --openssl-legacy-provider" - npm run build --prefix="./website/sdds-insol-docs" - cp -R ./website/sdds-insol-docs/build ./s3_build/next-${{ github.sha }}/sdds-insol - - - name: Plasma UI Storybook - run: | - npm run storybook:build --prefix="./packages/plasma-ui" - cp -R ./packages/plasma-ui/build-sb ./s3_build_sb/ui-storybook - - - name: Plasma Web Storybook - run: | - npm run storybook:build --prefix="./packages/plasma-web" - cp -R ./packages/plasma-web/build-sb ./s3_build_sb/web-storybook - - - name: Plasma B2C Storybook - run: | - npm run storybook:build --prefix="./packages/plasma-b2c" - cp -R ./packages/plasma-b2c/build-sb ./s3_build_sb/b2c-storybook - - - name: Plasma "ASDK" Storybook - run: | - npm run storybook:build --prefix="./packages/plasma-asdk" - cp -R ./packages/plasma-asdk/build-sb ./s3_build_sb/asdk-storybook - - - name: Plasma "New-hope" Storybook - run: | - npm run storybook:build --prefix="./packages/plasma-new-hope" - cp -R ./packages/plasma-new-hope/build-sb ./s3_build_sb/new-hope-storybook - - - name: Plasma "SDDS SERV" Storybook - run: | - npm run storybook:build --prefix="./packages/sdds-serv" - cp -R ./packages/sdds-serv/build-sb ./s3_build_sb/sdds-serv-storybook - - - name: Plasma "SDDS DFA" Storybook - run: | - npm run storybook:build --prefix="./packages/sdds-dfa" - cp -R ./packages/sdds-dfa/build-sb ./s3_build_sb/sdds-dfa-storybook - - - name: Plasma "SDDS CS" Storybook - run: | - npm run storybook:build --prefix="./packages/sdds-cs" - cp -R ./packages/sdds-cs/build-sb ./s3_build_sb/sdds-cs-storybook - - - name: Plasma "SDDS FinPortal" Storybook - run: | - npm run storybook:build --prefix="./packages/sdds-finportal" - cp -R ./packages/sdds-finportal/build-sb ./s3_build_sb/sdds-finportal-storybook - - - name: Plasma "SDDS INSOL" Storybook - run: | - npm run storybook:build --prefix="./packages/sdds-insol" - cp -R ./packages/sdds-insol/build-sb ./s3_build_sb/sdds-insol-storybook - - - name: Install s3cmd - run: pip3 install s3cmd - - - name: s3 Upload documentation build - run: > - s3cmd - --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} - --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - --host ${{ secrets.AWS_ENDPOINT }} - --host-bucket ${{ secrets.AWS_ENDPOINT }} - --bucket-location ${{ secrets.AWS_REGION }} - --signature-v2 - --delete-removed - --no-mime-magic - sync - ./s3_build/next-${{ github.sha }}/ - s3://${{ secrets.AWS_S3_BUCKET_2 }}/current/ - - - name: Upload to S3 storybook "Plasma-UI" - run: > - s3cmd - --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} - --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - --host ${{ secrets.AWS_ENDPOINT }} - --host-bucket ${{ secrets.AWS_ENDPOINT }} - --bucket-location ${{ secrets.AWS_REGION }} - --signature-v2 - --delete-removed - --no-mime-magic - sync - ./s3_build_sb/ui-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_2 }}/ui-storybook/ - - - name: Upload to S3 storybook "Plasma-Web" - run: > - s3cmd - --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} - --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - --host ${{ secrets.AWS_ENDPOINT }} - --host-bucket ${{ secrets.AWS_ENDPOINT }} - --bucket-location ${{ secrets.AWS_REGION }} - --signature-v2 - --delete-removed - --no-mime-magic - sync - ./s3_build_sb/web-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_2 }}/web-storybook/ - - - name: Upload to S3 storybook "Plasma-b2c" - run: > - s3cmd - --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} - --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - --host ${{ secrets.AWS_ENDPOINT }} - --host-bucket ${{ secrets.AWS_ENDPOINT }} - --bucket-location ${{ secrets.AWS_REGION }} - --signature-v2 - --delete-removed - --no-mime-magic - sync - ./s3_build_sb/b2c-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_2 }}/b2c-storybook/ - - - name: Upload to S3 storybook "Plasma-ASDK" - run: > - s3cmd - --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} - --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - --host ${{ secrets.AWS_ENDPOINT }} - --host-bucket ${{ secrets.AWS_ENDPOINT }} - --bucket-location ${{ secrets.AWS_REGION }} - --signature-v2 - --delete-removed - --no-mime-magic - sync - ./s3_build_sb/asdk-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_2 }}/asdk-storybook/ - - - name: Upload to S3 storybook "Plasma-new-hope" - run: > - s3cmd - --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} - --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - --host ${{ secrets.AWS_ENDPOINT }} - --host-bucket ${{ secrets.AWS_ENDPOINT }} - --bucket-location ${{ secrets.AWS_REGION }} - --signature-v2 - --delete-removed - --no-mime-magic - sync - ./s3_build_sb/new-hope-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_2 }}/new-hope-storybook/ - - - name: Upload to S3 storybook "SDDS SERV" - run: > - s3cmd - --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} - --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - --host ${{ secrets.AWS_ENDPOINT }} - --host-bucket ${{ secrets.AWS_ENDPOINT }} - --bucket-location ${{ secrets.AWS_REGION }} - --signature-v2 - --delete-removed - --no-mime-magic - sync - ./s3_build_sb/sdds-serv-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_2 }}/sdds-serv-storybook/ - - - name: Upload to S3 storybook "SDDS DFA" - run: > - s3cmd - --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} - --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - --host ${{ secrets.AWS_ENDPOINT }} - --host-bucket ${{ secrets.AWS_ENDPOINT }} - --bucket-location ${{ secrets.AWS_REGION }} - --signature-v2 - --delete-removed - --no-mime-magic - sync - ./s3_build_sb/sdds-dfa-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_2 }}/sdds-dfa-storybook/ - - - name: Upload to S3 storybook "SDDS CS" - run: > - s3cmd - --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} - --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - --host ${{ secrets.AWS_ENDPOINT }} - --host-bucket ${{ secrets.AWS_ENDPOINT }} - --bucket-location ${{ secrets.AWS_REGION }} - --signature-v2 - --delete-removed - --no-mime-magic - sync - ./s3_build_sb/sdds-cs-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_2 }}/sdds-cs-storybook/ - - - name: Upload to S3 storybook "SDDS FinPortal" - run: > - s3cmd - --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} - --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - --host ${{ secrets.AWS_ENDPOINT }} - --host-bucket ${{ secrets.AWS_ENDPOINT }} - --bucket-location ${{ secrets.AWS_REGION }} - --signature-v2 - --delete-removed - --no-mime-magic - sync - ./s3_build_sb/sdds-finportal-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_2 }}/sdds-finportal-storybook/ - - - name: Upload to S3 storybook "SDDS Insol" - run: > - s3cmd - --access_key ${{ secrets.AWS_ACCESS_KEY_ID }} - --secret_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - --host ${{ secrets.AWS_ENDPOINT }} - --host-bucket ${{ secrets.AWS_ENDPOINT }} - --bucket-location ${{ secrets.AWS_REGION }} - --signature-v2 - --delete-removed - --no-mime-magic - sync - ./s3_build_sb/sdds-insol-storybook/ - s3://${{ secrets.AWS_S3_BUCKET_2 }}/sdds-insol-storybook/ \ No newline at end of file + path: 'current' + ref: 'master' + secrets: inherit \ No newline at end of file diff --git a/.github/workflows/documentation-deploy-release-branch.yml b/.github/workflows/documentation-deploy-release-branch.yml index e175a991f4..ba27ff43ca 100644 --- a/.github/workflows/documentation-deploy-release-branch.yml +++ b/.github/workflows/documentation-deploy-release-branch.yml @@ -21,6 +21,7 @@ jobs: runs-on: ubuntu-22.04 env: PR_NAME: pr-${{ github.event.number }} + PREFIX: pr/pr-${{ github.event.number }} ICONS_PUBLIC_URL: /icons steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/publish-latest.yml b/.github/workflows/publish-latest.yml index 2e693d1bac..665e9f9aba 100644 --- a/.github/workflows/publish-latest.yml +++ b/.github/workflows/publish-latest.yml @@ -16,7 +16,60 @@ jobs: uses: ./.github/workflows/publish-common.yml with: with-update-package-lock: true + auto-options: '--no-changelog' secrets: gh_token: ${{ secrets.GH_TOKEN }} npm_registry_token: ${{ secrets.NPM_REGISTRY_TOKEN }} - + + changelog: + runs-on: ubuntu-latest + needs: [publish] + if: ${{ always() && contains(needs.publish.result, 'success') }} + env: + GITHUB_TOKEN: ${{ secrets.gh_token }} + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + show-progress: false + fetch-depth: 0 + + - name: Get associated pull request by commit + id: data + uses: actions/github-script@v7 + with: + result-encoding: string + script: | + const res = await github.rest.repos.listPullRequestsAssociatedWithCommit({ + commit_sha: context.sha, + owner: context.repo.owner, + repo: context.repo.repo, + }); + + const data = res?.data[0].body || ''; + + return data; + + - name: Install dependencies + run: | + cd .github/actions/write-changelog + npm ci + + - name: Write changelog + uses: ./.github/actions/write-changelog + with: + data: ${{ steps.data.outputs.result }} + + - name: Extract branch name + id: branch + shell: bash + run: echo "BRANCH=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT + + - name: Commit & Push changelog files + uses: actions-js/push@master + with: + github_token: ${{ secrets.gh_token }} + message: 'chore: Update CHANGELOG.md [skip ci]' + branch: ${{ steps.branch.outputs.BRANCH }} + author_name: Salute Frontend Team + author_email: salute.developers@gmail.com diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1296] Attach flow=horizontal.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1296] Attach flow=horizontal.snap.png deleted file mode 100644 index 7dca0678aa..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1296] Attach flow=horizontal.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1298] Attach flow=vertical.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1298] Attach flow=vertical.snap.png deleted file mode 100644 index 24d5e87803..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1298] Attach flow=vertical.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1299] Attach hasAttachment=false.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1299] Attach hasAttachment=false.snap.png deleted file mode 100644 index 1750b4114f..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1299] Attach hasAttachment=false.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1301] flow=auto, filenameTruncation.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1301] filenameTruncation.snap.png similarity index 100% rename from cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1301] flow=auto, filenameTruncation.snap.png rename to cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1301] filenameTruncation.snap.png diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1304] Attach view=accent, size=m.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1304] Attach view=accent, size=m.snap.png deleted file mode 100644 index fe626e5317..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1304] Attach view=accent, size=m.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1305] Attach view=default, size=l.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1305] Attach view=default, size=l.snap.png deleted file mode 100644 index b4100ceee7..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1305] Attach view=default, size=l.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1306] Attach view=secondary, size=s.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1306] Attach view=secondary, size=s.snap.png deleted file mode 100644 index 377fec97c6..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1306] Attach view=secondary, size=s.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1308] Attach view=success, square.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1308] Attach view=success, square.snap.png deleted file mode 100644 index 4c2547dfa1..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1308] Attach view=success, square.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1309] Attach view=warning, enableContentLeft.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1309] Attach view=warning, enableContentLeft.snap.png deleted file mode 100644 index 8d9e707709..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1309] Attach view=warning, enableContentLeft.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1310] Attach view=critical, enableContentRight.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1310] Attach view=critical, enableContentRight.snap.png deleted file mode 100644 index 8e6ef6294b..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1310] Attach view=critical, enableContentRight.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1311] Attach view=dark, with buttonValue.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1311] Attach view=dark, with buttonValue.snap.png deleted file mode 100644 index c496bce4b6..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1311] Attach view=dark, with buttonValue.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1312] Attach view=black.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1312] Attach view=black.snap.png deleted file mode 100644 index 1d4fd30a01..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1312] Attach view=black.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1313] Attach view=white.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1313] Attach view=white.snap.png deleted file mode 100644 index 1750b4114f..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1313] Attach view=white.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1315] Attach view=accent, size=m, buttonType=iconButton.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1315] Attach view=accent, size=m, buttonType=iconButton.snap.png deleted file mode 100644 index e20751e647..0000000000 Binary files a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1315] Attach view=accent, size=m, buttonType=iconButton.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1542] Attach size=l, view=default, enableContentLeft, buttonText.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1542] Attach size=l, view=default, enableContentLeft, buttonText.snap.png new file mode 100644 index 0000000000..8f17d0b5d5 Binary files /dev/null and b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1542] Attach size=l, view=default, enableContentLeft, buttonText.snap.png differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1543] Attach size=m, view=accent, enableContentRight, buttonValue.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1543] Attach size=m, view=accent, enableContentRight, buttonValue.snap.png new file mode 100644 index 0000000000..476be2e6cb Binary files /dev/null and b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1543] Attach size=m, view=accent, enableContentRight, buttonValue.snap.png differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1544] Attach size=s, view=secondary, enableContentLeft, enableContentRight, buttonText, buttonValue.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1544] Attach size=s, view=secondary, enableContentLeft, enableContentRight, buttonText, buttonValue.snap.png new file mode 100644 index 0000000000..5823c15984 Binary files /dev/null and b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1544] Attach size=s, view=secondary, enableContentLeft, enableContentRight, buttonText, buttonValue.snap.png differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1307] Attach view=clear, size=xs.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1545] Attach size=xs, view=clear.snap.png similarity index 100% rename from cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1307] Attach view=clear, size=xs.snap.png rename to cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1545] Attach size=xs, view=clear.snap.png diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1546] Attach view=success, hasAttachment=false.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1546] Attach view=success, hasAttachment=false.snap.png new file mode 100644 index 0000000000..63718b773f Binary files /dev/null and b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1546] Attach view=success, hasAttachment=false.snap.png differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1547] Attach view=warning, flow=horizontal, fileFormat=all.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1547] Attach view=warning, flow=horizontal, fileFormat=all.snap.png new file mode 100644 index 0000000000..50d89a642e Binary files /dev/null and b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1547] Attach view=warning, flow=horizontal, fileFormat=all.snap.png differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1548] Attach view=critical, flow=vertical.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1548] Attach view=critical, flow=vertical.snap.png new file mode 100644 index 0000000000..a6ee9201bb Binary files /dev/null and b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1548] Attach view=critical, flow=vertical.snap.png differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1549] Attach view=dark, flow=auto, width=500px.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1549] Attach view=dark, flow=auto, width=500px.snap.png new file mode 100644 index 0000000000..ac61b05dd9 Binary files /dev/null and b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1549] Attach view=dark, flow=auto, width=500px.snap.png differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1550] Attach view=black, width=250px.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1550] Attach view=black, width=250px.snap.png new file mode 100644 index 0000000000..2fa336b861 Binary files /dev/null and b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1550] Attach view=black, width=250px.snap.png differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1551] Attach view=white, width=0.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1551] Attach view=white, width=0.snap.png new file mode 100644 index 0000000000..3e85096893 Binary files /dev/null and b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1551] Attach view=white, width=0.snap.png differ diff --git a/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1552] Attach buttonType=iconButton.snap.png b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1552] Attach buttonType=iconButton.snap.png new file mode 100644 index 0000000000..59788a6727 Binary files /dev/null and b/cypress/snapshots/b2c/components/Attach/Attach.update-test.component-test.tsx/plasma-b2c Attach -- [PLASMA-T1552] Attach buttonType=iconButton.snap.png differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-] Badge icon only.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-1651] Badge icon only.snap.png similarity index 100% rename from cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-] Badge icon only.snap.png rename to cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-1651] Badge icon only.snap.png diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-1652] Badge customBackgroundColor, customColor.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-1652] Badge customBackgroundColor, customColor.snap.png new file mode 100644 index 0000000000..deb6194710 Binary files /dev/null and b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-1652] Badge customBackgroundColor, customColor.snap.png differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1356] Badge size=l, view=default, enableContentLeft.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1356] Badge size=l, view=default, enableContentLeft.snap.png new file mode 100644 index 0000000000..dda5b9e4a9 Binary files /dev/null and b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1356] Badge size=l, view=default, enableContentLeft.snap.png differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1357] Badge size=m, view=accent, enableContentRight.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1357] Badge size=m, view=accent, enableContentRight.snap.png new file mode 100644 index 0000000000..a8f27e15a1 Binary files /dev/null and b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1357] Badge size=m, view=accent, enableContentRight.snap.png differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1358] Badge size=s, view=positive, pilled.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1358] Badge size=s, view=positive, pilled.snap.png new file mode 100644 index 0000000000..0c9a9198aa Binary files /dev/null and b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1358] Badge size=s, view=positive, pilled.snap.png differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1359] Badge size=xs, view=warning.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1359] Badge size=xs, view=warning.snap.png new file mode 100644 index 0000000000..1ef54fb617 Binary files /dev/null and b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1359] Badge size=xs, view=warning.snap.png differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1360] Badge size=l, view=negative.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1360] Badge size=l, view=negative.snap.png new file mode 100644 index 0000000000..2175d41201 Binary files /dev/null and b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1360] Badge size=l, view=negative.snap.png differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1361] Badge size=m, view=dark.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1361] Badge size=m, view=dark.snap.png new file mode 100644 index 0000000000..a11e3e28d8 Binary files /dev/null and b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1361] Badge size=m, view=dark.snap.png differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1362] Badge size=s, view=light.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1362] Badge size=s, view=light.snap.png new file mode 100644 index 0000000000..0f070483ca Binary files /dev/null and b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1362] Badge size=s, view=light.snap.png differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1363] Badge size=l, view=default, clear.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1363] Badge size=l, view=default, clear.snap.png new file mode 100644 index 0000000000..7034514735 Binary files /dev/null and b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1363] Badge size=l, view=default, clear.snap.png differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1364] Badge size=l, view=default, transparent.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1364] Badge size=l, view=default, transparent.snap.png new file mode 100644 index 0000000000..42f2b4f202 Binary files /dev/null and b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T1364] Badge size=l, view=default, transparent.snap.png differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T707] Badge view=default, size=m.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T707] Badge view=default, size=m.snap.png deleted file mode 100644 index 1ba7303b43..0000000000 Binary files a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T707] Badge view=default, size=m.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T708] Badge view=positive, size=s.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T708] Badge view=positive, size=s.snap.png deleted file mode 100644 index f079c74fa6..0000000000 Binary files a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T708] Badge view=positive, size=s.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T709] Badge view=negative, with Icon.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T709] Badge view=negative, with Icon.snap.png deleted file mode 100644 index 22805b94a0..0000000000 Binary files a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T709] Badge view=negative, with Icon.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T716] Badge view=accent, pilled.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T716] Badge view=accent, pilled.snap.png deleted file mode 100644 index 5992609741..0000000000 Binary files a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T716] Badge view=accent, pilled.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T717] Badge view=warning, size=l.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T717] Badge view=warning, size=l.snap.png deleted file mode 100644 index ebd7b31ba1..0000000000 Binary files a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T717] Badge view=warning, size=l.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T718] Badge view=dark.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T718] Badge view=dark.snap.png deleted file mode 100644 index 97e8489005..0000000000 Binary files a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T718] Badge view=dark.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T719] Badge view=light.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T719] Badge view=light.snap.png deleted file mode 100644 index 276537c68a..0000000000 Binary files a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T719] Badge view=light.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T720] Badge view=default, transparent.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T720] Badge view=default, transparent.snap.png deleted file mode 100644 index c92d50c1ba..0000000000 Binary files a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-T720] Badge view=default, transparent.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-] Badge customBackroundColor, customColor.snap.png b/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-] Badge customBackroundColor, customColor.snap.png deleted file mode 100644 index d1ff7fc0b7..0000000000 Binary files a/cypress/snapshots/b2c/components/Badge/Badge.update-test.component-test.tsx/plasma-b2c Badge -- [PLASMA-] Badge customBackroundColor, customColor.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1012] Button stretching=fixed.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1012] Button stretching=fixed.snap.png deleted file mode 100644 index 0971c0667e..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1012] Button stretching=fixed.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1013] Button enableContentLeft, enableContentRight.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1013] Button enableContentLeft, enableContentRight.snap.png deleted file mode 100644 index 22447acb2b..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1013] Button enableContentLeft, enableContentRight.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1015] Button stretching=auto.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1015] Button stretching=auto.snap.png deleted file mode 100644 index 7a47dfacb5..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1015] Button stretching=auto.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1017] Button pin=square-clear.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1017] Button pin=square-clear.snap.png deleted file mode 100644 index 6c124bef4b..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1017] Button pin=square-clear.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1018] Button pin=clear-square.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1018] Button pin=clear-square.snap.png deleted file mode 100644 index f667f5b699..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1018] Button pin=clear-square.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1019] Button pin=clear-clear.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1019] Button pin=clear-clear.snap.png deleted file mode 100644 index 21f6d8087c..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1019] Button pin=clear-clear.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1020] Button pin=clear-circle.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1020] Button pin=clear-circle.snap.png deleted file mode 100644 index f93a40c346..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1020] Button pin=clear-circle.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1021] Button pin=circle-clear.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1021] Button pin=circle-clear.snap.png deleted file mode 100644 index af43b76ed4..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1021] Button pin=circle-clear.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1023] Button with value.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1023] Button with value.snap.png deleted file mode 100644 index c21309a528..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1023] Button with value.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1178] Button contentPlacing=relaxed, stretching=filled.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1178] Button contentPlacing=relaxed, stretching=filled.snap.png deleted file mode 100644 index a9e442f578..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1178] Button contentPlacing=relaxed, stretching=filled.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1319] Button size=l, view=default.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1319] Button size=l, view=default.snap.png new file mode 100644 index 0000000000..88183a649f Binary files /dev/null and b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1319] Button size=l, view=default.snap.png differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1327] Button size=m, view=accent, contentLeft.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1327] Button size=m, view=accent, contentLeft.snap.png new file mode 100644 index 0000000000..3126590284 Binary files /dev/null and b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1327] Button size=m, view=accent, contentLeft.snap.png differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1328] Button size=s, view=warning, contentRight.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1328] Button size=s, view=warning, contentRight.snap.png new file mode 100644 index 0000000000..20777d128e Binary files /dev/null and b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1328] Button size=s, view=warning, contentRight.snap.png differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1329] Button size=xs, view=dark, withValue.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1329] Button size=xs, view=dark, withValue.snap.png new file mode 100644 index 0000000000..d075e22116 Binary files /dev/null and b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1329] Button size=xs, view=dark, withValue.snap.png differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1330] Button size=l, view=default, isLoading.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1330] Button size=l, view=default, isLoading.snap.png new file mode 100644 index 0000000000..11094026c3 Binary files /dev/null and b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1330] Button size=l, view=default, isLoading.snap.png differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1331] Button size=l, view=default, disabled.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1331] Button size=l, view=default, disabled.snap.png new file mode 100644 index 0000000000..ada093dd73 Binary files /dev/null and b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1331] Button size=l, view=default, disabled.snap.png differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1343] Button size=l, view=success contentLeft, contentRight, contentPlacing=default, stretching=auto, pin=square-square.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1343] Button size=l, view=success contentLeft, contentRight, contentPlacing=default, stretching=auto, pin=square-square.snap.png new file mode 100644 index 0000000000..e8d2ef1019 Binary files /dev/null and b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1343] Button size=l, view=success contentLeft, contentRight, contentPlacing=default, stretching=auto, pin=square-square.snap.png differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1344] Button size=m, view=critical, contentLeft, value, contentPlacing=relaxed, stretching=filled, pin=square-clear.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1344] Button size=m, view=critical, contentLeft, value, contentPlacing=relaxed, stretching=filled, pin=square-clear.snap.png new file mode 100644 index 0000000000..ed834a3043 Binary files /dev/null and b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1344] Button size=m, view=critical, contentLeft, value, contentPlacing=relaxed, stretching=filled, pin=square-clear.snap.png differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1345] Button size=s, stretching=fixed, pin=clear-square.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1345] Button size=s, stretching=fixed, pin=clear-square.snap.png new file mode 100644 index 0000000000..4b2ea378f6 Binary files /dev/null and b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1345] Button size=s, stretching=fixed, pin=clear-square.snap.png differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1346] Button size=xs, pin=clear-clear.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1346] Button size=xs, pin=clear-clear.snap.png new file mode 100644 index 0000000000..e28629180f Binary files /dev/null and b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1346] Button size=xs, pin=clear-clear.snap.png differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1347] Button size=xxs, pin=clear-circle.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1347] Button size=xxs, pin=clear-circle.snap.png new file mode 100644 index 0000000000..8c01d3dd68 Binary files /dev/null and b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1347] Button size=xxs, pin=clear-circle.snap.png differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1348] Button size=l, focused, pin=circle-clear.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1348] Button size=l, focused, pin=circle-clear.snap.png new file mode 100644 index 0000000000..6f6a68e90f Binary files /dev/null and b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1348] Button size=l, focused, pin=circle-clear.snap.png differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1022] Button pin=circle-circle.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1349] Button size=m, square=true, pin=circle-circle.snap.png similarity index 100% rename from cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1022] Button pin=circle-circle.snap.png rename to cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T1349] Button size=m, square=true, pin=circle-circle.snap.png diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T678] Button view=default, size=m.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T678] Button view=default, size=m.snap.png deleted file mode 100644 index eb3100a811..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T678] Button view=default, size=m.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T870] Button view=accent, size=l.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T870] Button view=accent, size=l.snap.png deleted file mode 100644 index a98c8771c3..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T870] Button view=accent, size=l.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T871] Button view=success, size=s.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T871] Button view=success, size=s.snap.png deleted file mode 100644 index 3d24eac098..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T871] Button view=success, size=s.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T872] Button view=warning, size=xs.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T872] Button view=warning, size=xs.snap.png deleted file mode 100644 index 51ff6203e7..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T872] Button view=warning, size=xs.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T873] Button view=critical, size=xxs.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T873] Button view=critical, size=xxs.snap.png deleted file mode 100644 index 360aa624b8..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T873] Button view=critical, size=xxs.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T876] Button square.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T876] Button square.snap.png deleted file mode 100644 index 89588a5866..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T876] Button square.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T877] Button stretching=filled.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T877] Button stretching=filled.snap.png deleted file mode 100644 index c4a1c1b565..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T877] Button stretching=filled.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T878] Button disabled.snap.png b/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T878] Button disabled.snap.png deleted file mode 100644 index 019a751807..0000000000 Binary files a/cypress/snapshots/b2c/components/Button/Button.update-test.component-test.tsx/plasma-b2c Button -- [PLASMA-T878] Button disabled.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1206] ButtonGroup size=s, view=clear.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1206] ButtonGroup size=s, view=clear.snap.png deleted file mode 100644 index 105adc8302..0000000000 Binary files a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1206] ButtonGroup size=s, view=clear.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1207] ButtonGroup size=xs, gap=dense.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1207] ButtonGroup size=xs, gap=dense.snap.png deleted file mode 100644 index e7df3b9031..0000000000 Binary files a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1207] ButtonGroup size=xs, gap=dense.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1366] ButtonGroup size=l, view=default, gap=none.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1366] ButtonGroup size=l, view=default, gap=none.snap.png new file mode 100644 index 0000000000..59ae7d1ada Binary files /dev/null and b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1366] ButtonGroup size=l, view=default, gap=none.snap.png differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T820] ButtonGroup view=default, size=m, orientation=horizontal.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1367] ButtonGroup size=m, view=default, gap=dense.snap.png similarity index 100% rename from cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T820] ButtonGroup view=default, size=m, orientation=horizontal.snap.png rename to cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1367] ButtonGroup size=m, view=default, gap=dense.snap.png diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1368] ButtonGroup size=s, view=secondary, gap=wide.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1368] ButtonGroup size=s, view=secondary, gap=wide.snap.png new file mode 100644 index 0000000000..3148e7ebaf Binary files /dev/null and b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1368] ButtonGroup size=s, view=secondary, gap=wide.snap.png differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1369] ButtonGroup size=xs, view=success, shape=segmented.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1369] ButtonGroup size=xs, view=success, shape=segmented.snap.png new file mode 100644 index 0000000000..a3ccc481ae Binary files /dev/null and b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1369] ButtonGroup size=xs, view=success, shape=segmented.snap.png differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1370] ButtonGroup size=xxs, view=warning, stretching=filled.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1370] ButtonGroup size=xxs, view=warning, stretching=filled.snap.png new file mode 100644 index 0000000000..0ef216de5e Binary files /dev/null and b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1370] ButtonGroup size=xxs, view=warning, stretching=filled.snap.png differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1371] ButtonGroup size=l, view=critical, orientation=vertical.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1371] ButtonGroup size=l, view=critical, orientation=vertical.snap.png new file mode 100644 index 0000000000..27b71b8e58 Binary files /dev/null and b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1371] ButtonGroup size=l, view=critical, orientation=vertical.snap.png differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1372] ButtonGroup view=clear.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1372] ButtonGroup view=clear.snap.png new file mode 100644 index 0000000000..edba6a3855 Binary files /dev/null and b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T1372] ButtonGroup view=clear.snap.png differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T821] ButtonGroup view=accent, size=l, shape=default.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T821] ButtonGroup view=accent, size=l, shape=default.snap.png deleted file mode 100644 index b10d13026c..0000000000 Binary files a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T821] ButtonGroup view=accent, size=l, shape=default.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T822] ButtonGroup view=secondary, gap=none.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T822] ButtonGroup view=secondary, gap=none.snap.png deleted file mode 100644 index df3342f9c4..0000000000 Binary files a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T822] ButtonGroup view=secondary, gap=none.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T823] ButtonGroup view=success, orientation=vertical.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T823] ButtonGroup view=success, orientation=vertical.snap.png deleted file mode 100644 index 190a1a0e24..0000000000 Binary files a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T823] ButtonGroup view=success, orientation=vertical.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T824] ButtonGroup view=warning, shape=segmented.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T824] ButtonGroup view=warning, shape=segmented.snap.png deleted file mode 100644 index 0406a8b7f1..0000000000 Binary files a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T824] ButtonGroup view=warning, shape=segmented.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T825] ButtonGroup view=critical, stretching=filled.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T825] ButtonGroup view=critical, stretching=filled.snap.png deleted file mode 100644 index 40cb59dec1..0000000000 Binary files a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T825] ButtonGroup view=critical, stretching=filled.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T826] ButtonGroup size=xxs, gap=wide.snap.png b/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T826] ButtonGroup size=xxs, gap=wide.snap.png deleted file mode 100644 index 4c289f90f6..0000000000 Binary files a/cypress/snapshots/b2c/components/ButtonGroup/ButtonGroup.update-test.component-test.tsx/plasma-b2c ButtonGroup -- [PLASMA-T826] ButtonGroup size=xxs, gap=wide.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1194] Chip without Clear.snap.png b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1194] Chip without Clear.snap.png deleted file mode 100644 index 2610327fb3..0000000000 Binary files a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1194] Chip without Clear.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1442] Chip size=l, view=default, hasClear.snap.png b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1442] Chip size=l, view=default, hasClear.snap.png new file mode 100644 index 0000000000..569eac91b0 Binary files /dev/null and b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1442] Chip size=l, view=default, hasClear.snap.png differ diff --git a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1443] Chip size=m, view=secondary, without Clear, pilled.snap.png b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1443] Chip size=m, view=secondary, without Clear, pilled.snap.png new file mode 100644 index 0000000000..fb1cd393f7 Binary files /dev/null and b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1443] Chip size=m, view=secondary, without Clear, pilled.snap.png differ diff --git a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1446] Chip view=accent, size=s.snap.png b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1446] Chip view=accent, size=s.snap.png new file mode 100644 index 0000000000..df2b8994fe Binary files /dev/null and b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1446] Chip view=accent, size=s.snap.png differ diff --git a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1447] Chip size=xs, with Icon.snap.png b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1447] Chip size=xs, with Icon.snap.png new file mode 100644 index 0000000000..a1aba0b34a Binary files /dev/null and b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1447] Chip size=xs, with Icon.snap.png differ diff --git a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1654] Chip disabled.snap.png b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1654] Chip disabled.snap.png new file mode 100644 index 0000000000..85af3f82a5 Binary files /dev/null and b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T1654] Chip disabled.snap.png differ diff --git a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T757] Chip view=default, size=m.snap.png b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T757] Chip view=default, size=m.snap.png deleted file mode 100644 index 7239c6fafe..0000000000 Binary files a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T757] Chip view=default, size=m.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T758] Chip view=secondary, size=s.snap.png b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T758] Chip view=secondary, size=s.snap.png deleted file mode 100644 index 704f08b962..0000000000 Binary files a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T758] Chip view=secondary, size=s.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T759] Chip view=accent, size=l.snap.png b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T759] Chip view=accent, size=l.snap.png deleted file mode 100644 index a51a56d033..0000000000 Binary files a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T759] Chip view=accent, size=l.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T761] Chip disabled.snap.png b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T761] Chip disabled.snap.png deleted file mode 100644 index 6d7f5ef73c..0000000000 Binary files a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T761] Chip disabled.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T973] Chip pilled, size=xs.snap.png b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T973] Chip pilled, size=xs.snap.png deleted file mode 100644 index c8a5adab53..0000000000 Binary files a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T973] Chip pilled, size=xs.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T974] Chip with Icon.snap.png b/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T974] Chip with Icon.snap.png deleted file mode 100644 index 8ff490692b..0000000000 Binary files a/cypress/snapshots/b2c/components/Chip/Chip.update-test.component-test.tsx/plasma-b2c Chip -- [PLASMA-T974] Chip with Icon.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop disabled, readOnly.snap.png b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop disabled, readOnly.snap.png index bfc235299b..fbe1db24ed 100644 Binary files a/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop disabled, readOnly.snap.png and b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop disabled, readOnly.snap.png differ diff --git a/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop input date from calendar.snap.png b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop input date from calendar.snap.png index 9ed699c756..97b1b601cb 100644 Binary files a/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop input date from calendar.snap.png and b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop input date from calendar.snap.png differ diff --git a/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop label, leftHelper, placeholder.snap.png b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop label, leftHelper, placeholder.snap.png index 623a4366fe..dac98536c8 100644 Binary files a/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop label, leftHelper, placeholder.snap.png and b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop label, leftHelper, placeholder.snap.png differ diff --git a/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop required.snap.png b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop required.snap.png new file mode 100644 index 0000000000..b05fa1aef3 Binary files /dev/null and b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePicker -- prop required.snap.png differ diff --git a/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePickerRange -- prop disabled, readOnly.snap.png b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePickerRange -- prop disabled, readOnly.snap.png index 1abfd567f3..70902fc193 100644 Binary files a/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePickerRange -- prop disabled, readOnly.snap.png and b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePickerRange -- prop disabled, readOnly.snap.png differ diff --git a/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePickerRange -- prop label, leftHelper, placeholder.snap.png b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePickerRange -- prop label, leftHelper, placeholder.snap.png index 0bb836a4b6..3329b389c3 100644 Binary files a/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePickerRange -- prop label, leftHelper, placeholder.snap.png and b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePickerRange -- prop label, leftHelper, placeholder.snap.png differ diff --git a/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePickerRange -- prop required.snap.png b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePickerRange -- prop required.snap.png new file mode 100644 index 0000000000..3fa3beaa13 Binary files /dev/null and b/cypress/snapshots/b2c/components/DatePicker/DatePicker.component-test.tsx/plasma-b2c DatePickerRange -- prop required.snap.png differ diff --git a/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePicker -- [PLASMA-T1098] DatePicker disabled.snap.png b/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePicker -- [PLASMA-T1098] DatePicker disabled.snap.png index 8c69e3dd45..a9e961884c 100644 Binary files a/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePicker -- [PLASMA-T1098] DatePicker disabled.snap.png and b/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePicker -- [PLASMA-T1098] DatePicker disabled.snap.png differ diff --git a/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePicker -- [PLASMA-T1099] DatePicker readOnly.snap.png b/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePicker -- [PLASMA-T1099] DatePicker readOnly.snap.png index 7fd4220877..6f62950a3f 100644 Binary files a/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePicker -- [PLASMA-T1099] DatePicker readOnly.snap.png and b/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePicker -- [PLASMA-T1099] DatePicker readOnly.snap.png differ diff --git a/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePicker -- [PLASMA-T1114] DatePicker label, leftHelper, placeholder.snap.png b/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePicker -- [PLASMA-T1114] DatePicker label, leftHelper, placeholder.snap.png index b709de8304..1f82106f17 100644 Binary files a/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePicker -- [PLASMA-T1114] DatePicker label, leftHelper, placeholder.snap.png and b/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePicker -- [PLASMA-T1114] DatePicker label, leftHelper, placeholder.snap.png differ diff --git a/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePickerRange -- prop disabled, readOnly.snap.png b/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePickerRange -- prop disabled, readOnly.snap.png index 1abfd567f3..70902fc193 100644 Binary files a/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePickerRange -- prop disabled, readOnly.snap.png and b/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePickerRange -- prop disabled, readOnly.snap.png differ diff --git a/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePickerRange -- prop label, leftHelper, placeholder.snap.png b/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePickerRange -- prop label, leftHelper, placeholder.snap.png index 0bb836a4b6..3329b389c3 100644 Binary files a/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePickerRange -- prop label, leftHelper, placeholder.snap.png and b/cypress/snapshots/b2c/components/DatePicker/DatePicker.update-test.component-test.tsx/plasma-b2c DatePickerRange -- prop label, leftHelper, placeholder.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1396] IconButton size=l, view=default.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1396] IconButton size=l, view=default.snap.png new file mode 100644 index 0000000000..480c243ef4 Binary files /dev/null and b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1396] IconButton size=l, view=default.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1397] IconButton size=m, view=accent.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1397] IconButton size=m, view=accent.snap.png new file mode 100644 index 0000000000..ea6cca5a21 Binary files /dev/null and b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1397] IconButton size=m, view=accent.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T927] IconButton view=secondary, size=s.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1398] IconButton size=s, view=warning.snap.png similarity index 55% rename from cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T927] IconButton view=secondary, size=s.snap.png rename to cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1398] IconButton size=s, view=warning.snap.png index d6cbbd6180..cb186bd295 100644 Binary files a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T927] IconButton view=secondary, size=s.snap.png and b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1398] IconButton size=s, view=warning.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T933] IconButton pin=clear-clear.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1399] IconButton size=xs, view=dark.snap.png similarity index 65% rename from cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T933] IconButton pin=clear-clear.snap.png rename to cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1399] IconButton size=xs, view=dark.snap.png index 69ac150e32..06b8b4962b 100644 Binary files a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T933] IconButton pin=clear-clear.snap.png and b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1399] IconButton size=xs, view=dark.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1400] IconButton size=l, view=default, isLoading.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1400] IconButton size=l, view=default, isLoading.snap.png new file mode 100644 index 0000000000..88df2fb5f1 Binary files /dev/null and b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1400] IconButton size=l, view=default, isLoading.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1401] IconButton size=l, view=default, disabled.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1401] IconButton size=l, view=default, disabled.snap.png new file mode 100644 index 0000000000..75f98d4be0 Binary files /dev/null and b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1401] IconButton size=l, view=default, disabled.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1525] IconButton size=l, view=success, pin=square-square.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1525] IconButton size=l, view=success, pin=square-square.snap.png new file mode 100644 index 0000000000..1d64fbafb7 Binary files /dev/null and b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1525] IconButton size=l, view=success, pin=square-square.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T931] IconButton view=critical, pin=square-clear.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1526] IconButton size=m, view=critical, pin=square-clear.snap.png similarity index 100% rename from cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T931] IconButton view=critical, pin=square-clear.snap.png rename to cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1526] IconButton size=m, view=critical, pin=square-clear.snap.png diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1527] IconButton size=s, view=default, pin=clear-square.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1527] IconButton size=s, view=default, pin=clear-square.snap.png new file mode 100644 index 0000000000..77db108a41 Binary files /dev/null and b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1527] IconButton size=s, view=default, pin=clear-square.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T932] IconButton view=clear, pin=clear-square.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1528] IconButton size=l, view=default, pin=clear-clear.snap.png similarity index 58% rename from cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T932] IconButton view=clear, pin=clear-square.snap.png rename to cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1528] IconButton size=l, view=default, pin=clear-clear.snap.png index d1abbda71f..3f4b7b1423 100644 Binary files a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T932] IconButton view=clear, pin=clear-square.snap.png and b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1528] IconButton size=l, view=default, pin=clear-clear.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1529] IconButton size=l, view=default, pin=clear-circle, focused.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1529] IconButton size=l, view=default, pin=clear-circle, focused.snap.png new file mode 100644 index 0000000000..bdd48a361a Binary files /dev/null and b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1529] IconButton size=l, view=default, pin=clear-circle, focused.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1530] IconButton size=l, view=default, pin=circle-clear.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1530] IconButton size=l, view=default, pin=circle-clear.snap.png new file mode 100644 index 0000000000..fa433ca038 Binary files /dev/null and b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1530] IconButton size=l, view=default, pin=circle-clear.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1531] IconButton size=l, view=default, pin=circle-circle.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1531] IconButton size=l, view=default, pin=circle-circle.snap.png new file mode 100644 index 0000000000..41b085a9d6 Binary files /dev/null and b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T1531] IconButton size=l, view=default, pin=circle-circle.snap.png differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T925] IconButton view=default, size=m.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T925] IconButton view=default, size=m.snap.png deleted file mode 100644 index 1c5d1207c0..0000000000 Binary files a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T925] IconButton view=default, size=m.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T926] IconButton view=accent, size=l.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T926] IconButton view=accent, size=l.snap.png deleted file mode 100644 index 6444232039..0000000000 Binary files a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T926] IconButton view=accent, size=l.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T928] IconButton view=success, size=xs.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T928] IconButton view=success, size=xs.snap.png deleted file mode 100644 index 0d03e59c3b..0000000000 Binary files a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T928] IconButton view=success, size=xs.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T929] IconButton view=warning, isLoading.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T929] IconButton view=warning, isLoading.snap.png deleted file mode 100644 index b63ee93c97..0000000000 Binary files a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T929] IconButton view=warning, isLoading.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T930] IconButton disabled.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T930] IconButton disabled.snap.png deleted file mode 100644 index f339633fd2..0000000000 Binary files a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T930] IconButton disabled.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T934] IconButton pin=clear-circle.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T934] IconButton pin=clear-circle.snap.png deleted file mode 100644 index cdfedca499..0000000000 Binary files a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T934] IconButton pin=clear-circle.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T935] IconButton pin=circle-clear.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T935] IconButton pin=circle-clear.snap.png deleted file mode 100644 index 74fd6c07fa..0000000000 Binary files a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T935] IconButton pin=circle-clear.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T936] IconButton pin=circle-circle.snap.png b/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T936] IconButton pin=circle-circle.snap.png deleted file mode 100644 index 23e0fae29b..0000000000 Binary files a/cypress/snapshots/b2c/components/IconButton/IconButton.update-test.component-test.tsx/plasma-b2c IconButton -- [PLASMA-T936] IconButton pin=circle-circle.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1124] Price currency=inr, minimumFractionDigits=0.snap.png b/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1124] Price currency=inr, minimumFractionDigits=0.snap.png deleted file mode 100644 index c503a01c2f..0000000000 Binary files a/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1124] Price currency=inr, minimumFractionDigits=0.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1138] Price locale=en, minimumFractionDigits=1.snap.png b/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1138] Price locale=en, minimumFractionDigits=1.snap.png deleted file mode 100644 index d748ef9584..0000000000 Binary files a/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1138] Price locale=en, minimumFractionDigits=1.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T716] Price currency=rub.snap.png b/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1375] Price currency=rub, locale=ru, minimumFractionDigits=0.snap.png similarity index 100% rename from cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T716] Price currency=rub.snap.png rename to cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1375] Price currency=rub, locale=ru, minimumFractionDigits=0.snap.png diff --git a/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T717] Price currency=usd, stroked.snap.png b/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1376] Price currency=usd, stroked, minimumFractionDigits=2.snap.png similarity index 100% rename from cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T717] Price currency=usd, stroked.snap.png rename to cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1376] Price currency=usd, stroked, minimumFractionDigits=2.snap.png diff --git a/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1377] Price currency=eur, locale=en, minimumFractionDigits=3.snap.png b/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1377] Price currency=eur, locale=en, minimumFractionDigits=3.snap.png new file mode 100644 index 0000000000..76b210429e Binary files /dev/null and b/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1377] Price currency=eur, locale=en, minimumFractionDigits=3.snap.png differ diff --git a/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1378] Price currency=inr, minimumFractionDigits=5.snap.png b/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1378] Price currency=inr, minimumFractionDigits=5.snap.png new file mode 100644 index 0000000000..9099157166 Binary files /dev/null and b/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T1378] Price currency=inr, minimumFractionDigits=5.snap.png differ diff --git a/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T718] Price currency=eur, minimumFractionDigits=5.snap.png b/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T718] Price currency=eur, minimumFractionDigits=5.snap.png deleted file mode 100644 index a5baec60e1..0000000000 Binary files a/cypress/snapshots/b2c/components/Price/Price.update-test.component-test.tsx/plasma-b2c Price -- [PLASMA-T718] Price currency=eur, minimumFractionDigits=5.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Range/Range.component-test.tsx/plasma-b2c Range -- _required.snap.png b/cypress/snapshots/b2c/components/Range/Range.component-test.tsx/plasma-b2c Range -- _required.snap.png new file mode 100644 index 0000000000..6b0e1de23a Binary files /dev/null and b/cypress/snapshots/b2c/components/Range/Range.component-test.tsx/plasma-b2c Range -- _required.snap.png differ diff --git a/cypress/snapshots/b2c/components/Range/Range.component-test.tsx/plasma-b2c Range -- _size.snap.png b/cypress/snapshots/b2c/components/Range/Range.component-test.tsx/plasma-b2c Range -- _size.snap.png index e5d2368b14..ad5a853257 100644 Binary files a/cypress/snapshots/b2c/components/Range/Range.component-test.tsx/plasma-b2c Range -- _size.snap.png and b/cypress/snapshots/b2c/components/Range/Range.component-test.tsx/plasma-b2c Range -- _size.snap.png differ diff --git a/cypress/snapshots/b2c/components/Range/Range.update-test.component-test.tsx/plasma-b2c Range -- [PLASMA-T989] Range dividerVariant=none, size=xs.snap.png b/cypress/snapshots/b2c/components/Range/Range.update-test.component-test.tsx/plasma-b2c Range -- [PLASMA-T989] Range dividerVariant=none, size=xs.snap.png index 16237f822a..af5802f56f 100644 Binary files a/cypress/snapshots/b2c/components/Range/Range.update-test.component-test.tsx/plasma-b2c Range -- [PLASMA-T989] Range dividerVariant=none, size=xs.snap.png and b/cypress/snapshots/b2c/components/Range/Range.update-test.component-test.tsx/plasma-b2c Range -- [PLASMA-T989] Range dividerVariant=none, size=xs.snap.png differ diff --git a/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- custom icons.snap.png b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- custom icons.snap.png new file mode 100644 index 0000000000..f9bb7a0324 Binary files /dev/null and b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- custom icons.snap.png differ diff --git a/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- iconQuantity.snap.png b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- iconQuantity.snap.png new file mode 100644 index 0000000000..e25d7f4139 Binary files /dev/null and b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- iconQuantity.snap.png differ diff --git a/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- precision.snap.png b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- precision.snap.png new file mode 100644 index 0000000000..0027445fd2 Binary files /dev/null and b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- precision.snap.png differ diff --git a/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- size.snap.png b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- size.snap.png new file mode 100644 index 0000000000..32bb4701f2 Binary files /dev/null and b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- size.snap.png differ diff --git a/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- valuePlacement.snap.png b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- valuePlacement.snap.png new file mode 100644 index 0000000000..d7844d2344 Binary files /dev/null and b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- valuePlacement.snap.png differ diff --git a/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- view.snap.png b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- view.snap.png new file mode 100644 index 0000000000..100541808e Binary files /dev/null and b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- view.snap.png differ diff --git a/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- without icons.snap.png b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- without icons.snap.png new file mode 100644 index 0000000000..cf388a078a Binary files /dev/null and b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- without icons.snap.png differ diff --git a/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- without value.snap.png b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- without value.snap.png new file mode 100644 index 0000000000..ab22656f01 Binary files /dev/null and b/cypress/snapshots/b2c/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- without value.snap.png differ diff --git a/cypress/snapshots/b2c/components/Select/Select.component-test.tsx/plasma-b2c Select -- prop afterList.snap.png b/cypress/snapshots/b2c/components/Select/Select.component-test.tsx/plasma-b2c Select -- prop afterList.snap.png new file mode 100644 index 0000000000..acab30eb58 Binary files /dev/null and b/cypress/snapshots/b2c/components/Select/Select.component-test.tsx/plasma-b2c Select -- prop afterList.snap.png differ diff --git a/cypress/snapshots/b2c/components/Select/Select.component-test.tsx/plasma-b2c Select -- prop beforeList.snap.png b/cypress/snapshots/b2c/components/Select/Select.component-test.tsx/plasma-b2c Select -- prop beforeList.snap.png new file mode 100644 index 0000000000..da416fda58 Binary files /dev/null and b/cypress/snapshots/b2c/components/Select/Select.component-test.tsx/plasma-b2c Select -- prop beforeList.snap.png differ diff --git a/cypress/snapshots/b2c/components/Select/Select.component-test.tsx/plasma-b2c Select -- prop renderValue.snap.png b/cypress/snapshots/b2c/components/Select/Select.component-test.tsx/plasma-b2c Select -- prop renderValue.snap.png new file mode 100644 index 0000000000..2a3a58bf1d Binary files /dev/null and b/cypress/snapshots/b2c/components/Select/Select.component-test.tsx/plasma-b2c Select -- prop renderValue.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/before-hover.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/before-hover.snap.png new file mode 100644 index 0000000000..a99ee565c8 Binary files /dev/null and b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/before-hover.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _disabled.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _disabled.snap.png index 9924742c33..84f03d2df3 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _disabled.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _disabled.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _placement.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _placement.snap.png index a07181001c..bdc678e77a 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _placement.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _placement.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _size.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _size.snap.png index 99c158cfca..72d95e3679 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _size.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _size.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical simple.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical simple.snap.png index f3da4b8dff..ffa59a3527 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical simple.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical simple.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, l.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, l.snap.png index 35fc14ea15..5a50f5377a 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, l.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, l.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, m.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, m.snap.png index 94cf74bbb8..4c9c079b47 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, m.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, m.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, s.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, s.snap.png index 553da0fa91..d602d9052e 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, s.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, s.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _view.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _view.snap.png index 3c84dbd821..41976eb602 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _view.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _view.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- focus.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- focus.snap.png index 4ba0b841a3..2b8c8a160f 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- focus.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- focus.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- pointerVisibility.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- pointerVisibility.snap.png new file mode 100644 index 0000000000..78c79f17a3 Binary files /dev/null and b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- pointerVisibility.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- simple.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- simple.snap.png index 33e583b44c..29acae6cd9 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- simple.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.component-test.tsx/plasma-web Slider -- simple.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T697] Slider view=default, size=m, labelPlacement=outer.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T697] Slider view=default, size=m, labelPlacement=outer.snap.png index 3175d65567..006994bf64 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T697] Slider view=default, size=m, labelPlacement=outer.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T697] Slider view=default, size=m, labelPlacement=outer.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T937] Slider disabled.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T937] Slider disabled.snap.png index aa15f06527..cd329fa8bb 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T937] Slider disabled.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T937] Slider disabled.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T938] Slider view=accent, size=l, rangeValuesPlacement=outer.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T938] Slider view=accent, size=l, rangeValuesPlacement=outer.snap.png index 5069b4ba45..e776a5e9b6 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T938] Slider view=accent, size=l, rangeValuesPlacement=outer.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T938] Slider view=accent, size=l, rangeValuesPlacement=outer.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T939] Slider view=gradient, size=s.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T939] Slider view=gradient, size=s.snap.png index 5069b4ba45..e776a5e9b6 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T939] Slider view=gradient, size=s.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T939] Slider view=gradient, size=s.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T940] Slider min=10, labelPlacement=inner.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T940] Slider min=10, labelPlacement=inner.snap.png index df79fa1f09..890f59c284 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T940] Slider min=10, labelPlacement=inner.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T940] Slider min=10, labelPlacement=inner.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T941] Slider max=123, rangeValuesPlacement=inner.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T941] Slider max=123, rangeValuesPlacement=inner.snap.png index 8d9d6e1fde..bfd652ccb7 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T941] Slider max=123, rangeValuesPlacement=inner.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T941] Slider max=123, rangeValuesPlacement=inner.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T942] Slider showCurrentValue.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T942] Slider showCurrentValue.snap.png index 12b5cb0cf2..08274e4354 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T942] Slider showCurrentValue.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T942] Slider showCurrentValue.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T943] Slider disableShowRangeValues.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T943] Slider disableShowRangeValues.snap.png index 079cdf8605..9c585b89d3 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T943] Slider disableShowRangeValues.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T943] Slider disableShowRangeValues.snap.png differ diff --git a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T947] Slider focused.snap.png b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T947] Slider focused.snap.png index 4ba0b841a3..2b8c8a160f 100644 Binary files a/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T947] Slider focused.snap.png and b/cypress/snapshots/b2c/components/Slider/Slider.update-test.component-test.tsx/plasma-b2c Slider -- [PLASMA-T947] Slider focused.snap.png differ diff --git a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1655] Tabs size=l, with divider, orientation=horizontal.snap.png b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1655] Tabs size=l, with divider, orientation=horizontal.snap.png new file mode 100644 index 0000000000..b5c33f163e Binary files /dev/null and b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1655] Tabs size=l, with divider, orientation=horizontal.snap.png differ diff --git a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1656] Tabs size=m, without divider, stretch, contentLeft, contentRight as counter.snap.png b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1656] Tabs size=m, without divider, stretch, contentLeft, contentRight as counter.snap.png new file mode 100644 index 0000000000..ba7bf445cb Binary files /dev/null and b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1656] Tabs size=m, without divider, stretch, contentLeft, contentRight as counter.snap.png differ diff --git a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1657] Tabs size=s, clip=scroll, contentRight as icon.snap.png b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1657] Tabs size=s, clip=scroll, contentRight as icon.snap.png new file mode 100644 index 0000000000..8e832f8eb1 Binary files /dev/null and b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1657] Tabs size=s, clip=scroll, contentRight as icon.snap.png differ diff --git a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T699] Tabs size=xs, view=divider.snap.png b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1658] Tabs size=xs.snap.png similarity index 100% rename from cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T699] Tabs size=xs, view=divider.snap.png rename to cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1658] Tabs size=xs.snap.png diff --git a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1659] Tabs vertical.snap.png b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1659] Tabs vertical.snap.png new file mode 100644 index 0000000000..dc062dee8b Binary files /dev/null and b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T1659] Tabs vertical.snap.png differ diff --git a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T799] Tabs disabled.snap.png b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T799] Tabs disabled.snap.png index f0a5a15a9c..621accd2e2 100644 Binary files a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T799] Tabs disabled.snap.png and b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T799] Tabs disabled.snap.png differ diff --git a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T800] Tabs size=s, enableContentLeft, enableContentRight.snap.png b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T800] Tabs size=s, enableContentLeft, enableContentRight.snap.png deleted file mode 100644 index b5c4aed3bd..0000000000 Binary files a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T800] Tabs size=s, enableContentLeft, enableContentRight.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T801] Tabs size=m, stretch.snap.png b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T801] Tabs size=m, stretch.snap.png deleted file mode 100644 index e6a92e7218..0000000000 Binary files a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T801] Tabs size=m, stretch.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T802] Tabs size=l, without divider.snap.png b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T802] Tabs size=l, without divider.snap.png deleted file mode 100644 index 4f9c2d6861..0000000000 Binary files a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T802] Tabs size=l, without divider.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T818] Tabs clip=scroll.snap.png b/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T818] Tabs clip=scroll.snap.png deleted file mode 100644 index 8fc902e5c4..0000000000 Binary files a/cypress/snapshots/b2c/components/Tabs/Tabs.update-test.component-test.tsx/plasma-b2c Tabs -- [PLASMA-T818] Tabs clip=scroll.snap.png and /dev/null differ diff --git a/cypress/snapshots/b2c/components/TextArea/TextArea.update-test.component-test.tsx/plasma-b2c TextArea -- [PLASMA-T768] TextArea autoResize.snap.png b/cypress/snapshots/b2c/components/TextArea/TextArea.update-test.component-test.tsx/plasma-b2c TextArea -- [PLASMA-T768] TextArea autoResize.snap.png index 59ed203049..55e21b0763 100644 Binary files a/cypress/snapshots/b2c/components/TextArea/TextArea.update-test.component-test.tsx/plasma-b2c TextArea -- [PLASMA-T768] TextArea autoResize.snap.png and b/cypress/snapshots/b2c/components/TextArea/TextArea.update-test.component-test.tsx/plasma-b2c TextArea -- [PLASMA-T768] TextArea autoResize.snap.png differ diff --git a/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop disabled, readOnly.snap.png b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop disabled, readOnly.snap.png index 23827f485a..19371983f9 100644 Binary files a/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop disabled, readOnly.snap.png and b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop disabled, readOnly.snap.png differ diff --git a/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop input date from calendar.snap.png b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop input date from calendar.snap.png index b7ebe7d9d0..e388e793c8 100644 Binary files a/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop input date from calendar.snap.png and b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop input date from calendar.snap.png differ diff --git a/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop label, leftHelper, placeholder.snap.png b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop label, leftHelper, placeholder.snap.png index 7fcbe6c99f..0c8f1ed484 100644 Binary files a/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop label, leftHelper, placeholder.snap.png and b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop label, leftHelper, placeholder.snap.png differ diff --git a/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop required.snap.png b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop required.snap.png new file mode 100644 index 0000000000..c324dfab3b Binary files /dev/null and b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePicker -- prop required.snap.png differ diff --git a/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePickerRange -- prop disabled, readOnly.snap.png b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePickerRange -- prop disabled, readOnly.snap.png index 6001b92efb..244d6739f9 100644 Binary files a/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePickerRange -- prop disabled, readOnly.snap.png and b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePickerRange -- prop disabled, readOnly.snap.png differ diff --git a/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePickerRange -- prop label, leftHelper, placeholder.snap.png b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePickerRange -- prop label, leftHelper, placeholder.snap.png index dd8f1bd1ba..c4bad2aad6 100644 Binary files a/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePickerRange -- prop label, leftHelper, placeholder.snap.png and b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePickerRange -- prop label, leftHelper, placeholder.snap.png differ diff --git a/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePickerRange -- prop required.snap.png b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePickerRange -- prop required.snap.png new file mode 100644 index 0000000000..10e5d16a37 Binary files /dev/null and b/cypress/snapshots/web/components/DatePicker/DatePicker.component-test.tsx/plasma-web DatePickerRange -- prop required.snap.png differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- _disabled & _readOnly.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- _disabled & _readOnly.snap.png deleted file mode 100644 index 0be0deaaf7..0000000000 Binary files a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- _disabled & _readOnly.snap.png and /dev/null differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- _error & _success.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- _error & _success.snap.png deleted file mode 100644 index 85aeaf3fec..0000000000 Binary files a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- _error & _success.snap.png and /dev/null differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- _size.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- _size.snap.png deleted file mode 100644 index 9d956bee82..0000000000 Binary files a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- _size.snap.png and /dev/null differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- simple divider as icon.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- simple divider as icon.snap.png deleted file mode 100644 index e3b8514cf7..0000000000 Binary files a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- simple divider as icon.snap.png and /dev/null differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- simple filled value.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- simple filled value.snap.png deleted file mode 100644 index 077db73dfa..0000000000 Binary files a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- simple filled value.snap.png and /dev/null differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- simple.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- simple.snap.png deleted file mode 100644 index b2d3e85ced..0000000000 Binary files a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-b2c Range -- simple.snap.png and /dev/null differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- _disabled & _readOnly.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- _disabled & _readOnly.snap.png new file mode 100644 index 0000000000..91429118d0 Binary files /dev/null and b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- _disabled & _readOnly.snap.png differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- _error & _success.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- _error & _success.snap.png new file mode 100644 index 0000000000..1f8c372b0a Binary files /dev/null and b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- _error & _success.snap.png differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- _required.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- _required.snap.png new file mode 100644 index 0000000000..a304104a97 Binary files /dev/null and b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- _required.snap.png differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- _size.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- _size.snap.png new file mode 100644 index 0000000000..1922854161 Binary files /dev/null and b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- _size.snap.png differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- simple divider as icon.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- simple divider as icon.snap.png new file mode 100644 index 0000000000..7b0b051a6e Binary files /dev/null and b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- simple divider as icon.snap.png differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- simple filled value.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- simple filled value.snap.png new file mode 100644 index 0000000000..183668a23e Binary files /dev/null and b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- simple filled value.snap.png differ diff --git a/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- simple.snap.png b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- simple.snap.png new file mode 100644 index 0000000000..53fb20b7dd Binary files /dev/null and b/cypress/snapshots/web/components/Range/Range.component-test.tsx/plasma-web Range -- simple.snap.png differ diff --git a/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- custom icons.snap.png b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- custom icons.snap.png new file mode 100644 index 0000000000..54ee01c1b3 Binary files /dev/null and b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- custom icons.snap.png differ diff --git a/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- iconQuantity.snap.png b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- iconQuantity.snap.png new file mode 100644 index 0000000000..eb12e63ce3 Binary files /dev/null and b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- iconQuantity.snap.png differ diff --git a/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- precision.snap.png b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- precision.snap.png new file mode 100644 index 0000000000..0161844957 Binary files /dev/null and b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- precision.snap.png differ diff --git a/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- size.snap.png b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- size.snap.png new file mode 100644 index 0000000000..22e5caa408 Binary files /dev/null and b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- size.snap.png differ diff --git a/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- valuePlacement.snap.png b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- valuePlacement.snap.png new file mode 100644 index 0000000000..fa658ea554 Binary files /dev/null and b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- valuePlacement.snap.png differ diff --git a/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- view.snap.png b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- view.snap.png new file mode 100644 index 0000000000..a4d1fe14d4 Binary files /dev/null and b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- view.snap.png differ diff --git a/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- without icons.snap.png b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- without icons.snap.png new file mode 100644 index 0000000000..80b8b1bb61 Binary files /dev/null and b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- without icons.snap.png differ diff --git a/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- without value.snap.png b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- without value.snap.png new file mode 100644 index 0000000000..006165e77a Binary files /dev/null and b/cypress/snapshots/web/components/Rating/Rating.component-test.tsx/plasma-b2c Rating -- without value.snap.png differ diff --git a/cypress/snapshots/web/components/Select/Select.component-test.tsx/plasma-web Select -- prop afterList.snap.png b/cypress/snapshots/web/components/Select/Select.component-test.tsx/plasma-web Select -- prop afterList.snap.png new file mode 100644 index 0000000000..cc67df3cda Binary files /dev/null and b/cypress/snapshots/web/components/Select/Select.component-test.tsx/plasma-web Select -- prop afterList.snap.png differ diff --git a/cypress/snapshots/web/components/Select/Select.component-test.tsx/plasma-web Select -- prop beforeList.snap.png b/cypress/snapshots/web/components/Select/Select.component-test.tsx/plasma-web Select -- prop beforeList.snap.png new file mode 100644 index 0000000000..a5e2230e08 Binary files /dev/null and b/cypress/snapshots/web/components/Select/Select.component-test.tsx/plasma-web Select -- prop beforeList.snap.png differ diff --git a/cypress/snapshots/web/components/Select/Select.component-test.tsx/plasma-web Select -- prop renderValue.snap.png b/cypress/snapshots/web/components/Select/Select.component-test.tsx/plasma-web Select -- prop renderValue.snap.png new file mode 100644 index 0000000000..f109cd042a Binary files /dev/null and b/cypress/snapshots/web/components/Select/Select.component-test.tsx/plasma-web Select -- prop renderValue.snap.png differ diff --git a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/before-hover.snap.png b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/before-hover.snap.png new file mode 100644 index 0000000000..f653dd0231 Binary files /dev/null and b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/before-hover.snap.png differ diff --git a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _disabled.snap.png b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _disabled.snap.png index 799ef36b17..f36a64387c 100644 Binary files a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _disabled.snap.png and b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _disabled.snap.png differ diff --git a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _placement.snap.png b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _placement.snap.png index e19af9d5dc..5c935910bc 100644 Binary files a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _placement.snap.png and b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _placement.snap.png differ diff --git a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _size.snap.png b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _size.snap.png index bafd228120..a15de6c285 100644 Binary files a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _size.snap.png and b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _size.snap.png differ diff --git a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical simple.snap.png b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical simple.snap.png index 9cbe9f3083..9fde60de46 100644 Binary files a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical simple.snap.png and b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical simple.snap.png differ diff --git a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, l.snap.png b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, l.snap.png index b856530a81..dde770ac1f 100644 Binary files a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, l.snap.png and b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, l.snap.png differ diff --git a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, m.snap.png b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, m.snap.png index 9ce6988314..d4cd263daf 100644 Binary files a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, m.snap.png and b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, m.snap.png differ diff --git a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, s.snap.png b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, s.snap.png index 83b2362abf..13eba8f491 100644 Binary files a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, s.snap.png and b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _vertical sliderAlign, s.snap.png differ diff --git a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _view.snap.png b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _view.snap.png index b193e783f0..afa2ff16a9 100644 Binary files a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _view.snap.png and b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- _view.snap.png differ diff --git a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- focus.snap.png b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- focus.snap.png index dd881bb5c8..a0f17791bf 100644 Binary files a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- focus.snap.png and b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- focus.snap.png differ diff --git a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- pointerVisibility.snap.png b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- pointerVisibility.snap.png new file mode 100644 index 0000000000..befeef6834 Binary files /dev/null and b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- pointerVisibility.snap.png differ diff --git a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- simple.snap.png b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- simple.snap.png index 3132013928..eb72489b32 100644 Binary files a/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- simple.snap.png and b/cypress/snapshots/web/components/Slider/Slider.component-test.tsx/plasma-web Slider -- simple.snap.png differ diff --git a/packages/plasma-asdk/.storybook/preview.tsx b/packages/plasma-asdk/.storybook/preview.tsx index 43265b4d1a..371401307b 100644 --- a/packages/plasma-asdk/.storybook/preview.tsx +++ b/packages/plasma-asdk/.storybook/preview.tsx @@ -38,7 +38,7 @@ const preview: Preview = { options: { storySort: { method: 'alphabetical', - order: ['About', 'Intro', 'Colors', 'Typography', 'Controls', 'Hooks'], + order: ['About', 'Layout', '*', 'Hooks'], }, }, viewport: { diff --git a/packages/plasma-asdk/package-lock.json b/packages/plasma-asdk/package-lock.json index f87eff5141..0f3277f69d 100644 --- a/packages/plasma-asdk/package-lock.json +++ b/packages/plasma-asdk/package-lock.json @@ -1,16 +1,16 @@ { "name": "@salutejs/plasma-asdk", - "version": "0.216.0", + "version": "0.230.1-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@salutejs/plasma-asdk", - "version": "0.216.0", + "version": "0.230.1-dev.0", "license": "MIT", "dependencies": { - "@salutejs/plasma-new-hope": "0.205.0", - "@salutejs/plasma-tokens": "1.105.0", + "@salutejs/plasma-new-hope": "0.219.1-dev.0", + "@salutejs/plasma-tokens": "1.106.0-dev.0", "@salutejs/plasma-tokens-b2b": "1.43.0", "@salutejs/plasma-typo": "0.40.0" }, @@ -24,10 +24,10 @@ "@babel/preset-typescript": "7.24.1", "@microsoft/api-extractor": "7.38.3", "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-core": "1.188.0-dev.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", "@storybook/addons": "7.6.17", @@ -4367,9 +4367,9 @@ "dev": true }, "node_modules/@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "dependencies": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -4394,9 +4394,9 @@ } }, "node_modules/@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true, "peerDependencies": { "react": ">=16.13.1", @@ -4416,9 +4416,9 @@ } }, "node_modules/@salutejs/plasma-new-hope": { - "version": "0.205.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.205.0.tgz", - "integrity": "sha512-ofUcrUdy9DQ7WVbfEgVkGKpyMX7yDdLPdYH3KBOq91kH7PTMnn4qn1fIN+rkAb3OgJQv8uy0XCUccgaap/NlKw==", + "version": "0.219.1-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.219.1-dev.0.tgz", + "integrity": "sha512-mvDRqa0OcBfTsAr2/rk4AsPFW7GGQwUCGdK9w+amKNwNN5BfcU6y7PE8OzzeVEYHLdNHbPe6FwtNswGjb7l2zQ==", "dependencies": { "@floating-ui/dom": "1.6.10", "@floating-ui/react": "0.26.22", @@ -4427,7 +4427,7 @@ "@linaria/react": "5.0.3", "@popperjs/core": "2.11.8", "@salutejs/input-core": "2.1.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/react-maskinput": "3.2.6", "classnames": "2.5.1", "dayjs": "1.11.11", @@ -4443,13 +4443,13 @@ } }, "node_modules/@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "dependencies": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" }, "peerDependencies": { @@ -4459,9 +4459,9 @@ } }, "node_modules/@salutejs/plasma-tokens": { - "version": "1.105.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-tokens/-/plasma-tokens-1.105.0.tgz", - "integrity": "sha512-RD+drtwxrZdiApKW4afh6UeSGtPKlZ2cUywemgVjnfgZoB+bcNgZM3bp6tB2g8ftei6VCdY0dl0VZpflcIY07w==", + "version": "1.106.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-tokens/-/plasma-tokens-1.106.0-dev.0.tgz", + "integrity": "sha512-g/2uqf5yalP1j+8d8ycAcdHTTsfh/8strrP7cctrHw+SBoO7zr54ybibDlPWtWQlJuCPQk6YtfjOSNOJRsQOwA==", "peerDependencies": { "styled-components": "^5.1.1" } @@ -17072,9 +17072,9 @@ "dev": true }, "@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "requires": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -17092,9 +17092,9 @@ } }, "@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true }, "@salutejs/plasma-icons": { @@ -17104,9 +17104,9 @@ "dev": true }, "@salutejs/plasma-new-hope": { - "version": "0.205.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.205.0.tgz", - "integrity": "sha512-ofUcrUdy9DQ7WVbfEgVkGKpyMX7yDdLPdYH3KBOq91kH7PTMnn4qn1fIN+rkAb3OgJQv8uy0XCUccgaap/NlKw==", + "version": "0.219.1-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.219.1-dev.0.tgz", + "integrity": "sha512-mvDRqa0OcBfTsAr2/rk4AsPFW7GGQwUCGdK9w+amKNwNN5BfcU6y7PE8OzzeVEYHLdNHbPe6FwtNswGjb7l2zQ==", "requires": { "@floating-ui/dom": "1.6.10", "@floating-ui/react": "0.26.22", @@ -17115,7 +17115,7 @@ "@linaria/react": "5.0.3", "@popperjs/core": "2.11.8", "@salutejs/input-core": "2.1.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/react-maskinput": "3.2.6", "classnames": "2.5.1", "dayjs": "1.11.11", @@ -17127,20 +17127,20 @@ } }, "@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "requires": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" } }, "@salutejs/plasma-tokens": { - "version": "1.105.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-tokens/-/plasma-tokens-1.105.0.tgz", - "integrity": "sha512-RD+drtwxrZdiApKW4afh6UeSGtPKlZ2cUywemgVjnfgZoB+bcNgZM3bp6tB2g8ftei6VCdY0dl0VZpflcIY07w==" + "version": "1.106.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-tokens/-/plasma-tokens-1.106.0-dev.0.tgz", + "integrity": "sha512-g/2uqf5yalP1j+8d8ycAcdHTTsfh/8strrP7cctrHw+SBoO7zr54ybibDlPWtWQlJuCPQk6YtfjOSNOJRsQOwA==" }, "@salutejs/plasma-tokens-b2b": { "version": "1.43.0", diff --git a/packages/plasma-asdk/package.json b/packages/plasma-asdk/package.json index 6013f9503b..132ab84ac0 100644 --- a/packages/plasma-asdk/package.json +++ b/packages/plasma-asdk/package.json @@ -1,6 +1,6 @@ { "name": "@salutejs/plasma-asdk", - "version": "0.216.0", + "version": "0.230.1-dev.0", "description": "Salute Design System / React UI kit for Assistant web applications", "author": "Salute Frontend Team ", "license": "MIT", @@ -19,8 +19,8 @@ "directory": "packages/plasma-asdk" }, "dependencies": { - "@salutejs/plasma-new-hope": "0.205.0", - "@salutejs/plasma-tokens": "1.105.0", + "@salutejs/plasma-new-hope": "0.219.1-dev.0", + "@salutejs/plasma-tokens": "1.106.0-dev.0", "@salutejs/plasma-tokens-b2b": "1.43.0", "@salutejs/plasma-typo": "0.40.0" }, @@ -39,10 +39,10 @@ "@babel/preset-typescript": "7.24.1", "@microsoft/api-extractor": "7.38.3", "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-core": "1.188.0-dev.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", "@storybook/addons": "7.6.17", @@ -98,4 +98,4 @@ "Fanil Zubairov" ], "sideEffects": false -} +} \ No newline at end of file diff --git a/packages/plasma-asdk/src/components/Button/Button.stories.tsx b/packages/plasma-asdk/src/components/Button/Button.stories.tsx index c67662b7a3..2cbb9b63ca 100644 --- a/packages/plasma-asdk/src/components/Button/Button.stories.tsx +++ b/packages/plasma-asdk/src/components/Button/Button.stories.tsx @@ -29,7 +29,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'Controls/Button', + title: 'Data Entry/Button', decorators: [InSpacingDecorator], component: Button, args: { diff --git a/packages/plasma-asdk/src/components/Checkbox/Checkbox.stories.tsx b/packages/plasma-asdk/src/components/Checkbox/Checkbox.stories.tsx index 74154d1e8d..968b04fbf8 100644 --- a/packages/plasma-asdk/src/components/Checkbox/Checkbox.stories.tsx +++ b/packages/plasma-asdk/src/components/Checkbox/Checkbox.stories.tsx @@ -35,7 +35,7 @@ const onBlur = action('onBlur'); type CheckboxProps = Base; const meta: Meta = { - title: 'Controls/Checkbox', + title: 'Data Entry/Checkbox', component: Checkbox, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-asdk/src/components/Link/Link.stories.tsx b/packages/plasma-asdk/src/components/Link/Link.stories.tsx index 81d8d99365..116326e83b 100644 --- a/packages/plasma-asdk/src/components/Link/Link.stories.tsx +++ b/packages/plasma-asdk/src/components/Link/Link.stories.tsx @@ -9,7 +9,7 @@ import { Link } from '.'; const views = ['default'] as const; const meta: Meta = { - title: 'Content/Link', + title: 'Navigation/Link', decorators: [InSpacingDecorator], argTypes: { text: { diff --git a/packages/plasma-asdk/src/components/Radiobox/Radiobox.stories.tsx b/packages/plasma-asdk/src/components/Radiobox/Radiobox.stories.tsx index 6ea29ba914..92a1fadc5b 100644 --- a/packages/plasma-asdk/src/components/Radiobox/Radiobox.stories.tsx +++ b/packages/plasma-asdk/src/components/Radiobox/Radiobox.stories.tsx @@ -16,7 +16,7 @@ const onBlur = action('onBlur'); type RadioboxProps = Base; const meta: Meta = { - title: 'Controls/Radiobox', + title: 'Data Entry/Radiobox', component: Radiobox, decorators: [InSpacingDecorator], }; diff --git a/packages/plasma-asdk/src/components/Spinner/Spinner.stories.tsx b/packages/plasma-asdk/src/components/Spinner/Spinner.stories.tsx index 49ed3efb2a..c620f9546b 100644 --- a/packages/plasma-asdk/src/components/Spinner/Spinner.stories.tsx +++ b/packages/plasma-asdk/src/components/Spinner/Spinner.stories.tsx @@ -10,7 +10,7 @@ import { Spinner } from '.'; import type { SpinnerProps } from '.'; const meta: Meta = { - title: 'Content/Spinner', + title: 'Data Display/Spinner', decorators: [InSpacingDecorator], component: Spinner, argTypes: { diff --git a/packages/plasma-asdk/src/components/Switch/Switch.stories.tsx b/packages/plasma-asdk/src/components/Switch/Switch.stories.tsx index 899c111acd..565423aa19 100644 --- a/packages/plasma-asdk/src/components/Switch/Switch.stories.tsx +++ b/packages/plasma-asdk/src/components/Switch/Switch.stories.tsx @@ -12,7 +12,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'Controls/Switch', + title: 'Data Entry/Switch', component: Switch, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-asdk/src/components/Typography/Typography.stories.tsx b/packages/plasma-asdk/src/components/Typography/Typography.stories.tsx index 5a1764dff5..46b297a584 100644 --- a/packages/plasma-asdk/src/components/Typography/Typography.stories.tsx +++ b/packages/plasma-asdk/src/components/Typography/Typography.stories.tsx @@ -39,7 +39,7 @@ import { } from '.'; const meta: Meta = { - title: 'Content/Typography', + title: 'Data Display/Typography', component: DsplL, argTypes: { ...disableProps(['size']), diff --git a/packages/plasma-b2c/.storybook/main.ts b/packages/plasma-b2c/.storybook/main.ts index 6944b8d601..78e3c05c85 100644 --- a/packages/plasma-b2c/.storybook/main.ts +++ b/packages/plasma-b2c/.storybook/main.ts @@ -3,7 +3,7 @@ import type { StorybookConfig } from '@storybook/react-vite'; const config: StorybookConfig = { staticDirs: ['public'], - stories: ['../src/**/*.stories.tsx'], + stories: ['../src/**/*.stories.tsx', '../README.stories.mdx'], addons: ['@storybook/addon-essentials'], framework: { name: '@storybook/react-vite', diff --git a/packages/plasma-b2c/.storybook/preview.ts b/packages/plasma-b2c/.storybook/preview.ts index 151d88c9c1..a1a3f0b538 100644 --- a/packages/plasma-b2c/.storybook/preview.ts +++ b/packages/plasma-b2c/.storybook/preview.ts @@ -40,7 +40,7 @@ const preview: Preview = { options: { storySort: { method: 'alphabetical', - order: ['About', 'Intro', 'Colors', 'Typography', 'Controls', 'Hooks'], + order: ['About', 'Layout', '*', 'Hooks'], }, }, docs: { diff --git a/packages/plasma-b2c/README.stories.mdx b/packages/plasma-b2c/README.stories.mdx new file mode 100644 index 0000000000..5473fef9ee --- /dev/null +++ b/packages/plasma-b2c/README.stories.mdx @@ -0,0 +1,44 @@ +import { Meta } from "@storybook/addon-docs"; + + + +# Библиотека компонентов Plasma B2C + +Реализация компонентов для создания веб-приложений. + +

+ plasma-ui +

+ +## Использование + +Компоненты реализованы на [typescript](https://www.typescriptlang.org/) с помощью [react](https://reactjs.org/) и [styled-components](https://styled-components.com/); + +Использование данного пакета предполагает использование `react` & `react-dom`; +Использование `styled-components` на проект не обязательно, так же как и использование `typescript`. +Но для того чтобы компоненты работали необходимо установить - `styled-components`. + +### Установка пакета + +```bash +$ npm install --save react react-dom +$ npm install --save styled-components +$ npm install --save @salutejs/plasma-b2c @salutejs/plasma-core @salutejs/plasma-icons +``` + +### Использование компонентов + +Все компоненты доступны из папки `components` или напрямую из пакета: + +```jsx +// App.tsx +import { Button } from '@salutejs/plasma-b2c'; + +export const App = () => { + return ; +}; +``` + +## Полезные ссылки: + +[Документация](https://plasma.sberdevices.ru/b2c/) diff --git a/packages/plasma-b2c/api/plasma-b2c.api.md b/packages/plasma-b2c/api/plasma-b2c.api.md index 1a5d18f081..2f428e2c38 100644 --- a/packages/plasma-b2c/api/plasma-b2c.api.md +++ b/packages/plasma-b2c/api/plasma-b2c.api.md @@ -239,6 +239,8 @@ import { radiuses } from '@salutejs/plasma-core'; import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components'; import { RangeProps } from '@salutejs/plasma-new-hope/styled-components'; import { rangeTokens } from '@salutejs/plasma-new-hope/styled-components'; +import { ratingClasses } from '@salutejs/plasma-new-hope/styled-components'; +import { ratingTokens } from '@salutejs/plasma-new-hope/styled-components'; import { Ratio } from '@salutejs/plasma-new-hope/styled-components'; import { default as React_2 } from 'react'; import { ReactElement } from 'react'; @@ -676,7 +678,7 @@ true: PolymorphicClassName; }; }> & ((BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -704,9 +706,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -736,9 +738,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -766,9 +768,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -798,9 +800,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -828,9 +830,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -860,9 +862,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -890,9 +892,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -922,7 +924,7 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes))>; +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes))>; // @public (undocumented) export const Avatar: FunctionComponent & DatePickerVariationProps & { +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; defaultDate?: Date | undefined; placeholder?: string | undefined; name?: string | undefined; @@ -1728,6 +1732,8 @@ readOnly: { true: PolymorphicClassName; }; }> & DatePickerVariationProps & { +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; defaultFirstDate?: Date | undefined; defaultSecondDate?: Date | undefined; name?: string | undefined; @@ -1747,10 +1753,12 @@ view?: string | undefined; disabled?: boolean | undefined; autoComplete?: string | undefined; readOnly?: boolean | undefined; +required?: boolean | undefined; size?: string | undefined; contentLeft?: ReactNode; contentRight?: ReactNode; leftHelper?: string | undefined; +requiredPlacement?: "right" | "left" | undefined; dividerVariant?: "none" | "icon" | "dash" | undefined; dividerIcon?: ReactNode; firstValueError?: boolean | undefined; @@ -1890,6 +1898,7 @@ default: PolymorphicClassName; variant?: "normal" | "tight" | undefined; portal?: string | React_2.RefObject | undefined; renderItem?: ((item: DropdownItemOption) => React_2.ReactNode) | undefined; + zIndex?: Property.ZIndex | undefined; onItemClick?: ((item: DropdownItemOption, event: React_2.SyntheticEvent) => void) | undefined; listOverflow?: Property.Overflow | undefined; listHeight?: Property.Height | undefined; @@ -2356,7 +2365,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2432,7 +2441,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2510,7 +2519,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2586,7 +2595,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2664,7 +2673,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2740,7 +2749,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2818,7 +2827,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2894,7 +2903,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3283,6 +3292,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -3320,6 +3331,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -3357,6 +3370,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -3377,6 +3392,47 @@ export { RangeProps } export { rangeTokens } +// @public (undocumented) +export const Rating: FunctionComponent & { +value?: number | null | undefined; +hasValue?: boolean | undefined; +precision?: number | undefined; +valuePlacement?: "after" | "before" | undefined; +iconSlot?: ReactNode; +iconSlotOutline?: ReactNode; +iconSlotHalf?: ReactNode; +hasIcons?: boolean | undefined; +iconQuantity?: 1 | 5 | 10 | undefined; +helperText?: string | undefined; +helperTextStretching?: "fixed" | "filled" | undefined; +size?: string | undefined; +view?: string | undefined; +} & HTMLAttributes & RefAttributes>; + +export { ratingClasses } + +export { ratingTokens } + export { Ratio } export { RectSkeleton } @@ -3543,6 +3599,8 @@ view?: string | undefined; size?: "m" | "s" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "always" | "hover"; +currentValueVisibility: "always" | "hover"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((event: FormTypeNumber) => void) | undefined; name: string; @@ -3571,6 +3629,8 @@ view?: string | undefined; size?: "m" | "s" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "always" | "hover"; +currentValueVisibility: "always" | "hover"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((value: number) => void) | undefined; value: number; @@ -3600,6 +3660,8 @@ view?: string | undefined; size?: "m" | "s" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "always" | "hover"; +currentValueVisibility: "always" | "hover"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((value: number) => void) | undefined; value: number; @@ -3628,6 +3690,8 @@ view?: string | undefined; size?: "m" | "s" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "always" | "hover"; +currentValueVisibility: "always" | "hover"; } & RefAttributes) | (Omit & { onChange?: ((event: FormTypeString) => void) | undefined; name?: string | undefined; @@ -3777,7 +3841,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3820,7 +3884,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3863,7 +3927,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3906,7 +3970,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3949,7 +4013,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3992,7 +4056,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -4035,7 +4099,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -4078,7 +4142,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -4179,7 +4243,9 @@ export { TextFieldGroupProps } // Warning: (ae-forgotten-export) The symbol "HintProps_2" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export type TextFieldProps = (TextFieldProps_2 & Pick) & ClearProps_2 & HintProps_2; +export type TextFieldProps = Omit & { + helperText?: ReactNode; +} & Pick & ClearProps_2 & HintProps_2; export { TextFieldView } diff --git a/packages/plasma-b2c/package-lock.json b/packages/plasma-b2c/package-lock.json index 350c2a33c6..5e342d6189 100644 --- a/packages/plasma-b2c/package-lock.json +++ b/packages/plasma-b2c/package-lock.json @@ -1,18 +1,18 @@ { "name": "@salutejs/plasma-b2c", - "version": "1.458.0", + "version": "1.472.1-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@salutejs/plasma-b2c", - "version": "1.458.0", + "version": "1.472.1-dev.0", "license": "MIT", "dependencies": { - "@salutejs/plasma-core": "1.187.0", - "@salutejs/plasma-hope": "1.322.0", - "@salutejs/plasma-new-hope": "0.205.0", - "@salutejs/plasma-themes": "0.23.0", + "@salutejs/plasma-core": "1.188.0-dev.0", + "@salutejs/plasma-hope": "1.324.0-dev.0", + "@salutejs/plasma-new-hope": "0.219.1-dev.0", + "@salutejs/plasma-themes": "0.24.0-dev.0", "@salutejs/plasma-tokens-b2c": "0.54.0", "@salutejs/plasma-tokens-web": "1.59.0", "@salutejs/plasma-typo": "0.40.0" @@ -32,9 +32,9 @@ "@rollup/plugin-commonjs": "25.0.7", "@rollup/plugin-node-resolve": "15.2.3", "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", "@storybook/addon-knobs": "7.0.2", @@ -4995,9 +4995,9 @@ "dev": true }, "node_modules/@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "dependencies": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -5013,9 +5013,9 @@ } }, "node_modules/@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true, "peerDependencies": { "react": ">=16.13.1", @@ -5024,12 +5024,12 @@ } }, "node_modules/@salutejs/plasma-hope": { - "version": "1.322.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-hope/-/plasma-hope-1.322.0.tgz", - "integrity": "sha512-fXnZH/p5T7cgWCoMA76nPYYyCgSNFBq+Ha7VjtCa6zfDhMgHN4zHW/oIDnwckhGXqMeUqWVt4UabDgHbPWjg2g==", + "version": "1.324.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-hope/-/plasma-hope-1.324.0-dev.0.tgz", + "integrity": "sha512-uKgFAdrUPe95iM2Oq/5KhCDCF+ciFvb/axKA9z9UEox2vVkeATVc8NXgotHFOc7rik4W8o3nmfgkJVOgynDGBw==", "dependencies": { "@popperjs/core": "2.9.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/plasma-typo": "0.40.0", "react-file-drop": "3.1.6", "react-popper": "2.3.0", @@ -5055,9 +5055,9 @@ } }, "node_modules/@salutejs/plasma-new-hope": { - "version": "0.205.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.205.0.tgz", - "integrity": "sha512-ofUcrUdy9DQ7WVbfEgVkGKpyMX7yDdLPdYH3KBOq91kH7PTMnn4qn1fIN+rkAb3OgJQv8uy0XCUccgaap/NlKw==", + "version": "0.219.1-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.219.1-dev.0.tgz", + "integrity": "sha512-mvDRqa0OcBfTsAr2/rk4AsPFW7GGQwUCGdK9w+amKNwNN5BfcU6y7PE8OzzeVEYHLdNHbPe6FwtNswGjb7l2zQ==", "dependencies": { "@floating-ui/dom": "1.6.10", "@floating-ui/react": "0.26.22", @@ -5066,7 +5066,7 @@ "@linaria/react": "5.0.3", "@popperjs/core": "2.11.8", "@salutejs/input-core": "2.1.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/react-maskinput": "3.2.6", "classnames": "2.5.1", "dayjs": "1.11.11", @@ -5111,13 +5111,13 @@ } }, "node_modules/@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "dependencies": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" }, "peerDependencies": { @@ -5127,9 +5127,9 @@ } }, "node_modules/@salutejs/plasma-themes": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-themes/-/plasma-themes-0.23.0.tgz", - "integrity": "sha512-PKq93LmPauzz17vjqHxrPqUyp0kIzbdmb9SFgFcMbsUZkZyx0TzwxdGL756RdrpjC87/XXNT0K6J+/xwRiaWKA==" + "version": "0.24.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-themes/-/plasma-themes-0.24.0-dev.0.tgz", + "integrity": "sha512-U5NJHo1a+45DZHqHjGNMed2athLOzNRhEStHbfgpQPkpU4FP+MQTXZY/3XisOS/qgmAJcPhKvcAMaq4SdyeaQA==" }, "node_modules/@salutejs/plasma-tokens-b2c": { "version": "0.54.0", @@ -19948,9 +19948,9 @@ "dev": true }, "@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "requires": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -19961,18 +19961,18 @@ } }, "@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true }, "@salutejs/plasma-hope": { - "version": "1.322.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-hope/-/plasma-hope-1.322.0.tgz", - "integrity": "sha512-fXnZH/p5T7cgWCoMA76nPYYyCgSNFBq+Ha7VjtCa6zfDhMgHN4zHW/oIDnwckhGXqMeUqWVt4UabDgHbPWjg2g==", + "version": "1.324.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-hope/-/plasma-hope-1.324.0-dev.0.tgz", + "integrity": "sha512-uKgFAdrUPe95iM2Oq/5KhCDCF+ciFvb/axKA9z9UEox2vVkeATVc8NXgotHFOc7rik4W8o3nmfgkJVOgynDGBw==", "requires": { "@popperjs/core": "2.9.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/plasma-typo": "0.40.0", "react-file-drop": "3.1.6", "react-popper": "2.3.0", @@ -19987,9 +19987,9 @@ "dev": true }, "@salutejs/plasma-new-hope": { - "version": "0.205.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.205.0.tgz", - "integrity": "sha512-ofUcrUdy9DQ7WVbfEgVkGKpyMX7yDdLPdYH3KBOq91kH7PTMnn4qn1fIN+rkAb3OgJQv8uy0XCUccgaap/NlKw==", + "version": "0.219.1-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.219.1-dev.0.tgz", + "integrity": "sha512-mvDRqa0OcBfTsAr2/rk4AsPFW7GGQwUCGdK9w+amKNwNN5BfcU6y7PE8OzzeVEYHLdNHbPe6FwtNswGjb7l2zQ==", "requires": { "@floating-ui/dom": "1.6.10", "@floating-ui/react": "0.26.22", @@ -19998,7 +19998,7 @@ "@linaria/react": "5.0.3", "@popperjs/core": "2.11.8", "@salutejs/input-core": "2.1.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/react-maskinput": "3.2.6", "classnames": "2.5.1", "dayjs": "1.11.11", @@ -20022,20 +20022,20 @@ } }, "@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "requires": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" } }, "@salutejs/plasma-themes": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-themes/-/plasma-themes-0.23.0.tgz", - "integrity": "sha512-PKq93LmPauzz17vjqHxrPqUyp0kIzbdmb9SFgFcMbsUZkZyx0TzwxdGL756RdrpjC87/XXNT0K6J+/xwRiaWKA==" + "version": "0.24.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-themes/-/plasma-themes-0.24.0-dev.0.tgz", + "integrity": "sha512-U5NJHo1a+45DZHqHjGNMed2athLOzNRhEStHbfgpQPkpU4FP+MQTXZY/3XisOS/qgmAJcPhKvcAMaq4SdyeaQA==" }, "@salutejs/plasma-tokens-b2c": { "version": "0.54.0", diff --git a/packages/plasma-b2c/package.json b/packages/plasma-b2c/package.json index 3ae7f42c68..99fdbfc3d6 100644 --- a/packages/plasma-b2c/package.json +++ b/packages/plasma-b2c/package.json @@ -1,6 +1,6 @@ { "name": "@salutejs/plasma-b2c", - "version": "1.458.0", + "version": "1.472.1-dev.0", "description": "Salute Design System / React UI kit for business-related web applications", "author": "Salute Frontend Team ", "license": "MIT", @@ -42,10 +42,10 @@ "atLeast": 99.97 }, "dependencies": { - "@salutejs/plasma-core": "1.187.0", - "@salutejs/plasma-hope": "1.322.0", - "@salutejs/plasma-new-hope": "0.205.0", - "@salutejs/plasma-themes": "0.23.0", + "@salutejs/plasma-core": "1.188.0-dev.0", + "@salutejs/plasma-hope": "1.324.0-dev.0", + "@salutejs/plasma-new-hope": "0.219.1-dev.0", + "@salutejs/plasma-themes": "0.24.0-dev.0", "@salutejs/plasma-tokens-b2c": "0.54.0", "@salutejs/plasma-tokens-web": "1.59.0", "@salutejs/plasma-typo": "0.40.0" @@ -71,9 +71,9 @@ "@rollup/plugin-commonjs": "25.0.7", "@rollup/plugin-node-resolve": "15.2.3", "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", "@storybook/addon-knobs": "7.0.2", @@ -109,4 +109,4 @@ "react" ], "sideEffects": false -} +} \ No newline at end of file diff --git a/packages/plasma-b2c/src/components/Accordion/Accordion.stories.tsx b/packages/plasma-b2c/src/components/Accordion/Accordion.stories.tsx index 582c477f22..884f8ed703 100644 --- a/packages/plasma-b2c/src/components/Accordion/Accordion.stories.tsx +++ b/packages/plasma-b2c/src/components/Accordion/Accordion.stories.tsx @@ -8,7 +8,7 @@ import { IconButton } from '../IconButton/IconButton'; import { Accordion, AccordionItem } from '.'; const meta: Meta = { - title: 'Content/Accordion', + title: 'Data Display/Accordion', component: Accordion, args: { singleActive: false, diff --git a/packages/plasma-b2c/src/components/Attach/Attach.stories.tsx b/packages/plasma-b2c/src/components/Attach/Attach.stories.tsx index 59dcf4921d..a214d0ada2 100644 --- a/packages/plasma-b2c/src/components/Attach/Attach.stories.tsx +++ b/packages/plasma-b2c/src/components/Attach/Attach.stories.tsx @@ -32,7 +32,7 @@ type StoryAttachProps = ComponentProps & { }; const meta: Meta = { - title: 'Controls/Attach', + title: 'Data Entry/Attach', decorators: [InSpacingDecorator], component: Attach, argTypes: { diff --git a/packages/plasma-b2c/src/components/Attach/Attach.update-test.component-test.tsx b/packages/plasma-b2c/src/components/Attach/Attach.update-test.component-test.tsx index a6ddf09554..ef762597c2 100644 --- a/packages/plasma-b2c/src/components/Attach/Attach.update-test.component-test.tsx +++ b/packages/plasma-b2c/src/components/Attach/Attach.update-test.component-test.tsx @@ -21,10 +21,10 @@ describe('plasma-b2c: Attach', () => { ); - it('[PLASMA-T1296] Attach: flow=horizontal', () => { + it('[PLASMA-T1542] Attach: size=l, view=default, enableContentLeft, buttonText', () => { mount( - + } /> , ); @@ -34,25 +34,23 @@ describe('plasma-b2c: Attach', () => { cy.matchImageSnapshot(); }); - it('[PLASMA-T1297] Attach: remove attached file', () => { + it('[PLASMA-T1543] Attach: size=m, view=accent, enableContentRight, buttonValue', () => { mount( - + } /> , ); cy.get('input').attachFile(FIXTURE_PATH); cy.get(cellRootSelector).should('be.visible'); - cy.get('button').last().click(); - cy.get(cellRootSelector).should('not.be.visible'); cy.matchImageSnapshot(); }); - it('[PLASMA-T1298] Attach: flow=vertical', () => { + it('[PLASMA-T1544] Attach: size=s, view=secondary, enableContentLeft, enableContentRight, buttonText, buttonValue', () => { mount( - + } contentRight={} /> , ); @@ -62,36 +60,36 @@ describe('plasma-b2c: Attach', () => { cy.matchImageSnapshot(); }); - it('[PLASMA-T1299] Attach: hasAttachment=false', () => { + it('[PLASMA-T1545] Attach: size=xs, view=clear', () => { mount( - + , ); cy.get('input').attachFile(FIXTURE_PATH); - cy.get(cellRootSelector).should('not.be.exist'); + cy.get(cellRootSelector).should('be.visible'); cy.matchImageSnapshot(); }); - it('[PLASMA-T1301] flow=auto, filenameTruncation', () => { + it('[PLASMA-T1546] Attach: view=success, hasAttachment=false', () => { mount( - + , ); cy.get('input').attachFile(FIXTURE_PATH); - cy.get(cellRootSelector).should('be.visible'); + cy.get(cellRootSelector).should('not.be.exist'); cy.matchImageSnapshot(); }); - it('[PLASMA-T1304] Attach: view=accent, size=m', () => { + it('[PLASMA-T1547] Attach: view=warning, flow=horizontal, fileFormat=all', () => { mount( - + , ); @@ -101,10 +99,10 @@ describe('plasma-b2c: Attach', () => { cy.matchImageSnapshot(); }); - it('[PLASMA-T1305] Attach: view=default, size=l', () => { + it('[PLASMA-T1548] Attach: view=critical, flow=vertical', () => { mount( - + , ); @@ -114,10 +112,10 @@ describe('plasma-b2c: Attach', () => { cy.matchImageSnapshot(); }); - it('[PLASMA-T1306] Attach: view=secondary, size=s', () => { + it('[PLASMA-T1549] Attach: view=dark, flow=auto, width=500px', () => { mount( - + , ); @@ -127,10 +125,10 @@ describe('plasma-b2c: Attach', () => { cy.matchImageSnapshot(); }); - it('[PLASMA-T1307] Attach: view=clear, size=xs', () => { + it('[PLASMA-T1550] Attach: view=black, width=250px', () => { mount( - + , ); @@ -140,70 +138,51 @@ describe('plasma-b2c: Attach', () => { cy.matchImageSnapshot(); }); - it('[PLASMA-T1308] Attach: view=success, square', () => { + it('[PLASMA-T1551] Attach: view=white, width=0', () => { mount( - + , ); - cy.matchImageSnapshot(); - }); - - it('[PLASMA-T1309] Attach: view=warning, enableContentLeft', () => { - mount( - - } /> - , - ); + cy.get('input').attachFile(FIXTURE_PATH); + cy.get(cellRootSelector).should('be.visible'); cy.matchImageSnapshot(); }); - it('[PLASMA-T1310] Attach: view=critical, enableContentRight', () => { + it('[PLASMA-T1552] Attach: buttonType=iconButton', () => { mount( - } /> + , ); - cy.matchImageSnapshot(); - }); - - it('[PLASMA-T1311] Attach: view=dark, with buttonValue', () => { - mount( - - - , - ); + cy.get('input').attachFile(FIXTURE_PATH); + cy.get(cellRootSelector).should('be.visible'); cy.matchImageSnapshot(); }); - it('[PLASMA-T1312] Attach: view=black', () => { + it('[PLASMA-T1297] Attach: remove attached file', () => { mount( - + , ); - cy.matchImageSnapshot(); - }); - - it('[PLASMA-T1313] Attach: view=white', () => { - mount( - - - , - ); + cy.get('input').attachFile(FIXTURE_PATH); + cy.get(cellRootSelector).should('be.visible'); + cy.get('button').last().click(); + cy.get(cellRootSelector).should('not.be.visible'); cy.matchImageSnapshot(); }); - it('[PLASMA-T1315] Attach: view=accent, size=m, buttonType=iconButton', () => { + it('[PLASMA-T1301] filenameTruncation', () => { mount( - + , ); diff --git a/packages/plasma-b2c/src/components/AudioPlayer/AudioPlayer.stories.tsx b/packages/plasma-b2c/src/components/AudioPlayer/AudioPlayer.stories.tsx index 892fc887f1..0d804038e8 100644 --- a/packages/plasma-b2c/src/components/AudioPlayer/AudioPlayer.stories.tsx +++ b/packages/plasma-b2c/src/components/AudioPlayer/AudioPlayer.stories.tsx @@ -7,7 +7,7 @@ import { AudioPlayer } from '.'; import type { AudioPlayerProps } from '.'; const meta: Meta = { - title: 'Controls/AudioPlayer', + title: 'Data Entry/AudioPlayer', component: AudioPlayer, decorators: [InSpacingDecorator], }; diff --git a/packages/plasma-b2c/src/components/Autocomplete/Autocomplete.stories.tsx b/packages/plasma-b2c/src/components/Autocomplete/Autocomplete.stories.tsx index 29a84a0bff..b416de14ef 100644 --- a/packages/plasma-b2c/src/components/Autocomplete/Autocomplete.stories.tsx +++ b/packages/plasma-b2c/src/components/Autocomplete/Autocomplete.stories.tsx @@ -69,7 +69,7 @@ type StoryProps = ComponentProps & { }; const meta: Meta = { - title: 'Controls/Autocomplete', + title: 'Data Entry/Autocomplete', decorators: [InSpacingDecorator], component: Autocomplete, argTypes: { diff --git a/packages/plasma-b2c/src/components/Avatar/Avatar.stories.tsx b/packages/plasma-b2c/src/components/Avatar/Avatar.stories.tsx index 278dfe4d29..81c7c46ddc 100644 --- a/packages/plasma-b2c/src/components/Avatar/Avatar.stories.tsx +++ b/packages/plasma-b2c/src/components/Avatar/Avatar.stories.tsx @@ -5,7 +5,7 @@ import { disableProps } from '@salutejs/plasma-sb-utils'; import { Avatar } from './Avatar'; const meta: Meta = { - title: 'Content/Avatar', + title: 'Data Display/Avatar', component: Avatar, argTypes: { view: { control: 'inline-radio', options: ['default'] }, diff --git a/packages/plasma-b2c/src/components/AvatarGroup/AvatarGroup.stories.tsx b/packages/plasma-b2c/src/components/AvatarGroup/AvatarGroup.stories.tsx index 173e5f3cbb..bc97ab5259 100644 --- a/packages/plasma-b2c/src/components/AvatarGroup/AvatarGroup.stories.tsx +++ b/packages/plasma-b2c/src/components/AvatarGroup/AvatarGroup.stories.tsx @@ -9,7 +9,7 @@ import { AvatarGroup } from './AvatarGroup'; type Story = StoryObj>; const meta: Meta = { - title: 'Content/AvatarGroup', + title: 'Data Display/AvatarGroup', component: AvatarGroup, }; diff --git a/packages/plasma-b2c/src/components/Badge/Badge.stories.tsx b/packages/plasma-b2c/src/components/Badge/Badge.stories.tsx index a83663bcb2..b50a61036c 100644 --- a/packages/plasma-b2c/src/components/Badge/Badge.stories.tsx +++ b/packages/plasma-b2c/src/components/Badge/Badge.stories.tsx @@ -5,7 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react'; import { Badge } from './Badge'; const meta: Meta = { - title: 'Content/Badge', + title: 'Data Display/Badge', component: Badge, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-b2c/src/components/Badge/Badge.update-test.component-test.tsx b/packages/plasma-b2c/src/components/Badge/Badge.update-test.component-test.tsx index 47be15c1c6..e14af6726b 100644 --- a/packages/plasma-b2c/src/components/Badge/Badge.update-test.component-test.tsx +++ b/packages/plasma-b2c/src/components/Badge/Badge.update-test.component-test.tsx @@ -18,88 +18,97 @@ describe('plasma-b2c: Badge', () => { ); - it('[PLASMA-T707] Badge: view=default, size=m', () => { + it('[PLASMA-T1356] Badge: size=l, view=default, enableContentLeft', () => { mount( - + } /> , ); cy.matchImageSnapshot(); }); - it('[PLASMA-T708] Badge: view=positive, size=s', () => { + it('[PLASMA-T1357] Badge: size=m, view=accent, enableContentRight', () => { mount( - + } /> , ); cy.matchImageSnapshot(); }); - it('[PLASMA-T709] Badge: view=negative, with Icon', () => { + it('[PLASMA-T1358] Badge: size=s, view=positive, pilled', () => { mount( - } /> + , ); cy.matchImageSnapshot(); }); - it('[PLASMA-T716] Badge: view=accent, pilled', () => { + it('[PLASMA-T1359] Badge: size=xs, view=warning', () => { mount( - + , ); cy.matchImageSnapshot(); }); - it('[PLASMA-T717] Badge: view=warning, size=l', () => { + it('[PLASMA-T1360] Badge: size=l, view=negative', () => { mount( - + , ); cy.matchImageSnapshot(); }); - it('[PLASMA-T718] Badge: view=dark', () => { + it('[PLASMA-T1361] Badge: size=m, view=dark', () => { mount( - + , ); cy.matchImageSnapshot(); }); - it('[PLASMA-T719] Badge: view=light', () => { + it('[PLASMA-T1362] Badge: size=s, view=light', () => { mount( - + , ); cy.matchImageSnapshot(); }); - it('[PLASMA-T720] Badge: view=default, transparent', () => { + it('[PLASMA-T1363] Badge: size=l, view=default, clear', () => { mount( - + , ); cy.matchImageSnapshot(); }); - // TODO: дополнить тестовую модель на основе тестов ниже - it('[PLASMA-] Badge: icon only', () => { + it('[PLASMA-T1364] Badge: size=l, view=default, transparent', () => { + mount( + + + , + ); + + cy.matchImageSnapshot(); + }); + + it('[PLASMA-1651] Badge: icon only', () => { mount( } size="l" /> @@ -115,10 +124,10 @@ describe('plasma-b2c: Badge', () => { cy.matchImageSnapshot(); }); - it('[PLASMA-] Badge: customBackroundColor, customColor', () => { + it('[PLASMA-1652] Badge: customBackgroundColor, customColor', () => { mount( - + , ); diff --git a/packages/plasma-b2c/src/components/Breadcrumbs/Breadcrumbs.stories.tsx b/packages/plasma-b2c/src/components/Breadcrumbs/Breadcrumbs.stories.tsx index a876595f69..81bfde8f6c 100644 --- a/packages/plasma-b2c/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +++ b/packages/plasma-b2c/src/components/Breadcrumbs/Breadcrumbs.stories.tsx @@ -10,7 +10,7 @@ import { Breadcrumbs } from '.'; type BreadcrumbsProps = ComponentProps; const meta: Meta = { - title: 'Content/Breadcrumbs', + title: 'Navigation/Breadcrumbs', component: Breadcrumbs, args: { view: 'default', diff --git a/packages/plasma-b2c/src/components/Button/Button.stories.tsx b/packages/plasma-b2c/src/components/Button/Button.stories.tsx index 1d24773de5..b82ace433c 100644 --- a/packages/plasma-b2c/src/components/Button/Button.stories.tsx +++ b/packages/plasma-b2c/src/components/Button/Button.stories.tsx @@ -29,7 +29,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'Controls/Button', + title: 'Data Entry/Button', decorators: [InSpacingDecorator], component: Button, args: { diff --git a/packages/plasma-b2c/src/components/Button/Button.update-test.component-test.tsx b/packages/plasma-b2c/src/components/Button/Button.update-test.component-test.tsx index d7f44225b9..26418ba14e 100644 --- a/packages/plasma-b2c/src/components/Button/Button.update-test.component-test.tsx +++ b/packages/plasma-b2c/src/components/Button/Button.update-test.component-test.tsx @@ -9,172 +9,135 @@ const Icon = () => ; describe('plasma-b2c: Button', () => { const Button = getComponent('Button') as typeof ButtonWeb; - it('[PLASMA-T678] Button: view=default, size=m', () => { + it('[PLASMA-T1319] Button: size=l, view=default', () => { mount( - )} text="По ховеру" placement="right" hasArrow trigger="hover" hoverTimeout={500} /> +
+ trigger: click)} text="По клику" placement="right" hasArrow trigger="click" closeOnEsc closeOnOverlayClick /> + + ); +} +``` diff --git a/packages/plasma-new-hope/src/components/Tooltip/Tooltip.tokens.ts b/packages/plasma-new-hope/src/components/Tooltip/Tooltip.tokens.ts index 51083bdd99..7888487b42 100644 --- a/packages/plasma-new-hope/src/components/Tooltip/Tooltip.tokens.ts +++ b/packages/plasma-new-hope/src/components/Tooltip/Tooltip.tokens.ts @@ -1,5 +1,4 @@ export const classes = { - hasContentLeft: 'has-content-left', animated: 'tooltip-animated', }; diff --git a/packages/plasma-new-hope/src/components/Tooltip/Tooltip.tsx b/packages/plasma-new-hope/src/components/Tooltip/Tooltip.tsx index 13e9cd8937..e46a7dc666 100644 --- a/packages/plasma-new-hope/src/components/Tooltip/Tooltip.tsx +++ b/packages/plasma-new-hope/src/components/Tooltip/Tooltip.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, forwardRef, useState } from 'react'; +import React, { useEffect, forwardRef, useState, useRef } from 'react'; import { styled } from '@linaria/react'; import { RootProps, component } from '../../engines'; @@ -62,16 +62,21 @@ export const tooltipRoot = (Root: RootProps { const [ref, setRef] = useState(null); + const timeoutRef = useRef(); + const [isOpened, setIsOpened] = useState(false); + const [isHovered, setIsHovered] = useState(false); // TODO убрать после отказа от старого API const innerIsOpen = Boolean(isVisible || isOpen || opened); const innerHasArrow = arrow || hasArrow; - const showTooltip = innerIsOpen && Boolean(text?.length); + const showTooltip = innerIsOpen && Boolean(text); const animatedClass = animated ? classes.animated : undefined; @@ -89,11 +94,39 @@ export const tooltipRoot = (Root: RootProps { + clearTimeout(timeoutRef.current); + setIsHovered(true); + }; + + const onMouseLeave = () => { + timeoutRef.current = setTimeout(() => { + setIsHovered(false); + }, hoverTimeout); + }; + + useEffect(() => { + return () => clearTimeout(timeoutRef.current); + }, [trigger]); + + const onToggle = (isOpen: boolean) => { + if (trigger === 'hover') { + if (isOpen) { + clearTimeout(timeoutRef.current); + setIsOpened(true); + } else { + timeoutRef.current = setTimeout(() => { + setIsOpened(false); + }, hoverTimeout); + } + } else { + setIsOpened(isOpen); + } + }; return ( - + diff --git a/packages/plasma-new-hope/src/components/Tooltip/Tooltip.types.ts b/packages/plasma-new-hope/src/components/Tooltip/Tooltip.types.ts index 5271af2409..b844f5de16 100644 --- a/packages/plasma-new-hope/src/components/Tooltip/Tooltip.types.ts +++ b/packages/plasma-new-hope/src/components/Tooltip/Tooltip.types.ts @@ -6,7 +6,7 @@ export interface TooltipProps extends React.HTMLAttributes { /** * Текст тултипа. */ - text: string; + text: ReactNode; /** * Видимость тултипа. */ @@ -94,4 +94,13 @@ export interface TooltipProps extends React.HTMLAttributes { * @deprecated */ children?: ReactNode; + /** + * Действие по target для отображения тултипа + */ + trigger?: 'click' | 'hover' | 'none'; + /** + * Время автоматического скрытия тултипа по ховеру в ms + * @default 300 + */ + hoverTimeout?: number; } diff --git a/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.16/StarFill.tsx b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.16/StarFill.tsx new file mode 100644 index 0000000000..36ce59d3bf --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.16/StarFill.tsx @@ -0,0 +1,14 @@ +import React from 'react'; + +import { IconProps } from '../../IconRoot'; + +export const StarFill: React.FC = (props) => ( + + + +); diff --git a/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.16/StarHalfFill.tsx b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.16/StarHalfFill.tsx new file mode 100644 index 0000000000..140e066ba5 --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.16/StarHalfFill.tsx @@ -0,0 +1,14 @@ +import React from 'react'; + +import { IconProps } from '../../IconRoot'; + +export const StarHalfFill: React.FC = (props) => ( + + + +); diff --git a/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.16/StarOutline.tsx b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.16/StarOutline.tsx new file mode 100644 index 0000000000..3d64766845 --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.16/StarOutline.tsx @@ -0,0 +1,14 @@ +import React from 'react'; + +import { IconProps } from '../../IconRoot'; + +export const StarOutline: React.FC = (props) => ( + + + +); diff --git a/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.24/StarFill.tsx b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.24/StarFill.tsx new file mode 100644 index 0000000000..5674f93680 --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.24/StarFill.tsx @@ -0,0 +1,15 @@ +import React from 'react'; + +import { IconProps } from '../../IconRoot'; + +export const StarFill: React.FC = (props) => ( + + + +); diff --git a/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.24/StarHalfFill.tsx b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.24/StarHalfFill.tsx new file mode 100644 index 0000000000..eaa2b88eaa --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.24/StarHalfFill.tsx @@ -0,0 +1,14 @@ +import React from 'react'; + +import { IconProps } from '../../IconRoot'; + +export const StarHalfFill: React.FC = (props) => ( + + + +); diff --git a/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.24/StarOutline.tsx b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.24/StarOutline.tsx new file mode 100644 index 0000000000..8c0dce6c1b --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.24/StarOutline.tsx @@ -0,0 +1,15 @@ +import React from 'react'; + +import { IconProps } from '../../IconRoot'; + +export const StarOutline: React.FC = (props) => ( + + + +); diff --git a/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.36/StarFill.tsx b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.36/StarFill.tsx new file mode 100644 index 0000000000..698c6a72bf --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.36/StarFill.tsx @@ -0,0 +1,14 @@ +import React from 'react'; + +import { IconProps } from '../../IconRoot'; + +export const StarFill: React.FC = (props) => ( + + + +); diff --git a/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.36/StarHalfFill.tsx b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.36/StarHalfFill.tsx new file mode 100644 index 0000000000..a538a75cc2 --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.36/StarHalfFill.tsx @@ -0,0 +1,14 @@ +import React from 'react'; + +import { IconProps } from '../../IconRoot'; + +export const StarHalfFill: React.FC = (props) => ( + + + +); diff --git a/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.36/StarOutline.tsx b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.36/StarOutline.tsx new file mode 100644 index 0000000000..7053e11504 --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icon.assets/Icon.svg.36/StarOutline.tsx @@ -0,0 +1,14 @@ +import React from 'react'; + +import { IconProps } from '../../IconRoot'; + +export const StarOutline: React.FC = (props) => ( + + + +); diff --git a/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.16/IconStarFill.tsx b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.16/IconStarFill.tsx new file mode 100644 index 0000000000..45653e6cea --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.16/IconStarFill.tsx @@ -0,0 +1,8 @@ +import React from 'react'; + +import { StarFill } from '../../Icon.assets/Icon.svg.16/StarFill'; +import { IconRoot, IconProps } from '../../IconRoot'; + +export const IconStarFill16: React.FC = ({ size = 'xs', color, className, ...rest }) => { + return ; +}; diff --git a/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.16/IconStarHalfFill.tsx b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.16/IconStarHalfFill.tsx new file mode 100644 index 0000000000..f5cf252559 --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.16/IconStarHalfFill.tsx @@ -0,0 +1,8 @@ +import React from 'react'; + +import { StarHalfFill } from '../../Icon.assets/Icon.svg.16/StarHalfFill'; +import { IconRoot, IconProps } from '../../IconRoot'; + +export const IconStarHalfFill16: React.FC = ({ size = 'xs', color, className, ...rest }) => { + return ; +}; diff --git a/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.16/IconStarOutline.tsx b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.16/IconStarOutline.tsx new file mode 100644 index 0000000000..074db61bdb --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.16/IconStarOutline.tsx @@ -0,0 +1,8 @@ +import React from 'react'; + +import { StarOutline } from '../../Icon.assets/Icon.svg.16/StarOutline'; +import { IconRoot, IconProps } from '../../IconRoot'; + +export const IconStarOutline16: React.FC = ({ size = 'xs', color, className, ...rest }) => { + return ; +}; diff --git a/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.24/IconStarFill.tsx b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.24/IconStarFill.tsx new file mode 100644 index 0000000000..ade69545b4 --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.24/IconStarFill.tsx @@ -0,0 +1,8 @@ +import React from 'react'; + +import { StarFill } from '../../Icon.assets/Icon.svg.24/StarFill'; +import { IconRoot, IconProps } from '../../IconRoot'; + +export const IconStarFill24: React.FC = ({ size = 'xs', color, className, ...rest }) => { + return ; +}; diff --git a/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.24/IconStarHalfFill.tsx b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.24/IconStarHalfFill.tsx new file mode 100644 index 0000000000..b9446a2928 --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.24/IconStarHalfFill.tsx @@ -0,0 +1,8 @@ +import React from 'react'; + +import { StarHalfFill } from '../../Icon.assets/Icon.svg.24/StarHalfFill'; +import { IconRoot, IconProps } from '../../IconRoot'; + +export const IconStarHalfFill24: React.FC = ({ size = 'xs', color, className, ...rest }) => { + return ; +}; diff --git a/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.24/IconStarOutline.tsx b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.24/IconStarOutline.tsx new file mode 100644 index 0000000000..7cc630e88c --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.24/IconStarOutline.tsx @@ -0,0 +1,8 @@ +import React from 'react'; + +import { StarOutline } from '../../Icon.assets/Icon.svg.24/StarOutline'; +import { IconRoot, IconProps } from '../../IconRoot'; + +export const IconStarOutline24: React.FC = ({ size = 'xs', color, className, ...rest }) => { + return ; +}; diff --git a/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.36/IconStarFill.tsx b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.36/IconStarFill.tsx new file mode 100644 index 0000000000..7b12a95c0b --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.36/IconStarFill.tsx @@ -0,0 +1,8 @@ +import React from 'react'; + +import { StarFill } from '../../Icon.assets/Icon.svg.36/StarFill'; +import { IconRoot, IconProps } from '../../IconRoot'; + +export const IconStarFill36: React.FC = ({ size = 'xs', color, className, ...rest }) => { + return ; +}; diff --git a/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.36/IconStarHalfFill.tsx b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.36/IconStarHalfFill.tsx new file mode 100644 index 0000000000..129564862f --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.36/IconStarHalfFill.tsx @@ -0,0 +1,8 @@ +import React from 'react'; + +import { StarHalfFill } from '../../Icon.assets/Icon.svg.36/StarHalfFill'; +import { IconRoot, IconProps } from '../../IconRoot'; + +export const IconStarHalfFill36: React.FC = ({ size = 'xs', color, className, ...rest }) => { + return ; +}; diff --git a/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.36/IconStarOutline.tsx b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.36/IconStarOutline.tsx new file mode 100644 index 0000000000..0f46e5d829 --- /dev/null +++ b/packages/plasma-new-hope/src/components/_Icon/Icons/Icon.36/IconStarOutline.tsx @@ -0,0 +1,8 @@ +import React from 'react'; + +import { StarOutline } from '../../Icon.assets/Icon.svg.36/StarOutline'; +import { IconRoot, IconProps } from '../../IconRoot'; + +export const IconStarOutline36: React.FC = ({ size = 'xs', color, className, ...rest }) => { + return ; +}; diff --git a/packages/plasma-new-hope/src/components/_Icon/index.tsx b/packages/plasma-new-hope/src/components/_Icon/index.tsx index 09704bdd09..e4a5b2a09d 100644 --- a/packages/plasma-new-hope/src/components/_Icon/index.tsx +++ b/packages/plasma-new-hope/src/components/_Icon/index.tsx @@ -26,3 +26,12 @@ export { IconBlankTxtOutline } from './Icons/IconBlankTxtOutline'; export { IconBlankXlsOutline } from './Icons/IconBlankXlsOutline'; export { IconInfoCircleOutline } from './Icons/IconInfoCircleOutline'; export { IconArrowBarDown } from './Icons/IconArrowBarDown'; +export { IconStarFill16 } from './Icons/Icon.16/IconStarFill'; +export { IconStarHalfFill16 } from './Icons/Icon.16/IconStarHalfFill'; +export { IconStarOutline16 } from './Icons/Icon.16/IconStarOutline'; +export { IconStarFill24 } from './Icons/Icon.24/IconStarFill'; +export { IconStarHalfFill24 } from './Icons/Icon.24/IconStarHalfFill'; +export { IconStarOutline24 } from './Icons/Icon.24/IconStarOutline'; +export { IconStarFill36 } from './Icons/Icon.36/IconStarFill'; +export { IconStarHalfFill36 } from './Icons/Icon.36/IconStarHalfFill'; +export { IconStarOutline36 } from './Icons/Icon.36/IconStarOutline'; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx index d6923bf4ee..5a9c10f5e3 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx @@ -24,7 +24,7 @@ type AccordionItemCustomProps = { type AccordionProps = ComponentProps & AccordionItemCustomProps; const meta: Meta = { - title: 'plasma_b2c/Accordion', + title: 'b2c/Data Display/Accordion', decorators: [WithTheme], component: Accordion, args: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Attach/Attach.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Attach/Attach.stories.tsx index b3832e0a9b..d3a2f58133 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Attach/Attach.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Attach/Attach.stories.tsx @@ -47,7 +47,7 @@ type StoryAttachProps = ComponentProps & { }; const meta: Meta = { - title: 'plasma_b2c/Attach', + title: 'b2c/Data Entry/Attach', decorators: [WithTheme], component: Attach, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx index 3e213fec38..1ae268149f 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx @@ -70,7 +70,7 @@ type StoryProps = ComponentProps & { }; const meta: Meta = { - title: 'plasma_b2c/Autocomplete', + title: 'b2c/Data Entry/Autocomplete', decorators: [WithTheme], component: Autocomplete, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx index cc5864d115..4d95d33961 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx @@ -7,7 +7,7 @@ import { argTypesFromConfig, WithTheme } from '../../../_helpers'; import { Avatar, mergedConfig } from './Avatar'; const meta: Meta = { - title: 'plasma_b2c/Avatar', + title: 'b2c/Data Display/Avatar', decorators: [WithTheme], component: Avatar, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx index c8bf973be2..476edc673a 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx @@ -11,7 +11,7 @@ type Story = StoryObj>; type Avatar = ComponentProps; const meta: Meta = { - title: 'plasma_b2c/AvatarGroup', + title: 'b2c/Data Display/AvatarGroup', decorators: [WithTheme], component: AvatarGroup, }; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Badge/Badge.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Badge/Badge.stories.tsx index dea0a03b95..8a2279a052 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Badge/Badge.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Badge/Badge.stories.tsx @@ -7,7 +7,7 @@ import { WithTheme } from '../../../_helpers'; import { Badge } from './Badge'; const meta: Meta = { - title: 'plasma_b2c/Badge', + title: 'b2c/Data Display/Badge', component: Badge, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx index 224ca87107..5e6c38736c 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx @@ -13,7 +13,7 @@ import { Breadcrumbs } from './Breadcrumbs'; type BreadcrumbsProps = ComponentProps; const meta: Meta = { - title: 'plasma_b2c/Breadcrumbs', + title: 'b2c/Navigation/Breadcrumbs', decorators: [WithTheme], component: Breadcrumbs, args: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Button/Button.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Button/Button.stories.tsx index 1cfc0b8943..b4f93e8437 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Button/Button.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Button/Button.stories.tsx @@ -24,7 +24,7 @@ const pinValues = [ const contentPlacinValues = ['default', 'relaxed']; const meta: Meta = { - title: 'plasma_b2c/Button', + title: 'b2c/Data Entry/Button', decorators: [WithTheme], component: Button, args: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx index ac379feb76..72ebc25059 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx @@ -19,7 +19,7 @@ const shapeValues = ['segmented', 'default']; const stretchingValues = ['auto', 'filled']; const meta: Meta = { - title: 'plasma_b2c/ButtonGroup', + title: 'b2c/Data Entry/ButtonGroup', decorators: [WithTheme], argTypes: { size: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx index 915f9bff6a..f871a76a04 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx @@ -13,7 +13,7 @@ import { Calendar, CalendarBase, CalendarBaseRange, CalendarDouble, CalendarDoub const onChangeValue = action('onChangeValue'); const meta: Meta = { - title: 'plasma_b2c/Calendar', + title: 'b2c/Data Entry/Calendar', decorators: [WithTheme], argTypes: { min: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Cell/Cell.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Cell/Cell.stories.tsx index 8a216193b1..e0cb4197fc 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Cell/Cell.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Cell/Cell.stories.tsx @@ -33,7 +33,7 @@ const getSize = (size: SizesCell): SizesAvatar => { }; const meta: Meta = { - title: 'plasma_b2c/Cell', + title: 'b2c/Data Display/Cell', decorators: [WithTheme], argTypes: { size: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx index 7f90c56b4e..dbeb872074 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx @@ -16,7 +16,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'plasma_b2c/Checkbox', + title: 'b2c/Data Entry/Checkbox', decorators: [WithTheme], component: Checkbox, argTypes: argTypesFromConfig(mergeConfig(checkboxConfig, config)), diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Chip/Chip.config.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Chip/Chip.config.ts index 3a2886ea0f..d3955c7abb 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Chip/Chip.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Chip/Chip.config.ts @@ -89,8 +89,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1.5rem; ${chipTokens.width}: auto; ${chipTokens.height}: 3rem; - ${chipTokens.paddingRight}: 1rem; - ${chipTokens.paddingLeft}: 1rem; + ${chipTokens.padding}: 0 1rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-l-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-l-font-size); @@ -114,8 +113,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1.25rem; ${chipTokens.width}: auto; ${chipTokens.height}: 2.5rem; - ${chipTokens.paddingRight}: 0.875rem; - ${chipTokens.paddingLeft}: 0.875rem; + ${chipTokens.padding}: 0 0.875rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-m-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-m-font-size); @@ -139,8 +137,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1rem; ${chipTokens.width}: auto; ${chipTokens.height}: 2rem; - ${chipTokens.paddingRight}: 0.875rem; - ${chipTokens.paddingLeft}: 0.875rem; + ${chipTokens.padding}: 0 0.875rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-s-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-s-font-size); @@ -164,8 +161,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 0.75rem; ${chipTokens.width}: auto; ${chipTokens.height}: 1.5rem; - ${chipTokens.paddingRight}: 0.625rem; - ${chipTokens.paddingLeft}: 0.625rem; + ${chipTokens.padding}: 0 0.625rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-xs-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-xs-font-size); diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Chip/Chip.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Chip/Chip.stories.tsx index a9d3796e4a..0c368e8a0c 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Chip/Chip.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Chip/Chip.stories.tsx @@ -13,7 +13,7 @@ const views = ['default', 'accent', 'secondary', 'positive', 'warning', 'negativ const sizes = ['l', 'm', 's', 'xs']; const meta: Meta = { - title: 'plasma_b2c/Chip', + title: 'b2c/Data Display/Chip', decorators: [WithTheme], component: Chip, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/ChipGroup /ChipGroup.config.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/ChipGroup /ChipGroup.config.ts index db4c6e177b..a77ddf31f8 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/ChipGroup /ChipGroup.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/ChipGroup /ChipGroup.config.ts @@ -39,8 +39,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.75rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 3rem; - ${tokens.chipPaddingRight}: 1rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 1rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-l-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-l-font-size); @@ -63,8 +62,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.625rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.5rem; - ${tokens.chipPaddingRight}: 0.875rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.875rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-m-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-m-font-size); @@ -87,8 +85,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2rem; - ${tokens.chipPaddingRight}: 0.875rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.875rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-s-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-s-font-size); @@ -111,8 +108,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.5rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.625rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-xs-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-xs-font-size); diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx index 7fdd41b255..ce8e1a9315 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx @@ -16,7 +16,7 @@ const sizes = ['l', 'm', 's', 'xs']; const gapValues = ['dense', 'wide']; const meta: Meta = { - title: 'plasma_b2c/ChipGroup', + title: 'b2c/Data Display/ChipGroup', decorators: [WithTheme], argTypes: { size: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Combobox.config.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Combobox.config.ts index 675b7aebab..5a750fc421 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Combobox.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Combobox.config.ts @@ -233,8 +233,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.5rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.75rem; - ${tokens.textFieldChipPaddingRight}: 0.75rem; - ${tokens.textFieldChipPaddingLeft}: 1rem; + ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.5rem; @@ -339,8 +338,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.375rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.25rem; - ${tokens.textFieldChipPaddingRight}: 0.625rem; - ${tokens.textFieldChipPaddingLeft}: 0.875rem; + ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.25rem; @@ -445,8 +443,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.25rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.75rem; - ${tokens.textFieldChipPaddingRight}: 0.5rem; - ${tokens.textFieldChipPaddingLeft}: 0.75rem; + ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1rem; @@ -551,8 +548,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.125rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.25rem; - ${tokens.textFieldChipPaddingRight}: 0.375rem; - ${tokens.textFieldChipPaddingLeft}: 0.625rem; + ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 0.75rem; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx index 5c475e3b14..a8f8c171ea 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx @@ -17,7 +17,7 @@ const labelPlacement = ['inner', 'outer']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'plasma_b2c/Combobox', + title: 'b2c/Data Entry/Combobox', decorators: [WithTheme], component: Combobox, argTypes: { @@ -353,7 +353,6 @@ const items = [ const SingleStory = (args: StorySelectProps) => { const [value, setValue] = useState(''); - return (
{ value={value} onChange={setValue} contentLeft={args.enableContentLeft ? : undefined} + onToggle={(e) => console.log(e)} />
); diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Legacy/Combobox.config.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Legacy/Combobox.config.ts index 98fb8a6ed4..172fa2160a 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Legacy/Combobox.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Legacy/Combobox.config.ts @@ -44,8 +44,7 @@ export const config = { ${comboboxTokens.chipBorderRadius}: 0.125rem; ${comboboxTokens.chipWidth}: auto; ${comboboxTokens.chipHeight}: 1.25rem; - ${comboboxTokens.chipPaddingRight}: 0.375rem; - ${comboboxTokens.chipPaddingLeft}: 0.625rem; + ${comboboxTokens.chipPadding}: 0 0.375rem 0 0.625rem; ${comboboxTokens.chipClearContentMarginLeft}: 0.25rem; ${comboboxTokens.chipClearContentMarginRight}: 0rem; ${comboboxTokens.chipCloseIconSize}: 0.75rem; @@ -113,8 +112,7 @@ export const config = { ${comboboxTokens.chipBorderRadius}: 0.25rem; ${comboboxTokens.chipWidth}: auto; ${comboboxTokens.chipHeight}: 1.75rem; - ${comboboxTokens.chipPaddingRight}: 0.5rem; - ${comboboxTokens.chipPaddingLeft}: 0.75rem; + ${comboboxTokens.chipPadding}: 0 0.5rem 0 0.75rem; ${comboboxTokens.chipClearContentMarginLeft}: 0.375rem; ${comboboxTokens.chipClearContentMarginRight}: 0rem; ${comboboxTokens.chipCloseIconSize}: 0.75rem; @@ -182,8 +180,7 @@ export const config = { ${comboboxTokens.chipBorderRadius}: 0.375rem; ${comboboxTokens.chipWidth}: auto; ${comboboxTokens.chipHeight}: 2.25rem; - ${comboboxTokens.chipPaddingRight}: 0.875rem; - ${comboboxTokens.chipPaddingLeft}: 0.625rem; + ${comboboxTokens.chipPadding}: 0 0.875rem 0 0.625rem; ${comboboxTokens.chipClearContentMarginLeft}: 0.5rem; ${comboboxTokens.chipClearContentMarginRight}: 0rem; ${comboboxTokens.chipCloseIconSize}: 1rem; @@ -251,8 +248,7 @@ export const config = { ${comboboxTokens.chipBorderRadius}: 0.5rem; ${comboboxTokens.chipWidth}: auto; ${comboboxTokens.chipHeight}: 2.75rem; - ${comboboxTokens.chipPaddingRight}: 0.75rem; - ${comboboxTokens.chipPaddingLeft}: 1rem; + ${comboboxTokens.chipPadding}: 0 0.75rem 0 1rem; ${comboboxTokens.chipClearContentMarginLeft}: 0.625rem; ${comboboxTokens.chipClearContentMarginRight}: 0rem; ${comboboxTokens.chipCloseIconSize}: 1rem; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx index 3465f38f51..9f04729b22 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx @@ -25,7 +25,7 @@ type StorySelectPropsCustom = { type StorySelectProps = ComponentProps & StorySelectPropsCustom; const meta: Meta = { - title: 'plasma_b2c/Combobox', + title: 'b2c/Data Entry/Combobox', decorators: [WithTheme], component: Combobox, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Counter/Counter.config.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Counter/Counter.config.ts index 525e95c664..7ba73b108f 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Counter/Counter.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Counter/Counter.config.ts @@ -42,8 +42,7 @@ export const config = { l: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.75rem; - ${counterTokens.paddingRight}: 0.625rem; - ${counterTokens.paddingLeft}: 0.625rem; + ${counterTokens.padding}: 0 0.625rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-s-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-s-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-s-font-style); @@ -54,8 +53,7 @@ export const config = { m: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.5rem; - ${counterTokens.paddingRight}: 0.5rem; - ${counterTokens.paddingLeft}: 0.5rem; + ${counterTokens.padding}: 0 0.5rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xs-font-style); @@ -66,8 +64,7 @@ export const config = { s: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.25rem; - ${counterTokens.paddingRight}: 0.375rem; - ${counterTokens.paddingLeft}: 0.375rem; + ${counterTokens.padding}: 0 0.375rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); @@ -78,8 +75,7 @@ export const config = { xs: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1rem; - ${counterTokens.paddingRight}: 0.25rem; - ${counterTokens.paddingLeft}: 0.25rem; + ${counterTokens.padding}: 0 0.25rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); @@ -90,8 +86,7 @@ export const config = { xxs: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 0.75rem; - ${counterTokens.paddingRight}: 0.125rem; - ${counterTokens.paddingLeft}: 0.125rem; + ${counterTokens.padding}: 0 0.125rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Counter/Counter.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Counter/Counter.stories.tsx index 05db802577..1c51e3afb1 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Counter/Counter.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Counter/Counter.stories.tsx @@ -9,7 +9,7 @@ const sizes = ['l', 'm', 's', 'xs', 'xxs']; const views = ['default', 'accent', 'positive', 'warning', 'negative', 'dark', 'light']; const meta: Meta = { - title: 'plasma_b2c/Counter', + title: 'b2c/Data Display/Counter', component: Counter, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/DatePicker/DatePicker.config.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/DatePicker/DatePicker.config.ts index e68ddc15a9..b043ab6ae0 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/DatePicker/DatePicker.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/DatePicker/DatePicker.config.ts @@ -29,6 +29,8 @@ export const config = { ${tokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelInnerLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorColor}: var(--surface-negative); + ${tokens.textFieldBackgroundColor}: var(--surface-transparent-primary); ${tokens.textFieldBackgroundColorFocus}: var(--surface-transparent-secondary); ${tokens.textFieldBackgroundErrorColor}: var(--surface-transparent-negative); @@ -87,7 +89,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 1rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.75rem 0; + ${tokens.labelOffset}: 0.75rem; ${tokens.labelInnerPadding}: 0.5625rem 0 0.125rem 0; ${tokens.contentLabelInnerPadding}: 1.5625rem 0 0.5625rem 0; @@ -98,6 +100,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-l-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.5rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 3.5rem; ${tokens.textFieldBorderRadius}: 0.875rem; ${tokens.textFieldPadding}: 1.0625rem 1.125rem 1.0625rem 1.125rem; @@ -212,7 +221,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.875rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.625rem 0; + ${tokens.labelOffset}: 0.625rem; ${tokens.labelInnerPadding}: 0.375rem 0 0.125rem 0; ${tokens.contentLabelInnerPadding}: 1.375rem 0 0.375rem 0; @@ -223,6 +232,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-m-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.375rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 3rem; ${tokens.textFieldBorderRadius}: 0.75rem; ${tokens.textFieldPadding}: 0.875rem 1rem 0.875rem 1rem; @@ -337,7 +353,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.75rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.5rem 0; + ${tokens.labelOffset}: 0.5rem; ${tokens.labelInnerPadding}: 0.3125rem 0 0 0; ${tokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0; @@ -348,6 +364,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.3125rem auto auto -0.6875rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 2.5rem; ${tokens.textFieldBorderRadius}: 0.625rem; ${tokens.textFieldPadding}: 0.6875rem 0.875rem 0.6875rem 0.875rem; @@ -462,7 +485,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.5rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.375rem 0; + ${tokens.labelOffset}: 0.375rem; ${tokens.labelInnerPadding}: 0.3125rem 0 0 0; ${tokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0; @@ -473,6 +496,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.25rem auto auto -0.625rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.125rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 2rem; ${tokens.textFieldBorderRadius}: 0.5rem; ${tokens.textFieldPadding}: 0.5625rem 0.625rem 0.5625rem 0.625rem; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx index 1998f51647..eb6de77dfb 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx @@ -20,9 +20,10 @@ const sizes = ['l', 'm', 's', 'xs']; const views = ['default']; const dividers = ['none', 'dash', 'icon']; const labelPlacements = ['outer', 'inner']; +const requiredPlacements = ['left', 'right']; const meta: Meta = { - title: 'plasma_b2c/DatePicker', + title: 'b2c/Data Entry/DatePicker', decorators: [WithTheme], argTypes: { view: { @@ -53,6 +54,13 @@ const meta: Meta = { type: 'inline-radio', }, }, + requiredPlacement: { + options: requiredPlacements, + control: { + type: 'select', + }, + if: { arg: 'required', truthy: true }, + }, }, }; @@ -130,6 +138,8 @@ export const Default: StoryObj = { min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, textBefore: '', @@ -273,6 +283,8 @@ export const Range: StoryObj = { min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, enableContentLeft: true, @@ -367,6 +379,8 @@ export const Deferred: StoryObj = { min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, textBefore: '', diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Divider/Divider.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Divider/Divider.stories.tsx index b8db3b59b3..dd9ef73f9c 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Divider/Divider.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Divider/Divider.stories.tsx @@ -9,7 +9,7 @@ import { bodyS } from '../../../../mixins'; import { Divider } from './Divider'; const meta: Meta = { - title: 'plasma_b2c/Divider', + title: 'b2c/Data Display/Divider', decorators: [WithTheme], argTypes: { orientation: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx index 6154d0908d..c2d74186b2 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx @@ -14,7 +14,7 @@ import type { ClosePlacementType } from '../../../../components/Drawer'; import { Drawer, DrawerContent, DrawerFooter, DrawerHeader } from './Drawer'; export default { - title: 'plasma_b2c/Drawer', + title: 'b2c/Overlay/Divider', decorators: [WithTheme], argTypes: { placement: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx index e9368ab1a8..7c6faab41a 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx @@ -17,7 +17,7 @@ const size = ['xs', 's', 'm', 'l']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'plasma_b2c/Dropdown', + title: 'b2c/Data Entry/Dropdown', decorators: [WithTheme], component: Dropdown, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Editable/Editable.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Editable/Editable.stories.tsx index e3cce53264..c019640bd2 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Editable/Editable.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Editable/Editable.stories.tsx @@ -11,7 +11,7 @@ import { Editable, typographyVariants } from './Editable'; const iconSizes = ['s', 'xs'] as const; const meta: Meta = { - title: 'plasma_b2c/Editable', + title: 'b2c/Data Entry/Editable', decorators: [WithTheme], component: Editable, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx index 8082ac3b3c..b00c05db7e 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx @@ -14,7 +14,7 @@ type StoryProps = ComponentProps & { }; const meta: Meta = { - title: 'plasma_b2c/EmptyState', + title: 'b2c/Data Entry/EmptyState', decorators: [WithTheme], component: EmptyState, args: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Grid/Grid.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Grid/Grid.stories.tsx index b9cbf15cfa..b58f2bf3d9 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Grid/Grid.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Grid/Grid.stories.tsx @@ -7,7 +7,7 @@ import { WithTheme } from '../../../_helpers'; import { Col, Grid, Row } from './Grid'; const meta: Meta = { - title: 'plasma_b2c/Grid', + title: 'b2c/Layout/Grid', decorators: [WithTheme], }; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx index ff66cd742a..eafa3fc415 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx @@ -11,7 +11,7 @@ import { config } from './IconButton.config'; import { IconButton } from './IconButton'; const meta: Meta = { - title: 'plasma_b2c/IconButton', + title: 'b2c/Data Entry/IconButton', decorators: [WithTheme], component: IconButton, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Image/Image.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Image/Image.stories.tsx index 9bc748b6b1..71c305bc3e 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Image/Image.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Image/Image.stories.tsx @@ -10,7 +10,7 @@ const bases = ['div', 'img']; const ratios = ['1/1', '3/4', '4/3', '9/16', '16/9', '1/2', '2/1']; const meta: Meta = { - title: 'plasma_b2c/Image', + title: 'b2c/Data Display/Image', component: Image, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx index 1bb1a32163..bd43d57a63 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx @@ -6,7 +6,7 @@ import { argTypesFromConfig, WithTheme } from '../../../_helpers'; import { Indicator, mergedConfig } from './Indicator'; const meta: Meta = { - title: 'plasma_b2c/Indicator', + title: 'b2c/Data Display/Indicator', decorators: [WithTheme], component: Indicator, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Link/Link.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Link/Link.stories.tsx index 3f811f2327..02dd68b5e0 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Link/Link.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Link/Link.stories.tsx @@ -10,7 +10,7 @@ import { config } from './Link.config'; import { Link } from './Link'; const meta: Meta = { - title: 'plasma_b2c/Link', + title: 'b2c/Navigation/Link', decorators: [WithTheme], component: Link, argTypes: argTypesFromConfig(mergeConfig(linkConfig, config)), diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Mask/Mask.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Mask/Mask.stories.tsx index 1f84006f18..497c8b1d95 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Mask/Mask.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Mask/Mask.stories.tsx @@ -13,7 +13,7 @@ const sizes = ['l', 'm', 's', 'xs']; const views = ['default', 'positive', 'warning', 'negative']; const meta: Meta = { - title: 'plasma_b2c/Mask', + title: 'b2c/Data Display/Mask', component: Mask, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Modal/Modal.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Modal/Modal.stories.tsx index 5c9f6ccdff..61c77da350 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Modal/Modal.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Modal/Modal.stories.tsx @@ -13,7 +13,7 @@ import { WithTheme } from '../../../_helpers'; import { Modal, modalClasses } from './Modal'; export default { - title: 'plasma_b2c/Modal', + title: 'b2c/Overlay/Modal', decorators: [WithTheme], parameters: { docs: { story: { inline: false, iframeHeight: '30rem' } }, diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Notification/Notification.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Notification/Notification.stories.tsx index 80912cb7d4..1aa5c41c22 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Notification/Notification.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Notification/Notification.stories.tsx @@ -37,7 +37,7 @@ const getNotificationProps = (i: number) => ({ const placements = ['top', 'left']; const meta: Meta = { - title: 'plasma_b2c/Notification', + title: 'b2c/Overlay/Notification', decorators: [WithTheme], }; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx index c4df1232c5..6adae23777 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx @@ -17,7 +17,7 @@ const inputBackgroundTypes = ['fill', 'clear']; const segmentation = ['default', 'segmented', 'solid']; const meta: Meta = { - title: 'plasma_b2c/NumberInput', + title: 'b2c/Data Entry/NumberInput', component: NumberInput, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx index 623d5701db..2e2356f3ce 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx @@ -14,7 +14,7 @@ const onOverlayClick = action('onOverlayClick'); type StoryOverlayProps = ComponentProps; const meta: Meta = { - title: 'plasma_b2c/Overlay', + title: 'b2c/Overlay/Overlay', decorators: [WithTheme], argTypes: { isClickable: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx index 80adec17a0..d034192f29 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx @@ -8,7 +8,7 @@ import { Button } from '../Button/Button'; import { Pagination } from './Pagination'; const meta: Meta = { - title: 'plasma_b2c/Pagination', + title: 'b2c/Navigation/Pagination', component: Pagination, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Panel/Panel.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Panel/Panel.stories.tsx index 6017c4ea68..eb62b52a81 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Panel/Panel.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Panel/Panel.stories.tsx @@ -13,7 +13,7 @@ import { SSRProvider } from '../../../../components/SSRProvider'; import { Panel, PanelContent, PanelFooter, PanelHeader } from './Panel'; export default { - title: 'plasma_b2c/Panel', + title: 'b2c/Overlay/Panel', decorators: [WithTheme], argTypes: { borderRadius: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Popover/Popover.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Popover/Popover.stories.tsx index 31570dd3ef..37f8924b08 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Popover/Popover.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Popover/Popover.stories.tsx @@ -9,7 +9,7 @@ import { WithTheme } from '../../../_helpers'; import { Popover } from './Popover'; const meta: Meta = { - title: 'plasma_b2c/Popover', + title: 'b2c/Overlay/Popover', decorators: [WithTheme], component: Popover, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Popup/Popup.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Popup/Popup.stories.tsx index 76a479fc89..90fd402462 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Popup/Popup.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Popup/Popup.stories.tsx @@ -10,7 +10,7 @@ import { WithTheme } from '../../../_helpers'; import { Popup, popupClasses, PopupProvider } from './Popup'; const meta: Meta = { - title: 'plasma_b2c/Popup', + title: 'b2c/Overlay/Popup', decorators: [WithTheme], parameters: { docs: { story: { inline: false, iframeHeight: '30rem' } }, diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Portal/Portal.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Portal/Portal.stories.tsx index b1c832afe8..a52999dea7 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Portal/Portal.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Portal/Portal.stories.tsx @@ -9,7 +9,7 @@ import { Body } from '../../../typography/components/Body/Body'; import { Portal } from '../../../../components/Portal'; const meta: Meta = { - title: 'plasma_b2c/Portal', + title: 'b2c/Data Entry/Portal', decorators: [WithTheme], args: { disabled: false, diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Price/Price.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Price/Price.stories.tsx index 6ffa8b03d0..e2ef344f15 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Price/Price.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Price/Price.stories.tsx @@ -9,7 +9,7 @@ import { Price } from './Price'; const currencies = ['rub', 'usd', 'eur', 'inr']; const meta: Meta = { - title: 'plasma_b2c/Price', + title: 'b2c/Data Display/Price', decorators: [WithTheme], argTypes: { currency: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Progress/Progress.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Progress/Progress.stories.tsx index 09f0a67419..83e2c7a770 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Progress/Progress.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Progress/Progress.stories.tsx @@ -9,7 +9,7 @@ import { Progress } from './Progress'; const views = ['default', 'secondary', 'primary', 'accent', 'success', 'warning', 'error']; const meta: Meta = { - title: 'plasma_b2c/Progress', + title: 'b2c/Overlay/Progress', component: Progress, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx index c81ab00291..5ca0cd92ca 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx @@ -16,7 +16,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'plasma_b2c/Radiobox', + title: 'b2c/Data Entry/Radiobox', decorators: [WithTheme], component: Radiobox, argTypes: argTypesFromConfig(mergeConfig(radioboxConfig, config)), diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Range/Range.config.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Range/Range.config.ts index 9f9b20a974..763da3bd4b 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Range/Range.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Range/Range.config.ts @@ -31,6 +31,8 @@ export const config = { ${tokens.textFieldTextBeforeColor}: var(--text-tertiary); ${tokens.textFieldTextAfterColor}: var(--text-tertiary); + ${tokens.indicatorColor}: var(--surface-negative); + ${tokens.focusColor}: var(--text-accent); ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary); `, @@ -50,7 +52,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 1rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.75rem 0; + ${tokens.labelOffset}: 0.75rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-l-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-l-font-style); @@ -81,6 +83,13 @@ export const config = { ${tokens.textFieldRightContentMargin}: -0.0625rem -0.125rem -0.0625rem 0.75rem; ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0; ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem; + + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.5rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; `, m: css` ${tokens.borderRadius}: 0.75rem; @@ -96,7 +105,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.875rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.625rem 0; + ${tokens.labelOffset}: 0.625rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-m-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-m-font-style); @@ -127,6 +136,13 @@ export const config = { ${tokens.textFieldRightContentMargin}: -0.125rem -0.125rem -0.125rem 0.75rem; ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0; ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem; + + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.375rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.6875rem auto auto; `, s: css` ${tokens.borderRadius}: 0.625rem; @@ -142,7 +158,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.75rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.5rem 0; + ${tokens.labelOffset}: 0.5rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-s-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-s-font-style); @@ -173,6 +189,13 @@ export const config = { ${tokens.textFieldRightContentMargin}: -0.1875rem -0.125rem -0.1875rem 0.75rem; ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0; ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem; + + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.3125rem auto auto -0.6875rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; `, xs: css` ${tokens.borderRadius}: 0.5rem; @@ -188,7 +211,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.5rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.375rem 0; + ${tokens.labelOffset}: 0.375rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-xs-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-xs-font-style); @@ -219,6 +242,13 @@ export const config = { ${tokens.textFieldRightContentMargin}: -0.0625rem -0.125rem -0.0625rem 0.75rem; ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0; ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem; + + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.25rem auto auto -0.625rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.125rem -0.6875rem auto auto; `, }, disabled: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Range/Range.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Range/Range.stories.tsx index c4a42333df..4960cadd6b 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Range/Range.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Range/Range.stories.tsx @@ -21,9 +21,10 @@ const onBlurSecondTextfield = action('onBlurSecondTextfield'); const sizes = ['l', 'm', 's', 'xs']; const views = ['default']; const dividers = ['none', 'dash', 'icon']; +const requiredPlacements = ['left', 'right']; const meta: Meta = { - title: 'plasma_b2c/Range', + title: 'b2c/Data Entry/Range', component: Range, decorators: [WithTheme], argTypes: { @@ -39,6 +40,13 @@ const meta: Meta = { type: 'inline-radio', }, }, + requiredPlacement: { + options: requiredPlacements, + control: { + type: 'select', + }, + if: { arg: 'required', truthy: true }, + }, }, }; @@ -161,6 +169,8 @@ export const Default: StoryObj = { secondPlaceholder: 'Заполните поле 2', size: 'l', view: 'default', + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, firstTextfieldTextBefore: 'С', @@ -301,6 +311,8 @@ export const Demo: StoryObj = { secondPlaceholder: '5', size: 'l', view: 'default', + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, firstTextfieldTextBefore: '', diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Rating/Rating.config.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Rating/Rating.config.ts new file mode 100644 index 0000000000..4aa25863a1 --- /dev/null +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Rating/Rating.config.ts @@ -0,0 +1,398 @@ +import { css } from '@linaria/core'; + +import { ratingTokens as tokens } from '../../../../components/Rating'; + +export const config = { + defaults: { + view: 'default', + size: 'l', + }, + variations: { + view: { + default: css` + ${tokens.color}: var(--text-primary); + ${tokens.helperTextColor}: var(--text-secondary); + ${tokens.iconColor}: var(--text-primary); + ${tokens.outlineIconColor}: var(--text-primary); + `, + accent: css` + ${tokens.color}: var(--text-primary); + ${tokens.helperTextColor}: var(--text-secondary); + // TODO: change with token data-yellow, when it will be added to theme + ${tokens.iconColor}: #F3A912; + ${tokens.outlineIconColor}: var(--text-tertiary); + `, + }, + size: { + l: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-l-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-l-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-l-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-l-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-l-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.625rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 1.25rem; + `, + m: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-m-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-m-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-m-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.5rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 1.25rem; + `, + s: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-s-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-s-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-s-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-s-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-s-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.5rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 1rem; + `, + xs: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-xs-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xxs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xxs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xxs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xxs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xxs-line-height); + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.contentGap}: 0.375rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.iconSize}: 0.75rem; + ${tokens.actualIconSize}: 1rem; + ${tokens.scaleFactor}: 0.75; + `, + xxs: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-xxs-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-xxs-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-xxs-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xxs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xxs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xxs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xxs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xxs-line-height); + + ${tokens.contentGap}: 0.375rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 0.75rem; + ${tokens.actualIconSize}: 1rem; + ${tokens.scaleFactor}: 0.75; + `, + h1: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h1-font-family); + ${tokens.fontSize}: var(--plasma-typo-h1-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h1-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h1-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h1-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h1-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-m-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-m-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-m-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-m-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-m-line-height); + + ${tokens.contentGap}: 1rem; + ${tokens.singleIconContentGap}: 0.5rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.25rem; + ${tokens.iconSizeLarge}: 3rem; + ${tokens.iconSizeMedium}: 3rem; + ${tokens.iconSizeSmall}: 2.25rem; + + ${tokens.singleIconMarginBottom}: 0.25rem; + ${tokens.singleIconSizeLarge}: 3rem; + ${tokens.singleIconSizeMedium}: 3rem; + ${tokens.singleIconSizeSmall}: 2.25rem; + `, + h2: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h2-font-family); + ${tokens.fontSize}: var(--plasma-typo-h2-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h2-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h2-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h2-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h2-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-s-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-s-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-s-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-s-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-s-line-height); + + ${tokens.contentGap}: 0.875rem; + ${tokens.singleIconContentGap}: 0.5rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.25rem; + ${tokens.iconSizeLarge}: 2rem; + ${tokens.iconSizeMedium}: 1.75rem; + ${tokens.iconSizeSmall}: 1.5rem; + + ${tokens.singleIconMarginBottom}: 0.25rem; + ${tokens.singleIconSizeLarge}: 2rem; + ${tokens.singleIconSizeMedium}: 1.75rem; + ${tokens.singleIconSizeSmall}: 1.5rem; + `, + h3: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h3-font-family); + ${tokens.fontSize}: var(--plasma-typo-h3-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h3-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h3-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h3-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h3-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.75rem; + ${tokens.singleIconContentGap}: 0.375rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.iconSizeLarge}: 1.75rem; + ${tokens.iconSizeMedium}: 1.5rem; + ${tokens.iconSizeSmall}: 1.25rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.singleIconSizeLarge}: 1.75rem; + ${tokens.singleIconSizeMedium}: 1.5rem; + ${tokens.singleIconSizeSmall}: 1.25rem; + `, + h4: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h4-font-family); + ${tokens.fontSize}: var(--plasma-typo-h4-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h4-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h4-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h4-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h4-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.625rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.iconSizeLarge}: 1.5rem; + ${tokens.iconSizeMedium}: 1.25rem; + ${tokens.iconSizeSmall}: 1.25rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.singleIconSizeLarge}: 1.5rem; + ${tokens.singleIconSizeMedium}: 1.25rem; + ${tokens.singleIconSizeSmall}: 1.25rem; + `, + h5: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h5-font-family); + ${tokens.fontSize}: var(--plasma-typo-h5-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h5-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h5-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h5-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h5-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.625rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.iconSizeLarge}: 1.25rem; + ${tokens.iconSizeMedium}: 1.25rem; + ${tokens.iconSizeSmall}: 1rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.singleIconSizeLarge}: 1.25rem; + ${tokens.singleIconSizeMedium}: 1.25rem; + ${tokens.singleIconSizeSmall}: 1rem; + `, + displayL: css` + ${tokens.gap}: 0.375rem; + + ${tokens.fontFamily}: var(--plasma-typo-dspl-l-font-family); + ${tokens.fontSize}: var(--plasma-typo-dspl-l-font-size); + ${tokens.fontStyle}: var(--plasma-typo-dspl-l-font-style); + ${tokens.fontWeight}: var(--plasma-typo-dspl-l-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-dspl-l-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-dspl-l-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-h3-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-h3-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-h3-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-h3-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-h3-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-h3-line-height); + + ${tokens.contentGap}: 1.5rem; + ${tokens.singleIconContentGap}: 0.75rem; + ${tokens.wrapperGap}: 0.625rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSizeLarge}: 4rem; + ${tokens.iconSizeMedium}: 3rem; + ${tokens.iconSizeSmall}: 2.25rem; + + ${tokens.singleIconMarginBottom}: 0.5rem; + ${tokens.singleIconSizeLarge}: 7.5rem; + ${tokens.singleIconSizeMedium}: 7rem; + ${tokens.singleIconSizeSmall}: 5.5rem; + `, + displayM: css` + ${tokens.gap}: 0.375rem; + + ${tokens.fontFamily}: var(--plasma-typo-dspl-m-font-family); + ${tokens.fontSize}: var(--plasma-typo-dspl-m-font-size); + ${tokens.fontStyle}: var(--plasma-typo-dspl-m-font-style); + ${tokens.fontWeight}: var(--plasma-typo-dspl-m-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-dspl-m-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-dspl-m-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-l-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-l-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-l-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-l-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-l-line-height); + + ${tokens.contentGap}: 1.5rem; + ${tokens.singleIconContentGap}: 0.75rem; + ${tokens.wrapperGap}: 0.5rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSizeLarge}: 3rem; + ${tokens.iconSizeMedium}: 2.25rem; + ${tokens.iconSizeSmall}: 1.75rem; + + ${tokens.singleIconMarginBottom}: 0.5rem; + ${tokens.singleIconSizeLarge}: 5.25rem; + ${tokens.singleIconSizeMedium}: 4.5rem; + ${tokens.singleIconSizeSmall}: 4rem; + `, + displayS: css` + ${tokens.gap}: 0.375rem; + + ${tokens.fontFamily}: var(--plasma-typo-dspl-s-font-family); + ${tokens.fontSize}: var(--plasma-typo-dspl-s-font-size); + ${tokens.fontStyle}: var(--plasma-typo-dspl-s-font-style); + ${tokens.fontWeight}: var(--plasma-typo-dspl-s-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-dspl-s-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-dspl-s-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-l-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-l-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-l-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-l-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-l-line-height); + + ${tokens.contentGap}: 1.5rem; + ${tokens.singleIconContentGap}: 0.75rem; + ${tokens.wrapperGap}: 0.375rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSizeLarge}: 2rem; + ${tokens.iconSizeMedium}: 1.5rem; + ${tokens.iconSizeSmall}: 1.25rem; + + ${tokens.singleIconMarginBottom}: 0.313rem; + ${tokens.singleIconSizeLarge}: 4rem; + ${tokens.singleIconSizeMedium}: 3.5rem; + ${tokens.singleIconSizeSmall}: 2.75rem; + `, + }, + }, +}; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Rating/Rating.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Rating/Rating.stories.tsx new file mode 100644 index 0000000000..b457759c29 --- /dev/null +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Rating/Rating.stories.tsx @@ -0,0 +1,127 @@ +import React, { ComponentProps } from 'react'; +import type { StoryObj, Meta } from '@storybook/react'; +import { disableProps } from '@salutejs/plasma-sb-utils'; + +import { WithTheme } from '../../../_helpers'; +import { IconBlankPdfOutline, IconCross, IconDone } from '../../../../components/_Icon'; +import { ratingClasses } from '../../../../components/Rating'; + +import { Rating } from './Rating'; + +const views = ['default', 'accent']; +const sizes = ['l', 'm', 's', 'xs', 'xxs', 'h1', 'h2', 'h3', 'h4', 'h5', 'displayL', 'displayM', 'displayS']; +const scorePrecision = [1, 2]; +const valuePlacements = ['before', 'after']; +const iconsCount = [1, 5, 10]; +const helperTextStretching = ['fixed', 'filled']; + +const meta: Meta = { + title: 'b2c/Data Display/Rating', + component: Rating, + decorators: [WithTheme], + argTypes: { + view: { + options: views, + control: { + type: 'select', + }, + }, + size: { + options: sizes, + control: { + type: 'select', + }, + }, + value: { + control: { + type: 'number', + }, + }, + precision: { + options: scorePrecision, + control: { + type: 'inline-radio', + }, + if: { arg: 'hasValue', truthy: true }, + }, + valuePlacement: { + options: valuePlacements, + control: { + type: 'inline-radio', + }, + if: { arg: 'hasValue', truthy: true }, + }, + hasIcons: { + control: { + type: 'boolean', + }, + if: { arg: 'hasValue', truthy: true }, + }, + iconQuantity: { + options: iconsCount, + control: { + type: 'inline-radio', + }, + }, + helperTextStretching: { + options: helperTextStretching, + control: { + type: 'inline-radio', + }, + if: { arg: 'helperText', neq: '' }, + }, + ...disableProps(['iconSlot', 'iconSlotOutline', 'iconSlotHalf']), + }, +}; + +export default meta; + +type StoryPropsDefault = ComponentProps & { + hasValue?: boolean; +}; + +export const Default: StoryObj = { + args: { + view: 'default', + size: 'l', + hasValue: true, + value: 3.8, + precision: 1, + valuePlacement: 'before', + hasIcons: true, + iconQuantity: 5, + helperText: 'Helper text', + helperTextStretching: 'filled', + }, + render: ({ hasIcons, hasValue, ...args }) => ( + + ), +}; + +export const CustomIcons: StoryObj = { + argTypes: { + ...disableProps(['size', 'view']), + }, + args: { + view: 'default', + size: 'l', + hasValue: true, + value: 3.8, + precision: 1, + valuePlacement: 'before', + hasIcons: true, + iconQuantity: 5, + helperText: 'Helper text', + helperTextStretching: 'filled', + }, + render: ({ hasIcons, hasValue, ...args }) => ( + } + iconSlotOutline={} + iconSlotHalf={} + {...args} + /> + ), +}; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Rating/Rating.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Rating/Rating.ts new file mode 100644 index 0000000000..1db315245b --- /dev/null +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Rating/Rating.ts @@ -0,0 +1,8 @@ +import { ratingConfig } from '../../../../components/Rating'; +import { component, mergeConfig } from '../../../../engines'; + +import { config } from './Rating.config'; + +const mergedConfig = mergeConfig(ratingConfig, config); + +export const Rating = component(mergedConfig); diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Segment/Segment.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Segment/Segment.stories.tsx index e48d594ad8..1a11f5b2c9 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Segment/Segment.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Segment/Segment.stories.tsx @@ -52,7 +52,7 @@ const getContentRight = (contentRightOption: string, size: Size) => { }; const meta: Meta = { - title: 'plasma_b2c/Segment', + title: 'b2c/Data Entry/Segment', decorators: [WithTheme], component: SegmentGroup, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Select/Select.config.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Select/Select.config.ts index 73331ce5cf..6d536e350c 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Select/Select.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Select/Select.config.ts @@ -295,8 +295,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.5rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.75rem; - ${tokens.textFieldChipPaddingRight}: 0.75rem; - ${tokens.textFieldChipPaddingLeft}: 1rem; + ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.5rem; @@ -404,8 +403,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.375rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.25rem; - ${tokens.textFieldChipPaddingRight}: 0.625rem; - ${tokens.textFieldChipPaddingLeft}: 0.875rem; + ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.25rem; @@ -513,8 +511,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.25rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.75rem; - ${tokens.textFieldChipPaddingRight}: 0.5rem; - ${tokens.textFieldChipPaddingLeft}: 0.75rem; + ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1rem; @@ -622,8 +619,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.125rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.25rem; - ${tokens.textFieldChipPaddingRight}: 0.375rem; - ${tokens.textFieldChipPaddingLeft}: 0.625rem; + ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 0.75rem; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Select/Select.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Select/Select.stories.tsx index 45052f54fc..2ad2636799 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Select/Select.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Select/Select.stories.tsx @@ -20,7 +20,7 @@ const chip = ['default', 'secondary', 'accent']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'plasma_b2c/Select', + title: 'b2c/Data Entry/Select', decorators: [WithTheme], component: Select, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx index 4f4cca0340..f49d146bf1 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx @@ -10,7 +10,7 @@ import { Body } from '../../../typography/components/Body/Body'; import { Sheet } from './Sheet'; const meta: Meta = { - title: 'plasma_b2c/Sheet', + title: 'b2c/Overlay/Select', decorators: [WithTheme], args: { withBlur: false, diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx index 122b1070cf..94583a178d 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx @@ -18,7 +18,7 @@ type StoryRectSkeletonProps = ComponentProps; type BasicButtonProps = ComponentProps; const meta: Meta = { - title: 'plasma_b2c/Skeleton', + title: 'b2c/Data Display/Skeleton', decorators: [WithTheme], }; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Slider/Slider.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Slider/Slider.stories.tsx index dcf79e4e9c..b0c2a64aa0 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Slider/Slider.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Slider/Slider.stories.tsx @@ -16,9 +16,10 @@ const sliderAligns = ['center', 'left', 'right', 'none']; const labelPlacements = ['top', 'left']; const scaleAligns = ['side', 'bottom']; const orientations: Array = ['vertical', 'horizontal']; +const visibility = ['always', 'hover']; const meta: Meta = { - title: 'plasma_b2c/Slider', + title: 'b2c/Data Entry/Slider', component: Slider, decorators: [WithTheme], argTypes: { @@ -155,11 +156,24 @@ export const Default: StorySingle = { }, if: { arg: 'orientation', eq: 'vertical' }, }, + pointerVisibility: { + options: visibility, + control: { + type: 'inline-radio', + }, + }, + currentValueVisibility: { + options: visibility, + control: { + type: 'inline-radio', + }, + }, }, args: { view: 'default', size: 'm', pointerSize: 'small', + pointerVisibility: 'always', min: 0, max: 100, orientation: 'horizontal', @@ -171,6 +185,7 @@ export const Default: StorySingle = { scaleAlign: 'bottom', showScale: true, showCurrentValue: false, + currentValueVisibility: 'always', showIcon: true, reversed: false, labelReversed: false, diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx index 91f8849056..48c26e95a0 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx @@ -10,7 +10,7 @@ import { config } from './Spinner.config'; import { Spinner } from './Spinner'; const meta: Meta = { - title: 'plasma_b2c/Spinner', + title: 'b2c/Data Display/Spinner', decorators: [WithTheme], component: Spinner, args: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Steps/Steps.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Steps/Steps.stories.tsx index f8c0f60039..49046ab4e1 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Steps/Steps.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Steps/Steps.stories.tsx @@ -10,7 +10,7 @@ import { StepItemProps } from '../../../../components/Steps/ui'; import { Steps, mergedConfig } from './Steps'; const meta: Meta = { - title: 'plasma_b2c/Steps', + title: 'b2c/Navigation/Steps', decorators: [WithTheme], component: Steps, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Switch/Switch.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Switch/Switch.stories.tsx index a160edc199..2fc2dd34a7 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Switch/Switch.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Switch/Switch.stories.tsx @@ -14,7 +14,7 @@ import { Switch, SwitchOutline } from './Switch'; type SwitchProps = ComponentProps; const meta: Meta = { - title: 'plasma_b2c/Switch', + title: 'b2c/Data Entry/Switch', decorators: [WithTheme], component: Switch, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx index 35123ac7d7..51039ef491 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx @@ -56,7 +56,7 @@ type HorizontalStoryTabsProps = StoryTabsProps & { width: string }; type VerticalStoryTabsProps = StoryTabsProps & { height: string }; const meta: Meta = { - title: 'plasma_b2c/Tabs', + title: 'b2c/Navigation/Tabs', component: Tabs, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx index 253164a489..581def71a8 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx @@ -44,7 +44,7 @@ type StoryTextAreaPropsCustom = { type StoryTextAreaProps = ComponentProps & StoryTextAreaPropsCustom; const meta: Meta = { - title: 'plasma_b2c/TextArea', + title: 'b2c/Data Entry/TextArea', decorators: [WithTheme], component: TextArea, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextField/TextField.config.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextField/TextField.config.ts index 47a484c5f8..d29d31292e 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextField/TextField.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextField/TextField.config.ts @@ -194,8 +194,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.75rem; - ${tokens.chipPaddingRight}: 0.75rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 0.75rem 0 1rem; ${tokens.chipClearContentMarginLeft}: 0.625rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.5rem; @@ -270,8 +269,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.25rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.625rem 0 0.875rem; ${tokens.chipClearContentMarginLeft}: 0.5rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.25rem; @@ -346,8 +344,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.25rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.75rem; - ${tokens.chipPaddingRight}: 0.5rem; - ${tokens.chipPaddingLeft}: 0.75rem; + ${tokens.chipPadding}: 0 0.5rem 0 0.75rem; ${tokens.chipClearContentMarginLeft}: 0.375rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1rem; @@ -422,8 +419,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.125rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.25rem; - ${tokens.chipPaddingRight}: 0.375rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.375rem 0 0.625rem; ${tokens.chipClearContentMarginLeft}: 0.25rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 0.75rem; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextField/TextField.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextField/TextField.stories.tsx index 6a87f8239a..ad3a71a129 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextField/TextField.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextField/TextField.stories.tsx @@ -43,7 +43,7 @@ const placements: Array = [ ]; const meta: Meta = { - title: 'plasma_b2c/TextField', + title: 'b2c/Data Entry/TextField', component: TextField, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.config.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.config.ts index b898dff4fe..67bf83134e 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.config.ts @@ -53,8 +53,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.75rem; - ${tokens.chipPaddingRight}: 0.75rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 0.75rem 0 1rem; ${tokens.chipClearContentMarginLeft}: 0.625rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.5rem; @@ -110,8 +109,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.25rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.625rem 0 0.875rem; ${tokens.chipClearContentMarginLeft}: 0.5rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.25rem; @@ -167,8 +165,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.25rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.75rem; - ${tokens.chipPaddingRight}: 0.5rem; - ${tokens.chipPaddingLeft}: 0.75rem; + ${tokens.chipPadding}: 0 0.5rem 0 0.75rem; ${tokens.chipClearContentMarginLeft}: 0.375rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1rem; @@ -224,8 +221,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.125rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.25rem; - ${tokens.chipPaddingRight}: 0.375rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.375rem 0 0.625rem; ${tokens.chipClearContentMarginLeft}: 0.25rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 0.75rem; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx index eed9642bea..91cda6b4ec 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx @@ -23,7 +23,7 @@ const shapeValues = ['segmented', 'default']; const stretchingValues = ['auto', 'filled']; const meta: Meta = { - title: 'plasma_b2c/TextFieldGroup', + title: 'b2c/Data Entry/TextFieldGroup', decorators: [WithTheme], argTypes: { size: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Toast/Toast.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Toast/Toast.stories.tsx index f0f9fd33a9..4cdd56c46d 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Toast/Toast.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Toast/Toast.stories.tsx @@ -17,7 +17,7 @@ import { config } from './Toast.config'; import { Toast, ToastController, ToastProvider, useToast } from './Toast'; const meta: Meta = { - title: 'plasma_b2c/Toast', + title: 'b2c/Overlay/Toast', decorators: [WithTheme], }; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tokens/Tokens.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tokens/Tokens.stories.tsx new file mode 100644 index 0000000000..710deab379 --- /dev/null +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tokens/Tokens.stories.tsx @@ -0,0 +1,129 @@ +import React from 'react'; +import type { StoryObj, Meta } from '@storybook/react'; +import { plasma_b2c__dark, plasma_b2c__light } from '@salutejs/plasma-themes/es/themes'; +import { InSpacingDecorator, getGroupedTokens } from '@salutejs/plasma-sb-utils'; +import type { GroupedTokens } from '@salutejs/plasma-sb-utils'; + +import { Accordion } from '../Accordion/Accordion'; +import { ToastProvider, useToast } from '../Toast/Toast'; +import type { ShowToastArgs } from '../../../../components/Toast'; + +import { + AccordionInfo, + Category, + CategoryContainer, + ColorCircle, + ColumnTitle, + OpacityPart, + StyledAccordionItem, + Subcategory, + TokenInfo, + TokenInfoWrapper, +} from './Tokens.styles'; + +const meta: Meta = { + title: 'b2c/Colors', + decorators: [InSpacingDecorator], +}; + +export default meta; + +const themes: Record = { + light: getGroupedTokens(plasma_b2c__light[0]), + dark: getGroupedTokens(plasma_b2c__dark[0]), +}; + +const StoryDemo = ({ context }) => { + const groupedTokens = themes[context.globals.theme]; + const { showToast } = useToast(); + const toastData = { + view: 'default', + size: 'm', + hasClose: true, + fade: false, + position: 'bottom', + offset: 0, + timeout: 3000, + role: 'alert', + } as ShowToastArgs; + + const copyToClipboard = async (value: string, opacity?: string | null) => { + try { + await navigator.clipboard.writeText(value + (opacity || '')); + + showToast({ + ...toastData, + text: 'Скопировано', + }); + } catch (err) { + showToast({ + ...toastData, + text: 'Ошибка при копировании текста', + }); + } + }; + + if (!groupedTokens) { + return null; + } + + return ( + <> + {Object.entries(groupedTokens).map(([category, value]) => ( + + {category} + + {Object.entries(value).map(([subcategory, value2], index) => ( + + {subcategory}/ + + + Color + + Opacity + + } + > + + {Object.entries(value2).map(([token, { value: value3, opacity }]) => ( + + copyToClipboard(token)}> + {token} + + copyToClipboard(value3, opacity?.alpha)} + > + +
+ {value3.includes('gradient') ? 'Градиент' : value3} + {opacity && {opacity.alpha}} +
+
+ {opacity && ( + {opacity.parsedAlpha} + )} +
+ ))} +
+
+ ))} +
+
+ ))} + + ); +}; + +export const Default: StoryObj = { + render: (_, context) => ( + + + + ), +}; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tokens/Tokens.styles.ts b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tokens/Tokens.styles.ts new file mode 100644 index 0000000000..422faf18e6 --- /dev/null +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tokens/Tokens.styles.ts @@ -0,0 +1,132 @@ +import { styled } from '@linaria/react'; + +import { AccordionItem } from '../Accordion/Accordion'; +import { h2 } from '../../../../mixins'; + +export const CategoryContainer = styled.div` + margin-bottom: 1.875rem; +`; + +export const Category = styled.h2` + margin: 0 0 1.125rem 1.5rem; + + ${h2}; +`; + +export const AccordionInfo = styled.div` + display: grid; + grid-template-columns: 18rem 7.938rem 3.813rem; + grid-column-gap: 1.5rem; + + font-family: var(--plasma-typo-body-m-font-family); + font-size: var(--plasma-typo-body-m-font-size); + font-style: var(--plasma-typo-body-m-font-style); + font-weight: var(--plasma-typo-body-m-font-weight); + letter-spacing: var(--plasma-typo-body-m-letter-spacing); + line-height: var(--plasma-typo-body-m-line-height); +`; + +export const Subcategory = styled.div` + color: var(--text-secondary); +`; + +export const ColumnTitle = styled.div` + color: var(--text-tertiary); + transition: opacity 0.2s; + + &.color { + display: flex; + align-items: center; + gap: 0.5rem; + } +`; + +export const StyledAccordionItem = styled(AccordionItem)` + --plasma-accordion-item-padding: 0; + --plasma-accordion-item-padding-vertical: 0; + + border-bottom: unset; + width: max-content; + + div > div > div > svg { + color: var(--text-secondary); + } + + .accordion-item-body { + margin-bottom: 1.125rem; + padding-top: 0.125rem; + transition: margin-bottom 0.2s, padding-top 0.2s; + } + + [aria-expanded] { + margin-bottom: 1rem; + } + + [aria-expanded='false'] { + ${AccordionInfo} ${ColumnTitle} { + opacity: 0; + } + } + + [aria-expanded='false'] + div > .accordion-item-body { + margin: 0; + padding: 0; + } +`; + +export const TokenInfoWrapper = styled.div` + display: flex; + flex-direction: column; + gap: 0.75rem; + margin-top: -0.125rem; +`; + +export const OpacityPart = styled.span` + color: var(--text-secondary); + padding-left: 0.125rem; +`; + +export const TokenInfo = styled.div` + color: var(--text-paragraph); + + cursor: default; + + &.copy { + cursor: copy; + } + + &.color { + display: flex; + align-items: center; + gap: 0.5rem; + } + + &.opacity { + text-align: right; + } + + &:not(.opacity):hover { + color: var(--text-paragraph-hover); + + ${OpacityPart} { + color: var(--text-paragraph-hover); + } + } + + &:not(.opacity):active { + color: var(--text-paragraph-active); + + ${OpacityPart} { + color: var(--text-secondary-active); + } + } +`; + +export const ColorCircle = styled.div<{ background?: string; disableShadow?: boolean }>` + width: 1.25rem; + height: 1.25rem; + border-radius: 50%; + + background: ${(props) => props.background || 'transparent'}; + box-shadow: ${(props) => (props.disableShadow ? 'none' : 'inset 0px 0px 0px 1px rgba(8, 8, 8, 0.12)')}; +`; diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx index 3f0450ec07..fc6d547854 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx @@ -25,7 +25,7 @@ const ToolbarWrapper = (props: ComponentProps) => { }; const meta: Meta = { - title: 'plasma_b2c/Toolbar', + title: 'b2c/Overlay/Toolbar', component: ToolbarWrapper, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx index 316984b4ff..6729dffd8f 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx @@ -1,6 +1,7 @@ import React, { useState } from 'react'; import { styled } from '@linaria/react'; import type { StoryObj, Meta } from '@storybook/react'; +import { disableProps } from '@salutejs/plasma-sb-utils'; import { WithTheme } from '../../../_helpers'; import { Button } from '../Button/Button'; @@ -30,10 +31,30 @@ const placements: Array = [ 'auto', ]; +const disabledProps = [ + 'target', + 'children', + 'text', + 'opened', + 'isOpen', + 'isVisible', + 'offset', + 'frame', + 'view', + 'zIndex', + 'minWidth', + 'maxWidth', + 'contentLeft', + 'onDismiss', +]; + const meta: Meta = { - title: 'plasma_b2c/Tooltip', + title: 'b2c/Overlay/Tooltip', decorators: [WithTheme], component: Tooltip, + argTypes: { + ...disableProps(['isVisible', 'isOpen', 'onDismiss']), + }, parameters: { docs: { story: { inline: false, iframeHeight: '20rem' } }, }, @@ -48,7 +69,7 @@ const StyledGrid = styled.div` padding: 3.5rem; `; -const StoryDefault = ({ size }: TooltipProps) => { +const StoryDefault = (args: TooltipProps) => { return ( { Btn} placement="left" - size={size} + {...args} opened hasArrow text="left" @@ -64,7 +85,7 @@ const StoryDefault = ({ size }: TooltipProps) => { /> } placement="top-start" - size={size} + {...args} opened hasArrow text="top-start" @@ -73,7 +94,7 @@ const StoryDefault = ({ size }: TooltipProps) => { Btn} placement="top" - size={size} + {...args} opened hasArrow text="top" @@ -84,7 +105,7 @@ const StoryDefault = ({ size }: TooltipProps) => { Btn} placement="right" - size={size} + {...args} opened hasArrow text="right" @@ -92,7 +113,7 @@ const StoryDefault = ({ size }: TooltipProps) => { /> } placement="top-end" - size={size} + {...args} opened hasArrow text="top-end" @@ -101,7 +122,7 @@ const StoryDefault = ({ size }: TooltipProps) => { Btn} placement="bottom-start" - size={size} + {...args} opened hasArrow text="bottom-start" @@ -110,7 +131,7 @@ const StoryDefault = ({ size }: TooltipProps) => { Btn} placement="bottom" - size={size} + {...args} opened hasArrow text="bottom" @@ -119,7 +140,7 @@ const StoryDefault = ({ size }: TooltipProps) => { Btn} placement="bottom-end" - size={size} + {...args} opened hasArrow text="bottom-end" @@ -137,8 +158,14 @@ export const Default: StoryObj = { type: 'select', }, }, + ...disableProps([...disabledProps, 'placement']), }, args: { + maxWidth: 10, + minWidth: 3, + hasArrow: true, + usePortal: false, + animated: true, size: 'm', }, render: (args) => , @@ -147,7 +174,7 @@ export const Default: StoryObj = { const StyledRow = styled.div` display: flex; width: 150vw; - height: 150vh; + height: auto; padding: 10rem; `; @@ -170,7 +197,6 @@ const StoryLive = (args: TooltipProps) => { {...args} id="example-tooltip-firstname" text={text} - opened frame="theme-root" /> @@ -193,6 +219,12 @@ export const Live: StoryObj = { type: 'select', }, }, + trigger: { + options: ['click', 'hover', 'none'], + control: { + type: 'select', + }, + }, }, args: { placement: 'bottom', diff --git a/packages/plasma-new-hope/src/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx index 68b325ef38..67fa95023f 100644 --- a/packages/plasma-new-hope/src/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx @@ -10,7 +10,7 @@ import { ViewContainer } from './ViewContainer'; type StoryViewProps = ComponentProps; const meta: Meta = { - title: 'plasma_b2c/ViewContainer', + title: 'b2c/Data Display/ViewContainer', }; export default meta; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Accordion/Accordion.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Accordion/Accordion.stories.tsx index ee7a411a11..7e77a8bc9f 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Accordion/Accordion.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Accordion/Accordion.stories.tsx @@ -24,7 +24,7 @@ type AccordionItemCustomProps = { type AccordionProps = ComponentProps & AccordionItemCustomProps; const meta: Meta = { - title: 'plasma_web/Accordion', + title: 'web/Data Display/Accordion', decorators: [WithTheme], component: Accordion, args: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Attach/Attach.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Attach/Attach.stories.tsx index a37fea4edc..9752ccb937 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Attach/Attach.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Attach/Attach.stories.tsx @@ -47,7 +47,7 @@ type StoryAttachProps = ComponentProps & { }; const meta: Meta = { - title: 'plasma_web/Attach', + title: 'web/Data Entry/Attach', decorators: [WithTheme], component: Attach, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx index 4b2a27296d..f430a32a8e 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx @@ -70,7 +70,7 @@ type StoryProps = ComponentProps & { }; const meta: Meta = { - title: 'plasma_web/Autocomplete', + title: 'web/Data Entry/Autocomplete', decorators: [WithTheme], component: Autocomplete, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Avatar/Avatar.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Avatar/Avatar.stories.tsx index 800b22fd64..e95bd432be 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Avatar/Avatar.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Avatar/Avatar.stories.tsx @@ -7,7 +7,7 @@ import { argTypesFromConfig, WithTheme } from '../../../_helpers'; import { Avatar, mergedConfig } from './Avatar'; const meta: Meta = { - title: 'plasma_web/Avatar', + title: 'web/Data Display/Avatar', decorators: [WithTheme], component: Avatar, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx index df18b519ee..756c923033 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx @@ -10,7 +10,7 @@ import { AvatarGroup } from './AvatarGroup'; type Story = StoryObj>; const meta: Meta = { - title: 'plasma_web/AvatarGroup', + title: 'web/Data Display/AvatarGroup', decorators: [WithTheme], component: AvatarGroup, }; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Badge/Badge.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Badge/Badge.stories.tsx index ae2e8ade88..1109d949ca 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Badge/Badge.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Badge/Badge.stories.tsx @@ -7,7 +7,7 @@ import { WithTheme } from '../../../_helpers'; import { Badge } from './Badge'; const meta: Meta = { - title: 'plasma_web/Badge', + title: 'web/Data Display/Badge', component: Badge, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx index 3b11678219..2448c5f7de 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx @@ -13,7 +13,7 @@ import { Breadcrumbs } from './Breadcrumbs'; type BreadcrumbsProps = ComponentProps; const meta: Meta = { - title: 'plasma_web/Breadcrumbs', + title: 'web/Navigation/Breadcrumbs', decorators: [WithTheme], component: Breadcrumbs, args: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Button/Button.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Button/Button.stories.tsx index 6a889e6d5b..37f76c5812 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Button/Button.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Button/Button.stories.tsx @@ -24,7 +24,7 @@ const pinValues = [ const contentPlacinValues = ['default', 'relaxed']; const meta: Meta = { - title: 'plasma_web/Button', + title: 'web/Data Entry/Button', decorators: [WithTheme], component: Button, args: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx index e8c1bce646..5a8d6036c0 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx @@ -19,7 +19,7 @@ const shapeValues = ['segmented', 'default']; const stretchingValues = ['auto', 'filled']; const meta: Meta = { - title: 'plasma_web/ButtonGroup', + title: 'web/Data Entry/ButtonGroup', decorators: [WithTheme], argTypes: { size: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Calendar/Calendar.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Calendar/Calendar.stories.tsx index 6a0a0b8f40..6a476f6aa7 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Calendar/Calendar.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Calendar/Calendar.stories.tsx @@ -13,7 +13,7 @@ import { Calendar, CalendarBase, CalendarBaseRange, CalendarDouble, CalendarDoub const onChangeValue = action('onChangeValue'); const meta: Meta = { - title: 'plasma_web/Calendar', + title: 'web/Data Entry/Calendar', decorators: [WithTheme], argTypes: { min: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Cell/Cell.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Cell/Cell.stories.tsx index 6e00ec9b6d..09412fdb93 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Cell/Cell.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Cell/Cell.stories.tsx @@ -33,7 +33,7 @@ const getSize = (size: SizesCell): SizesAvatar => { }; const meta: Meta = { - title: 'plasma_web/Cell', + title: 'web/Data Display/Cell', decorators: [WithTheme], argTypes: { size: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx index 6254c10483..6a09f89bd7 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx @@ -16,7 +16,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'plasma_web/Checkbox', + title: 'web/Data Entry/Checkbox', decorators: [WithTheme], component: Checkbox, argTypes: argTypesFromConfig(mergeConfig(checkboxConfig, config)), diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Chip/Chip.config.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/Chip/Chip.config.ts index 3a2886ea0f..d3955c7abb 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Chip/Chip.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Chip/Chip.config.ts @@ -89,8 +89,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1.5rem; ${chipTokens.width}: auto; ${chipTokens.height}: 3rem; - ${chipTokens.paddingRight}: 1rem; - ${chipTokens.paddingLeft}: 1rem; + ${chipTokens.padding}: 0 1rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-l-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-l-font-size); @@ -114,8 +113,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1.25rem; ${chipTokens.width}: auto; ${chipTokens.height}: 2.5rem; - ${chipTokens.paddingRight}: 0.875rem; - ${chipTokens.paddingLeft}: 0.875rem; + ${chipTokens.padding}: 0 0.875rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-m-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-m-font-size); @@ -139,8 +137,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1rem; ${chipTokens.width}: auto; ${chipTokens.height}: 2rem; - ${chipTokens.paddingRight}: 0.875rem; - ${chipTokens.paddingLeft}: 0.875rem; + ${chipTokens.padding}: 0 0.875rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-s-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-s-font-size); @@ -164,8 +161,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 0.75rem; ${chipTokens.width}: auto; ${chipTokens.height}: 1.5rem; - ${chipTokens.paddingRight}: 0.625rem; - ${chipTokens.paddingLeft}: 0.625rem; + ${chipTokens.padding}: 0 0.625rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-xs-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-xs-font-size); diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Chip/Chip.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Chip/Chip.stories.tsx index 1e5d1e3fb5..27c4d05fa1 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Chip/Chip.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Chip/Chip.stories.tsx @@ -13,7 +13,7 @@ const views = ['default', 'accent', 'secondary', 'positive', 'warning', 'negativ const sizes = ['l', 'm', 's', 'xs']; const meta: Meta = { - title: 'plasma_web/Chip', + title: 'web/Data Display/Chip', decorators: [WithTheme], component: Chip, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/ChipGroup /ChipGroup.config.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/ChipGroup /ChipGroup.config.ts index db4c6e177b..a77ddf31f8 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/ChipGroup /ChipGroup.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/ChipGroup /ChipGroup.config.ts @@ -39,8 +39,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.75rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 3rem; - ${tokens.chipPaddingRight}: 1rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 1rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-l-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-l-font-size); @@ -63,8 +62,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.625rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.5rem; - ${tokens.chipPaddingRight}: 0.875rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.875rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-m-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-m-font-size); @@ -87,8 +85,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2rem; - ${tokens.chipPaddingRight}: 0.875rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.875rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-s-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-s-font-size); @@ -111,8 +108,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.5rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.625rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-xs-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-xs-font-size); diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx index 85a74024ce..e08f105aa8 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx @@ -16,7 +16,7 @@ const sizes = ['l', 'm', 's', 'xs']; const gapValues = ['dense', 'wide']; const meta: Meta = { - title: 'plasma_web/ChipGroup', + title: 'web/Data Display/ChipGroup', decorators: [WithTheme], argTypes: { size: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Combobox.config.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Combobox.config.ts index 6f5f924690..65de21fcb6 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Combobox.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Combobox.config.ts @@ -249,8 +249,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.5rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.75rem; - ${tokens.textFieldChipPaddingRight}: 0.75rem; - ${tokens.textFieldChipPaddingLeft}: 1rem; + ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.5rem; @@ -356,8 +355,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.375rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.25rem; - ${tokens.textFieldChipPaddingRight}: 0.625rem; - ${tokens.textFieldChipPaddingLeft}: 0.875rem; + ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.25rem; @@ -463,8 +461,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.25rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.75rem; - ${tokens.textFieldChipPaddingRight}: 0.5rem; - ${tokens.textFieldChipPaddingLeft}: 0.75rem; + ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1rem; @@ -570,8 +567,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.125rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.25rem; - ${tokens.textFieldChipPaddingRight}: 0.375rem; - ${tokens.textFieldChipPaddingLeft}: 0.625rem; + ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 0.75rem; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Combobox.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Combobox.stories.tsx index 6ad5282960..852e075faf 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Combobox.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Combobox.stories.tsx @@ -17,7 +17,7 @@ const labelPlacement = ['inner', 'outer']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'plasma_web/Combobox', + title: 'web/Data Entry/Combobox', decorators: [WithTheme], component: Combobox, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Legacy/Combobox.config.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Legacy/Combobox.config.ts index 061e4bde7b..63d5bdb79c 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Legacy/Combobox.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Legacy/Combobox.config.ts @@ -44,8 +44,7 @@ export const config = { ${comboboxTokens.chipBorderRadius}: 0.125rem; ${comboboxTokens.chipWidth}: auto; ${comboboxTokens.chipHeight}: 1.25rem; - ${comboboxTokens.chipPaddingRight}: 0.375rem; - ${comboboxTokens.chipPaddingLeft}: 0.625rem; + ${comboboxTokens.chipPadding}: 0 0.375rem 0 0.625rem; ${comboboxTokens.chipClearContentMarginLeft}: 0.25rem; ${comboboxTokens.chipClearContentMarginRight}: 0rem; ${comboboxTokens.chipCloseIconSize}: 0.75rem; @@ -113,8 +112,7 @@ export const config = { ${comboboxTokens.chipBorderRadius}: 0.25rem; ${comboboxTokens.chipWidth}: auto; ${comboboxTokens.chipHeight}: 1.75rem; - ${comboboxTokens.chipPaddingRight}: 0.5rem; - ${comboboxTokens.chipPaddingLeft}: 0.75rem; + ${comboboxTokens.chipPadding}: 0 0.5rem 0 0.75rem; ${comboboxTokens.chipClearContentMarginLeft}: 0.375rem; ${comboboxTokens.chipClearContentMarginRight}: 0rem; ${comboboxTokens.chipCloseIconSize}: 0.75rem; @@ -182,8 +180,7 @@ export const config = { ${comboboxTokens.chipBorderRadius}: 0.375rem; ${comboboxTokens.chipWidth}: auto; ${comboboxTokens.chipHeight}: 2.25rem; - ${comboboxTokens.chipPaddingRight}: 0.875rem; - ${comboboxTokens.chipPaddingLeft}: 0.625rem; + ${comboboxTokens.chipPadding}: 0 0.875rem 0 0.625rem; ${comboboxTokens.chipClearContentMarginLeft}: 0.5rem; ${comboboxTokens.chipClearContentMarginRight}: 0rem; ${comboboxTokens.chipCloseIconSize}: 1rem; @@ -251,8 +248,7 @@ export const config = { ${comboboxTokens.chipBorderRadius}: 0.5rem; ${comboboxTokens.chipWidth}: auto; ${comboboxTokens.chipHeight}: 2.75rem; - ${comboboxTokens.chipPaddingRight}: 0.75rem; - ${comboboxTokens.chipPaddingLeft}: 1rem; + ${comboboxTokens.chipPadding}: 0 0.75rem 0 1rem; ${comboboxTokens.chipClearContentMarginLeft}: 0.625rem; ${comboboxTokens.chipClearContentMarginRight}: 0rem; ${comboboxTokens.chipCloseIconSize}: 1rem; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx index a8b6a8dfd7..520e55392c 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx @@ -25,7 +25,7 @@ type StorySelectPropsCustom = { type StorySelectProps = ComponentProps & StorySelectPropsCustom; const meta: Meta = { - title: 'plasma_web/Combobox', + title: 'web/Data Entry/Combobox', decorators: [WithTheme], component: Combobox, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Counter/Counter.config.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/Counter/Counter.config.ts index 525e95c664..7ba73b108f 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Counter/Counter.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Counter/Counter.config.ts @@ -42,8 +42,7 @@ export const config = { l: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.75rem; - ${counterTokens.paddingRight}: 0.625rem; - ${counterTokens.paddingLeft}: 0.625rem; + ${counterTokens.padding}: 0 0.625rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-s-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-s-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-s-font-style); @@ -54,8 +53,7 @@ export const config = { m: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.5rem; - ${counterTokens.paddingRight}: 0.5rem; - ${counterTokens.paddingLeft}: 0.5rem; + ${counterTokens.padding}: 0 0.5rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xs-font-style); @@ -66,8 +64,7 @@ export const config = { s: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.25rem; - ${counterTokens.paddingRight}: 0.375rem; - ${counterTokens.paddingLeft}: 0.375rem; + ${counterTokens.padding}: 0 0.375rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); @@ -78,8 +75,7 @@ export const config = { xs: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1rem; - ${counterTokens.paddingRight}: 0.25rem; - ${counterTokens.paddingLeft}: 0.25rem; + ${counterTokens.padding}: 0 0.25rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); @@ -90,8 +86,7 @@ export const config = { xxs: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 0.75rem; - ${counterTokens.paddingRight}: 0.125rem; - ${counterTokens.paddingLeft}: 0.125rem; + ${counterTokens.padding}: 0 0.125rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Counter/Counter.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Counter/Counter.stories.tsx index dcb4fafa8b..9a5caece3e 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Counter/Counter.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Counter/Counter.stories.tsx @@ -9,7 +9,7 @@ const sizes = ['l', 'm', 's', 'xs', 'xxs']; const views = ['default', 'accent', 'positive', 'warning', 'negative', 'dark', 'light']; const meta: Meta = { - title: 'plasma_web/Counter', + title: 'web/Data Display/Counter', component: Counter, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/DatePicker/DatePicker.config.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/DatePicker/DatePicker.config.ts index 2d7d84d8ab..5103a557f3 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/DatePicker/DatePicker.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/DatePicker/DatePicker.config.ts @@ -32,6 +32,8 @@ export const config = { ${tokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelInnerLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorColor}: var(--surface-negative); + ${tokens.textFieldBorderColorFocus}: var(--surface-accent); ${tokens.textFieldBorderColorError}: var(--surface-negative); ${tokens.textFieldBorderColorErrorFocus}: var(--surface-accent); @@ -90,7 +92,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 1rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.75rem 0; + ${tokens.labelOffset}: 0.75rem; ${tokens.labelInnerPadding}: 0.5625rem 0 0.125rem 0; ${tokens.contentLabelInnerPadding}: 1.5625rem 0 0.5625rem 0; @@ -101,6 +103,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-l-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.5rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 3.5rem; ${tokens.textFieldBorderRadius}: 0.875rem; ${tokens.textFieldBorderWidth}: 0.0625rem; @@ -229,6 +238,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-m-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.375rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 3rem; ${tokens.textFieldBorderRadius}: 0.75rem; ${tokens.textFieldBorderWidth}: 0.0625rem; @@ -356,6 +372,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.3125rem auto auto -0.6875rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 2.5rem; ${tokens.textFieldBorderRadius}: 0.625rem; ${tokens.textFieldBorderWidth}: 0.0625rem; @@ -483,6 +506,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.25rem auto auto -0.625rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.125rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 2rem; ${tokens.textFieldBorderRadius}: 0.5rem; ${tokens.textFieldBorderWidth}: 0.0625rem; @@ -594,6 +624,7 @@ export const config = { true: css` ${tokens.backgroundReadOnly}: var(--surface-clear); ${tokens.borderColorReadOnly}: var(--surface-transparent-tertiary); + ${tokens.textFieldBorderColorReadOnly}: var(--surface-transparent-tertiary); ${tokens.labelColorReadOnly}: var(--text-secondary); ${tokens.leftHelperColorReadOnly}: var(--text-secondary); ${tokens.dividerColorReadOnly}: var(--text-secondary); diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx index 5a22622bd1..b16d459213 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx @@ -20,9 +20,10 @@ const sizes = ['l', 'm', 's', 'xs']; const views = ['default']; const dividers = ['none', 'dash', 'icon']; const labelPlacements = ['outer', 'inner']; +const requiredPlacements = ['left', 'right']; const meta: Meta = { - title: 'plasma_web/DatePicker', + title: 'web/Data Entry/DatePicker', decorators: [WithTheme], argTypes: { view: { @@ -53,6 +54,13 @@ const meta: Meta = { type: 'inline-radio', }, }, + requiredPlacement: { + options: requiredPlacements, + control: { + type: 'select', + }, + if: { arg: 'required', truthy: true }, + }, }, }; @@ -130,6 +138,8 @@ export const Default: StoryObj = { min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, textBefore: '', @@ -271,6 +281,8 @@ export const Range: StoryObj = { min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, enableContentLeft: true, @@ -365,6 +377,8 @@ export const Deferred: StoryObj = { min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, textBefore: '', diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Divider/Divider.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Divider/Divider.stories.tsx index 5dc2595d13..57425e651d 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Divider/Divider.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Divider/Divider.stories.tsx @@ -9,7 +9,7 @@ import { bodyS } from '../../../../mixins'; import { Divider } from './Divider'; const meta: Meta = { - title: 'plasma_web/Divider', + title: 'web/Data Display/Divider', decorators: [WithTheme], argTypes: { orientation: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Drawer/Drawer.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Drawer/Drawer.stories.tsx index 54111e9ef4..bcf8587a69 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Drawer/Drawer.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Drawer/Drawer.stories.tsx @@ -14,7 +14,7 @@ import type { ClosePlacementType } from '../../../../components/Drawer'; import { Drawer, DrawerContent, DrawerFooter, DrawerHeader } from './Drawer'; export default { - title: 'plasma_web/Drawer', + title: 'web/Overlay/Divider', decorators: [WithTheme], argTypes: { placement: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx index 6c3de071a1..f9d0c544d2 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx @@ -17,7 +17,7 @@ const size = ['xs', 's', 'm', 'l']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'plasma_web/Dropdown', + title: 'web/Data Entry/Dropdown', decorators: [WithTheme], component: Dropdown, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Editable/Editable.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Editable/Editable.stories.tsx index 521563e7ce..501ef3ec60 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Editable/Editable.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Editable/Editable.stories.tsx @@ -11,7 +11,7 @@ import { Editable, typographyVariants } from './Editable'; const iconSizes = ['s', 'xs'] as const; const meta: Meta = { - title: 'plasma_web/Editable', + title: 'web/Data Entry/Editable', decorators: [WithTheme], component: Editable, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx index e920b62196..6f6697c11d 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx @@ -14,7 +14,7 @@ type StoryProps = ComponentProps & { }; const meta: Meta = { - title: 'plasma_web/EmptyState', + title: 'web/Data Entry/EmptyState', decorators: [WithTheme], component: EmptyState, args: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Grid/Grid.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Grid/Grid.stories.tsx index b32dbeed50..42758775c7 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Grid/Grid.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Grid/Grid.stories.tsx @@ -7,7 +7,7 @@ import { WithTheme } from '../../../_helpers'; import { Col, Grid, Row } from './Grid'; const meta: Meta = { - title: 'plasma_web/Grid', + title: 'web/Layout/Grid', decorators: [WithTheme], }; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/IconButton/IconButton.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/IconButton/IconButton.stories.tsx index d7b118b1d0..ff80ebb99f 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/IconButton/IconButton.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/IconButton/IconButton.stories.tsx @@ -11,7 +11,7 @@ import { config } from './IconButton.config'; import { IconButton } from './IconButton'; const meta: Meta = { - title: 'plasma_web/IconButton', + title: 'web/Data Entry/IconButton', decorators: [WithTheme], component: IconButton, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Image/Image.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Image/Image.stories.tsx index 762540582d..c1df95535f 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Image/Image.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Image/Image.stories.tsx @@ -10,7 +10,7 @@ const bases = ['div', 'img']; const ratios = ['1/1', '3/4', '4/3', '9/16', '16/9', '1/2', '2/1']; const meta: Meta = { - title: 'plasma_web/Image', + title: 'web/Data Display/Image', component: Image, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Indicator/Indicator.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Indicator/Indicator.stories.tsx index 7c8fa9e976..837b826da9 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Indicator/Indicator.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Indicator/Indicator.stories.tsx @@ -6,7 +6,7 @@ import { argTypesFromConfig, WithTheme } from '../../../_helpers'; import { Indicator, mergedConfig } from './Indicator'; const meta: Meta = { - title: 'plasma_web/Indicator', + title: 'web/Data Display/Indicator', decorators: [WithTheme], component: Indicator, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Link/Link.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Link/Link.stories.tsx index 07bd40f074..2f511a6443 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Link/Link.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Link/Link.stories.tsx @@ -10,7 +10,7 @@ import { config } from './Link.config'; import { Link } from './Link'; const meta: Meta = { - title: 'plasma_web/Link', + title: 'web/Navigation/Link', decorators: [WithTheme], component: Link, argTypes: argTypesFromConfig(mergeConfig(linkConfig, config)), diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Mask/Mask.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Mask/Mask.stories.tsx index 84ea2089bd..f6010c9e69 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Mask/Mask.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Mask/Mask.stories.tsx @@ -13,7 +13,7 @@ const sizes = ['l', 'm', 's', 'xs']; const views = ['default', 'positive', 'warning', 'negative']; const meta: Meta = { - title: 'plasma_web/Mask', + title: 'web/Data Display/Mask', component: Mask, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Modal/Modal.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Modal/Modal.stories.tsx index e6d3abcfd5..e326cefdbd 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Modal/Modal.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Modal/Modal.stories.tsx @@ -13,7 +13,7 @@ import { WithTheme } from '../../../_helpers'; import { Modal, modalClasses } from './Modal'; export default { - title: 'plasma_web/Modal', + title: 'web/Overlay/Modal', decorators: [WithTheme], parameters: { docs: { story: { inline: false, iframeHeight: '30rem' } }, diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Notification/Notification.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Notification/Notification.stories.tsx index 2d4885c6cf..5b29683fb7 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Notification/Notification.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Notification/Notification.stories.tsx @@ -37,7 +37,7 @@ const getNotificationProps = (i: number) => ({ const placements = ['top', 'left']; const meta: Meta = { - title: 'plasma_web/Notification', + title: 'web/Overlay/Notification', decorators: [WithTheme], }; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx index 9fa56ac04b..ec37603754 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx @@ -17,7 +17,7 @@ const inputBackgroundTypes = ['fill', 'clear']; const segmentation = ['default', 'segmented', 'solid']; const meta: Meta = { - title: 'plasma_web/NumberInput', + title: 'web/Data Entry/NumberInput', component: NumberInput, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Overlay/Overlay.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Overlay/Overlay.stories.tsx index 26a36f2fc4..84a20a94f9 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Overlay/Overlay.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Overlay/Overlay.stories.tsx @@ -14,7 +14,7 @@ const onOverlayClick = action('onOverlayClick'); type StoryOverlayProps = ComponentProps; const meta: Meta = { - title: 'plasma_web/Overlay', + title: 'web/Overlay/Overlay', decorators: [WithTheme], argTypes: { isClickable: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Pagination/Pagination.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Pagination/Pagination.stories.tsx index ea038c974c..e180eef450 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Pagination/Pagination.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Pagination/Pagination.stories.tsx @@ -8,7 +8,7 @@ import { Button } from '../Button/Button'; import { Pagination } from './Pagination'; const meta: Meta = { - title: 'plasma_web/Pagination', + title: 'web/Navigation/Pagination', component: Pagination, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Panel/Panel.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Panel/Panel.stories.tsx index ec268d8ce6..5aea383db4 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Panel/Panel.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Panel/Panel.stories.tsx @@ -13,7 +13,7 @@ import { SSRProvider } from '../../../../components/SSRProvider'; import { Panel, PanelContent, PanelFooter, PanelHeader } from './Panel'; export default { - title: 'plasma_web/Panel', + title: 'web/Overlay/Panel', decorators: [WithTheme], argTypes: { borderRadius: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Popover/Popover.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Popover/Popover.stories.tsx index f934cc47c0..5a211fdda4 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Popover/Popover.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Popover/Popover.stories.tsx @@ -9,7 +9,7 @@ import { WithTheme } from '../../../_helpers'; import { Popover } from './Popover'; const meta: Meta = { - title: 'plasma_web/Popover', + title: 'web/Overlay/Popover', decorators: [WithTheme], component: Popover, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Popup/Popup.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Popup/Popup.stories.tsx index d31bb007ec..74c35ff56e 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Popup/Popup.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Popup/Popup.stories.tsx @@ -10,7 +10,7 @@ import { WithTheme } from '../../../_helpers'; import { Popup, popupClasses, PopupProvider } from './Popup'; const meta: Meta = { - title: 'plasma_web/Popup', + title: 'web/Overlay/Popup', decorators: [WithTheme], parameters: { docs: { story: { inline: false, iframeHeight: '30rem' } }, diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Portal/Portal.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Portal/Portal.stories.tsx index ff929db715..e461189d32 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Portal/Portal.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Portal/Portal.stories.tsx @@ -9,7 +9,7 @@ import { Body } from '../../../typography/components/Body/Body'; import { Portal } from '../../../../components/Portal'; const meta: Meta = { - title: 'plasma_web/Portal', + title: 'web/Data Entry/Portal', decorators: [WithTheme], args: { disabled: false, diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Price/Price.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Price/Price.stories.tsx index 4f21967e7d..db8e088b44 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Price/Price.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Price/Price.stories.tsx @@ -9,7 +9,7 @@ import { Price } from './Price'; const currencies = ['rub', 'usd', 'eur', 'inr']; const meta: Meta = { - title: 'plasma_web/Price', + title: 'web/Data Display/Price', decorators: [WithTheme], argTypes: { currency: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Progress/Progress.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Progress/Progress.stories.tsx index 45fdfd1b42..201e98ad89 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Progress/Progress.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Progress/Progress.stories.tsx @@ -8,7 +8,7 @@ import { Progress } from './Progress'; const views = ['default', 'secondary', 'primary', 'accent', 'success', 'warning', 'error']; const meta: Meta = { - title: 'plasma_web/Progress', + title: 'web/Overlay/Progress', component: Progress, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx index a7a3d11775..73c02be38f 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx @@ -16,7 +16,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'plasma_web/Radiobox', + title: 'web/Data Entry/Radiobox', decorators: [WithTheme], component: Radiobox, argTypes: argTypesFromConfig(mergeConfig(radioboxConfig, config)), diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Range/Range.config.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/Range/Range.config.ts index 93f96e593e..7bf4ef035b 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Range/Range.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Range/Range.config.ts @@ -32,6 +32,8 @@ export const config = { ${tokens.textFieldTextBeforeColor}: var(--text-tertiary); ${tokens.textFieldTextAfterColor}: var(--text-tertiary); + ${tokens.indicatorColor}: var(--surface-negative); + ${tokens.focusColor}: var(--text-accent); ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary); `, @@ -52,7 +54,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 1rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.75rem 0; + ${tokens.labelOffset}: 0.75rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-l-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-l-font-style); @@ -84,6 +86,13 @@ export const config = { ${tokens.textFieldRightContentMargin}: -0.0625rem -0.125rem -0.0625rem 0.75rem; ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0; ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem; + + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.5rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; `, m: css` ${tokens.borderRadius}: 0.75rem; @@ -132,6 +141,13 @@ export const config = { ${tokens.textFieldRightContentMargin}: -0.125rem -0.125rem -0.125rem 0.75rem; ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0; ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem; + + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.375rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.6875rem auto auto; `, s: css` ${tokens.borderRadius}: 0.625rem; @@ -180,6 +196,13 @@ export const config = { ${tokens.textFieldRightContentMargin}: -0.1875rem -0.125rem -0.1875rem 0.75rem; ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0; ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem; + + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.3125rem auto auto -0.6875rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; `, xs: css` ${tokens.borderRadius}: 0.5rem; @@ -228,6 +251,13 @@ export const config = { ${tokens.textFieldRightContentMargin}: -0.0625rem -0.125rem -0.0625rem 0.75rem; ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0; ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem; + + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.25rem auto auto -0.625rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.125rem -0.6875rem auto auto; `, }, disabled: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Range/Range.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Range/Range.stories.tsx index 8899ca01ef..b3d09ca751 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Range/Range.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Range/Range.stories.tsx @@ -21,9 +21,10 @@ const onBlurSecondTextfield = action('onBlurSecondTextfield'); const sizes = ['l', 'm', 's', 'xs']; const views = ['default']; const dividers = ['none', 'dash', 'icon']; +const requiredPlacements = ['left', 'right']; const meta: Meta = { - title: 'plasma_web/Range', + title: 'web/Data Entry/Range', component: Range, decorators: [WithTheme], argTypes: { @@ -39,6 +40,13 @@ const meta: Meta = { type: 'inline-radio', }, }, + requiredPlacement: { + options: requiredPlacements, + control: { + type: 'select', + }, + if: { arg: 'required', truthy: true }, + }, }, }; @@ -161,6 +169,8 @@ export const Default: StoryObj = { secondPlaceholder: 'Заполните поле 2', size: 'l', view: 'default', + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, firstTextfieldTextBefore: 'С', @@ -301,6 +311,8 @@ export const Demo: StoryObj = { secondPlaceholder: '5', size: 'l', view: 'default', + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, firstTextfieldTextBefore: '', diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Rating/Rating.config.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/Rating/Rating.config.ts new file mode 100644 index 0000000000..4aa25863a1 --- /dev/null +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Rating/Rating.config.ts @@ -0,0 +1,398 @@ +import { css } from '@linaria/core'; + +import { ratingTokens as tokens } from '../../../../components/Rating'; + +export const config = { + defaults: { + view: 'default', + size: 'l', + }, + variations: { + view: { + default: css` + ${tokens.color}: var(--text-primary); + ${tokens.helperTextColor}: var(--text-secondary); + ${tokens.iconColor}: var(--text-primary); + ${tokens.outlineIconColor}: var(--text-primary); + `, + accent: css` + ${tokens.color}: var(--text-primary); + ${tokens.helperTextColor}: var(--text-secondary); + // TODO: change with token data-yellow, when it will be added to theme + ${tokens.iconColor}: #F3A912; + ${tokens.outlineIconColor}: var(--text-tertiary); + `, + }, + size: { + l: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-l-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-l-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-l-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-l-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-l-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.625rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 1.25rem; + `, + m: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-m-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-m-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-m-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.5rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 1.25rem; + `, + s: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-s-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-s-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-s-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-s-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-s-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.5rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 1rem; + `, + xs: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-xs-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xxs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xxs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xxs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xxs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xxs-line-height); + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.contentGap}: 0.375rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.iconSize}: 0.75rem; + ${tokens.actualIconSize}: 1rem; + ${tokens.scaleFactor}: 0.75; + `, + xxs: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-xxs-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-xxs-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-xxs-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xxs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xxs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xxs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xxs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xxs-line-height); + + ${tokens.contentGap}: 0.375rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 0.75rem; + ${tokens.actualIconSize}: 1rem; + ${tokens.scaleFactor}: 0.75; + `, + h1: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h1-font-family); + ${tokens.fontSize}: var(--plasma-typo-h1-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h1-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h1-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h1-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h1-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-m-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-m-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-m-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-m-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-m-line-height); + + ${tokens.contentGap}: 1rem; + ${tokens.singleIconContentGap}: 0.5rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.25rem; + ${tokens.iconSizeLarge}: 3rem; + ${tokens.iconSizeMedium}: 3rem; + ${tokens.iconSizeSmall}: 2.25rem; + + ${tokens.singleIconMarginBottom}: 0.25rem; + ${tokens.singleIconSizeLarge}: 3rem; + ${tokens.singleIconSizeMedium}: 3rem; + ${tokens.singleIconSizeSmall}: 2.25rem; + `, + h2: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h2-font-family); + ${tokens.fontSize}: var(--plasma-typo-h2-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h2-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h2-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h2-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h2-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-s-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-s-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-s-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-s-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-s-line-height); + + ${tokens.contentGap}: 0.875rem; + ${tokens.singleIconContentGap}: 0.5rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.25rem; + ${tokens.iconSizeLarge}: 2rem; + ${tokens.iconSizeMedium}: 1.75rem; + ${tokens.iconSizeSmall}: 1.5rem; + + ${tokens.singleIconMarginBottom}: 0.25rem; + ${tokens.singleIconSizeLarge}: 2rem; + ${tokens.singleIconSizeMedium}: 1.75rem; + ${tokens.singleIconSizeSmall}: 1.5rem; + `, + h3: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h3-font-family); + ${tokens.fontSize}: var(--plasma-typo-h3-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h3-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h3-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h3-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h3-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.75rem; + ${tokens.singleIconContentGap}: 0.375rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.iconSizeLarge}: 1.75rem; + ${tokens.iconSizeMedium}: 1.5rem; + ${tokens.iconSizeSmall}: 1.25rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.singleIconSizeLarge}: 1.75rem; + ${tokens.singleIconSizeMedium}: 1.5rem; + ${tokens.singleIconSizeSmall}: 1.25rem; + `, + h4: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h4-font-family); + ${tokens.fontSize}: var(--plasma-typo-h4-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h4-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h4-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h4-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h4-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.625rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.iconSizeLarge}: 1.5rem; + ${tokens.iconSizeMedium}: 1.25rem; + ${tokens.iconSizeSmall}: 1.25rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.singleIconSizeLarge}: 1.5rem; + ${tokens.singleIconSizeMedium}: 1.25rem; + ${tokens.singleIconSizeSmall}: 1.25rem; + `, + h5: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h5-font-family); + ${tokens.fontSize}: var(--plasma-typo-h5-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h5-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h5-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h5-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h5-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.625rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.iconSizeLarge}: 1.25rem; + ${tokens.iconSizeMedium}: 1.25rem; + ${tokens.iconSizeSmall}: 1rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.singleIconSizeLarge}: 1.25rem; + ${tokens.singleIconSizeMedium}: 1.25rem; + ${tokens.singleIconSizeSmall}: 1rem; + `, + displayL: css` + ${tokens.gap}: 0.375rem; + + ${tokens.fontFamily}: var(--plasma-typo-dspl-l-font-family); + ${tokens.fontSize}: var(--plasma-typo-dspl-l-font-size); + ${tokens.fontStyle}: var(--plasma-typo-dspl-l-font-style); + ${tokens.fontWeight}: var(--plasma-typo-dspl-l-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-dspl-l-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-dspl-l-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-h3-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-h3-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-h3-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-h3-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-h3-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-h3-line-height); + + ${tokens.contentGap}: 1.5rem; + ${tokens.singleIconContentGap}: 0.75rem; + ${tokens.wrapperGap}: 0.625rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSizeLarge}: 4rem; + ${tokens.iconSizeMedium}: 3rem; + ${tokens.iconSizeSmall}: 2.25rem; + + ${tokens.singleIconMarginBottom}: 0.5rem; + ${tokens.singleIconSizeLarge}: 7.5rem; + ${tokens.singleIconSizeMedium}: 7rem; + ${tokens.singleIconSizeSmall}: 5.5rem; + `, + displayM: css` + ${tokens.gap}: 0.375rem; + + ${tokens.fontFamily}: var(--plasma-typo-dspl-m-font-family); + ${tokens.fontSize}: var(--plasma-typo-dspl-m-font-size); + ${tokens.fontStyle}: var(--plasma-typo-dspl-m-font-style); + ${tokens.fontWeight}: var(--plasma-typo-dspl-m-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-dspl-m-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-dspl-m-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-l-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-l-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-l-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-l-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-l-line-height); + + ${tokens.contentGap}: 1.5rem; + ${tokens.singleIconContentGap}: 0.75rem; + ${tokens.wrapperGap}: 0.5rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSizeLarge}: 3rem; + ${tokens.iconSizeMedium}: 2.25rem; + ${tokens.iconSizeSmall}: 1.75rem; + + ${tokens.singleIconMarginBottom}: 0.5rem; + ${tokens.singleIconSizeLarge}: 5.25rem; + ${tokens.singleIconSizeMedium}: 4.5rem; + ${tokens.singleIconSizeSmall}: 4rem; + `, + displayS: css` + ${tokens.gap}: 0.375rem; + + ${tokens.fontFamily}: var(--plasma-typo-dspl-s-font-family); + ${tokens.fontSize}: var(--plasma-typo-dspl-s-font-size); + ${tokens.fontStyle}: var(--plasma-typo-dspl-s-font-style); + ${tokens.fontWeight}: var(--plasma-typo-dspl-s-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-dspl-s-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-dspl-s-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-l-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-l-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-l-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-l-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-l-line-height); + + ${tokens.contentGap}: 1.5rem; + ${tokens.singleIconContentGap}: 0.75rem; + ${tokens.wrapperGap}: 0.375rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSizeLarge}: 2rem; + ${tokens.iconSizeMedium}: 1.5rem; + ${tokens.iconSizeSmall}: 1.25rem; + + ${tokens.singleIconMarginBottom}: 0.313rem; + ${tokens.singleIconSizeLarge}: 4rem; + ${tokens.singleIconSizeMedium}: 3.5rem; + ${tokens.singleIconSizeSmall}: 2.75rem; + `, + }, + }, +}; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Rating/Rating.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Rating/Rating.stories.tsx new file mode 100644 index 0000000000..2d4aa90ac9 --- /dev/null +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Rating/Rating.stories.tsx @@ -0,0 +1,127 @@ +import React, { ComponentProps } from 'react'; +import type { StoryObj, Meta } from '@storybook/react'; +import { disableProps } from '@salutejs/plasma-sb-utils'; + +import { WithTheme } from '../../../_helpers'; +import { IconBlankPdfOutline, IconCross, IconDone } from '../../../../components/_Icon'; +import { ratingClasses } from '../../../../components/Rating'; + +import { Rating } from './Rating'; + +const views = ['default', 'accent']; +const sizes = ['l', 'm', 's', 'xs', 'xxs', 'h1', 'h2', 'h3', 'h4', 'h5', 'displayL', 'displayM', 'displayS']; +const scorePrecision = [1, 2]; +const valuePlacements = ['before', 'after']; +const iconsCount = [1, 5, 10]; +const helperTextStretching = ['fixed', 'filled']; + +const meta: Meta = { + title: 'web/Data Display/Rating', + component: Rating, + decorators: [WithTheme], + argTypes: { + view: { + options: views, + control: { + type: 'select', + }, + }, + size: { + options: sizes, + control: { + type: 'select', + }, + }, + value: { + control: { + type: 'number', + }, + }, + precision: { + options: scorePrecision, + control: { + type: 'inline-radio', + }, + if: { arg: 'hasValue', truthy: true }, + }, + valuePlacement: { + options: valuePlacements, + control: { + type: 'inline-radio', + }, + if: { arg: 'hasValue', truthy: true }, + }, + hasIcons: { + control: { + type: 'boolean', + }, + if: { arg: 'hasValue', truthy: true }, + }, + iconQuantity: { + options: iconsCount, + control: { + type: 'inline-radio', + }, + }, + helperTextStretching: { + options: helperTextStretching, + control: { + type: 'inline-radio', + }, + if: { arg: 'helperText', neq: '' }, + }, + ...disableProps(['iconSlot', 'iconSlotOutline', 'iconSlotHalf']), + }, +}; + +export default meta; + +type StoryPropsDefault = ComponentProps & { + hasValue?: boolean; +}; + +export const Default: StoryObj = { + args: { + view: 'default', + size: 'l', + hasValue: true, + value: 3.8, + precision: 1, + valuePlacement: 'before', + hasIcons: true, + iconQuantity: 5, + helperText: 'Helper text', + helperTextStretching: 'filled', + }, + render: ({ hasIcons, hasValue, ...args }) => ( + + ), +}; + +export const CustomIcons: StoryObj = { + argTypes: { + ...disableProps(['size', 'view']), + }, + args: { + view: 'default', + size: 'l', + hasValue: true, + value: 3.8, + precision: 1, + valuePlacement: 'before', + hasIcons: true, + iconQuantity: 5, + helperText: 'Helper text', + helperTextStretching: 'filled', + }, + render: ({ hasIcons, hasValue, ...args }) => ( + } + iconSlotOutline={} + iconSlotHalf={} + {...args} + /> + ), +}; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Rating/Rating.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/Rating/Rating.ts new file mode 100644 index 0000000000..1db315245b --- /dev/null +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Rating/Rating.ts @@ -0,0 +1,8 @@ +import { ratingConfig } from '../../../../components/Rating'; +import { component, mergeConfig } from '../../../../engines'; + +import { config } from './Rating.config'; + +const mergedConfig = mergeConfig(ratingConfig, config); + +export const Rating = component(mergedConfig); diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Segment/Segment.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Segment/Segment.stories.tsx index 2e5fbec018..8d9b0b3950 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Segment/Segment.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Segment/Segment.stories.tsx @@ -52,7 +52,7 @@ const getContentRight = (contentRightOption: string, size: Size) => { }; const meta: Meta = { - title: 'plasma_web/Segment', + title: 'web/Data Entry/Segment', decorators: [WithTheme], component: SegmentGroup, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Select/Select.config.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/Select/Select.config.ts index ea3deacfed..efb6db3e84 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Select/Select.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Select/Select.config.ts @@ -304,8 +304,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.5rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.75rem; - ${tokens.textFieldChipPaddingRight}: 0.75rem; - ${tokens.textFieldChipPaddingLeft}: 1rem; + ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.5rem; @@ -414,8 +413,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.375rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.25rem; - ${tokens.textFieldChipPaddingRight}: 0.625rem; - ${tokens.textFieldChipPaddingLeft}: 0.875rem; + ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.25rem; @@ -524,8 +522,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.25rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.75rem; - ${tokens.textFieldChipPaddingRight}: 0.5rem; - ${tokens.textFieldChipPaddingLeft}: 0.75rem; + ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1rem; @@ -634,8 +631,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.125rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.25rem; - ${tokens.textFieldChipPaddingRight}: 0.375rem; - ${tokens.textFieldChipPaddingLeft}: 0.625rem; + ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 0.75rem; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Select/Select.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Select/Select.stories.tsx index 6697ba83ee..135e079046 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Select/Select.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Select/Select.stories.tsx @@ -20,7 +20,7 @@ const chip = ['default', 'secondary', 'accent']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'plasma_web/Select', + title: 'web/Data Entry/Select', decorators: [WithTheme], component: Select, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Sheet/Sheet.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Sheet/Sheet.stories.tsx index 9b9dbb1ebc..6465ff6f7b 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Sheet/Sheet.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Sheet/Sheet.stories.tsx @@ -10,7 +10,7 @@ import { Body } from '../../../typography/components/Body/Body'; import { Sheet } from './Sheet'; const meta: Meta = { - title: 'plasma_web/Sheet', + title: 'web/Overlay/Select', decorators: [WithTheme], args: { withBlur: false, diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx index 62e24a87ab..b6b5fb2c6f 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx @@ -18,7 +18,7 @@ type StoryRectSkeletonProps = ComponentProps; type BasicButtonProps = ComponentProps; const meta: Meta = { - title: 'plasma_web/Skeleton', + title: 'web/Data Display/Skeleton', decorators: [WithTheme], }; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Slider/Slider.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Slider/Slider.stories.tsx index 861e93508b..4b5345d8fa 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Slider/Slider.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Slider/Slider.stories.tsx @@ -16,9 +16,10 @@ const sliderAligns = ['center', 'left', 'right', 'none']; const labelPlacements = ['top', 'left']; const scaleAligns = ['side', 'bottom']; const orientations: Array = ['vertical', 'horizontal']; +const visibility = ['always', 'hover']; const meta: Meta = { - title: 'plasma_web/Slider', + title: 'web/Data Entry/Slider', component: Slider, decorators: [WithTheme], argTypes: { @@ -155,11 +156,24 @@ export const Default: StorySingle = { }, if: { arg: 'orientation', eq: 'vertical' }, }, + pointerVisibility: { + options: visibility, + control: { + type: 'inline-radio', + }, + }, + currentValueVisibility: { + options: visibility, + control: { + type: 'inline-radio', + }, + }, }, args: { view: 'default', size: 'm', pointerSize: 'small', + pointerVisibility: 'always', min: 0, max: 100, orientation: 'horizontal', @@ -171,6 +185,7 @@ export const Default: StorySingle = { scaleAlign: 'bottom', showScale: true, showCurrentValue: false, + currentValueVisibility: 'always', showIcon: true, reversed: false, labelReversed: false, diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Spinner/Spinner.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Spinner/Spinner.stories.tsx index 30cbd53bfb..a358798925 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Spinner/Spinner.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Spinner/Spinner.stories.tsx @@ -10,7 +10,7 @@ import { config } from './Spinner.config'; import { Spinner } from './Spinner'; const meta: Meta = { - title: 'plasma_web/Spinner', + title: 'web/Data Display/Spinner', decorators: [WithTheme], component: Spinner, args: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Steps/Steps.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Steps/Steps.stories.tsx index 9ec461bf70..daab89d716 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Steps/Steps.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Steps/Steps.stories.tsx @@ -10,7 +10,7 @@ import { StepItemProps } from '../../../../components/Steps/ui'; import { Steps, mergedConfig } from './Steps'; const meta: Meta = { - title: 'plasma_web/Steps', + title: 'web/Navigation/Steps', decorators: [WithTheme], component: Steps, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Switch/Switch.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Switch/Switch.stories.tsx index 797f91b88e..f1292ab02b 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Switch/Switch.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Switch/Switch.stories.tsx @@ -14,7 +14,7 @@ import { Switch, SwitchOutline } from './Switch'; type SwitchProps = ComponentProps; const meta: Meta = { - title: 'plasma_web/Switch', + title: 'web/Data Entry/Switch', decorators: [WithTheme], component: Switch, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Tabs/Tabs.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Tabs/Tabs.stories.tsx index 6147378a44..e2887dafdc 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Tabs/Tabs.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Tabs/Tabs.stories.tsx @@ -56,7 +56,7 @@ type HorizontalStoryTabsProps = StoryTabsProps & { width: string }; type VerticalStoryTabsProps = StoryTabsProps & { height: string }; const meta: Meta = { - title: 'plasma_web/Tabs', + title: 'web/Navigation/Tabs', component: Tabs, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/TextArea/TextArea.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/TextArea/TextArea.stories.tsx index 3078db6940..1e49281564 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/TextArea/TextArea.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/TextArea/TextArea.stories.tsx @@ -44,7 +44,7 @@ type StoryTextAreaPropsCustom = { type StoryTextAreaProps = ComponentProps & StoryTextAreaPropsCustom; const meta: Meta = { - title: 'plasma_web/TextArea', + title: 'web/Data Entry/TextArea', decorators: [WithTheme], component: TextArea, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/TextField/TextField.config.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/TextField/TextField.config.ts index 8b6bd40467..4e85dad485 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/TextField/TextField.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/TextField/TextField.config.ts @@ -198,8 +198,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.75rem; - ${tokens.chipPaddingRight}: 0.75rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 0.75rem 0 1rem; ${tokens.chipClearContentMarginLeft}: 0.625rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.5rem; @@ -274,8 +273,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.25rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.625rem 0 0.875rem; ${tokens.chipClearContentMarginLeft}: 0.5rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.25rem; @@ -350,8 +348,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.25rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.75rem; - ${tokens.chipPaddingRight}: 0.5rem; - ${tokens.chipPaddingLeft}: 0.75rem; + ${tokens.chipPadding}: 0 0.5rem 0 0.75rem; ${tokens.chipClearContentMarginLeft}: 0.375rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1rem; @@ -426,8 +423,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.125rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.25rem; - ${tokens.chipPaddingRight}: 0.375rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.375rem 0 0.625rem; ${tokens.chipClearContentMarginLeft}: 0.25rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 0.75rem; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/TextField/TextField.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/TextField/TextField.stories.tsx index 4ade29ac93..c0fc47c03e 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/TextField/TextField.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/TextField/TextField.stories.tsx @@ -43,7 +43,7 @@ const placements: Array = [ ]; const meta: Meta = { - title: 'plasma_web/TextField', + title: 'web/Data Entry/TextField', component: TextField, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.config.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.config.ts index 87f40f212a..256d52b463 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.config.ts +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.config.ts @@ -53,8 +53,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.75rem; - ${tokens.chipPaddingRight}: 0.75rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 0.75rem 0 1rem; ${tokens.chipClearContentMarginLeft}: 0.625rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.5rem; @@ -110,8 +109,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.25rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.625rem 0 0.875rem; ${tokens.chipClearContentMarginLeft}: 0.5rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.25rem; @@ -167,8 +165,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.25rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.75rem; - ${tokens.chipPaddingRight}: 0.5rem; - ${tokens.chipPaddingLeft}: 0.75rem; + ${tokens.chipPadding}: 0 0.5rem 0 0.75rem; ${tokens.chipClearContentMarginLeft}: 0.375rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1rem; @@ -224,8 +221,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.125rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.25rem; - ${tokens.chipPaddingRight}: 0.375rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.375rem 0 0.625rem; ${tokens.chipClearContentMarginLeft}: 0.25rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 0.75rem; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx index 4c4be5e032..f4458e5680 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx @@ -23,7 +23,7 @@ const shapeValues = ['segmented', 'default']; const stretchingValues = ['auto', 'filled']; const meta: Meta = { - title: 'plasma_web/TextFieldGroup', + title: 'web/Data Entry/TextFieldGroup', decorators: [WithTheme], argTypes: { size: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Toast/Toast.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Toast/Toast.stories.tsx index 10f795e490..a17ffd7be8 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Toast/Toast.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Toast/Toast.stories.tsx @@ -17,7 +17,7 @@ import { config } from './Toast.config'; import { Toast, ToastController, ToastProvider, useToast } from './Toast'; const meta: Meta = { - title: 'plasma_web/Toast', + title: 'web/Overlay/Toast', decorators: [WithTheme], }; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Tokens/Tokens.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Tokens/Tokens.stories.tsx new file mode 100644 index 0000000000..544265380d --- /dev/null +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Tokens/Tokens.stories.tsx @@ -0,0 +1,129 @@ +import React from 'react'; +import type { StoryObj, Meta } from '@storybook/react'; +import { plasma_web__dark, plasma_web__light } from '@salutejs/plasma-themes/es/themes'; +import { InSpacingDecorator, getGroupedTokens } from '@salutejs/plasma-sb-utils'; +import type { GroupedTokens } from '@salutejs/plasma-sb-utils'; + +import { Accordion } from '../Accordion/Accordion'; +import { ToastProvider, useToast } from '../Toast/Toast'; +import type { ShowToastArgs } from '../../../../components/Toast'; + +import { + AccordionInfo, + Category, + CategoryContainer, + ColorCircle, + ColumnTitle, + OpacityPart, + StyledAccordionItem, + Subcategory, + TokenInfo, + TokenInfoWrapper, +} from './Tokens.styles'; + +const meta: Meta = { + title: 'web/Colors', + decorators: [InSpacingDecorator], +}; + +export default meta; + +const themes: Record = { + light: getGroupedTokens(plasma_web__light[0]), + dark: getGroupedTokens(plasma_web__dark[0]), +}; + +const StoryDemo = ({ context }) => { + const groupedTokens = themes[context.globals.theme]; + const { showToast } = useToast(); + const toastData = { + view: 'default', + size: 'm', + hasClose: true, + fade: false, + position: 'bottom', + offset: 0, + timeout: 3000, + role: 'alert', + } as ShowToastArgs; + + const copyToClipboard = async (value: string, opacity?: string | null) => { + try { + await navigator.clipboard.writeText(value + (opacity || '')); + + showToast({ + ...toastData, + text: 'Скопировано', + }); + } catch (err) { + showToast({ + ...toastData, + text: 'Ошибка при копировании текста', + }); + } + }; + + if (!groupedTokens) { + return null; + } + + return ( + <> + {Object.entries(groupedTokens).map(([category, value]) => ( + + {category} + + {Object.entries(value).map(([subcategory, value2], index) => ( + + {subcategory}/ + + + Color + + Opacity + + } + > + + {Object.entries(value2).map(([token, { value: value3, opacity }]) => ( + + copyToClipboard(token)}> + {token} + + copyToClipboard(value3, opacity?.alpha)} + > + +
+ {value3.includes('gradient') ? 'Градиент' : value3} + {opacity && {opacity.alpha}} +
+
+ {opacity && ( + {opacity.parsedAlpha} + )} +
+ ))} +
+
+ ))} +
+
+ ))} + + ); +}; + +export const Default: StoryObj = { + render: (_, context) => ( + + + + ), +}; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Tokens/Tokens.styles.ts b/packages/plasma-new-hope/src/examples/plasma_web/components/Tokens/Tokens.styles.ts new file mode 100644 index 0000000000..422faf18e6 --- /dev/null +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Tokens/Tokens.styles.ts @@ -0,0 +1,132 @@ +import { styled } from '@linaria/react'; + +import { AccordionItem } from '../Accordion/Accordion'; +import { h2 } from '../../../../mixins'; + +export const CategoryContainer = styled.div` + margin-bottom: 1.875rem; +`; + +export const Category = styled.h2` + margin: 0 0 1.125rem 1.5rem; + + ${h2}; +`; + +export const AccordionInfo = styled.div` + display: grid; + grid-template-columns: 18rem 7.938rem 3.813rem; + grid-column-gap: 1.5rem; + + font-family: var(--plasma-typo-body-m-font-family); + font-size: var(--plasma-typo-body-m-font-size); + font-style: var(--plasma-typo-body-m-font-style); + font-weight: var(--plasma-typo-body-m-font-weight); + letter-spacing: var(--plasma-typo-body-m-letter-spacing); + line-height: var(--plasma-typo-body-m-line-height); +`; + +export const Subcategory = styled.div` + color: var(--text-secondary); +`; + +export const ColumnTitle = styled.div` + color: var(--text-tertiary); + transition: opacity 0.2s; + + &.color { + display: flex; + align-items: center; + gap: 0.5rem; + } +`; + +export const StyledAccordionItem = styled(AccordionItem)` + --plasma-accordion-item-padding: 0; + --plasma-accordion-item-padding-vertical: 0; + + border-bottom: unset; + width: max-content; + + div > div > div > svg { + color: var(--text-secondary); + } + + .accordion-item-body { + margin-bottom: 1.125rem; + padding-top: 0.125rem; + transition: margin-bottom 0.2s, padding-top 0.2s; + } + + [aria-expanded] { + margin-bottom: 1rem; + } + + [aria-expanded='false'] { + ${AccordionInfo} ${ColumnTitle} { + opacity: 0; + } + } + + [aria-expanded='false'] + div > .accordion-item-body { + margin: 0; + padding: 0; + } +`; + +export const TokenInfoWrapper = styled.div` + display: flex; + flex-direction: column; + gap: 0.75rem; + margin-top: -0.125rem; +`; + +export const OpacityPart = styled.span` + color: var(--text-secondary); + padding-left: 0.125rem; +`; + +export const TokenInfo = styled.div` + color: var(--text-paragraph); + + cursor: default; + + &.copy { + cursor: copy; + } + + &.color { + display: flex; + align-items: center; + gap: 0.5rem; + } + + &.opacity { + text-align: right; + } + + &:not(.opacity):hover { + color: var(--text-paragraph-hover); + + ${OpacityPart} { + color: var(--text-paragraph-hover); + } + } + + &:not(.opacity):active { + color: var(--text-paragraph-active); + + ${OpacityPart} { + color: var(--text-secondary-active); + } + } +`; + +export const ColorCircle = styled.div<{ background?: string; disableShadow?: boolean }>` + width: 1.25rem; + height: 1.25rem; + border-radius: 50%; + + background: ${(props) => props.background || 'transparent'}; + box-shadow: ${(props) => (props.disableShadow ? 'none' : 'inset 0px 0px 0px 1px rgba(8, 8, 8, 0.12)')}; +`; diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx index 8d88ab923b..7371962ecf 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx @@ -25,7 +25,7 @@ const ToolbarWrapper = (props: ComponentProps) => { }; const meta: Meta = { - title: 'plasma_web/Toolbar', + title: 'web/Overlay/Toolbar', component: ToolbarWrapper, decorators: [WithTheme], argTypes: { diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx index a43a057317..c05ecce4ec 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx @@ -1,6 +1,7 @@ import React, { useState } from 'react'; import { styled } from '@linaria/react'; import type { StoryObj, Meta } from '@storybook/react'; +import { disableProps } from '@salutejs/plasma-sb-utils'; import { WithTheme } from '../../../_helpers'; import { Button } from '../Button/Button'; @@ -30,8 +31,25 @@ const placements: Array = [ 'auto', ]; +const disabledProps = [ + 'target', + 'children', + 'text', + 'opened', + 'isOpen', + 'isVisible', + 'offset', + 'frame', + 'view', + 'zIndex', + 'minWidth', + 'maxWidth', + 'contentLeft', + 'onDismiss', +]; + const meta: Meta = { - title: 'plasma_web/Tooltip', + title: 'web/Overlay/Tooltip', decorators: [WithTheme], component: Tooltip, parameters: { @@ -48,7 +66,7 @@ const StyledGrid = styled.div` padding: 3.5rem; `; -const StoryDefault = ({ size }: TooltipProps) => { +const StoryDefault = (args: TooltipProps) => { return ( { Btn} placement="left" - size={size} + {...args} opened hasArrow text="left" @@ -64,7 +82,7 @@ const StoryDefault = ({ size }: TooltipProps) => { /> } placement="top-start" - size={size} + {...args} opened hasArrow text="top-start" @@ -73,7 +91,7 @@ const StoryDefault = ({ size }: TooltipProps) => { Btn} placement="top" - size={size} + {...args} opened hasArrow text="top" @@ -84,7 +102,7 @@ const StoryDefault = ({ size }: TooltipProps) => { Btn} placement="right" - size={size} + {...args} opened hasArrow text="right" @@ -92,7 +110,7 @@ const StoryDefault = ({ size }: TooltipProps) => { /> } placement="top-end" - size={size} + {...args} opened hasArrow text="top-end" @@ -101,7 +119,7 @@ const StoryDefault = ({ size }: TooltipProps) => { Btn} placement="bottom-start" - size={size} + {...args} opened hasArrow text="bottom-start" @@ -110,7 +128,7 @@ const StoryDefault = ({ size }: TooltipProps) => { Btn} placement="bottom" - size={size} + {...args} opened hasArrow text="bottom" @@ -119,7 +137,7 @@ const StoryDefault = ({ size }: TooltipProps) => { Btn} placement="bottom-end" - size={size} + {...args} opened hasArrow text="bottom-end" @@ -137,8 +155,14 @@ export const Default: StoryObj = { type: 'select', }, }, + ...disableProps([...disabledProps, 'placement']), }, args: { + maxWidth: 10, + minWidth: 3, + hasArrow: true, + usePortal: false, + animated: true, size: 'm', }, render: (args) => , @@ -193,12 +217,15 @@ export const Live: StoryObj = { type: 'select', }, }, + ...disableProps(disabledProps), }, args: { placement: 'bottom', maxWidth: 10, minWidth: 3, hasArrow: true, + usePortal: false, + animated: true, size: 'm', }, render: (args) => , diff --git a/packages/plasma-new-hope/src/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx b/packages/plasma-new-hope/src/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx index 36559a163b..e8da0adf9b 100644 --- a/packages/plasma-new-hope/src/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +++ b/packages/plasma-new-hope/src/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx @@ -10,7 +10,7 @@ import { ViewContainer } from './ViewContainer'; type StoryViewProps = ComponentProps; const meta: Meta = { - title: 'plasma_web/ViewContainer', + title: 'web/Data Display/ViewContainer', }; export default meta; diff --git a/packages/plasma-new-hope/src/examples/typography/components/Body/Body.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Body/Body.stories.tsx index c273be5a9a..3faede01a1 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Body/Body.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Body/Body.stories.tsx @@ -9,7 +9,7 @@ import { Body } from './Body'; import { config } from './Body.config'; const meta: Meta = { - title: 'typography/Body', + title: 'Data Display/Typography/Body', decorators: [WithTheme], component: Body, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/typography/components/Dspl/Dspl.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Dspl/Dspl.stories.tsx index c4a18226c6..01151f36a3 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Dspl/Dspl.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Dspl/Dspl.stories.tsx @@ -9,7 +9,7 @@ import { Dspl } from './Dspl'; import { config } from './Dspl.config'; const meta: Meta = { - title: 'typography/Dspl', + title: 'Data Display/Typography/Dspl', decorators: [WithTheme], component: Dspl, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/typography/components/Heading/Heading.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Heading/Heading.stories.tsx index 8df92b54fa..9f14d4a527 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Heading/Heading.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Heading/Heading.stories.tsx @@ -9,7 +9,7 @@ import { Heading } from './Heading'; import { config } from './Heading.config'; const meta: Meta = { - title: 'typography/Heading', + title: 'Data Display/Typography/Heading', decorators: [WithTheme], component: Heading, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/typography/components/Old/Body/Body.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Old/Body/Body.stories.tsx index 1737884f9a..b1f9d0aa70 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Old/Body/Body.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Old/Body/Body.stories.tsx @@ -9,7 +9,7 @@ import { OldBody } from './Body'; import { config } from './Body.config'; const meta: Meta = { - title: 'typography/Old/Body', + title: 'Data Display/Typography/Old/Body', decorators: [WithTheme], component: OldBody, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/typography/components/Old/Button/Button.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Old/Button/Button.stories.tsx index a193f17c20..e65d018c51 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Old/Button/Button.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Old/Button/Button.stories.tsx @@ -9,7 +9,7 @@ import { Button } from './Button'; import { config } from './Button.config'; const meta: Meta = { - title: 'typography/Old/Button', + title: 'Data Display/Typography/Old/Button', decorators: [WithTheme], component: Button, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/typography/components/Old/Caption/Caption.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Old/Caption/Caption.stories.tsx index 72bcd495c6..d851e0e883 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Old/Caption/Caption.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Old/Caption/Caption.stories.tsx @@ -9,7 +9,7 @@ import { Caption } from './Caption'; import { config } from './Caption.config'; const meta: Meta = { - title: 'typography/Old/Caption', + title: 'Data Display/Typography/Old/Caption', decorators: [WithTheme], component: Caption, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/typography/components/Old/Display/Display.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Old/Display/Display.stories.tsx index db3cfaa899..cc29460dd3 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Old/Display/Display.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Old/Display/Display.stories.tsx @@ -9,7 +9,7 @@ import { Display } from './Display'; import { config } from './Display.config'; const meta: Meta = { - title: 'typography/Old/Display', + title: 'Data Display/Typography/Old/Display', decorators: [WithTheme], component: Display, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/typography/components/Old/Footnote/Footnote.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Old/Footnote/Footnote.stories.tsx index 5c775df28c..46bc8c5f7c 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Old/Footnote/Footnote.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Old/Footnote/Footnote.stories.tsx @@ -9,7 +9,7 @@ import { Footnote } from './Footnote'; import { config } from './Footnote.config'; const meta: Meta = { - title: 'typography/Old/Footnote', + title: 'Data Display/Typography/Old/Footnote', decorators: [WithTheme], component: Footnote, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/typography/components/Old/Headline/Headline.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Old/Headline/Headline.stories.tsx index 97ab0daf35..445061683e 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Old/Headline/Headline.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Old/Headline/Headline.stories.tsx @@ -9,7 +9,7 @@ import { Headline } from './Headline'; import { config } from './Headline.config'; const meta: Meta = { - title: 'typography/Old/Headline', + title: 'Data Display/Typography/Old/Headline', decorators: [WithTheme], component: Headline, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx index 4a29036df2..583f2f92e6 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx @@ -9,7 +9,7 @@ import { Paragraph } from './Paragraph'; import { config } from './Paragraph.config'; const meta: Meta = { - title: 'typography/Old/Paragraph', + title: 'Data Display/Typography/Old/Paragraph', decorators: [WithTheme], component: Paragraph, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx index 350a7de0bb..943a84f0f1 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx @@ -9,7 +9,7 @@ import { Subtitle } from './Subtitle'; import { config } from './Subtitle.config'; const meta: Meta = { - title: 'typography/Old/Subtitle', + title: 'Data Display/Typography/Old/Subtitle', decorators: [WithTheme], component: Subtitle, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/typography/components/Old/Underline/Underline.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Old/Underline/Underline.stories.tsx index f4fda6c6cd..937bf621ee 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Old/Underline/Underline.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Old/Underline/Underline.stories.tsx @@ -9,7 +9,7 @@ import { Underline } from './Underline'; import { config } from './Underline.config'; const meta: Meta = { - title: 'typography/Old/Underline', + title: 'Data Display/Typography/Old/Underline', decorators: [WithTheme], component: Underline, argTypes: { diff --git a/packages/plasma-new-hope/src/examples/typography/components/Text/Text.stories.tsx b/packages/plasma-new-hope/src/examples/typography/components/Text/Text.stories.tsx index e8d58d897a..6d78687050 100644 --- a/packages/plasma-new-hope/src/examples/typography/components/Text/Text.stories.tsx +++ b/packages/plasma-new-hope/src/examples/typography/components/Text/Text.stories.tsx @@ -9,7 +9,7 @@ import { Text } from './Text'; import { config } from './Text.config'; const meta: Meta = { - title: 'typography/Text', + title: 'Data Display/Typography/Text', decorators: [WithTheme], component: Text, argTypes: { diff --git a/packages/plasma-new-hope/src/index.ts b/packages/plasma-new-hope/src/index.ts index 0bcd7bde7b..cc4282c914 100644 --- a/packages/plasma-new-hope/src/index.ts +++ b/packages/plasma-new-hope/src/index.ts @@ -65,3 +65,4 @@ export * from './components/Attach'; export * from './components/ViewContainer'; export * from './components/NumberInput'; export * from './components/Dropzone'; +export * from './components/Rating'; diff --git a/packages/plasma-new-hope/src/utils/constants.ts b/packages/plasma-new-hope/src/utils/constants.ts index 7d5a51c3ab..08f323cd2e 100644 --- a/packages/plasma-new-hope/src/utils/constants.ts +++ b/packages/plasma-new-hope/src/utils/constants.ts @@ -11,3 +11,9 @@ export const keyCodes = { Space: 32, Escape: 27, }; + +export const screenGroupBreakpoints = { + small: '0', + medium: '35rem', + large: '60rem', +}; diff --git a/packages/plasma-new-hope/src/utils/createEvent.ts b/packages/plasma-new-hope/src/utils/createEvent.ts new file mode 100644 index 0000000000..4fd2128ceb --- /dev/null +++ b/packages/plasma-new-hope/src/utils/createEvent.ts @@ -0,0 +1,44 @@ +import { RefObject } from 'react'; + +export const createEvent = ( + ref: RefObject, +) => { + if (ref.current) { + const event = new Event('change', { bubbles: true }); + Object.defineProperty(event, 'target', { writable: false, value: ref.current }); + const syntheticEvent = createSyntheticEvent(event) as React.ChangeEvent; + return syntheticEvent; + } + + return null; +}; + +const createSyntheticEvent = (event: E): React.SyntheticEvent => { + let isDefaultPrevented = false; + let isPropagationStopped = false; + const preventDefault = () => { + isDefaultPrevented = true; + event.preventDefault(); + }; + const stopPropagation = () => { + isPropagationStopped = true; + event.stopPropagation(); + }; + return { + nativeEvent: event, + currentTarget: event.currentTarget as EventTarget & T, + target: event.target as EventTarget & T, + bubbles: event.bubbles, + cancelable: event.cancelable, + defaultPrevented: event.defaultPrevented, + eventPhase: event.eventPhase, + isTrusted: event.isTrusted, + preventDefault, + isDefaultPrevented: () => isDefaultPrevented, + stopPropagation, + isPropagationStopped: () => isPropagationStopped, + persist: () => {}, + timeStamp: event.timeStamp, + type: event.type, + }; +}; diff --git a/packages/plasma-new-hope/src/utils/index.ts b/packages/plasma-new-hope/src/utils/index.ts index d11a23626b..d087e66ff7 100644 --- a/packages/plasma-new-hope/src/utils/index.ts +++ b/packages/plasma-new-hope/src/utils/index.ts @@ -7,6 +7,7 @@ export { IS_REACT_18, safeUseId } from './react'; export { isNumber } from './isNumber'; export { mergeRefs, setRefList } from './setRefList'; export { isEmpty } from './isEmpty'; +export { createEvent } from './createEvent'; export * as constants from './constants'; export * from './getPopoverPlacement'; export { noop } from './noop'; diff --git a/packages/plasma-tokens/data/themes/plasma_giga.json b/packages/plasma-tokens/data/themes/plasma_giga.json new file mode 100644 index 0000000000..38d206839f --- /dev/null +++ b/packages/plasma-tokens/data/themes/plasma_giga.json @@ -0,0 +1,9813 @@ +{ + "config": { + "name": "plasma_giga", + "accentColor": { + "light": "[general.electricBlue.500]", + "dark": "[general.electricBlue.500]" + }, + "grayscale": { + "light": "gray", + "dark": "gray" + } + }, + "dark": { + "text": { + "default": { + "textPrimary": { + "value": "rgba(255, 255, 255, 0.96)", + "comment": "Основной цвет текста" + }, + "textPrimaryHover": { + "value": "#FFFFFF93", + "comment": "Основной цвет текста" + }, + "textPrimaryActive": { + "value": "#FFFFFFC4", + "comment": "Основной цвет текста" + }, + "textPrimaryBrightness": { + "value": "#FFFFFFF5", + "comment": "Основной цвет текста" + }, + "textSecondary": { + "value": "rgba(255, 255, 255, 0.56)", + "comment": "Вторичный цвет текста" + }, + "textSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Вторичный цвет текста" + }, + "textSecondaryActive": { + "value": "#FFFFFFAB", + "comment": "Вторичный цвет текста" + }, + "textTertiary": { + "value": "rgba(255, 255, 255, 0.28)", + "comment": "Третичный цвет текста" + }, + "textTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Третичный цвет текста" + }, + "textTertiaryActive": { + "value": "#FFFFFF56", + "comment": "Третичный цвет текста" + }, + "textParagraph": { + "value": "rgba(255, 255, 255, 0.8)", + "comment": "Сплошной наборный текст" + }, + "textParagraphHover": { + "value": "#FFFFFF7A", + "comment": "Сплошной наборный текст" + }, + "textParagraphActive": { + "value": "#FFFFFFA3", + "comment": "Сплошной наборный текст" + }, + "textAccentHover": { + "value": "#90B6FEFF", + "comment": "Акцентный цвет" + }, + "textAccentActive": { + "value": "#216EFDFF", + "comment": "Акцентный цвет" + }, + "textAccentGradientHover": { + "value": "#CCCCCCFF", + "comment": "Акцентный цвет с градиентом", + "enabled": true + }, + "textAccentGradientActive": { + "value": "#E6E6E6FF", + "comment": "Акцентный цвет с градиентом", + "enabled": true + }, + "textAccentMinorHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный цвет" + }, + "textAccentMinorActive": { + "value": "#1C62E3FF", + "comment": "Акцентный минорный цвет" + }, + "textAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный цвет с градиентом", + "enabled": false + }, + "textAccentMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Акцентный минорный цвет с градиентом", + "enabled": false + }, + "textAccentMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Акцентный минорный цвет с градиентом", + "enabled": false + }, + "textPromo": { + "value": "#FFFFFF", + "comment": "Промо цвет", + "enabled": false + }, + "textPromoHover": { + "value": "#CCCCCCFF", + "comment": "Промо цвет", + "enabled": false + }, + "textPromoActive": { + "value": "#E6E6E6FF", + "comment": "Промо цвет", + "enabled": false + }, + "textPromoGradient": { + "value": "#FFFFFF", + "comment": "Промо цвет с градиентом", + "enabled": false + }, + "textPromoGradientHover": { + "value": "#CCCCCCFF", + "comment": "Промо цвет с градиентом", + "enabled": false + }, + "textPromoGradientActive": { + "value": "#E6E6E6FF", + "comment": "Промо цвет с градиентом", + "enabled": false + }, + "textPromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет", + "enabled": false + }, + "textPromoMinorHover": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет", + "enabled": false + }, + "textPromoMinorActive": { + "value": "#E6E6E6FF", + "comment": "Минорный промо цвет", + "enabled": false + }, + "textPromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет с градиентом", + "enabled": false + }, + "textPromoMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет с градиентом", + "enabled": false + }, + "textPromoMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Минорный промо цвет с градиентом", + "enabled": false + }, + "textPositiveHover": { + "value": "#1EB83AFF", + "comment": "Цвет успеха" + }, + "textPositiveActive": { + "value": "#15842AFF", + "comment": "Цвет успеха" + }, + "textWarningHover": { + "value": "#FB7223FF", + "comment": "Цвет предупреждения" + }, + "textWarningActive": { + "value": "#DC5304FF", + "comment": "Цвет предупреждения" + }, + "textNegativeHover": { + "value": "#FF475AFF", + "comment": "Цвет ошибки" + }, + "textNegativeActive": { + "value": "#FF0A23FF", + "comment": "Цвет ошибки" + }, + "textInfoHover": { + "value": "#90B6FEFF", + "comment": "Цвет информации" + }, + "textInfoActive": { + "value": "#216EFDFF", + "comment": "Цвет информации" + }, + "textPositiveMinorHover": { + "value": "#0F9527FF", + "comment": "Минорный цвет успеха" + }, + "textPositiveMinorActive": { + "value": "#0C7920FF", + "comment": "Минорный цвет успеха" + }, + "textWarningMinorHover": { + "value": "#BB4F11FF", + "comment": "Минорный цвет предупреждения" + }, + "textWarningMinorActive": { + "value": "#9F440FFF", + "comment": "Минорный цвет предупреждения" + }, + "textNegativeMinorHover": { + "value": "#B91828FF", + "comment": "Минорный цвет ошибки" + }, + "textNegativeMinorActive": { + "value": "#83111CFF", + "comment": "Минорный цвет ошибки" + }, + "textInfoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный цвет информации" + }, + "textInfoMinorActive": { + "value": "#1C62E3FF", + "comment": "Минорный цвет информации" + }, + "textAccent": { + "value": "[general.electricBlue.500]", + "comment": "Акцентный цвет" + }, + "textAccentGradient": { + "value": { + "origin": "linear-gradient(90deg, #5E94FF 0%, #43DBFA 100%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#5E94FF", + "#43DBFA" + ], + "locations": [ + 0, + 1 + ], + "startPoint": { + "x": 0, + "y": 0.5 + }, + "endPoint": { + "x": 1, + "y": 0.5 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#5E94FF", + "#43DBFA" + ], + "locations": [ + 0, + 1 + ], + "startPoint": { + "x": 0, + "y": 0.5 + }, + "endPoint": { + "x": 1, + "y": 0.5 + } + } + }, + "comment": "Акцентный цвет с градиентом", + "enabled": true + }, + "textAccentMinor": { + "value": "[general.electricBlue.800]", + "comment": "Акцентный минорный цвет" + }, + "textPositive": { + "value": "[general.green.500]", + "comment": "Цвет успеха" + }, + "textWarning": { + "value": "[general.orange.500]", + "comment": "Цвет предупреждения" + }, + "textNegative": { + "value": "[general.red.500]", + "comment": "Цвет ошибки" + }, + "textPositiveMinor": { + "value": "[general.green.800]", + "comment": "Минорный цвет успеха" + }, + "textWarningMinor": { + "value": "[general.orange.800]", + "comment": "Минорный цвет предупреждения" + }, + "textNegativeMinor": { + "value": "[general.red.800]", + "comment": "Минорный цвет ошибки" + }, + "textInfoMinor": { + "value": "[general.electricBlue.800]", + "comment": "Минорный цвет информации" + }, + "textInfo": { + "value": "[general.electricBlue.500]", + "comment": "Цвет информации" + } + }, + "onDark": { + "textPrimary": { + "value": "rgba(255, 255, 255, 0.96)", + "comment": "Основной цвет текста на темном фоне" + }, + "textPrimaryHover": { + "value": "#FFFFFF93", + "comment": "Основной цвет текста на темном фоне" + }, + "textPrimaryActive": { + "value": "#FFFFFFC4", + "comment": "Основной цвет текста на темном фоне" + }, + "textPrimaryBrightness": { + "value": "#FFFFFFF5", + "comment": "Основной цвет текста на темном фоне" + }, + "textSecondary": { + "value": "rgba(255, 255, 255, 0.56)", + "comment": "Вторичный цвет текста на темном фоне" + }, + "textSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Вторичный цвет текста на темном фоне" + }, + "textSecondaryActive": { + "value": "#FFFFFFAB", + "comment": "Вторичный цвет текста на темном фоне" + }, + "textTertiary": { + "value": "rgba(255, 255, 255, 0.28)", + "comment": "Третичный цвет текста на темном фоне" + }, + "textTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Третичный цвет текста на темном фоне" + }, + "textTertiaryActive": { + "value": "#FFFFFF56", + "comment": "Третичный цвет текста на темном фоне" + }, + "textParagraph": { + "value": "rgba(255, 255, 255, 0.8)", + "comment": "Сплошной наборный текст на темном фоне" + }, + "textParagraphHover": { + "value": "#FFFFFF7A", + "comment": "Сплошной наборный текст на темном фоне" + }, + "textParagraphActive": { + "value": "#FFFFFFA3", + "comment": "Сплошной наборный текст на темном фоне" + }, + "textAccentHover": { + "value": "#90B6FEFF", + "comment": "Акцентный цвет на темном фоне" + }, + "textAccentActive": { + "value": "#216EFDFF", + "comment": "Акцентный цвет на темном фоне" + }, + "textAccentGradientHover": { + "value": "#CCCCCCFF", + "comment": "Акцентный цвет с градиентом на темном фоне", + "enabled": true + }, + "textAccentGradientActive": { + "value": "#E6E6E6FF", + "comment": "Акцентный цвет с градиентом на темном фоне", + "enabled": true + }, + "textAccentMinorHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный цвет на темном фоне" + }, + "textAccentMinorActive": { + "value": "#1C62E3FF", + "comment": "Акцентный минорный цвет на темном фоне" + }, + "textAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный цвет с градиентом на темном фоне", + "enabled": false + }, + "textAccentMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Акцентный минорный цвет с градиентом на темном фоне", + "enabled": false + }, + "textAccentMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Акцентный минорный цвет с градиентом на темном фоне", + "enabled": false + }, + "textPromo": { + "value": "#FFFFFF", + "comment": "Промо цвет на темном фоне", + "enabled": false + }, + "textPromoHover": { + "value": "#CCCCCCFF", + "comment": "Промо цвет на темном фоне", + "enabled": false + }, + "textPromoActive": { + "value": "#E6E6E6FF", + "comment": "Промо цвет на темном фоне", + "enabled": false + }, + "textPromoGradient": { + "value": "#FFFFFF", + "comment": "Промо цвет на темном фоне с градиентом", + "enabled": false + }, + "textPromoGradientHover": { + "value": "#CCCCCCFF", + "comment": "Промо цвет на темном фоне с градиентом", + "enabled": false + }, + "textPromoGradientActive": { + "value": "#E6E6E6FF", + "comment": "Промо цвет на темном фоне с градиентом", + "enabled": false + }, + "textPromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет на темном фоне", + "enabled": false + }, + "textPromoMinorHover": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет на темном фоне", + "enabled": false + }, + "textPromoMinorActive": { + "value": "#E6E6E6FF", + "comment": "Минорный промо цвет на темном фоне", + "enabled": false + }, + "textPromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет на темном фоне с градиентом", + "enabled": false + }, + "textPromoMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет на темном фоне с градиентом", + "enabled": false + }, + "textPromoMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Минорный промо цвет на темном фоне с градиентом", + "enabled": false + }, + "textPositiveHover": { + "value": "#1EB83AFF", + "comment": "Цвет успеха на темном фоне" + }, + "textPositiveActive": { + "value": "#15842AFF", + "comment": "Цвет успеха на темном фоне" + }, + "textWarningHover": { + "value": "#FB7223FF", + "comment": "Цвет предупреждения на темном фоне" + }, + "textWarningActive": { + "value": "#DC5304FF", + "comment": "Цвет предупреждения на темном фоне" + }, + "textNegativeHover": { + "value": "#FF475AFF", + "comment": "Цвет ошибки на темном фоне" + }, + "textNegativeActive": { + "value": "#FF0A23FF", + "comment": "Цвет ошибки на темном фоне" + }, + "textInfoHover": { + "value": "#90B6FEFF", + "comment": "Цвет информации на темном фоне" + }, + "textInfoActive": { + "value": "#216EFDFF", + "comment": "Цвет информации на темном фоне" + }, + "textPositiveMinorHover": { + "value": "#0F9527FF", + "comment": "Минорный цвет успеха на темном фоне" + }, + "textPositiveMinorActive": { + "value": "#0C7920FF", + "comment": "Минорный цвет успеха на темном фоне" + }, + "textWarningMinorHover": { + "value": "#BB4F11FF", + "comment": "Минорный цвет предупреждения на темном фоне" + }, + "textWarningMinorActive": { + "value": "#9F440FFF", + "comment": "Минорный цвет предупреждения на темном фоне" + }, + "textNegativeMinorHover": { + "value": "#B91828FF", + "comment": "Минорный цвет ошибки на темном фоне" + }, + "textNegativeMinorActive": { + "value": "#83111CFF", + "comment": "Минорный цвет ошибки на темном фоне" + }, + "textInfoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный цвет информации на темном фоне" + }, + "textInfoMinorActive": { + "value": "#1C62E3FF", + "comment": "Минорный цвет информации на темном фоне" + }, + "textAccent": { + "value": "[general.electricBlue.500]", + "comment": "Акцентный цвет на темном фоне" + }, + "textAccentMinor": { + "value": "[general.electricBlue.800]", + "comment": "Акцентный минорный цвет на темном фоне" + }, + "textAccentGradient": { + "value": { + "origin": "linear-gradient(90deg, #5E94FF 0%, #43DBFA 100%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#5E94FF", + "#43DBFA" + ], + "locations": [ + 0, + 1 + ], + "startPoint": { + "x": 0, + "y": 0.5 + }, + "endPoint": { + "x": 1, + "y": 0.5 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#5E94FF", + "#43DBFA" + ], + "locations": [ + 0, + 1 + ], + "startPoint": { + "x": 0, + "y": 0.5 + }, + "endPoint": { + "x": 1, + "y": 0.5 + } + } + }, + "comment": "Акцентный цвет с градиентом на темном фоне", + "enabled": true + }, + "textPositive": { + "value": "[general.green.500]", + "comment": "Цвет успеха на темном фоне" + }, + "textWarning": { + "value": "[general.orange.500]", + "comment": "Цвет предупреждения на темном фоне" + }, + "textNegative": { + "value": "[general.red.500]", + "comment": "Цвет ошибки на темном фоне" + }, + "textInfo": { + "value": "[general.electricBlue.500]", + "comment": "Цвет информации на темном фоне" + }, + "textPositiveMinor": { + "value": "[general.green.800]", + "comment": "Минорный цвет успеха на темном фоне" + }, + "textWarningMinor": { + "value": "[general.orange.800]", + "comment": "Минорный цвет предупреждения на темном фоне" + }, + "textNegativeMinor": { + "value": "[general.red.800]", + "comment": "Минорный цвет ошибки на темном фоне" + }, + "textInfoMinor": { + "value": "[general.electricBlue.800]", + "comment": "Минорный цвет информации на темном фоне" + } + }, + "onLight": { + "textPrimaryHover": { + "value": "#08080893", + "comment": "Основной цвет текста на светлом фоне" + }, + "textPrimaryActive": { + "value": "#080808C4", + "comment": "Основной цвет текста на светлом фоне" + }, + "textPrimaryBrightness": { + "value": "#080808F5", + "comment": "Основной цвет текста на светлом фоне" + }, + "textSecondaryHover": { + "value": "#080808FF", + "comment": "Вторичный цвет текста на светлом фоне" + }, + "textSecondaryActive": { + "value": "#080808AB", + "comment": "Вторичный цвет текста на светлом фоне" + }, + "textTertiaryHover": { + "value": "#080808FF", + "comment": "Третичный цвет текста на светлом фоне" + }, + "textTertiaryActive": { + "value": "#08080856", + "comment": "Третичный цвет текста на светлом фоне" + }, + "textParagraphHover": { + "value": "#0808087A", + "comment": "Сплошной наборный текст на светлом фоне" + }, + "textParagraphActive": { + "value": "#080808A3", + "comment": "Сплошной наборный текст на светлом фоне" + }, + "textAccentHover": { + "value": "#79A7FBFF", + "comment": "Акцентный цвет на светлом фоне" + }, + "textAccentActive": { + "value": "#0D5FF8FF", + "comment": "Акцентный цвет на светлом фоне" + }, + "textAccentGradientHover": { + "value": "#CCCCCCFF", + "comment": "Акцентный цвет с градиентом на светлом фоне", + "enabled": true + }, + "textAccentGradientActive": { + "value": "#E6E6E6FF", + "comment": "Акцентный цвет с градиентом на светлом фоне", + "enabled": true + }, + "textAccentMinorHover": { + "value": "#DCE8FEFF", + "comment": "Акцентный минорный цвет на светлом фоне" + }, + "textAccentMinorActive": { + "value": "#6FA0FBFF", + "comment": "Акцентный минорный цвет на светлом фоне" + }, + "textAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный цвет с градиентом на светлом фоне", + "enabled": false + }, + "textAccentMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Акцентный минорный цвет с градиентом на светлом фоне", + "enabled": false + }, + "textAccentMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Акцентный минорный цвет с градиентом на светлом фоне", + "enabled": false + }, + "textPromo": { + "value": "#FFFFFF", + "comment": "Промо цвет на светлом фоне", + "enabled": false + }, + "textPromoHover": { + "value": "#CCCCCCFF", + "comment": "Промо цвет на светлом фоне", + "enabled": false + }, + "textPromoActive": { + "value": "#E6E6E6FF", + "comment": "Промо цвет на светлом фоне", + "enabled": false + }, + "textPromoGradient": { + "value": "#FFFFFF", + "comment": "Промо цвет на светлом фоне с градиентом", + "enabled": false + }, + "textPromoGradientHover": { + "value": "#CCCCCCFF", + "comment": "Промо цвет на светлом фоне с градиентом", + "enabled": false + }, + "textPromoGradientActive": { + "value": "#E6E6E6FF", + "comment": "Промо цвет на светлом фоне с градиентом", + "enabled": false + }, + "textPromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет на светлом фоне", + "enabled": false + }, + "textPromoMinorHover": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет на светлом фоне", + "enabled": false + }, + "textPromoMinorActive": { + "value": "#E6E6E6FF", + "comment": "Минорный промо цвет на светлом фоне", + "enabled": false + }, + "textPromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет на светлом фоне с градиентом", + "enabled": false + }, + "textPromoMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет на светлом фоне с градиентом", + "enabled": false + }, + "textPromoMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Минорный промо цвет на светлом фоне с градиентом", + "enabled": false + }, + "textPositiveHover": { + "value": "#1EB83AFF", + "comment": "Цвет успеха на светлом фоне" + }, + "textPositiveActive": { + "value": "#15842AFF", + "comment": "Цвет успеха на светлом фоне" + }, + "textWarningHover": { + "value": "#FB7223FF", + "comment": "Цвет предупреждения на светлом фоне" + }, + "textWarningActive": { + "value": "#DC5304FF", + "comment": "Цвет предупреждения на светлом фоне" + }, + "textNegativeHover": { + "value": "#F5384BFF", + "comment": "Цвет ошибки на светлом фоне" + }, + "textNegativeActive": { + "value": "#E40C22FF", + "comment": "Цвет ошибки на светлом фоне" + }, + "textInfoHover": { + "value": "#79A7FBFF", + "comment": "Цвет информации на светлом фоне" + }, + "textInfoActive": { + "value": "#0D5FF8FF", + "comment": "Цвет информации на светлом фоне" + }, + "textPositiveMinorHover": { + "value": "#3EDA5BFF", + "comment": "Минорный цвет успеха на светлом фоне" + }, + "textPositiveMinorActive": { + "value": "#23B83EFF", + "comment": "Минорный цвет успеха на светлом фоне" + }, + "textWarningMinorHover": { + "value": "#FDB086FF", + "comment": "Минорный цвет предупреждения на светлом фоне" + }, + "textWarningMinorActive": { + "value": "#FC884AFF", + "comment": "Минорный цвет предупреждения на светлом фоне" + }, + "textNegativeMinorHover": { + "value": "#FFADB6FF", + "comment": "Минорный цвет ошибки на светлом фоне" + }, + "textNegativeMinorActive": { + "value": "#FF707EFF", + "comment": "Минорный цвет ошибки на светлом фоне" + }, + "textInfoMinorHover": { + "value": "#DCE8FEFF", + "comment": "Минорный цвет информации на светлом фоне" + }, + "textInfoMinorActive": { + "value": "#6FA0FBFF", + "comment": "Минорный цвет информации на светлом фоне" + }, + "textAccent": { + "value": "[general.electricBlue.600]", + "comment": "Акцентный цвет на светлом фоне" + }, + "textAccentMinor": { + "value": "[general.electricBlue.300]", + "comment": "Акцентный минорный цвет на светлом фоне" + }, + "textAccentGradient": { + "value": { + "origin": "linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + } + }, + "comment": "Акцентный цвет с градиентом на светлом фоне", + "enabled": true + }, + "textPositive": { + "value": "[general.green.500]", + "comment": "Цвет успеха на светлом фоне" + }, + "textWarning": { + "value": "[general.orange.500]", + "comment": "Цвет предупреждения на светлом фоне" + }, + "textNegative": { + "value": "[general.red.600]", + "comment": "Цвет ошибки на светлом фоне" + }, + "textInfo": { + "value": "[general.electricBlue.600]", + "comment": "Цвет информации на светлом фоне" + }, + "textPositiveMinor": { + "value": "[general.green.300]", + "comment": "Минорный цвет успеха на светлом фоне" + }, + "textWarningMinor": { + "value": "[general.orange.300]", + "comment": "Минорный цвет предупреждения на светлом фоне" + }, + "textNegativeMinor": { + "value": "[general.red.300]", + "comment": "Минорный цвет ошибки на светлом фоне" + }, + "textInfoMinor": { + "value": "[general.electricBlue.300]", + "comment": "Минорный цвет информации на светлом фоне" + }, + "textPrimary": { + "value": "rgba(8,8,8,0.96)", + "comment": "Основной цвет текста на светлом фоне" + }, + "textSecondary": { + "value": "rgba(8,8,8,0.56)", + "comment": "Вторичный цвет текста на светлом фоне" + }, + "textTertiary": { + "value": "rgba(8,8,8,0.28)", + "comment": "Третичный цвет текста на светлом фоне" + }, + "textParagraph": { + "value": "rgba(8,8,8,0.80)", + "comment": "Сплошной наборный текст на светлом фоне" + } + }, + "inverse": { + "textPrimaryHover": { + "value": "#08080893", + "comment": "Инвертированный основной цвет текста" + }, + "textPrimaryActive": { + "value": "#080808C4", + "comment": "Инвертированный основной цвет текста" + }, + "textPrimaryBrightness": { + "value": "#080808F5", + "comment": "Инвертированный основной цвет текста" + }, + "textSecondaryHover": { + "value": "#080808FF", + "comment": "Инвертированный вторичный цвет текста" + }, + "textSecondaryActive": { + "value": "#080808AB", + "comment": "Инвертированный вторичный цвет текста" + }, + "textTertiaryHover": { + "value": "#080808FF", + "comment": "Инвертированный третичный цвет текста" + }, + "textTertiaryActive": { + "value": "#08080856", + "comment": "Инвертированный третичный цвет текста" + }, + "textParagraphHover": { + "value": "#0808087A", + "comment": "Инвертированный сплошной наборный текст" + }, + "textParagraphActive": { + "value": "#080808A3", + "comment": "Инвертированный сплошной наборный текст" + }, + "textAccentHover": { + "value": "#79A7FBFF", + "comment": "Инвертированный акцентный цвет" + }, + "textAccentActive": { + "value": "#0D5FF8FF", + "comment": "Инвертированный акцентный цвет" + }, + "textAccentGradientHover": { + "value": "#CCCCCCFF", + "comment": "Инвертированный акцентный цвет с градиентом", + "enabled": true + }, + "textAccentGradientActive": { + "value": "#E6E6E6FF", + "comment": "Инвертированный акцентный цвет с градиентом", + "enabled": true + }, + "textAccentMinorHover": { + "value": "#DCE8FEFF", + "comment": "Инвертированный минорный акцентный цвет" + }, + "textAccentMinorActive": { + "value": "#6FA0FBFF", + "comment": "Инвертированный минорный акцентный цвет" + }, + "textAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный акцентный минорный цвет с градиентом", + "enabled": false + }, + "textAccentMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Инвертированный акцентный минорный цвет с градиентом", + "enabled": false + }, + "textAccentMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Инвертированный акцентный минорный цвет с градиентом", + "enabled": false + }, + "textPromo": { + "value": "#FFFFFF", + "comment": "Инвертированный промо цвет", + "enabled": false + }, + "textPromoHover": { + "value": "#CCCCCCFF", + "comment": "Инвертированный промо цвет", + "enabled": false + }, + "textPromoActive": { + "value": "#E6E6E6FF", + "comment": "Инвертированный промо цвет", + "enabled": false + }, + "textPromoGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный промо цвет с градиентом", + "enabled": false + }, + "textPromoGradientHover": { + "value": "#CCCCCCFF", + "comment": "Инвертированный промо цвет с градиентом", + "enabled": false + }, + "textPromoGradientActive": { + "value": "#E6E6E6FF", + "comment": "Инвертированный промо цвет с градиентом", + "enabled": false + }, + "textPromoMinor": { + "value": "#FFFFFF", + "comment": "Инвертированный минорный промо цвет", + "enabled": false + }, + "textPromoMinorHover": { + "value": "#CCCCCCFF", + "comment": "Инвертированный минорный промо цвет", + "enabled": false + }, + "textPromoMinorActive": { + "value": "#E6E6E6FF", + "comment": "Инвертированный минорный промо цвет", + "enabled": false + }, + "textPromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный минорный промо цвет с градиентом", + "enabled": false + }, + "textPromoMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Инвертированный минорный промо цвет с градиентом", + "enabled": false + }, + "textPromoMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Инвертированный минорный промо цвет с градиентом", + "enabled": false + }, + "textPositiveHover": { + "value": "#1EB83AFF", + "comment": "Инвертированный цвет успеха" + }, + "textPositiveActive": { + "value": "#15842AFF", + "comment": "Инвертированный цвет успеха" + }, + "textWarningHover": { + "value": "#FB7223FF", + "comment": "Инвертированный цвет предупреждения" + }, + "textWarningActive": { + "value": "#DC5304FF", + "comment": "Инвертированный цвет предупреждения" + }, + "textNegativeHover": { + "value": "#F5384BFF", + "comment": "Инвертированный цвет ошибки" + }, + "textNegativeActive": { + "value": "#E40C22FF", + "comment": "Инвертированный цвет ошибки" + }, + "textInfoHover": { + "value": "#79A7FBFF", + "comment": "Инвертированный цвет информации" + }, + "textInfoActive": { + "value": "#0D5FF8FF", + "comment": "Инвертированный цвет информации" + }, + "textPositiveMinorHover": { + "value": "#3EDA5BFF", + "comment": "Инвертированный минорный цвет успеха" + }, + "textPositiveMinorActive": { + "value": "#23B83EFF", + "comment": "Инвертированный минорный цвет успеха" + }, + "textWarningMinorHover": { + "value": "#FDB086FF", + "comment": "Инвертированный минорный цвет предупреждения" + }, + "textWarningMinorActive": { + "value": "#FC884AFF", + "comment": "Инвертированный минорный цвет предупреждения" + }, + "textNegativeMinorHover": { + "value": "#FFADB6FF", + "comment": "Инвертированный минорный цвет ошибки" + }, + "textNegativeMinorActive": { + "value": "#FF707EFF", + "comment": "Инвертированный минорный цвет ошибки" + }, + "textInfoMinorHover": { + "value": "#DCE8FEFF", + "comment": "Инвертированный минорный цвет информации" + }, + "textInfoMinorActive": { + "value": "#6FA0FBFF", + "comment": "Инвертированный минорный цвет информации" + }, + "textPrimary": { + "value": "rgba(8,8,8,0.96)", + "comment": "Инвертированный основной цвет текста" + }, + "textSecondary": { + "value": "rgba(8,8,8,0.56)", + "comment": "Инвертированный вторичный цвет текста" + }, + "textTertiary": { + "value": "rgba(8,8,8,0.28)", + "comment": "Инвертированный третичный цвет текста" + }, + "textParagraph": { + "value": "rgba(8,8,8,0.80)", + "comment": "Инвертированный сплошной наборный текст" + }, + "textAccent": { + "value": "[general.electricBlue.600]", + "comment": "Инвертированный акцентный цвет" + }, + "textAccentGradient": { + "value": { + "origin": "linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + } + }, + "comment": "Инвертированный акцентный цвет с градиентом", + "enabled": true + }, + "textAccentMinor": { + "value": "[general.electricBlue.300]", + "comment": "Инвертированный минорный акцентный цвет" + }, + "textPositive": { + "value": "[general.green.500]", + "comment": "Инвертированный цвет успеха" + }, + "textWarning": { + "value": "[general.orange.500]", + "comment": "Инвертированный цвет предупреждения" + }, + "textNegative": { + "value": "[general.red.600]", + "comment": "Инвертированный цвет ошибки" + }, + "textInfo": { + "value": "[general.electricBlue.600]", + "comment": "Инвертированный цвет информации" + }, + "textPositiveMinor": { + "value": "[general.green.300]", + "comment": "Инвертированный минорный цвет успеха" + }, + "textWarningMinor": { + "value": "[general.orange.300]", + "comment": "Инвертированный минорный цвет предупреждения" + }, + "textNegativeMinor": { + "value": "[general.red.300]", + "comment": "Инвертированный минорный цвет ошибки" + }, + "textInfoMinor": { + "value": "[general.electricBlue.300]", + "comment": "Инвертированный минорный цвет информации" + } + } + }, + "surface": { + "default": { + "surfaceSolidPrimaryHover": { + "value": "#121212FF", + "comment": "Основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidPrimaryActive": { + "value": "#080808FF", + "comment": "Основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidPrimaryBrightness": { + "value": "#1C1C1CFF", + "comment": "Основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidSecondaryHover": { + "value": "#242424FF", + "comment": "Вторичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidSecondaryActive": { + "value": "#141414FF", + "comment": "Вторичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidTertiaryHover": { + "value": "#303030FF", + "comment": "Третичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidTertiaryActive": { + "value": "#212121FF", + "comment": "Третичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidCardHover": { + "value": "#1C1C1CFF", + "comment": "Основной фон для карточек" + }, + "surfaceSolidCardActive": { + "value": "#121212FF", + "comment": "Основной фон для карточек" + }, + "surfaceSolidCardBrightness": { + "value": "#262626FF", + "comment": "Основной фон для карточек" + }, + "surfaceSolidDefaultHover": { + "value": "#FFFFFFFF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию" + }, + "surfaceSolidDefaultActive": { + "value": "#FFFFFFFF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию" + }, + "surfaceTransparentPrimaryHover": { + "value": "#FFFFFF1C", + "comment": "Основной прозрачный фон поверхности/контрола" + }, + "surfaceTransparentPrimaryActive": { + "value": "#FFFFFF08", + "comment": "Основной прозрачный фон поверхности/контрола" + }, + "surfaceTransparentSecondaryHover": { + "value": "#FFFFFF38", + "comment": "Вторичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentSecondaryActive": { + "value": "#FFFFFF0A", + "comment": "Вторичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentTertiaryHover": { + "value": "#FFFFFF45", + "comment": "Третичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentTertiaryActive": { + "value": "#FFFFFF17", + "comment": "Третичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentDeepHover": { + "value": "#FFFFFFC2", + "comment": "Глубокий прозрачный фон поверхности/контрола" + }, + "surfaceTransparentDeepActive": { + "value": "#FFFFFF94", + "comment": "Глубокий прозрачный фон поверхности/контрола" + }, + "surfaceTransparentCardHover": { + "value": "#FFFFFF3D", + "comment": "Прозрачный фон для карточек" + }, + "surfaceTransparentCardActive": { + "value": "#FFFFFF0F", + "comment": "Прозрачный фон для карточек" + }, + "surfaceTransparentCardBrightness": { + "value": "#FFFFFF1F", + "comment": "Прозрачный фон для карточек" + }, + "surfaceClearHover": { + "value": "#FFFFFFFF", + "comment": "Фон поверхности/контрола без заливки" + }, + "surfaceClearActive": { + "value": "#FFFFFFFF", + "comment": "Фон поверхности/контрола без заливки" + }, + "surfaceAccentHover": { + "value": "#5D95FDFF", + "comment": "Акцентный фон поверхности/контрола" + }, + "surfaceAccentActive": { + "value": "#357BFDFF", + "comment": "Акцентный фон поверхности/контрола" + }, + "surfaceAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный фон поверхности/контрола с градиентом", + "enabled": true + }, + "surfaceAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Акцентный фон поверхности/контрола с градиентом", + "enabled": true + }, + "surfaceAccentMinorHover": { + "value": "#0A2A67FF", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола" + }, + "surfaceAccentMinorActive": { + "value": "#071F4BFF", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола" + }, + "surfaceAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceAccentMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentAccentHover": { + "value": "#3F82FD52", + "comment": "Прозрачный акцентный фон поверхности/контрола" + }, + "surfaceTransparentAccentActive": { + "value": "#3F82FD24", + "comment": "Прозрачный акцентный фон поверхности/контрола" + }, + "surfaceTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromo": { + "value": "#FFFFFF", + "comment": "Промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoHover": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoActive": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoGradient": { + "value": "#FFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoMinorActive": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentPromo": { + "value": "#FFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола", + "enabled": false + }, + "surfaceTransparentPromoHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола", + "enabled": false + }, + "surfaceTransparentPromoActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола", + "enabled": false + }, + "surfaceTransparentPromoGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentPromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentPromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePositiveHover": { + "value": "#1DAF37FF", + "comment": "Цвет фона поверхности/контрола успех" + }, + "surfacePositiveActive": { + "value": "#18952FFF", + "comment": "Цвет фона поверхности/контрола успех" + }, + "surfaceWarningHover": { + "value": "#FB7223FF", + "comment": "Цвет фона поверхности/контрола предупреждение" + }, + "surfaceWarningActive": { + "value": "#F05B05FF", + "comment": "Цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegativeHover": { + "value": "#FF475AFF", + "comment": "Цвет фона поверхности/контрола ошибка" + }, + "surfaceNegativeActive": { + "value": "#FF1F35FF", + "comment": "Цвет фона поверхности/контрола ошибка" + }, + "surfaceInfoHover": { + "value": "#5D95FDFF", + "comment": "Цвет фона поверхности/контрола информация" + }, + "surfaceInfoActive": { + "value": "#357BFDFF", + "comment": "Цвет фона поверхности/контрола информация" + }, + "surfacePositiveMinorHover": { + "value": "#0E3A16FF", + "comment": "Минорный цвет фона поверхности/контрола успех" + }, + "surfacePositiveMinorActive": { + "value": "#08210CFF", + "comment": "Минорный цвет фона поверхности/контрола успех" + }, + "surfaceWarningMinorHover": { + "value": "#4F250DFF", + "comment": "Минорный цвет фона поверхности/контрола предупреждение" + }, + "surfaceWarningMinorActive": { + "value": "#351909FF", + "comment": "Минорный цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegativeMinorHover": { + "value": "#5B1018FF", + "comment": "Минорный цвет фона поверхности/контрола ошибка" + }, + "surfaceNegativeMinorActive": { + "value": "#410B11FF", + "comment": "Минорный цвет фона поверхности/контрола ошибка" + }, + "surfaceInfoMinorHover": { + "value": "#0A2A67FF", + "comment": "Минорный цвет фона поверхности/контрола информация" + }, + "surfaceInfoMinorActive": { + "value": "#071F4BFF", + "comment": "Минорный цвет фона поверхности/контрола информация" + }, + "surfaceTransparentPositive": { + "value": "[general.green.500][-0.80]", + "comment": "Прозрачный цвет фона поверхности/контрола успех" + }, + "surfaceTransparentPositiveHover": { + "value": "#1A9E3252", + "comment": "Прозрачный цвет фона поверхности/контрола успех" + }, + "surfaceTransparentPositiveActive": { + "value": "#1A9E3224", + "comment": "Прозрачный цвет фона поверхности/контрола успех" + }, + "surfaceTransparentWarning": { + "value": "[general.orange.500][-0.80]", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentWarningHover": { + "value": "#FA5F0552", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentWarningActive": { + "value": "#FA5F0524", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentNegative": { + "value": "[general.red.500][-0.80]", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentNegativeHover": { + "value": "#FF293E52", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentNegativeActive": { + "value": "#FF293E24", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentInfoHover": { + "value": "#3F82FD52", + "comment": "Прозрачный цвет фона поверхности/контрола информация" + }, + "surfaceTransparentInfoActive": { + "value": "#3F82FD24", + "comment": "Прозрачный цвет фона поверхности/контрола информация" + }, + "surfaceSolidPrimary": { + "value": "#0D0D0D", + "comment": "Основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidSecondary": { + "value": "#191919", + "comment": "Вторичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidTertiary": { + "value": "[general.gray.900]", + "comment": "Третичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidCard": { + "value": "[general.gray.950]", + "comment": "Основной фон для карточек" + }, + "surfaceSolidDefault": { + "value": "#FFFFFF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию" + }, + "surfaceTransparentCard": { + "value": "rgba(255,255,255,0.12)", + "comment": "Прозрачный фон для карточек" + }, + "surfaceTransparentPrimary": { + "value": "rgba(255,255,255,0.05)", + "comment": "Основной прозрачный фон поверхности/контрола" + }, + "surfaceTransparentSecondary": { + "value": "rgba(255,255,255,0.10)", + "comment": "Вторичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentTertiary": { + "value": "rgba(255,255,255,0.15)", + "comment": "Третичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentDeep": { + "value": "rgba(255,255,255,0.64)", + "comment": "Глубокий прозрачный фон поверхности/контрола" + }, + "surfaceClear": { + "value": "#FFFFFF00", + "comment": "Фон поверхности/контрола без заливки" + }, + "surfaceAccent": { + "value": "[general.electricBlue.500]", + "comment": "Акцентный фон поверхности/контрола" + }, + "surfaceAccentGradient": { + "value": { + "origin": "linear-gradient(90deg, #3E79F0 0%, #27C6E5 100%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0, + 1 + ], + "startPoint": { + "x": 0, + "y": 0.5 + }, + "endPoint": { + "x": 1, + "y": 0.5 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0, + 1 + ], + "startPoint": { + "x": 0, + "y": 0.5 + }, + "endPoint": { + "x": 1, + "y": 0.5 + } + } + }, + "comment": "Акцентный фон поверхности/контрола с градиентом", + "enabled": true + }, + "surfaceAccentMinor": { + "value": "[general.electricBlue.900]", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола" + }, + "surfaceTransparentAccent": { + "value": "rgba(63,129,253,0.20)", + "comment": "Прозрачный акцентный фон поверхности/контрола" + }, + "surfacePositive": { + "value": "[general.green.500]", + "comment": "Цвет фона поверхности/контрола успех" + }, + "surfaceWarning": { + "value": "[general.orange.500]", + "comment": "Цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegative": { + "value": "[general.red.500]", + "comment": "Цвет фона поверхности/контрола ошибка" + }, + "surfaceInfo": { + "value": "[general.electricBlue.500]", + "comment": "Цвет фона поверхности/контрола информация" + }, + "surfacePositiveMinor": { + "value": "[general.green.900]", + "comment": "Минорный цвет фона поверхности/контрола успех" + }, + "surfaceWarningMinor": { + "value": "[general.orange.900]", + "comment": "Минорный цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegativeMinor": { + "value": "[general.red.900]", + "comment": "Минорный цвет фона поверхности/контрола ошибка" + }, + "surfaceInfoMinor": { + "value": "[general.electricBlue.900]", + "comment": "Минорный цвет фона поверхности/контрола информация" + }, + "surfaceTransparentInfo": { + "value": "rgba(63,129,253,0.20)", + "comment": "Прозрачный цвет фона поверхности/контрола информация" + } + }, + "onDark": { + "surfaceSolidPrimaryHover": { + "value": "#121212FF", + "comment": "Основной непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidPrimaryActive": { + "value": "#080808FF", + "comment": "Основной непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidPrimaryBrightness": { + "value": "#1C1C1CFF", + "comment": "Основной непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidSecondaryHover": { + "value": "#242424FF", + "comment": "Вторичный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidSecondaryActive": { + "value": "#141414FF", + "comment": "Вторичный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidTertiaryHover": { + "value": "#303030FF", + "comment": "Третичный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidTertiaryActive": { + "value": "#212121FF", + "comment": "Третичный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidCardHover": { + "value": "#1C1C1CFF", + "comment": "Основной фон для карточек на темном фоне" + }, + "surfaceSolidCardActive": { + "value": "#121212FF", + "comment": "Основной фон для карточек на темном фоне" + }, + "surfaceSolidCardBrightness": { + "value": "#262626FF", + "comment": "Основной фон для карточек на темном фоне" + }, + "surfaceSolidDefaultHover": { + "value": "#FFFFFFFF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на темном фоне" + }, + "surfaceSolidDefaultActive": { + "value": "#FFFFFFFF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на темном фоне" + }, + "surfaceTransparentPrimaryHover": { + "value": "#FFFFFF1C", + "comment": "Основной прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentPrimaryActive": { + "value": "#FFFFFF08", + "comment": "Основной прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentSecondaryHover": { + "value": "#FFFFFF38", + "comment": "Вторичный прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentSecondaryActive": { + "value": "#FFFFFF0A", + "comment": "Вторичный прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentTertiaryHover": { + "value": "#FFFFFF45", + "comment": "Третичный прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentTertiaryActive": { + "value": "#FFFFFF17", + "comment": "Третичный прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentDeepHover": { + "value": "#FFFFFFC2", + "comment": "Глубокий прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentDeepActive": { + "value": "#FFFFFF94", + "comment": "Глубокий прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentCardHover": { + "value": "#FFFFFF3D", + "comment": "Прозрачный фон для карточек на темном фоне" + }, + "surfaceTransparentCardActive": { + "value": "#FFFFFF0F", + "comment": "Прозрачный фон для карточек на темном фоне" + }, + "surfaceTransparentCardBrightness": { + "value": "#FFFFFF1F", + "comment": "Прозрачный фон для карточек на темном фоне" + }, + "surfaceClear": { + "value": "#FFFFFF00", + "comment": "Фон поверхности/контрола без заливки на темном фоне", + "enabled": false + }, + "surfaceClearHover": { + "value": "#FFFFFFFF", + "comment": "Фон поверхности/контрола без заливки на темном фоне", + "enabled": false + }, + "surfaceClearActive": { + "value": "#FFFFFFFF", + "comment": "Фон поверхности/контрола без заливки на темном фоне", + "enabled": false + }, + "surfaceAccentHover": { + "value": "#5D95FDFF", + "comment": "Акцентный фон поверхности/контрола на темном фоне" + }, + "surfaceAccentActive": { + "value": "#357BFDFF", + "comment": "Акцентный фон поверхности/контрола на темном фоне" + }, + "surfaceAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный фон поверхности/контрола с градиентом на темном фоне", + "enabled": true + }, + "surfaceAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Акцентный фон поверхности/контрола с градиентом на темном фоне", + "enabled": true + }, + "surfaceAccentMinorHover": { + "value": "#0A2A67FF", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceAccentMinorActive": { + "value": "#071F4BFF", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceAccentMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceTransparentAccentHover": { + "value": "#3F82FD52", + "comment": "Прозрачный акцентный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentAccentActive": { + "value": "#3F82FD24", + "comment": "Прозрачный акцентный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceTransparentAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceTransparentAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePromo": { + "value": "#FFFFFF", + "comment": "Промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfacePromoHover": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfacePromoActive": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfacePromoGradient": { + "value": "#FFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfacePromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfacePromoMinorActive": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfacePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePromoMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceTransparentPromo": { + "value": "#FFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfaceTransparentPromoHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfaceTransparentPromoActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfaceTransparentPromoGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceTransparentPromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceTransparentPromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePositiveHover": { + "value": "#1DAF37FF", + "comment": "Цвет фона поверхности/контрола успех на темном фоне" + }, + "surfacePositiveActive": { + "value": "#18952FFF", + "comment": "Цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceWarningHover": { + "value": "#FB7223FF", + "comment": "Цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceWarningActive": { + "value": "#F05B05FF", + "comment": "Цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceNegativeHover": { + "value": "#FF475AFF", + "comment": "Цвет фона поверхности/контрола ошибка на темном фоне" + }, + "surfaceNegativeActive": { + "value": "#FF1F35FF", + "comment": "Цвет фона поверхности/контрола ошибка на темном фоне" + }, + "surfaceInfoHover": { + "value": "#5D95FDFF", + "comment": "Цвет фона поверхности/контрола информация на темном фоне" + }, + "surfaceInfoActive": { + "value": "#357BFDFF", + "comment": "Цвет фона поверхности/контрола информация на темном фоне" + }, + "surfacePositiveMinorHover": { + "value": "#0E3A16FF", + "comment": "Минорный цвет фона поверхности/контрола успех на темном фоне" + }, + "surfacePositiveMinorActive": { + "value": "#08210CFF", + "comment": "Минорный цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceWarningMinorHover": { + "value": "#4F250DFF", + "comment": "Минорный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceWarningMinorActive": { + "value": "#351909FF", + "comment": "Минорный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceNegativeMinorHover": { + "value": "#5B1018FF", + "comment": "Минорный цвет фона поверхности/контрола ошибка на темном фоне" + }, + "surfaceNegativeMinorActive": { + "value": "#410B11FF", + "comment": "Минорный цвет фона поверхности/контрола ошибка на темном фоне" + }, + "surfaceInfoMinorHover": { + "value": "#0A2A67FF", + "comment": "Минорный цвет фона поверхности/контрола информация на темном фоне" + }, + "surfaceInfoMinorActive": { + "value": "#071F4BFF", + "comment": "Минорный цвет фона поверхности/контрола информация на темном фоне" + }, + "surfaceTransparentPositive": { + "value": "[general.green.500][-0.80]", + "comment": "Прозрачный цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceTransparentPositiveHover": { + "value": "#1A9E3252", + "comment": "Прозрачный цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceTransparentPositiveActive": { + "value": "#1A9E3224", + "comment": "Прозрачный цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceTransparentWarning": { + "value": "[general.orange.500][-0.80]", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceTransparentWarningHover": { + "value": "#FA5F0552", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceTransparentWarningActive": { + "value": "#FA5F0524", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceTransparentNegative": { + "value": "[general.red.500][-0.80]", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceTransparentNegativeHover": { + "value": "#FF293E52", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceTransparentNegativeActive": { + "value": "#FF293E24", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceTransparentInfoHover": { + "value": "#3F82FD52", + "comment": "Прозрачный цвет фона поверхности/контрола информация на темном фоне" + }, + "surfaceTransparentInfoActive": { + "value": "#3F82FD24", + "comment": "Прозрачный цвет фона поверхности/контрола информация на темном фоне" + }, + "surfaceSolidCard": { + "value": "[general.gray.950]", + "comment": "Основной фон для карточек на темном фоне" + }, + "surfaceSolidPrimary": { + "value": "#0D0D0D", + "comment": "Основной непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidSecondary": { + "value": "#191919", + "comment": "Вторичный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidTertiary": { + "value": "[general.gray.900]", + "comment": "Третичный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidDefault": { + "value": "#FFFFFF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на темном фоне" + }, + "surfaceTransparentCard": { + "value": "rgba(255,255,255,0.12)", + "comment": "Прозрачный фон для карточек на темном фоне" + }, + "surfaceTransparentPrimary": { + "value": "rgba(255,255,255,0.05)", + "comment": "Основной прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentSecondary": { + "value": "rgba(255,255,255,0.10)", + "comment": "Вторичный прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentTertiary": { + "value": "rgba(255,255,255,0.15)", + "comment": "Третичный прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentDeep": { + "value": "rgba(255,255,255,0.64)", + "comment": "Глубокий прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceAccent": { + "value": "[general.electricBlue.500]", + "comment": "Акцентный фон поверхности/контрола на темном фоне" + }, + "surfaceAccentMinor": { + "value": "[general.electricBlue.900]", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceAccentGradient": { + "value": { + "origin": "linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + } + }, + "comment": "Акцентный фон поверхности/контрола с градиентом на темном фоне", + "enabled": true + }, + "surfaceTransparentAccent": { + "value": "rgba(63,129,253,0.20)", + "comment": "Прозрачный акцентный фон поверхности/контрола на темном фоне" + }, + "surfacePositive": { + "value": "[general.green.500]", + "comment": "Цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceWarning": { + "value": "[general.orange.500]", + "comment": "Цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceNegative": { + "value": "[general.red.500]", + "comment": "Цвет фона поверхности/контрола ошибка на темном фоне" + }, + "surfaceInfo": { + "value": "[general.electricBlue.500]", + "comment": "Цвет фона поверхности/контрола информация на темном фоне" + }, + "surfacePositiveMinor": { + "value": "[general.green.900]", + "comment": "Минорный цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceWarningMinor": { + "value": "[general.orange.900]", + "comment": "Минорный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceNegativeMinor": { + "value": "[general.red.900]", + "comment": "Минорный цвет фона поверхности/контрола ошибка на темном фоне" + }, + "surfaceInfoMinor": { + "value": "[general.electricBlue.900]", + "comment": "Минорный цвет фона поверхности/контрола информация на темном фоне" + }, + "surfaceTransparentInfo": { + "value": "rgba(63,129,253,0.20)", + "comment": "Прозрачный цвет фона поверхности/контрола информация на темном фоне" + } + }, + "onLight": { + "surfaceSolidPrimaryHover": { + "value": "#F7F7F7FF", + "comment": "Основной непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidPrimaryActive": { + "value": "#EDEDEDFF", + "comment": "Основной непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidPrimaryBrightness": { + "value": "#FFFFFFFF", + "comment": "Основной непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidSecondaryHover": { + "value": "#F2F2F2FF", + "comment": "Вторичный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidSecondaryActive": { + "value": "#E3E3E3FF", + "comment": "Вторичный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidTertiaryHover": { + "value": "#E3E3E3FF", + "comment": "Третичный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidTertiaryActive": { + "value": "#D4D4D4FF", + "comment": "Третичный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidCardHover": { + "value": "#FFFFFFFF", + "comment": "Основной фон для карточек на светлом фоне" + }, + "surfaceSolidCardActive": { + "value": "#FFFFFFFF", + "comment": "Основной фон для карточек на светлом фоне" + }, + "surfaceSolidCardBrightness": { + "value": "#FFFFFFFF", + "comment": "Основной фон для карточек на светлом фоне" + }, + "surfaceSolidDefaultHover": { + "value": "#0D0D0DFF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне" + }, + "surfaceSolidDefaultActive": { + "value": "#030303FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне" + }, + "surfaceTransparentPrimaryHover": { + "value": "#0808081C", + "comment": "Основной прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentPrimaryActive": { + "value": "#08080808", + "comment": "Основной прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentSecondaryHover": { + "value": "#08080838", + "comment": "Вторичный прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentSecondaryActive": { + "value": "#0808080A", + "comment": "Вторичный прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentTertiaryHover": { + "value": "#08080845", + "comment": "Третичный прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentTertiaryActive": { + "value": "#08080817", + "comment": "Третичный прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentDeepHover": { + "value": "#080808C2", + "comment": "Глубокий прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentDeepActive": { + "value": "#08080894", + "comment": "Глубокий прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentCardHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный фон для карточек на светлом фоне" + }, + "surfaceTransparentCardActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный фон для карточек на светлом фоне" + }, + "surfaceTransparentCardBrightness": { + "value": "#FFFFFFFF", + "comment": "Прозрачный фон для карточек на светлом фоне" + }, + "surfaceClear": { + "value": "#FFFFFF00", + "comment": "Фон поверхности/контрола без заливки на светлом фоне", + "enabled": false + }, + "surfaceClearHover": { + "value": "#FFFFFFFF", + "comment": "Фон поверхности/контрола без заливки на светлом фоне", + "enabled": false + }, + "surfaceClearActive": { + "value": "#FFFFFFFF", + "comment": "Фон поверхности/контрола без заливки на светлом фоне", + "enabled": false + }, + "surfaceAccentHover": { + "value": "#4886F9FF", + "comment": "Акцентный фон поверхности/контрола на светлом фоне" + }, + "surfaceAccentActive": { + "value": "#206CF8FF", + "comment": "Акцентный фон поверхности/контрола на светлом фоне" + }, + "surfaceAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": true + }, + "surfaceAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Акцентный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": true + }, + "surfaceAccentMinorHover": { + "value": "#EBF1FFFF", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceAccentMinorActive": { + "value": "#D6E4FFFF", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceAccentMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceTransparentAccentHover": { + "value": "#2A72F83D", + "comment": "Прозрачный акцентный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentAccentActive": { + "value": "#2A72F80F", + "comment": "Прозрачный акцентный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceTransparentAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceTransparentAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePromo": { + "value": "#FFFFFF", + "comment": "Промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfacePromoHover": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfacePromoActive": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfacePromoGradient": { + "value": "#FFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfacePromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfacePromoMinorActive": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfacePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePromoMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceTransparentPromo": { + "value": "#FFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfaceTransparentPromoHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfaceTransparentPromoActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfaceTransparentPromoGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceTransparentPromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceTransparentPromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePositiveHover": { + "value": "#1DAF37FF", + "comment": "Цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfacePositiveActive": { + "value": "#18952FFF", + "comment": "Цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceWarningHover": { + "value": "#FB7223FF", + "comment": "Цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceWarningActive": { + "value": "#F05B05FF", + "comment": "Цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceNegativeHover": { + "value": "#FF475AFF", + "comment": "Цвет фона поверхности/контрола ошибка на светлом фоне" + }, + "surfaceNegativeActive": { + "value": "#FF1F35FF", + "comment": "Цвет фона поверхности/контрола ошибка на светлом фоне" + }, + "surfaceInfoHover": { + "value": "#5D95FDFF", + "comment": "Цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfaceInfoActive": { + "value": "#357BFDFF", + "comment": "Цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfacePositiveMinorHover": { + "value": "#B1FBBFFF", + "comment": "Минорный цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfacePositiveMinorActive": { + "value": "#94F9A7FF", + "comment": "Минорный цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceWarningMinorHover": { + "value": "#FEE9DCFF", + "comment": "Минорный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceWarningMinorActive": { + "value": "#FEDCC8FF", + "comment": "Минорный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceNegativeMinorHover": { + "value": "#FFEBEDFF", + "comment": "Минорный цвет фона поверхности/контрола ошибка на светлом фоне" + }, + "surfaceNegativeMinorActive": { + "value": "#FFD6DAFF", + "comment": "Минорный цвет фона поверхности/контрола ошибка на светлом фоне" + }, + "surfaceInfoMinorHover": { + "value": "#EBF1FFFF", + "comment": "Минорный цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfaceInfoMinorActive": { + "value": "#D6E4FFFF", + "comment": "Минорный цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfaceTransparentPositive": { + "value": "[general.green.500][-0.88]", + "comment": "Прозрачный цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceTransparentPositiveHover": { + "value": "#1A9E323D", + "comment": "Прозрачный цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceTransparentPositiveActive": { + "value": "#1A9E320F", + "comment": "Прозрачный цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceTransparentWarning": { + "value": "[general.orange.500][-0.88]", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceTransparentWarningHover": { + "value": "#FA5F053D", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceTransparentWarningActive": { + "value": "#FA5F050F", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceTransparentNegative": { + "value": "[general.red.500][-0.88]", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceTransparentNegativeHover": { + "value": "#FF293E3D", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceTransparentNegativeActive": { + "value": "#FF293E0F", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceTransparentInfoHover": { + "value": "#2A72F83D", + "comment": "Прозрачный цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfaceTransparentInfoActive": { + "value": "#2A72F80F", + "comment": "Прозрачный цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfaceSolidCard": { + "value": "#FFFFFF", + "comment": "Основной фон для карточек на светлом фоне" + }, + "surfaceSolidPrimary": { + "value": "#F2F2F2", + "comment": "Основной непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidSecondary": { + "value": "#E7E7E7", + "comment": "Вторичный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidTertiary": { + "value": "#DADADA", + "comment": "Третичный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidDefault": { + "value": "[general.gray.1000]", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне" + }, + "surfaceTransparentPrimary": { + "value": "rgba(8,8,8,0.05)", + "comment": "Основной прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentCard": { + "value": "#FFFFFF", + "comment": "Прозрачный фон для карточек на светлом фоне" + }, + "surfaceTransparentSecondary": { + "value": "rgba(8,8,8,0.10)", + "comment": "Вторичный прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentTertiary": { + "value": "rgba(8,8,8,0.15)", + "comment": "Третичный прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentDeep": { + "value": "rgba(8,8,8,0.64)", + "comment": "Глубокий прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceAccent": { + "value": "[general.electricBlue.600]", + "comment": "Акцентный фон поверхности/контрола на светлом фоне" + }, + "surfaceAccentGradient": { + "value": { + "origin": "linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + } + }, + "comment": "Акцентный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": true + }, + "surfaceAccentMinor": { + "value": "[general.electricBlue.150]", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentAccent": { + "value": "rgba(42,114,248,0.12)", + "comment": "Прозрачный акцентный фон поверхности/контрола на светлом фоне" + }, + "surfacePositive": { + "value": "[general.green.500]", + "comment": "Цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceWarning": { + "value": "[general.orange.500]", + "comment": "Цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceNegative": { + "value": "[general.red.500]", + "comment": "Цвет фона поверхности/контрола ошибка на светлом фоне" + }, + "surfaceInfo": { + "value": "[general.electricBlue.500]", + "comment": "Цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfacePositiveMinor": { + "value": "[general.green.150]", + "comment": "Минорный цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceWarningMinor": { + "value": "[general.orange.150]", + "comment": "Минорный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceNegativeMinor": { + "value": "[general.red.150]", + "comment": "Минорный цвет фона поверхности/контрола ошибка на светлом фоне" + }, + "surfaceInfoMinor": { + "value": "[general.electricBlue.150]", + "comment": "Минорный цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfaceTransparentInfo": { + "value": "rgba(42,114,248,0.12)", + "comment": "Прозрачный цвет фона поверхности/контрола информация на светлом фоне" + } + }, + "inverse": { + "surfaceSolidPrimaryHover": { + "value": "#F7F7F7FF", + "comment": "Инвертированный основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidPrimaryActive": { + "value": "#EDEDEDFF", + "comment": "Инвертированный основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidPrimaryBrightness": { + "value": "#FFFFFFFF", + "comment": "Инвертированный основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidSecondaryHover": { + "value": "#F2F2F2FF", + "comment": "Инвертированный вторичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidSecondaryActive": { + "value": "#E3E3E3FF", + "comment": "Инвертированный вторичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidTertiaryHover": { + "value": "#E3E3E3FF", + "comment": "Инвертированный третичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidTertiaryActive": { + "value": "#D4D4D4FF", + "comment": "Инвертированный третичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidCardHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный основной фон для карточек" + }, + "surfaceSolidCardActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный основной фон для карточек" + }, + "surfaceSolidCardBrightness": { + "value": "#FFFFFFFF", + "comment": "Инвертированный основной фон для карточек" + }, + "surfaceSolidDefaultHover": { + "value": "#0D0D0DFF", + "comment": "Инвертированный непрозрачный фон поверхности/контрола по умолчанию" + }, + "surfaceSolidDefaultActive": { + "value": "#030303FF", + "comment": "Инвертированный непрозрачный фон поверхности/контрола по умолчанию" + }, + "surfaceTransparentPrimaryHover": { + "value": "#0808081C", + "comment": "Инвертированный основной прозрачный фон поверхности/контрола" + }, + "surfaceTransparentPrimaryActive": { + "value": "#08080808", + "comment": "Инвертированный основной прозрачный фон поверхности/контрола" + }, + "surfaceTransparentSecondaryHover": { + "value": "#08080838", + "comment": "Инвертированный вторичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentSecondaryActive": { + "value": "#0808080A", + "comment": "Инвертированный вторичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentTertiaryHover": { + "value": "#08080845", + "comment": "Инвертированный третичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentTertiaryActive": { + "value": "#08080817", + "comment": "Инвертированный третичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentDeepHover": { + "value": "#080808C2", + "comment": "Инвертированный глубокий прозрачный фон поверхности/контрола" + }, + "surfaceTransparentDeepActive": { + "value": "#08080894", + "comment": "Инвертированный глубокий прозрачный фон поверхности/контрола" + }, + "surfaceTransparentCardHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный прозрачный фон для карточек" + }, + "surfaceTransparentCardActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный прозрачный фон для карточек" + }, + "surfaceTransparentCardBrightness": { + "value": "#FFFFFFFF", + "comment": "Инвертированный прозрачный фон для карточек" + }, + "surfaceClear": { + "value": "#FFFFFF00", + "comment": "Инвертированный фон поверхности/контрола без заливки", + "enabled": false + }, + "surfaceClearHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный фон поверхности/контрола без заливки", + "enabled": false + }, + "surfaceClearActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный фон поверхности/контрола без заливки", + "enabled": false + }, + "surfaceAccentHover": { + "value": "#5D95FDFF", + "comment": "Инвертированный акцентный фон поверхности/контрола" + }, + "surfaceAccentActive": { + "value": "#357BFDFF", + "comment": "Инвертированный акцентный фон поверхности/контрола" + }, + "surfaceAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный фон поверхности/контрола с градиентом", + "enabled": true + }, + "surfaceAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный фон поверхности/контрола с градиентом", + "enabled": true + }, + "surfaceAccentMinorHover": { + "value": "#EBF1FFFF", + "comment": "Инвертированный акцентный минорный непрозрачный фон поверхности/контрола" + }, + "surfaceAccentMinorActive": { + "value": "#D6E4FFFF", + "comment": "Инвертированный акцентный минорный непрозрачный фон поверхности/контрола" + }, + "surfaceAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный акцентный минорный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный минорный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceAccentMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный минорный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentAccentHover": { + "value": "#2A72F83D", + "comment": "Прозрачный инвертированный акцентный фон поверхности/контрола" + }, + "surfaceTransparentAccentActive": { + "value": "#2A72F80F", + "comment": "Прозрачный инвертированный акцентный фон поверхности/контрола" + }, + "surfaceTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный инвертированный акцентный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный инвертированный акцентный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный инвертированный акцентный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromo": { + "value": "#FFFFFF", + "comment": "Инвертированный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoMinor": { + "value": "#FFFFFF", + "comment": "Инвертированный минорный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoMinorActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный минорный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentPromo": { + "value": "#FFFFFF", + "comment": "Инвертированный прозрачный промо фон поверхности/контрола", + "enabled": false + }, + "surfaceTransparentPromoHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный прозрачный промо фон поверхности/контрола", + "enabled": false + }, + "surfaceTransparentPromoActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный прозрачный промо фон поверхности/контрола", + "enabled": false + }, + "surfaceTransparentPromoGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный прозрачный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentPromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный прозрачный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentPromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный прозрачный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePositiveHover": { + "value": "#1DAF37FF", + "comment": "Инвертированный цвет фона поверхности/контрола успех" + }, + "surfacePositiveActive": { + "value": "#18952FFF", + "comment": "Инвертированный цвет фона поверхности/контрола успех" + }, + "surfaceWarningHover": { + "value": "#FB7223FF", + "comment": "Инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceWarningActive": { + "value": "#F05B05FF", + "comment": "Инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegativeHover": { + "value": "#FF475AFF", + "comment": "Инвертированный цвет фона поверхности/контрола ошибка" + }, + "surfaceNegativeActive": { + "value": "#FF1F35FF", + "comment": "Инвертированный цвет фона поверхности/контрола ошибка" + }, + "surfaceInfoHover": { + "value": "#5D95FDFF", + "comment": "Инвертированный цвет фона поверхности/контрола информация" + }, + "surfaceInfoActive": { + "value": "#357BFDFF", + "comment": "Инвертированный цвет фона поверхности/контрола информация" + }, + "surfacePositiveMinorHover": { + "value": "#B1FBBFFF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола успех" + }, + "surfacePositiveMinorActive": { + "value": "#94F9A7FF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола успех" + }, + "surfaceWarningMinorHover": { + "value": "#FEE9DCFF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола предупреждение" + }, + "surfaceWarningMinorActive": { + "value": "#FEDCC8FF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegativeMinorHover": { + "value": "#FFEBEDFF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола ошибка" + }, + "surfaceNegativeMinorActive": { + "value": "#FFD6DAFF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола ошибка" + }, + "surfaceInfoMinorHover": { + "value": "#EBF1FFFF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола информация" + }, + "surfaceInfoMinorActive": { + "value": "#D6E4FFFF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола информация" + }, + "surfaceTransparentPositive": { + "value": "[general.green.500][-0.88]", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола успех" + }, + "surfaceTransparentPositiveHover": { + "value": "#1A9E323D", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола успех" + }, + "surfaceTransparentPositiveActive": { + "value": "#1A9E320F", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола успех" + }, + "surfaceTransparentWarning": { + "value": "[general.orange.500][-0.88]", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentWarningHover": { + "value": "#FA5F053D", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentWarningActive": { + "value": "#FA5F050F", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentNegative": { + "value": "[general.red.500][-0.88]", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentNegativeHover": { + "value": "#FF293E3D", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentNegativeActive": { + "value": "#FF293E0F", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentInfoHover": { + "value": "#2A72F83D", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола информация" + }, + "surfaceTransparentInfoActive": { + "value": "#2A72F80F", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола информация" + }, + "surfaceSolidCard": { + "value": "#FFFFFF", + "comment": "Инвертированный основной фон для карточек" + }, + "surfaceSolidPrimary": { + "value": "#F2F2F2", + "comment": "Инвертированный основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidSecondary": { + "value": "#E7E7E7", + "comment": "Инвертированный вторичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidTertiary": { + "value": "#DADADA", + "comment": "Инвертированный третичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidDefault": { + "value": "[general.gray.1000]", + "comment": "Инвертированный непрозрачный фон поверхности/контрола по умолчанию" + }, + "surfaceTransparentCard": { + "value": "#FFFFFF", + "comment": "Инвертированный прозрачный фон для карточек" + }, + "surfaceTransparentPrimary": { + "value": "rgba(8,8,8,0.05)", + "comment": "Инвертированный основной прозрачный фон поверхности/контрола" + }, + "surfaceTransparentSecondary": { + "value": "rgba(8,8,8,0.10)", + "comment": "Инвертированный вторичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentTertiary": { + "value": "rgba(8,8,8,0.15)", + "comment": "Инвертированный третичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentDeep": { + "value": "rgba(8,8,8,0.64)", + "comment": "Инвертированный глубокий прозрачный фон поверхности/контрола" + }, + "surfaceAccent": { + "value": "[general.electricBlue.500]", + "comment": "Инвертированный акцентный фон поверхности/контрола" + }, + "surfaceAccentGradient": { + "value": { + "origin": "linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + } + }, + "comment": "Инвертированный акцентный фон поверхности/контрола с градиентом", + "enabled": true + }, + "surfaceAccentMinor": { + "value": "[general.electricBlue.150]", + "comment": "Инвертированный акцентный минорный непрозрачный фон поверхности/контрола" + }, + "surfaceTransparentAccent": { + "value": "rgba(42,114,248,0.12)", + "comment": "Прозрачный инвертированный акцентный фон поверхности/контрола" + }, + "surfacePositive": { + "value": "[general.green.500]", + "comment": "Инвертированный цвет фона поверхности/контрола успех" + }, + "surfaceWarning": { + "value": "[general.orange.500]", + "comment": "Инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegative": { + "value": "[general.red.500]", + "comment": "Инвертированный цвет фона поверхности/контрола ошибка" + }, + "surfaceInfo": { + "value": "[general.electricBlue.500]", + "comment": "Инвертированный цвет фона поверхности/контрола информация" + }, + "surfacePositiveMinor": { + "value": "[general.green.150]", + "comment": "Инвертированный минорный цвет фона поверхности/контрола успех" + }, + "surfaceWarningMinor": { + "value": "[general.orange.150]", + "comment": "Инвертированный минорный цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegativeMinor": { + "value": "[general.red.150]", + "comment": "Инвертированный минорный цвет фона поверхности/контрола ошибка" + }, + "surfaceInfoMinor": { + "value": "[general.electricBlue.150]", + "comment": "Инвертированный минорный цвет фона поверхности/контрола информация" + }, + "surfaceTransparentInfo": { + "value": "rgba(42,114,248,0.12)", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола информация" + } + } + }, + "background": { + "default": { + "backgroundSecondary": { + "value": "#FFFFFF", + "comment": "Вторичный фон", + "enabled": false + }, + "backgroundTertiary": { + "value": "#FFFFFF", + "comment": "Третичный фон", + "enabled": false + }, + "backgroundPrimary": { + "value": "[general.gray.1000]", + "comment": "Основной фон" + } + }, + "dark": { + "backgroundPrimary": { + "value": "[general.gray.1000]", + "comment": "Основной фон на темном фоне" + }, + "backgroundSecondary": { + "value": "#FFFFFF", + "comment": "Вторичный фон на темном фоне", + "enabled": false + }, + "backgroundTertiary": { + "value": "#FFFFFF", + "comment": "Третичный фон на темном фоне", + "enabled": false + } + }, + "light": { + "backgroundPrimary": { + "value": "[general.gray.50]", + "comment": "Основной фон на светлом фоне" + }, + "backgroundSecondary": { + "value": "#FFFFFF", + "comment": "Вторичный фон на светлом фоне", + "enabled": false + }, + "backgroundTertiary": { + "value": "#FFFFFF", + "comment": "Третичный фон на светлом фоне", + "enabled": false + } + }, + "inverse": { + "backgroundPrimary": { + "value": "[general.gray.50]", + "comment": "Инвертированный основной фон" + }, + "backgroundSecondary": { + "value": "#FFFFFF", + "comment": "Инвертированный вторичный фон", + "enabled": false + }, + "backgroundTertiary": { + "value": "#FFFFFF", + "comment": "Инвертированный третичный фон", + "enabled": false + } + } + }, + "overlay": { + "default": { + "overlaySoft": { + "value": "[general.gray.1000][-0.440]", + "comment": "Цвет фона паранжи светлый" + }, + "overlayHard": { + "value": "[general.gray.1000][-0.0400]", + "comment": "Цвет фона паранжи темный" + }, + "overlayBlur": { + "value": "[general.gray.1000][-0.720]", + "comment": "Цвет фона паранжи размытый" + } + }, + "onDark": { + "overlaySoft": { + "value": "[general.gray.1000][-0.440]", + "comment": "Цвет фона паранжи светлый на темном фоне" + }, + "overlayHard": { + "value": "[general.gray.1000][-0.0400]", + "comment": "Цвет фона паранжи темный на темном фоне" + }, + "overlayBlur": { + "value": "[general.gray.1000][-0.720]", + "comment": "Цвет фона паранжи размытый на темном фоне" + } + }, + "onLight": { + "overlaySoft": { + "value": "[general.gray.50][-0.440]", + "comment": "Цвет фона паранжи светлый на светлом фоне" + }, + "overlayHard": { + "value": "[general.gray.50][-0.0400]", + "comment": "Цвет фона паранжи темный на светлом фоне" + }, + "overlayBlur": { + "value": "[general.gray.50][-0.720]", + "comment": "Цвет фона паранжи размытый на светлом фоне" + } + }, + "inverse": { + "overlaySoft": { + "value": "[general.gray.50][-0.440]", + "comment": "Инвертированный цвет фона паранжи светлый" + }, + "overlayHard": { + "value": "[general.gray.50][-0.0400]", + "comment": "Инвертированный цвет фона паранжи темный" + }, + "overlayBlur": { + "value": "[general.gray.50][-0.720]", + "comment": "Инвертированный цвет фона паранжи размытый" + } + } + }, + "outline": { + "default": { + "outlineSolidPrimaryHover": { + "value": "#FFFFFFFF", + "comment": "Основной непрозрачный цвет обводки" + }, + "outlineSolidPrimaryActive": { + "value": "#B5B5B5FF", + "comment": "Основной непрозрачный цвет обводки" + }, + "outlineSolidSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Вторичный непрозрачный цвет обводки" + }, + "outlineSolidSecondaryActive": { + "value": "#9E9E9EFF", + "comment": "Вторичный непрозрачный цвет обводки" + }, + "outlineSolidTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Третичный непрозрачный цвет обводки" + }, + "outlineSolidTertiaryActive": { + "value": "#737373FF", + "comment": "Третичный непрозрачный цвет обводки" + }, + "outlineSolidDefaultHover": { + "value": "#C7C7C7FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию" + }, + "outlineSolidDefaultActive": { + "value": "#E0E0E0FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию" + }, + "outlineTransparentPrimaryHover": { + "value": "#FFFFFFFF", + "comment": "Основной прозрачный цвет обводки" + }, + "outlineTransparentPrimaryActive": { + "value": "#FFFFFF0F", + "comment": "Основной прозрачный цвет обводки" + }, + "outlineTransparentSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Вторичный прозрачный цвет обводки" + }, + "outlineTransparentSecondaryActive": { + "value": "#FFFFFF3D", + "comment": "Вторичный прозрачный цвет обводки" + }, + "outlineTransparentTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Третичный прозрачный цвет обводки" + }, + "outlineTransparentTertiaryActive": { + "value": "#FFFFFF7A", + "comment": "Третичный прозрачный цвет обводки" + }, + "outlineClearHover": { + "value": "#FFFFFFFF", + "comment": "Бесцветная обводка", + "enabled": true + }, + "outlineClearActive": { + "value": "#FFFFFFFF", + "comment": "Бесцветная обводка", + "enabled": true + }, + "outlineAccentHover": { + "value": "#90B6FEFF", + "comment": "Акцентный цвет обводки" + }, + "outlineAccentActive": { + "value": "#216EFDFF", + "comment": "Акцентный цвет обводки" + }, + "outlineAccentGradient": { + "value": "#FFFFFF", + "comment": "Акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentGradientHover": { + "value": "#CCCCCCFF", + "comment": "Акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentGradientActive": { + "value": "#E6E6E6FF", + "comment": "Акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentMinorHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный непрозрачный цвет обводки" + }, + "outlineAccentMinorActive": { + "value": "#1C62E3FF", + "comment": "Акцентный минорный непрозрачный цвет обводки" + }, + "outlineAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Акцентный минорный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Акцентный минорный цвет обводки с градиентом", + "enabled": false + }, + "outlineTransparentAccentHover": { + "value": "#3F82FDFF", + "comment": "Прозрачный акцентный цвет обводки" + }, + "outlineTransparentAccentActive": { + "value": "#3F82FD56", + "comment": "Прозрачный акцентный цвет обводки" + }, + "outlineTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineTransparentAccentGradientHover": { + "value": "#CCCCCCFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineTransparentAccentGradientActive": { + "value": "#E6E6E6FF", + "comment": "Прозрачный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlinePromo": { + "value": "#FFFFFF", + "comment": "Промо цвет обводки", + "enabled": false + }, + "outlinePromoHover": { + "value": "#CCCCCCFF", + "comment": "Промо цвет обводки", + "enabled": false + }, + "outlinePromoActive": { + "value": "#E6E6E6FF", + "comment": "Промо цвет обводки", + "enabled": false + }, + "outlinePromoGradient": { + "value": "#FFFFFF", + "comment": "Промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoGradientHover": { + "value": "#CCCCCCFF", + "comment": "Промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoGradientActive": { + "value": "#E6E6E6FF", + "comment": "Промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет обводки", + "enabled": false + }, + "outlinePromoMinorHover": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет обводки", + "enabled": false + }, + "outlinePromoMinorActive": { + "value": "#E6E6E6FF", + "comment": "Минорный промо цвет обводки", + "enabled": false + }, + "outlinePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Минорный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePositive": { + "value": "[general.green.400]", + "comment": "Цвет обводки успех" + }, + "outlinePositiveHover": { + "value": "#2ACB47FF", + "comment": "Цвет обводки успех" + }, + "outlinePositiveActive": { + "value": "#1F9835FF", + "comment": "Цвет обводки успех" + }, + "outlineWarning": { + "value": "[general.orange.400]", + "comment": "Цвет обводки предупреждение" + }, + "outlineWarningHover": { + "value": "#FF8442FF", + "comment": "Цвет обводки предупреждение" + }, + "outlineWarningActive": { + "value": "#FF5D05FF", + "comment": "Цвет обводки предупреждение" + }, + "outlineNegative": { + "value": "[general.red.400]", + "comment": "Цвет обводки ошибка" + }, + "outlineNegativeHover": { + "value": "#FF5C6CFF", + "comment": "Цвет обводки ошибка" + }, + "outlineNegativeActive": { + "value": "#FF1F35FF", + "comment": "Цвет обводки ошибка" + }, + "outlineInfoHover": { + "value": "#90B6FEFF", + "comment": "Цвет обводки информация" + }, + "outlineInfoActive": { + "value": "#216EFDFF", + "comment": "Цвет обводки информация" + }, + "outlinePositiveMinor": { + "value": "[general.green.800]", + "comment": "Минорный цвет обводки успех" + }, + "outlinePositiveMinorHover": { + "value": "#0F9527FF", + "comment": "Минорный цвет обводки успех" + }, + "outlinePositiveMinorActive": { + "value": "#0C7920FF", + "comment": "Минорный цвет обводки успех" + }, + "outlineWarningMinor": { + "value": "[general.orange.800]", + "comment": "Минорный цвет обводки предупреждение" + }, + "outlineWarningMinorHover": { + "value": "#BB4F11FF", + "comment": "Минорный цвет обводки предупреждение" + }, + "outlineWarningMinorActive": { + "value": "#9F440FFF", + "comment": "Минорный цвет обводки предупреждение" + }, + "outlineNegativeMinor": { + "value": "[general.red.800]", + "comment": "Минорный цвет обводки ошибка" + }, + "outlineNegativeMinorHover": { + "value": "#B91828FF", + "comment": "Минорный цвет обводки ошибка" + }, + "outlineNegativeMinorActive": { + "value": "#83111CFF", + "comment": "Минорный цвет обводки ошибка" + }, + "outlineInfoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный цвет обводки информация" + }, + "outlineInfoMinorActive": { + "value": "#1C62E3FF", + "comment": "Минорный цвет обводки информация" + }, + "outlineTransparentPositive": { + "value": "[general.green.400][-0.72]", + "comment": "Прозрачный цвет обводки успех" + }, + "outlineTransparentPositiveHover": { + "value": "#24B23EFF", + "comment": "Прозрачный цвет обводки успех" + }, + "outlineTransparentPositiveActive": { + "value": "#24B23E56", + "comment": "Прозрачный цвет обводки успех" + }, + "outlineTransparentWarning": { + "value": "[general.orange.400][-0.72]", + "comment": "Прозрачный цвет обводки предупреждение" + }, + "outlineTransparentWarningHover": { + "value": "#FF7024FF", + "comment": "Прозрачный цвет обводки предупреждение" + }, + "outlineTransparentWarningActive": { + "value": "#FF702456", + "comment": "Прозрачный цвет обводки предупреждение" + }, + "outlineTransparentNegative": { + "value": "[general.red.400][-0.72]", + "comment": "Прозрачный цвет обводки предупреждение" + }, + "outlineTransparentNegativeHover": { + "value": "#FF3D51FF", + "comment": "Прозрачный цвет обводки предупреждение" + }, + "outlineTransparentNegativeActive": { + "value": "#FF3D5156", + "comment": "Прозрачный цвет обводки предупреждение" + }, + "outlineTransparentInfoHover": { + "value": "#3F82FDFF", + "comment": "Прозрачный цвет обводки информация" + }, + "outlineTransparentInfoActive": { + "value": "#3F82FD56", + "comment": "Прозрачный цвет обводки информация" + }, + "outlineSolidPrimary": { + "value": "#1B1B1B", + "comment": "Основной непрозрачный цвет обводки" + }, + "outlineSolidSecondary": { + "value": "#393939", + "comment": "Вторичный непрозрачный цвет обводки" + }, + "outlineSolidTertiary": { + "value": "[general.gray.700]", + "comment": "Третичный непрозрачный цвет обводки" + }, + "outlineSolidDefault": { + "value": "[general.gray.50]", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию" + }, + "outlineTransparentPrimary": { + "value": "rgba(255,255,255,0.05)", + "comment": "Основной прозрачный цвет обводки" + }, + "outlineTransparentSecondary": { + "value": "rgba(255,255,255,0.20)", + "comment": "Вторичный прозрачный цвет обводки" + }, + "outlineTransparentTertiary": { + "value": "rgba(255,255,255,0.40)", + "comment": "Третичный прозрачный цвет обводки" + }, + "outlineClear": { + "value": "#FFFFFF00", + "comment": "Бесцветная обводка", + "enabled": true + }, + "outlineAccent": { + "value": "[general.electricBlue.500]", + "comment": "Акцентный цвет обводки" + }, + "outlineAccentMinor": { + "value": "[general.electricBlue.800]", + "comment": "Акцентный минорный непрозрачный цвет обводки" + }, + "outlineTransparentAccent": { + "value": "rgba(63,129,253,0.28)", + "comment": "Прозрачный акцентный цвет обводки" + }, + "outlineInfo": { + "value": "[general.electricBlue.500]", + "comment": "Цвет обводки информация" + }, + "outlineInfoMinor": { + "value": "[general.electricBlue.800]", + "comment": "Минорный цвет обводки информация" + }, + "outlineTransparentInfo": { + "value": "rgba(63,129,253,0.28)", + "comment": "Прозрачный цвет обводки информация" + } + }, + "onDark": { + "outlineSolidPrimaryHover": { + "value": "#FFFFFFFF", + "comment": "Основной непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidPrimaryActive": { + "value": "#B5B5B5FF", + "comment": "Основной непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Вторичный непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidSecondaryActive": { + "value": "#9E9E9EFF", + "comment": "Вторичный непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Третичный непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidTertiaryActive": { + "value": "#737373FF", + "comment": "Третичный непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidDefaultHover": { + "value": "#C7C7C7FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на темном фоне" + }, + "outlineSolidDefaultActive": { + "value": "#E0E0E0FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на темном фоне" + }, + "outlineTransparentPrimaryHover": { + "value": "#FFFFFFFF", + "comment": "Основной прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentPrimaryActive": { + "value": "#FFFFFF0F", + "comment": "Основной прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Вторичный прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentSecondaryActive": { + "value": "#FFFFFF3D", + "comment": "Вторичный прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Третичный прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentTertiaryActive": { + "value": "#FFFFFF7A", + "comment": "Третичный прозрачный цвет обводки на темном фоне" + }, + "outlineClear": { + "value": "#FFFFFF00", + "comment": "Бесцветная обводка на темном фоне", + "enabled": false + }, + "outlineClearHover": { + "value": "#FFFFFFFF", + "comment": "Бесцветная обводка на темном фоне", + "enabled": false + }, + "outlineClearActive": { + "value": "#FFFFFFFF", + "comment": "Бесцветная обводка на темном фоне", + "enabled": false + }, + "outlineAccentHover": { + "value": "#90B6FEFF", + "comment": "Акцентный цвет обводки на темном фоне" + }, + "outlineAccentActive": { + "value": "#216EFDFF", + "comment": "Акцентный цвет обводки на темном фоне" + }, + "outlineAccentGradient": { + "value": "#FFFFFF", + "comment": "Акцентный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineAccentGradientHover": { + "value": "#CCCCCCFF", + "comment": "Акцентный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineAccentGradientActive": { + "value": "#E6E6E6FF", + "comment": "Акцентный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineAccentMinorHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный непрозрачный цвет обводки на темном фоне" + }, + "outlineAccentMinorActive": { + "value": "#1C62E3FF", + "comment": "Акцентный минорный непрозрачный цвет обводки на темном фоне" + }, + "outlineAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineAccentMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Акцентный минорный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineAccentMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Акцентный минорный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineTransparentAccentHover": { + "value": "#3F82FDFF", + "comment": "Прозрачный акцентный цвет обводки на темном фоне" + }, + "outlineTransparentAccentActive": { + "value": "#3F82FD56", + "comment": "Прозрачный акцентный цвет обводки на темном фоне" + }, + "outlineTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineTransparentAccentGradientHover": { + "value": "#CCCCCCFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineTransparentAccentGradientActive": { + "value": "#E6E6E6FF", + "comment": "Прозрачный акцентный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePromo": { + "value": "#FFFFFF", + "comment": "Промо цвет обводки на темном фоне", + "enabled": false + }, + "outlinePromoHover": { + "value": "#CCCCCCFF", + "comment": "Промо цвет обводки на темном фоне", + "enabled": false + }, + "outlinePromoActive": { + "value": "#E6E6E6FF", + "comment": "Промо цвет обводки на темном фоне", + "enabled": false + }, + "outlinePromoGradient": { + "value": "#FFFFFF", + "comment": "Промо цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePromoGradientHover": { + "value": "#CCCCCCFF", + "comment": "Промо цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePromoGradientActive": { + "value": "#E6E6E6FF", + "comment": "Промо цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет обводки на темном фоне", + "enabled": false + }, + "outlinePromoMinorHover": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет обводки на темном фоне", + "enabled": false + }, + "outlinePromoMinorActive": { + "value": "#E6E6E6FF", + "comment": "Минорный промо цвет обводки на темном фоне", + "enabled": false + }, + "outlinePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePromoMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePromoMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Минорный промо цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePositive": { + "value": "[general.green.400]", + "comment": "Цвет обводки успех на темном фоне" + }, + "outlinePositiveHover": { + "value": "#2ACB47FF", + "comment": "Цвет обводки успех на темном фоне" + }, + "outlinePositiveActive": { + "value": "#1F9835FF", + "comment": "Цвет обводки успех на темном фоне" + }, + "outlineWarning": { + "value": "[general.orange.400]", + "comment": "Цвет обводки предупреждение на темном фоне" + }, + "outlineWarningHover": { + "value": "#FF8442FF", + "comment": "Цвет обводки предупреждение на темном фоне" + }, + "outlineWarningActive": { + "value": "#FF5D05FF", + "comment": "Цвет обводки предупреждение на темном фоне" + }, + "outlineNegative": { + "value": "[general.red.400]", + "comment": "Цвет обводки ошибка на темном фоне" + }, + "outlineNegativeHover": { + "value": "#FF5C6CFF", + "comment": "Цвет обводки ошибка на темном фоне" + }, + "outlineNegativeActive": { + "value": "#FF1F35FF", + "comment": "Цвет обводки ошибка на темном фоне" + }, + "outlineInfoHover": { + "value": "#90B6FEFF", + "comment": "Цвет обводки информация на темном фоне" + }, + "outlineInfoActive": { + "value": "#216EFDFF", + "comment": "Цвет обводки информация на темном фоне" + }, + "outlinePositiveMinor": { + "value": "[general.green.800]", + "comment": "Минорный цвет обводки успех на темном фоне" + }, + "outlinePositiveMinorHover": { + "value": "#0F9527FF", + "comment": "Минорный цвет обводки успех на темном фоне" + }, + "outlinePositiveMinorActive": { + "value": "#0C7920FF", + "comment": "Минорный цвет обводки успех на темном фоне" + }, + "outlineWarningMinor": { + "value": "[general.orange.800]", + "comment": "Минорный цвет обводки предупреждение на темном фоне" + }, + "outlineWarningMinorHover": { + "value": "#BB4F11FF", + "comment": "Минорный цвет обводки предупреждение на темном фоне" + }, + "outlineWarningMinorActive": { + "value": "#9F440FFF", + "comment": "Минорный цвет обводки предупреждение на темном фоне" + }, + "outlineNegativeMinor": { + "value": "[general.red.800]", + "comment": "Минорный цвет обводки ошибка на темном фоне" + }, + "outlineNegativeMinorHover": { + "value": "#B91828FF", + "comment": "Минорный цвет обводки ошибка на темном фоне" + }, + "outlineNegativeMinorActive": { + "value": "#83111CFF", + "comment": "Минорный цвет обводки ошибка на темном фоне" + }, + "outlineInfoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный цвет обводки информация на темном фоне" + }, + "outlineInfoMinorActive": { + "value": "#1C62E3FF", + "comment": "Минорный цвет обводки информация на темном фоне" + }, + "outlineTransparentPositive": { + "value": "[general.green.400][-0.72]", + "comment": "Прозрачный цвет обводки успех на темном фоне" + }, + "outlineTransparentPositiveHover": { + "value": "#24B23EFF", + "comment": "Прозрачный цвет обводки успех на темном фоне" + }, + "outlineTransparentPositiveActive": { + "value": "#24B23E56", + "comment": "Прозрачный цвет обводки успех на темном фоне" + }, + "outlineTransparentWarning": { + "value": "[general.orange.400][-0.72]", + "comment": "Прозрачный цвет обводки предупреждение на темном фоне" + }, + "outlineTransparentWarningHover": { + "value": "#FF7024FF", + "comment": "Прозрачный цвет обводки предупреждение на темном фоне" + }, + "outlineTransparentWarningActive": { + "value": "#FF702456", + "comment": "Прозрачный цвет обводки предупреждение на темном фоне" + }, + "outlineTransparentNegative": { + "value": "[general.red.400][-0.72]", + "comment": "Прозрачный цвет обводки предупреждение на темном фоне" + }, + "outlineTransparentNegativeHover": { + "value": "#FF3D51FF", + "comment": "Прозрачный цвет обводки предупреждение на темном фоне" + }, + "outlineTransparentNegativeActive": { + "value": "#FF3D5156", + "comment": "Прозрачный цвет обводки предупреждение на темном фоне" + }, + "outlineTransparentInfoHover": { + "value": "#3F82FDFF", + "comment": "Прозрачный цвет обводки информация на темном фоне" + }, + "outlineTransparentInfoActive": { + "value": "#3F82FD56", + "comment": "Прозрачный цвет обводки информация на темном фоне" + }, + "outlineSolidPrimary": { + "value": "#1B1B1B", + "comment": "Основной непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidSecondary": { + "value": "#393939", + "comment": "Вторичный непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidTertiary": { + "value": "[general.gray.700]", + "comment": "Третичный непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidDefault": { + "value": "[general.gray.50]", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на темном фоне" + }, + "outlineTransparentPrimary": { + "value": "rgba(255,255,255,0.05)", + "comment": "Основной прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentSecondary": { + "value": "rgba(255,255,255,0.20)", + "comment": "Вторичный прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentTertiary": { + "value": "rgba(255,255,255,0.40)", + "comment": "Третичный прозрачный цвет обводки на темном фоне" + }, + "outlineAccent": { + "value": "[general.electricBlue.500]", + "comment": "Акцентный цвет обводки на темном фоне" + }, + "outlineAccentMinor": { + "value": "[general.electricBlue.800]", + "comment": "Акцентный минорный непрозрачный цвет обводки на темном фоне" + }, + "outlineTransparentAccent": { + "value": "rgba(63,129,253,0.28)", + "comment": "Прозрачный акцентный цвет обводки на темном фоне" + }, + "outlineInfo": { + "value": "[general.electricBlue.500]", + "comment": "Цвет обводки информация на темном фоне" + }, + "outlineInfoMinor": { + "value": "[general.electricBlue.800]", + "comment": "Минорный цвет обводки информация на темном фоне" + }, + "outlineTransparentInfo": { + "value": "rgba(63,129,253,0.28)", + "comment": "Прозрачный цвет обводки информация на темном фоне" + } + }, + "onLight": { + "outlineSolidPrimaryHover": { + "value": "#ADADADFF", + "comment": "Основной непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidPrimaryActive": { + "value": "#C7C7C7FF", + "comment": "Основной непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Вторичный непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidSecondaryActive": { + "value": "#2E2E2EFF", + "comment": "Вторичный непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Третичный непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidTertiaryActive": { + "value": "#737373FF", + "comment": "Третичный непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidDefaultHover": { + "value": "#FFFFFFFF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне" + }, + "outlineSolidDefaultActive": { + "value": "#C7C7C7FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне" + }, + "outlineTransparentPrimaryHover": { + "value": "#080808FF", + "comment": "Основной прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentPrimaryActive": { + "value": "#0808080F", + "comment": "Основной прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentSecondaryHover": { + "value": "#080808FF", + "comment": "Вторичный прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentSecondaryActive": { + "value": "#0808083D", + "comment": "Вторичный прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentTertiaryHover": { + "value": "#080808FF", + "comment": "Третичный прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentTertiaryActive": { + "value": "#080808AB", + "comment": "Третичный прозрачный цвет обводки на светлом фоне" + }, + "outlineClear": { + "value": "#FFFFFF00", + "comment": "Бесцветная обводка на светлом фоне", + "enabled": false + }, + "outlineClearHover": { + "value": "#FFFFFFFF", + "comment": "Бесцветная обводка на светлом фоне", + "enabled": false + }, + "outlineClearActive": { + "value": "#FFFFFFFF", + "comment": "Бесцветная обводка на светлом фоне", + "enabled": false + }, + "outlineAccentHover": { + "value": "#79A7FBFF", + "comment": "Акцентный цвет обводки на светлом фоне" + }, + "outlineAccentActive": { + "value": "#0D5FF8FF", + "comment": "Акцентный цвет обводки на светлом фоне" + }, + "outlineAccentGradient": { + "value": "#FFFFFF", + "comment": "Акцентный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineAccentGradientHover": { + "value": "#CCCCCCFF", + "comment": "Акцентный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineAccentGradientActive": { + "value": "#E6E6E6FF", + "comment": "Акцентный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineAccentMinorHover": { + "value": "#DCE8FEFF", + "comment": "Акцентный минорный непрозрачный цвет обводки на светлом фоне" + }, + "outlineAccentMinorActive": { + "value": "#6FA0FBFF", + "comment": "Акцентный минорный непрозрачный цвет обводки на светлом фоне" + }, + "outlineAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineAccentMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Акцентный минорный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineAccentMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Акцентный минорный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineTransparentAccentHover": { + "value": "#2A72F8FF", + "comment": "Прозрачный акцентный цвет обводки на светлом фоне" + }, + "outlineTransparentAccentActive": { + "value": "#2A72F83D", + "comment": "Прозрачный акцентный цвет обводки на светлом фоне" + }, + "outlineTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineTransparentAccentGradientHover": { + "value": "#CCCCCCFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineTransparentAccentGradientActive": { + "value": "#E6E6E6FF", + "comment": "Прозрачный акцентный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePromo": { + "value": "#FFFFFF", + "comment": "Промо цвет обводки на светлом фоне", + "enabled": false + }, + "outlinePromoHover": { + "value": "#CCCCCCFF", + "comment": "Промо цвет обводки на светлом фоне", + "enabled": false + }, + "outlinePromoActive": { + "value": "#E6E6E6FF", + "comment": "Промо цвет обводки на светлом фоне", + "enabled": false + }, + "outlinePromoGradient": { + "value": "#FFFFFF", + "comment": "Промо цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePromoGradientHover": { + "value": "#CCCCCCFF", + "comment": "Промо цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePromoGradientActive": { + "value": "#E6E6E6FF", + "comment": "Промо цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет обводки на светлом фоне", + "enabled": false + }, + "outlinePromoMinorHover": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет обводки на светлом фоне", + "enabled": false + }, + "outlinePromoMinorActive": { + "value": "#E6E6E6FF", + "comment": "Минорный промо цвет обводки на светлом фоне", + "enabled": false + }, + "outlinePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePromoMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePromoMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Минорный промо цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePositiveHover": { + "value": "#1EB83AFF", + "comment": "Цвет обводки успех на светлом фоне" + }, + "outlinePositiveActive": { + "value": "#15842AFF", + "comment": "Цвет обводки успех на светлом фоне" + }, + "outlineWarningHover": { + "value": "#FB7223FF", + "comment": "Цвет обводки предупреждение на светлом фоне" + }, + "outlineWarningActive": { + "value": "#DC5304FF", + "comment": "Цвет обводки предупреждение на светлом фоне" + }, + "outlineNegative": { + "value": "[general.red.600]", + "comment": "Цвет обводки ошибка на светлом фоне" + }, + "outlineNegativeHover": { + "value": "#F5384BFF", + "comment": "Цвет обводки ошибка на светлом фоне" + }, + "outlineNegativeActive": { + "value": "#E40C22FF", + "comment": "Цвет обводки ошибка на светлом фоне" + }, + "outlineInfoHover": { + "value": "#79A7FBFF", + "comment": "Цвет обводки информация на светлом фоне" + }, + "outlineInfoActive": { + "value": "#0D5FF8FF", + "comment": "Цвет обводки информация на светлом фоне" + }, + "outlinePositiveMinor": { + "value": "[general.green.300]", + "comment": "Минорный цвет обводки успех на светлом фоне" + }, + "outlinePositiveMinorHover": { + "value": "#3EDA5BFF", + "comment": "Минорный цвет обводки успех на светлом фоне" + }, + "outlinePositiveMinorActive": { + "value": "#23B83EFF", + "comment": "Минорный цвет обводки успех на светлом фоне" + }, + "outlineWarningMinor": { + "value": "[general.orange.300]", + "comment": "Минорный цвет обводки предупреждение на светлом фоне" + }, + "outlineWarningMinorHover": { + "value": "#FDB086FF", + "comment": "Минорный цвет обводки предупреждение на светлом фоне" + }, + "outlineWarningMinorActive": { + "value": "#FC884AFF", + "comment": "Минорный цвет обводки предупреждение на светлом фоне" + }, + "outlineNegativeMinor": { + "value": "[general.red.300]", + "comment": "Минорный цвет обводки ошибка на светлом фоне" + }, + "outlineNegativeMinorHover": { + "value": "#FFADB6FF", + "comment": "Минорный цвет обводки ошибка на светлом фоне" + }, + "outlineNegativeMinorActive": { + "value": "#FF707EFF", + "comment": "Минорный цвет обводки ошибка на светлом фоне" + }, + "outlineInfoMinorHover": { + "value": "#DCE8FEFF", + "comment": "Минорный цвет обводки информация на светлом фоне" + }, + "outlineInfoMinorActive": { + "value": "#6FA0FBFF", + "comment": "Минорный цвет обводки информация на светлом фоне" + }, + "outlineTransparentPositiveHover": { + "value": "#1A9E32FF", + "comment": "Прозрачный цвет обводки успех на светлом фоне" + }, + "outlineTransparentPositiveActive": { + "value": "#1A9E323D", + "comment": "Прозрачный цвет обводки успех на светлом фоне" + }, + "outlineTransparentWarningHover": { + "value": "#FA5F05FF", + "comment": "Прозрачный цвет обводки предупреждение на светлом фоне" + }, + "outlineTransparentWarningActive": { + "value": "#FA5F053D", + "comment": "Прозрачный цвет обводки предупреждение на светлом фоне" + }, + "outlineTransparentNegative": { + "value": "[general.red.600][-0.80]", + "comment": "Прозрачный цвет обводки предупреждение на светлом фоне" + }, + "outlineTransparentNegativeHover": { + "value": "#F31B31FF", + "comment": "Прозрачный цвет обводки предупреждение на светлом фоне" + }, + "outlineTransparentNegativeActive": { + "value": "#F31B313D", + "comment": "Прозрачный цвет обводки предупреждение на светлом фоне" + }, + "outlineTransparentInfoHover": { + "value": "#2A72F8FF", + "comment": "Прозрачный цвет обводки информация на светлом фоне" + }, + "outlineTransparentInfoActive": { + "value": "#2A72F83D", + "comment": "Прозрачный цвет обводки информация на светлом фоне" + }, + "outlineSolidPrimary": { + "value": "#E0E0E0", + "comment": "Основной непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidSecondary": { + "value": "[general.gray.250]", + "comment": "Вторичный непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidTertiary": { + "value": "[general.gray.700]", + "comment": "Третичный непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidDefault": { + "value": "[general.gray.1000]", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне" + }, + "outlineTransparentPrimary": { + "value": "rgba(8,8,8,0.05)", + "comment": "Основной прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentSecondary": { + "value": "rgba(8,8,8,0.20)", + "comment": "Вторичный прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentTertiary": { + "value": "[general.gray.1000][-0.440]", + "comment": "Третичный прозрачный цвет обводки на светлом фоне" + }, + "outlineAccent": { + "value": "[general.electricBlue.600]", + "comment": "Акцентный цвет обводки на светлом фоне" + }, + "outlineAccentMinor": { + "value": "[general.electricBlue.300]", + "comment": "Акцентный минорный непрозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentAccent": { + "value": "rgba(42,114,248,0.20)", + "comment": "Прозрачный акцентный цвет обводки на светлом фоне" + }, + "outlineInfo": { + "value": "[general.electricBlue.600]", + "comment": "Цвет обводки информация на светлом фоне" + }, + "outlinePositive": { + "value": "[general.green.500]", + "comment": "Цвет обводки успех на светлом фоне" + }, + "outlineWarning": { + "value": "[general.orange.500]", + "comment": "Цвет обводки предупреждение на светлом фоне" + }, + "outlineInfoMinor": { + "value": "[general.electricBlue.300]", + "comment": "Минорный цвет обводки информация на светлом фоне" + }, + "outlineTransparentPositive": { + "value": "rgba(26,158,50,0.20)", + "comment": "Прозрачный цвет обводки успех на светлом фоне" + }, + "outlineTransparentWarning": { + "value": "rgba(250,95,5,0.20)", + "comment": "Прозрачный цвет обводки предупреждение на светлом фоне" + }, + "outlineTransparentInfo": { + "value": "rgba(42,114,248,0.20)", + "comment": "Прозрачный цвет обводки информация на светлом фоне" + } + }, + "inverse": { + "outlineSolidPrimaryHover": { + "value": "#ADADADFF", + "comment": "Инвертированный основной непрозрачный цвет обводки" + }, + "outlineSolidPrimaryActive": { + "value": "#C7C7C7FF", + "comment": "Инвертированный основной непрозрачный цвет обводки" + }, + "outlineSolidSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный вторичный непрозрачный цвет обводки" + }, + "outlineSolidSecondaryActive": { + "value": "#2E2E2EFF", + "comment": "Инвертированный вторичный непрозрачный цвет обводки" + }, + "outlineSolidTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный третичный непрозрачный цвет обводки" + }, + "outlineSolidTertiaryActive": { + "value": "#737373FF", + "comment": "Инвертированный третичный непрозрачный цвет обводки" + }, + "outlineSolidDefaultHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный непрозрачный фон поверхности/контрола по умолчанию" + }, + "outlineSolidDefaultActive": { + "value": "#C7C7C7FF", + "comment": "Инвертированный непрозрачный фон поверхности/контрола по умолчанию" + }, + "outlineTransparentPrimaryHover": { + "value": "#080808FF", + "comment": "Инвертированный основной прозрачный цвет обводки" + }, + "outlineTransparentPrimaryActive": { + "value": "#0808080F", + "comment": "Инвертированный основной прозрачный цвет обводки" + }, + "outlineTransparentSecondaryHover": { + "value": "#080808FF", + "comment": "Инвертированный вторичный прозрачный цвет обводки" + }, + "outlineTransparentSecondaryActive": { + "value": "#0808083D", + "comment": "Инвертированный вторичный прозрачный цвет обводки" + }, + "outlineTransparentTertiaryHover": { + "value": "#080808FF", + "comment": "Инвертированный третичный прозрачный цвет обводки" + }, + "outlineTransparentTertiaryActive": { + "value": "#080808AB", + "comment": "Инвертированный третичный прозрачный цвет обводки" + }, + "outlineClear": { + "value": "#FFFFFF00", + "comment": "Инвертированная бесцветная обводка", + "enabled": false + }, + "outlineClearHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированная бесцветная обводка", + "enabled": false + }, + "outlineClearActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированная бесцветная обводка", + "enabled": false + }, + "outlineAccentHover": { + "value": "#79A7FBFF", + "comment": "Инвертированный акцентный цвет обводки" + }, + "outlineAccentActive": { + "value": "#0D5FF8FF", + "comment": "Инвертированный акцентный цвет обводки" + }, + "outlineAccentGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentGradientHover": { + "value": "#CCCCCCFF", + "comment": "Инвертированный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentGradientActive": { + "value": "#E6E6E6FF", + "comment": "Инвертированный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentMinorHover": { + "value": "#DCE8FEFF", + "comment": "Инвертированный акцентный минорный непрозрачный цвет обводки" + }, + "outlineAccentMinorActive": { + "value": "#6FA0FBFF", + "comment": "Инвертированный акцентный минорный непрозрачный цвет обводки" + }, + "outlineAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный акцентный минорный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Инвертированный акцентный минорный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Инвертированный акцентный минорный цвет обводки с градиентом", + "enabled": false + }, + "outlineTransparentAccentHover": { + "value": "#2A72F8FF", + "comment": "Прозрачный инвертированный акцентный цвет обводки" + }, + "outlineTransparentAccentActive": { + "value": "#2A72F83D", + "comment": "Прозрачный инвертированный акцентный цвет обводки" + }, + "outlineTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный инвертированный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineTransparentAccentGradientHover": { + "value": "#CCCCCCFF", + "comment": "Прозрачный инвертированный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineTransparentAccentGradientActive": { + "value": "#E6E6E6FF", + "comment": "Прозрачный инвертированный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlinePromo": { + "value": "#FFFFFF", + "comment": "Инвертированный промо цвет обводки", + "enabled": false + }, + "outlinePromoHover": { + "value": "#CCCCCCFF", + "comment": "Инвертированный промо цвет обводки", + "enabled": false + }, + "outlinePromoActive": { + "value": "#E6E6E6FF", + "comment": "Инвертированный промо цвет обводки", + "enabled": false + }, + "outlinePromoGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoGradientHover": { + "value": "#CCCCCCFF", + "comment": "Инвертированный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoGradientActive": { + "value": "#E6E6E6FF", + "comment": "Инвертированный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoMinor": { + "value": "#FFFFFF", + "comment": "Инвертированный минорный промо цвет обводки", + "enabled": false + }, + "outlinePromoMinorHover": { + "value": "#CCCCCCFF", + "comment": "Инвертированный минорный промо цвет обводки", + "enabled": false + }, + "outlinePromoMinorActive": { + "value": "#E6E6E6FF", + "comment": "Инвертированный минорный промо цвет обводки", + "enabled": false + }, + "outlinePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный минорный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoMinorGradientHover": { + "value": "#CCCCCCFF", + "comment": "Инвертированный минорный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoMinorGradientActive": { + "value": "#E6E6E6FF", + "comment": "Инвертированный минорный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePositiveHover": { + "value": "#1EB83AFF", + "comment": "Инвертированный цвет обводки успех" + }, + "outlinePositiveActive": { + "value": "#15842AFF", + "comment": "Инвертированный цвет обводки успех" + }, + "outlineWarningHover": { + "value": "#FB7223FF", + "comment": "Инвертированный цвет обводки предупреждение" + }, + "outlineWarningActive": { + "value": "#DC5304FF", + "comment": "Инвертированный цвет обводки предупреждение" + }, + "outlineNegative": { + "value": "[general.red.600]", + "comment": "Инвертированный цвет обводки ошибка" + }, + "outlineNegativeHover": { + "value": "#F5384BFF", + "comment": "Инвертированный цвет обводки ошибка" + }, + "outlineNegativeActive": { + "value": "#E40C22FF", + "comment": "Инвертированный цвет обводки ошибка" + }, + "outlineInfoHover": { + "value": "#79A7FBFF", + "comment": "Инвертированный цвет обводки информация" + }, + "outlineInfoActive": { + "value": "#0D5FF8FF", + "comment": "Инвертированный цвет обводки информация" + }, + "outlinePositiveMinor": { + "value": "[general.green.300]", + "comment": "Инвертированный минорный цвет обводки успех" + }, + "outlinePositiveMinorHover": { + "value": "#3EDA5BFF", + "comment": "Инвертированный минорный цвет обводки успех" + }, + "outlinePositiveMinorActive": { + "value": "#23B83EFF", + "comment": "Инвертированный минорный цвет обводки успех" + }, + "outlineWarningMinor": { + "value": "[general.orange.300]", + "comment": "Инвертированный минорный цвет обводки предупреждение" + }, + "outlineWarningMinorHover": { + "value": "#FDB086FF", + "comment": "Инвертированный минорный цвет обводки предупреждение" + }, + "outlineWarningMinorActive": { + "value": "#FC884AFF", + "comment": "Инвертированный минорный цвет обводки предупреждение" + }, + "outlineNegativeMinor": { + "value": "[general.red.300]", + "comment": "Инвертированный минорный цвет обводки ошибка" + }, + "outlineNegativeMinorHover": { + "value": "#FFADB6FF", + "comment": "Инвертированный минорный цвет обводки ошибка" + }, + "outlineNegativeMinorActive": { + "value": "#FF707EFF", + "comment": "Инвертированный минорный цвет обводки ошибка" + }, + "outlineInfoMinorHover": { + "value": "#DCE8FEFF", + "comment": "Инвертированный минорный цвет обводки информация" + }, + "outlineInfoMinorActive": { + "value": "#6FA0FBFF", + "comment": "Инвертированный минорный цвет обводки информация" + }, + "outlineTransparentPositiveHover": { + "value": "#1A9E32FF", + "comment": "Прозрачный инвертированный цвет обводки успех" + }, + "outlineTransparentPositiveActive": { + "value": "#1A9E323D", + "comment": "Прозрачный инвертированный цвет обводки успех" + }, + "outlineTransparentWarningHover": { + "value": "#FA5F05FF", + "comment": "Прозрачный инвертированный цвет обводки предупреждение" + }, + "outlineTransparentWarningActive": { + "value": "#FA5F053D", + "comment": "Прозрачный инвертированный цвет обводки предупреждение" + }, + "outlineTransparentNegative": { + "value": "[general.red.600][-0.80]", + "comment": "Прозрачный инвертированный цвет обводки предупреждение" + }, + "outlineTransparentNegativeHover": { + "value": "#F31B31FF", + "comment": "Прозрачный инвертированный цвет обводки предупреждение" + }, + "outlineTransparentNegativeActive": { + "value": "#F31B313D", + "comment": "Прозрачный инвертированный цвет обводки предупреждение" + }, + "outlineTransparentInfoHover": { + "value": "#2A72F8FF", + "comment": "Прозрачный инвертированный цвет обводки информация" + }, + "outlineTransparentInfoActive": { + "value": "#2A72F83D", + "comment": "Прозрачный инвертированный цвет обводки информация" + }, + "outlineSolidPrimary": { + "value": "#E0E0E0", + "comment": "Инвертированный основной непрозрачный цвет обводки" + }, + "outlineSolidSecondary": { + "value": "[general.gray.250]", + "comment": "Инвертированный вторичный непрозрачный цвет обводки" + }, + "outlineSolidTertiary": { + "value": "[general.gray.700]", + "comment": "Инвертированный третичный непрозрачный цвет обводки" + }, + "outlineSolidDefault": { + "value": "[general.gray.1000]", + "comment": "Инвертированный непрозрачный фон поверхности/контрола по умолчанию" + }, + "outlineTransparentPrimary": { + "value": "rgba(8,8,8,0.05)", + "comment": "Инвертированный основной прозрачный цвет обводки" + }, + "outlineTransparentSecondary": { + "value": "rgba(8,8,8,0.20)", + "comment": "Инвертированный вторичный прозрачный цвет обводки" + }, + "outlineTransparentTertiary": { + "value": "[general.gray.1000][-0.440]", + "comment": "Инвертированный третичный прозрачный цвет обводки" + }, + "outlineAccent": { + "value": "[general.electricBlue.600]", + "comment": "Инвертированный акцентный цвет обводки" + }, + "outlineAccentMinor": { + "value": "[general.electricBlue.300]", + "comment": "Инвертированный акцентный минорный непрозрачный цвет обводки" + }, + "outlineTransparentAccent": { + "value": "[general.electricBlue.600][-0.80]", + "comment": "Прозрачный инвертированный акцентный цвет обводки" + }, + "outlinePositive": { + "value": "[general.green.500]", + "comment": "Инвертированный цвет обводки успех" + }, + "outlineWarning": { + "value": "[general.orange.500]", + "comment": "Инвертированный цвет обводки предупреждение" + }, + "outlineInfo": { + "value": "[general.electricBlue.600]", + "comment": "Инвертированный цвет обводки информация" + }, + "outlineInfoMinor": { + "value": "[general.electricBlue.300]", + "comment": "Инвертированный минорный цвет обводки информация" + }, + "outlineTransparentPositive": { + "value": "rgba(26,158,50,0.20)", + "comment": "Прозрачный инвертированный цвет обводки успех" + }, + "outlineTransparentWarning": { + "value": "rgba(250,95,5,0.20)", + "comment": "Прозрачный инвертированный цвет обводки предупреждение" + }, + "outlineTransparentInfo": { + "value": "rgba(42,114,248,0.20)", + "comment": "Прозрачный инвертированный цвет обводки информация" + } + } + } + }, + "light": { + "text": { + "default": { + "textPrimaryHover": { + "value": "#08080893", + "comment": "Основной цвет текста" + }, + "textPrimaryActive": { + "value": "#080808C4", + "comment": "Основной цвет текста" + }, + "textPrimaryBrightness": { + "value": "#080808F5", + "comment": "Основной цвет текста" + }, + "textSecondaryHover": { + "value": "#080808FF", + "comment": "Вторичный цвет текста" + }, + "textSecondaryActive": { + "value": "#080808AB", + "comment": "Вторичный цвет текста" + }, + "textTertiaryHover": { + "value": "#080808FF", + "comment": "Третичный цвет текста" + }, + "textTertiaryActive": { + "value": "#08080856", + "comment": "Третичный цвет текста" + }, + "textParagraphHover": { + "value": "#0808087A", + "comment": "Сплошной наборный текст" + }, + "textParagraphActive": { + "value": "#080808A3", + "comment": "Сплошной наборный текст" + }, + "textAccentHover": { + "value": "#528DFAFF", + "comment": "Акцентный цвет" + }, + "textAccentActive": { + "value": "#075AF2FF", + "comment": "Акцентный цвет" + }, + "textAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный цвет с градиентом", + "enabled": true + }, + "textAccentGradientActive": { + "value": "#CCCCCCFF", + "comment": "Акцентный цвет с градиентом", + "enabled": true + }, + "textAccentMinorHover": { + "value": "#B4CEFDFF", + "comment": "Акцентный минорный цвет" + }, + "textAccentMinorActive": { + "value": "#6599FBFF", + "comment": "Акцентный минорный цвет" + }, + "textAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный цвет с градиентом", + "enabled": false + }, + "textAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный цвет с градиентом", + "enabled": false + }, + "textAccentMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Акцентный минорный цвет с градиентом", + "enabled": false + }, + "textPromo": { + "value": "#FFFFFF", + "comment": "Промо цвет", + "enabled": false + }, + "textPromoHover": { + "value": "#FFFFFFFF", + "comment": "Промо цвет", + "enabled": false + }, + "textPromoActive": { + "value": "#CCCCCCFF", + "comment": "Промо цвет", + "enabled": false + }, + "textPromoGradient": { + "value": "#FFFFFF", + "comment": "Промо цвет с градиентом", + "enabled": false + }, + "textPromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Промо цвет с градиентом", + "enabled": false + }, + "textPromoGradientActive": { + "value": "#CCCCCCFF", + "comment": "Промо цвет с градиентом", + "enabled": false + }, + "textPromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет", + "enabled": false + }, + "textPromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо цвет", + "enabled": false + }, + "textPromoMinorActive": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет", + "enabled": false + }, + "textPromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет с градиентом", + "enabled": false + }, + "textPromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо цвет с градиентом", + "enabled": false + }, + "textPromoMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет с градиентом", + "enabled": false + }, + "textPositiveHover": { + "value": "#1FC13DFF", + "comment": "Цвет успеха" + }, + "textPositiveActive": { + "value": "#147B27FF", + "comment": "Цвет успеха" + }, + "textWarningHover": { + "value": "#FB782DFF", + "comment": "Цвет предупреждения" + }, + "textWarningActive": { + "value": "#D25004FF", + "comment": "Цвет предупреждения" + }, + "textNegativeHover": { + "value": "#F54254FF", + "comment": "Цвет ошибки" + }, + "textNegativeActive": { + "value": "#DA0B20FF", + "comment": "Цвет ошибки" + }, + "textInfoHover": { + "value": "#528DFAFF", + "comment": "Цвет информации" + }, + "textInfoActive": { + "value": "#075AF2FF", + "comment": "Цвет информации" + }, + "textPositiveMinorHover": { + "value": "#47DC62FF", + "comment": "Минорный цвет успеха" + }, + "textPositiveMinorActive": { + "value": "#21B03CFF", + "comment": "Минорный цвет успеха" + }, + "textWarningMinorHover": { + "value": "#FDB790FF", + "comment": "Минорный цвет предупреждения" + }, + "textWarningMinorActive": { + "value": "#FC8240FF", + "comment": "Минорный цвет предупреждения" + }, + "textNegativeMinorHover": { + "value": "#FFB8BFFF", + "comment": "Минорный цвет ошибки" + }, + "textNegativeMinorActive": { + "value": "#FF6675FF", + "comment": "Минорный цвет ошибки" + }, + "textInfoMinorHover": { + "value": "#B4CEFDFF", + "comment": "Минорный цвет информации" + }, + "textInfoMinorActive": { + "value": "#6599FBFF", + "comment": "Минорный цвет информации" + }, + "textPrimary": { + "value": "rgba(8,8,8,0.96)", + "comment": "Основной цвет текста" + }, + "textSecondary": { + "value": "rgba(8,8,8,0.56)", + "comment": "Вторичный цвет текста" + }, + "textTertiary": { + "value": "rgba(8,8,8,0.28)", + "comment": "Третичный цвет текста" + }, + "textParagraph": { + "value": "rgba(8,8,8,0.80)", + "comment": "Сплошной наборный текст" + }, + "textAccent": { + "value": "[general.electricBlue.600]", + "comment": "Акцентный цвет" + }, + "textAccentGradient": { + "value": { + "origin": "linear-gradient(90deg, #3E79F0 0%, #27C6E5 100%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0, + 1 + ], + "startPoint": { + "x": 0, + "y": 0.5 + }, + "endPoint": { + "x": 1, + "y": 0.5 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0, + 1 + ], + "startPoint": { + "x": 0, + "y": 0.5 + }, + "endPoint": { + "x": 1, + "y": 0.5 + } + } + }, + "comment": "Акцентный цвет с градиентом", + "enabled": true + }, + "textAccentMinor": { + "value": "[general.electricBlue.300]", + "comment": "Акцентный минорный цвет" + }, + "textPositive": { + "value": "[general.green.500]", + "comment": "Цвет успеха" + }, + "textWarning": { + "value": "[general.orange.500]", + "comment": "Цвет предупреждения" + }, + "textNegative": { + "value": "[general.red.600]", + "comment": "Цвет ошибки" + }, + "textInfo": { + "value": "[general.electricBlue.600]", + "comment": "Цвет информации" + }, + "textPositiveMinor": { + "value": "[general.green.300]", + "comment": "Минорный цвет успеха" + }, + "textWarningMinor": { + "value": "[general.orange.300]", + "comment": "Минорный цвет предупреждения" + }, + "textNegativeMinor": { + "value": "[general.red.300]", + "comment": "Минорный цвет ошибки" + }, + "textInfoMinor": { + "value": "[general.electricBlue.300]", + "comment": "Минорный цвет информации" + } + }, + "onDark": { + "textPrimary": { + "value": "rgba(255, 255, 255, 0.96)", + "comment": "Основной цвет текста на темном фоне" + }, + "textPrimaryHover": { + "value": "#FFFFFF93", + "comment": "Основной цвет текста на темном фоне" + }, + "textPrimaryActive": { + "value": "#FFFFFFC4", + "comment": "Основной цвет текста на темном фоне" + }, + "textPrimaryBrightness": { + "value": "#FFFFFFF5", + "comment": "Основной цвет текста на темном фоне" + }, + "textSecondary": { + "value": "rgba(255, 255, 255, 0.56)", + "comment": "Вторичный цвет текста на темном фоне" + }, + "textSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Вторичный цвет текста на темном фоне" + }, + "textSecondaryActive": { + "value": "#FFFFFFAB", + "comment": "Вторичный цвет текста на темном фоне" + }, + "textTertiary": { + "value": "rgba(255, 255, 255, 0.28)", + "comment": "Третичный цвет текста на темном фоне" + }, + "textTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Третичный цвет текста на темном фоне" + }, + "textTertiaryActive": { + "value": "#FFFFFF56", + "comment": "Третичный цвет текста на темном фоне" + }, + "textParagraph": { + "value": "rgba(255, 255, 255, 0.8)", + "comment": "Сплошной наборный текст на темном фоне" + }, + "textParagraphHover": { + "value": "#FFFFFF7A", + "comment": "Сплошной наборный текст на темном фоне" + }, + "textParagraphActive": { + "value": "#FFFFFFA3", + "comment": "Сплошной наборный текст на темном фоне" + }, + "textAccentHover": { + "value": "#689CFDFF", + "comment": "Акцентный цвет на темном фоне" + }, + "textAccentActive": { + "value": "#1767FDFF", + "comment": "Акцентный цвет на темном фоне" + }, + "textAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный цвет с градиентом на темном фоне", + "enabled": true + }, + "textAccentGradientActive": { + "value": "#CCCCCCFF", + "comment": "Акцентный цвет с градиентом на темном фоне", + "enabled": true + }, + "textAccentMinorHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный цвет на темном фоне" + }, + "textAccentMinorActive": { + "value": "#113B88FF", + "comment": "Акцентный минорный цвет на темном фоне" + }, + "textAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный цвет с градиентом на темном фоне", + "enabled": false + }, + "textAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный цвет с градиентом на темном фоне", + "enabled": false + }, + "textAccentMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Акцентный минорный цвет с градиентом на темном фоне", + "enabled": false + }, + "textPromo": { + "value": "#FFFFFF", + "comment": "Промо цвет на темном фоне", + "enabled": false + }, + "textPromoHover": { + "value": "#FFFFFFFF", + "comment": "Промо цвет на темном фоне", + "enabled": false + }, + "textPromoActive": { + "value": "#CCCCCCFF", + "comment": "Промо цвет на темном фоне", + "enabled": false + }, + "textPromoGradient": { + "value": "#FFFFFF", + "comment": "Промо цвет на темном фоне с градиентом", + "enabled": false + }, + "textPromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Промо цвет на темном фоне с градиентом", + "enabled": false + }, + "textPromoGradientActive": { + "value": "#CCCCCCFF", + "comment": "Промо цвет на темном фоне с градиентом", + "enabled": false + }, + "textPromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет на темном фоне", + "enabled": false + }, + "textPromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо цвет на темном фоне", + "enabled": false + }, + "textPromoMinorActive": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет на темном фоне", + "enabled": false + }, + "textPromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет на темном фоне с градиентом", + "enabled": false + }, + "textPromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо цвет на темном фоне с градиентом", + "enabled": false + }, + "textPromoMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет на темном фоне с градиентом", + "enabled": false + }, + "textPositiveHover": { + "value": "#1FC13DFF", + "comment": "Цвет успеха на темном фоне" + }, + "textPositiveActive": { + "value": "#147B27FF", + "comment": "Цвет успеха на темном фоне" + }, + "textWarningHover": { + "value": "#FB782DFF", + "comment": "Цвет предупреждения на темном фоне" + }, + "textWarningActive": { + "value": "#D25004FF", + "comment": "Цвет предупреждения на темном фоне" + }, + "textNegativeHover": { + "value": "#FF5263FF", + "comment": "Цвет ошибки на темном фоне" + }, + "textNegativeActive": { + "value": "#FF001AFF", + "comment": "Цвет ошибки на темном фоне" + }, + "textInfoHover": { + "value": "#689CFDFF", + "comment": "Цвет информации на темном фоне" + }, + "textInfoActive": { + "value": "#1767FDFF", + "comment": "Цвет информации на темном фоне" + }, + "textPositiveMinorHover": { + "value": "#11A72CFF", + "comment": "Минорный цвет успеха на темном фоне" + }, + "textPositiveMinorActive": { + "value": "#0D8222FF", + "comment": "Минорный цвет успеха на темном фоне" + }, + "textWarningMinorHover": { + "value": "#CD5713FF", + "comment": "Минорный цвет предупреждения на темном фоне" + }, + "textWarningMinorActive": { + "value": "#A84710FF", + "comment": "Минорный цвет предупреждения на темном фоне" + }, + "textNegativeMinorHover": { + "value": "#C2192AFF", + "comment": "Минорный цвет ошибки на темном фоне" + }, + "textNegativeMinorActive": { + "value": "#7A101AFF", + "comment": "Минорный цвет ошибки на темном фоне" + }, + "textInfoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный цвет информации на темном фоне" + }, + "textInfoMinorActive": { + "value": "#113B88FF", + "comment": "Минорный цвет информации на темном фоне" + }, + "textAccent": { + "value": "[general.electricBlue.500]", + "comment": "Акцентный цвет на темном фоне" + }, + "textAccentGradient": { + "value": { + "origin": "linear-gradient(90deg, #5E94FF 0%, #43DBFA 100%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#5E94FF", + "#43DBFA" + ], + "locations": [ + 0, + 1 + ], + "startPoint": { + "x": 0, + "y": 0.5 + }, + "endPoint": { + "x": 1, + "y": 0.5 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#5E94FF", + "#43DBFA" + ], + "locations": [ + 0, + 1 + ], + "startPoint": { + "x": 0, + "y": 0.5 + }, + "endPoint": { + "x": 1, + "y": 0.5 + } + } + }, + "comment": "Акцентный цвет с градиентом на темном фоне", + "enabled": true + }, + "textAccentMinor": { + "value": "[general.electricBlue.800]", + "comment": "Акцентный минорный цвет на темном фоне" + }, + "textPositive": { + "value": "[general.green.500]", + "comment": "Цвет успеха на темном фоне" + }, + "textWarning": { + "value": "[general.orange.500]", + "comment": "Цвет предупреждения на темном фоне" + }, + "textNegative": { + "value": "[general.red.500]", + "comment": "Цвет ошибки на темном фоне" + }, + "textInfo": { + "value": "[general.electricBlue.500]", + "comment": "Цвет информации на темном фоне" + }, + "textPositiveMinor": { + "value": "[general.green.800]", + "comment": "Минорный цвет успеха на темном фоне" + }, + "textWarningMinor": { + "value": "[general.orange.800]", + "comment": "Минорный цвет предупреждения на темном фоне" + }, + "textNegativeMinor": { + "value": "[general.red.800]", + "comment": "Минорный цвет ошибки на темном фоне" + }, + "textInfoMinor": { + "value": "[general.electricBlue.800]", + "comment": "Минорный цвет информации на темном фоне" + } + }, + "onLight": { + "textPrimaryHover": { + "value": "#08080893", + "comment": "Основной цвет текста на светлом фоне" + }, + "textPrimaryActive": { + "value": "#080808C4", + "comment": "Основной цвет текста на светлом фоне" + }, + "textPrimaryBrightness": { + "value": "#080808F5", + "comment": "Основной цвет текста на светлом фоне" + }, + "textSecondaryHover": { + "value": "#080808FF", + "comment": "Вторичный цвет текста на светлом фоне" + }, + "textSecondaryActive": { + "value": "#080808AB", + "comment": "Вторичный цвет текста на светлом фоне" + }, + "textTertiaryHover": { + "value": "#080808FF", + "comment": "Третичный цвет текста на светлом фоне" + }, + "textTertiaryActive": { + "value": "#08080856", + "comment": "Третичный цвет текста на светлом фоне" + }, + "textParagraphHover": { + "value": "#0808087A", + "comment": "Сплошной наборный текст на светлом фоне" + }, + "textParagraphActive": { + "value": "#080808A3", + "comment": "Сплошной наборный текст на светлом фоне" + }, + "textAccentHover": { + "value": "#528DFAFF", + "comment": "Акцентный цвет на светлом фоне" + }, + "textAccentActive": { + "value": "#075AF2FF", + "comment": "Акцентный цвет на светлом фоне" + }, + "textAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный цвет с градиентом на светлом фоне", + "enabled": true + }, + "textAccentGradientActive": { + "value": "#CCCCCCFF", + "comment": "Акцентный цвет с градиентом на светлом фоне", + "enabled": true + }, + "textAccentMinorHover": { + "value": "#B4CEFDFF", + "comment": "Акцентный минорный цвет на светлом фоне" + }, + "textAccentMinorActive": { + "value": "#6599FBFF", + "comment": "Акцентный минорный цвет на светлом фоне" + }, + "textAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный цвет с градиентом на светлом фоне", + "enabled": false + }, + "textAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный цвет с градиентом на светлом фоне", + "enabled": false + }, + "textAccentMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Акцентный минорный цвет с градиентом на светлом фоне", + "enabled": false + }, + "textPromo": { + "value": "#FFFFFF", + "comment": "Промо цвет на светлом фоне", + "enabled": false + }, + "textPromoHover": { + "value": "#FFFFFFFF", + "comment": "Промо цвет на светлом фоне", + "enabled": false + }, + "textPromoActive": { + "value": "#CCCCCCFF", + "comment": "Промо цвет на светлом фоне", + "enabled": false + }, + "textPromoGradient": { + "value": "#FFFFFF", + "comment": "Промо цвет на светлом фоне с градиентом", + "enabled": false + }, + "textPromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Промо цвет на светлом фоне с градиентом", + "enabled": false + }, + "textPromoGradientActive": { + "value": "#CCCCCCFF", + "comment": "Промо цвет на светлом фоне с градиентом", + "enabled": false + }, + "textPromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет на светлом фоне", + "enabled": false + }, + "textPromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо цвет на светлом фоне", + "enabled": false + }, + "textPromoMinorActive": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет на светлом фоне", + "enabled": false + }, + "textPromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет на светлом фоне с градиентом", + "enabled": false + }, + "textPromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо цвет на светлом фоне с градиентом", + "enabled": false + }, + "textPromoMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет на светлом фоне с градиентом", + "enabled": false + }, + "textPositiveHover": { + "value": "#1FC13DFF", + "comment": "Цвет успеха на светлом фоне" + }, + "textPositiveActive": { + "value": "#147B27FF", + "comment": "Цвет успеха на светлом фоне" + }, + "textWarningHover": { + "value": "#FB782DFF", + "comment": "Цвет предупреждения на светлом фоне" + }, + "textWarningActive": { + "value": "#D25004FF", + "comment": "Цвет предупреждения на светлом фоне" + }, + "textNegativeHover": { + "value": "#F54254FF", + "comment": "Цвет ошибки на светлом фоне" + }, + "textNegativeActive": { + "value": "#DA0B20FF", + "comment": "Цвет ошибки на светлом фоне" + }, + "textInfoHover": { + "value": "#528DFAFF", + "comment": "Цвет информации на светлом фоне" + }, + "textInfoActive": { + "value": "#075AF2FF", + "comment": "Цвет информации на светлом фоне" + }, + "textPositiveMinorHover": { + "value": "#47DC62FF", + "comment": "Минорный цвет успеха на светлом фоне" + }, + "textPositiveMinorActive": { + "value": "#21B03CFF", + "comment": "Минорный цвет успеха на светлом фоне" + }, + "textWarningMinorHover": { + "value": "#FDB790FF", + "comment": "Минорный цвет предупреждения на светлом фоне" + }, + "textWarningMinorActive": { + "value": "#FC8240FF", + "comment": "Минорный цвет предупреждения на светлом фоне" + }, + "textNegativeMinorHover": { + "value": "#FFB8BFFF", + "comment": "Минорный цвет ошибки на светлом фоне" + }, + "textNegativeMinorActive": { + "value": "#FF6675FF", + "comment": "Минорный цвет ошибки на светлом фоне" + }, + "textInfoMinorHover": { + "value": "#B4CEFDFF", + "comment": "Минорный цвет информации на светлом фоне" + }, + "textInfoMinorActive": { + "value": "#6599FBFF", + "comment": "Минорный цвет информации на светлом фоне" + }, + "textPrimary": { + "value": "rgba(8,8,8,0.96)", + "comment": "Основной цвет текста на светлом фоне" + }, + "textSecondary": { + "value": "rgba(8,8,8,0.56)", + "comment": "Вторичный цвет текста на светлом фоне" + }, + "textTertiary": { + "value": "rgba(8,8,8,0.28)", + "comment": "Третичный цвет текста на светлом фоне" + }, + "textParagraph": { + "value": "rgba(8,8,8,0.80)", + "comment": "Сплошной наборный текст на светлом фоне" + }, + "textAccent": { + "value": "[general.electricBlue.600]", + "comment": "Акцентный цвет на светлом фоне" + }, + "textAccentGradient": { + "value": { + "origin": "linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + } + }, + "comment": "Акцентный цвет с градиентом на светлом фоне", + "enabled": true + }, + "textAccentMinor": { + "value": "[general.electricBlue.300]", + "comment": "Акцентный минорный цвет на светлом фоне" + }, + "textPositive": { + "value": "[general.green.500]", + "comment": "Цвет успеха на светлом фоне" + }, + "textWarning": { + "value": "[general.orange.500]", + "comment": "Цвет предупреждения на светлом фоне" + }, + "textNegative": { + "value": "[general.red.600]", + "comment": "Цвет ошибки на светлом фоне" + }, + "textInfo": { + "value": "[general.electricBlue.600]", + "comment": "Цвет информации на светлом фоне" + }, + "textPositiveMinor": { + "value": "[general.green.300]", + "comment": "Минорный цвет успеха на светлом фоне" + }, + "textWarningMinor": { + "value": "[general.orange.300]", + "comment": "Минорный цвет предупреждения на светлом фоне" + }, + "textNegativeMinor": { + "value": "[general.red.300]", + "comment": "Минорный цвет ошибки на светлом фоне" + }, + "textInfoMinor": { + "value": "[general.electricBlue.300]", + "comment": "Минорный цвет информации на светлом фоне" + } + }, + "inverse": { + "textPrimary": { + "value": "rgba(255, 255, 255, 0.96)", + "comment": "Инвертированный основной цвет текста" + }, + "textPrimaryHover": { + "value": "#FFFFFF93", + "comment": "Инвертированный основной цвет текста" + }, + "textPrimaryActive": { + "value": "#FFFFFFC4", + "comment": "Инвертированный основной цвет текста" + }, + "textPrimaryBrightness": { + "value": "#FFFFFFF5", + "comment": "Инвертированный основной цвет текста" + }, + "textSecondary": { + "value": "rgba(255, 255, 255, 0.56)", + "comment": "Инвертированный вторичный цвет текста" + }, + "textSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный вторичный цвет текста" + }, + "textSecondaryActive": { + "value": "#FFFFFFAB", + "comment": "Инвертированный вторичный цвет текста" + }, + "textTertiary": { + "value": "rgba(255, 255, 255, 0.28)", + "comment": "Инвертированный третичный цвет текста" + }, + "textTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный третичный цвет текста" + }, + "textTertiaryActive": { + "value": "#FFFFFF56", + "comment": "Инвертированный третичный цвет текста" + }, + "textParagraph": { + "value": "rgba(255, 255, 255, 0.8)", + "comment": "Инвертированный сплошной наборный текст" + }, + "textParagraphHover": { + "value": "#FFFFFF7A", + "comment": "Инвертированный сплошной наборный текст" + }, + "textParagraphActive": { + "value": "#FFFFFFA3", + "comment": "Инвертированный сплошной наборный текст" + }, + "textAccentHover": { + "value": "#689CFDFF", + "comment": "Инвертированный акцентный цвет" + }, + "textAccentActive": { + "value": "#1767FDFF", + "comment": "Инвертированный акцентный цвет" + }, + "textAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный цвет с градиентом", + "enabled": true + }, + "textAccentGradientActive": { + "value": "#CCCCCCFF", + "comment": "Инвертированный акцентный цвет с градиентом", + "enabled": true + }, + "textAccentMinorHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный акцентный цвет" + }, + "textAccentMinorActive": { + "value": "#113B88FF", + "comment": "Инвертированный минорный акцентный цвет" + }, + "textAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный акцентный минорный цвет с градиентом", + "enabled": false + }, + "textAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный минорный цвет с градиентом", + "enabled": false + }, + "textAccentMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Инвертированный акцентный минорный цвет с градиентом", + "enabled": false + }, + "textPromo": { + "value": "#FFFFFF", + "comment": "Инвертированный промо цвет", + "enabled": false + }, + "textPromoHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный промо цвет", + "enabled": false + }, + "textPromoActive": { + "value": "#CCCCCCFF", + "comment": "Инвертированный промо цвет", + "enabled": false + }, + "textPromoGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный промо цвет с градиентом", + "enabled": false + }, + "textPromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный промо цвет с градиентом", + "enabled": false + }, + "textPromoGradientActive": { + "value": "#CCCCCCFF", + "comment": "Инвертированный промо цвет с градиентом", + "enabled": false + }, + "textPromoMinor": { + "value": "#FFFFFF", + "comment": "Инвертированный минорный промо цвет", + "enabled": false + }, + "textPromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный промо цвет", + "enabled": false + }, + "textPromoMinorActive": { + "value": "#CCCCCCFF", + "comment": "Инвертированный минорный промо цвет", + "enabled": false + }, + "textPromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный минорный промо цвет с градиентом", + "enabled": false + }, + "textPromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный промо цвет с градиентом", + "enabled": false + }, + "textPromoMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Инвертированный минорный промо цвет с градиентом", + "enabled": false + }, + "textPositiveHover": { + "value": "#1FC13DFF", + "comment": "Инвертированный цвет успеха" + }, + "textPositiveActive": { + "value": "#147B27FF", + "comment": "Инвертированный цвет успеха" + }, + "textWarningHover": { + "value": "#FB782DFF", + "comment": "Инвертированный цвет предупреждения" + }, + "textWarningActive": { + "value": "#D25004FF", + "comment": "Инвертированный цвет предупреждения" + }, + "textNegativeHover": { + "value": "#FF5263FF", + "comment": "Инвертированный цвет ошибки" + }, + "textNegativeActive": { + "value": "#FF001AFF", + "comment": "Инвертированный цвет ошибки" + }, + "textInfoHover": { + "value": "#689CFDFF", + "comment": "Инвертированный цвет информации" + }, + "textInfoActive": { + "value": "#1767FDFF", + "comment": "Инвертированный цвет информации" + }, + "textPositiveMinorHover": { + "value": "#11A72CFF", + "comment": "Инвертированный минорный цвет успеха" + }, + "textPositiveMinorActive": { + "value": "#0D8222FF", + "comment": "Инвертированный минорный цвет успеха" + }, + "textWarningMinorHover": { + "value": "#CD5713FF", + "comment": "Инвертированный минорный цвет предупреждения" + }, + "textWarningMinorActive": { + "value": "#A84710FF", + "comment": "Инвертированный минорный цвет предупреждения" + }, + "textNegativeMinorHover": { + "value": "#C2192AFF", + "comment": "Инвертированный минорный цвет ошибки" + }, + "textNegativeMinorActive": { + "value": "#7A101AFF", + "comment": "Инвертированный минорный цвет ошибки" + }, + "textInfoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный цвет информации" + }, + "textInfoMinorActive": { + "value": "#113B88FF", + "comment": "Инвертированный минорный цвет информации" + }, + "textAccent": { + "value": "[general.electricBlue.500]", + "comment": "Инвертированный акцентный цвет" + }, + "textAccentGradient": { + "value": { + "origin": "linear-gradient(94deg, #5E94FF 6.49%, #43DBFA 93.51%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#5E94FF", + "#43DBFA" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#5E94FF", + "#43DBFA" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + } + }, + "comment": "Инвертированный акцентный цвет с градиентом", + "enabled": true + }, + "textAccentMinor": { + "value": "[general.electricBlue.800]", + "comment": "Инвертированный минорный акцентный цвет" + }, + "textPositive": { + "value": "[general.green.500]", + "comment": "Инвертированный цвет успеха" + }, + "textWarning": { + "value": "[general.orange.500]", + "comment": "Инвертированный цвет предупреждения" + }, + "textNegative": { + "value": "[general.red.500]", + "comment": "Инвертированный цвет ошибки" + }, + "textInfo": { + "value": "[general.electricBlue.500]", + "comment": "Инвертированный цвет информации" + }, + "textPositiveMinor": { + "value": "[general.green.800]", + "comment": "Инвертированный минорный цвет успеха" + }, + "textWarningMinor": { + "value": "[general.orange.800]", + "comment": "Инвертированный минорный цвет предупреждения" + }, + "textNegativeMinor": { + "value": "[general.red.800]", + "comment": "Инвертированный минорный цвет ошибки" + }, + "textInfoMinor": { + "value": "[general.electricBlue.800]", + "comment": "Инвертированный минорный цвет информации" + } + } + }, + "surface": { + "default": { + "surfaceSolidPrimaryHover": { + "value": "#F7F7F7FF", + "comment": "Основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidPrimaryActive": { + "value": "#EDEDEDFF", + "comment": "Основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidPrimaryBrightness": { + "value": "#FFFFFFFF", + "comment": "Основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidSecondaryHover": { + "value": "#F2F2F2FF", + "comment": "Вторичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidSecondaryActive": { + "value": "#E3E3E3FF", + "comment": "Вторичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidTertiaryHover": { + "value": "#E8E8E8FF", + "comment": "Третичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidTertiaryActive": { + "value": "#CFCFCFFF", + "comment": "Третичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidCardHover": { + "value": "#FFFFFFFF", + "comment": "Основной фон для карточек" + }, + "surfaceSolidCardActive": { + "value": "#FFFFFFFF", + "comment": "Основной фон для карточек" + }, + "surfaceSolidCardBrightness": { + "value": "#FFFFFFFF", + "comment": "Основной фон для карточек" + }, + "surfaceSolidDefaultHover": { + "value": "#262626FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию" + }, + "surfaceSolidDefaultActive": { + "value": "#030303FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию" + }, + "surfaceTransparentPrimaryHover": { + "value": "#08080803", + "comment": "Основной прозрачный фон поверхности/контрола" + }, + "surfaceTransparentPrimaryActive": { + "value": "#08080817", + "comment": "Основной прозрачный фон поверхности/контрола" + }, + "surfaceTransparentSecondaryHover": { + "value": "#08080805", + "comment": "Вторичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentSecondaryActive": { + "value": "#08080824", + "comment": "Вторичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentTertiaryHover": { + "value": "#08080812", + "comment": "Третичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentTertiaryActive": { + "value": "#08080830", + "comment": "Третичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentDeepHover": { + "value": "#0808088F", + "comment": "Глубокий прозрачный фон поверхности/контрола" + }, + "surfaceTransparentDeepActive": { + "value": "#080808AD", + "comment": "Глубокий прозрачный фон поверхности/контрола" + }, + "surfaceTransparentCardHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный фон для карточек" + }, + "surfaceTransparentCardActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный фон для карточек" + }, + "surfaceTransparentCardBrightness": { + "value": "#FFFFFFFF", + "comment": "Прозрачный фон для карточек" + }, + "surfaceClearHover": { + "value": "#FFFFFFFF", + "comment": "Фон поверхности/контрола без заливки" + }, + "surfaceClearActive": { + "value": "#FFFFFFFF", + "comment": "Фон поверхности/контрола без заливки" + }, + "surfaceAccentHover": { + "value": "#528DFAFF", + "comment": "Акцентный фон поверхности/контрола" + }, + "surfaceAccentActive": { + "value": "#1665F8FF", + "comment": "Акцентный фон поверхности/контрола" + }, + "surfaceAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный фон поверхности/контрола с градиентом", + "enabled": true + }, + "surfaceAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Акцентный фон поверхности/контрола с градиентом", + "enabled": true + }, + "surfaceAccentMinorHover": { + "value": "#F5F8FFFF", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола" + }, + "surfaceAccentMinorActive": { + "value": "#D6E4FFFF", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола" + }, + "surfaceAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceAccentMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentAccentHover": { + "value": "#2A72F80A", + "comment": "Прозрачный акцентный фон поверхности/контрола" + }, + "surfaceTransparentAccentActive": { + "value": "#2A72F829", + "comment": "Прозрачный акцентный фон поверхности/контрола" + }, + "surfaceTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromo": { + "value": "#FFFFFF", + "comment": "Промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoHover": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoActive": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoGradient": { + "value": "#FFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoMinorActive": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentPromo": { + "value": "#FFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола", + "enabled": false + }, + "surfaceTransparentPromoHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола", + "enabled": false + }, + "surfaceTransparentPromoActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола", + "enabled": false + }, + "surfaceTransparentPromoGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentPromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentPromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePositiveHover": { + "value": "#1EB83AFF", + "comment": "Цвет фона поверхности/контрола успех" + }, + "surfacePositiveActive": { + "value": "#178C2CFF", + "comment": "Цвет фона поверхности/контрола успех" + }, + "surfaceWarningHover": { + "value": "#FB782DFF", + "comment": "Цвет фона поверхности/контрола предупреждение" + }, + "surfaceWarningActive": { + "value": "#E65705FF", + "comment": "Цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegativeHover": { + "value": "#FF5263FF", + "comment": "Цвет фона поверхности/контрола ошибка" + }, + "surfaceNegativeActive": { + "value": "#FF142CFF", + "comment": "Цвет фона поверхности/контрола ошибка" + }, + "surfaceInfoHover": { + "value": "#528DFAFF", + "comment": "Цвет фона поверхности/контрола информация" + }, + "surfaceInfoActive": { + "value": "#1665F8FF", + "comment": "Цвет фона поверхности/контрола информация" + }, + "surfacePositiveMinorHover": { + "value": "#B1FBBFFF", + "comment": "Минорный цвет фона поверхности/контрола успех" + }, + "surfacePositiveMinorActive": { + "value": "#8BF99FFF", + "comment": "Минорный цвет фона поверхности/контрола успех" + }, + "surfaceWarningMinorHover": { + "value": "#FEEFE6FF", + "comment": "Минорный цвет фона поверхности/контрола предупреждение" + }, + "surfaceWarningMinorActive": { + "value": "#FEDCC8FF", + "comment": "Минорный цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegativeMinorHover": { + "value": "#FFF5F6FF", + "comment": "Минорный цвет фона поверхности/контрола ошибка" + }, + "surfaceNegativeMinorActive": { + "value": "#FFD6DAFF", + "comment": "Минорный цвет фона поверхности/контрола ошибка" + }, + "surfaceInfoMinorHover": { + "value": "#F5F8FFFF", + "comment": "Минорный цвет фона поверхности/контрола информация" + }, + "surfaceInfoMinorActive": { + "value": "#D6E4FFFF", + "comment": "Минорный цвет фона поверхности/контрола информация" + }, + "surfaceTransparentPositive": { + "value": "[general.green.500][-0.88]", + "comment": "Прозрачный цвет фона поверхности/контрола успех" + }, + "surfaceTransparentPositiveHover": { + "value": "#1A9E320A", + "comment": "Прозрачный цвет фона поверхности/контрола успех" + }, + "surfaceTransparentPositiveActive": { + "value": "#1A9E3229", + "comment": "Прозрачный цвет фона поверхности/контрола успех" + }, + "surfaceTransparentWarning": { + "value": "[general.orange.500][-0.88]", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentWarningHover": { + "value": "#FA5F050A", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentWarningActive": { + "value": "#FA5F0529", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentNegative": { + "value": "[general.red.500][-0.88]", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentNegativeHover": { + "value": "#FF293E0A", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentNegativeActive": { + "value": "#FF293E29", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentInfoHover": { + "value": "#2A72F80A", + "comment": "Прозрачный цвет фона поверхности/контрола информация" + }, + "surfaceTransparentInfoActive": { + "value": "#2A72F829", + "comment": "Прозрачный цвет фона поверхности/контрола информация" + }, + "surfaceSolidCard": { + "value": "#FFFFFF", + "comment": "Основной фон для карточек" + }, + "surfaceSolidPrimary": { + "value": "#F2F2F2", + "comment": "Основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidSecondary": { + "value": "#E7E7E7", + "comment": "Вторичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidTertiary": { + "value": "#DADADA", + "comment": "Третичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidDefault": { + "value": "[general.gray.1000]", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию" + }, + "surfaceTransparentCard": { + "value": "#FFFFFF", + "comment": "Прозрачный фон для карточек" + }, + "surfaceTransparentPrimary": { + "value": "rgba(8,8,8,0.05)", + "comment": "Основной прозрачный фон поверхности/контрола" + }, + "surfaceTransparentSecondary": { + "value": "rgba(8,8,8,0.10)", + "comment": "Вторичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentTertiary": { + "value": "rgba(8,8,8,0.15)", + "comment": "Третичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentDeep": { + "value": "rgba(8,8,8,0.64)", + "comment": "Глубокий прозрачный фон поверхности/контрола" + }, + "surfaceClear": { + "value": "#FFFFFF00", + "comment": "Фон поверхности/контрола без заливки" + }, + "surfaceAccent": { + "value": "[general.electricBlue.600]", + "comment": "Акцентный фон поверхности/контрола" + }, + "surfaceAccentGradient": { + "value": { + "origin": "linear-gradient(90deg, #3E79F0 0%, #27C6E5 100%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0, + 1 + ], + "startPoint": { + "x": 0, + "y": 0.5 + }, + "endPoint": { + "x": 1, + "y": 0.5 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0, + 1 + ], + "startPoint": { + "x": 0, + "y": 0.5 + }, + "endPoint": { + "x": 1, + "y": 0.5 + } + } + }, + "comment": "Акцентный фон поверхности/контрола с градиентом", + "enabled": true + }, + "surfaceAccentMinor": { + "value": "[general.electricBlue.150]", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола" + }, + "surfaceTransparentAccent": { + "value": "rgba(42,114,248,0.12)", + "comment": "Прозрачный акцентный фон поверхности/контрола" + }, + "surfacePositive": { + "value": "[general.green.500]", + "comment": "Цвет фона поверхности/контрола успех" + }, + "surfaceWarning": { + "value": "[general.orange.500]", + "comment": "Цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegative": { + "value": "[general.red.500]", + "comment": "Цвет фона поверхности/контрола ошибка" + }, + "surfaceInfo": { + "value": "[general.electricBlue.600]", + "comment": "Цвет фона поверхности/контрола информация" + }, + "surfacePositiveMinor": { + "value": "[general.green.150]", + "comment": "Минорный цвет фона поверхности/контрола успех" + }, + "surfaceWarningMinor": { + "value": "[general.orange.150]", + "comment": "Минорный цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegativeMinor": { + "value": "[general.red.150]", + "comment": "Минорный цвет фона поверхности/контрола ошибка" + }, + "surfaceInfoMinor": { + "value": "[general.electricBlue.150]", + "comment": "Минорный цвет фона поверхности/контрола информация" + }, + "surfaceTransparentInfo": { + "value": "rgba(42,114,248,0.12)", + "comment": "Прозрачный цвет фона поверхности/контрола информация" + } + }, + "onDark": { + "surfaceSolidPrimaryHover": { + "value": "#2B2B2BFF", + "comment": "Основной непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidPrimaryActive": { + "value": "#030303FF", + "comment": "Основной непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidPrimaryBrightness": { + "value": "#1C1C1CFF", + "comment": "Основной непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidSecondaryHover": { + "value": "#2E2E2EFF", + "comment": "Вторичный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidSecondaryActive": { + "value": "#0F0F0FFF", + "comment": "Вторичный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidTertiaryHover": { + "value": "#3B3B3BFF", + "comment": "Третичный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidTertiaryActive": { + "value": "#1C1C1CFF", + "comment": "Третичный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidCardHover": { + "value": "#363636FF", + "comment": "Основной фон для карточек на темном фоне" + }, + "surfaceSolidCardActive": { + "value": "#0D0D0DFF", + "comment": "Основной фон для карточек на темном фоне" + }, + "surfaceSolidCardBrightness": { + "value": "#262626FF", + "comment": "Основной фон для карточек на темном фоне" + }, + "surfaceSolidDefaultHover": { + "value": "#FFFFFFFF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на темном фоне" + }, + "surfaceSolidDefaultActive": { + "value": "#FFFFFFFF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на темном фоне" + }, + "surfaceTransparentPrimaryHover": { + "value": "#FFFFFF03", + "comment": "Основной прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentPrimaryActive": { + "value": "#FFFFFF17", + "comment": "Основной прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentSecondaryHover": { + "value": "#FFFFFF05", + "comment": "Вторичный прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentSecondaryActive": { + "value": "#FFFFFF24", + "comment": "Вторичный прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentTertiaryHover": { + "value": "#FFFFFF12", + "comment": "Третичный прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentTertiaryActive": { + "value": "#FFFFFF30", + "comment": "Третичный прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentDeepHover": { + "value": "#FFFFFF8F", + "comment": "Глубокий прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentDeepActive": { + "value": "#FFFFFFAD", + "comment": "Глубокий прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentCardHover": { + "value": "#FFFFFF0A", + "comment": "Прозрачный фон для карточек на темном фоне" + }, + "surfaceTransparentCardActive": { + "value": "#FFFFFF29", + "comment": "Прозрачный фон для карточек на темном фоне" + }, + "surfaceTransparentCardBrightness": { + "value": "#FFFFFF1F", + "comment": "Прозрачный фон для карточек на темном фоне" + }, + "surfaceClear": { + "value": "#FFFFFF00", + "comment": "Фон поверхности/контрола без заливки на темном фоне", + "enabled": false + }, + "surfaceClearHover": { + "value": "#FFFFFFFF", + "comment": "Фон поверхности/контрола без заливки на темном фоне", + "enabled": false + }, + "surfaceClearActive": { + "value": "#FFFFFFFF", + "comment": "Фон поверхности/контрола без заливки на темном фоне", + "enabled": false + }, + "surfaceAccentHover": { + "value": "#689CFDFF", + "comment": "Акцентный фон поверхности/контрола на темном фоне" + }, + "surfaceAccentActive": { + "value": "#2B74FDFF", + "comment": "Акцентный фон поверхности/контрола на темном фоне" + }, + "surfaceAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный фон поверхности/контрола с градиентом на темном фоне", + "enabled": true + }, + "surfaceAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Акцентный фон поверхности/контрола с градиентом на темном фоне", + "enabled": true + }, + "surfaceAccentMinorHover": { + "value": "#0A2A67FF", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceAccentMinorActive": { + "value": "#061B41FF", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceAccentMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceTransparentAccentHover": { + "value": "#3F82FD1F", + "comment": "Прозрачный акцентный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentAccentActive": { + "value": "#3F82FD3D", + "comment": "Прозрачный акцентный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceTransparentAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceTransparentAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePromo": { + "value": "#FFFFFF", + "comment": "Промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfacePromoHover": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfacePromoActive": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfacePromoGradient": { + "value": "#FFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfacePromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfacePromoMinorActive": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfacePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePromoMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceTransparentPromo": { + "value": "#FFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfaceTransparentPromoHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfaceTransparentPromoActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола на темном фоне", + "enabled": false + }, + "surfaceTransparentPromoGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceTransparentPromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfaceTransparentPromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом на темном фоне", + "enabled": false + }, + "surfacePositiveHover": { + "value": "#1EB83AFF", + "comment": "Цвет фона поверхности/контрола успех на темном фоне" + }, + "surfacePositiveActive": { + "value": "#178C2CFF", + "comment": "Цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceWarningHover": { + "value": "#FB782DFF", + "comment": "Цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceWarningActive": { + "value": "#E65705FF", + "comment": "Цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceNegativeHover": { + "value": "#FF5263FF", + "comment": "Цвет фона поверхности/контрола ошибка на темном фоне" + }, + "surfaceNegativeActive": { + "value": "#FF142CFF", + "comment": "Цвет фона поверхности/контрола ошибка на темном фоне" + }, + "surfaceInfoHover": { + "value": "#689CFDFF", + "comment": "Цвет фона поверхности/контрола информация на темном фоне" + }, + "surfaceInfoActive": { + "value": "#2B74FDFF", + "comment": "Цвет фона поверхности/контрола информация на темном фоне" + }, + "surfacePositiveMinorHover": { + "value": "#0E3A16FF", + "comment": "Минорный цвет фона поверхности/контрола успех на темном фоне" + }, + "surfacePositiveMinorActive": { + "value": "#061909FF", + "comment": "Минорный цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceWarningMinorHover": { + "value": "#58290EFF", + "comment": "Минорный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceWarningMinorActive": { + "value": "#2C1507FF", + "comment": "Минорный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceNegativeMinorHover": { + "value": "#64121AFF", + "comment": "Минорный цвет фона поверхности/контрола ошибка на темном фоне" + }, + "surfaceNegativeMinorActive": { + "value": "#380A0FFF", + "comment": "Минорный цвет фона поверхности/контрола ошибка на темном фоне" + }, + "surfaceInfoMinorHover": { + "value": "#0A2A67FF", + "comment": "Минорный цвет фона поверхности/контрола информация на темном фоне" + }, + "surfaceInfoMinorActive": { + "value": "#061B41FF", + "comment": "Минорный цвет фона поверхности/контрола информация на темном фоне" + }, + "surfaceTransparentPositive": { + "value": "[general.green.500][-0.80]", + "comment": "Прозрачный цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceTransparentPositiveHover": { + "value": "#1A9E321F", + "comment": "Прозрачный цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceTransparentPositiveActive": { + "value": "#1A9E323D", + "comment": "Прозрачный цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceTransparentWarning": { + "value": "[general.orange.500][-0.80]", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceTransparentWarningHover": { + "value": "#FA5F051F", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceTransparentWarningActive": { + "value": "#FA5F053D", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceTransparentNegative": { + "value": "[general.red.500][-0.80]", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceTransparentNegativeHover": { + "value": "#FF293E1F", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceTransparentNegativeActive": { + "value": "#FF293E3D", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceTransparentInfoHover": { + "value": "#3F82FD1F", + "comment": "Прозрачный цвет фона поверхности/контрола информация на темном фоне" + }, + "surfaceTransparentInfoActive": { + "value": "#3F82FD3D", + "comment": "Прозрачный цвет фона поверхности/контрола информация на темном фоне" + }, + "surfaceSolidCard": { + "value": "[general.gray.950]", + "comment": "Основной фон для карточек на темном фоне" + }, + "surfaceSolidPrimary": { + "value": "#0D0D0D", + "comment": "Основной непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidSecondary": { + "value": "#191919", + "comment": "Вторичный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidTertiary": { + "value": "[general.gray.900]", + "comment": "Третичный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceSolidDefault": { + "value": "#FFFFFF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на темном фоне" + }, + "surfaceTransparentCard": { + "value": "rgba(255,255,255,0.12)", + "comment": "Прозрачный фон для карточек на темном фоне" + }, + "surfaceTransparentPrimary": { + "value": "rgba(255,255,255,0.05)", + "comment": "Основной прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentSecondary": { + "value": "rgba(255,255,255,0.10)", + "comment": "Вторичный прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentTertiary": { + "value": "rgba(255,255,255,0.15)", + "comment": "Третичный прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentDeep": { + "value": "rgba(255,255,255,0.64)", + "comment": "Глубокий прозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceAccent": { + "value": "[general.electricBlue.500]", + "comment": "Акцентный фон поверхности/контрола на темном фоне" + }, + "surfaceAccentGradient": { + "value": { + "origin": "linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + } + }, + "comment": "Акцентный фон поверхности/контрола с градиентом на темном фоне", + "enabled": true + }, + "surfaceAccentMinor": { + "value": "[general.electricBlue.900]", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола на темном фоне" + }, + "surfaceTransparentAccent": { + "value": "rgba(63,129,253,0.20)", + "comment": "Прозрачный акцентный фон поверхности/контрола на темном фоне" + }, + "surfacePositive": { + "value": "[general.green.500]", + "comment": "Цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceWarning": { + "value": "[general.orange.500]", + "comment": "Цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceNegative": { + "value": "[general.red.500]", + "comment": "Цвет фона поверхности/контрола ошибка на темном фоне" + }, + "surfaceInfo": { + "value": "[general.electricBlue.500]", + "comment": "Цвет фона поверхности/контрола информация на темном фоне" + }, + "surfacePositiveMinor": { + "value": "[general.green.900]", + "comment": "Минорный цвет фона поверхности/контрола успех на темном фоне" + }, + "surfaceWarningMinor": { + "value": "[general.orange.900]", + "comment": "Минорный цвет фона поверхности/контрола предупреждение на темном фоне" + }, + "surfaceNegativeMinor": { + "value": "[general.red.900]", + "comment": "Минорный цвет фона поверхности/контрола ошибка на темном фоне" + }, + "surfaceInfoMinor": { + "value": "[general.electricBlue.900]", + "comment": "Минорный цвет фона поверхности/контрола информация на темном фоне" + }, + "surfaceTransparentInfo": { + "value": "rgba(63,129,253,0.20)", + "comment": "Прозрачный цвет фона поверхности/контрола информация на темном фоне" + } + }, + "onLight": { + "surfaceSolidPrimaryHover": { + "value": "#F7F7F7FF", + "comment": "Основной непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidPrimaryActive": { + "value": "#EDEDEDFF", + "comment": "Основной непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidPrimaryBrightness": { + "value": "#FFFFFFFF", + "comment": "Основной непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidSecondaryHover": { + "value": "#F2F2F2FF", + "comment": "Вторичный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidSecondaryActive": { + "value": "#E3E3E3FF", + "comment": "Вторичный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidTertiaryHover": { + "value": "#E8E8E8FF", + "comment": "Третичный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidTertiaryActive": { + "value": "#CFCFCFFF", + "comment": "Третичный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidCardHover": { + "value": "#FFFFFFFF", + "comment": "Основной фон для карточек на светлом фоне" + }, + "surfaceSolidCardActive": { + "value": "#FFFFFFFF", + "comment": "Основной фон для карточек на светлом фоне" + }, + "surfaceSolidCardBrightness": { + "value": "#FFFFFFFF", + "comment": "Основной фон для карточек на светлом фоне" + }, + "surfaceSolidDefaultHover": { + "value": "#262626FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне" + }, + "surfaceSolidDefaultActive": { + "value": "#030303FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне" + }, + "surfaceTransparentPrimaryHover": { + "value": "#08080803", + "comment": "Основной прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentPrimaryActive": { + "value": "#08080817", + "comment": "Основной прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentSecondaryHover": { + "value": "#08080805", + "comment": "Вторичный прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentSecondaryActive": { + "value": "#08080824", + "comment": "Вторичный прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentTertiaryHover": { + "value": "#08080812", + "comment": "Третичный прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentTertiaryActive": { + "value": "#08080830", + "comment": "Третичный прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentDeepHover": { + "value": "#0808088F", + "comment": "Глубокий прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentDeepActive": { + "value": "#080808AD", + "comment": "Глубокий прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentCardHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный фон для карточек на светлом фоне" + }, + "surfaceTransparentCardActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный фон для карточек на светлом фоне" + }, + "surfaceTransparentCardBrightness": { + "value": "#FFFFFFFF", + "comment": "Прозрачный фон для карточек на светлом фоне" + }, + "surfaceClear": { + "value": "#FFFFFF00", + "comment": "Фон поверхности/контрола без заливки на светлом фоне", + "enabled": false + }, + "surfaceClearHover": { + "value": "#FFFFFFFF", + "comment": "Фон поверхности/контрола без заливки на светлом фоне", + "enabled": false + }, + "surfaceClearActive": { + "value": "#FFFFFFFF", + "comment": "Фон поверхности/контрола без заливки на светлом фоне", + "enabled": false + }, + "surfaceAccentHover": { + "value": "#528DFAFF", + "comment": "Акцентный фон поверхности/контрола на светлом фоне" + }, + "surfaceAccentActive": { + "value": "#1665F8FF", + "comment": "Акцентный фон поверхности/контрола на светлом фоне" + }, + "surfaceAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": true + }, + "surfaceAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Акцентный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": true + }, + "surfaceAccentMinorHover": { + "value": "#F5F8FFFF", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceAccentMinorActive": { + "value": "#D6E4FFFF", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceAccentMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceTransparentAccentHover": { + "value": "#2A72F80A", + "comment": "Прозрачный акцентный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentAccentActive": { + "value": "#2A72F829", + "comment": "Прозрачный акцентный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceTransparentAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceTransparentAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePromo": { + "value": "#FFFFFF", + "comment": "Промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfacePromoHover": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfacePromoActive": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfacePromoGradient": { + "value": "#FFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfacePromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfacePromoMinorActive": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfacePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePromoMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Минорный промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceTransparentPromo": { + "value": "#FFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfaceTransparentPromoHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfaceTransparentPromoActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола на светлом фоне", + "enabled": false + }, + "surfaceTransparentPromoGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceTransparentPromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfaceTransparentPromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный промо фон поверхности/контрола с градиентом на светлом фоне", + "enabled": false + }, + "surfacePositiveHover": { + "value": "#1EB83AFF", + "comment": "Цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfacePositiveActive": { + "value": "#178C2CFF", + "comment": "Цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceWarningHover": { + "value": "#FB782DFF", + "comment": "Цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceWarningActive": { + "value": "#E65705FF", + "comment": "Цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceNegativeHover": { + "value": "#FF5263FF", + "comment": "Цвет фона поверхности/контрола ошибка на светлом фоне" + }, + "surfaceNegativeActive": { + "value": "#FF142CFF", + "comment": "Цвет фона поверхности/контрола ошибка на светлом фоне" + }, + "surfaceInfoHover": { + "value": "#689CFDFF", + "comment": "Цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfaceInfoActive": { + "value": "#2B74FDFF", + "comment": "Цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfacePositiveMinorHover": { + "value": "#B1FBBFFF", + "comment": "Минорный цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfacePositiveMinorActive": { + "value": "#8BF99FFF", + "comment": "Минорный цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceWarningMinorHover": { + "value": "#FEEFE6FF", + "comment": "Минорный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceWarningMinorActive": { + "value": "#FEDCC8FF", + "comment": "Минорный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceNegativeMinorHover": { + "value": "#FFF5F6FF", + "comment": "Минорный цвет фона поверхности/контрола ошибка на светлом фоне" + }, + "surfaceNegativeMinorActive": { + "value": "#FFD6DAFF", + "comment": "Минорный цвет фона поверхности/контрола ошибка на светлом фоне" + }, + "surfaceInfoMinorHover": { + "value": "#F5F8FFFF", + "comment": "Минорный цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfaceInfoMinorActive": { + "value": "#D6E4FFFF", + "comment": "Минорный цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfaceTransparentPositive": { + "value": "[general.green.500][-0.88]", + "comment": "Прозрачный цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceTransparentPositiveHover": { + "value": "#1A9E320A", + "comment": "Прозрачный цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceTransparentPositiveActive": { + "value": "#1A9E3229", + "comment": "Прозрачный цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceTransparentWarning": { + "value": "[general.orange.500][-0.88]", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceTransparentWarningHover": { + "value": "#FA5F050A", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceTransparentWarningActive": { + "value": "#FA5F0529", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceTransparentNegative": { + "value": "[general.red.500][-0.88]", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceTransparentNegativeHover": { + "value": "#FF293E0A", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceTransparentNegativeActive": { + "value": "#FF293E29", + "comment": "Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceTransparentInfoHover": { + "value": "#2A72F80A", + "comment": "Прозрачный цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfaceTransparentInfoActive": { + "value": "#2A72F829", + "comment": "Прозрачный цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfaceSolidCard": { + "value": "#FFFFFF", + "comment": "Основной фон для карточек на светлом фоне" + }, + "surfaceSolidPrimary": { + "value": "#F2F2F2", + "comment": "Основной непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidSecondary": { + "value": "#E7E7E7", + "comment": "Вторичный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidTertiary": { + "value": "#DADADA", + "comment": "Третичный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceSolidDefault": { + "value": "[general.gray.1000]", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне" + }, + "surfaceTransparentCard": { + "value": "#FFFFFF", + "comment": "Прозрачный фон для карточек на светлом фоне" + }, + "surfaceTransparentPrimary": { + "value": "rgba(8,8,8,0.05)", + "comment": "Основной прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentSecondary": { + "value": "rgba(8,8,8,0.10)", + "comment": "Вторичный прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentTertiary": { + "value": "rgba(8,8,8,0.15)", + "comment": "Третичный прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentDeep": { + "value": "rgba(8,8,8,0.64)", + "comment": "Глубокий прозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceAccent": { + "value": "[general.electricBlue.600]", + "comment": "Акцентный фон поверхности/контрола на светлом фоне" + }, + "surfaceAccentGradient": { + "value": { + "origin": "linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)", + "swift": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + }, + "xml": { + "kind": "gradient", + "type": ".linear", + "colors": [ + "#3E79F0", + "#27C6E5" + ], + "locations": [ + 0.06, + 0.94 + ], + "startPoint": { + "x": 0, + "y": 0.46 + }, + "endPoint": { + "x": 1, + "y": 0.54 + } + } + }, + "comment": "Акцентный фон поверхности/контрола с градиентом на светлом фоне", + "enabled": true + }, + "surfaceAccentMinor": { + "value": "[general.electricBlue.150]", + "comment": "Акцентный минорный непрозрачный фон поверхности/контрола на светлом фоне" + }, + "surfaceTransparentAccent": { + "value": "rgba(42,114,248,0.12)", + "comment": "Прозрачный акцентный фон поверхности/контрола на светлом фоне" + }, + "surfacePositive": { + "value": "[general.green.500]", + "comment": "Цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceWarning": { + "value": "[general.orange.500]", + "comment": "Цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceNegative": { + "value": "[general.red.500]", + "comment": "Цвет фона поверхности/контрола ошибка на светлом фоне" + }, + "surfaceInfo": { + "value": "[general.electricBlue.500]", + "comment": "Цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfacePositiveMinor": { + "value": "[general.green.150]", + "comment": "Минорный цвет фона поверхности/контрола успех на светлом фоне" + }, + "surfaceWarningMinor": { + "value": "[general.orange.150]", + "comment": "Минорный цвет фона поверхности/контрола предупреждение на светлом фоне" + }, + "surfaceNegativeMinor": { + "value": "[general.red.150]", + "comment": "Минорный цвет фона поверхности/контрола ошибка на светлом фоне" + }, + "surfaceInfoMinor": { + "value": "[general.electricBlue.150]", + "comment": "Минорный цвет фона поверхности/контрола информация на светлом фоне" + }, + "surfaceTransparentInfo": { + "value": "rgba(42,114,248,0.12)", + "comment": "Прозрачный цвет фона поверхности/контрола информация на светлом фоне" + } + }, + "inverse": { + "surfaceSolidPrimaryHover": { + "value": "#2B2B2BFF", + "comment": "Инвертированный основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidPrimaryActive": { + "value": "#030303FF", + "comment": "Инвертированный основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidPrimaryBrightness": { + "value": "#1C1C1CFF", + "comment": "Инвертированный основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidSecondaryHover": { + "value": "#2E2E2EFF", + "comment": "Инвертированный вторичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidSecondaryActive": { + "value": "#0F0F0FFF", + "comment": "Инвертированный вторичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidTertiaryHover": { + "value": "#3B3B3BFF", + "comment": "Инвертированный третичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidTertiaryActive": { + "value": "#1C1C1CFF", + "comment": "Инвертированный третичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidCardHover": { + "value": "#363636FF", + "comment": "Инвертированный основной фон для карточек" + }, + "surfaceSolidCardActive": { + "value": "#0D0D0DFF", + "comment": "Инвертированный основной фон для карточек" + }, + "surfaceSolidCardBrightness": { + "value": "#262626FF", + "comment": "Инвертированный основной фон для карточек" + }, + "surfaceSolidDefaultHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный непрозрачный фон поверхности/контрола по умолчанию" + }, + "surfaceSolidDefaultActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный непрозрачный фон поверхности/контрола по умолчанию" + }, + "surfaceTransparentPrimaryHover": { + "value": "#FFFFFF05", + "comment": "Инвертированный основной прозрачный фон поверхности/контрола" + }, + "surfaceTransparentPrimaryActive": { + "value": "#FFFFFF1A", + "comment": "Инвертированный основной прозрачный фон поверхности/контрола" + }, + "surfaceTransparentSecondaryHover": { + "value": "#FFFFFF05", + "comment": "Инвертированный вторичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentSecondaryActive": { + "value": "#FFFFFF24", + "comment": "Инвертированный вторичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentTertiaryHover": { + "value": "#FFFFFF12", + "comment": "Инвертированный третичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentTertiaryActive": { + "value": "#FFFFFF30", + "comment": "Инвертированный третичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentDeepHover": { + "value": "#FFFFFF8F", + "comment": "Инвертированный глубокий прозрачный фон поверхности/контрола" + }, + "surfaceTransparentDeepActive": { + "value": "#FFFFFFAD", + "comment": "Инвертированный глубокий прозрачный фон поверхности/контрола" + }, + "surfaceTransparentCardHover": { + "value": "#FFFFFF0A", + "comment": "Инвертированный прозрачный фон для карточек" + }, + "surfaceTransparentCardActive": { + "value": "#FFFFFF29", + "comment": "Инвертированный прозрачный фон для карточек" + }, + "surfaceTransparentCardBrightness": { + "value": "#FFFFFF1F", + "comment": "Инвертированный прозрачный фон для карточек" + }, + "surfaceClear": { + "value": "#FFFFFF00", + "comment": "Инвертированный фон поверхности/контрола без заливки", + "enabled": false + }, + "surfaceClearHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный фон поверхности/контрола без заливки", + "enabled": false + }, + "surfaceClearActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный фон поверхности/контрола без заливки", + "enabled": false + }, + "surfaceAccentHover": { + "value": "#689CFDFF", + "comment": "Инвертированный акцентный фон поверхности/контрола" + }, + "surfaceAccentActive": { + "value": "#2B74FDFF", + "comment": "Инвертированный акцентный фон поверхности/контрола" + }, + "surfaceAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный фон поверхности/контрола с градиентом", + "enabled": true + }, + "surfaceAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный фон поверхности/контрола с градиентом", + "enabled": true + }, + "surfaceAccentMinorHover": { + "value": "#0A2A67FF", + "comment": "Инвертированный акцентный минорный непрозрачный фон поверхности/контрола" + }, + "surfaceAccentMinorActive": { + "value": "#061B41FF", + "comment": "Инвертированный акцентный минорный непрозрачный фон поверхности/контрола" + }, + "surfaceAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный акцентный минорный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный минорный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceAccentMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный минорный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentAccentHover": { + "value": "#3F82FD1F", + "comment": "Прозрачный инвертированный акцентный фон поверхности/контрола" + }, + "surfaceTransparentAccentActive": { + "value": "#3F82FD3D", + "comment": "Прозрачный инвертированный акцентный фон поверхности/контрола" + }, + "surfaceTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный инвертированный акцентный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный инвертированный акцентный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentAccentGradientActive": { + "value": "#FFFFFFFF", + "comment": "Прозрачный инвертированный акцентный фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromo": { + "value": "#FFFFFF", + "comment": "Инвертированный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoMinor": { + "value": "#FFFFFF", + "comment": "Инвертированный минорный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoMinorActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный промо фон поверхности/контрола", + "enabled": false + }, + "surfacePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный минорный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePromoMinorGradientActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentPromo": { + "value": "#FFFFFF", + "comment": "Инвертированный прозрачный промо фон поверхности/контрола", + "enabled": false + }, + "surfaceTransparentPromoHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный прозрачный промо фон поверхности/контрола", + "enabled": false + }, + "surfaceTransparentPromoActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный прозрачный промо фон поверхности/контрола", + "enabled": false + }, + "surfaceTransparentPromoGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный прозрачный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentPromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный прозрачный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfaceTransparentPromoGradientActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированный прозрачный промо фон поверхности/контрола с градиентом", + "enabled": false + }, + "surfacePositiveHover": { + "value": "#1EB83AFF", + "comment": "Инвертированный цвет фона поверхности/контрола успех" + }, + "surfacePositiveActive": { + "value": "#178C2CFF", + "comment": "Инвертированный цвет фона поверхности/контрола успех" + }, + "surfaceWarningHover": { + "value": "#FB782DFF", + "comment": "Инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceWarningActive": { + "value": "#E65705FF", + "comment": "Инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegativeHover": { + "value": "#FF5263FF", + "comment": "Инвертированный цвет фона поверхности/контрола ошибка" + }, + "surfaceNegativeActive": { + "value": "#FF142CFF", + "comment": "Инвертированный цвет фона поверхности/контрола ошибка" + }, + "surfaceInfoHover": { + "value": "#689CFDFF", + "comment": "Инвертированный цвет фона поверхности/контрола информация" + }, + "surfaceInfoActive": { + "value": "#2B74FDFF", + "comment": "Инвертированный цвет фона поверхности/контрола информация" + }, + "surfacePositiveMinorHover": { + "value": "#0E3A16FF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола успех" + }, + "surfacePositiveMinorActive": { + "value": "#061909FF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола успех" + }, + "surfaceWarningMinorHover": { + "value": "#58290EFF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола предупреждение" + }, + "surfaceWarningMinorActive": { + "value": "#2C1507FF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegativeMinorHover": { + "value": "#64121AFF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола ошибка" + }, + "surfaceNegativeMinorActive": { + "value": "#380A0FFF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола ошибка" + }, + "surfaceInfoMinorHover": { + "value": "#0A2A67FF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола информация" + }, + "surfaceInfoMinorActive": { + "value": "#061B41FF", + "comment": "Инвертированный минорный цвет фона поверхности/контрола информация" + }, + "surfaceTransparentPositive": { + "value": "[general.green.500][-0.80]", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола успех" + }, + "surfaceTransparentPositiveHover": { + "value": "#1A9E321F", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола успех" + }, + "surfaceTransparentPositiveActive": { + "value": "#1A9E323D", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола успех" + }, + "surfaceTransparentWarning": { + "value": "[general.orange.500][-0.80]", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentWarningHover": { + "value": "#FA5F051F", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentWarningActive": { + "value": "#FA5F053D", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentNegative": { + "value": "[general.red.500][-0.80]", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentNegativeHover": { + "value": "#FF293E1F", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentNegativeActive": { + "value": "#FF293E3D", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceTransparentInfoHover": { + "value": "#3F82FD1F", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола информация" + }, + "surfaceTransparentInfoActive": { + "value": "#3F82FD3D", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола информация" + }, + "surfaceSolidCard": { + "value": "[general.gray.950]", + "comment": "Инвертированный основной фон для карточек" + }, + "surfaceSolidPrimary": { + "value": "#0D0D0D", + "comment": "Инвертированный основной непрозрачный фон поверхности/контрола" + }, + "surfaceSolidSecondary": { + "value": "#191919", + "comment": "Инвертированный вторичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidTertiary": { + "value": "[general.gray.900]", + "comment": "Инвертированный третичный непрозрачный фон поверхности/контрола" + }, + "surfaceSolidDefault": { + "value": "#FFFFFF", + "comment": "Инвертированный непрозрачный фон поверхности/контрола по умолчанию" + }, + "surfaceTransparentCard": { + "value": "rgba(255,255,255,0.12)", + "comment": "Инвертированный прозрачный фон для карточек" + }, + "surfaceTransparentPrimary": { + "value": "rgba(255,255,255,0.06)", + "comment": "Инвертированный основной прозрачный фон поверхности/контрола" + }, + "surfaceTransparentSecondary": { + "value": "rgba(255,255,255,0.10)", + "comment": "Инвертированный вторичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentTertiary": { + "value": "rgba(255,255,255,0.15)", + "comment": "Инвертированный третичный прозрачный фон поверхности/контрола" + }, + "surfaceTransparentDeep": { + "value": "rgba(255,255,255,0.64)", + "comment": "Инвертированный глубокий прозрачный фон поверхности/контрола" + }, + "surfaceAccent": { + "value": "[general.electricBlue.500]", + "comment": "Инвертированный акцентный фон поверхности/контрола" + }, + "surfaceAccentGradient": { + "value": "linear-gradient(94deg,#3E79F06.49%,#27C6E593.51%)", + "comment": "Инвертированный акцентный фон поверхности/контрола с градиентом", + "enabled": true + }, + "surfaceAccentMinor": { + "value": "[general.electricBlue.900]", + "comment": "Инвертированный акцентный минорный непрозрачный фон поверхности/контрола" + }, + "surfaceTransparentAccent": { + "value": "rgba(63,129,253,0.20)", + "comment": "Прозрачный инвертированный акцентный фон поверхности/контрола" + }, + "surfacePositive": { + "value": "[general.green.500]", + "comment": "Инвертированный цвет фона поверхности/контрола успех" + }, + "surfaceWarning": { + "value": "[general.orange.500]", + "comment": "Инвертированный цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegative": { + "value": "[general.red.500]", + "comment": "Инвертированный цвет фона поверхности/контрола ошибка" + }, + "surfaceInfo": { + "value": "[general.electricBlue.500]", + "comment": "Инвертированный цвет фона поверхности/контрола информация" + }, + "surfacePositiveMinor": { + "value": "[general.green.900]", + "comment": "Инвертированный минорный цвет фона поверхности/контрола успех" + }, + "surfaceWarningMinor": { + "value": "[general.orange.900]", + "comment": "Инвертированный минорный цвет фона поверхности/контрола предупреждение" + }, + "surfaceNegativeMinor": { + "value": "[general.red.900]", + "comment": "Инвертированный минорный цвет фона поверхности/контрола ошибка" + }, + "surfaceInfoMinor": { + "value": "[general.electricBlue.900]", + "comment": "Инвертированный минорный цвет фона поверхности/контрола информация" + }, + "surfaceTransparentInfo": { + "value": "rgba(63,129,253,0.20)", + "comment": "Прозрачный инвертированный цвет фона поверхности/контрола информация" + } + } + }, + "background": { + "default": { + "backgroundPrimary": { + "value": "[general.gray.50]", + "comment": "Основной фон" + }, + "backgroundSecondary": { + "value": "#FFFFFF", + "comment": "Вторичный фон", + "enabled": false + }, + "backgroundTertiary": { + "value": "#FFFFFF", + "comment": "Третичный фон", + "enabled": false + } + }, + "dark": { + "backgroundPrimary": { + "value": "[general.gray.1000]", + "comment": "Основной фон на темном фоне" + }, + "backgroundSecondary": { + "value": "#FFFFFF", + "comment": "Вторичный фон на темном фоне", + "enabled": false + }, + "backgroundTertiary": { + "value": "#FFFFFF", + "comment": "Третичный фон на темном фоне", + "enabled": false + } + }, + "light": { + "backgroundPrimary": { + "value": "[general.gray.50]", + "comment": "Основной фон на светлом фоне" + }, + "backgroundSecondary": { + "value": "#FFFFFF", + "comment": "Вторичный фон на светлом фоне", + "enabled": false + }, + "backgroundTertiary": { + "value": "#FFFFFF", + "comment": "Третичный фон на светлом фоне", + "enabled": false + } + }, + "inverse": { + "backgroundPrimary": { + "value": "[general.gray.1000]", + "comment": "Инвертированный основной фон" + }, + "backgroundSecondary": { + "value": "#FFFFFF", + "comment": "Инвертированный вторичный фон", + "enabled": false + }, + "backgroundTertiary": { + "value": "#FFFFFF", + "comment": "Инвертированный третичный фон", + "enabled": false + } + } + }, + "overlay": { + "default": { + "overlaySoft": { + "value": "[general.gray.50][-0.440]", + "comment": "Цвет фона паранжи светлый" + }, + "overlayHard": { + "value": "[general.gray.50][-0.0400]", + "comment": "Цвет фона паранжи темный" + }, + "overlayBlur": { + "value": "[general.gray.50][-0.720]", + "comment": "Цвет фона паранжи размытый" + } + }, + "onDark": { + "overlaySoft": { + "value": "[general.gray.1000][-0.440]", + "comment": "Цвет фона паранжи светлый на темном фоне" + }, + "overlayHard": { + "value": "[general.gray.1000][-0.0400]", + "comment": "Цвет фона паранжи темный на темном фоне" + }, + "overlayBlur": { + "value": "[general.gray.1000][-0.720]", + "comment": "Цвет фона паранжи размытый на темном фоне" + } + }, + "onLight": { + "overlaySoft": { + "value": "[general.gray.50][-0.440]", + "comment": "Цвет фона паранжи светлый на светлом фоне" + }, + "overlayHard": { + "value": "[general.gray.50][-0.0400]", + "comment": "Цвет фона паранжи темный на светлом фоне" + }, + "overlayBlur": { + "value": "[general.gray.50][-0.720]", + "comment": "Цвет фона паранжи размытый на светлом фоне" + } + }, + "inverse": { + "overlaySoft": { + "value": "[general.gray.1000][-0.440]", + "comment": "Инвертированный цвет фона паранжи светлый" + }, + "overlayHard": { + "value": "[general.gray.1000][-0.0400]", + "comment": "Инвертированный цвет фона паранжи темный" + }, + "overlayBlur": { + "value": "[general.gray.1000][-0.720]", + "comment": "Инвертированный цвет фона паранжи размытый" + } + } + }, + "outline": { + "default": { + "outlineSolidPrimaryHover": { + "value": "#FFFFFFFF", + "comment": "Основной непрозрачный цвет обводки" + }, + "outlineSolidPrimaryActive": { + "value": "#B3B3B3FF", + "comment": "Основной непрозрачный цвет обводки" + }, + "outlineSolidSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Вторичный непрозрачный цвет обводки" + }, + "outlineSolidSecondaryActive": { + "value": "#9E9E9EFF", + "comment": "Вторичный непрозрачный цвет обводки" + }, + "outlineSolidTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Третичный непрозрачный цвет обводки" + }, + "outlineSolidTertiaryActive": { + "value": "#595959FF", + "comment": "Третичный непрозрачный цвет обводки" + }, + "outlineSolidDefaultHover": { + "value": "#595959FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию" + }, + "outlineSolidDefaultActive": { + "value": "#303030FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию" + }, + "outlineTransparentPrimaryHover": { + "value": "#080808FF", + "comment": "Основной прозрачный цвет обводки" + }, + "outlineTransparentPrimaryActive": { + "value": "#0808080F", + "comment": "Основной прозрачный цвет обводки" + }, + "outlineTransparentSecondaryHover": { + "value": "#080808FF", + "comment": "Вторичный прозрачный цвет обводки" + }, + "outlineTransparentSecondaryActive": { + "value": "#0808083D", + "comment": "Вторичный прозрачный цвет обводки" + }, + "outlineTransparentTertiaryHover": { + "value": "#080808FF", + "comment": "Третичный прозрачный цвет обводки" + }, + "outlineTransparentTertiaryActive": { + "value": "#080808AB", + "comment": "Третичный прозрачный цвет обводки" + }, + "outlineClearHover": { + "value": "#FFFFFFFF", + "comment": "Бесцветная обводка", + "enabled": true + }, + "outlineClearActive": { + "value": "#FFFFFFFF", + "comment": "Бесцветная обводка", + "enabled": true + }, + "outlineAccentHover": { + "value": "#528DFAFF", + "comment": "Акцентный цвет обводки" + }, + "outlineAccentActive": { + "value": "#075AF2FF", + "comment": "Акцентный цвет обводки" + }, + "outlineAccentGradient": { + "value": "#FFFFFF", + "comment": "Акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentGradientActive": { + "value": "#CCCCCCFF", + "comment": "Акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentMinorHover": { + "value": "#B4CEFDFF", + "comment": "Акцентный минорный непрозрачный цвет обводки" + }, + "outlineAccentMinorActive": { + "value": "#6599FBFF", + "comment": "Акцентный минорный непрозрачный цвет обводки" + }, + "outlineAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Акцентный минорный цвет обводки с градиентом", + "enabled": false + }, + "outlineTransparentAccentHover": { + "value": "#2A72F8FF", + "comment": "Прозрачный акцентный цвет обводки" + }, + "outlineTransparentAccentActive": { + "value": "#2A72F83D", + "comment": "Прозрачный акцентный цвет обводки" + }, + "outlineTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineTransparentAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineTransparentAccentGradientActive": { + "value": "#CCCCCCFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlinePromo": { + "value": "#FFFFFF", + "comment": "Промо цвет обводки", + "enabled": false + }, + "outlinePromoHover": { + "value": "#FFFFFFFF", + "comment": "Промо цвет обводки", + "enabled": false + }, + "outlinePromoActive": { + "value": "#CCCCCCFF", + "comment": "Промо цвет обводки", + "enabled": false + }, + "outlinePromoGradient": { + "value": "#FFFFFF", + "comment": "Промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoGradientActive": { + "value": "#CCCCCCFF", + "comment": "Промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет обводки", + "enabled": false + }, + "outlinePromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо цвет обводки", + "enabled": false + }, + "outlinePromoMinorActive": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет обводки", + "enabled": false + }, + "outlinePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePositiveHover": { + "value": "#1FC13DFF", + "comment": "Цвет обводки успех" + }, + "outlinePositiveActive": { + "value": "#147B27FF", + "comment": "Цвет обводки успех" + }, + "outlineWarningHover": { + "value": "#FB782DFF", + "comment": "Цвет обводки предупреждение" + }, + "outlineWarningActive": { + "value": "#D25004FF", + "comment": "Цвет обводки предупреждение" + }, + "outlineNegative": { + "value": "[general.red.600]", + "comment": "Цвет обводки ошибка" + }, + "outlineNegativeHover": { + "value": "#F54254FF", + "comment": "Цвет обводки ошибка" + }, + "outlineNegativeActive": { + "value": "#DA0B20FF", + "comment": "Цвет обводки ошибка" + }, + "outlineInfoHover": { + "value": "#528DFAFF", + "comment": "Цвет обводки информация" + }, + "outlineInfoActive": { + "value": "#075AF2FF", + "comment": "Цвет обводки информация" + }, + "outlinePositiveMinor": { + "value": "[general.green.300]", + "comment": "Минорный цвет обводки успех" + }, + "outlinePositiveMinorHover": { + "value": "#47DC62FF", + "comment": "Минорный цвет обводки успех" + }, + "outlinePositiveMinorActive": { + "value": "#21B03CFF", + "comment": "Минорный цвет обводки успех" + }, + "outlineWarningMinor": { + "value": "[general.orange.300]", + "comment": "Минорный цвет обводки предупреждение" + }, + "outlineWarningMinorHover": { + "value": "#FDB790FF", + "comment": "Минорный цвет обводки предупреждение" + }, + "outlineWarningMinorActive": { + "value": "#FC8240FF", + "comment": "Минорный цвет обводки предупреждение" + }, + "outlineNegativeMinor": { + "value": "[general.red.300]", + "comment": "Минорный цвет обводки ошибка" + }, + "outlineNegativeMinorHover": { + "value": "#FFB8BFFF", + "comment": "Минорный цвет обводки ошибка" + }, + "outlineNegativeMinorActive": { + "value": "#FF6675FF", + "comment": "Минорный цвет обводки ошибка" + }, + "outlineInfoMinorHover": { + "value": "#B4CEFDFF", + "comment": "Минорный цвет обводки информация" + }, + "outlineInfoMinorActive": { + "value": "#6599FBFF", + "comment": "Минорный цвет обводки информация" + }, + "outlineTransparentPositiveHover": { + "value": "#1A9E32FF", + "comment": "Прозрачный цвет обводки успех" + }, + "outlineTransparentPositiveActive": { + "value": "#1A9E323D", + "comment": "Прозрачный цвет обводки успех" + }, + "outlineTransparentWarningHover": { + "value": "#FA5F05FF", + "comment": "Прозрачный цвет обводки предупреждение" + }, + "outlineTransparentWarningActive": { + "value": "#FA5F053D", + "comment": "Прозрачный цвет обводки предупреждение" + }, + "outlineTransparentNegativeHover": { + "value": "#F31B31FF", + "comment": "Прозрачный цвет обводки предупреждение" + }, + "outlineTransparentNegativeActive": { + "value": "#F31B313D", + "comment": "Прозрачный цвет обводки предупреждение" + }, + "outlineTransparentInfoHover": { + "value": "#2A72F8FF", + "comment": "Прозрачный цвет обводки информация" + }, + "outlineTransparentInfoActive": { + "value": "#2A72F83D", + "comment": "Прозрачный цвет обводки информация" + }, + "outlineSolidPrimary": { + "value": "#E0E0E0", + "comment": "Основной непрозрачный цвет обводки" + }, + "outlineSolidSecondary": { + "value": "[general.gray.250]", + "comment": "Вторичный непрозрачный цвет обводки" + }, + "outlineSolidTertiary": { + "value": "[general.gray.700]", + "comment": "Третичный непрозрачный цвет обводки" + }, + "outlineSolidDefault": { + "value": "[general.gray.1000]", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию" + }, + "outlineTransparentPrimary": { + "value": "rgba(8,8,8,0.05)", + "comment": "Основной прозрачный цвет обводки" + }, + "outlineTransparentSecondary": { + "value": "rgba(8,8,8,0.20)", + "comment": "Вторичный прозрачный цвет обводки" + }, + "outlineTransparentTertiary": { + "value": "rgba(8,8,8,0.56)", + "comment": "Третичный прозрачный цвет обводки" + }, + "outlineClear": { + "value": "#FFFFFF00", + "comment": "Бесцветная обводка", + "enabled": true + }, + "outlineAccent": { + "value": "[general.electricBlue.600]", + "comment": "Акцентный цвет обводки" + }, + "outlineAccentMinor": { + "value": "[general.electricBlue.300]", + "comment": "Акцентный минорный непрозрачный цвет обводки" + }, + "outlineTransparentAccent": { + "value": "rgba(42,114,248,0.20)", + "comment": "Прозрачный акцентный цвет обводки" + }, + "outlinePositive": { + "value": "[general.green.500]", + "comment": "Цвет обводки успех" + }, + "outlineWarning": { + "value": "[general.orange.500]", + "comment": "Цвет обводки предупреждение" + }, + "outlineInfo": { + "value": "[general.electricBlue.600]", + "comment": "Цвет обводки информация" + }, + "outlineInfoMinor": { + "value": "[general.electricBlue.300]", + "comment": "Минорный цвет обводки информация" + }, + "outlineTransparentPositive": { + "value": "rgba(26,158,50,0.20)", + "comment": "Прозрачный цвет обводки успех" + }, + "outlineTransparentWarning": { + "value": "rgba(250,95,5,0.20)", + "comment": "Прозрачный цвет обводки предупреждение" + }, + "outlineTransparentNegative": { + "value": "rgba(243,27,49,0.20)", + "comment": "Прозрачный цвет обводки предупреждение" + }, + "outlineTransparentInfo": { + "value": "rgba(42,114,248,0.20)", + "comment": "Прозрачный цвет обводки информация" + } + }, + "onDark": { + "outlineSolidPrimaryHover": { + "value": "#6E6E6EFF", + "comment": "Основной непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidPrimaryActive": { + "value": "#454545FF", + "comment": "Основной непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidSecondaryHover": { + "value": "#8A8A8AFF", + "comment": "Вторичный непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidSecondaryActive": { + "value": "#616161FF", + "comment": "Вторичный непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Третичный непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidTertiaryActive": { + "value": "#595959FF", + "comment": "Третичный непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidDefaultHover": { + "value": "#FFFFFFFF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на темном фоне" + }, + "outlineSolidDefaultActive": { + "value": "#C7C7C7FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на темном фоне" + }, + "outlineTransparentPrimaryHover": { + "value": "#FFFFFFFF", + "comment": "Основной прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentPrimaryActive": { + "value": "#FFFFFF0F", + "comment": "Основной прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Вторичный прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentSecondaryActive": { + "value": "#FFFFFF3D", + "comment": "Вторичный прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Третичный прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentTertiaryActive": { + "value": "#FFFFFF7A", + "comment": "Третичный прозрачный цвет обводки на темном фоне" + }, + "outlineClear": { + "value": "#FFFFFF00", + "comment": "Бесцветная обводка на темном фоне", + "enabled": false + }, + "outlineClearHover": { + "value": "#FFFFFFFF", + "comment": "Бесцветная обводка на темном фоне", + "enabled": false + }, + "outlineClearActive": { + "value": "#FFFFFFFF", + "comment": "Бесцветная обводка на темном фоне", + "enabled": false + }, + "outlineAccentHover": { + "value": "#689CFDFF", + "comment": "Акцентный цвет обводки на темном фоне" + }, + "outlineAccentActive": { + "value": "#1767FDFF", + "comment": "Акцентный цвет обводки на темном фоне" + }, + "outlineAccentGradient": { + "value": "#FFFFFF", + "comment": "Акцентный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineAccentGradientActive": { + "value": "#CCCCCCFF", + "comment": "Акцентный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineAccentMinorHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный непрозрачный цвет обводки на темном фоне" + }, + "outlineAccentMinorActive": { + "value": "#113B88FF", + "comment": "Акцентный минорный непрозрачный цвет обводки на темном фоне" + }, + "outlineAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineAccentMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Акцентный минорный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineTransparentAccentHover": { + "value": "#3F82FDFF", + "comment": "Прозрачный акцентный цвет обводки на темном фоне" + }, + "outlineTransparentAccentActive": { + "value": "#3F82FD56", + "comment": "Прозрачный акцентный цвет обводки на темном фоне" + }, + "outlineTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineTransparentAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlineTransparentAccentGradientActive": { + "value": "#CCCCCCFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePromo": { + "value": "#FFFFFF", + "comment": "Промо цвет обводки на темном фоне", + "enabled": false + }, + "outlinePromoHover": { + "value": "#FFFFFFFF", + "comment": "Промо цвет обводки на темном фоне", + "enabled": false + }, + "outlinePromoActive": { + "value": "#CCCCCCFF", + "comment": "Промо цвет обводки на темном фоне", + "enabled": false + }, + "outlinePromoGradient": { + "value": "#FFFFFF", + "comment": "Промо цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Промо цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePromoGradientActive": { + "value": "#CCCCCCFF", + "comment": "Промо цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет обводки на темном фоне", + "enabled": false + }, + "outlinePromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо цвет обводки на темном фоне", + "enabled": false + }, + "outlinePromoMinorActive": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет обводки на темном фоне", + "enabled": false + }, + "outlinePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePromoMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет обводки с градиентом на темном фоне", + "enabled": false + }, + "outlinePositive": { + "value": "[general.green.400]", + "comment": "Цвет обводки успех на темном фоне" + }, + "outlinePositiveHover": { + "value": "#2BD44AFF", + "comment": "Цвет обводки успех на темном фоне" + }, + "outlinePositiveActive": { + "value": "#1D9032FF", + "comment": "Цвет обводки успех на темном фоне" + }, + "outlineWarning": { + "value": "[general.orange.400]", + "comment": "Цвет обводки предупреждение на темном фоне" + }, + "outlineWarningHover": { + "value": "#FF8B4DFF", + "comment": "Цвет обводки предупреждение на темном фоне" + }, + "outlineWarningActive": { + "value": "#FA5700FF", + "comment": "Цвет обводки предупреждение на темном фоне" + }, + "outlineNegative": { + "value": "[general.red.400]", + "comment": "Цвет обводки ошибка на темном фоне" + }, + "outlineNegativeHover": { + "value": "#FF6675FF", + "comment": "Цвет обводки ошибка на темном фоне" + }, + "outlineNegativeActive": { + "value": "#FF142CFF", + "comment": "Цвет обводки ошибка на темном фоне" + }, + "outlineInfoHover": { + "value": "#689CFDFF", + "comment": "Цвет обводки информация на темном фоне" + }, + "outlineInfoActive": { + "value": "#1767FDFF", + "comment": "Цвет обводки информация на темном фоне" + }, + "outlinePositiveMinor": { + "value": "[general.green.800]", + "comment": "Минорный цвет обводки успех на темном фоне" + }, + "outlinePositiveMinorHover": { + "value": "#11A72CFF", + "comment": "Минорный цвет обводки успех на темном фоне" + }, + "outlinePositiveMinorActive": { + "value": "#0D8222FF", + "comment": "Минорный цвет обводки успех на темном фоне" + }, + "outlineWarningMinor": { + "value": "[general.orange.800]", + "comment": "Минорный цвет обводки предупреждение на темном фоне" + }, + "outlineWarningMinorHover": { + "value": "#CD5713FF", + "comment": "Минорный цвет обводки предупреждение на темном фоне" + }, + "outlineWarningMinorActive": { + "value": "#A84710FF", + "comment": "Минорный цвет обводки предупреждение на темном фоне" + }, + "outlineNegativeMinor": { + "value": "[general.red.800]", + "comment": "Минорный цвет обводки ошибка на темном фоне" + }, + "outlineNegativeMinorHover": { + "value": "#C2192AFF", + "comment": "Минорный цвет обводки ошибка на темном фоне" + }, + "outlineNegativeMinorActive": { + "value": "#7A101AFF", + "comment": "Минорный цвет обводки ошибка на темном фоне" + }, + "outlineInfoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный цвет обводки информация на темном фоне" + }, + "outlineInfoMinorActive": { + "value": "#113B88FF", + "comment": "Минорный цвет обводки информация на темном фоне" + }, + "outlineTransparentPositive": { + "value": "[general.green.400][-0.72]", + "comment": "Прозрачный цвет обводки успех на темном фоне" + }, + "outlineTransparentPositiveHover": { + "value": "#24B23EFF", + "comment": "Прозрачный цвет обводки успех на темном фоне" + }, + "outlineTransparentPositiveActive": { + "value": "#24B23E56", + "comment": "Прозрачный цвет обводки успех на темном фоне" + }, + "outlineTransparentWarning": { + "value": "[general.orange.400][-0.72]", + "comment": "Прозрачный цвет обводки предупреждение на темном фоне" + }, + "outlineTransparentWarningHover": { + "value": "#FF7024FF", + "comment": "Прозрачный цвет обводки предупреждение на темном фоне" + }, + "outlineTransparentWarningActive": { + "value": "#FF702456", + "comment": "Прозрачный цвет обводки предупреждение на темном фоне" + }, + "outlineTransparentNegative": { + "value": "[general.red.400][-0.72]", + "comment": "Прозрачный цвет обводки предупреждение на темном фоне" + }, + "outlineTransparentNegativeHover": { + "value": "#FF3D51FF", + "comment": "Прозрачный цвет обводки предупреждение на темном фоне" + }, + "outlineTransparentNegativeActive": { + "value": "#FF3D5156", + "comment": "Прозрачный цвет обводки предупреждение на темном фоне" + }, + "outlineTransparentInfoHover": { + "value": "#3F82FDFF", + "comment": "Прозрачный цвет обводки информация на темном фоне" + }, + "outlineTransparentInfoActive": { + "value": "#3F82FD56", + "comment": "Прозрачный цвет обводки информация на темном фоне" + }, + "outlineSolidPrimary": { + "value": "#1B1B1B", + "comment": "Основной непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidSecondary": { + "value": "#393939", + "comment": "Вторичный непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidTertiary": { + "value": "[general.gray.700]", + "comment": "Третичный непрозрачный цвет обводки на темном фоне" + }, + "outlineSolidDefault": { + "value": "[general.gray.50]", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на темном фоне" + }, + "outlineTransparentPrimary": { + "value": "rgba(255,255,255,0.05)", + "comment": "Основной прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentSecondary": { + "value": "rgba(255,255,255,0.20)", + "comment": "Вторичный прозрачный цвет обводки на темном фоне" + }, + "outlineTransparentTertiary": { + "value": "rgba(255,255,255,0.40)", + "comment": "Третичный прозрачный цвет обводки на темном фоне" + }, + "outlineAccent": { + "value": "[general.electricBlue.500]", + "comment": "Акцентный цвет обводки на темном фоне" + }, + "outlineAccentMinor": { + "value": "[general.electricBlue.800]", + "comment": "Акцентный минорный непрозрачный цвет обводки на темном фоне" + }, + "outlineTransparentAccent": { + "value": "rgba(63,129,253,0.28)", + "comment": "Прозрачный акцентный цвет обводки на темном фоне" + }, + "outlineInfo": { + "value": "[general.electricBlue.500]", + "comment": "Цвет обводки информация на темном фоне" + }, + "outlineInfoMinor": { + "value": "[general.electricBlue.800]", + "comment": "Минорный цвет обводки информация на темном фоне" + }, + "outlineTransparentInfo": { + "value": "rgba(63,129,253,0.28)", + "comment": "Прозрачный цвет обводки информация на темном фоне" + } + }, + "onLight": { + "outlineSolidPrimaryHover": { + "value": "#FFFFFFFF", + "comment": "Основной непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidPrimaryActive": { + "value": "#B3B3B3FF", + "comment": "Основной непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Вторичный непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidSecondaryActive": { + "value": "#9E9E9EFF", + "comment": "Вторичный непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Третичный непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidTertiaryActive": { + "value": "#595959FF", + "comment": "Третичный непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidDefaultHover": { + "value": "#595959FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне" + }, + "outlineSolidDefaultActive": { + "value": "#303030FF", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне" + }, + "outlineTransparentPrimaryHover": { + "value": "#080808FF", + "comment": "Основной прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentPrimaryActive": { + "value": "#0808080F", + "comment": "Основной прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentSecondaryHover": { + "value": "#080808FF", + "comment": "Вторичный прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentSecondaryActive": { + "value": "#0808083D", + "comment": "Вторичный прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentTertiaryHover": { + "value": "#080808FF", + "comment": "Третичный прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentTertiaryActive": { + "value": "#080808AB", + "comment": "Третичный прозрачный цвет обводки на светлом фоне" + }, + "outlineClear": { + "value": "#FFFFFF00", + "comment": "Бесцветная обводка на светлом фоне", + "enabled": false + }, + "outlineClearHover": { + "value": "#FFFFFFFF", + "comment": "Бесцветная обводка на светлом фоне", + "enabled": false + }, + "outlineClearActive": { + "value": "#FFFFFFFF", + "comment": "Бесцветная обводка на светлом фоне", + "enabled": false + }, + "outlineAccentHover": { + "value": "#528DFAFF", + "comment": "Акцентный цвет обводки на светлом фоне" + }, + "outlineAccentActive": { + "value": "#075AF2FF", + "comment": "Акцентный цвет обводки на светлом фоне" + }, + "outlineAccentGradient": { + "value": "#FFFFFF", + "comment": "Акцентный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineAccentGradientActive": { + "value": "#CCCCCCFF", + "comment": "Акцентный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineAccentMinorHover": { + "value": "#B4CEFDFF", + "comment": "Акцентный минорный непрозрачный цвет обводки на светлом фоне" + }, + "outlineAccentMinorActive": { + "value": "#6599FBFF", + "comment": "Акцентный минорный непрозрачный цвет обводки на светлом фоне" + }, + "outlineAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Акцентный минорный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Акцентный минорный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineAccentMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Акцентный минорный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineTransparentAccentHover": { + "value": "#2A72F8FF", + "comment": "Прозрачный акцентный цвет обводки на светлом фоне" + }, + "outlineTransparentAccentActive": { + "value": "#2A72F83D", + "comment": "Прозрачный акцентный цвет обводки на светлом фоне" + }, + "outlineTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineTransparentAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlineTransparentAccentGradientActive": { + "value": "#CCCCCCFF", + "comment": "Прозрачный акцентный цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePromo": { + "value": "#FFFFFF", + "comment": "Промо цвет обводки на светлом фоне", + "enabled": false + }, + "outlinePromoHover": { + "value": "#FFFFFFFF", + "comment": "Промо цвет обводки на светлом фоне", + "enabled": false + }, + "outlinePromoActive": { + "value": "#CCCCCCFF", + "comment": "Промо цвет обводки на светлом фоне", + "enabled": false + }, + "outlinePromoGradient": { + "value": "#FFFFFF", + "comment": "Промо цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Промо цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePromoGradientActive": { + "value": "#CCCCCCFF", + "comment": "Промо цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePromoMinor": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет обводки на светлом фоне", + "enabled": false + }, + "outlinePromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо цвет обводки на светлом фоне", + "enabled": false + }, + "outlinePromoMinorActive": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет обводки на светлом фоне", + "enabled": false + }, + "outlinePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Минорный промо цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Минорный промо цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePromoMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Минорный промо цвет обводки с градиентом на светлом фоне", + "enabled": false + }, + "outlinePositiveHover": { + "value": "#1FC13DFF", + "comment": "Цвет обводки успех на светлом фоне" + }, + "outlinePositiveActive": { + "value": "#147B27FF", + "comment": "Цвет обводки успех на светлом фоне" + }, + "outlineWarningHover": { + "value": "#FB782DFF", + "comment": "Цвет обводки предупреждение на светлом фоне" + }, + "outlineWarningActive": { + "value": "#D25004FF", + "comment": "Цвет обводки предупреждение на светлом фоне" + }, + "outlineNegative": { + "value": "[general.red.600]", + "comment": "Цвет обводки ошибка на светлом фоне" + }, + "outlineNegativeHover": { + "value": "#F54254FF", + "comment": "Цвет обводки ошибка на светлом фоне" + }, + "outlineNegativeActive": { + "value": "#DA0B20FF", + "comment": "Цвет обводки ошибка на светлом фоне" + }, + "outlineInfoHover": { + "value": "#528DFAFF", + "comment": "Цвет обводки информация на светлом фоне" + }, + "outlineInfoActive": { + "value": "#075AF2FF", + "comment": "Цвет обводки информация на светлом фоне" + }, + "outlinePositiveMinor": { + "value": "[general.green.300]", + "comment": "Минорный цвет обводки успех на светлом фоне" + }, + "outlinePositiveMinorHover": { + "value": "#47DC62FF", + "comment": "Минорный цвет обводки успех на светлом фоне" + }, + "outlinePositiveMinorActive": { + "value": "#21B03CFF", + "comment": "Минорный цвет обводки успех на светлом фоне" + }, + "outlineWarningMinor": { + "value": "[general.orange.300]", + "comment": "Минорный цвет обводки предупреждение на светлом фоне" + }, + "outlineWarningMinorHover": { + "value": "#FDB790FF", + "comment": "Минорный цвет обводки предупреждение на светлом фоне" + }, + "outlineWarningMinorActive": { + "value": "#FC8240FF", + "comment": "Минорный цвет обводки предупреждение на светлом фоне" + }, + "outlineNegativeMinor": { + "value": "[general.red.300]", + "comment": "Минорный цвет обводки ошибка на светлом фоне" + }, + "outlineNegativeMinorHover": { + "value": "#FFB8BFFF", + "comment": "Минорный цвет обводки ошибка на светлом фоне" + }, + "outlineNegativeMinorActive": { + "value": "#FF6675FF", + "comment": "Минорный цвет обводки ошибка на светлом фоне" + }, + "outlineInfoMinorHover": { + "value": "#B4CEFDFF", + "comment": "Минорный цвет обводки информация на светлом фоне" + }, + "outlineInfoMinorActive": { + "value": "#6599FBFF", + "comment": "Минорный цвет обводки информация на светлом фоне" + }, + "outlineTransparentPositiveHover": { + "value": "#1A9E32FF", + "comment": "Прозрачный цвет обводки успех на светлом фоне" + }, + "outlineTransparentPositiveActive": { + "value": "#1A9E323D", + "comment": "Прозрачный цвет обводки успех на светлом фоне" + }, + "outlineTransparentWarningHover": { + "value": "#FA5F05FF", + "comment": "Прозрачный цвет обводки предупреждение на светлом фоне" + }, + "outlineTransparentWarningActive": { + "value": "#FA5F053D", + "comment": "Прозрачный цвет обводки предупреждение на светлом фоне" + }, + "outlineTransparentNegative": { + "value": "[general.red.600][-0.80]", + "comment": "Прозрачный цвет обводки предупреждение на светлом фоне" + }, + "outlineTransparentNegativeHover": { + "value": "#F31B31FF", + "comment": "Прозрачный цвет обводки предупреждение на светлом фоне" + }, + "outlineTransparentNegativeActive": { + "value": "#F31B313D", + "comment": "Прозрачный цвет обводки предупреждение на светлом фоне" + }, + "outlineTransparentInfoHover": { + "value": "#2A72F8FF", + "comment": "Прозрачный цвет обводки информация на светлом фоне" + }, + "outlineTransparentInfoActive": { + "value": "#2A72F83D", + "comment": "Прозрачный цвет обводки информация на светлом фоне" + }, + "outlineSolidPrimary": { + "value": "#E0E0E0", + "comment": "Основной непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidSecondary": { + "value": "[general.gray.250]", + "comment": "Вторичный непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidTertiary": { + "value": "[general.gray.700]", + "comment": "Третичный непрозрачный цвет обводки на светлом фоне" + }, + "outlineSolidDefault": { + "value": "[general.gray.1000]", + "comment": "Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне" + }, + "outlineTransparentPrimary": { + "value": "rgba(8,8,8,0.05)", + "comment": "Основной прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentSecondary": { + "value": "rgba(8,8,8,0.20)", + "comment": "Вторичный прозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentTertiary": { + "value": "rgba(8,8,8,0.56)", + "comment": "Третичный прозрачный цвет обводки на светлом фоне" + }, + "outlineAccent": { + "value": "[general.electricBlue.600]", + "comment": "Акцентный цвет обводки на светлом фоне" + }, + "outlineAccentMinor": { + "value": "[general.electricBlue.300]", + "comment": "Акцентный минорный непрозрачный цвет обводки на светлом фоне" + }, + "outlineTransparentAccent": { + "value": "rgba(42,114,248,0.20)", + "comment": "Прозрачный акцентный цвет обводки на светлом фоне" + }, + "outlinePositive": { + "value": "[general.green.500]", + "comment": "Цвет обводки успех на светлом фоне" + }, + "outlineWarning": { + "value": "[general.orange.500]", + "comment": "Цвет обводки предупреждение на светлом фоне" + }, + "outlineInfo": { + "value": "[general.electricBlue.600]", + "comment": "Цвет обводки информация на светлом фоне" + }, + "outlineInfoMinor": { + "value": "[general.electricBlue.300]", + "comment": "Минорный цвет обводки информация на светлом фоне" + }, + "outlineTransparentPositive": { + "value": "rgba(26,158,50,0.20)", + "comment": "Прозрачный цвет обводки успех на светлом фоне" + }, + "outlineTransparentWarning": { + "value": "rgba(250,95,5,0.20)", + "comment": "Прозрачный цвет обводки предупреждение на светлом фоне" + }, + "outlineTransparentInfo": { + "value": "rgba(42,114,248,0.20)", + "comment": "Прозрачный цвет обводки информация на светлом фоне" + } + }, + "inverse": { + "outlineSolidPrimaryHover": { + "value": "#6E6E6EFF", + "comment": "Инвертированный основной непрозрачный цвет обводки" + }, + "outlineSolidPrimaryActive": { + "value": "#454545FF", + "comment": "Инвертированный основной непрозрачный цвет обводки" + }, + "outlineSolidSecondaryHover": { + "value": "#8A8A8AFF", + "comment": "Инвертированный вторичный непрозрачный цвет обводки" + }, + "outlineSolidSecondaryActive": { + "value": "#616161FF", + "comment": "Инвертированный вторичный непрозрачный цвет обводки" + }, + "outlineSolidTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный третичный непрозрачный цвет обводки" + }, + "outlineSolidTertiaryActive": { + "value": "#595959FF", + "comment": "Инвертированный третичный непрозрачный цвет обводки" + }, + "outlineSolidDefaultHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный непрозрачный фон поверхности/контрола по умолчанию" + }, + "outlineSolidDefaultActive": { + "value": "#C7C7C7FF", + "comment": "Инвертированный непрозрачный фон поверхности/контрола по умолчанию" + }, + "outlineTransparentPrimaryHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный основной прозрачный цвет обводки" + }, + "outlineTransparentPrimaryActive": { + "value": "#FFFFFF0F", + "comment": "Инвертированный основной прозрачный цвет обводки" + }, + "outlineTransparentSecondaryHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный вторичный прозрачный цвет обводки" + }, + "outlineTransparentSecondaryActive": { + "value": "#FFFFFF3D", + "comment": "Инвертированный вторичный прозрачный цвет обводки" + }, + "outlineTransparentTertiaryHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный третичный прозрачный цвет обводки" + }, + "outlineTransparentTertiaryActive": { + "value": "#FFFFFF7A", + "comment": "Инвертированный третичный прозрачный цвет обводки" + }, + "outlineClear": { + "value": "#FFFFFF00", + "comment": "Инвертированная бесцветная обводка", + "enabled": false + }, + "outlineClearHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированная бесцветная обводка", + "enabled": false + }, + "outlineClearActive": { + "value": "#FFFFFFFF", + "comment": "Инвертированная бесцветная обводка", + "enabled": false + }, + "outlineAccentHover": { + "value": "#689CFDFF", + "comment": "Инвертированный акцентный цвет обводки" + }, + "outlineAccentActive": { + "value": "#1767FDFF", + "comment": "Инвертированный акцентный цвет обводки" + }, + "outlineAccentGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentGradientActive": { + "value": "#CCCCCCFF", + "comment": "Инвертированный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentMinorHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный минорный непрозрачный цвет обводки" + }, + "outlineAccentMinorActive": { + "value": "#113B88FF", + "comment": "Инвертированный акцентный минорный непрозрачный цвет обводки" + }, + "outlineAccentMinorGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный акцентный минорный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный акцентный минорный цвет обводки с градиентом", + "enabled": false + }, + "outlineAccentMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Инвертированный акцентный минорный цвет обводки с градиентом", + "enabled": false + }, + "outlineTransparentAccentHover": { + "value": "#3F82FDFF", + "comment": "Прозрачный инвертированный акцентный цвет обводки" + }, + "outlineTransparentAccentActive": { + "value": "#3F82FD56", + "comment": "Прозрачный инвертированный акцентный цвет обводки" + }, + "outlineTransparentAccentGradient": { + "value": "#FFFFFF", + "comment": "Прозрачный инвертированный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineTransparentAccentGradientHover": { + "value": "#FFFFFFFF", + "comment": "Прозрачный инвертированный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlineTransparentAccentGradientActive": { + "value": "#CCCCCCFF", + "comment": "Прозрачный инвертированный акцентный цвет обводки с градиентом", + "enabled": false + }, + "outlinePromo": { + "value": "#FFFFFF", + "comment": "Инвертированный промо цвет обводки", + "enabled": false + }, + "outlinePromoHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный промо цвет обводки", + "enabled": false + }, + "outlinePromoActive": { + "value": "#CCCCCCFF", + "comment": "Инвертированный промо цвет обводки", + "enabled": false + }, + "outlinePromoGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoGradientActive": { + "value": "#CCCCCCFF", + "comment": "Инвертированный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoMinor": { + "value": "#FFFFFF", + "comment": "Инвертированный минорный промо цвет обводки", + "enabled": false + }, + "outlinePromoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный промо цвет обводки", + "enabled": false + }, + "outlinePromoMinorActive": { + "value": "#CCCCCCFF", + "comment": "Инвертированный минорный промо цвет обводки", + "enabled": false + }, + "outlinePromoMinorGradient": { + "value": "#FFFFFF", + "comment": "Инвертированный минорный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoMinorGradientHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePromoMinorGradientActive": { + "value": "#CCCCCCFF", + "comment": "Инвертированный минорный промо цвет обводки с градиентом", + "enabled": false + }, + "outlinePositive": { + "value": "[general.green.400]", + "comment": "Инвертированный цвет обводки успех" + }, + "outlinePositiveHover": { + "value": "#2BD44AFF", + "comment": "Инвертированный цвет обводки успех" + }, + "outlinePositiveActive": { + "value": "#1D9032FF", + "comment": "Инвертированный цвет обводки успех" + }, + "outlineWarning": { + "value": "[general.orange.400]", + "comment": "Инвертированный цвет обводки предупреждение" + }, + "outlineWarningHover": { + "value": "#FF8B4DFF", + "comment": "Инвертированный цвет обводки предупреждение" + }, + "outlineWarningActive": { + "value": "#FA5700FF", + "comment": "Инвертированный цвет обводки предупреждение" + }, + "outlineNegative": { + "value": "[general.red.400]", + "comment": "Инвертированный цвет обводки ошибка" + }, + "outlineNegativeHover": { + "value": "#FF6675FF", + "comment": "Инвертированный цвет обводки ошибка" + }, + "outlineNegativeActive": { + "value": "#FF142CFF", + "comment": "Инвертированный цвет обводки ошибка" + }, + "outlineInfoHover": { + "value": "#7AA9FFFF", + "comment": "Инвертированный цвет обводки информация" + }, + "outlineInfoActive": { + "value": "#2974FFFF", + "comment": "Инвертированный цвет обводки информация" + }, + "outlinePositiveMinor": { + "value": "[general.green.800]", + "comment": "Инвертированный минорный цвет обводки успех" + }, + "outlinePositiveMinorHover": { + "value": "#11A72CFF", + "comment": "Инвертированный минорный цвет обводки успех" + }, + "outlinePositiveMinorActive": { + "value": "#0D8222FF", + "comment": "Инвертированный минорный цвет обводки успех" + }, + "outlineWarningMinor": { + "value": "[general.orange.800]", + "comment": "Инвертированный минорный цвет обводки предупреждение" + }, + "outlineWarningMinorHover": { + "value": "#CD5713FF", + "comment": "Инвертированный минорный цвет обводки предупреждение" + }, + "outlineWarningMinorActive": { + "value": "#A84710FF", + "comment": "Инвертированный минорный цвет обводки предупреждение" + }, + "outlineNegativeMinor": { + "value": "[general.red.800]", + "comment": "Инвертированный минорный цвет обводки ошибка" + }, + "outlineNegativeMinorHover": { + "value": "#C2192AFF", + "comment": "Инвертированный минорный цвет обводки ошибка" + }, + "outlineNegativeMinorActive": { + "value": "#7A101AFF", + "comment": "Инвертированный минорный цвет обводки ошибка" + }, + "outlineInfoMinorHover": { + "value": "#FFFFFFFF", + "comment": "Инвертированный минорный цвет обводки информация" + }, + "outlineInfoMinorActive": { + "value": "#113B88FF", + "comment": "Инвертированный минорный цвет обводки информация" + }, + "outlineTransparentPositive": { + "value": "[general.green.400][-0.72]", + "comment": "Прозрачный инвертированный цвет обводки успех" + }, + "outlineTransparentPositiveHover": { + "value": "#24B23EFF", + "comment": "Прозрачный инвертированный цвет обводки успех" + }, + "outlineTransparentPositiveActive": { + "value": "#24B23E56", + "comment": "Прозрачный инвертированный цвет обводки успех" + }, + "outlineTransparentWarning": { + "value": "[general.orange.400][-0.72]", + "comment": "Прозрачный инвертированный цвет обводки предупреждение" + }, + "outlineTransparentWarningHover": { + "value": "#FF7024FF", + "comment": "Прозрачный инвертированный цвет обводки предупреждение" + }, + "outlineTransparentWarningActive": { + "value": "#FF702456", + "comment": "Прозрачный инвертированный цвет обводки предупреждение" + }, + "outlineTransparentNegative": { + "value": "[general.red.400][-0.72]", + "comment": "Прозрачный инвертированный цвет обводки предупреждение" + }, + "outlineTransparentNegativeHover": { + "value": "#FF3D51FF", + "comment": "Прозрачный инвертированный цвет обводки предупреждение" + }, + "outlineTransparentNegativeActive": { + "value": "#FF3D5156", + "comment": "Прозрачный инвертированный цвет обводки предупреждение" + }, + "outlineTransparentInfoHover": { + "value": "#3F82FDFF", + "comment": "Прозрачный инвертированный цвет обводки информация" + }, + "outlineTransparentInfoActive": { + "value": "#3F82FD56", + "comment": "Прозрачный инвертированный цвет обводки информация" + }, + "outlineSolidPrimary": { + "value": "#1B1B1B", + "comment": "Инвертированный основной непрозрачный цвет обводки" + }, + "outlineSolidSecondary": { + "value": "#393939", + "comment": "Инвертированный вторичный непрозрачный цвет обводки" + }, + "outlineSolidTertiary": { + "value": "[general.gray.700]", + "comment": "Инвертированный третичный непрозрачный цвет обводки" + }, + "outlineSolidDefault": { + "value": "[general.gray.50]", + "comment": "Инвертированный непрозрачный фон поверхности/контрола по умолчанию" + }, + "outlineTransparentPrimary": { + "value": "rgba(255,255,255,0.05)", + "comment": "Инвертированный основной прозрачный цвет обводки" + }, + "outlineTransparentSecondary": { + "value": "rgba(255,255,255,0.20)", + "comment": "Инвертированный вторичный прозрачный цвет обводки" + }, + "outlineTransparentTertiary": { + "value": "rgba(255,255,255,0.40)", + "comment": "Инвертированный третичный прозрачный цвет обводки" + }, + "outlineAccent": { + "value": "[general.electricBlue.500]", + "comment": "Инвертированный акцентный цвет обводки" + }, + "outlineAccentMinor": { + "value": "[general.electricBlue.800]", + "comment": "Инвертированный акцентный минорный непрозрачный цвет обводки" + }, + "outlineTransparentAccent": { + "value": "rgba(63,129,253,0.28)", + "comment": "Прозрачный инвертированный акцентный цвет обводки" + }, + "outlineInfo": { + "value": "[general.electricBlue.400]", + "comment": "Инвертированный цвет обводки информация" + }, + "outlineInfoMinor": { + "value": "[general.electricBlue.800]", + "comment": "Инвертированный минорный цвет обводки информация" + }, + "outlineTransparentInfo": { + "value": "rgba(63,129,253,0.28)", + "comment": "Прозрачный инвертированный цвет обводки информация" + } + } + } + } +} diff --git a/packages/plasma-tokens/package-lock.json b/packages/plasma-tokens/package-lock.json index e71143721e..fda07fad37 100644 --- a/packages/plasma-tokens/package-lock.json +++ b/packages/plasma-tokens/package-lock.json @@ -1,12 +1,12 @@ { "name": "@salutejs/plasma-tokens", - "version": "1.105.0", + "version": "1.106.0-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@salutejs/plasma-tokens", - "version": "1.105.0", + "version": "1.106.0-dev.0", "license": "MIT", "devDependencies": { "@diez/web-sdk-common": "10.6.0", diff --git a/packages/plasma-tokens/package.json b/packages/plasma-tokens/package.json index 8b8d9a7cae..f6a0610348 100644 --- a/packages/plasma-tokens/package.json +++ b/packages/plasma-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@salutejs/plasma-tokens", - "version": "1.105.0", + "version": "1.106.0-dev.0", "description": "plasma-tokens package", "author": "Salute Frontend Team ", "license": "MIT", @@ -58,4 +58,4 @@ "Vasiliy Loginevskiy" ], "sideEffects": false -} +} \ No newline at end of file diff --git a/packages/plasma-tokens/src/brands/plasma_giga/index.ts b/packages/plasma-tokens/src/brands/plasma_giga/index.ts new file mode 100644 index 0000000000..755a943bfa --- /dev/null +++ b/packages/plasma-tokens/src/brands/plasma_giga/index.ts @@ -0,0 +1,2615 @@ +// Generated by robots, do not change this manually! + +/** Основной цвет текста */ +export const textPrimary = 'var(--text-primary, rgba(255, 255, 255, 0.96))'; + +/** Основной цвет текста */ +export const textPrimaryHover = 'var(--text-primary-hover, #FFFFFF93)'; + +/** Основной цвет текста */ +export const textPrimaryActive = 'var(--text-primary-active, #FFFFFFC4)'; + +/** Основной цвет текста */ +export const textPrimaryBrightness = 'var(--text-primary-brightness, #FFFFFFF5)'; + +/** Вторичный цвет текста */ +export const textSecondary = 'var(--text-secondary, rgba(255, 255, 255, 0.56))'; + +/** Вторичный цвет текста */ +export const textSecondaryHover = 'var(--text-secondary-hover, #FFFFFFFF)'; + +/** Вторичный цвет текста */ +export const textSecondaryActive = 'var(--text-secondary-active, #FFFFFFAB)'; + +/** Третичный цвет текста */ +export const textTertiary = 'var(--text-tertiary, rgba(255, 255, 255, 0.28))'; + +/** Третичный цвет текста */ +export const textTertiaryHover = 'var(--text-tertiary-hover, #FFFFFFFF)'; + +/** Третичный цвет текста */ +export const textTertiaryActive = 'var(--text-tertiary-active, #FFFFFF56)'; + +/** Сплошной наборный текст */ +export const textParagraph = 'var(--text-paragraph, rgba(255, 255, 255, 0.8))'; + +/** Сплошной наборный текст */ +export const textParagraphHover = 'var(--text-paragraph-hover, #FFFFFF7A)'; + +/** Сплошной наборный текст */ +export const textParagraphActive = 'var(--text-paragraph-active, #FFFFFFA3)'; + +/** Акцентный цвет */ +export const textAccentHover = 'var(--text-accent-hover, #90B6FEFF)'; + +/** Акцентный цвет */ +export const textAccentActive = 'var(--text-accent-active, #216EFDFF)'; + +/** Акцентный цвет с градиентом */ +export const textAccentGradientHover = 'var(--text-accent-gradient-hover, #CCCCCCFF)'; + +/** Акцентный цвет с градиентом */ +export const textAccentGradientActive = 'var(--text-accent-gradient-active, #E6E6E6FF)'; + +/** Акцентный минорный цвет */ +export const textAccentMinorHover = 'var(--text-accent-minor-hover, #FFFFFFFF)'; + +/** Акцентный минорный цвет */ +export const textAccentMinorActive = 'var(--text-accent-minor-active, #1C62E3FF)'; + +/** Цвет успеха */ +export const textPositiveHover = 'var(--text-positive-hover, #1EB83AFF)'; + +/** Цвет успеха */ +export const textPositiveActive = 'var(--text-positive-active, #15842AFF)'; + +/** Цвет предупреждения */ +export const textWarningHover = 'var(--text-warning-hover, #FB7223FF)'; + +/** Цвет предупреждения */ +export const textWarningActive = 'var(--text-warning-active, #DC5304FF)'; + +/** Цвет ошибки */ +export const textNegativeHover = 'var(--text-negative-hover, #FF475AFF)'; + +/** Цвет ошибки */ +export const textNegativeActive = 'var(--text-negative-active, #FF0A23FF)'; + +/** Цвет информации */ +export const textInfoHover = 'var(--text-info-hover, #90B6FEFF)'; + +/** Цвет информации */ +export const textInfoActive = 'var(--text-info-active, #216EFDFF)'; + +/** Минорный цвет успеха */ +export const textPositiveMinorHover = 'var(--text-positive-minor-hover, #0F9527FF)'; + +/** Минорный цвет успеха */ +export const textPositiveMinorActive = 'var(--text-positive-minor-active, #0C7920FF)'; + +/** Минорный цвет предупреждения */ +export const textWarningMinorHover = 'var(--text-warning-minor-hover, #BB4F11FF)'; + +/** Минорный цвет предупреждения */ +export const textWarningMinorActive = 'var(--text-warning-minor-active, #9F440FFF)'; + +/** Минорный цвет ошибки */ +export const textNegativeMinorHover = 'var(--text-negative-minor-hover, #B91828FF)'; + +/** Минорный цвет ошибки */ +export const textNegativeMinorActive = 'var(--text-negative-minor-active, #83111CFF)'; + +/** Минорный цвет информации */ +export const textInfoMinorHover = 'var(--text-info-minor-hover, #FFFFFFFF)'; + +/** Минорный цвет информации */ +export const textInfoMinorActive = 'var(--text-info-minor-active, #1C62E3FF)'; + +/** Акцентный цвет */ +export const textAccent = 'var(--text-accent, #3F81FD)'; + +/** Акцентный цвет с градиентом */ +export const textAccentGradient = 'var(--text-accent-gradient, linear-gradient(90deg, #5E94FF 0%, #43DBFA 100%))'; + +/** Акцентный минорный цвет */ +export const textAccentMinor = 'var(--text-accent-minor, #1549AB)'; + +/** Цвет успеха */ +export const textPositive = 'var(--text-positive, #1A9E32)'; + +/** Цвет предупреждения */ +export const textWarning = 'var(--text-warning, #FA5F05)'; + +/** Цвет ошибки */ +export const textNegative = 'var(--text-negative, #FF293E)'; + +/** Минорный цвет успеха */ +export const textPositiveMinor = 'var(--text-positive-minor, #095C18)'; + +/** Минорный цвет предупреждения */ +export const textWarningMinor = 'var(--text-warning-minor, #85380C)'; + +/** Минорный цвет ошибки */ +export const textNegativeMinor = 'var(--text-negative-minor, #9C1422)'; + +/** Минорный цвет информации */ +export const textInfoMinor = 'var(--text-info-minor, #1549AB)'; + +/** Цвет информации */ +export const textInfo = 'var(--text-info, #3F81FD)'; + +/** Основной цвет текста на темном фоне */ +export const onDarkTextPrimary = 'var(--on-dark-text-primary, rgba(255, 255, 255, 0.96))'; + +/** Основной цвет текста на темном фоне */ +export const onDarkTextPrimaryHover = 'var(--on-dark-text-primary-hover, #FFFFFF93)'; + +/** Основной цвет текста на темном фоне */ +export const onDarkTextPrimaryActive = 'var(--on-dark-text-primary-active, #FFFFFFC4)'; + +/** Основной цвет текста на темном фоне */ +export const onDarkTextPrimaryBrightness = 'var(--on-dark-text-primary-brightness, #FFFFFFF5)'; + +/** Вторичный цвет текста на темном фоне */ +export const onDarkTextSecondary = 'var(--on-dark-text-secondary, rgba(255, 255, 255, 0.56))'; + +/** Вторичный цвет текста на темном фоне */ +export const onDarkTextSecondaryHover = 'var(--on-dark-text-secondary-hover, #FFFFFFFF)'; + +/** Вторичный цвет текста на темном фоне */ +export const onDarkTextSecondaryActive = 'var(--on-dark-text-secondary-active, #FFFFFFAB)'; + +/** Третичный цвет текста на темном фоне */ +export const onDarkTextTertiary = 'var(--on-dark-text-tertiary, rgba(255, 255, 255, 0.28))'; + +/** Третичный цвет текста на темном фоне */ +export const onDarkTextTertiaryHover = 'var(--on-dark-text-tertiary-hover, #FFFFFFFF)'; + +/** Третичный цвет текста на темном фоне */ +export const onDarkTextTertiaryActive = 'var(--on-dark-text-tertiary-active, #FFFFFF56)'; + +/** Сплошной наборный текст на темном фоне */ +export const onDarkTextParagraph = 'var(--on-dark-text-paragraph, rgba(255, 255, 255, 0.8))'; + +/** Сплошной наборный текст на темном фоне */ +export const onDarkTextParagraphHover = 'var(--on-dark-text-paragraph-hover, #FFFFFF7A)'; + +/** Сплошной наборный текст на темном фоне */ +export const onDarkTextParagraphActive = 'var(--on-dark-text-paragraph-active, #FFFFFFA3)'; + +/** Акцентный цвет на темном фоне */ +export const onDarkTextAccentHover = 'var(--on-dark-text-accent-hover, #90B6FEFF)'; + +/** Акцентный цвет на темном фоне */ +export const onDarkTextAccentActive = 'var(--on-dark-text-accent-active, #216EFDFF)'; + +/** Акцентный цвет с градиентом на темном фоне */ +export const onDarkTextAccentGradientHover = 'var(--on-dark-text-accent-gradient-hover, #CCCCCCFF)'; + +/** Акцентный цвет с градиентом на темном фоне */ +export const onDarkTextAccentGradientActive = 'var(--on-dark-text-accent-gradient-active, #E6E6E6FF)'; + +/** Акцентный минорный цвет на темном фоне */ +export const onDarkTextAccentMinorHover = 'var(--on-dark-text-accent-minor-hover, #FFFFFFFF)'; + +/** Акцентный минорный цвет на темном фоне */ +export const onDarkTextAccentMinorActive = 'var(--on-dark-text-accent-minor-active, #1C62E3FF)'; + +/** Цвет успеха на темном фоне */ +export const onDarkTextPositiveHover = 'var(--on-dark-text-positive-hover, #1EB83AFF)'; + +/** Цвет успеха на темном фоне */ +export const onDarkTextPositiveActive = 'var(--on-dark-text-positive-active, #15842AFF)'; + +/** Цвет предупреждения на темном фоне */ +export const onDarkTextWarningHover = 'var(--on-dark-text-warning-hover, #FB7223FF)'; + +/** Цвет предупреждения на темном фоне */ +export const onDarkTextWarningActive = 'var(--on-dark-text-warning-active, #DC5304FF)'; + +/** Цвет ошибки на темном фоне */ +export const onDarkTextNegativeHover = 'var(--on-dark-text-negative-hover, #FF475AFF)'; + +/** Цвет ошибки на темном фоне */ +export const onDarkTextNegativeActive = 'var(--on-dark-text-negative-active, #FF0A23FF)'; + +/** Цвет информации на темном фоне */ +export const onDarkTextInfoHover = 'var(--on-dark-text-info-hover, #90B6FEFF)'; + +/** Цвет информации на темном фоне */ +export const onDarkTextInfoActive = 'var(--on-dark-text-info-active, #216EFDFF)'; + +/** Минорный цвет успеха на темном фоне */ +export const onDarkTextPositiveMinorHover = 'var(--on-dark-text-positive-minor-hover, #0F9527FF)'; + +/** Минорный цвет успеха на темном фоне */ +export const onDarkTextPositiveMinorActive = 'var(--on-dark-text-positive-minor-active, #0C7920FF)'; + +/** Минорный цвет предупреждения на темном фоне */ +export const onDarkTextWarningMinorHover = 'var(--on-dark-text-warning-minor-hover, #BB4F11FF)'; + +/** Минорный цвет предупреждения на темном фоне */ +export const onDarkTextWarningMinorActive = 'var(--on-dark-text-warning-minor-active, #9F440FFF)'; + +/** Минорный цвет ошибки на темном фоне */ +export const onDarkTextNegativeMinorHover = 'var(--on-dark-text-negative-minor-hover, #B91828FF)'; + +/** Минорный цвет ошибки на темном фоне */ +export const onDarkTextNegativeMinorActive = 'var(--on-dark-text-negative-minor-active, #83111CFF)'; + +/** Минорный цвет информации на темном фоне */ +export const onDarkTextInfoMinorHover = 'var(--on-dark-text-info-minor-hover, #FFFFFFFF)'; + +/** Минорный цвет информации на темном фоне */ +export const onDarkTextInfoMinorActive = 'var(--on-dark-text-info-minor-active, #1C62E3FF)'; + +/** Акцентный цвет на темном фоне */ +export const onDarkTextAccent = 'var(--on-dark-text-accent, #3F81FD)'; + +/** Акцентный минорный цвет на темном фоне */ +export const onDarkTextAccentMinor = 'var(--on-dark-text-accent-minor, #1549AB)'; + +/** Акцентный цвет с градиентом на темном фоне */ +export const onDarkTextAccentGradient = + 'var(--on-dark-text-accent-gradient, linear-gradient(90deg, #5E94FF 0%, #43DBFA 100%))'; + +/** Цвет успеха на темном фоне */ +export const onDarkTextPositive = 'var(--on-dark-text-positive, #1A9E32)'; + +/** Цвет предупреждения на темном фоне */ +export const onDarkTextWarning = 'var(--on-dark-text-warning, #FA5F05)'; + +/** Цвет ошибки на темном фоне */ +export const onDarkTextNegative = 'var(--on-dark-text-negative, #FF293E)'; + +/** Цвет информации на темном фоне */ +export const onDarkTextInfo = 'var(--on-dark-text-info, #3F81FD)'; + +/** Минорный цвет успеха на темном фоне */ +export const onDarkTextPositiveMinor = 'var(--on-dark-text-positive-minor, #095C18)'; + +/** Минорный цвет предупреждения на темном фоне */ +export const onDarkTextWarningMinor = 'var(--on-dark-text-warning-minor, #85380C)'; + +/** Минорный цвет ошибки на темном фоне */ +export const onDarkTextNegativeMinor = 'var(--on-dark-text-negative-minor, #9C1422)'; + +/** Минорный цвет информации на темном фоне */ +export const onDarkTextInfoMinor = 'var(--on-dark-text-info-minor, #1549AB)'; + +/** Основной цвет текста на светлом фоне */ +export const onLightTextPrimaryHover = 'var(--on-light-text-primary-hover, #08080893)'; + +/** Основной цвет текста на светлом фоне */ +export const onLightTextPrimaryActive = 'var(--on-light-text-primary-active, #080808C4)'; + +/** Основной цвет текста на светлом фоне */ +export const onLightTextPrimaryBrightness = 'var(--on-light-text-primary-brightness, #080808F5)'; + +/** Вторичный цвет текста на светлом фоне */ +export const onLightTextSecondaryHover = 'var(--on-light-text-secondary-hover, #080808FF)'; + +/** Вторичный цвет текста на светлом фоне */ +export const onLightTextSecondaryActive = 'var(--on-light-text-secondary-active, #080808AB)'; + +/** Третичный цвет текста на светлом фоне */ +export const onLightTextTertiaryHover = 'var(--on-light-text-tertiary-hover, #080808FF)'; + +/** Третичный цвет текста на светлом фоне */ +export const onLightTextTertiaryActive = 'var(--on-light-text-tertiary-active, #08080856)'; + +/** Сплошной наборный текст на светлом фоне */ +export const onLightTextParagraphHover = 'var(--on-light-text-paragraph-hover, #0808087A)'; + +/** Сплошной наборный текст на светлом фоне */ +export const onLightTextParagraphActive = 'var(--on-light-text-paragraph-active, #080808A3)'; + +/** Акцентный цвет на светлом фоне */ +export const onLightTextAccentHover = 'var(--on-light-text-accent-hover, #79A7FBFF)'; + +/** Акцентный цвет на светлом фоне */ +export const onLightTextAccentActive = 'var(--on-light-text-accent-active, #0D5FF8FF)'; + +/** Акцентный цвет с градиентом на светлом фоне */ +export const onLightTextAccentGradientHover = 'var(--on-light-text-accent-gradient-hover, #CCCCCCFF)'; + +/** Акцентный цвет с градиентом на светлом фоне */ +export const onLightTextAccentGradientActive = 'var(--on-light-text-accent-gradient-active, #E6E6E6FF)'; + +/** Акцентный минорный цвет на светлом фоне */ +export const onLightTextAccentMinorHover = 'var(--on-light-text-accent-minor-hover, #DCE8FEFF)'; + +/** Акцентный минорный цвет на светлом фоне */ +export const onLightTextAccentMinorActive = 'var(--on-light-text-accent-minor-active, #6FA0FBFF)'; + +/** Цвет успеха на светлом фоне */ +export const onLightTextPositiveHover = 'var(--on-light-text-positive-hover, #1EB83AFF)'; + +/** Цвет успеха на светлом фоне */ +export const onLightTextPositiveActive = 'var(--on-light-text-positive-active, #15842AFF)'; + +/** Цвет предупреждения на светлом фоне */ +export const onLightTextWarningHover = 'var(--on-light-text-warning-hover, #FB7223FF)'; + +/** Цвет предупреждения на светлом фоне */ +export const onLightTextWarningActive = 'var(--on-light-text-warning-active, #DC5304FF)'; + +/** Цвет ошибки на светлом фоне */ +export const onLightTextNegativeHover = 'var(--on-light-text-negative-hover, #F5384BFF)'; + +/** Цвет ошибки на светлом фоне */ +export const onLightTextNegativeActive = 'var(--on-light-text-negative-active, #E40C22FF)'; + +/** Цвет информации на светлом фоне */ +export const onLightTextInfoHover = 'var(--on-light-text-info-hover, #79A7FBFF)'; + +/** Цвет информации на светлом фоне */ +export const onLightTextInfoActive = 'var(--on-light-text-info-active, #0D5FF8FF)'; + +/** Минорный цвет успеха на светлом фоне */ +export const onLightTextPositiveMinorHover = 'var(--on-light-text-positive-minor-hover, #3EDA5BFF)'; + +/** Минорный цвет успеха на светлом фоне */ +export const onLightTextPositiveMinorActive = 'var(--on-light-text-positive-minor-active, #23B83EFF)'; + +/** Минорный цвет предупреждения на светлом фоне */ +export const onLightTextWarningMinorHover = 'var(--on-light-text-warning-minor-hover, #FDB086FF)'; + +/** Минорный цвет предупреждения на светлом фоне */ +export const onLightTextWarningMinorActive = 'var(--on-light-text-warning-minor-active, #FC884AFF)'; + +/** Минорный цвет ошибки на светлом фоне */ +export const onLightTextNegativeMinorHover = 'var(--on-light-text-negative-minor-hover, #FFADB6FF)'; + +/** Минорный цвет ошибки на светлом фоне */ +export const onLightTextNegativeMinorActive = 'var(--on-light-text-negative-minor-active, #FF707EFF)'; + +/** Минорный цвет информации на светлом фоне */ +export const onLightTextInfoMinorHover = 'var(--on-light-text-info-minor-hover, #DCE8FEFF)'; + +/** Минорный цвет информации на светлом фоне */ +export const onLightTextInfoMinorActive = 'var(--on-light-text-info-minor-active, #6FA0FBFF)'; + +/** Акцентный цвет на светлом фоне */ +export const onLightTextAccent = 'var(--on-light-text-accent, #2A72F8)'; + +/** Акцентный минорный цвет на светлом фоне */ +export const onLightTextAccentMinor = 'var(--on-light-text-accent-minor, #8BB2FC)'; + +/** Акцентный цвет с градиентом на светлом фоне */ +export const onLightTextAccentGradient = + 'var(--on-light-text-accent-gradient, linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%))'; + +/** Цвет успеха на светлом фоне */ +export const onLightTextPositive = 'var(--on-light-text-positive, #1A9E32)'; + +/** Цвет предупреждения на светлом фоне */ +export const onLightTextWarning = 'var(--on-light-text-warning, #FA5F05)'; + +/** Цвет ошибки на светлом фоне */ +export const onLightTextNegative = 'var(--on-light-text-negative, #F31B31)'; + +/** Цвет информации на светлом фоне */ +export const onLightTextInfo = 'var(--on-light-text-info, #2A72F8)'; + +/** Минорный цвет успеха на светлом фоне */ +export const onLightTextPositiveMinor = 'var(--on-light-text-positive-minor, #28D247)'; + +/** Минорный цвет предупреждения на светлом фоне */ +export const onLightTextWarningMinor = 'var(--on-light-text-warning-minor, #FD9C68)'; + +/** Минорный цвет ошибки на светлом фоне */ +export const onLightTextNegativeMinor = 'var(--on-light-text-negative-minor, #FF8F9A)'; + +/** Минорный цвет информации на светлом фоне */ +export const onLightTextInfoMinor = 'var(--on-light-text-info-minor, #8BB2FC)'; + +/** Основной цвет текста на светлом фоне */ +export const onLightTextPrimary = 'var(--on-light-text-primary, rgba(8,8,8,0.96))'; + +/** Вторичный цвет текста на светлом фоне */ +export const onLightTextSecondary = 'var(--on-light-text-secondary, rgba(8,8,8,0.56))'; + +/** Третичный цвет текста на светлом фоне */ +export const onLightTextTertiary = 'var(--on-light-text-tertiary, rgba(8,8,8,0.28))'; + +/** Сплошной наборный текст на светлом фоне */ +export const onLightTextParagraph = 'var(--on-light-text-paragraph, rgba(8,8,8,0.80))'; + +/** Инвертированный основной цвет текста */ +export const inverseTextPrimaryHover = 'var(--inverse-text-primary-hover, #08080893)'; + +/** Инвертированный основной цвет текста */ +export const inverseTextPrimaryActive = 'var(--inverse-text-primary-active, #080808C4)'; + +/** Инвертированный основной цвет текста */ +export const inverseTextPrimaryBrightness = 'var(--inverse-text-primary-brightness, #080808F5)'; + +/** Инвертированный вторичный цвет текста */ +export const inverseTextSecondaryHover = 'var(--inverse-text-secondary-hover, #080808FF)'; + +/** Инвертированный вторичный цвет текста */ +export const inverseTextSecondaryActive = 'var(--inverse-text-secondary-active, #080808AB)'; + +/** Инвертированный третичный цвет текста */ +export const inverseTextTertiaryHover = 'var(--inverse-text-tertiary-hover, #080808FF)'; + +/** Инвертированный третичный цвет текста */ +export const inverseTextTertiaryActive = 'var(--inverse-text-tertiary-active, #08080856)'; + +/** Инвертированный сплошной наборный текст */ +export const inverseTextParagraphHover = 'var(--inverse-text-paragraph-hover, #0808087A)'; + +/** Инвертированный сплошной наборный текст */ +export const inverseTextParagraphActive = 'var(--inverse-text-paragraph-active, #080808A3)'; + +/** Инвертированный акцентный цвет */ +export const inverseTextAccentHover = 'var(--inverse-text-accent-hover, #79A7FBFF)'; + +/** Инвертированный акцентный цвет */ +export const inverseTextAccentActive = 'var(--inverse-text-accent-active, #0D5FF8FF)'; + +/** Инвертированный акцентный цвет с градиентом */ +export const inverseTextAccentGradientHover = 'var(--inverse-text-accent-gradient-hover, #CCCCCCFF)'; + +/** Инвертированный акцентный цвет с градиентом */ +export const inverseTextAccentGradientActive = 'var(--inverse-text-accent-gradient-active, #E6E6E6FF)'; + +/** Инвертированный минорный акцентный цвет */ +export const inverseTextAccentMinorHover = 'var(--inverse-text-accent-minor-hover, #DCE8FEFF)'; + +/** Инвертированный минорный акцентный цвет */ +export const inverseTextAccentMinorActive = 'var(--inverse-text-accent-minor-active, #6FA0FBFF)'; + +/** Инвертированный цвет успеха */ +export const inverseTextPositiveHover = 'var(--inverse-text-positive-hover, #1EB83AFF)'; + +/** Инвертированный цвет успеха */ +export const inverseTextPositiveActive = 'var(--inverse-text-positive-active, #15842AFF)'; + +/** Инвертированный цвет предупреждения */ +export const inverseTextWarningHover = 'var(--inverse-text-warning-hover, #FB7223FF)'; + +/** Инвертированный цвет предупреждения */ +export const inverseTextWarningActive = 'var(--inverse-text-warning-active, #DC5304FF)'; + +/** Инвертированный цвет ошибки */ +export const inverseTextNegativeHover = 'var(--inverse-text-negative-hover, #F5384BFF)'; + +/** Инвертированный цвет ошибки */ +export const inverseTextNegativeActive = 'var(--inverse-text-negative-active, #E40C22FF)'; + +/** Инвертированный цвет информации */ +export const inverseTextInfoHover = 'var(--inverse-text-info-hover, #79A7FBFF)'; + +/** Инвертированный цвет информации */ +export const inverseTextInfoActive = 'var(--inverse-text-info-active, #0D5FF8FF)'; + +/** Инвертированный минорный цвет успеха */ +export const inverseTextPositiveMinorHover = 'var(--inverse-text-positive-minor-hover, #3EDA5BFF)'; + +/** Инвертированный минорный цвет успеха */ +export const inverseTextPositiveMinorActive = 'var(--inverse-text-positive-minor-active, #23B83EFF)'; + +/** Инвертированный минорный цвет предупреждения */ +export const inverseTextWarningMinorHover = 'var(--inverse-text-warning-minor-hover, #FDB086FF)'; + +/** Инвертированный минорный цвет предупреждения */ +export const inverseTextWarningMinorActive = 'var(--inverse-text-warning-minor-active, #FC884AFF)'; + +/** Инвертированный минорный цвет ошибки */ +export const inverseTextNegativeMinorHover = 'var(--inverse-text-negative-minor-hover, #FFADB6FF)'; + +/** Инвертированный минорный цвет ошибки */ +export const inverseTextNegativeMinorActive = 'var(--inverse-text-negative-minor-active, #FF707EFF)'; + +/** Инвертированный минорный цвет информации */ +export const inverseTextInfoMinorHover = 'var(--inverse-text-info-minor-hover, #DCE8FEFF)'; + +/** Инвертированный минорный цвет информации */ +export const inverseTextInfoMinorActive = 'var(--inverse-text-info-minor-active, #6FA0FBFF)'; + +/** Инвертированный основной цвет текста */ +export const inverseTextPrimary = 'var(--inverse-text-primary, rgba(8,8,8,0.96))'; + +/** Инвертированный вторичный цвет текста */ +export const inverseTextSecondary = 'var(--inverse-text-secondary, rgba(8,8,8,0.56))'; + +/** Инвертированный третичный цвет текста */ +export const inverseTextTertiary = 'var(--inverse-text-tertiary, rgba(8,8,8,0.28))'; + +/** Инвертированный сплошной наборный текст */ +export const inverseTextParagraph = 'var(--inverse-text-paragraph, rgba(8,8,8,0.80))'; + +/** Инвертированный акцентный цвет */ +export const inverseTextAccent = 'var(--inverse-text-accent, #2A72F8)'; + +/** Инвертированный акцентный цвет с градиентом */ +export const inverseTextAccentGradient = + 'var(--inverse-text-accent-gradient, linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%))'; + +/** Инвертированный минорный акцентный цвет */ +export const inverseTextAccentMinor = 'var(--inverse-text-accent-minor, #8BB2FC)'; + +/** Инвертированный цвет успеха */ +export const inverseTextPositive = 'var(--inverse-text-positive, #1A9E32)'; + +/** Инвертированный цвет предупреждения */ +export const inverseTextWarning = 'var(--inverse-text-warning, #FA5F05)'; + +/** Инвертированный цвет ошибки */ +export const inverseTextNegative = 'var(--inverse-text-negative, #F31B31)'; + +/** Инвертированный цвет информации */ +export const inverseTextInfo = 'var(--inverse-text-info, #2A72F8)'; + +/** Инвертированный минорный цвет успеха */ +export const inverseTextPositiveMinor = 'var(--inverse-text-positive-minor, #28D247)'; + +/** Инвертированный минорный цвет предупреждения */ +export const inverseTextWarningMinor = 'var(--inverse-text-warning-minor, #FD9C68)'; + +/** Инвертированный минорный цвет ошибки */ +export const inverseTextNegativeMinor = 'var(--inverse-text-negative-minor, #FF8F9A)'; + +/** Инвертированный минорный цвет информации */ +export const inverseTextInfoMinor = 'var(--inverse-text-info-minor, #8BB2FC)'; + +/** Основной непрозрачный фон поверхности/контрола */ +export const surfaceSolidPrimaryHover = 'var(--surface-solid-primary-hover, #121212FF)'; + +/** Основной непрозрачный фон поверхности/контрола */ +export const surfaceSolidPrimaryActive = 'var(--surface-solid-primary-active, #080808FF)'; + +/** Основной непрозрачный фон поверхности/контрола */ +export const surfaceSolidPrimaryBrightness = 'var(--surface-solid-primary-brightness, #1C1C1CFF)'; + +/** Вторичный непрозрачный фон поверхности/контрола */ +export const surfaceSolidSecondaryHover = 'var(--surface-solid-secondary-hover, #242424FF)'; + +/** Вторичный непрозрачный фон поверхности/контрола */ +export const surfaceSolidSecondaryActive = 'var(--surface-solid-secondary-active, #141414FF)'; + +/** Третичный непрозрачный фон поверхности/контрола */ +export const surfaceSolidTertiaryHover = 'var(--surface-solid-tertiary-hover, #303030FF)'; + +/** Третичный непрозрачный фон поверхности/контрола */ +export const surfaceSolidTertiaryActive = 'var(--surface-solid-tertiary-active, #212121FF)'; + +/** Основной фон для карточек */ +export const surfaceSolidCardHover = 'var(--surface-solid-card-hover, #1C1C1CFF)'; + +/** Основной фон для карточек */ +export const surfaceSolidCardActive = 'var(--surface-solid-card-active, #121212FF)'; + +/** Основной фон для карточек */ +export const surfaceSolidCardBrightness = 'var(--surface-solid-card-brightness, #262626FF)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию */ +export const surfaceSolidDefaultHover = 'var(--surface-solid-default-hover, #FFFFFFFF)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию */ +export const surfaceSolidDefaultActive = 'var(--surface-solid-default-active, #FFFFFFFF)'; + +/** Основной прозрачный фон поверхности/контрола */ +export const surfaceTransparentPrimaryHover = 'var(--surface-transparent-primary-hover, #FFFFFF1C)'; + +/** Основной прозрачный фон поверхности/контрола */ +export const surfaceTransparentPrimaryActive = 'var(--surface-transparent-primary-active, #FFFFFF08)'; + +/** Вторичный прозрачный фон поверхности/контрола */ +export const surfaceTransparentSecondaryHover = 'var(--surface-transparent-secondary-hover, #FFFFFF38)'; + +/** Вторичный прозрачный фон поверхности/контрола */ +export const surfaceTransparentSecondaryActive = 'var(--surface-transparent-secondary-active, #FFFFFF0A)'; + +/** Третичный прозрачный фон поверхности/контрола */ +export const surfaceTransparentTertiaryHover = 'var(--surface-transparent-tertiary-hover, #FFFFFF45)'; + +/** Третичный прозрачный фон поверхности/контрола */ +export const surfaceTransparentTertiaryActive = 'var(--surface-transparent-tertiary-active, #FFFFFF17)'; + +/** Глубокий прозрачный фон поверхности/контрола */ +export const surfaceTransparentDeepHover = 'var(--surface-transparent-deep-hover, #FFFFFFC2)'; + +/** Глубокий прозрачный фон поверхности/контрола */ +export const surfaceTransparentDeepActive = 'var(--surface-transparent-deep-active, #FFFFFF94)'; + +/** Прозрачный фон для карточек */ +export const surfaceTransparentCardHover = 'var(--surface-transparent-card-hover, #FFFFFF3D)'; + +/** Прозрачный фон для карточек */ +export const surfaceTransparentCardActive = 'var(--surface-transparent-card-active, #FFFFFF0F)'; + +/** Прозрачный фон для карточек */ +export const surfaceTransparentCardBrightness = 'var(--surface-transparent-card-brightness, #FFFFFF1F)'; + +/** Фон поверхности/контрола без заливки */ +export const surfaceClearHover = 'var(--surface-clear-hover, #FFFFFFFF)'; + +/** Фон поверхности/контрола без заливки */ +export const surfaceClearActive = 'var(--surface-clear-active, #FFFFFFFF)'; + +/** Акцентный фон поверхности/контрола */ +export const surfaceAccentHover = 'var(--surface-accent-hover, #5D95FDFF)'; + +/** Акцентный фон поверхности/контрола */ +export const surfaceAccentActive = 'var(--surface-accent-active, #357BFDFF)'; + +/** Акцентный фон поверхности/контрола с градиентом */ +export const surfaceAccentGradientHover = 'var(--surface-accent-gradient-hover, #FFFFFFFF)'; + +/** Акцентный фон поверхности/контрола с градиентом */ +export const surfaceAccentGradientActive = 'var(--surface-accent-gradient-active, #FFFFFFFF)'; + +/** Акцентный минорный непрозрачный фон поверхности/контрола */ +export const surfaceAccentMinorHover = 'var(--surface-accent-minor-hover, #0A2A67FF)'; + +/** Акцентный минорный непрозрачный фон поверхности/контрола */ +export const surfaceAccentMinorActive = 'var(--surface-accent-minor-active, #071F4BFF)'; + +/** Прозрачный акцентный фон поверхности/контрола */ +export const surfaceTransparentAccentHover = 'var(--surface-transparent-accent-hover, #3F82FD52)'; + +/** Прозрачный акцентный фон поверхности/контрола */ +export const surfaceTransparentAccentActive = 'var(--surface-transparent-accent-active, #3F82FD24)'; + +/** Цвет фона поверхности/контрола успех */ +export const surfacePositiveHover = 'var(--surface-positive-hover, #1DAF37FF)'; + +/** Цвет фона поверхности/контрола успех */ +export const surfacePositiveActive = 'var(--surface-positive-active, #18952FFF)'; + +/** Цвет фона поверхности/контрола предупреждение */ +export const surfaceWarningHover = 'var(--surface-warning-hover, #FB7223FF)'; + +/** Цвет фона поверхности/контрола предупреждение */ +export const surfaceWarningActive = 'var(--surface-warning-active, #F05B05FF)'; + +/** Цвет фона поверхности/контрола ошибка */ +export const surfaceNegativeHover = 'var(--surface-negative-hover, #FF475AFF)'; + +/** Цвет фона поверхности/контрола ошибка */ +export const surfaceNegativeActive = 'var(--surface-negative-active, #FF1F35FF)'; + +/** Цвет фона поверхности/контрола информация */ +export const surfaceInfoHover = 'var(--surface-info-hover, #5D95FDFF)'; + +/** Цвет фона поверхности/контрола информация */ +export const surfaceInfoActive = 'var(--surface-info-active, #357BFDFF)'; + +/** Минорный цвет фона поверхности/контрола успех */ +export const surfacePositiveMinorHover = 'var(--surface-positive-minor-hover, #0E3A16FF)'; + +/** Минорный цвет фона поверхности/контрола успех */ +export const surfacePositiveMinorActive = 'var(--surface-positive-minor-active, #08210CFF)'; + +/** Минорный цвет фона поверхности/контрола предупреждение */ +export const surfaceWarningMinorHover = 'var(--surface-warning-minor-hover, #4F250DFF)'; + +/** Минорный цвет фона поверхности/контрола предупреждение */ +export const surfaceWarningMinorActive = 'var(--surface-warning-minor-active, #351909FF)'; + +/** Минорный цвет фона поверхности/контрола ошибка */ +export const surfaceNegativeMinorHover = 'var(--surface-negative-minor-hover, #5B1018FF)'; + +/** Минорный цвет фона поверхности/контрола ошибка */ +export const surfaceNegativeMinorActive = 'var(--surface-negative-minor-active, #410B11FF)'; + +/** Минорный цвет фона поверхности/контрола информация */ +export const surfaceInfoMinorHover = 'var(--surface-info-minor-hover, #0A2A67FF)'; + +/** Минорный цвет фона поверхности/контрола информация */ +export const surfaceInfoMinorActive = 'var(--surface-info-minor-active, #071F4BFF)'; + +/** Прозрачный цвет фона поверхности/контрола успех */ +export const surfaceTransparentPositive = 'var(--surface-transparent-positive, #1A9E3233)'; + +/** Прозрачный цвет фона поверхности/контрола успех */ +export const surfaceTransparentPositiveHover = 'var(--surface-transparent-positive-hover, #1A9E3252)'; + +/** Прозрачный цвет фона поверхности/контрола успех */ +export const surfaceTransparentPositiveActive = 'var(--surface-transparent-positive-active, #1A9E3224)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение */ +export const surfaceTransparentWarning = 'var(--surface-transparent-warning, #FA5F0533)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение */ +export const surfaceTransparentWarningHover = 'var(--surface-transparent-warning-hover, #FA5F0552)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение */ +export const surfaceTransparentWarningActive = 'var(--surface-transparent-warning-active, #FA5F0524)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение */ +export const surfaceTransparentNegative = 'var(--surface-transparent-negative, #FF293E33)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение */ +export const surfaceTransparentNegativeHover = 'var(--surface-transparent-negative-hover, #FF293E52)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение */ +export const surfaceTransparentNegativeActive = 'var(--surface-transparent-negative-active, #FF293E24)'; + +/** Прозрачный цвет фона поверхности/контрола информация */ +export const surfaceTransparentInfoHover = 'var(--surface-transparent-info-hover, #3F82FD52)'; + +/** Прозрачный цвет фона поверхности/контрола информация */ +export const surfaceTransparentInfoActive = 'var(--surface-transparent-info-active, #3F82FD24)'; + +/** Основной непрозрачный фон поверхности/контрола */ +export const surfaceSolidPrimary = 'var(--surface-solid-primary, #0D0D0D)'; + +/** Вторичный непрозрачный фон поверхности/контрола */ +export const surfaceSolidSecondary = 'var(--surface-solid-secondary, #191919)'; + +/** Третичный непрозрачный фон поверхности/контрола */ +export const surfaceSolidTertiary = 'var(--surface-solid-tertiary, #262626)'; + +/** Основной фон для карточек */ +export const surfaceSolidCard = 'var(--surface-solid-card, #171717)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию */ +export const surfaceSolidDefault = 'var(--surface-solid-default, #FFFFFF)'; + +/** Прозрачный фон для карточек */ +export const surfaceTransparentCard = 'var(--surface-transparent-card, rgba(255,255,255,0.12))'; + +/** Основной прозрачный фон поверхности/контрола */ +export const surfaceTransparentPrimary = 'var(--surface-transparent-primary, rgba(255,255,255,0.05))'; + +/** Вторичный прозрачный фон поверхности/контрола */ +export const surfaceTransparentSecondary = 'var(--surface-transparent-secondary, rgba(255,255,255,0.10))'; + +/** Третичный прозрачный фон поверхности/контрола */ +export const surfaceTransparentTertiary = 'var(--surface-transparent-tertiary, rgba(255,255,255,0.15))'; + +/** Глубокий прозрачный фон поверхности/контрола */ +export const surfaceTransparentDeep = 'var(--surface-transparent-deep, rgba(255,255,255,0.64))'; + +/** Фон поверхности/контрола без заливки */ +export const surfaceClear = 'var(--surface-clear, #FFFFFF00)'; + +/** Акцентный фон поверхности/контрола */ +export const surfaceAccent = 'var(--surface-accent, #3F81FD)'; + +/** Акцентный фон поверхности/контрола с градиентом */ +export const surfaceAccentGradient = 'var(--surface-accent-gradient, linear-gradient(90deg, #3E79F0 0%, #27C6E5 100%))'; + +/** Акцентный минорный непрозрачный фон поверхности/контрола */ +export const surfaceAccentMinor = 'var(--surface-accent-minor, #082254)'; + +/** Прозрачный акцентный фон поверхности/контрола */ +export const surfaceTransparentAccent = 'var(--surface-transparent-accent, rgba(63,129,253,0.20))'; + +/** Цвет фона поверхности/контрола успех */ +export const surfacePositive = 'var(--surface-positive, #1A9E32)'; + +/** Цвет фона поверхности/контрола предупреждение */ +export const surfaceWarning = 'var(--surface-warning, #FA5F05)'; + +/** Цвет фона поверхности/контрола ошибка */ +export const surfaceNegative = 'var(--surface-negative, #FF293E)'; + +/** Цвет фона поверхности/контрола информация */ +export const surfaceInfo = 'var(--surface-info, #3F81FD)'; + +/** Минорный цвет фона поверхности/контрола успех */ +export const surfacePositiveMinor = 'var(--surface-positive-minor, #0A2B10)'; + +/** Минорный цвет фона поверхности/контрола предупреждение */ +export const surfaceWarningMinor = 'var(--surface-warning-minor, #3D1D0A)'; + +/** Минорный цвет фона поверхности/контрола ошибка */ +export const surfaceNegativeMinor = 'var(--surface-negative-minor, #4A0D13)'; + +/** Минорный цвет фона поверхности/контрола информация */ +export const surfaceInfoMinor = 'var(--surface-info-minor, #082254)'; + +/** Прозрачный цвет фона поверхности/контрола информация */ +export const surfaceTransparentInfo = 'var(--surface-transparent-info, rgba(63,129,253,0.20))'; + +/** Основной непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceSolidPrimaryHover = 'var(--on-dark-surface-solid-primary-hover, #121212FF)'; + +/** Основной непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceSolidPrimaryActive = 'var(--on-dark-surface-solid-primary-active, #080808FF)'; + +/** Основной непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceSolidPrimaryBrightness = 'var(--on-dark-surface-solid-primary-brightness, #1C1C1CFF)'; + +/** Вторичный непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceSolidSecondaryHover = 'var(--on-dark-surface-solid-secondary-hover, #242424FF)'; + +/** Вторичный непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceSolidSecondaryActive = 'var(--on-dark-surface-solid-secondary-active, #141414FF)'; + +/** Третичный непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceSolidTertiaryHover = 'var(--on-dark-surface-solid-tertiary-hover, #303030FF)'; + +/** Третичный непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceSolidTertiaryActive = 'var(--on-dark-surface-solid-tertiary-active, #212121FF)'; + +/** Основной фон для карточек на темном фоне */ +export const onDarkSurfaceSolidCardHover = 'var(--on-dark-surface-solid-card-hover, #1C1C1CFF)'; + +/** Основной фон для карточек на темном фоне */ +export const onDarkSurfaceSolidCardActive = 'var(--on-dark-surface-solid-card-active, #121212FF)'; + +/** Основной фон для карточек на темном фоне */ +export const onDarkSurfaceSolidCardBrightness = 'var(--on-dark-surface-solid-card-brightness, #262626FF)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию на темном фоне */ +export const onDarkSurfaceSolidDefaultHover = 'var(--on-dark-surface-solid-default-hover, #FFFFFFFF)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию на темном фоне */ +export const onDarkSurfaceSolidDefaultActive = 'var(--on-dark-surface-solid-default-active, #FFFFFFFF)'; + +/** Основной прозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentPrimaryHover = 'var(--on-dark-surface-transparent-primary-hover, #FFFFFF1C)'; + +/** Основной прозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentPrimaryActive = 'var(--on-dark-surface-transparent-primary-active, #FFFFFF08)'; + +/** Вторичный прозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentSecondaryHover = 'var(--on-dark-surface-transparent-secondary-hover, #FFFFFF38)'; + +/** Вторичный прозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentSecondaryActive = 'var(--on-dark-surface-transparent-secondary-active, #FFFFFF0A)'; + +/** Третичный прозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentTertiaryHover = 'var(--on-dark-surface-transparent-tertiary-hover, #FFFFFF45)'; + +/** Третичный прозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentTertiaryActive = 'var(--on-dark-surface-transparent-tertiary-active, #FFFFFF17)'; + +/** Глубокий прозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentDeepHover = 'var(--on-dark-surface-transparent-deep-hover, #FFFFFFC2)'; + +/** Глубокий прозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentDeepActive = 'var(--on-dark-surface-transparent-deep-active, #FFFFFF94)'; + +/** Прозрачный фон для карточек на темном фоне */ +export const onDarkSurfaceTransparentCardHover = 'var(--on-dark-surface-transparent-card-hover, #FFFFFF3D)'; + +/** Прозрачный фон для карточек на темном фоне */ +export const onDarkSurfaceTransparentCardActive = 'var(--on-dark-surface-transparent-card-active, #FFFFFF0F)'; + +/** Прозрачный фон для карточек на темном фоне */ +export const onDarkSurfaceTransparentCardBrightness = 'var(--on-dark-surface-transparent-card-brightness, #FFFFFF1F)'; + +/** Акцентный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceAccentHover = 'var(--on-dark-surface-accent-hover, #5D95FDFF)'; + +/** Акцентный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceAccentActive = 'var(--on-dark-surface-accent-active, #357BFDFF)'; + +/** Акцентный фон поверхности/контрола с градиентом на темном фоне */ +export const onDarkSurfaceAccentGradientHover = 'var(--on-dark-surface-accent-gradient-hover, #FFFFFFFF)'; + +/** Акцентный фон поверхности/контрола с градиентом на темном фоне */ +export const onDarkSurfaceAccentGradientActive = 'var(--on-dark-surface-accent-gradient-active, #FFFFFFFF)'; + +/** Акцентный минорный непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceAccentMinorHover = 'var(--on-dark-surface-accent-minor-hover, #0A2A67FF)'; + +/** Акцентный минорный непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceAccentMinorActive = 'var(--on-dark-surface-accent-minor-active, #071F4BFF)'; + +/** Прозрачный акцентный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentAccentHover = 'var(--on-dark-surface-transparent-accent-hover, #3F82FD52)'; + +/** Прозрачный акцентный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentAccentActive = 'var(--on-dark-surface-transparent-accent-active, #3F82FD24)'; + +/** Цвет фона поверхности/контрола успех на темном фоне */ +export const onDarkSurfacePositiveHover = 'var(--on-dark-surface-positive-hover, #1DAF37FF)'; + +/** Цвет фона поверхности/контрола успех на темном фоне */ +export const onDarkSurfacePositiveActive = 'var(--on-dark-surface-positive-active, #18952FFF)'; + +/** Цвет фона поверхности/контрола предупреждение на темном фоне */ +export const onDarkSurfaceWarningHover = 'var(--on-dark-surface-warning-hover, #FB7223FF)'; + +/** Цвет фона поверхности/контрола предупреждение на темном фоне */ +export const onDarkSurfaceWarningActive = 'var(--on-dark-surface-warning-active, #F05B05FF)'; + +/** Цвет фона поверхности/контрола ошибка на темном фоне */ +export const onDarkSurfaceNegativeHover = 'var(--on-dark-surface-negative-hover, #FF475AFF)'; + +/** Цвет фона поверхности/контрола ошибка на темном фоне */ +export const onDarkSurfaceNegativeActive = 'var(--on-dark-surface-negative-active, #FF1F35FF)'; + +/** Цвет фона поверхности/контрола информация на темном фоне */ +export const onDarkSurfaceInfoHover = 'var(--on-dark-surface-info-hover, #5D95FDFF)'; + +/** Цвет фона поверхности/контрола информация на темном фоне */ +export const onDarkSurfaceInfoActive = 'var(--on-dark-surface-info-active, #357BFDFF)'; + +/** Минорный цвет фона поверхности/контрола успех на темном фоне */ +export const onDarkSurfacePositiveMinorHover = 'var(--on-dark-surface-positive-minor-hover, #0E3A16FF)'; + +/** Минорный цвет фона поверхности/контрола успех на темном фоне */ +export const onDarkSurfacePositiveMinorActive = 'var(--on-dark-surface-positive-minor-active, #08210CFF)'; + +/** Минорный цвет фона поверхности/контрола предупреждение на темном фоне */ +export const onDarkSurfaceWarningMinorHover = 'var(--on-dark-surface-warning-minor-hover, #4F250DFF)'; + +/** Минорный цвет фона поверхности/контрола предупреждение на темном фоне */ +export const onDarkSurfaceWarningMinorActive = 'var(--on-dark-surface-warning-minor-active, #351909FF)'; + +/** Минорный цвет фона поверхности/контрола ошибка на темном фоне */ +export const onDarkSurfaceNegativeMinorHover = 'var(--on-dark-surface-negative-minor-hover, #5B1018FF)'; + +/** Минорный цвет фона поверхности/контрола ошибка на темном фоне */ +export const onDarkSurfaceNegativeMinorActive = 'var(--on-dark-surface-negative-minor-active, #410B11FF)'; + +/** Минорный цвет фона поверхности/контрола информация на темном фоне */ +export const onDarkSurfaceInfoMinorHover = 'var(--on-dark-surface-info-minor-hover, #0A2A67FF)'; + +/** Минорный цвет фона поверхности/контрола информация на темном фоне */ +export const onDarkSurfaceInfoMinorActive = 'var(--on-dark-surface-info-minor-active, #071F4BFF)'; + +/** Прозрачный цвет фона поверхности/контрола успех на темном фоне */ +export const onDarkSurfaceTransparentPositive = 'var(--on-dark-surface-transparent-positive, #1A9E3233)'; + +/** Прозрачный цвет фона поверхности/контрола успех на темном фоне */ +export const onDarkSurfaceTransparentPositiveHover = 'var(--on-dark-surface-transparent-positive-hover, #1A9E3252)'; + +/** Прозрачный цвет фона поверхности/контрола успех на темном фоне */ +export const onDarkSurfaceTransparentPositiveActive = 'var(--on-dark-surface-transparent-positive-active, #1A9E3224)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне */ +export const onDarkSurfaceTransparentWarning = 'var(--on-dark-surface-transparent-warning, #FA5F0533)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне */ +export const onDarkSurfaceTransparentWarningHover = 'var(--on-dark-surface-transparent-warning-hover, #FA5F0552)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне */ +export const onDarkSurfaceTransparentWarningActive = 'var(--on-dark-surface-transparent-warning-active, #FA5F0524)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне */ +export const onDarkSurfaceTransparentNegative = 'var(--on-dark-surface-transparent-negative, #FF293E33)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне */ +export const onDarkSurfaceTransparentNegativeHover = 'var(--on-dark-surface-transparent-negative-hover, #FF293E52)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение на темном фоне */ +export const onDarkSurfaceTransparentNegativeActive = 'var(--on-dark-surface-transparent-negative-active, #FF293E24)'; + +/** Прозрачный цвет фона поверхности/контрола информация на темном фоне */ +export const onDarkSurfaceTransparentInfoHover = 'var(--on-dark-surface-transparent-info-hover, #3F82FD52)'; + +/** Прозрачный цвет фона поверхности/контрола информация на темном фоне */ +export const onDarkSurfaceTransparentInfoActive = 'var(--on-dark-surface-transparent-info-active, #3F82FD24)'; + +/** Основной фон для карточек на темном фоне */ +export const onDarkSurfaceSolidCard = 'var(--on-dark-surface-solid-card, #171717)'; + +/** Основной непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceSolidPrimary = 'var(--on-dark-surface-solid-primary, #0D0D0D)'; + +/** Вторичный непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceSolidSecondary = 'var(--on-dark-surface-solid-secondary, #191919)'; + +/** Третичный непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceSolidTertiary = 'var(--on-dark-surface-solid-tertiary, #262626)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию на темном фоне */ +export const onDarkSurfaceSolidDefault = 'var(--on-dark-surface-solid-default, #FFFFFF)'; + +/** Прозрачный фон для карточек на темном фоне */ +export const onDarkSurfaceTransparentCard = 'var(--on-dark-surface-transparent-card, rgba(255,255,255,0.12))'; + +/** Основной прозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentPrimary = 'var(--on-dark-surface-transparent-primary, rgba(255,255,255,0.05))'; + +/** Вторичный прозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentSecondary = 'var(--on-dark-surface-transparent-secondary, rgba(255,255,255,0.10))'; + +/** Третичный прозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentTertiary = 'var(--on-dark-surface-transparent-tertiary, rgba(255,255,255,0.15))'; + +/** Глубокий прозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentDeep = 'var(--on-dark-surface-transparent-deep, rgba(255,255,255,0.64))'; + +/** Акцентный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceAccent = 'var(--on-dark-surface-accent, #3F81FD)'; + +/** Акцентный минорный непрозрачный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceAccentMinor = 'var(--on-dark-surface-accent-minor, #082254)'; + +/** Акцентный фон поверхности/контрола с градиентом на темном фоне */ +export const onDarkSurfaceAccentGradient = + 'var(--on-dark-surface-accent-gradient, linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%))'; + +/** Прозрачный акцентный фон поверхности/контрола на темном фоне */ +export const onDarkSurfaceTransparentAccent = 'var(--on-dark-surface-transparent-accent, rgba(63,129,253,0.20))'; + +/** Цвет фона поверхности/контрола успех на темном фоне */ +export const onDarkSurfacePositive = 'var(--on-dark-surface-positive, #1A9E32)'; + +/** Цвет фона поверхности/контрола предупреждение на темном фоне */ +export const onDarkSurfaceWarning = 'var(--on-dark-surface-warning, #FA5F05)'; + +/** Цвет фона поверхности/контрола ошибка на темном фоне */ +export const onDarkSurfaceNegative = 'var(--on-dark-surface-negative, #FF293E)'; + +/** Цвет фона поверхности/контрола информация на темном фоне */ +export const onDarkSurfaceInfo = 'var(--on-dark-surface-info, #3F81FD)'; + +/** Минорный цвет фона поверхности/контрола успех на темном фоне */ +export const onDarkSurfacePositiveMinor = 'var(--on-dark-surface-positive-minor, #0A2B10)'; + +/** Минорный цвет фона поверхности/контрола предупреждение на темном фоне */ +export const onDarkSurfaceWarningMinor = 'var(--on-dark-surface-warning-minor, #3D1D0A)'; + +/** Минорный цвет фона поверхности/контрола ошибка на темном фоне */ +export const onDarkSurfaceNegativeMinor = 'var(--on-dark-surface-negative-minor, #4A0D13)'; + +/** Минорный цвет фона поверхности/контрола информация на темном фоне */ +export const onDarkSurfaceInfoMinor = 'var(--on-dark-surface-info-minor, #082254)'; + +/** Прозрачный цвет фона поверхности/контрола информация на темном фоне */ +export const onDarkSurfaceTransparentInfo = 'var(--on-dark-surface-transparent-info, rgba(63,129,253,0.20))'; + +/** Основной непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceSolidPrimaryHover = 'var(--on-light-surface-solid-primary-hover, #F7F7F7FF)'; + +/** Основной непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceSolidPrimaryActive = 'var(--on-light-surface-solid-primary-active, #EDEDEDFF)'; + +/** Основной непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceSolidPrimaryBrightness = 'var(--on-light-surface-solid-primary-brightness, #FFFFFFFF)'; + +/** Вторичный непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceSolidSecondaryHover = 'var(--on-light-surface-solid-secondary-hover, #F2F2F2FF)'; + +/** Вторичный непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceSolidSecondaryActive = 'var(--on-light-surface-solid-secondary-active, #E3E3E3FF)'; + +/** Третичный непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceSolidTertiaryHover = 'var(--on-light-surface-solid-tertiary-hover, #E3E3E3FF)'; + +/** Третичный непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceSolidTertiaryActive = 'var(--on-light-surface-solid-tertiary-active, #D4D4D4FF)'; + +/** Основной фон для карточек на светлом фоне */ +export const onLightSurfaceSolidCardHover = 'var(--on-light-surface-solid-card-hover, #FFFFFFFF)'; + +/** Основной фон для карточек на светлом фоне */ +export const onLightSurfaceSolidCardActive = 'var(--on-light-surface-solid-card-active, #FFFFFFFF)'; + +/** Основной фон для карточек на светлом фоне */ +export const onLightSurfaceSolidCardBrightness = 'var(--on-light-surface-solid-card-brightness, #FFFFFFFF)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне */ +export const onLightSurfaceSolidDefaultHover = 'var(--on-light-surface-solid-default-hover, #0D0D0DFF)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне */ +export const onLightSurfaceSolidDefaultActive = 'var(--on-light-surface-solid-default-active, #030303FF)'; + +/** Основной прозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentPrimaryHover = 'var(--on-light-surface-transparent-primary-hover, #0808081C)'; + +/** Основной прозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentPrimaryActive = 'var(--on-light-surface-transparent-primary-active, #08080808)'; + +/** Вторичный прозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentSecondaryHover = 'var(--on-light-surface-transparent-secondary-hover, #08080838)'; + +/** Вторичный прозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentSecondaryActive = + 'var(--on-light-surface-transparent-secondary-active, #0808080A)'; + +/** Третичный прозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentTertiaryHover = 'var(--on-light-surface-transparent-tertiary-hover, #08080845)'; + +/** Третичный прозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentTertiaryActive = 'var(--on-light-surface-transparent-tertiary-active, #08080817)'; + +/** Глубокий прозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentDeepHover = 'var(--on-light-surface-transparent-deep-hover, #080808C2)'; + +/** Глубокий прозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentDeepActive = 'var(--on-light-surface-transparent-deep-active, #08080894)'; + +/** Прозрачный фон для карточек на светлом фоне */ +export const onLightSurfaceTransparentCardHover = 'var(--on-light-surface-transparent-card-hover, #FFFFFFFF)'; + +/** Прозрачный фон для карточек на светлом фоне */ +export const onLightSurfaceTransparentCardActive = 'var(--on-light-surface-transparent-card-active, #FFFFFFFF)'; + +/** Прозрачный фон для карточек на светлом фоне */ +export const onLightSurfaceTransparentCardBrightness = 'var(--on-light-surface-transparent-card-brightness, #FFFFFFFF)'; + +/** Акцентный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceAccentHover = 'var(--on-light-surface-accent-hover, #4886F9FF)'; + +/** Акцентный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceAccentActive = 'var(--on-light-surface-accent-active, #206CF8FF)'; + +/** Акцентный фон поверхности/контрола с градиентом на светлом фоне */ +export const onLightSurfaceAccentGradientHover = 'var(--on-light-surface-accent-gradient-hover, #FFFFFFFF)'; + +/** Акцентный фон поверхности/контрола с градиентом на светлом фоне */ +export const onLightSurfaceAccentGradientActive = 'var(--on-light-surface-accent-gradient-active, #FFFFFFFF)'; + +/** Акцентный минорный непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceAccentMinorHover = 'var(--on-light-surface-accent-minor-hover, #EBF1FFFF)'; + +/** Акцентный минорный непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceAccentMinorActive = 'var(--on-light-surface-accent-minor-active, #D6E4FFFF)'; + +/** Прозрачный акцентный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentAccentHover = 'var(--on-light-surface-transparent-accent-hover, #2A72F83D)'; + +/** Прозрачный акцентный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentAccentActive = 'var(--on-light-surface-transparent-accent-active, #2A72F80F)'; + +/** Цвет фона поверхности/контрола успех на светлом фоне */ +export const onLightSurfacePositiveHover = 'var(--on-light-surface-positive-hover, #1DAF37FF)'; + +/** Цвет фона поверхности/контрола успех на светлом фоне */ +export const onLightSurfacePositiveActive = 'var(--on-light-surface-positive-active, #18952FFF)'; + +/** Цвет фона поверхности/контрола предупреждение на светлом фоне */ +export const onLightSurfaceWarningHover = 'var(--on-light-surface-warning-hover, #FB7223FF)'; + +/** Цвет фона поверхности/контрола предупреждение на светлом фоне */ +export const onLightSurfaceWarningActive = 'var(--on-light-surface-warning-active, #F05B05FF)'; + +/** Цвет фона поверхности/контрола ошибка на светлом фоне */ +export const onLightSurfaceNegativeHover = 'var(--on-light-surface-negative-hover, #FF475AFF)'; + +/** Цвет фона поверхности/контрола ошибка на светлом фоне */ +export const onLightSurfaceNegativeActive = 'var(--on-light-surface-negative-active, #FF1F35FF)'; + +/** Цвет фона поверхности/контрола информация на светлом фоне */ +export const onLightSurfaceInfoHover = 'var(--on-light-surface-info-hover, #5D95FDFF)'; + +/** Цвет фона поверхности/контрола информация на светлом фоне */ +export const onLightSurfaceInfoActive = 'var(--on-light-surface-info-active, #357BFDFF)'; + +/** Минорный цвет фона поверхности/контрола успех на светлом фоне */ +export const onLightSurfacePositiveMinorHover = 'var(--on-light-surface-positive-minor-hover, #B1FBBFFF)'; + +/** Минорный цвет фона поверхности/контрола успех на светлом фоне */ +export const onLightSurfacePositiveMinorActive = 'var(--on-light-surface-positive-minor-active, #94F9A7FF)'; + +/** Минорный цвет фона поверхности/контрола предупреждение на светлом фоне */ +export const onLightSurfaceWarningMinorHover = 'var(--on-light-surface-warning-minor-hover, #FEE9DCFF)'; + +/** Минорный цвет фона поверхности/контрола предупреждение на светлом фоне */ +export const onLightSurfaceWarningMinorActive = 'var(--on-light-surface-warning-minor-active, #FEDCC8FF)'; + +/** Минорный цвет фона поверхности/контрола ошибка на светлом фоне */ +export const onLightSurfaceNegativeMinorHover = 'var(--on-light-surface-negative-minor-hover, #FFEBEDFF)'; + +/** Минорный цвет фона поверхности/контрола ошибка на светлом фоне */ +export const onLightSurfaceNegativeMinorActive = 'var(--on-light-surface-negative-minor-active, #FFD6DAFF)'; + +/** Минорный цвет фона поверхности/контрола информация на светлом фоне */ +export const onLightSurfaceInfoMinorHover = 'var(--on-light-surface-info-minor-hover, #EBF1FFFF)'; + +/** Минорный цвет фона поверхности/контрола информация на светлом фоне */ +export const onLightSurfaceInfoMinorActive = 'var(--on-light-surface-info-minor-active, #D6E4FFFF)'; + +/** Прозрачный цвет фона поверхности/контрола успех на светлом фоне */ +export const onLightSurfaceTransparentPositive = 'var(--on-light-surface-transparent-positive, #1A9E321F)'; + +/** Прозрачный цвет фона поверхности/контрола успех на светлом фоне */ +export const onLightSurfaceTransparentPositiveHover = 'var(--on-light-surface-transparent-positive-hover, #1A9E323D)'; + +/** Прозрачный цвет фона поверхности/контрола успех на светлом фоне */ +export const onLightSurfaceTransparentPositiveActive = 'var(--on-light-surface-transparent-positive-active, #1A9E320F)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне */ +export const onLightSurfaceTransparentWarning = 'var(--on-light-surface-transparent-warning, #FA5F051F)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне */ +export const onLightSurfaceTransparentWarningHover = 'var(--on-light-surface-transparent-warning-hover, #FA5F053D)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне */ +export const onLightSurfaceTransparentWarningActive = 'var(--on-light-surface-transparent-warning-active, #FA5F050F)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне */ +export const onLightSurfaceTransparentNegative = 'var(--on-light-surface-transparent-negative, #FF293E1F)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне */ +export const onLightSurfaceTransparentNegativeHover = 'var(--on-light-surface-transparent-negative-hover, #FF293E3D)'; + +/** Прозрачный цвет фона поверхности/контрола предупреждение на светлом фоне */ +export const onLightSurfaceTransparentNegativeActive = 'var(--on-light-surface-transparent-negative-active, #FF293E0F)'; + +/** Прозрачный цвет фона поверхности/контрола информация на светлом фоне */ +export const onLightSurfaceTransparentInfoHover = 'var(--on-light-surface-transparent-info-hover, #2A72F83D)'; + +/** Прозрачный цвет фона поверхности/контрола информация на светлом фоне */ +export const onLightSurfaceTransparentInfoActive = 'var(--on-light-surface-transparent-info-active, #2A72F80F)'; + +/** Основной фон для карточек на светлом фоне */ +export const onLightSurfaceSolidCard = 'var(--on-light-surface-solid-card, #FFFFFF)'; + +/** Основной непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceSolidPrimary = 'var(--on-light-surface-solid-primary, #F2F2F2)'; + +/** Вторичный непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceSolidSecondary = 'var(--on-light-surface-solid-secondary, #E7E7E7)'; + +/** Третичный непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceSolidTertiary = 'var(--on-light-surface-solid-tertiary, #DADADA)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне */ +export const onLightSurfaceSolidDefault = 'var(--on-light-surface-solid-default, #080808)'; + +/** Основной прозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentPrimary = 'var(--on-light-surface-transparent-primary, rgba(8,8,8,0.05))'; + +/** Прозрачный фон для карточек на светлом фоне */ +export const onLightSurfaceTransparentCard = 'var(--on-light-surface-transparent-card, #FFFFFF)'; + +/** Вторичный прозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentSecondary = 'var(--on-light-surface-transparent-secondary, rgba(8,8,8,0.10))'; + +/** Третичный прозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentTertiary = 'var(--on-light-surface-transparent-tertiary, rgba(8,8,8,0.15))'; + +/** Глубокий прозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentDeep = 'var(--on-light-surface-transparent-deep, rgba(8,8,8,0.64))'; + +/** Акцентный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceAccent = 'var(--on-light-surface-accent, #2A72F8)'; + +/** Акцентный фон поверхности/контрола с градиентом на светлом фоне */ +export const onLightSurfaceAccentGradient = + 'var(--on-light-surface-accent-gradient, linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%))'; + +/** Акцентный минорный непрозрачный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceAccentMinor = 'var(--on-light-surface-accent-minor, #DEE9FF)'; + +/** Прозрачный акцентный фон поверхности/контрола на светлом фоне */ +export const onLightSurfaceTransparentAccent = 'var(--on-light-surface-transparent-accent, rgba(42,114,248,0.12))'; + +/** Цвет фона поверхности/контрола успех на светлом фоне */ +export const onLightSurfacePositive = 'var(--on-light-surface-positive, #1A9E32)'; + +/** Цвет фона поверхности/контрола предупреждение на светлом фоне */ +export const onLightSurfaceWarning = 'var(--on-light-surface-warning, #FA5F05)'; + +/** Цвет фона поверхности/контрола ошибка на светлом фоне */ +export const onLightSurfaceNegative = 'var(--on-light-surface-negative, #FF293E)'; + +/** Цвет фона поверхности/контрола информация на светлом фоне */ +export const onLightSurfaceInfo = 'var(--on-light-surface-info, #3F81FD)'; + +/** Минорный цвет фона поверхности/контрола успех на светлом фоне */ +export const onLightSurfacePositiveMinor = 'var(--on-light-surface-positive-minor, #9EFAAF)'; + +/** Минорный цвет фона поверхности/контрола предупреждение на светлом фоне */ +export const onLightSurfaceWarningMinor = 'var(--on-light-surface-warning-minor, #FEE2D2)'; + +/** Минорный цвет фона поверхности/контрола ошибка на светлом фоне */ +export const onLightSurfaceNegativeMinor = 'var(--on-light-surface-negative-minor, #FFE0E3)'; + +/** Минорный цвет фона поверхности/контрола информация на светлом фоне */ +export const onLightSurfaceInfoMinor = 'var(--on-light-surface-info-minor, #DEE9FF)'; + +/** Прозрачный цвет фона поверхности/контрола информация на светлом фоне */ +export const onLightSurfaceTransparentInfo = 'var(--on-light-surface-transparent-info, rgba(42,114,248,0.12))'; + +/** Инвертированный основной непрозрачный фон поверхности/контрола */ +export const inverseSurfaceSolidPrimaryHover = 'var(--inverse-surface-solid-primary-hover, #F7F7F7FF)'; + +/** Инвертированный основной непрозрачный фон поверхности/контрола */ +export const inverseSurfaceSolidPrimaryActive = 'var(--inverse-surface-solid-primary-active, #EDEDEDFF)'; + +/** Инвертированный основной непрозрачный фон поверхности/контрола */ +export const inverseSurfaceSolidPrimaryBrightness = 'var(--inverse-surface-solid-primary-brightness, #FFFFFFFF)'; + +/** Инвертированный вторичный непрозрачный фон поверхности/контрола */ +export const inverseSurfaceSolidSecondaryHover = 'var(--inverse-surface-solid-secondary-hover, #F2F2F2FF)'; + +/** Инвертированный вторичный непрозрачный фон поверхности/контрола */ +export const inverseSurfaceSolidSecondaryActive = 'var(--inverse-surface-solid-secondary-active, #E3E3E3FF)'; + +/** Инвертированный третичный непрозрачный фон поверхности/контрола */ +export const inverseSurfaceSolidTertiaryHover = 'var(--inverse-surface-solid-tertiary-hover, #E3E3E3FF)'; + +/** Инвертированный третичный непрозрачный фон поверхности/контрола */ +export const inverseSurfaceSolidTertiaryActive = 'var(--inverse-surface-solid-tertiary-active, #D4D4D4FF)'; + +/** Инвертированный основной фон для карточек */ +export const inverseSurfaceSolidCardHover = 'var(--inverse-surface-solid-card-hover, #FFFFFFFF)'; + +/** Инвертированный основной фон для карточек */ +export const inverseSurfaceSolidCardActive = 'var(--inverse-surface-solid-card-active, #FFFFFFFF)'; + +/** Инвертированный основной фон для карточек */ +export const inverseSurfaceSolidCardBrightness = 'var(--inverse-surface-solid-card-brightness, #FFFFFFFF)'; + +/** Инвертированный непрозрачный фон поверхности/контрола по умолчанию */ +export const inverseSurfaceSolidDefaultHover = 'var(--inverse-surface-solid-default-hover, #0D0D0DFF)'; + +/** Инвертированный непрозрачный фон поверхности/контрола по умолчанию */ +export const inverseSurfaceSolidDefaultActive = 'var(--inverse-surface-solid-default-active, #030303FF)'; + +/** Инвертированный основной прозрачный фон поверхности/контрола */ +export const inverseSurfaceTransparentPrimaryHover = 'var(--inverse-surface-transparent-primary-hover, #0808081C)'; + +/** Инвертированный основной прозрачный фон поверхности/контрола */ +export const inverseSurfaceTransparentPrimaryActive = 'var(--inverse-surface-transparent-primary-active, #08080808)'; + +/** Инвертированный вторичный прозрачный фон поверхности/контрола */ +export const inverseSurfaceTransparentSecondaryHover = 'var(--inverse-surface-transparent-secondary-hover, #08080838)'; + +/** Инвертированный вторичный прозрачный фон поверхности/контрола */ +export const inverseSurfaceTransparentSecondaryActive = + 'var(--inverse-surface-transparent-secondary-active, #0808080A)'; + +/** Инвертированный третичный прозрачный фон поверхности/контрола */ +export const inverseSurfaceTransparentTertiaryHover = 'var(--inverse-surface-transparent-tertiary-hover, #08080845)'; + +/** Инвертированный третичный прозрачный фон поверхности/контрола */ +export const inverseSurfaceTransparentTertiaryActive = 'var(--inverse-surface-transparent-tertiary-active, #08080817)'; + +/** Инвертированный глубокий прозрачный фон поверхности/контрола */ +export const inverseSurfaceTransparentDeepHover = 'var(--inverse-surface-transparent-deep-hover, #080808C2)'; + +/** Инвертированный глубокий прозрачный фон поверхности/контрола */ +export const inverseSurfaceTransparentDeepActive = 'var(--inverse-surface-transparent-deep-active, #08080894)'; + +/** Инвертированный прозрачный фон для карточек */ +export const inverseSurfaceTransparentCardHover = 'var(--inverse-surface-transparent-card-hover, #FFFFFFFF)'; + +/** Инвертированный прозрачный фон для карточек */ +export const inverseSurfaceTransparentCardActive = 'var(--inverse-surface-transparent-card-active, #FFFFFFFF)'; + +/** Инвертированный прозрачный фон для карточек */ +export const inverseSurfaceTransparentCardBrightness = 'var(--inverse-surface-transparent-card-brightness, #FFFFFFFF)'; + +/** Инвертированный акцентный фон поверхности/контрола */ +export const inverseSurfaceAccentHover = 'var(--inverse-surface-accent-hover, #5D95FDFF)'; + +/** Инвертированный акцентный фон поверхности/контрола */ +export const inverseSurfaceAccentActive = 'var(--inverse-surface-accent-active, #357BFDFF)'; + +/** Инвертированный акцентный фон поверхности/контрола с градиентом */ +export const inverseSurfaceAccentGradientHover = 'var(--inverse-surface-accent-gradient-hover, #FFFFFFFF)'; + +/** Инвертированный акцентный фон поверхности/контрола с градиентом */ +export const inverseSurfaceAccentGradientActive = 'var(--inverse-surface-accent-gradient-active, #FFFFFFFF)'; + +/** Инвертированный акцентный минорный непрозрачный фон поверхности/контрола */ +export const inverseSurfaceAccentMinorHover = 'var(--inverse-surface-accent-minor-hover, #EBF1FFFF)'; + +/** Инвертированный акцентный минорный непрозрачный фон поверхности/контрола */ +export const inverseSurfaceAccentMinorActive = 'var(--inverse-surface-accent-minor-active, #D6E4FFFF)'; + +/** Прозрачный инвертированный акцентный фон поверхности/контрола */ +export const inverseSurfaceTransparentAccentHover = 'var(--inverse-surface-transparent-accent-hover, #2A72F83D)'; + +/** Прозрачный инвертированный акцентный фон поверхности/контрола */ +export const inverseSurfaceTransparentAccentActive = 'var(--inverse-surface-transparent-accent-active, #2A72F80F)'; + +/** Инвертированный цвет фона поверхности/контрола успех */ +export const inverseSurfacePositiveHover = 'var(--inverse-surface-positive-hover, #1DAF37FF)'; + +/** Инвертированный цвет фона поверхности/контрола успех */ +export const inverseSurfacePositiveActive = 'var(--inverse-surface-positive-active, #18952FFF)'; + +/** Инвертированный цвет фона поверхности/контрола предупреждение */ +export const inverseSurfaceWarningHover = 'var(--inverse-surface-warning-hover, #FB7223FF)'; + +/** Инвертированный цвет фона поверхности/контрола предупреждение */ +export const inverseSurfaceWarningActive = 'var(--inverse-surface-warning-active, #F05B05FF)'; + +/** Инвертированный цвет фона поверхности/контрола ошибка */ +export const inverseSurfaceNegativeHover = 'var(--inverse-surface-negative-hover, #FF475AFF)'; + +/** Инвертированный цвет фона поверхности/контрола ошибка */ +export const inverseSurfaceNegativeActive = 'var(--inverse-surface-negative-active, #FF1F35FF)'; + +/** Инвертированный цвет фона поверхности/контрола информация */ +export const inverseSurfaceInfoHover = 'var(--inverse-surface-info-hover, #5D95FDFF)'; + +/** Инвертированный цвет фона поверхности/контрола информация */ +export const inverseSurfaceInfoActive = 'var(--inverse-surface-info-active, #357BFDFF)'; + +/** Инвертированный минорный цвет фона поверхности/контрола успех */ +export const inverseSurfacePositiveMinorHover = 'var(--inverse-surface-positive-minor-hover, #B1FBBFFF)'; + +/** Инвертированный минорный цвет фона поверхности/контрола успех */ +export const inverseSurfacePositiveMinorActive = 'var(--inverse-surface-positive-minor-active, #94F9A7FF)'; + +/** Инвертированный минорный цвет фона поверхности/контрола предупреждение */ +export const inverseSurfaceWarningMinorHover = 'var(--inverse-surface-warning-minor-hover, #FEE9DCFF)'; + +/** Инвертированный минорный цвет фона поверхности/контрола предупреждение */ +export const inverseSurfaceWarningMinorActive = 'var(--inverse-surface-warning-minor-active, #FEDCC8FF)'; + +/** Инвертированный минорный цвет фона поверхности/контрола ошибка */ +export const inverseSurfaceNegativeMinorHover = 'var(--inverse-surface-negative-minor-hover, #FFEBEDFF)'; + +/** Инвертированный минорный цвет фона поверхности/контрола ошибка */ +export const inverseSurfaceNegativeMinorActive = 'var(--inverse-surface-negative-minor-active, #FFD6DAFF)'; + +/** Инвертированный минорный цвет фона поверхности/контрола информация */ +export const inverseSurfaceInfoMinorHover = 'var(--inverse-surface-info-minor-hover, #EBF1FFFF)'; + +/** Инвертированный минорный цвет фона поверхности/контрола информация */ +export const inverseSurfaceInfoMinorActive = 'var(--inverse-surface-info-minor-active, #D6E4FFFF)'; + +/** Прозрачный инвертированный цвет фона поверхности/контрола успех */ +export const inverseSurfaceTransparentPositive = 'var(--inverse-surface-transparent-positive, #1A9E321F)'; + +/** Прозрачный инвертированный цвет фона поверхности/контрола успех */ +export const inverseSurfaceTransparentPositiveHover = 'var(--inverse-surface-transparent-positive-hover, #1A9E323D)'; + +/** Прозрачный инвертированный цвет фона поверхности/контрола успех */ +export const inverseSurfaceTransparentPositiveActive = 'var(--inverse-surface-transparent-positive-active, #1A9E320F)'; + +/** Прозрачный инвертированный цвет фона поверхности/контрола предупреждение */ +export const inverseSurfaceTransparentWarning = 'var(--inverse-surface-transparent-warning, #FA5F051F)'; + +/** Прозрачный инвертированный цвет фона поверхности/контрола предупреждение */ +export const inverseSurfaceTransparentWarningHover = 'var(--inverse-surface-transparent-warning-hover, #FA5F053D)'; + +/** Прозрачный инвертированный цвет фона поверхности/контрола предупреждение */ +export const inverseSurfaceTransparentWarningActive = 'var(--inverse-surface-transparent-warning-active, #FA5F050F)'; + +/** Прозрачный инвертированный цвет фона поверхности/контрола предупреждение */ +export const inverseSurfaceTransparentNegative = 'var(--inverse-surface-transparent-negative, #FF293E1F)'; + +/** Прозрачный инвертированный цвет фона поверхности/контрола предупреждение */ +export const inverseSurfaceTransparentNegativeHover = 'var(--inverse-surface-transparent-negative-hover, #FF293E3D)'; + +/** Прозрачный инвертированный цвет фона поверхности/контрола предупреждение */ +export const inverseSurfaceTransparentNegativeActive = 'var(--inverse-surface-transparent-negative-active, #FF293E0F)'; + +/** Прозрачный инвертированный цвет фона поверхности/контрола информация */ +export const inverseSurfaceTransparentInfoHover = 'var(--inverse-surface-transparent-info-hover, #2A72F83D)'; + +/** Прозрачный инвертированный цвет фона поверхности/контрола информация */ +export const inverseSurfaceTransparentInfoActive = 'var(--inverse-surface-transparent-info-active, #2A72F80F)'; + +/** Инвертированный основной фон для карточек */ +export const inverseSurfaceSolidCard = 'var(--inverse-surface-solid-card, #FFFFFF)'; + +/** Инвертированный основной непрозрачный фон поверхности/контрола */ +export const inverseSurfaceSolidPrimary = 'var(--inverse-surface-solid-primary, #F2F2F2)'; + +/** Инвертированный вторичный непрозрачный фон поверхности/контрола */ +export const inverseSurfaceSolidSecondary = 'var(--inverse-surface-solid-secondary, #E7E7E7)'; + +/** Инвертированный третичный непрозрачный фон поверхности/контрола */ +export const inverseSurfaceSolidTertiary = 'var(--inverse-surface-solid-tertiary, #DADADA)'; + +/** Инвертированный непрозрачный фон поверхности/контрола по умолчанию */ +export const inverseSurfaceSolidDefault = 'var(--inverse-surface-solid-default, #080808)'; + +/** Инвертированный прозрачный фон для карточек */ +export const inverseSurfaceTransparentCard = 'var(--inverse-surface-transparent-card, #FFFFFF)'; + +/** Инвертированный основной прозрачный фон поверхности/контрола */ +export const inverseSurfaceTransparentPrimary = 'var(--inverse-surface-transparent-primary, rgba(8,8,8,0.05))'; + +/** Инвертированный вторичный прозрачный фон поверхности/контрола */ +export const inverseSurfaceTransparentSecondary = 'var(--inverse-surface-transparent-secondary, rgba(8,8,8,0.10))'; + +/** Инвертированный третичный прозрачный фон поверхности/контрола */ +export const inverseSurfaceTransparentTertiary = 'var(--inverse-surface-transparent-tertiary, rgba(8,8,8,0.15))'; + +/** Инвертированный глубокий прозрачный фон поверхности/контрола */ +export const inverseSurfaceTransparentDeep = 'var(--inverse-surface-transparent-deep, rgba(8,8,8,0.64))'; + +/** Инвертированный акцентный фон поверхности/контрола */ +export const inverseSurfaceAccent = 'var(--inverse-surface-accent, #3F81FD)'; + +/** Инвертированный акцентный фон поверхности/контрола с градиентом */ +export const inverseSurfaceAccentGradient = + 'var(--inverse-surface-accent-gradient, linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%))'; + +/** Инвертированный акцентный минорный непрозрачный фон поверхности/контрола */ +export const inverseSurfaceAccentMinor = 'var(--inverse-surface-accent-minor, #DEE9FF)'; + +/** Прозрачный инвертированный акцентный фон поверхности/контрола */ +export const inverseSurfaceTransparentAccent = 'var(--inverse-surface-transparent-accent, rgba(42,114,248,0.12))'; + +/** Инвертированный цвет фона поверхности/контрола успех */ +export const inverseSurfacePositive = 'var(--inverse-surface-positive, #1A9E32)'; + +/** Инвертированный цвет фона поверхности/контрола предупреждение */ +export const inverseSurfaceWarning = 'var(--inverse-surface-warning, #FA5F05)'; + +/** Инвертированный цвет фона поверхности/контрола ошибка */ +export const inverseSurfaceNegative = 'var(--inverse-surface-negative, #FF293E)'; + +/** Инвертированный цвет фона поверхности/контрола информация */ +export const inverseSurfaceInfo = 'var(--inverse-surface-info, #3F81FD)'; + +/** Инвертированный минорный цвет фона поверхности/контрола успех */ +export const inverseSurfacePositiveMinor = 'var(--inverse-surface-positive-minor, #9EFAAF)'; + +/** Инвертированный минорный цвет фона поверхности/контрола предупреждение */ +export const inverseSurfaceWarningMinor = 'var(--inverse-surface-warning-minor, #FEE2D2)'; + +/** Инвертированный минорный цвет фона поверхности/контрола ошибка */ +export const inverseSurfaceNegativeMinor = 'var(--inverse-surface-negative-minor, #FFE0E3)'; + +/** Инвертированный минорный цвет фона поверхности/контрола информация */ +export const inverseSurfaceInfoMinor = 'var(--inverse-surface-info-minor, #DEE9FF)'; + +/** Прозрачный инвертированный цвет фона поверхности/контрола информация */ +export const inverseSurfaceTransparentInfo = 'var(--inverse-surface-transparent-info, rgba(42,114,248,0.12))'; + +/** Основной фон */ +export const backgroundPrimary = 'var(--background-primary, #080808)'; + +/** Основной фон на темном фоне */ +export const darkBackgroundPrimary = 'var(--dark-background-primary, #080808)'; + +/** Основной фон на светлом фоне */ +export const lightBackgroundPrimary = 'var(--light-background-primary, #F9F9F9)'; + +/** Инвертированный основной фон */ +export const inverseBackgroundPrimary = 'var(--inverse-background-primary, #F9F9F9)'; + +/** Цвет фона паранжи светлый */ +export const overlaySoft = 'var(--overlay-soft, #0808088F)'; + +/** Цвет фона паранжи темный */ +export const overlayHard = 'var(--overlay-hard, #080808F5)'; + +/** Цвет фона паранжи размытый */ +export const overlayBlur = 'var(--overlay-blur, #08080847)'; + +/** Цвет фона паранжи светлый на темном фоне */ +export const onDarkOverlaySoft = 'var(--on-dark-overlay-soft, #0808088F)'; + +/** Цвет фона паранжи темный на темном фоне */ +export const onDarkOverlayHard = 'var(--on-dark-overlay-hard, #080808F5)'; + +/** Цвет фона паранжи размытый на темном фоне */ +export const onDarkOverlayBlur = 'var(--on-dark-overlay-blur, #08080847)'; + +/** Цвет фона паранжи светлый на светлом фоне */ +export const onLightOverlaySoft = 'var(--on-light-overlay-soft, #F9F9F98F)'; + +/** Цвет фона паранжи темный на светлом фоне */ +export const onLightOverlayHard = 'var(--on-light-overlay-hard, #F9F9F9F5)'; + +/** Цвет фона паранжи размытый на светлом фоне */ +export const onLightOverlayBlur = 'var(--on-light-overlay-blur, #F9F9F947)'; + +/** Инвертированный цвет фона паранжи светлый */ +export const inverseOverlaySoft = 'var(--inverse-overlay-soft, #F9F9F98F)'; + +/** Инвертированный цвет фона паранжи темный */ +export const inverseOverlayHard = 'var(--inverse-overlay-hard, #F9F9F9F5)'; + +/** Инвертированный цвет фона паранжи размытый */ +export const inverseOverlayBlur = 'var(--inverse-overlay-blur, #F9F9F947)'; + +/** Основной непрозрачный цвет обводки */ +export const outlineDefaultOutlineSolidPrimaryHover = 'var(--outline-default-outline-solid-primary-hover, #FFFFFFFF)'; + +/** Основной непрозрачный цвет обводки */ +export const outlineDefaultOutlineSolidPrimaryActive = 'var(--outline-default-outline-solid-primary-active, #B5B5B5FF)'; + +/** Вторичный непрозрачный цвет обводки */ +export const outlineDefaultOutlineSolidSecondaryHover = + 'var(--outline-default-outline-solid-secondary-hover, #FFFFFFFF)'; + +/** Вторичный непрозрачный цвет обводки */ +export const outlineDefaultOutlineSolidSecondaryActive = + 'var(--outline-default-outline-solid-secondary-active, #9E9E9EFF)'; + +/** Третичный непрозрачный цвет обводки */ +export const outlineDefaultOutlineSolidTertiaryHover = 'var(--outline-default-outline-solid-tertiary-hover, #FFFFFFFF)'; + +/** Третичный непрозрачный цвет обводки */ +export const outlineDefaultOutlineSolidTertiaryActive = + 'var(--outline-default-outline-solid-tertiary-active, #737373FF)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию */ +export const outlineDefaultOutlineSolidDefaultHover = 'var(--outline-default-outline-solid-default-hover, #C7C7C7FF)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию */ +export const outlineDefaultOutlineSolidDefaultActive = 'var(--outline-default-outline-solid-default-active, #E0E0E0FF)'; + +/** Основной прозрачный цвет обводки */ +export const outlineDefaultOutlineTransparentPrimaryHover = + 'var(--outline-default-outline-transparent-primary-hover, #FFFFFFFF)'; + +/** Основной прозрачный цвет обводки */ +export const outlineDefaultOutlineTransparentPrimaryActive = + 'var(--outline-default-outline-transparent-primary-active, #FFFFFF0F)'; + +/** Вторичный прозрачный цвет обводки */ +export const outlineDefaultOutlineTransparentSecondaryHover = + 'var(--outline-default-outline-transparent-secondary-hover, #FFFFFFFF)'; + +/** Вторичный прозрачный цвет обводки */ +export const outlineDefaultOutlineTransparentSecondaryActive = + 'var(--outline-default-outline-transparent-secondary-active, #FFFFFF3D)'; + +/** Третичный прозрачный цвет обводки */ +export const outlineDefaultOutlineTransparentTertiaryHover = + 'var(--outline-default-outline-transparent-tertiary-hover, #FFFFFFFF)'; + +/** Третичный прозрачный цвет обводки */ +export const outlineDefaultOutlineTransparentTertiaryActive = + 'var(--outline-default-outline-transparent-tertiary-active, #FFFFFF7A)'; + +/** Бесцветная обводка */ +export const outlineDefaultOutlineClearHover = 'var(--outline-default-outline-clear-hover, #FFFFFFFF)'; + +/** Бесцветная обводка */ +export const outlineDefaultOutlineClearActive = 'var(--outline-default-outline-clear-active, #FFFFFFFF)'; + +/** Акцентный цвет обводки */ +export const outlineDefaultOutlineAccentHover = 'var(--outline-default-outline-accent-hover, #90B6FEFF)'; + +/** Акцентный цвет обводки */ +export const outlineDefaultOutlineAccentActive = 'var(--outline-default-outline-accent-active, #216EFDFF)'; + +/** Акцентный минорный непрозрачный цвет обводки */ +export const outlineDefaultOutlineAccentMinorHover = 'var(--outline-default-outline-accent-minor-hover, #FFFFFFFF)'; + +/** Акцентный минорный непрозрачный цвет обводки */ +export const outlineDefaultOutlineAccentMinorActive = 'var(--outline-default-outline-accent-minor-active, #1C62E3FF)'; + +/** Прозрачный акцентный цвет обводки */ +export const outlineDefaultOutlineTransparentAccentHover = + 'var(--outline-default-outline-transparent-accent-hover, #3F82FDFF)'; + +/** Прозрачный акцентный цвет обводки */ +export const outlineDefaultOutlineTransparentAccentActive = + 'var(--outline-default-outline-transparent-accent-active, #3F82FD56)'; + +/** Цвет обводки успех */ +export const outlineDefaultOutlinePositive = 'var(--outline-default-outline-positive, #24B23E)'; + +/** Цвет обводки успех */ +export const outlineDefaultOutlinePositiveHover = 'var(--outline-default-outline-positive-hover, #2ACB47FF)'; + +/** Цвет обводки успех */ +export const outlineDefaultOutlinePositiveActive = 'var(--outline-default-outline-positive-active, #1F9835FF)'; + +/** Цвет обводки предупреждение */ +export const outlineDefaultOutlineWarning = 'var(--outline-default-outline-warning, #FF7024)'; + +/** Цвет обводки предупреждение */ +export const outlineDefaultOutlineWarningHover = 'var(--outline-default-outline-warning-hover, #FF8442FF)'; + +/** Цвет обводки предупреждение */ +export const outlineDefaultOutlineWarningActive = 'var(--outline-default-outline-warning-active, #FF5D05FF)'; + +/** Цвет обводки ошибка */ +export const outlineDefaultOutlineNegative = 'var(--outline-default-outline-negative, #FF3D51)'; + +/** Цвет обводки ошибка */ +export const outlineDefaultOutlineNegativeHover = 'var(--outline-default-outline-negative-hover, #FF5C6CFF)'; + +/** Цвет обводки ошибка */ +export const outlineDefaultOutlineNegativeActive = 'var(--outline-default-outline-negative-active, #FF1F35FF)'; + +/** Цвет обводки информация */ +export const outlineDefaultOutlineInfoHover = 'var(--outline-default-outline-info-hover, #90B6FEFF)'; + +/** Цвет обводки информация */ +export const outlineDefaultOutlineInfoActive = 'var(--outline-default-outline-info-active, #216EFDFF)'; + +/** Минорный цвет обводки успех */ +export const outlineDefaultOutlinePositiveMinor = 'var(--outline-default-outline-positive-minor, #095C18)'; + +/** Минорный цвет обводки успех */ +export const outlineDefaultOutlinePositiveMinorHover = 'var(--outline-default-outline-positive-minor-hover, #0F9527FF)'; + +/** Минорный цвет обводки успех */ +export const outlineDefaultOutlinePositiveMinorActive = + 'var(--outline-default-outline-positive-minor-active, #0C7920FF)'; + +/** Минорный цвет обводки предупреждение */ +export const outlineDefaultOutlineWarningMinor = 'var(--outline-default-outline-warning-minor, #85380C)'; + +/** Минорный цвет обводки предупреждение */ +export const outlineDefaultOutlineWarningMinorHover = 'var(--outline-default-outline-warning-minor-hover, #BB4F11FF)'; + +/** Минорный цвет обводки предупреждение */ +export const outlineDefaultOutlineWarningMinorActive = 'var(--outline-default-outline-warning-minor-active, #9F440FFF)'; + +/** Минорный цвет обводки ошибка */ +export const outlineDefaultOutlineNegativeMinor = 'var(--outline-default-outline-negative-minor, #9C1422)'; + +/** Минорный цвет обводки ошибка */ +export const outlineDefaultOutlineNegativeMinorHover = 'var(--outline-default-outline-negative-minor-hover, #B91828FF)'; + +/** Минорный цвет обводки ошибка */ +export const outlineDefaultOutlineNegativeMinorActive = + 'var(--outline-default-outline-negative-minor-active, #83111CFF)'; + +/** Минорный цвет обводки информация */ +export const outlineDefaultOutlineInfoMinorHover = 'var(--outline-default-outline-info-minor-hover, #FFFFFFFF)'; + +/** Минорный цвет обводки информация */ +export const outlineDefaultOutlineInfoMinorActive = 'var(--outline-default-outline-info-minor-active, #1C62E3FF)'; + +/** Прозрачный цвет обводки успех */ +export const outlineDefaultOutlineTransparentPositive = + 'var(--outline-default-outline-transparent-positive, #24B23E47)'; + +/** Прозрачный цвет обводки успех */ +export const outlineDefaultOutlineTransparentPositiveHover = + 'var(--outline-default-outline-transparent-positive-hover, #24B23EFF)'; + +/** Прозрачный цвет обводки успех */ +export const outlineDefaultOutlineTransparentPositiveActive = + 'var(--outline-default-outline-transparent-positive-active, #24B23E56)'; + +/** Прозрачный цвет обводки предупреждение */ +export const outlineDefaultOutlineTransparentWarning = 'var(--outline-default-outline-transparent-warning, #FF702447)'; + +/** Прозрачный цвет обводки предупреждение */ +export const outlineDefaultOutlineTransparentWarningHover = + 'var(--outline-default-outline-transparent-warning-hover, #FF7024FF)'; + +/** Прозрачный цвет обводки предупреждение */ +export const outlineDefaultOutlineTransparentWarningActive = + 'var(--outline-default-outline-transparent-warning-active, #FF702456)'; + +/** Прозрачный цвет обводки предупреждение */ +export const outlineDefaultOutlineTransparentNegative = + 'var(--outline-default-outline-transparent-negative, #FF3D5147)'; + +/** Прозрачный цвет обводки предупреждение */ +export const outlineDefaultOutlineTransparentNegativeHover = + 'var(--outline-default-outline-transparent-negative-hover, #FF3D51FF)'; + +/** Прозрачный цвет обводки предупреждение */ +export const outlineDefaultOutlineTransparentNegativeActive = + 'var(--outline-default-outline-transparent-negative-active, #FF3D5156)'; + +/** Прозрачный цвет обводки информация */ +export const outlineDefaultOutlineTransparentInfoHover = + 'var(--outline-default-outline-transparent-info-hover, #3F82FDFF)'; + +/** Прозрачный цвет обводки информация */ +export const outlineDefaultOutlineTransparentInfoActive = + 'var(--outline-default-outline-transparent-info-active, #3F82FD56)'; + +/** Основной непрозрачный цвет обводки */ +export const outlineDefaultOutlineSolidPrimary = 'var(--outline-default-outline-solid-primary, #1B1B1B)'; + +/** Вторичный непрозрачный цвет обводки */ +export const outlineDefaultOutlineSolidSecondary = 'var(--outline-default-outline-solid-secondary, #393939)'; + +/** Третичный непрозрачный цвет обводки */ +export const outlineDefaultOutlineSolidTertiary = 'var(--outline-default-outline-solid-tertiary, #707070)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию */ +export const outlineDefaultOutlineSolidDefault = 'var(--outline-default-outline-solid-default, #F9F9F9)'; + +/** Основной прозрачный цвет обводки */ +export const outlineDefaultOutlineTransparentPrimary = + 'var(--outline-default-outline-transparent-primary, rgba(255,255,255,0.05))'; + +/** Вторичный прозрачный цвет обводки */ +export const outlineDefaultOutlineTransparentSecondary = + 'var(--outline-default-outline-transparent-secondary, rgba(255,255,255,0.20))'; + +/** Третичный прозрачный цвет обводки */ +export const outlineDefaultOutlineTransparentTertiary = + 'var(--outline-default-outline-transparent-tertiary, rgba(255,255,255,0.40))'; + +/** Бесцветная обводка */ +export const outlineDefaultOutlineClear = 'var(--outline-default-outline-clear, #FFFFFF00)'; + +/** Акцентный цвет обводки */ +export const outlineDefaultOutlineAccent = 'var(--outline-default-outline-accent, #3F81FD)'; + +/** Акцентный минорный непрозрачный цвет обводки */ +export const outlineDefaultOutlineAccentMinor = 'var(--outline-default-outline-accent-minor, #1549AB)'; + +/** Прозрачный акцентный цвет обводки */ +export const outlineDefaultOutlineTransparentAccent = + 'var(--outline-default-outline-transparent-accent, rgba(63,129,253,0.28))'; + +/** Цвет обводки информация */ +export const outlineDefaultOutlineInfo = 'var(--outline-default-outline-info, #3F81FD)'; + +/** Минорный цвет обводки информация */ +export const outlineDefaultOutlineInfoMinor = 'var(--outline-default-outline-info-minor, #1549AB)'; + +/** Прозрачный цвет обводки информация */ +export const outlineDefaultOutlineTransparentInfo = + 'var(--outline-default-outline-transparent-info, rgba(63,129,253,0.28))'; + +/** Основной непрозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineSolidPrimaryHover = 'var(--outline-on-dark-outline-solid-primary-hover, #FFFFFFFF)'; + +/** Основной непрозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineSolidPrimaryActive = 'var(--outline-on-dark-outline-solid-primary-active, #B5B5B5FF)'; + +/** Вторичный непрозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineSolidSecondaryHover = + 'var(--outline-on-dark-outline-solid-secondary-hover, #FFFFFFFF)'; + +/** Вторичный непрозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineSolidSecondaryActive = + 'var(--outline-on-dark-outline-solid-secondary-active, #9E9E9EFF)'; + +/** Третичный непрозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineSolidTertiaryHover = 'var(--outline-on-dark-outline-solid-tertiary-hover, #FFFFFFFF)'; + +/** Третичный непрозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineSolidTertiaryActive = + 'var(--outline-on-dark-outline-solid-tertiary-active, #737373FF)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию на темном фоне */ +export const outlineOnDarkOutlineSolidDefaultHover = 'var(--outline-on-dark-outline-solid-default-hover, #C7C7C7FF)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию на темном фоне */ +export const outlineOnDarkOutlineSolidDefaultActive = 'var(--outline-on-dark-outline-solid-default-active, #E0E0E0FF)'; + +/** Основной прозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineTransparentPrimaryHover = + 'var(--outline-on-dark-outline-transparent-primary-hover, #FFFFFFFF)'; + +/** Основной прозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineTransparentPrimaryActive = + 'var(--outline-on-dark-outline-transparent-primary-active, #FFFFFF0F)'; + +/** Вторичный прозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineTransparentSecondaryHover = + 'var(--outline-on-dark-outline-transparent-secondary-hover, #FFFFFFFF)'; + +/** Вторичный прозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineTransparentSecondaryActive = + 'var(--outline-on-dark-outline-transparent-secondary-active, #FFFFFF3D)'; + +/** Третичный прозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineTransparentTertiaryHover = + 'var(--outline-on-dark-outline-transparent-tertiary-hover, #FFFFFFFF)'; + +/** Третичный прозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineTransparentTertiaryActive = + 'var(--outline-on-dark-outline-transparent-tertiary-active, #FFFFFF7A)'; + +/** Акцентный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineAccentHover = 'var(--outline-on-dark-outline-accent-hover, #90B6FEFF)'; + +/** Акцентный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineAccentActive = 'var(--outline-on-dark-outline-accent-active, #216EFDFF)'; + +/** Акцентный минорный непрозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineAccentMinorHover = 'var(--outline-on-dark-outline-accent-minor-hover, #FFFFFFFF)'; + +/** Акцентный минорный непрозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineAccentMinorActive = 'var(--outline-on-dark-outline-accent-minor-active, #1C62E3FF)'; + +/** Прозрачный акцентный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineTransparentAccentHover = + 'var(--outline-on-dark-outline-transparent-accent-hover, #3F82FDFF)'; + +/** Прозрачный акцентный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineTransparentAccentActive = + 'var(--outline-on-dark-outline-transparent-accent-active, #3F82FD56)'; + +/** Цвет обводки успех на темном фоне */ +export const outlineOnDarkOutlinePositive = 'var(--outline-on-dark-outline-positive, #24B23E)'; + +/** Цвет обводки успех на темном фоне */ +export const outlineOnDarkOutlinePositiveHover = 'var(--outline-on-dark-outline-positive-hover, #2ACB47FF)'; + +/** Цвет обводки успех на темном фоне */ +export const outlineOnDarkOutlinePositiveActive = 'var(--outline-on-dark-outline-positive-active, #1F9835FF)'; + +/** Цвет обводки предупреждение на темном фоне */ +export const outlineOnDarkOutlineWarning = 'var(--outline-on-dark-outline-warning, #FF7024)'; + +/** Цвет обводки предупреждение на темном фоне */ +export const outlineOnDarkOutlineWarningHover = 'var(--outline-on-dark-outline-warning-hover, #FF8442FF)'; + +/** Цвет обводки предупреждение на темном фоне */ +export const outlineOnDarkOutlineWarningActive = 'var(--outline-on-dark-outline-warning-active, #FF5D05FF)'; + +/** Цвет обводки ошибка на темном фоне */ +export const outlineOnDarkOutlineNegative = 'var(--outline-on-dark-outline-negative, #FF3D51)'; + +/** Цвет обводки ошибка на темном фоне */ +export const outlineOnDarkOutlineNegativeHover = 'var(--outline-on-dark-outline-negative-hover, #FF5C6CFF)'; + +/** Цвет обводки ошибка на темном фоне */ +export const outlineOnDarkOutlineNegativeActive = 'var(--outline-on-dark-outline-negative-active, #FF1F35FF)'; + +/** Цвет обводки информация на темном фоне */ +export const outlineOnDarkOutlineInfoHover = 'var(--outline-on-dark-outline-info-hover, #90B6FEFF)'; + +/** Цвет обводки информация на темном фоне */ +export const outlineOnDarkOutlineInfoActive = 'var(--outline-on-dark-outline-info-active, #216EFDFF)'; + +/** Минорный цвет обводки успех на темном фоне */ +export const outlineOnDarkOutlinePositiveMinor = 'var(--outline-on-dark-outline-positive-minor, #095C18)'; + +/** Минорный цвет обводки успех на темном фоне */ +export const outlineOnDarkOutlinePositiveMinorHover = 'var(--outline-on-dark-outline-positive-minor-hover, #0F9527FF)'; + +/** Минорный цвет обводки успех на темном фоне */ +export const outlineOnDarkOutlinePositiveMinorActive = + 'var(--outline-on-dark-outline-positive-minor-active, #0C7920FF)'; + +/** Минорный цвет обводки предупреждение на темном фоне */ +export const outlineOnDarkOutlineWarningMinor = 'var(--outline-on-dark-outline-warning-minor, #85380C)'; + +/** Минорный цвет обводки предупреждение на темном фоне */ +export const outlineOnDarkOutlineWarningMinorHover = 'var(--outline-on-dark-outline-warning-minor-hover, #BB4F11FF)'; + +/** Минорный цвет обводки предупреждение на темном фоне */ +export const outlineOnDarkOutlineWarningMinorActive = 'var(--outline-on-dark-outline-warning-minor-active, #9F440FFF)'; + +/** Минорный цвет обводки ошибка на темном фоне */ +export const outlineOnDarkOutlineNegativeMinor = 'var(--outline-on-dark-outline-negative-minor, #9C1422)'; + +/** Минорный цвет обводки ошибка на темном фоне */ +export const outlineOnDarkOutlineNegativeMinorHover = 'var(--outline-on-dark-outline-negative-minor-hover, #B91828FF)'; + +/** Минорный цвет обводки ошибка на темном фоне */ +export const outlineOnDarkOutlineNegativeMinorActive = + 'var(--outline-on-dark-outline-negative-minor-active, #83111CFF)'; + +/** Минорный цвет обводки информация на темном фоне */ +export const outlineOnDarkOutlineInfoMinorHover = 'var(--outline-on-dark-outline-info-minor-hover, #FFFFFFFF)'; + +/** Минорный цвет обводки информация на темном фоне */ +export const outlineOnDarkOutlineInfoMinorActive = 'var(--outline-on-dark-outline-info-minor-active, #1C62E3FF)'; + +/** Прозрачный цвет обводки успех на темном фоне */ +export const outlineOnDarkOutlineTransparentPositive = 'var(--outline-on-dark-outline-transparent-positive, #24B23E47)'; + +/** Прозрачный цвет обводки успех на темном фоне */ +export const outlineOnDarkOutlineTransparentPositiveHover = + 'var(--outline-on-dark-outline-transparent-positive-hover, #24B23EFF)'; + +/** Прозрачный цвет обводки успех на темном фоне */ +export const outlineOnDarkOutlineTransparentPositiveActive = + 'var(--outline-on-dark-outline-transparent-positive-active, #24B23E56)'; + +/** Прозрачный цвет обводки предупреждение на темном фоне */ +export const outlineOnDarkOutlineTransparentWarning = 'var(--outline-on-dark-outline-transparent-warning, #FF702447)'; + +/** Прозрачный цвет обводки предупреждение на темном фоне */ +export const outlineOnDarkOutlineTransparentWarningHover = + 'var(--outline-on-dark-outline-transparent-warning-hover, #FF7024FF)'; + +/** Прозрачный цвет обводки предупреждение на темном фоне */ +export const outlineOnDarkOutlineTransparentWarningActive = + 'var(--outline-on-dark-outline-transparent-warning-active, #FF702456)'; + +/** Прозрачный цвет обводки предупреждение на темном фоне */ +export const outlineOnDarkOutlineTransparentNegative = 'var(--outline-on-dark-outline-transparent-negative, #FF3D5147)'; + +/** Прозрачный цвет обводки предупреждение на темном фоне */ +export const outlineOnDarkOutlineTransparentNegativeHover = + 'var(--outline-on-dark-outline-transparent-negative-hover, #FF3D51FF)'; + +/** Прозрачный цвет обводки предупреждение на темном фоне */ +export const outlineOnDarkOutlineTransparentNegativeActive = + 'var(--outline-on-dark-outline-transparent-negative-active, #FF3D5156)'; + +/** Прозрачный цвет обводки информация на темном фоне */ +export const outlineOnDarkOutlineTransparentInfoHover = + 'var(--outline-on-dark-outline-transparent-info-hover, #3F82FDFF)'; + +/** Прозрачный цвет обводки информация на темном фоне */ +export const outlineOnDarkOutlineTransparentInfoActive = + 'var(--outline-on-dark-outline-transparent-info-active, #3F82FD56)'; + +/** Основной непрозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineSolidPrimary = 'var(--outline-on-dark-outline-solid-primary, #1B1B1B)'; + +/** Вторичный непрозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineSolidSecondary = 'var(--outline-on-dark-outline-solid-secondary, #393939)'; + +/** Третичный непрозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineSolidTertiary = 'var(--outline-on-dark-outline-solid-tertiary, #707070)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию на темном фоне */ +export const outlineOnDarkOutlineSolidDefault = 'var(--outline-on-dark-outline-solid-default, #F9F9F9)'; + +/** Основной прозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineTransparentPrimary = + 'var(--outline-on-dark-outline-transparent-primary, rgba(255,255,255,0.05))'; + +/** Вторичный прозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineTransparentSecondary = + 'var(--outline-on-dark-outline-transparent-secondary, rgba(255,255,255,0.20))'; + +/** Третичный прозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineTransparentTertiary = + 'var(--outline-on-dark-outline-transparent-tertiary, rgba(255,255,255,0.40))'; + +/** Акцентный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineAccent = 'var(--outline-on-dark-outline-accent, #3F81FD)'; + +/** Акцентный минорный непрозрачный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineAccentMinor = 'var(--outline-on-dark-outline-accent-minor, #1549AB)'; + +/** Прозрачный акцентный цвет обводки на темном фоне */ +export const outlineOnDarkOutlineTransparentAccent = + 'var(--outline-on-dark-outline-transparent-accent, rgba(63,129,253,0.28))'; + +/** Цвет обводки информация на темном фоне */ +export const outlineOnDarkOutlineInfo = 'var(--outline-on-dark-outline-info, #3F81FD)'; + +/** Минорный цвет обводки информация на темном фоне */ +export const outlineOnDarkOutlineInfoMinor = 'var(--outline-on-dark-outline-info-minor, #1549AB)'; + +/** Прозрачный цвет обводки информация на темном фоне */ +export const outlineOnDarkOutlineTransparentInfo = + 'var(--outline-on-dark-outline-transparent-info, rgba(63,129,253,0.28))'; + +/** Основной непрозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineSolidPrimaryHover = 'var(--outline-on-light-outline-solid-primary-hover, #ADADADFF)'; + +/** Основной непрозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineSolidPrimaryActive = + 'var(--outline-on-light-outline-solid-primary-active, #C7C7C7FF)'; + +/** Вторичный непрозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineSolidSecondaryHover = + 'var(--outline-on-light-outline-solid-secondary-hover, #FFFFFFFF)'; + +/** Вторичный непрозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineSolidSecondaryActive = + 'var(--outline-on-light-outline-solid-secondary-active, #2E2E2EFF)'; + +/** Третичный непрозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineSolidTertiaryHover = + 'var(--outline-on-light-outline-solid-tertiary-hover, #FFFFFFFF)'; + +/** Третичный непрозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineSolidTertiaryActive = + 'var(--outline-on-light-outline-solid-tertiary-active, #737373FF)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне */ +export const outlineOnLightOutlineSolidDefaultHover = 'var(--outline-on-light-outline-solid-default-hover, #FFFFFFFF)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне */ +export const outlineOnLightOutlineSolidDefaultActive = + 'var(--outline-on-light-outline-solid-default-active, #C7C7C7FF)'; + +/** Основной прозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineTransparentPrimaryHover = + 'var(--outline-on-light-outline-transparent-primary-hover, #080808FF)'; + +/** Основной прозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineTransparentPrimaryActive = + 'var(--outline-on-light-outline-transparent-primary-active, #0808080F)'; + +/** Вторичный прозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineTransparentSecondaryHover = + 'var(--outline-on-light-outline-transparent-secondary-hover, #080808FF)'; + +/** Вторичный прозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineTransparentSecondaryActive = + 'var(--outline-on-light-outline-transparent-secondary-active, #0808083D)'; + +/** Третичный прозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineTransparentTertiaryHover = + 'var(--outline-on-light-outline-transparent-tertiary-hover, #080808FF)'; + +/** Третичный прозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineTransparentTertiaryActive = + 'var(--outline-on-light-outline-transparent-tertiary-active, #080808AB)'; + +/** Акцентный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineAccentHover = 'var(--outline-on-light-outline-accent-hover, #79A7FBFF)'; + +/** Акцентный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineAccentActive = 'var(--outline-on-light-outline-accent-active, #0D5FF8FF)'; + +/** Акцентный минорный непрозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineAccentMinorHover = 'var(--outline-on-light-outline-accent-minor-hover, #DCE8FEFF)'; + +/** Акцентный минорный непрозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineAccentMinorActive = 'var(--outline-on-light-outline-accent-minor-active, #6FA0FBFF)'; + +/** Прозрачный акцентный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineTransparentAccentHover = + 'var(--outline-on-light-outline-transparent-accent-hover, #2A72F8FF)'; + +/** Прозрачный акцентный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineTransparentAccentActive = + 'var(--outline-on-light-outline-transparent-accent-active, #2A72F83D)'; + +/** Цвет обводки успех на светлом фоне */ +export const outlineOnLightOutlinePositiveHover = 'var(--outline-on-light-outline-positive-hover, #1EB83AFF)'; + +/** Цвет обводки успех на светлом фоне */ +export const outlineOnLightOutlinePositiveActive = 'var(--outline-on-light-outline-positive-active, #15842AFF)'; + +/** Цвет обводки предупреждение на светлом фоне */ +export const outlineOnLightOutlineWarningHover = 'var(--outline-on-light-outline-warning-hover, #FB7223FF)'; + +/** Цвет обводки предупреждение на светлом фоне */ +export const outlineOnLightOutlineWarningActive = 'var(--outline-on-light-outline-warning-active, #DC5304FF)'; + +/** Цвет обводки ошибка на светлом фоне */ +export const outlineOnLightOutlineNegative = 'var(--outline-on-light-outline-negative, #F31B31)'; + +/** Цвет обводки ошибка на светлом фоне */ +export const outlineOnLightOutlineNegativeHover = 'var(--outline-on-light-outline-negative-hover, #F5384BFF)'; + +/** Цвет обводки ошибка на светлом фоне */ +export const outlineOnLightOutlineNegativeActive = 'var(--outline-on-light-outline-negative-active, #E40C22FF)'; + +/** Цвет обводки информация на светлом фоне */ +export const outlineOnLightOutlineInfoHover = 'var(--outline-on-light-outline-info-hover, #79A7FBFF)'; + +/** Цвет обводки информация на светлом фоне */ +export const outlineOnLightOutlineInfoActive = 'var(--outline-on-light-outline-info-active, #0D5FF8FF)'; + +/** Минорный цвет обводки успех на светлом фоне */ +export const outlineOnLightOutlinePositiveMinor = 'var(--outline-on-light-outline-positive-minor, #28D247)'; + +/** Минорный цвет обводки успех на светлом фоне */ +export const outlineOnLightOutlinePositiveMinorHover = + 'var(--outline-on-light-outline-positive-minor-hover, #3EDA5BFF)'; + +/** Минорный цвет обводки успех на светлом фоне */ +export const outlineOnLightOutlinePositiveMinorActive = + 'var(--outline-on-light-outline-positive-minor-active, #23B83EFF)'; + +/** Минорный цвет обводки предупреждение на светлом фоне */ +export const outlineOnLightOutlineWarningMinor = 'var(--outline-on-light-outline-warning-minor, #FD9C68)'; + +/** Минорный цвет обводки предупреждение на светлом фоне */ +export const outlineOnLightOutlineWarningMinorHover = 'var(--outline-on-light-outline-warning-minor-hover, #FDB086FF)'; + +/** Минорный цвет обводки предупреждение на светлом фоне */ +export const outlineOnLightOutlineWarningMinorActive = + 'var(--outline-on-light-outline-warning-minor-active, #FC884AFF)'; + +/** Минорный цвет обводки ошибка на светлом фоне */ +export const outlineOnLightOutlineNegativeMinor = 'var(--outline-on-light-outline-negative-minor, #FF8F9A)'; + +/** Минорный цвет обводки ошибка на светлом фоне */ +export const outlineOnLightOutlineNegativeMinorHover = + 'var(--outline-on-light-outline-negative-minor-hover, #FFADB6FF)'; + +/** Минорный цвет обводки ошибка на светлом фоне */ +export const outlineOnLightOutlineNegativeMinorActive = + 'var(--outline-on-light-outline-negative-minor-active, #FF707EFF)'; + +/** Минорный цвет обводки информация на светлом фоне */ +export const outlineOnLightOutlineInfoMinorHover = 'var(--outline-on-light-outline-info-minor-hover, #DCE8FEFF)'; + +/** Минорный цвет обводки информация на светлом фоне */ +export const outlineOnLightOutlineInfoMinorActive = 'var(--outline-on-light-outline-info-minor-active, #6FA0FBFF)'; + +/** Прозрачный цвет обводки успех на светлом фоне */ +export const outlineOnLightOutlineTransparentPositiveHover = + 'var(--outline-on-light-outline-transparent-positive-hover, #1A9E32FF)'; + +/** Прозрачный цвет обводки успех на светлом фоне */ +export const outlineOnLightOutlineTransparentPositiveActive = + 'var(--outline-on-light-outline-transparent-positive-active, #1A9E323D)'; + +/** Прозрачный цвет обводки предупреждение на светлом фоне */ +export const outlineOnLightOutlineTransparentWarningHover = + 'var(--outline-on-light-outline-transparent-warning-hover, #FA5F05FF)'; + +/** Прозрачный цвет обводки предупреждение на светлом фоне */ +export const outlineOnLightOutlineTransparentWarningActive = + 'var(--outline-on-light-outline-transparent-warning-active, #FA5F053D)'; + +/** Прозрачный цвет обводки предупреждение на светлом фоне */ +export const outlineOnLightOutlineTransparentNegative = + 'var(--outline-on-light-outline-transparent-negative, #F31B3133)'; + +/** Прозрачный цвет обводки предупреждение на светлом фоне */ +export const outlineOnLightOutlineTransparentNegativeHover = + 'var(--outline-on-light-outline-transparent-negative-hover, #F31B31FF)'; + +/** Прозрачный цвет обводки предупреждение на светлом фоне */ +export const outlineOnLightOutlineTransparentNegativeActive = + 'var(--outline-on-light-outline-transparent-negative-active, #F31B313D)'; + +/** Прозрачный цвет обводки информация на светлом фоне */ +export const outlineOnLightOutlineTransparentInfoHover = + 'var(--outline-on-light-outline-transparent-info-hover, #2A72F8FF)'; + +/** Прозрачный цвет обводки информация на светлом фоне */ +export const outlineOnLightOutlineTransparentInfoActive = + 'var(--outline-on-light-outline-transparent-info-active, #2A72F83D)'; + +/** Основной непрозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineSolidPrimary = 'var(--outline-on-light-outline-solid-primary, #E0E0E0)'; + +/** Вторичный непрозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineSolidSecondary = 'var(--outline-on-light-outline-solid-secondary, #C7C7C7)'; + +/** Третичный непрозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineSolidTertiary = 'var(--outline-on-light-outline-solid-tertiary, #707070)'; + +/** Непрозрачный фон поверхности/контрола по умолчанию на светлом фоне */ +export const outlineOnLightOutlineSolidDefault = 'var(--outline-on-light-outline-solid-default, #080808)'; + +/** Основной прозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineTransparentPrimary = + 'var(--outline-on-light-outline-transparent-primary, rgba(8,8,8,0.05))'; + +/** Вторичный прозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineTransparentSecondary = + 'var(--outline-on-light-outline-transparent-secondary, rgba(8,8,8,0.20))'; + +/** Третичный прозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineTransparentTertiary = + 'var(--outline-on-light-outline-transparent-tertiary, #0808088F)'; + +/** Акцентный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineAccent = 'var(--outline-on-light-outline-accent, #2A72F8)'; + +/** Акцентный минорный непрозрачный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineAccentMinor = 'var(--outline-on-light-outline-accent-minor, #8BB2FC)'; + +/** Прозрачный акцентный цвет обводки на светлом фоне */ +export const outlineOnLightOutlineTransparentAccent = + 'var(--outline-on-light-outline-transparent-accent, rgba(42,114,248,0.20))'; + +/** Цвет обводки информация на светлом фоне */ +export const outlineOnLightOutlineInfo = 'var(--outline-on-light-outline-info, #2A72F8)'; + +/** Цвет обводки успех на светлом фоне */ +export const outlineOnLightOutlinePositive = 'var(--outline-on-light-outline-positive, #1A9E32)'; + +/** Цвет обводки предупреждение на светлом фоне */ +export const outlineOnLightOutlineWarning = 'var(--outline-on-light-outline-warning, #FA5F05)'; + +/** Минорный цвет обводки информация на светлом фоне */ +export const outlineOnLightOutlineInfoMinor = 'var(--outline-on-light-outline-info-minor, #8BB2FC)'; + +/** Прозрачный цвет обводки успех на светлом фоне */ +export const outlineOnLightOutlineTransparentPositive = + 'var(--outline-on-light-outline-transparent-positive, rgba(26,158,50,0.20))'; + +/** Прозрачный цвет обводки предупреждение на светлом фоне */ +export const outlineOnLightOutlineTransparentWarning = + 'var(--outline-on-light-outline-transparent-warning, rgba(250,95,5,0.20))'; + +/** Прозрачный цвет обводки информация на светлом фоне */ +export const outlineOnLightOutlineTransparentInfo = + 'var(--outline-on-light-outline-transparent-info, rgba(42,114,248,0.20))'; + +/** Инвертированный основной непрозрачный цвет обводки */ +export const outlineInverseOutlineSolidPrimaryHover = 'var(--outline-inverse-outline-solid-primary-hover, #ADADADFF)'; + +/** Инвертированный основной непрозрачный цвет обводки */ +export const outlineInverseOutlineSolidPrimaryActive = 'var(--outline-inverse-outline-solid-primary-active, #C7C7C7FF)'; + +/** Инвертированный вторичный непрозрачный цвет обводки */ +export const outlineInverseOutlineSolidSecondaryHover = + 'var(--outline-inverse-outline-solid-secondary-hover, #FFFFFFFF)'; + +/** Инвертированный вторичный непрозрачный цвет обводки */ +export const outlineInverseOutlineSolidSecondaryActive = + 'var(--outline-inverse-outline-solid-secondary-active, #2E2E2EFF)'; + +/** Инвертированный третичный непрозрачный цвет обводки */ +export const outlineInverseOutlineSolidTertiaryHover = 'var(--outline-inverse-outline-solid-tertiary-hover, #FFFFFFFF)'; + +/** Инвертированный третичный непрозрачный цвет обводки */ +export const outlineInverseOutlineSolidTertiaryActive = + 'var(--outline-inverse-outline-solid-tertiary-active, #737373FF)'; + +/** Инвертированный непрозрачный фон поверхности/контрола по умолчанию */ +export const outlineInverseOutlineSolidDefaultHover = 'var(--outline-inverse-outline-solid-default-hover, #FFFFFFFF)'; + +/** Инвертированный непрозрачный фон поверхности/контрола по умолчанию */ +export const outlineInverseOutlineSolidDefaultActive = 'var(--outline-inverse-outline-solid-default-active, #C7C7C7FF)'; + +/** Инвертированный основной прозрачный цвет обводки */ +export const outlineInverseOutlineTransparentPrimaryHover = + 'var(--outline-inverse-outline-transparent-primary-hover, #080808FF)'; + +/** Инвертированный основной прозрачный цвет обводки */ +export const outlineInverseOutlineTransparentPrimaryActive = + 'var(--outline-inverse-outline-transparent-primary-active, #0808080F)'; + +/** Инвертированный вторичный прозрачный цвет обводки */ +export const outlineInverseOutlineTransparentSecondaryHover = + 'var(--outline-inverse-outline-transparent-secondary-hover, #080808FF)'; + +/** Инвертированный вторичный прозрачный цвет обводки */ +export const outlineInverseOutlineTransparentSecondaryActive = + 'var(--outline-inverse-outline-transparent-secondary-active, #0808083D)'; + +/** Инвертированный третичный прозрачный цвет обводки */ +export const outlineInverseOutlineTransparentTertiaryHover = + 'var(--outline-inverse-outline-transparent-tertiary-hover, #080808FF)'; + +/** Инвертированный третичный прозрачный цвет обводки */ +export const outlineInverseOutlineTransparentTertiaryActive = + 'var(--outline-inverse-outline-transparent-tertiary-active, #080808AB)'; + +/** Инвертированный акцентный цвет обводки */ +export const outlineInverseOutlineAccentHover = 'var(--outline-inverse-outline-accent-hover, #79A7FBFF)'; + +/** Инвертированный акцентный цвет обводки */ +export const outlineInverseOutlineAccentActive = 'var(--outline-inverse-outline-accent-active, #0D5FF8FF)'; + +/** Инвертированный акцентный минорный непрозрачный цвет обводки */ +export const outlineInverseOutlineAccentMinorHover = 'var(--outline-inverse-outline-accent-minor-hover, #DCE8FEFF)'; + +/** Инвертированный акцентный минорный непрозрачный цвет обводки */ +export const outlineInverseOutlineAccentMinorActive = 'var(--outline-inverse-outline-accent-minor-active, #6FA0FBFF)'; + +/** Прозрачный инвертированный акцентный цвет обводки */ +export const outlineInverseOutlineTransparentAccentHover = + 'var(--outline-inverse-outline-transparent-accent-hover, #2A72F8FF)'; + +/** Прозрачный инвертированный акцентный цвет обводки */ +export const outlineInverseOutlineTransparentAccentActive = + 'var(--outline-inverse-outline-transparent-accent-active, #2A72F83D)'; + +/** Инвертированный цвет обводки успех */ +export const outlineInverseOutlinePositiveHover = 'var(--outline-inverse-outline-positive-hover, #1EB83AFF)'; + +/** Инвертированный цвет обводки успех */ +export const outlineInverseOutlinePositiveActive = 'var(--outline-inverse-outline-positive-active, #15842AFF)'; + +/** Инвертированный цвет обводки предупреждение */ +export const outlineInverseOutlineWarningHover = 'var(--outline-inverse-outline-warning-hover, #FB7223FF)'; + +/** Инвертированный цвет обводки предупреждение */ +export const outlineInverseOutlineWarningActive = 'var(--outline-inverse-outline-warning-active, #DC5304FF)'; + +/** Инвертированный цвет обводки ошибка */ +export const outlineInverseOutlineNegative = 'var(--outline-inverse-outline-negative, #F31B31)'; + +/** Инвертированный цвет обводки ошибка */ +export const outlineInverseOutlineNegativeHover = 'var(--outline-inverse-outline-negative-hover, #F5384BFF)'; + +/** Инвертированный цвет обводки ошибка */ +export const outlineInverseOutlineNegativeActive = 'var(--outline-inverse-outline-negative-active, #E40C22FF)'; + +/** Инвертированный цвет обводки информация */ +export const outlineInverseOutlineInfoHover = 'var(--outline-inverse-outline-info-hover, #79A7FBFF)'; + +/** Инвертированный цвет обводки информация */ +export const outlineInverseOutlineInfoActive = 'var(--outline-inverse-outline-info-active, #0D5FF8FF)'; + +/** Инвертированный минорный цвет обводки успех */ +export const outlineInverseOutlinePositiveMinor = 'var(--outline-inverse-outline-positive-minor, #28D247)'; + +/** Инвертированный минорный цвет обводки успех */ +export const outlineInverseOutlinePositiveMinorHover = 'var(--outline-inverse-outline-positive-minor-hover, #3EDA5BFF)'; + +/** Инвертированный минорный цвет обводки успех */ +export const outlineInverseOutlinePositiveMinorActive = + 'var(--outline-inverse-outline-positive-minor-active, #23B83EFF)'; + +/** Инвертированный минорный цвет обводки предупреждение */ +export const outlineInverseOutlineWarningMinor = 'var(--outline-inverse-outline-warning-minor, #FD9C68)'; + +/** Инвертированный минорный цвет обводки предупреждение */ +export const outlineInverseOutlineWarningMinorHover = 'var(--outline-inverse-outline-warning-minor-hover, #FDB086FF)'; + +/** Инвертированный минорный цвет обводки предупреждение */ +export const outlineInverseOutlineWarningMinorActive = 'var(--outline-inverse-outline-warning-minor-active, #FC884AFF)'; + +/** Инвертированный минорный цвет обводки ошибка */ +export const outlineInverseOutlineNegativeMinor = 'var(--outline-inverse-outline-negative-minor, #FF8F9A)'; + +/** Инвертированный минорный цвет обводки ошибка */ +export const outlineInverseOutlineNegativeMinorHover = 'var(--outline-inverse-outline-negative-minor-hover, #FFADB6FF)'; + +/** Инвертированный минорный цвет обводки ошибка */ +export const outlineInverseOutlineNegativeMinorActive = + 'var(--outline-inverse-outline-negative-minor-active, #FF707EFF)'; + +/** Инвертированный минорный цвет обводки информация */ +export const outlineInverseOutlineInfoMinorHover = 'var(--outline-inverse-outline-info-minor-hover, #DCE8FEFF)'; + +/** Инвертированный минорный цвет обводки информация */ +export const outlineInverseOutlineInfoMinorActive = 'var(--outline-inverse-outline-info-minor-active, #6FA0FBFF)'; + +/** Прозрачный инвертированный цвет обводки успех */ +export const outlineInverseOutlineTransparentPositiveHover = + 'var(--outline-inverse-outline-transparent-positive-hover, #1A9E32FF)'; + +/** Прозрачный инвертированный цвет обводки успех */ +export const outlineInverseOutlineTransparentPositiveActive = + 'var(--outline-inverse-outline-transparent-positive-active, #1A9E323D)'; + +/** Прозрачный инвертированный цвет обводки предупреждение */ +export const outlineInverseOutlineTransparentWarningHover = + 'var(--outline-inverse-outline-transparent-warning-hover, #FA5F05FF)'; + +/** Прозрачный инвертированный цвет обводки предупреждение */ +export const outlineInverseOutlineTransparentWarningActive = + 'var(--outline-inverse-outline-transparent-warning-active, #FA5F053D)'; + +/** Прозрачный инвертированный цвет обводки предупреждение */ +export const outlineInverseOutlineTransparentNegative = + 'var(--outline-inverse-outline-transparent-negative, #F31B3133)'; + +/** Прозрачный инвертированный цвет обводки предупреждение */ +export const outlineInverseOutlineTransparentNegativeHover = + 'var(--outline-inverse-outline-transparent-negative-hover, #F31B31FF)'; + +/** Прозрачный инвертированный цвет обводки предупреждение */ +export const outlineInverseOutlineTransparentNegativeActive = + 'var(--outline-inverse-outline-transparent-negative-active, #F31B313D)'; + +/** Прозрачный инвертированный цвет обводки информация */ +export const outlineInverseOutlineTransparentInfoHover = + 'var(--outline-inverse-outline-transparent-info-hover, #2A72F8FF)'; + +/** Прозрачный инвертированный цвет обводки информация */ +export const outlineInverseOutlineTransparentInfoActive = + 'var(--outline-inverse-outline-transparent-info-active, #2A72F83D)'; + +/** Инвертированный основной непрозрачный цвет обводки */ +export const outlineInverseOutlineSolidPrimary = 'var(--outline-inverse-outline-solid-primary, #E0E0E0)'; + +/** Инвертированный вторичный непрозрачный цвет обводки */ +export const outlineInverseOutlineSolidSecondary = 'var(--outline-inverse-outline-solid-secondary, #C7C7C7)'; + +/** Инвертированный третичный непрозрачный цвет обводки */ +export const outlineInverseOutlineSolidTertiary = 'var(--outline-inverse-outline-solid-tertiary, #707070)'; + +/** Инвертированный непрозрачный фон поверхности/контрола по умолчанию */ +export const outlineInverseOutlineSolidDefault = 'var(--outline-inverse-outline-solid-default, #080808)'; + +/** Инвертированный основной прозрачный цвет обводки */ +export const outlineInverseOutlineTransparentPrimary = + 'var(--outline-inverse-outline-transparent-primary, rgba(8,8,8,0.05))'; + +/** Инвертированный вторичный прозрачный цвет обводки */ +export const outlineInverseOutlineTransparentSecondary = + 'var(--outline-inverse-outline-transparent-secondary, rgba(8,8,8,0.20))'; + +/** Инвертированный третичный прозрачный цвет обводки */ +export const outlineInverseOutlineTransparentTertiary = + 'var(--outline-inverse-outline-transparent-tertiary, #0808088F)'; + +/** Инвертированный акцентный цвет обводки */ +export const outlineInverseOutlineAccent = 'var(--outline-inverse-outline-accent, #2A72F8)'; + +/** Инвертированный акцентный минорный непрозрачный цвет обводки */ +export const outlineInverseOutlineAccentMinor = 'var(--outline-inverse-outline-accent-minor, #8BB2FC)'; + +/** Прозрачный инвертированный акцентный цвет обводки */ +export const outlineInverseOutlineTransparentAccent = 'var(--outline-inverse-outline-transparent-accent, #2A72F833)'; + +/** Инвертированный цвет обводки успех */ +export const outlineInverseOutlinePositive = 'var(--outline-inverse-outline-positive, #1A9E32)'; + +/** Инвертированный цвет обводки предупреждение */ +export const outlineInverseOutlineWarning = 'var(--outline-inverse-outline-warning, #FA5F05)'; + +/** Инвертированный цвет обводки информация */ +export const outlineInverseOutlineInfo = 'var(--outline-inverse-outline-info, #2A72F8)'; + +/** Инвертированный минорный цвет обводки информация */ +export const outlineInverseOutlineInfoMinor = 'var(--outline-inverse-outline-info-minor, #8BB2FC)'; + +/** Прозрачный инвертированный цвет обводки успех */ +export const outlineInverseOutlineTransparentPositive = + 'var(--outline-inverse-outline-transparent-positive, rgba(26,158,50,0.20))'; + +/** Прозрачный инвертированный цвет обводки предупреждение */ +export const outlineInverseOutlineTransparentWarning = + 'var(--outline-inverse-outline-transparent-warning, rgba(250,95,5,0.20))'; + +/** Прозрачный инвертированный цвет обводки информация */ +export const outlineInverseOutlineTransparentInfo = + 'var(--outline-inverse-outline-transparent-info, rgba(42,114,248,0.20))'; + +export const skeletonGradient = + 'var(--skeleton-gradient, linear-gradient( 90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.08) 6.25%, rgba(255, 255, 255, 0.05) 12.5%, rgba(255, 255, 255, 0.01) 25%, rgba(255, 255, 255, 0.05) 37.5%, rgba(255, 255, 255, 0.08) 43.75%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.08) 56.25%, rgba(255, 255, 255, 0.05) 62.5%, rgba(255, 255, 255, 0.01) 75%, rgba(255, 255, 255, 0.05) 87.5%, rgba(255, 255, 255, 0.08) 93.75%, rgba(255, 255, 255, 0.09) 100% ))'; + +export const skeletonGradientLighter = + 'var(--skeleton-gradient-lighter, linear-gradient( 90deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.32) 6.25%, rgba(255, 255, 255, 0.20) 12.5%, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.20) 37.5%, rgba(255, 255, 255, 0.32) 43.75%, rgba(255, 255, 255, 0.36) 50%, rgba(255, 255, 255, 0.08) 56.25%, rgba(255, 255, 255, 0.20) 62.5%, rgba(255, 255, 255, 0.04) 75%, rgba(255, 255, 255, 0.20) 87.5%, rgba(255, 255, 255, 0.32) 93.75%, rgba(255, 255, 255, 0.36) 100% ))'; + +/** @deprecated instead use onDarkTextPrimary */ +export const whitePrimary = 'var(--plasma-colors-white-primary, var(--on-dark-text-primary))'; + +/** @deprecated instead use onDarkTextSecondary */ +export const whiteSecondary = 'var(--plasma-colors-white-secondary, var(--on-dark-text-secondary))'; + +/** @deprecated instead use onDarkTextTertiary */ +export const whiteTertiary = 'var(--plasma-colors-white-tertiary, var(--on-dark-text-tertiary))'; + +/** @deprecated instead use onLightTextPrimary */ +export const blackPrimary = 'var(--plasma-colors-black-primary, var(--on-light-text-primary))'; + +/** @deprecated instead use onLightTextSecondary */ +export const blackSecondary = 'var(--plasma-colors-black-secondary, var(--on-light-text-secondary))'; + +/** @deprecated instead use onLightTextTertiary */ +export const blackTertiary = 'var(--plasma-colors-black-tertiary, var(--on-light-text-tertiary))'; + +/** @deprecated instead use onLightSurfaceSolidDefault */ +export const buttonBlack = 'var(--plasma-colors-button-black, var(--on-light-surface-solid-default))'; + +/** @deprecated instead use onLightSurfaceTransparentSecondary */ +export const buttonBlackSecondary = + 'var(--plasma-colors-button-black-secondary, var(--on-light-surface-transparent-secondary))'; + +/** @deprecated instead use onDarkSurfaceSolidDefault */ +export const buttonWhite = 'var(--plasma-colors-button-white, var(--on-dark-surface-solid-default))'; + +/** @deprecated instead use onDarkSurfaceTransparentSecondary */ +export const buttonWhiteSecondary = + 'var(--plasma-colors-button-white-secondary, var(--on-dark-surface-transparent-secondary))'; + +/** @deprecated instead use textPrimary */ +export const text = 'var(--plasma-colors-text, var(--text-primary))'; + +/** @deprecated instead use textPrimary */ +export const primary = 'var(--plasma-colors-primary, var(--text-primary))'; + +/** @deprecated instead use textSecondary */ +export const secondary = 'var(--plasma-colors-secondary, var(--text-secondary))'; + +/** @deprecated instead use textTertiary */ +export const tertiary = 'var(--plasma-colors-tertiary, var(--text-tertiary))'; + +/** @deprecated instead use textParagraph */ +export const paragraph = 'var(--plasma-colors-paragraph, var(--text-paragraph))'; + +/** @deprecated instead use backgroundPrimary */ +export const background = 'var(--plasma-colors-background, var(--background-primary))'; + +/** @deprecated instead use textAccent */ +export const accent = 'var(--plasma-colors-accent, var(--text-accent))'; + +/** @deprecated instead use textPositive */ +export const success = 'var(--plasma-colors-success, var(--text-positive))'; + +/** @deprecated instead use textWarning */ +export const warning = 'var(--plasma-colors-warning, var(--text-warning))'; + +/** @deprecated instead use textNegative */ +export const critical = 'var(--plasma-colors-critical, var(--text-negative))'; + +/** @deprecated instead use overlaySoft */ +export const overlay = 'var(--plasma-colors-overlay, var(--overlay-soft))'; + +/** @deprecated instead use surfaceTransparentPrimary */ +export const surfaceLiquid01 = 'var(--plasma-colors-surface-liquid01, var(--surface-transparent-primary))'; + +/** @deprecated instead use surfaceTransparentSecondary */ +export const surfaceLiquid02 = 'var(--plasma-colors-surface-liquid02, var(--surface-transparent-secondary))'; + +/** @deprecated instead use surfaceTransparentTertiary */ +export const surfaceLiquid03 = 'var(--plasma-colors-surface-liquid03, var(--surface-transparent-tertiary))'; + +/** @deprecated instead use surfaceSolidPrimary */ +export const surfaceSolid01 = 'var(--plasma-colors-surface-solid01, var(--surface-solid-primary))'; + +/** @deprecated instead use surfaceSolidSecondary */ +export const surfaceSolid02 = 'var(--plasma-colors-surface-solid02, var(--surface-solid-secondary))'; + +/** @deprecated instead use surfaceSolidTertiary */ +export const surfaceSolid03 = 'var(--plasma-colors-surface-solid03, var(--surface-solid-tertiary))'; + +/** @deprecated instead use surfaceTransparentCard */ +export const surfaceCard = 'var(--plasma-colors-surface-card, var(--surface-transparent-card))'; + +/** @deprecated instead use surfaceTransparentSecondary */ +export const buttonSecondary = 'var(--plasma-colors-button-secondary, var(--surface-transparent-secondary))'; + +/** @deprecated instead use textAccent */ +export const buttonAccent = 'var(--plasma-colors-button-accent, var(--text-accent))'; + +/** @deprecated instead use surfacePositive */ +export const buttonSuccess = 'var(--plasma-colors-button-success, var(--surface-positive))'; + +/** @deprecated instead use surfaceWarning */ +export const buttonWarning = 'var(--plasma-colors-button-warning, var(--surface-warning))'; + +/** @deprecated instead use surfaceNegative */ +export const buttonCritical = 'var(--plasma-colors-button-critical, var(--surface-negative))'; diff --git a/packages/plasma-tokens/src/themes/index.ts b/packages/plasma-tokens/src/themes/index.ts index 316c1854fe..9a353f53d1 100644 --- a/packages/plasma-tokens/src/themes/index.ts +++ b/packages/plasma-tokens/src/themes/index.ts @@ -2,6 +2,8 @@ export { plasma_b2c__dark, darkPlasma_b2c } from './plasma_b2c__dark'; export { plasma_b2c__light, lightPlasma_b2c } from './plasma_b2c__light'; +export { plasma_giga__dark, darkPlasma_giga } from './plasma_giga__dark'; +export { plasma_giga__light, lightPlasma_giga } from './plasma_giga__light'; export { plasma_web__dark, darkPlasma_web } from './plasma_web__dark'; export { plasma_web__light, lightPlasma_web } from './plasma_web__light'; export { sberHealth__dark, darkSberHealth } from './sberHealth__dark'; diff --git a/packages/plasma-tokens/src/themes/plasma_giga__dark.ts b/packages/plasma-tokens/src/themes/plasma_giga__dark.ts new file mode 100644 index 0000000000..125177c342 --- /dev/null +++ b/packages/plasma-tokens/src/themes/plasma_giga__dark.ts @@ -0,0 +1,841 @@ +// Generated by robots, do not change this manually! + +export const plasma_giga__dark = { + ':root': { + '--text-primary': 'rgba(255, 255, 255, 0.96)', + '--text-primary-hover': '#FFFFFF93', + '--text-primary-active': '#FFFFFFC4', + '--text-primary-brightness': '#FFFFFFF5', + '--text-secondary': 'rgba(255, 255, 255, 0.56)', + '--text-secondary-hover': '#FFFFFFFF', + '--text-secondary-active': '#FFFFFFAB', + '--text-tertiary': 'rgba(255, 255, 255, 0.28)', + '--text-tertiary-hover': '#FFFFFFFF', + '--text-tertiary-active': '#FFFFFF56', + '--text-paragraph': 'rgba(255, 255, 255, 0.8)', + '--text-paragraph-hover': '#FFFFFF7A', + '--text-paragraph-active': '#FFFFFFA3', + '--text-accent-hover': '#90B6FEFF', + '--text-accent-active': '#216EFDFF', + '--text-accent-gradient-hover': '#CCCCCCFF', + '--text-accent-gradient-active': '#E6E6E6FF', + '--text-accent-minor-hover': '#FFFFFFFF', + '--text-accent-minor-active': '#1C62E3FF', + '--text-positive-hover': '#1EB83AFF', + '--text-positive-active': '#15842AFF', + '--text-warning-hover': '#FB7223FF', + '--text-warning-active': '#DC5304FF', + '--text-negative-hover': '#FF475AFF', + '--text-negative-active': '#FF0A23FF', + '--text-info-hover': '#90B6FEFF', + '--text-info-active': '#216EFDFF', + '--text-positive-minor-hover': '#0F9527FF', + '--text-positive-minor-active': '#0C7920FF', + '--text-warning-minor-hover': '#BB4F11FF', + '--text-warning-minor-active': '#9F440FFF', + '--text-negative-minor-hover': '#B91828FF', + '--text-negative-minor-active': '#83111CFF', + '--text-info-minor-hover': '#FFFFFFFF', + '--text-info-minor-active': '#1C62E3FF', + '--text-accent': '#3F81FD', + '--text-accent-gradient': 'linear-gradient(90deg, #5E94FF 0%, #43DBFA 100%)', + '--text-accent-minor': '#1549AB', + '--text-positive': '#1A9E32', + '--text-warning': '#FA5F05', + '--text-negative': '#FF293E', + '--text-positive-minor': '#095C18', + '--text-warning-minor': '#85380C', + '--text-negative-minor': '#9C1422', + '--text-info-minor': '#1549AB', + '--text-info': '#3F81FD', + '--on-dark-text-primary': 'rgba(255, 255, 255, 0.96)', + '--on-dark-text-primary-hover': '#FFFFFF93', + '--on-dark-text-primary-active': '#FFFFFFC4', + '--on-dark-text-primary-brightness': '#FFFFFFF5', + '--on-dark-text-secondary': 'rgba(255, 255, 255, 0.56)', + '--on-dark-text-secondary-hover': '#FFFFFFFF', + '--on-dark-text-secondary-active': '#FFFFFFAB', + '--on-dark-text-tertiary': 'rgba(255, 255, 255, 0.28)', + '--on-dark-text-tertiary-hover': '#FFFFFFFF', + '--on-dark-text-tertiary-active': '#FFFFFF56', + '--on-dark-text-paragraph': 'rgba(255, 255, 255, 0.8)', + '--on-dark-text-paragraph-hover': '#FFFFFF7A', + '--on-dark-text-paragraph-active': '#FFFFFFA3', + '--on-dark-text-accent-hover': '#90B6FEFF', + '--on-dark-text-accent-active': '#216EFDFF', + '--on-dark-text-accent-gradient-hover': '#CCCCCCFF', + '--on-dark-text-accent-gradient-active': '#E6E6E6FF', + '--on-dark-text-accent-minor-hover': '#FFFFFFFF', + '--on-dark-text-accent-minor-active': '#1C62E3FF', + '--on-dark-text-positive-hover': '#1EB83AFF', + '--on-dark-text-positive-active': '#15842AFF', + '--on-dark-text-warning-hover': '#FB7223FF', + '--on-dark-text-warning-active': '#DC5304FF', + '--on-dark-text-negative-hover': '#FF475AFF', + '--on-dark-text-negative-active': '#FF0A23FF', + '--on-dark-text-info-hover': '#90B6FEFF', + '--on-dark-text-info-active': '#216EFDFF', + '--on-dark-text-positive-minor-hover': '#0F9527FF', + '--on-dark-text-positive-minor-active': '#0C7920FF', + '--on-dark-text-warning-minor-hover': '#BB4F11FF', + '--on-dark-text-warning-minor-active': '#9F440FFF', + '--on-dark-text-negative-minor-hover': '#B91828FF', + '--on-dark-text-negative-minor-active': '#83111CFF', + '--on-dark-text-info-minor-hover': '#FFFFFFFF', + '--on-dark-text-info-minor-active': '#1C62E3FF', + '--on-dark-text-accent': '#3F81FD', + '--on-dark-text-accent-minor': '#1549AB', + '--on-dark-text-accent-gradient': 'linear-gradient(90deg, #5E94FF 0%, #43DBFA 100%)', + '--on-dark-text-positive': '#1A9E32', + '--on-dark-text-warning': '#FA5F05', + '--on-dark-text-negative': '#FF293E', + '--on-dark-text-info': '#3F81FD', + '--on-dark-text-positive-minor': '#095C18', + '--on-dark-text-warning-minor': '#85380C', + '--on-dark-text-negative-minor': '#9C1422', + '--on-dark-text-info-minor': '#1549AB', + '--on-light-text-primary-hover': '#08080893', + '--on-light-text-primary-active': '#080808C4', + '--on-light-text-primary-brightness': '#080808F5', + '--on-light-text-secondary-hover': '#080808FF', + '--on-light-text-secondary-active': '#080808AB', + '--on-light-text-tertiary-hover': '#080808FF', + '--on-light-text-tertiary-active': '#08080856', + '--on-light-text-paragraph-hover': '#0808087A', + '--on-light-text-paragraph-active': '#080808A3', + '--on-light-text-accent-hover': '#79A7FBFF', + '--on-light-text-accent-active': '#0D5FF8FF', + '--on-light-text-accent-gradient-hover': '#CCCCCCFF', + '--on-light-text-accent-gradient-active': '#E6E6E6FF', + '--on-light-text-accent-minor-hover': '#DCE8FEFF', + '--on-light-text-accent-minor-active': '#6FA0FBFF', + '--on-light-text-positive-hover': '#1EB83AFF', + '--on-light-text-positive-active': '#15842AFF', + '--on-light-text-warning-hover': '#FB7223FF', + '--on-light-text-warning-active': '#DC5304FF', + '--on-light-text-negative-hover': '#F5384BFF', + '--on-light-text-negative-active': '#E40C22FF', + '--on-light-text-info-hover': '#79A7FBFF', + '--on-light-text-info-active': '#0D5FF8FF', + '--on-light-text-positive-minor-hover': '#3EDA5BFF', + '--on-light-text-positive-minor-active': '#23B83EFF', + '--on-light-text-warning-minor-hover': '#FDB086FF', + '--on-light-text-warning-minor-active': '#FC884AFF', + '--on-light-text-negative-minor-hover': '#FFADB6FF', + '--on-light-text-negative-minor-active': '#FF707EFF', + '--on-light-text-info-minor-hover': '#DCE8FEFF', + '--on-light-text-info-minor-active': '#6FA0FBFF', + '--on-light-text-accent': '#2A72F8', + '--on-light-text-accent-minor': '#8BB2FC', + '--on-light-text-accent-gradient': 'linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)', + '--on-light-text-positive': '#1A9E32', + '--on-light-text-warning': '#FA5F05', + '--on-light-text-negative': '#F31B31', + '--on-light-text-info': '#2A72F8', + '--on-light-text-positive-minor': '#28D247', + '--on-light-text-warning-minor': '#FD9C68', + '--on-light-text-negative-minor': '#FF8F9A', + '--on-light-text-info-minor': '#8BB2FC', + '--on-light-text-primary': 'rgba(8,8,8,0.96)', + '--on-light-text-secondary': 'rgba(8,8,8,0.56)', + '--on-light-text-tertiary': 'rgba(8,8,8,0.28)', + '--on-light-text-paragraph': 'rgba(8,8,8,0.80)', + '--inverse-text-primary-hover': '#08080893', + '--inverse-text-primary-active': '#080808C4', + '--inverse-text-primary-brightness': '#080808F5', + '--inverse-text-secondary-hover': '#080808FF', + '--inverse-text-secondary-active': '#080808AB', + '--inverse-text-tertiary-hover': '#080808FF', + '--inverse-text-tertiary-active': '#08080856', + '--inverse-text-paragraph-hover': '#0808087A', + '--inverse-text-paragraph-active': '#080808A3', + '--inverse-text-accent-hover': '#79A7FBFF', + '--inverse-text-accent-active': '#0D5FF8FF', + '--inverse-text-accent-gradient-hover': '#CCCCCCFF', + '--inverse-text-accent-gradient-active': '#E6E6E6FF', + '--inverse-text-accent-minor-hover': '#DCE8FEFF', + '--inverse-text-accent-minor-active': '#6FA0FBFF', + '--inverse-text-positive-hover': '#1EB83AFF', + '--inverse-text-positive-active': '#15842AFF', + '--inverse-text-warning-hover': '#FB7223FF', + '--inverse-text-warning-active': '#DC5304FF', + '--inverse-text-negative-hover': '#F5384BFF', + '--inverse-text-negative-active': '#E40C22FF', + '--inverse-text-info-hover': '#79A7FBFF', + '--inverse-text-info-active': '#0D5FF8FF', + '--inverse-text-positive-minor-hover': '#3EDA5BFF', + '--inverse-text-positive-minor-active': '#23B83EFF', + '--inverse-text-warning-minor-hover': '#FDB086FF', + '--inverse-text-warning-minor-active': '#FC884AFF', + '--inverse-text-negative-minor-hover': '#FFADB6FF', + '--inverse-text-negative-minor-active': '#FF707EFF', + '--inverse-text-info-minor-hover': '#DCE8FEFF', + '--inverse-text-info-minor-active': '#6FA0FBFF', + '--inverse-text-primary': 'rgba(8,8,8,0.96)', + '--inverse-text-secondary': 'rgba(8,8,8,0.56)', + '--inverse-text-tertiary': 'rgba(8,8,8,0.28)', + '--inverse-text-paragraph': 'rgba(8,8,8,0.80)', + '--inverse-text-accent': '#2A72F8', + '--inverse-text-accent-gradient': 'linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)', + '--inverse-text-accent-minor': '#8BB2FC', + '--inverse-text-positive': '#1A9E32', + '--inverse-text-warning': '#FA5F05', + '--inverse-text-negative': '#F31B31', + '--inverse-text-info': '#2A72F8', + '--inverse-text-positive-minor': '#28D247', + '--inverse-text-warning-minor': '#FD9C68', + '--inverse-text-negative-minor': '#FF8F9A', + '--inverse-text-info-minor': '#8BB2FC', + '--surface-solid-primary-hover': '#121212FF', + '--surface-solid-primary-active': '#080808FF', + '--surface-solid-primary-brightness': '#1C1C1CFF', + '--surface-solid-secondary-hover': '#242424FF', + '--surface-solid-secondary-active': '#141414FF', + '--surface-solid-tertiary-hover': '#303030FF', + '--surface-solid-tertiary-active': '#212121FF', + '--surface-solid-card-hover': '#1C1C1CFF', + '--surface-solid-card-active': '#121212FF', + '--surface-solid-card-brightness': '#262626FF', + '--surface-solid-default-hover': '#FFFFFFFF', + '--surface-solid-default-active': '#FFFFFFFF', + '--surface-transparent-primary-hover': '#FFFFFF1C', + '--surface-transparent-primary-active': '#FFFFFF08', + '--surface-transparent-secondary-hover': '#FFFFFF38', + '--surface-transparent-secondary-active': '#FFFFFF0A', + '--surface-transparent-tertiary-hover': '#FFFFFF45', + '--surface-transparent-tertiary-active': '#FFFFFF17', + '--surface-transparent-deep-hover': '#FFFFFFC2', + '--surface-transparent-deep-active': '#FFFFFF94', + '--surface-transparent-card-hover': '#FFFFFF3D', + '--surface-transparent-card-active': '#FFFFFF0F', + '--surface-transparent-card-brightness': '#FFFFFF1F', + '--surface-clear-hover': '#FFFFFFFF', + '--surface-clear-active': '#FFFFFFFF', + '--surface-accent-hover': '#5D95FDFF', + '--surface-accent-active': '#357BFDFF', + '--surface-accent-gradient-hover': '#FFFFFFFF', + '--surface-accent-gradient-active': '#FFFFFFFF', + '--surface-accent-minor-hover': '#0A2A67FF', + '--surface-accent-minor-active': '#071F4BFF', + '--surface-transparent-accent-hover': '#3F82FD52', + '--surface-transparent-accent-active': '#3F82FD24', + '--surface-positive-hover': '#1DAF37FF', + '--surface-positive-active': '#18952FFF', + '--surface-warning-hover': '#FB7223FF', + '--surface-warning-active': '#F05B05FF', + '--surface-negative-hover': '#FF475AFF', + '--surface-negative-active': '#FF1F35FF', + '--surface-info-hover': '#5D95FDFF', + '--surface-info-active': '#357BFDFF', + '--surface-positive-minor-hover': '#0E3A16FF', + '--surface-positive-minor-active': '#08210CFF', + '--surface-warning-minor-hover': '#4F250DFF', + '--surface-warning-minor-active': '#351909FF', + '--surface-negative-minor-hover': '#5B1018FF', + '--surface-negative-minor-active': '#410B11FF', + '--surface-info-minor-hover': '#0A2A67FF', + '--surface-info-minor-active': '#071F4BFF', + '--surface-transparent-positive': '#1A9E3233', + '--surface-transparent-positive-hover': '#1A9E3252', + '--surface-transparent-positive-active': '#1A9E3224', + '--surface-transparent-warning': '#FA5F0533', + '--surface-transparent-warning-hover': '#FA5F0552', + '--surface-transparent-warning-active': '#FA5F0524', + '--surface-transparent-negative': '#FF293E33', + '--surface-transparent-negative-hover': '#FF293E52', + '--surface-transparent-negative-active': '#FF293E24', + '--surface-transparent-info-hover': '#3F82FD52', + '--surface-transparent-info-active': '#3F82FD24', + '--surface-solid-primary': '#0D0D0D', + '--surface-solid-secondary': '#191919', + '--surface-solid-tertiary': '#262626', + '--surface-solid-card': '#171717', + '--surface-solid-default': '#FFFFFF', + '--surface-transparent-card': 'rgba(255,255,255,0.12)', + '--surface-transparent-primary': 'rgba(255,255,255,0.05)', + '--surface-transparent-secondary': 'rgba(255,255,255,0.10)', + '--surface-transparent-tertiary': 'rgba(255,255,255,0.15)', + '--surface-transparent-deep': 'rgba(255,255,255,0.64)', + '--surface-clear': '#FFFFFF00', + '--surface-accent': '#3F81FD', + '--surface-accent-gradient': 'linear-gradient(90deg, #3E79F0 0%, #27C6E5 100%)', + '--surface-accent-minor': '#082254', + '--surface-transparent-accent': 'rgba(63,129,253,0.20)', + '--surface-positive': '#1A9E32', + '--surface-warning': '#FA5F05', + '--surface-negative': '#FF293E', + '--surface-info': '#3F81FD', + '--surface-positive-minor': '#0A2B10', + '--surface-warning-minor': '#3D1D0A', + '--surface-negative-minor': '#4A0D13', + '--surface-info-minor': '#082254', + '--surface-transparent-info': 'rgba(63,129,253,0.20)', + '--on-dark-surface-solid-primary-hover': '#121212FF', + '--on-dark-surface-solid-primary-active': '#080808FF', + '--on-dark-surface-solid-primary-brightness': '#1C1C1CFF', + '--on-dark-surface-solid-secondary-hover': '#242424FF', + '--on-dark-surface-solid-secondary-active': '#141414FF', + '--on-dark-surface-solid-tertiary-hover': '#303030FF', + '--on-dark-surface-solid-tertiary-active': '#212121FF', + '--on-dark-surface-solid-card-hover': '#1C1C1CFF', + '--on-dark-surface-solid-card-active': '#121212FF', + '--on-dark-surface-solid-card-brightness': '#262626FF', + '--on-dark-surface-solid-default-hover': '#FFFFFFFF', + '--on-dark-surface-solid-default-active': '#FFFFFFFF', + '--on-dark-surface-transparent-primary-hover': '#FFFFFF1C', + '--on-dark-surface-transparent-primary-active': '#FFFFFF08', + '--on-dark-surface-transparent-secondary-hover': '#FFFFFF38', + '--on-dark-surface-transparent-secondary-active': '#FFFFFF0A', + '--on-dark-surface-transparent-tertiary-hover': '#FFFFFF45', + '--on-dark-surface-transparent-tertiary-active': '#FFFFFF17', + '--on-dark-surface-transparent-deep-hover': '#FFFFFFC2', + '--on-dark-surface-transparent-deep-active': '#FFFFFF94', + '--on-dark-surface-transparent-card-hover': '#FFFFFF3D', + '--on-dark-surface-transparent-card-active': '#FFFFFF0F', + '--on-dark-surface-transparent-card-brightness': '#FFFFFF1F', + '--on-dark-surface-accent-hover': '#5D95FDFF', + '--on-dark-surface-accent-active': '#357BFDFF', + '--on-dark-surface-accent-gradient-hover': '#FFFFFFFF', + '--on-dark-surface-accent-gradient-active': '#FFFFFFFF', + '--on-dark-surface-accent-minor-hover': '#0A2A67FF', + '--on-dark-surface-accent-minor-active': '#071F4BFF', + '--on-dark-surface-transparent-accent-hover': '#3F82FD52', + '--on-dark-surface-transparent-accent-active': '#3F82FD24', + '--on-dark-surface-positive-hover': '#1DAF37FF', + '--on-dark-surface-positive-active': '#18952FFF', + '--on-dark-surface-warning-hover': '#FB7223FF', + '--on-dark-surface-warning-active': '#F05B05FF', + '--on-dark-surface-negative-hover': '#FF475AFF', + '--on-dark-surface-negative-active': '#FF1F35FF', + '--on-dark-surface-info-hover': '#5D95FDFF', + '--on-dark-surface-info-active': '#357BFDFF', + '--on-dark-surface-positive-minor-hover': '#0E3A16FF', + '--on-dark-surface-positive-minor-active': '#08210CFF', + '--on-dark-surface-warning-minor-hover': '#4F250DFF', + '--on-dark-surface-warning-minor-active': '#351909FF', + '--on-dark-surface-negative-minor-hover': '#5B1018FF', + '--on-dark-surface-negative-minor-active': '#410B11FF', + '--on-dark-surface-info-minor-hover': '#0A2A67FF', + '--on-dark-surface-info-minor-active': '#071F4BFF', + '--on-dark-surface-transparent-positive': '#1A9E3233', + '--on-dark-surface-transparent-positive-hover': '#1A9E3252', + '--on-dark-surface-transparent-positive-active': '#1A9E3224', + '--on-dark-surface-transparent-warning': '#FA5F0533', + '--on-dark-surface-transparent-warning-hover': '#FA5F0552', + '--on-dark-surface-transparent-warning-active': '#FA5F0524', + '--on-dark-surface-transparent-negative': '#FF293E33', + '--on-dark-surface-transparent-negative-hover': '#FF293E52', + '--on-dark-surface-transparent-negative-active': '#FF293E24', + '--on-dark-surface-transparent-info-hover': '#3F82FD52', + '--on-dark-surface-transparent-info-active': '#3F82FD24', + '--on-dark-surface-solid-card': '#171717', + '--on-dark-surface-solid-primary': '#0D0D0D', + '--on-dark-surface-solid-secondary': '#191919', + '--on-dark-surface-solid-tertiary': '#262626', + '--on-dark-surface-solid-default': '#FFFFFF', + '--on-dark-surface-transparent-card': 'rgba(255,255,255,0.12)', + '--on-dark-surface-transparent-primary': 'rgba(255,255,255,0.05)', + '--on-dark-surface-transparent-secondary': 'rgba(255,255,255,0.10)', + '--on-dark-surface-transparent-tertiary': 'rgba(255,255,255,0.15)', + '--on-dark-surface-transparent-deep': 'rgba(255,255,255,0.64)', + '--on-dark-surface-accent': '#3F81FD', + '--on-dark-surface-accent-minor': '#082254', + '--on-dark-surface-accent-gradient': 'linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)', + '--on-dark-surface-transparent-accent': 'rgba(63,129,253,0.20)', + '--on-dark-surface-positive': '#1A9E32', + '--on-dark-surface-warning': '#FA5F05', + '--on-dark-surface-negative': '#FF293E', + '--on-dark-surface-info': '#3F81FD', + '--on-dark-surface-positive-minor': '#0A2B10', + '--on-dark-surface-warning-minor': '#3D1D0A', + '--on-dark-surface-negative-minor': '#4A0D13', + '--on-dark-surface-info-minor': '#082254', + '--on-dark-surface-transparent-info': 'rgba(63,129,253,0.20)', + '--on-light-surface-solid-primary-hover': '#F7F7F7FF', + '--on-light-surface-solid-primary-active': '#EDEDEDFF', + '--on-light-surface-solid-primary-brightness': '#FFFFFFFF', + '--on-light-surface-solid-secondary-hover': '#F2F2F2FF', + '--on-light-surface-solid-secondary-active': '#E3E3E3FF', + '--on-light-surface-solid-tertiary-hover': '#E3E3E3FF', + '--on-light-surface-solid-tertiary-active': '#D4D4D4FF', + '--on-light-surface-solid-card-hover': '#FFFFFFFF', + '--on-light-surface-solid-card-active': '#FFFFFFFF', + '--on-light-surface-solid-card-brightness': '#FFFFFFFF', + '--on-light-surface-solid-default-hover': '#0D0D0DFF', + '--on-light-surface-solid-default-active': '#030303FF', + '--on-light-surface-transparent-primary-hover': '#0808081C', + '--on-light-surface-transparent-primary-active': '#08080808', + '--on-light-surface-transparent-secondary-hover': '#08080838', + '--on-light-surface-transparent-secondary-active': '#0808080A', + '--on-light-surface-transparent-tertiary-hover': '#08080845', + '--on-light-surface-transparent-tertiary-active': '#08080817', + '--on-light-surface-transparent-deep-hover': '#080808C2', + '--on-light-surface-transparent-deep-active': '#08080894', + '--on-light-surface-transparent-card-hover': '#FFFFFFFF', + '--on-light-surface-transparent-card-active': '#FFFFFFFF', + '--on-light-surface-transparent-card-brightness': '#FFFFFFFF', + '--on-light-surface-accent-hover': '#4886F9FF', + '--on-light-surface-accent-active': '#206CF8FF', + '--on-light-surface-accent-gradient-hover': '#FFFFFFFF', + '--on-light-surface-accent-gradient-active': '#FFFFFFFF', + '--on-light-surface-accent-minor-hover': '#EBF1FFFF', + '--on-light-surface-accent-minor-active': '#D6E4FFFF', + '--on-light-surface-transparent-accent-hover': '#2A72F83D', + '--on-light-surface-transparent-accent-active': '#2A72F80F', + '--on-light-surface-positive-hover': '#1DAF37FF', + '--on-light-surface-positive-active': '#18952FFF', + '--on-light-surface-warning-hover': '#FB7223FF', + '--on-light-surface-warning-active': '#F05B05FF', + '--on-light-surface-negative-hover': '#FF475AFF', + '--on-light-surface-negative-active': '#FF1F35FF', + '--on-light-surface-info-hover': '#5D95FDFF', + '--on-light-surface-info-active': '#357BFDFF', + '--on-light-surface-positive-minor-hover': '#B1FBBFFF', + '--on-light-surface-positive-minor-active': '#94F9A7FF', + '--on-light-surface-warning-minor-hover': '#FEE9DCFF', + '--on-light-surface-warning-minor-active': '#FEDCC8FF', + '--on-light-surface-negative-minor-hover': '#FFEBEDFF', + '--on-light-surface-negative-minor-active': '#FFD6DAFF', + '--on-light-surface-info-minor-hover': '#EBF1FFFF', + '--on-light-surface-info-minor-active': '#D6E4FFFF', + '--on-light-surface-transparent-positive': '#1A9E321F', + '--on-light-surface-transparent-positive-hover': '#1A9E323D', + '--on-light-surface-transparent-positive-active': '#1A9E320F', + '--on-light-surface-transparent-warning': '#FA5F051F', + '--on-light-surface-transparent-warning-hover': '#FA5F053D', + '--on-light-surface-transparent-warning-active': '#FA5F050F', + '--on-light-surface-transparent-negative': '#FF293E1F', + '--on-light-surface-transparent-negative-hover': '#FF293E3D', + '--on-light-surface-transparent-negative-active': '#FF293E0F', + '--on-light-surface-transparent-info-hover': '#2A72F83D', + '--on-light-surface-transparent-info-active': '#2A72F80F', + '--on-light-surface-solid-card': '#FFFFFF', + '--on-light-surface-solid-primary': '#F2F2F2', + '--on-light-surface-solid-secondary': '#E7E7E7', + '--on-light-surface-solid-tertiary': '#DADADA', + '--on-light-surface-solid-default': '#080808', + '--on-light-surface-transparent-primary': 'rgba(8,8,8,0.05)', + '--on-light-surface-transparent-card': '#FFFFFF', + '--on-light-surface-transparent-secondary': 'rgba(8,8,8,0.10)', + '--on-light-surface-transparent-tertiary': 'rgba(8,8,8,0.15)', + '--on-light-surface-transparent-deep': 'rgba(8,8,8,0.64)', + '--on-light-surface-accent': '#2A72F8', + '--on-light-surface-accent-gradient': 'linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)', + '--on-light-surface-accent-minor': '#DEE9FF', + '--on-light-surface-transparent-accent': 'rgba(42,114,248,0.12)', + '--on-light-surface-positive': '#1A9E32', + '--on-light-surface-warning': '#FA5F05', + '--on-light-surface-negative': '#FF293E', + '--on-light-surface-info': '#3F81FD', + '--on-light-surface-positive-minor': '#9EFAAF', + '--on-light-surface-warning-minor': '#FEE2D2', + '--on-light-surface-negative-minor': '#FFE0E3', + '--on-light-surface-info-minor': '#DEE9FF', + '--on-light-surface-transparent-info': 'rgba(42,114,248,0.12)', + '--inverse-surface-solid-primary-hover': '#F7F7F7FF', + '--inverse-surface-solid-primary-active': '#EDEDEDFF', + '--inverse-surface-solid-primary-brightness': '#FFFFFFFF', + '--inverse-surface-solid-secondary-hover': '#F2F2F2FF', + '--inverse-surface-solid-secondary-active': '#E3E3E3FF', + '--inverse-surface-solid-tertiary-hover': '#E3E3E3FF', + '--inverse-surface-solid-tertiary-active': '#D4D4D4FF', + '--inverse-surface-solid-card-hover': '#FFFFFFFF', + '--inverse-surface-solid-card-active': '#FFFFFFFF', + '--inverse-surface-solid-card-brightness': '#FFFFFFFF', + '--inverse-surface-solid-default-hover': '#0D0D0DFF', + '--inverse-surface-solid-default-active': '#030303FF', + '--inverse-surface-transparent-primary-hover': '#0808081C', + '--inverse-surface-transparent-primary-active': '#08080808', + '--inverse-surface-transparent-secondary-hover': '#08080838', + '--inverse-surface-transparent-secondary-active': '#0808080A', + '--inverse-surface-transparent-tertiary-hover': '#08080845', + '--inverse-surface-transparent-tertiary-active': '#08080817', + '--inverse-surface-transparent-deep-hover': '#080808C2', + '--inverse-surface-transparent-deep-active': '#08080894', + '--inverse-surface-transparent-card-hover': '#FFFFFFFF', + '--inverse-surface-transparent-card-active': '#FFFFFFFF', + '--inverse-surface-transparent-card-brightness': '#FFFFFFFF', + '--inverse-surface-accent-hover': '#5D95FDFF', + '--inverse-surface-accent-active': '#357BFDFF', + '--inverse-surface-accent-gradient-hover': '#FFFFFFFF', + '--inverse-surface-accent-gradient-active': '#FFFFFFFF', + '--inverse-surface-accent-minor-hover': '#EBF1FFFF', + '--inverse-surface-accent-minor-active': '#D6E4FFFF', + '--inverse-surface-transparent-accent-hover': '#2A72F83D', + '--inverse-surface-transparent-accent-active': '#2A72F80F', + '--inverse-surface-positive-hover': '#1DAF37FF', + '--inverse-surface-positive-active': '#18952FFF', + '--inverse-surface-warning-hover': '#FB7223FF', + '--inverse-surface-warning-active': '#F05B05FF', + '--inverse-surface-negative-hover': '#FF475AFF', + '--inverse-surface-negative-active': '#FF1F35FF', + '--inverse-surface-info-hover': '#5D95FDFF', + '--inverse-surface-info-active': '#357BFDFF', + '--inverse-surface-positive-minor-hover': '#B1FBBFFF', + '--inverse-surface-positive-minor-active': '#94F9A7FF', + '--inverse-surface-warning-minor-hover': '#FEE9DCFF', + '--inverse-surface-warning-minor-active': '#FEDCC8FF', + '--inverse-surface-negative-minor-hover': '#FFEBEDFF', + '--inverse-surface-negative-minor-active': '#FFD6DAFF', + '--inverse-surface-info-minor-hover': '#EBF1FFFF', + '--inverse-surface-info-minor-active': '#D6E4FFFF', + '--inverse-surface-transparent-positive': '#1A9E321F', + '--inverse-surface-transparent-positive-hover': '#1A9E323D', + '--inverse-surface-transparent-positive-active': '#1A9E320F', + '--inverse-surface-transparent-warning': '#FA5F051F', + '--inverse-surface-transparent-warning-hover': '#FA5F053D', + '--inverse-surface-transparent-warning-active': '#FA5F050F', + '--inverse-surface-transparent-negative': '#FF293E1F', + '--inverse-surface-transparent-negative-hover': '#FF293E3D', + '--inverse-surface-transparent-negative-active': '#FF293E0F', + '--inverse-surface-transparent-info-hover': '#2A72F83D', + '--inverse-surface-transparent-info-active': '#2A72F80F', + '--inverse-surface-solid-card': '#FFFFFF', + '--inverse-surface-solid-primary': '#F2F2F2', + '--inverse-surface-solid-secondary': '#E7E7E7', + '--inverse-surface-solid-tertiary': '#DADADA', + '--inverse-surface-solid-default': '#080808', + '--inverse-surface-transparent-card': '#FFFFFF', + '--inverse-surface-transparent-primary': 'rgba(8,8,8,0.05)', + '--inverse-surface-transparent-secondary': 'rgba(8,8,8,0.10)', + '--inverse-surface-transparent-tertiary': 'rgba(8,8,8,0.15)', + '--inverse-surface-transparent-deep': 'rgba(8,8,8,0.64)', + '--inverse-surface-accent': '#3F81FD', + '--inverse-surface-accent-gradient': 'linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)', + '--inverse-surface-accent-minor': '#DEE9FF', + '--inverse-surface-transparent-accent': 'rgba(42,114,248,0.12)', + '--inverse-surface-positive': '#1A9E32', + '--inverse-surface-warning': '#FA5F05', + '--inverse-surface-negative': '#FF293E', + '--inverse-surface-info': '#3F81FD', + '--inverse-surface-positive-minor': '#9EFAAF', + '--inverse-surface-warning-minor': '#FEE2D2', + '--inverse-surface-negative-minor': '#FFE0E3', + '--inverse-surface-info-minor': '#DEE9FF', + '--inverse-surface-transparent-info': 'rgba(42,114,248,0.12)', + '--background-primary': '#080808', + '--dark-background-primary': '#080808', + '--light-background-primary': '#F9F9F9', + '--inverse-background-primary': '#F9F9F9', + '--overlay-soft': '#0808088F', + '--overlay-hard': '#080808F5', + '--overlay-blur': '#08080847', + '--on-dark-overlay-soft': '#0808088F', + '--on-dark-overlay-hard': '#080808F5', + '--on-dark-overlay-blur': '#08080847', + '--on-light-overlay-soft': '#F9F9F98F', + '--on-light-overlay-hard': '#F9F9F9F5', + '--on-light-overlay-blur': '#F9F9F947', + '--inverse-overlay-soft': '#F9F9F98F', + '--inverse-overlay-hard': '#F9F9F9F5', + '--inverse-overlay-blur': '#F9F9F947', + '--outline-default-outline-solid-primary-hover': '#FFFFFFFF', + '--outline-default-outline-solid-primary-active': '#B5B5B5FF', + '--outline-default-outline-solid-secondary-hover': '#FFFFFFFF', + '--outline-default-outline-solid-secondary-active': '#9E9E9EFF', + '--outline-default-outline-solid-tertiary-hover': '#FFFFFFFF', + '--outline-default-outline-solid-tertiary-active': '#737373FF', + '--outline-default-outline-solid-default-hover': '#C7C7C7FF', + '--outline-default-outline-solid-default-active': '#E0E0E0FF', + '--outline-default-outline-transparent-primary-hover': '#FFFFFFFF', + '--outline-default-outline-transparent-primary-active': '#FFFFFF0F', + '--outline-default-outline-transparent-secondary-hover': '#FFFFFFFF', + '--outline-default-outline-transparent-secondary-active': '#FFFFFF3D', + '--outline-default-outline-transparent-tertiary-hover': '#FFFFFFFF', + '--outline-default-outline-transparent-tertiary-active': '#FFFFFF7A', + '--outline-default-outline-clear-hover': '#FFFFFFFF', + '--outline-default-outline-clear-active': '#FFFFFFFF', + '--outline-default-outline-accent-hover': '#90B6FEFF', + '--outline-default-outline-accent-active': '#216EFDFF', + '--outline-default-outline-accent-minor-hover': '#FFFFFFFF', + '--outline-default-outline-accent-minor-active': '#1C62E3FF', + '--outline-default-outline-transparent-accent-hover': '#3F82FDFF', + '--outline-default-outline-transparent-accent-active': '#3F82FD56', + '--outline-default-outline-positive': '#24B23E', + '--outline-default-outline-positive-hover': '#2ACB47FF', + '--outline-default-outline-positive-active': '#1F9835FF', + '--outline-default-outline-warning': '#FF7024', + '--outline-default-outline-warning-hover': '#FF8442FF', + '--outline-default-outline-warning-active': '#FF5D05FF', + '--outline-default-outline-negative': '#FF3D51', + '--outline-default-outline-negative-hover': '#FF5C6CFF', + '--outline-default-outline-negative-active': '#FF1F35FF', + '--outline-default-outline-info-hover': '#90B6FEFF', + '--outline-default-outline-info-active': '#216EFDFF', + '--outline-default-outline-positive-minor': '#095C18', + '--outline-default-outline-positive-minor-hover': '#0F9527FF', + '--outline-default-outline-positive-minor-active': '#0C7920FF', + '--outline-default-outline-warning-minor': '#85380C', + '--outline-default-outline-warning-minor-hover': '#BB4F11FF', + '--outline-default-outline-warning-minor-active': '#9F440FFF', + '--outline-default-outline-negative-minor': '#9C1422', + '--outline-default-outline-negative-minor-hover': '#B91828FF', + '--outline-default-outline-negative-minor-active': '#83111CFF', + '--outline-default-outline-info-minor-hover': '#FFFFFFFF', + '--outline-default-outline-info-minor-active': '#1C62E3FF', + '--outline-default-outline-transparent-positive': '#24B23E47', + '--outline-default-outline-transparent-positive-hover': '#24B23EFF', + '--outline-default-outline-transparent-positive-active': '#24B23E56', + '--outline-default-outline-transparent-warning': '#FF702447', + '--outline-default-outline-transparent-warning-hover': '#FF7024FF', + '--outline-default-outline-transparent-warning-active': '#FF702456', + '--outline-default-outline-transparent-negative': '#FF3D5147', + '--outline-default-outline-transparent-negative-hover': '#FF3D51FF', + '--outline-default-outline-transparent-negative-active': '#FF3D5156', + '--outline-default-outline-transparent-info-hover': '#3F82FDFF', + '--outline-default-outline-transparent-info-active': '#3F82FD56', + '--outline-default-outline-solid-primary': '#1B1B1B', + '--outline-default-outline-solid-secondary': '#393939', + '--outline-default-outline-solid-tertiary': '#707070', + '--outline-default-outline-solid-default': '#F9F9F9', + '--outline-default-outline-transparent-primary': 'rgba(255,255,255,0.05)', + '--outline-default-outline-transparent-secondary': 'rgba(255,255,255,0.20)', + '--outline-default-outline-transparent-tertiary': 'rgba(255,255,255,0.40)', + '--outline-default-outline-clear': '#FFFFFF00', + '--outline-default-outline-accent': '#3F81FD', + '--outline-default-outline-accent-minor': '#1549AB', + '--outline-default-outline-transparent-accent': 'rgba(63,129,253,0.28)', + '--outline-default-outline-info': '#3F81FD', + '--outline-default-outline-info-minor': '#1549AB', + '--outline-default-outline-transparent-info': 'rgba(63,129,253,0.28)', + '--outline-on-dark-outline-solid-primary-hover': '#FFFFFFFF', + '--outline-on-dark-outline-solid-primary-active': '#B5B5B5FF', + '--outline-on-dark-outline-solid-secondary-hover': '#FFFFFFFF', + '--outline-on-dark-outline-solid-secondary-active': '#9E9E9EFF', + '--outline-on-dark-outline-solid-tertiary-hover': '#FFFFFFFF', + '--outline-on-dark-outline-solid-tertiary-active': '#737373FF', + '--outline-on-dark-outline-solid-default-hover': '#C7C7C7FF', + '--outline-on-dark-outline-solid-default-active': '#E0E0E0FF', + '--outline-on-dark-outline-transparent-primary-hover': '#FFFFFFFF', + '--outline-on-dark-outline-transparent-primary-active': '#FFFFFF0F', + '--outline-on-dark-outline-transparent-secondary-hover': '#FFFFFFFF', + '--outline-on-dark-outline-transparent-secondary-active': '#FFFFFF3D', + '--outline-on-dark-outline-transparent-tertiary-hover': '#FFFFFFFF', + '--outline-on-dark-outline-transparent-tertiary-active': '#FFFFFF7A', + '--outline-on-dark-outline-accent-hover': '#90B6FEFF', + '--outline-on-dark-outline-accent-active': '#216EFDFF', + '--outline-on-dark-outline-accent-minor-hover': '#FFFFFFFF', + '--outline-on-dark-outline-accent-minor-active': '#1C62E3FF', + '--outline-on-dark-outline-transparent-accent-hover': '#3F82FDFF', + '--outline-on-dark-outline-transparent-accent-active': '#3F82FD56', + '--outline-on-dark-outline-positive': '#24B23E', + '--outline-on-dark-outline-positive-hover': '#2ACB47FF', + '--outline-on-dark-outline-positive-active': '#1F9835FF', + '--outline-on-dark-outline-warning': '#FF7024', + '--outline-on-dark-outline-warning-hover': '#FF8442FF', + '--outline-on-dark-outline-warning-active': '#FF5D05FF', + '--outline-on-dark-outline-negative': '#FF3D51', + '--outline-on-dark-outline-negative-hover': '#FF5C6CFF', + '--outline-on-dark-outline-negative-active': '#FF1F35FF', + '--outline-on-dark-outline-info-hover': '#90B6FEFF', + '--outline-on-dark-outline-info-active': '#216EFDFF', + '--outline-on-dark-outline-positive-minor': '#095C18', + '--outline-on-dark-outline-positive-minor-hover': '#0F9527FF', + '--outline-on-dark-outline-positive-minor-active': '#0C7920FF', + '--outline-on-dark-outline-warning-minor': '#85380C', + '--outline-on-dark-outline-warning-minor-hover': '#BB4F11FF', + '--outline-on-dark-outline-warning-minor-active': '#9F440FFF', + '--outline-on-dark-outline-negative-minor': '#9C1422', + '--outline-on-dark-outline-negative-minor-hover': '#B91828FF', + '--outline-on-dark-outline-negative-minor-active': '#83111CFF', + '--outline-on-dark-outline-info-minor-hover': '#FFFFFFFF', + '--outline-on-dark-outline-info-minor-active': '#1C62E3FF', + '--outline-on-dark-outline-transparent-positive': '#24B23E47', + '--outline-on-dark-outline-transparent-positive-hover': '#24B23EFF', + '--outline-on-dark-outline-transparent-positive-active': '#24B23E56', + '--outline-on-dark-outline-transparent-warning': '#FF702447', + '--outline-on-dark-outline-transparent-warning-hover': '#FF7024FF', + '--outline-on-dark-outline-transparent-warning-active': '#FF702456', + '--outline-on-dark-outline-transparent-negative': '#FF3D5147', + '--outline-on-dark-outline-transparent-negative-hover': '#FF3D51FF', + '--outline-on-dark-outline-transparent-negative-active': '#FF3D5156', + '--outline-on-dark-outline-transparent-info-hover': '#3F82FDFF', + '--outline-on-dark-outline-transparent-info-active': '#3F82FD56', + '--outline-on-dark-outline-solid-primary': '#1B1B1B', + '--outline-on-dark-outline-solid-secondary': '#393939', + '--outline-on-dark-outline-solid-tertiary': '#707070', + '--outline-on-dark-outline-solid-default': '#F9F9F9', + '--outline-on-dark-outline-transparent-primary': 'rgba(255,255,255,0.05)', + '--outline-on-dark-outline-transparent-secondary': 'rgba(255,255,255,0.20)', + '--outline-on-dark-outline-transparent-tertiary': 'rgba(255,255,255,0.40)', + '--outline-on-dark-outline-accent': '#3F81FD', + '--outline-on-dark-outline-accent-minor': '#1549AB', + '--outline-on-dark-outline-transparent-accent': 'rgba(63,129,253,0.28)', + '--outline-on-dark-outline-info': '#3F81FD', + '--outline-on-dark-outline-info-minor': '#1549AB', + '--outline-on-dark-outline-transparent-info': 'rgba(63,129,253,0.28)', + '--outline-on-light-outline-solid-primary-hover': '#ADADADFF', + '--outline-on-light-outline-solid-primary-active': '#C7C7C7FF', + '--outline-on-light-outline-solid-secondary-hover': '#FFFFFFFF', + '--outline-on-light-outline-solid-secondary-active': '#2E2E2EFF', + '--outline-on-light-outline-solid-tertiary-hover': '#FFFFFFFF', + '--outline-on-light-outline-solid-tertiary-active': '#737373FF', + '--outline-on-light-outline-solid-default-hover': '#FFFFFFFF', + '--outline-on-light-outline-solid-default-active': '#C7C7C7FF', + '--outline-on-light-outline-transparent-primary-hover': '#080808FF', + '--outline-on-light-outline-transparent-primary-active': '#0808080F', + '--outline-on-light-outline-transparent-secondary-hover': '#080808FF', + '--outline-on-light-outline-transparent-secondary-active': '#0808083D', + '--outline-on-light-outline-transparent-tertiary-hover': '#080808FF', + '--outline-on-light-outline-transparent-tertiary-active': '#080808AB', + '--outline-on-light-outline-accent-hover': '#79A7FBFF', + '--outline-on-light-outline-accent-active': '#0D5FF8FF', + '--outline-on-light-outline-accent-minor-hover': '#DCE8FEFF', + '--outline-on-light-outline-accent-minor-active': '#6FA0FBFF', + '--outline-on-light-outline-transparent-accent-hover': '#2A72F8FF', + '--outline-on-light-outline-transparent-accent-active': '#2A72F83D', + '--outline-on-light-outline-positive-hover': '#1EB83AFF', + '--outline-on-light-outline-positive-active': '#15842AFF', + '--outline-on-light-outline-warning-hover': '#FB7223FF', + '--outline-on-light-outline-warning-active': '#DC5304FF', + '--outline-on-light-outline-negative': '#F31B31', + '--outline-on-light-outline-negative-hover': '#F5384BFF', + '--outline-on-light-outline-negative-active': '#E40C22FF', + '--outline-on-light-outline-info-hover': '#79A7FBFF', + '--outline-on-light-outline-info-active': '#0D5FF8FF', + '--outline-on-light-outline-positive-minor': '#28D247', + '--outline-on-light-outline-positive-minor-hover': '#3EDA5BFF', + '--outline-on-light-outline-positive-minor-active': '#23B83EFF', + '--outline-on-light-outline-warning-minor': '#FD9C68', + '--outline-on-light-outline-warning-minor-hover': '#FDB086FF', + '--outline-on-light-outline-warning-minor-active': '#FC884AFF', + '--outline-on-light-outline-negative-minor': '#FF8F9A', + '--outline-on-light-outline-negative-minor-hover': '#FFADB6FF', + '--outline-on-light-outline-negative-minor-active': '#FF707EFF', + '--outline-on-light-outline-info-minor-hover': '#DCE8FEFF', + '--outline-on-light-outline-info-minor-active': '#6FA0FBFF', + '--outline-on-light-outline-transparent-positive-hover': '#1A9E32FF', + '--outline-on-light-outline-transparent-positive-active': '#1A9E323D', + '--outline-on-light-outline-transparent-warning-hover': '#FA5F05FF', + '--outline-on-light-outline-transparent-warning-active': '#FA5F053D', + '--outline-on-light-outline-transparent-negative': '#F31B3133', + '--outline-on-light-outline-transparent-negative-hover': '#F31B31FF', + '--outline-on-light-outline-transparent-negative-active': '#F31B313D', + '--outline-on-light-outline-transparent-info-hover': '#2A72F8FF', + '--outline-on-light-outline-transparent-info-active': '#2A72F83D', + '--outline-on-light-outline-solid-primary': '#E0E0E0', + '--outline-on-light-outline-solid-secondary': '#C7C7C7', + '--outline-on-light-outline-solid-tertiary': '#707070', + '--outline-on-light-outline-solid-default': '#080808', + '--outline-on-light-outline-transparent-primary': 'rgba(8,8,8,0.05)', + '--outline-on-light-outline-transparent-secondary': 'rgba(8,8,8,0.20)', + '--outline-on-light-outline-transparent-tertiary': '#0808088F', + '--outline-on-light-outline-accent': '#2A72F8', + '--outline-on-light-outline-accent-minor': '#8BB2FC', + '--outline-on-light-outline-transparent-accent': 'rgba(42,114,248,0.20)', + '--outline-on-light-outline-info': '#2A72F8', + '--outline-on-light-outline-positive': '#1A9E32', + '--outline-on-light-outline-warning': '#FA5F05', + '--outline-on-light-outline-info-minor': '#8BB2FC', + '--outline-on-light-outline-transparent-positive': 'rgba(26,158,50,0.20)', + '--outline-on-light-outline-transparent-warning': 'rgba(250,95,5,0.20)', + '--outline-on-light-outline-transparent-info': 'rgba(42,114,248,0.20)', + '--outline-inverse-outline-solid-primary-hover': '#ADADADFF', + '--outline-inverse-outline-solid-primary-active': '#C7C7C7FF', + '--outline-inverse-outline-solid-secondary-hover': '#FFFFFFFF', + '--outline-inverse-outline-solid-secondary-active': '#2E2E2EFF', + '--outline-inverse-outline-solid-tertiary-hover': '#FFFFFFFF', + '--outline-inverse-outline-solid-tertiary-active': '#737373FF', + '--outline-inverse-outline-solid-default-hover': '#FFFFFFFF', + '--outline-inverse-outline-solid-default-active': '#C7C7C7FF', + '--outline-inverse-outline-transparent-primary-hover': '#080808FF', + '--outline-inverse-outline-transparent-primary-active': '#0808080F', + '--outline-inverse-outline-transparent-secondary-hover': '#080808FF', + '--outline-inverse-outline-transparent-secondary-active': '#0808083D', + '--outline-inverse-outline-transparent-tertiary-hover': '#080808FF', + '--outline-inverse-outline-transparent-tertiary-active': '#080808AB', + '--outline-inverse-outline-accent-hover': '#79A7FBFF', + '--outline-inverse-outline-accent-active': '#0D5FF8FF', + '--outline-inverse-outline-accent-minor-hover': '#DCE8FEFF', + '--outline-inverse-outline-accent-minor-active': '#6FA0FBFF', + '--outline-inverse-outline-transparent-accent-hover': '#2A72F8FF', + '--outline-inverse-outline-transparent-accent-active': '#2A72F83D', + '--outline-inverse-outline-positive-hover': '#1EB83AFF', + '--outline-inverse-outline-positive-active': '#15842AFF', + '--outline-inverse-outline-warning-hover': '#FB7223FF', + '--outline-inverse-outline-warning-active': '#DC5304FF', + '--outline-inverse-outline-negative': '#F31B31', + '--outline-inverse-outline-negative-hover': '#F5384BFF', + '--outline-inverse-outline-negative-active': '#E40C22FF', + '--outline-inverse-outline-info-hover': '#79A7FBFF', + '--outline-inverse-outline-info-active': '#0D5FF8FF', + '--outline-inverse-outline-positive-minor': '#28D247', + '--outline-inverse-outline-positive-minor-hover': '#3EDA5BFF', + '--outline-inverse-outline-positive-minor-active': '#23B83EFF', + '--outline-inverse-outline-warning-minor': '#FD9C68', + '--outline-inverse-outline-warning-minor-hover': '#FDB086FF', + '--outline-inverse-outline-warning-minor-active': '#FC884AFF', + '--outline-inverse-outline-negative-minor': '#FF8F9A', + '--outline-inverse-outline-negative-minor-hover': '#FFADB6FF', + '--outline-inverse-outline-negative-minor-active': '#FF707EFF', + '--outline-inverse-outline-info-minor-hover': '#DCE8FEFF', + '--outline-inverse-outline-info-minor-active': '#6FA0FBFF', + '--outline-inverse-outline-transparent-positive-hover': '#1A9E32FF', + '--outline-inverse-outline-transparent-positive-active': '#1A9E323D', + '--outline-inverse-outline-transparent-warning-hover': '#FA5F05FF', + '--outline-inverse-outline-transparent-warning-active': '#FA5F053D', + '--outline-inverse-outline-transparent-negative': '#F31B3133', + '--outline-inverse-outline-transparent-negative-hover': '#F31B31FF', + '--outline-inverse-outline-transparent-negative-active': '#F31B313D', + '--outline-inverse-outline-transparent-info-hover': '#2A72F8FF', + '--outline-inverse-outline-transparent-info-active': '#2A72F83D', + '--outline-inverse-outline-solid-primary': '#E0E0E0', + '--outline-inverse-outline-solid-secondary': '#C7C7C7', + '--outline-inverse-outline-solid-tertiary': '#707070', + '--outline-inverse-outline-solid-default': '#080808', + '--outline-inverse-outline-transparent-primary': 'rgba(8,8,8,0.05)', + '--outline-inverse-outline-transparent-secondary': 'rgba(8,8,8,0.20)', + '--outline-inverse-outline-transparent-tertiary': '#0808088F', + '--outline-inverse-outline-accent': '#2A72F8', + '--outline-inverse-outline-accent-minor': '#8BB2FC', + '--outline-inverse-outline-transparent-accent': '#2A72F833', + '--outline-inverse-outline-positive': '#1A9E32', + '--outline-inverse-outline-warning': '#FA5F05', + '--outline-inverse-outline-info': '#2A72F8', + '--outline-inverse-outline-info-minor': '#8BB2FC', + '--outline-inverse-outline-transparent-positive': 'rgba(26,158,50,0.20)', + '--outline-inverse-outline-transparent-warning': 'rgba(250,95,5,0.20)', + '--outline-inverse-outline-transparent-info': 'rgba(42,114,248,0.20)', + '--skeleton-gradient': + 'linear-gradient( 90deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.08) 6.25%, rgba(255, 255, 255, 0.05) 12.5%, rgba(255, 255, 255, 0.01) 25%, rgba(255, 255, 255, 0.05) 37.5%, rgba(255, 255, 255, 0.08) 43.75%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.08) 56.25%, rgba(255, 255, 255, 0.05) 62.5%, rgba(255, 255, 255, 0.01) 75%, rgba(255, 255, 255, 0.05) 87.5%, rgba(255, 255, 255, 0.08) 93.75%, rgba(255, 255, 255, 0.09) 100% )', + '--skeleton-gradient-lighter': + 'linear-gradient( 90deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.32) 6.25%, rgba(255, 255, 255, 0.20) 12.5%, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.20) 37.5%, rgba(255, 255, 255, 0.32) 43.75%, rgba(255, 255, 255, 0.36) 50%, rgba(255, 255, 255, 0.08) 56.25%, rgba(255, 255, 255, 0.20) 62.5%, rgba(255, 255, 255, 0.04) 75%, rgba(255, 255, 255, 0.20) 87.5%, rgba(255, 255, 255, 0.32) 93.75%, rgba(255, 255, 255, 0.36) 100% )', + '--plasma-colors-white-primary': 'var(--on-dark-text-primary)', + '--plasma-colors-white-secondary': 'var(--on-dark-text-secondary)', + '--plasma-colors-white-tertiary': 'var(--on-dark-text-tertiary)', + '--plasma-colors-black-primary': 'var(--on-light-text-primary)', + '--plasma-colors-black-secondary': 'var(--on-light-text-secondary)', + '--plasma-colors-black-tertiary': 'var(--on-light-text-tertiary)', + '--plasma-colors-button-black': 'var(--on-light-surface-solid-default)', + '--plasma-colors-button-black-secondary': 'var(--on-light-surface-transparent-secondary)', + '--plasma-colors-button-white': 'var(--on-dark-surface-solid-default)', + '--plasma-colors-button-white-secondary': 'var(--on-dark-surface-transparent-secondary)', + '--plasma-colors-text': 'var(--text-primary)', + '--plasma-colors-primary': 'var(--text-primary)', + '--plasma-colors-secondary': 'var(--text-secondary)', + '--plasma-colors-tertiary': 'var(--text-tertiary)', + '--plasma-colors-paragraph': 'var(--text-paragraph)', + '--plasma-colors-background': 'var(--background-primary)', + '--plasma-colors-accent': 'var(--text-accent)', + '--plasma-colors-success': 'var(--text-positive)', + '--plasma-colors-warning': 'var(--text-warning)', + '--plasma-colors-critical': 'var(--text-negative)', + '--plasma-colors-overlay': 'var(--overlay-soft)', + '--plasma-colors-surface-liquid01': 'var(--surface-transparent-primary)', + '--plasma-colors-surface-liquid02': 'var(--surface-transparent-secondary)', + '--plasma-colors-surface-liquid03': 'var(--surface-transparent-tertiary)', + '--plasma-colors-surface-solid01': 'var(--surface-solid-primary)', + '--plasma-colors-surface-solid02': 'var(--surface-solid-secondary)', + '--plasma-colors-surface-solid03': 'var(--surface-solid-tertiary)', + '--plasma-colors-surface-card': 'var(--surface-transparent-card)', + '--plasma-colors-button-secondary': 'var(--surface-transparent-secondary)', + '--plasma-colors-button-accent': 'var(--text-accent)', + '--plasma-colors-button-success': 'var(--surface-positive)', + '--plasma-colors-button-warning': 'var(--surface-warning)', + '--plasma-colors-button-critical': 'var(--surface-negative)', + color: 'var(--text-primary)', + 'background-color': 'var(--background-primary)', + }, +}; +/** @deprecated использовать вместо этого plasma_giga__dark */ +export const darkPlasma_giga = plasma_giga__dark; diff --git a/packages/plasma-tokens/src/themes/plasma_giga__light.ts b/packages/plasma-tokens/src/themes/plasma_giga__light.ts new file mode 100644 index 0000000000..2c52b1f6b5 --- /dev/null +++ b/packages/plasma-tokens/src/themes/plasma_giga__light.ts @@ -0,0 +1,841 @@ +// Generated by robots, do not change this manually! + +export const plasma_giga__light = { + ':root': { + '--text-primary-hover': '#08080893', + '--text-primary-active': '#080808C4', + '--text-primary-brightness': '#080808F5', + '--text-secondary-hover': '#080808FF', + '--text-secondary-active': '#080808AB', + '--text-tertiary-hover': '#080808FF', + '--text-tertiary-active': '#08080856', + '--text-paragraph-hover': '#0808087A', + '--text-paragraph-active': '#080808A3', + '--text-accent-hover': '#528DFAFF', + '--text-accent-active': '#075AF2FF', + '--text-accent-gradient-hover': '#FFFFFFFF', + '--text-accent-gradient-active': '#CCCCCCFF', + '--text-accent-minor-hover': '#B4CEFDFF', + '--text-accent-minor-active': '#6599FBFF', + '--text-positive-hover': '#1FC13DFF', + '--text-positive-active': '#147B27FF', + '--text-warning-hover': '#FB782DFF', + '--text-warning-active': '#D25004FF', + '--text-negative-hover': '#F54254FF', + '--text-negative-active': '#DA0B20FF', + '--text-info-hover': '#528DFAFF', + '--text-info-active': '#075AF2FF', + '--text-positive-minor-hover': '#47DC62FF', + '--text-positive-minor-active': '#21B03CFF', + '--text-warning-minor-hover': '#FDB790FF', + '--text-warning-minor-active': '#FC8240FF', + '--text-negative-minor-hover': '#FFB8BFFF', + '--text-negative-minor-active': '#FF6675FF', + '--text-info-minor-hover': '#B4CEFDFF', + '--text-info-minor-active': '#6599FBFF', + '--text-primary': 'rgba(8,8,8,0.96)', + '--text-secondary': 'rgba(8,8,8,0.56)', + '--text-tertiary': 'rgba(8,8,8,0.28)', + '--text-paragraph': 'rgba(8,8,8,0.80)', + '--text-accent': '#2A72F8', + '--text-accent-gradient': 'linear-gradient(90deg, #3E79F0 0%, #27C6E5 100%)', + '--text-accent-minor': '#8BB2FC', + '--text-positive': '#1A9E32', + '--text-warning': '#FA5F05', + '--text-negative': '#F31B31', + '--text-info': '#2A72F8', + '--text-positive-minor': '#28D247', + '--text-warning-minor': '#FD9C68', + '--text-negative-minor': '#FF8F9A', + '--text-info-minor': '#8BB2FC', + '--on-dark-text-primary': 'rgba(255, 255, 255, 0.96)', + '--on-dark-text-primary-hover': '#FFFFFF93', + '--on-dark-text-primary-active': '#FFFFFFC4', + '--on-dark-text-primary-brightness': '#FFFFFFF5', + '--on-dark-text-secondary': 'rgba(255, 255, 255, 0.56)', + '--on-dark-text-secondary-hover': '#FFFFFFFF', + '--on-dark-text-secondary-active': '#FFFFFFAB', + '--on-dark-text-tertiary': 'rgba(255, 255, 255, 0.28)', + '--on-dark-text-tertiary-hover': '#FFFFFFFF', + '--on-dark-text-tertiary-active': '#FFFFFF56', + '--on-dark-text-paragraph': 'rgba(255, 255, 255, 0.8)', + '--on-dark-text-paragraph-hover': '#FFFFFF7A', + '--on-dark-text-paragraph-active': '#FFFFFFA3', + '--on-dark-text-accent-hover': '#689CFDFF', + '--on-dark-text-accent-active': '#1767FDFF', + '--on-dark-text-accent-gradient-hover': '#FFFFFFFF', + '--on-dark-text-accent-gradient-active': '#CCCCCCFF', + '--on-dark-text-accent-minor-hover': '#FFFFFFFF', + '--on-dark-text-accent-minor-active': '#113B88FF', + '--on-dark-text-positive-hover': '#1FC13DFF', + '--on-dark-text-positive-active': '#147B27FF', + '--on-dark-text-warning-hover': '#FB782DFF', + '--on-dark-text-warning-active': '#D25004FF', + '--on-dark-text-negative-hover': '#FF5263FF', + '--on-dark-text-negative-active': '#FF001AFF', + '--on-dark-text-info-hover': '#689CFDFF', + '--on-dark-text-info-active': '#1767FDFF', + '--on-dark-text-positive-minor-hover': '#11A72CFF', + '--on-dark-text-positive-minor-active': '#0D8222FF', + '--on-dark-text-warning-minor-hover': '#CD5713FF', + '--on-dark-text-warning-minor-active': '#A84710FF', + '--on-dark-text-negative-minor-hover': '#C2192AFF', + '--on-dark-text-negative-minor-active': '#7A101AFF', + '--on-dark-text-info-minor-hover': '#FFFFFFFF', + '--on-dark-text-info-minor-active': '#113B88FF', + '--on-dark-text-accent': '#3F81FD', + '--on-dark-text-accent-gradient': 'linear-gradient(90deg, #5E94FF 0%, #43DBFA 100%)', + '--on-dark-text-accent-minor': '#1549AB', + '--on-dark-text-positive': '#1A9E32', + '--on-dark-text-warning': '#FA5F05', + '--on-dark-text-negative': '#FF293E', + '--on-dark-text-info': '#3F81FD', + '--on-dark-text-positive-minor': '#095C18', + '--on-dark-text-warning-minor': '#85380C', + '--on-dark-text-negative-minor': '#9C1422', + '--on-dark-text-info-minor': '#1549AB', + '--on-light-text-primary-hover': '#08080893', + '--on-light-text-primary-active': '#080808C4', + '--on-light-text-primary-brightness': '#080808F5', + '--on-light-text-secondary-hover': '#080808FF', + '--on-light-text-secondary-active': '#080808AB', + '--on-light-text-tertiary-hover': '#080808FF', + '--on-light-text-tertiary-active': '#08080856', + '--on-light-text-paragraph-hover': '#0808087A', + '--on-light-text-paragraph-active': '#080808A3', + '--on-light-text-accent-hover': '#528DFAFF', + '--on-light-text-accent-active': '#075AF2FF', + '--on-light-text-accent-gradient-hover': '#FFFFFFFF', + '--on-light-text-accent-gradient-active': '#CCCCCCFF', + '--on-light-text-accent-minor-hover': '#B4CEFDFF', + '--on-light-text-accent-minor-active': '#6599FBFF', + '--on-light-text-positive-hover': '#1FC13DFF', + '--on-light-text-positive-active': '#147B27FF', + '--on-light-text-warning-hover': '#FB782DFF', + '--on-light-text-warning-active': '#D25004FF', + '--on-light-text-negative-hover': '#F54254FF', + '--on-light-text-negative-active': '#DA0B20FF', + '--on-light-text-info-hover': '#528DFAFF', + '--on-light-text-info-active': '#075AF2FF', + '--on-light-text-positive-minor-hover': '#47DC62FF', + '--on-light-text-positive-minor-active': '#21B03CFF', + '--on-light-text-warning-minor-hover': '#FDB790FF', + '--on-light-text-warning-minor-active': '#FC8240FF', + '--on-light-text-negative-minor-hover': '#FFB8BFFF', + '--on-light-text-negative-minor-active': '#FF6675FF', + '--on-light-text-info-minor-hover': '#B4CEFDFF', + '--on-light-text-info-minor-active': '#6599FBFF', + '--on-light-text-primary': 'rgba(8,8,8,0.96)', + '--on-light-text-secondary': 'rgba(8,8,8,0.56)', + '--on-light-text-tertiary': 'rgba(8,8,8,0.28)', + '--on-light-text-paragraph': 'rgba(8,8,8,0.80)', + '--on-light-text-accent': '#2A72F8', + '--on-light-text-accent-gradient': 'linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)', + '--on-light-text-accent-minor': '#8BB2FC', + '--on-light-text-positive': '#1A9E32', + '--on-light-text-warning': '#FA5F05', + '--on-light-text-negative': '#F31B31', + '--on-light-text-info': '#2A72F8', + '--on-light-text-positive-minor': '#28D247', + '--on-light-text-warning-minor': '#FD9C68', + '--on-light-text-negative-minor': '#FF8F9A', + '--on-light-text-info-minor': '#8BB2FC', + '--inverse-text-primary': 'rgba(255, 255, 255, 0.96)', + '--inverse-text-primary-hover': '#FFFFFF93', + '--inverse-text-primary-active': '#FFFFFFC4', + '--inverse-text-primary-brightness': '#FFFFFFF5', + '--inverse-text-secondary': 'rgba(255, 255, 255, 0.56)', + '--inverse-text-secondary-hover': '#FFFFFFFF', + '--inverse-text-secondary-active': '#FFFFFFAB', + '--inverse-text-tertiary': 'rgba(255, 255, 255, 0.28)', + '--inverse-text-tertiary-hover': '#FFFFFFFF', + '--inverse-text-tertiary-active': '#FFFFFF56', + '--inverse-text-paragraph': 'rgba(255, 255, 255, 0.8)', + '--inverse-text-paragraph-hover': '#FFFFFF7A', + '--inverse-text-paragraph-active': '#FFFFFFA3', + '--inverse-text-accent-hover': '#689CFDFF', + '--inverse-text-accent-active': '#1767FDFF', + '--inverse-text-accent-gradient-hover': '#FFFFFFFF', + '--inverse-text-accent-gradient-active': '#CCCCCCFF', + '--inverse-text-accent-minor-hover': '#FFFFFFFF', + '--inverse-text-accent-minor-active': '#113B88FF', + '--inverse-text-positive-hover': '#1FC13DFF', + '--inverse-text-positive-active': '#147B27FF', + '--inverse-text-warning-hover': '#FB782DFF', + '--inverse-text-warning-active': '#D25004FF', + '--inverse-text-negative-hover': '#FF5263FF', + '--inverse-text-negative-active': '#FF001AFF', + '--inverse-text-info-hover': '#689CFDFF', + '--inverse-text-info-active': '#1767FDFF', + '--inverse-text-positive-minor-hover': '#11A72CFF', + '--inverse-text-positive-minor-active': '#0D8222FF', + '--inverse-text-warning-minor-hover': '#CD5713FF', + '--inverse-text-warning-minor-active': '#A84710FF', + '--inverse-text-negative-minor-hover': '#C2192AFF', + '--inverse-text-negative-minor-active': '#7A101AFF', + '--inverse-text-info-minor-hover': '#FFFFFFFF', + '--inverse-text-info-minor-active': '#113B88FF', + '--inverse-text-accent': '#3F81FD', + '--inverse-text-accent-gradient': 'linear-gradient(94deg, #5E94FF 6.49%, #43DBFA 93.51%)', + '--inverse-text-accent-minor': '#1549AB', + '--inverse-text-positive': '#1A9E32', + '--inverse-text-warning': '#FA5F05', + '--inverse-text-negative': '#FF293E', + '--inverse-text-info': '#3F81FD', + '--inverse-text-positive-minor': '#095C18', + '--inverse-text-warning-minor': '#85380C', + '--inverse-text-negative-minor': '#9C1422', + '--inverse-text-info-minor': '#1549AB', + '--surface-solid-primary-hover': '#F7F7F7FF', + '--surface-solid-primary-active': '#EDEDEDFF', + '--surface-solid-primary-brightness': '#FFFFFFFF', + '--surface-solid-secondary-hover': '#F2F2F2FF', + '--surface-solid-secondary-active': '#E3E3E3FF', + '--surface-solid-tertiary-hover': '#E8E8E8FF', + '--surface-solid-tertiary-active': '#CFCFCFFF', + '--surface-solid-card-hover': '#FFFFFFFF', + '--surface-solid-card-active': '#FFFFFFFF', + '--surface-solid-card-brightness': '#FFFFFFFF', + '--surface-solid-default-hover': '#262626FF', + '--surface-solid-default-active': '#030303FF', + '--surface-transparent-primary-hover': '#08080803', + '--surface-transparent-primary-active': '#08080817', + '--surface-transparent-secondary-hover': '#08080805', + '--surface-transparent-secondary-active': '#08080824', + '--surface-transparent-tertiary-hover': '#08080812', + '--surface-transparent-tertiary-active': '#08080830', + '--surface-transparent-deep-hover': '#0808088F', + '--surface-transparent-deep-active': '#080808AD', + '--surface-transparent-card-hover': '#FFFFFFFF', + '--surface-transparent-card-active': '#FFFFFFFF', + '--surface-transparent-card-brightness': '#FFFFFFFF', + '--surface-clear-hover': '#FFFFFFFF', + '--surface-clear-active': '#FFFFFFFF', + '--surface-accent-hover': '#528DFAFF', + '--surface-accent-active': '#1665F8FF', + '--surface-accent-gradient-hover': '#FFFFFFFF', + '--surface-accent-gradient-active': '#FFFFFFFF', + '--surface-accent-minor-hover': '#F5F8FFFF', + '--surface-accent-minor-active': '#D6E4FFFF', + '--surface-transparent-accent-hover': '#2A72F80A', + '--surface-transparent-accent-active': '#2A72F829', + '--surface-positive-hover': '#1EB83AFF', + '--surface-positive-active': '#178C2CFF', + '--surface-warning-hover': '#FB782DFF', + '--surface-warning-active': '#E65705FF', + '--surface-negative-hover': '#FF5263FF', + '--surface-negative-active': '#FF142CFF', + '--surface-info-hover': '#528DFAFF', + '--surface-info-active': '#1665F8FF', + '--surface-positive-minor-hover': '#B1FBBFFF', + '--surface-positive-minor-active': '#8BF99FFF', + '--surface-warning-minor-hover': '#FEEFE6FF', + '--surface-warning-minor-active': '#FEDCC8FF', + '--surface-negative-minor-hover': '#FFF5F6FF', + '--surface-negative-minor-active': '#FFD6DAFF', + '--surface-info-minor-hover': '#F5F8FFFF', + '--surface-info-minor-active': '#D6E4FFFF', + '--surface-transparent-positive': '#1A9E321F', + '--surface-transparent-positive-hover': '#1A9E320A', + '--surface-transparent-positive-active': '#1A9E3229', + '--surface-transparent-warning': '#FA5F051F', + '--surface-transparent-warning-hover': '#FA5F050A', + '--surface-transparent-warning-active': '#FA5F0529', + '--surface-transparent-negative': '#FF293E1F', + '--surface-transparent-negative-hover': '#FF293E0A', + '--surface-transparent-negative-active': '#FF293E29', + '--surface-transparent-info-hover': '#2A72F80A', + '--surface-transparent-info-active': '#2A72F829', + '--surface-solid-card': '#FFFFFF', + '--surface-solid-primary': '#F2F2F2', + '--surface-solid-secondary': '#E7E7E7', + '--surface-solid-tertiary': '#DADADA', + '--surface-solid-default': '#080808', + '--surface-transparent-card': '#FFFFFF', + '--surface-transparent-primary': 'rgba(8,8,8,0.05)', + '--surface-transparent-secondary': 'rgba(8,8,8,0.10)', + '--surface-transparent-tertiary': 'rgba(8,8,8,0.15)', + '--surface-transparent-deep': 'rgba(8,8,8,0.64)', + '--surface-clear': '#FFFFFF00', + '--surface-accent': '#2A72F8', + '--surface-accent-gradient': 'linear-gradient(90deg, #3E79F0 0%, #27C6E5 100%)', + '--surface-accent-minor': '#DEE9FF', + '--surface-transparent-accent': 'rgba(42,114,248,0.12)', + '--surface-positive': '#1A9E32', + '--surface-warning': '#FA5F05', + '--surface-negative': '#FF293E', + '--surface-info': '#2A72F8', + '--surface-positive-minor': '#9EFAAF', + '--surface-warning-minor': '#FEE2D2', + '--surface-negative-minor': '#FFE0E3', + '--surface-info-minor': '#DEE9FF', + '--surface-transparent-info': 'rgba(42,114,248,0.12)', + '--on-dark-surface-solid-primary-hover': '#2B2B2BFF', + '--on-dark-surface-solid-primary-active': '#030303FF', + '--on-dark-surface-solid-primary-brightness': '#1C1C1CFF', + '--on-dark-surface-solid-secondary-hover': '#2E2E2EFF', + '--on-dark-surface-solid-secondary-active': '#0F0F0FFF', + '--on-dark-surface-solid-tertiary-hover': '#3B3B3BFF', + '--on-dark-surface-solid-tertiary-active': '#1C1C1CFF', + '--on-dark-surface-solid-card-hover': '#363636FF', + '--on-dark-surface-solid-card-active': '#0D0D0DFF', + '--on-dark-surface-solid-card-brightness': '#262626FF', + '--on-dark-surface-solid-default-hover': '#FFFFFFFF', + '--on-dark-surface-solid-default-active': '#FFFFFFFF', + '--on-dark-surface-transparent-primary-hover': '#FFFFFF03', + '--on-dark-surface-transparent-primary-active': '#FFFFFF17', + '--on-dark-surface-transparent-secondary-hover': '#FFFFFF05', + '--on-dark-surface-transparent-secondary-active': '#FFFFFF24', + '--on-dark-surface-transparent-tertiary-hover': '#FFFFFF12', + '--on-dark-surface-transparent-tertiary-active': '#FFFFFF30', + '--on-dark-surface-transparent-deep-hover': '#FFFFFF8F', + '--on-dark-surface-transparent-deep-active': '#FFFFFFAD', + '--on-dark-surface-transparent-card-hover': '#FFFFFF0A', + '--on-dark-surface-transparent-card-active': '#FFFFFF29', + '--on-dark-surface-transparent-card-brightness': '#FFFFFF1F', + '--on-dark-surface-accent-hover': '#689CFDFF', + '--on-dark-surface-accent-active': '#2B74FDFF', + '--on-dark-surface-accent-gradient-hover': '#FFFFFFFF', + '--on-dark-surface-accent-gradient-active': '#FFFFFFFF', + '--on-dark-surface-accent-minor-hover': '#0A2A67FF', + '--on-dark-surface-accent-minor-active': '#061B41FF', + '--on-dark-surface-transparent-accent-hover': '#3F82FD1F', + '--on-dark-surface-transparent-accent-active': '#3F82FD3D', + '--on-dark-surface-positive-hover': '#1EB83AFF', + '--on-dark-surface-positive-active': '#178C2CFF', + '--on-dark-surface-warning-hover': '#FB782DFF', + '--on-dark-surface-warning-active': '#E65705FF', + '--on-dark-surface-negative-hover': '#FF5263FF', + '--on-dark-surface-negative-active': '#FF142CFF', + '--on-dark-surface-info-hover': '#689CFDFF', + '--on-dark-surface-info-active': '#2B74FDFF', + '--on-dark-surface-positive-minor-hover': '#0E3A16FF', + '--on-dark-surface-positive-minor-active': '#061909FF', + '--on-dark-surface-warning-minor-hover': '#58290EFF', + '--on-dark-surface-warning-minor-active': '#2C1507FF', + '--on-dark-surface-negative-minor-hover': '#64121AFF', + '--on-dark-surface-negative-minor-active': '#380A0FFF', + '--on-dark-surface-info-minor-hover': '#0A2A67FF', + '--on-dark-surface-info-minor-active': '#061B41FF', + '--on-dark-surface-transparent-positive': '#1A9E3233', + '--on-dark-surface-transparent-positive-hover': '#1A9E321F', + '--on-dark-surface-transparent-positive-active': '#1A9E323D', + '--on-dark-surface-transparent-warning': '#FA5F0533', + '--on-dark-surface-transparent-warning-hover': '#FA5F051F', + '--on-dark-surface-transparent-warning-active': '#FA5F053D', + '--on-dark-surface-transparent-negative': '#FF293E33', + '--on-dark-surface-transparent-negative-hover': '#FF293E1F', + '--on-dark-surface-transparent-negative-active': '#FF293E3D', + '--on-dark-surface-transparent-info-hover': '#3F82FD1F', + '--on-dark-surface-transparent-info-active': '#3F82FD3D', + '--on-dark-surface-solid-card': '#171717', + '--on-dark-surface-solid-primary': '#0D0D0D', + '--on-dark-surface-solid-secondary': '#191919', + '--on-dark-surface-solid-tertiary': '#262626', + '--on-dark-surface-solid-default': '#FFFFFF', + '--on-dark-surface-transparent-card': 'rgba(255,255,255,0.12)', + '--on-dark-surface-transparent-primary': 'rgba(255,255,255,0.05)', + '--on-dark-surface-transparent-secondary': 'rgba(255,255,255,0.10)', + '--on-dark-surface-transparent-tertiary': 'rgba(255,255,255,0.15)', + '--on-dark-surface-transparent-deep': 'rgba(255,255,255,0.64)', + '--on-dark-surface-accent': '#3F81FD', + '--on-dark-surface-accent-gradient': 'linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)', + '--on-dark-surface-accent-minor': '#082254', + '--on-dark-surface-transparent-accent': 'rgba(63,129,253,0.20)', + '--on-dark-surface-positive': '#1A9E32', + '--on-dark-surface-warning': '#FA5F05', + '--on-dark-surface-negative': '#FF293E', + '--on-dark-surface-info': '#3F81FD', + '--on-dark-surface-positive-minor': '#0A2B10', + '--on-dark-surface-warning-minor': '#3D1D0A', + '--on-dark-surface-negative-minor': '#4A0D13', + '--on-dark-surface-info-minor': '#082254', + '--on-dark-surface-transparent-info': 'rgba(63,129,253,0.20)', + '--on-light-surface-solid-primary-hover': '#F7F7F7FF', + '--on-light-surface-solid-primary-active': '#EDEDEDFF', + '--on-light-surface-solid-primary-brightness': '#FFFFFFFF', + '--on-light-surface-solid-secondary-hover': '#F2F2F2FF', + '--on-light-surface-solid-secondary-active': '#E3E3E3FF', + '--on-light-surface-solid-tertiary-hover': '#E8E8E8FF', + '--on-light-surface-solid-tertiary-active': '#CFCFCFFF', + '--on-light-surface-solid-card-hover': '#FFFFFFFF', + '--on-light-surface-solid-card-active': '#FFFFFFFF', + '--on-light-surface-solid-card-brightness': '#FFFFFFFF', + '--on-light-surface-solid-default-hover': '#262626FF', + '--on-light-surface-solid-default-active': '#030303FF', + '--on-light-surface-transparent-primary-hover': '#08080803', + '--on-light-surface-transparent-primary-active': '#08080817', + '--on-light-surface-transparent-secondary-hover': '#08080805', + '--on-light-surface-transparent-secondary-active': '#08080824', + '--on-light-surface-transparent-tertiary-hover': '#08080812', + '--on-light-surface-transparent-tertiary-active': '#08080830', + '--on-light-surface-transparent-deep-hover': '#0808088F', + '--on-light-surface-transparent-deep-active': '#080808AD', + '--on-light-surface-transparent-card-hover': '#FFFFFFFF', + '--on-light-surface-transparent-card-active': '#FFFFFFFF', + '--on-light-surface-transparent-card-brightness': '#FFFFFFFF', + '--on-light-surface-accent-hover': '#528DFAFF', + '--on-light-surface-accent-active': '#1665F8FF', + '--on-light-surface-accent-gradient-hover': '#FFFFFFFF', + '--on-light-surface-accent-gradient-active': '#FFFFFFFF', + '--on-light-surface-accent-minor-hover': '#F5F8FFFF', + '--on-light-surface-accent-minor-active': '#D6E4FFFF', + '--on-light-surface-transparent-accent-hover': '#2A72F80A', + '--on-light-surface-transparent-accent-active': '#2A72F829', + '--on-light-surface-positive-hover': '#1EB83AFF', + '--on-light-surface-positive-active': '#178C2CFF', + '--on-light-surface-warning-hover': '#FB782DFF', + '--on-light-surface-warning-active': '#E65705FF', + '--on-light-surface-negative-hover': '#FF5263FF', + '--on-light-surface-negative-active': '#FF142CFF', + '--on-light-surface-info-hover': '#689CFDFF', + '--on-light-surface-info-active': '#2B74FDFF', + '--on-light-surface-positive-minor-hover': '#B1FBBFFF', + '--on-light-surface-positive-minor-active': '#8BF99FFF', + '--on-light-surface-warning-minor-hover': '#FEEFE6FF', + '--on-light-surface-warning-minor-active': '#FEDCC8FF', + '--on-light-surface-negative-minor-hover': '#FFF5F6FF', + '--on-light-surface-negative-minor-active': '#FFD6DAFF', + '--on-light-surface-info-minor-hover': '#F5F8FFFF', + '--on-light-surface-info-minor-active': '#D6E4FFFF', + '--on-light-surface-transparent-positive': '#1A9E321F', + '--on-light-surface-transparent-positive-hover': '#1A9E320A', + '--on-light-surface-transparent-positive-active': '#1A9E3229', + '--on-light-surface-transparent-warning': '#FA5F051F', + '--on-light-surface-transparent-warning-hover': '#FA5F050A', + '--on-light-surface-transparent-warning-active': '#FA5F0529', + '--on-light-surface-transparent-negative': '#FF293E1F', + '--on-light-surface-transparent-negative-hover': '#FF293E0A', + '--on-light-surface-transparent-negative-active': '#FF293E29', + '--on-light-surface-transparent-info-hover': '#2A72F80A', + '--on-light-surface-transparent-info-active': '#2A72F829', + '--on-light-surface-solid-card': '#FFFFFF', + '--on-light-surface-solid-primary': '#F2F2F2', + '--on-light-surface-solid-secondary': '#E7E7E7', + '--on-light-surface-solid-tertiary': '#DADADA', + '--on-light-surface-solid-default': '#080808', + '--on-light-surface-transparent-card': '#FFFFFF', + '--on-light-surface-transparent-primary': 'rgba(8,8,8,0.05)', + '--on-light-surface-transparent-secondary': 'rgba(8,8,8,0.10)', + '--on-light-surface-transparent-tertiary': 'rgba(8,8,8,0.15)', + '--on-light-surface-transparent-deep': 'rgba(8,8,8,0.64)', + '--on-light-surface-accent': '#2A72F8', + '--on-light-surface-accent-gradient': 'linear-gradient(94deg, #3E79F0 6.49%, #27C6E5 93.51%)', + '--on-light-surface-accent-minor': '#DEE9FF', + '--on-light-surface-transparent-accent': 'rgba(42,114,248,0.12)', + '--on-light-surface-positive': '#1A9E32', + '--on-light-surface-warning': '#FA5F05', + '--on-light-surface-negative': '#FF293E', + '--on-light-surface-info': '#3F81FD', + '--on-light-surface-positive-minor': '#9EFAAF', + '--on-light-surface-warning-minor': '#FEE2D2', + '--on-light-surface-negative-minor': '#FFE0E3', + '--on-light-surface-info-minor': '#DEE9FF', + '--on-light-surface-transparent-info': 'rgba(42,114,248,0.12)', + '--inverse-surface-solid-primary-hover': '#2B2B2BFF', + '--inverse-surface-solid-primary-active': '#030303FF', + '--inverse-surface-solid-primary-brightness': '#1C1C1CFF', + '--inverse-surface-solid-secondary-hover': '#2E2E2EFF', + '--inverse-surface-solid-secondary-active': '#0F0F0FFF', + '--inverse-surface-solid-tertiary-hover': '#3B3B3BFF', + '--inverse-surface-solid-tertiary-active': '#1C1C1CFF', + '--inverse-surface-solid-card-hover': '#363636FF', + '--inverse-surface-solid-card-active': '#0D0D0DFF', + '--inverse-surface-solid-card-brightness': '#262626FF', + '--inverse-surface-solid-default-hover': '#FFFFFFFF', + '--inverse-surface-solid-default-active': '#FFFFFFFF', + '--inverse-surface-transparent-primary-hover': '#FFFFFF05', + '--inverse-surface-transparent-primary-active': '#FFFFFF1A', + '--inverse-surface-transparent-secondary-hover': '#FFFFFF05', + '--inverse-surface-transparent-secondary-active': '#FFFFFF24', + '--inverse-surface-transparent-tertiary-hover': '#FFFFFF12', + '--inverse-surface-transparent-tertiary-active': '#FFFFFF30', + '--inverse-surface-transparent-deep-hover': '#FFFFFF8F', + '--inverse-surface-transparent-deep-active': '#FFFFFFAD', + '--inverse-surface-transparent-card-hover': '#FFFFFF0A', + '--inverse-surface-transparent-card-active': '#FFFFFF29', + '--inverse-surface-transparent-card-brightness': '#FFFFFF1F', + '--inverse-surface-accent-hover': '#689CFDFF', + '--inverse-surface-accent-active': '#2B74FDFF', + '--inverse-surface-accent-gradient-hover': '#FFFFFFFF', + '--inverse-surface-accent-gradient-active': '#FFFFFFFF', + '--inverse-surface-accent-minor-hover': '#0A2A67FF', + '--inverse-surface-accent-minor-active': '#061B41FF', + '--inverse-surface-transparent-accent-hover': '#3F82FD1F', + '--inverse-surface-transparent-accent-active': '#3F82FD3D', + '--inverse-surface-positive-hover': '#1EB83AFF', + '--inverse-surface-positive-active': '#178C2CFF', + '--inverse-surface-warning-hover': '#FB782DFF', + '--inverse-surface-warning-active': '#E65705FF', + '--inverse-surface-negative-hover': '#FF5263FF', + '--inverse-surface-negative-active': '#FF142CFF', + '--inverse-surface-info-hover': '#689CFDFF', + '--inverse-surface-info-active': '#2B74FDFF', + '--inverse-surface-positive-minor-hover': '#0E3A16FF', + '--inverse-surface-positive-minor-active': '#061909FF', + '--inverse-surface-warning-minor-hover': '#58290EFF', + '--inverse-surface-warning-minor-active': '#2C1507FF', + '--inverse-surface-negative-minor-hover': '#64121AFF', + '--inverse-surface-negative-minor-active': '#380A0FFF', + '--inverse-surface-info-minor-hover': '#0A2A67FF', + '--inverse-surface-info-minor-active': '#061B41FF', + '--inverse-surface-transparent-positive': '#1A9E3233', + '--inverse-surface-transparent-positive-hover': '#1A9E321F', + '--inverse-surface-transparent-positive-active': '#1A9E323D', + '--inverse-surface-transparent-warning': '#FA5F0533', + '--inverse-surface-transparent-warning-hover': '#FA5F051F', + '--inverse-surface-transparent-warning-active': '#FA5F053D', + '--inverse-surface-transparent-negative': '#FF293E33', + '--inverse-surface-transparent-negative-hover': '#FF293E1F', + '--inverse-surface-transparent-negative-active': '#FF293E3D', + '--inverse-surface-transparent-info-hover': '#3F82FD1F', + '--inverse-surface-transparent-info-active': '#3F82FD3D', + '--inverse-surface-solid-card': '#171717', + '--inverse-surface-solid-primary': '#0D0D0D', + '--inverse-surface-solid-secondary': '#191919', + '--inverse-surface-solid-tertiary': '#262626', + '--inverse-surface-solid-default': '#FFFFFF', + '--inverse-surface-transparent-card': 'rgba(255,255,255,0.12)', + '--inverse-surface-transparent-primary': 'rgba(255,255,255,0.06)', + '--inverse-surface-transparent-secondary': 'rgba(255,255,255,0.10)', + '--inverse-surface-transparent-tertiary': 'rgba(255,255,255,0.15)', + '--inverse-surface-transparent-deep': 'rgba(255,255,255,0.64)', + '--inverse-surface-accent': '#3F81FD', + '--inverse-surface-accent-gradient': 'linear-gradient(94deg,#3E79F06.49%,#27C6E593.51%)', + '--inverse-surface-accent-minor': '#082254', + '--inverse-surface-transparent-accent': 'rgba(63,129,253,0.20)', + '--inverse-surface-positive': '#1A9E32', + '--inverse-surface-warning': '#FA5F05', + '--inverse-surface-negative': '#FF293E', + '--inverse-surface-info': '#3F81FD', + '--inverse-surface-positive-minor': '#0A2B10', + '--inverse-surface-warning-minor': '#3D1D0A', + '--inverse-surface-negative-minor': '#4A0D13', + '--inverse-surface-info-minor': '#082254', + '--inverse-surface-transparent-info': 'rgba(63,129,253,0.20)', + '--background-primary': '#F9F9F9', + '--dark-background-primary': '#080808', + '--light-background-primary': '#F9F9F9', + '--inverse-background-primary': '#080808', + '--overlay-soft': '#F9F9F98F', + '--overlay-hard': '#F9F9F9F5', + '--overlay-blur': '#F9F9F947', + '--on-dark-overlay-soft': '#0808088F', + '--on-dark-overlay-hard': '#080808F5', + '--on-dark-overlay-blur': '#08080847', + '--on-light-overlay-soft': '#F9F9F98F', + '--on-light-overlay-hard': '#F9F9F9F5', + '--on-light-overlay-blur': '#F9F9F947', + '--inverse-overlay-soft': '#0808088F', + '--inverse-overlay-hard': '#080808F5', + '--inverse-overlay-blur': '#08080847', + '--outline-default-outline-solid-primary-hover': '#FFFFFFFF', + '--outline-default-outline-solid-primary-active': '#B3B3B3FF', + '--outline-default-outline-solid-secondary-hover': '#FFFFFFFF', + '--outline-default-outline-solid-secondary-active': '#9E9E9EFF', + '--outline-default-outline-solid-tertiary-hover': '#FFFFFFFF', + '--outline-default-outline-solid-tertiary-active': '#595959FF', + '--outline-default-outline-solid-default-hover': '#595959FF', + '--outline-default-outline-solid-default-active': '#303030FF', + '--outline-default-outline-transparent-primary-hover': '#080808FF', + '--outline-default-outline-transparent-primary-active': '#0808080F', + '--outline-default-outline-transparent-secondary-hover': '#080808FF', + '--outline-default-outline-transparent-secondary-active': '#0808083D', + '--outline-default-outline-transparent-tertiary-hover': '#080808FF', + '--outline-default-outline-transparent-tertiary-active': '#080808AB', + '--outline-default-outline-clear-hover': '#FFFFFFFF', + '--outline-default-outline-clear-active': '#FFFFFFFF', + '--outline-default-outline-accent-hover': '#528DFAFF', + '--outline-default-outline-accent-active': '#075AF2FF', + '--outline-default-outline-accent-minor-hover': '#B4CEFDFF', + '--outline-default-outline-accent-minor-active': '#6599FBFF', + '--outline-default-outline-transparent-accent-hover': '#2A72F8FF', + '--outline-default-outline-transparent-accent-active': '#2A72F83D', + '--outline-default-outline-positive-hover': '#1FC13DFF', + '--outline-default-outline-positive-active': '#147B27FF', + '--outline-default-outline-warning-hover': '#FB782DFF', + '--outline-default-outline-warning-active': '#D25004FF', + '--outline-default-outline-negative': '#F31B31', + '--outline-default-outline-negative-hover': '#F54254FF', + '--outline-default-outline-negative-active': '#DA0B20FF', + '--outline-default-outline-info-hover': '#528DFAFF', + '--outline-default-outline-info-active': '#075AF2FF', + '--outline-default-outline-positive-minor': '#28D247', + '--outline-default-outline-positive-minor-hover': '#47DC62FF', + '--outline-default-outline-positive-minor-active': '#21B03CFF', + '--outline-default-outline-warning-minor': '#FD9C68', + '--outline-default-outline-warning-minor-hover': '#FDB790FF', + '--outline-default-outline-warning-minor-active': '#FC8240FF', + '--outline-default-outline-negative-minor': '#FF8F9A', + '--outline-default-outline-negative-minor-hover': '#FFB8BFFF', + '--outline-default-outline-negative-minor-active': '#FF6675FF', + '--outline-default-outline-info-minor-hover': '#B4CEFDFF', + '--outline-default-outline-info-minor-active': '#6599FBFF', + '--outline-default-outline-transparent-positive-hover': '#1A9E32FF', + '--outline-default-outline-transparent-positive-active': '#1A9E323D', + '--outline-default-outline-transparent-warning-hover': '#FA5F05FF', + '--outline-default-outline-transparent-warning-active': '#FA5F053D', + '--outline-default-outline-transparent-negative-hover': '#F31B31FF', + '--outline-default-outline-transparent-negative-active': '#F31B313D', + '--outline-default-outline-transparent-info-hover': '#2A72F8FF', + '--outline-default-outline-transparent-info-active': '#2A72F83D', + '--outline-default-outline-solid-primary': '#E0E0E0', + '--outline-default-outline-solid-secondary': '#C7C7C7', + '--outline-default-outline-solid-tertiary': '#707070', + '--outline-default-outline-solid-default': '#080808', + '--outline-default-outline-transparent-primary': 'rgba(8,8,8,0.05)', + '--outline-default-outline-transparent-secondary': 'rgba(8,8,8,0.20)', + '--outline-default-outline-transparent-tertiary': 'rgba(8,8,8,0.56)', + '--outline-default-outline-clear': '#FFFFFF00', + '--outline-default-outline-accent': '#2A72F8', + '--outline-default-outline-accent-minor': '#8BB2FC', + '--outline-default-outline-transparent-accent': 'rgba(42,114,248,0.20)', + '--outline-default-outline-positive': '#1A9E32', + '--outline-default-outline-warning': '#FA5F05', + '--outline-default-outline-info': '#2A72F8', + '--outline-default-outline-info-minor': '#8BB2FC', + '--outline-default-outline-transparent-positive': 'rgba(26,158,50,0.20)', + '--outline-default-outline-transparent-warning': 'rgba(250,95,5,0.20)', + '--outline-default-outline-transparent-negative': 'rgba(243,27,49,0.20)', + '--outline-default-outline-transparent-info': 'rgba(42,114,248,0.20)', + '--outline-on-dark-outline-solid-primary-hover': '#6E6E6EFF', + '--outline-on-dark-outline-solid-primary-active': '#454545FF', + '--outline-on-dark-outline-solid-secondary-hover': '#8A8A8AFF', + '--outline-on-dark-outline-solid-secondary-active': '#616161FF', + '--outline-on-dark-outline-solid-tertiary-hover': '#FFFFFFFF', + '--outline-on-dark-outline-solid-tertiary-active': '#595959FF', + '--outline-on-dark-outline-solid-default-hover': '#FFFFFFFF', + '--outline-on-dark-outline-solid-default-active': '#C7C7C7FF', + '--outline-on-dark-outline-transparent-primary-hover': '#FFFFFFFF', + '--outline-on-dark-outline-transparent-primary-active': '#FFFFFF0F', + '--outline-on-dark-outline-transparent-secondary-hover': '#FFFFFFFF', + '--outline-on-dark-outline-transparent-secondary-active': '#FFFFFF3D', + '--outline-on-dark-outline-transparent-tertiary-hover': '#FFFFFFFF', + '--outline-on-dark-outline-transparent-tertiary-active': '#FFFFFF7A', + '--outline-on-dark-outline-accent-hover': '#689CFDFF', + '--outline-on-dark-outline-accent-active': '#1767FDFF', + '--outline-on-dark-outline-accent-minor-hover': '#FFFFFFFF', + '--outline-on-dark-outline-accent-minor-active': '#113B88FF', + '--outline-on-dark-outline-transparent-accent-hover': '#3F82FDFF', + '--outline-on-dark-outline-transparent-accent-active': '#3F82FD56', + '--outline-on-dark-outline-positive': '#24B23E', + '--outline-on-dark-outline-positive-hover': '#2BD44AFF', + '--outline-on-dark-outline-positive-active': '#1D9032FF', + '--outline-on-dark-outline-warning': '#FF7024', + '--outline-on-dark-outline-warning-hover': '#FF8B4DFF', + '--outline-on-dark-outline-warning-active': '#FA5700FF', + '--outline-on-dark-outline-negative': '#FF3D51', + '--outline-on-dark-outline-negative-hover': '#FF6675FF', + '--outline-on-dark-outline-negative-active': '#FF142CFF', + '--outline-on-dark-outline-info-hover': '#689CFDFF', + '--outline-on-dark-outline-info-active': '#1767FDFF', + '--outline-on-dark-outline-positive-minor': '#095C18', + '--outline-on-dark-outline-positive-minor-hover': '#11A72CFF', + '--outline-on-dark-outline-positive-minor-active': '#0D8222FF', + '--outline-on-dark-outline-warning-minor': '#85380C', + '--outline-on-dark-outline-warning-minor-hover': '#CD5713FF', + '--outline-on-dark-outline-warning-minor-active': '#A84710FF', + '--outline-on-dark-outline-negative-minor': '#9C1422', + '--outline-on-dark-outline-negative-minor-hover': '#C2192AFF', + '--outline-on-dark-outline-negative-minor-active': '#7A101AFF', + '--outline-on-dark-outline-info-minor-hover': '#FFFFFFFF', + '--outline-on-dark-outline-info-minor-active': '#113B88FF', + '--outline-on-dark-outline-transparent-positive': '#24B23E47', + '--outline-on-dark-outline-transparent-positive-hover': '#24B23EFF', + '--outline-on-dark-outline-transparent-positive-active': '#24B23E56', + '--outline-on-dark-outline-transparent-warning': '#FF702447', + '--outline-on-dark-outline-transparent-warning-hover': '#FF7024FF', + '--outline-on-dark-outline-transparent-warning-active': '#FF702456', + '--outline-on-dark-outline-transparent-negative': '#FF3D5147', + '--outline-on-dark-outline-transparent-negative-hover': '#FF3D51FF', + '--outline-on-dark-outline-transparent-negative-active': '#FF3D5156', + '--outline-on-dark-outline-transparent-info-hover': '#3F82FDFF', + '--outline-on-dark-outline-transparent-info-active': '#3F82FD56', + '--outline-on-dark-outline-solid-primary': '#1B1B1B', + '--outline-on-dark-outline-solid-secondary': '#393939', + '--outline-on-dark-outline-solid-tertiary': '#707070', + '--outline-on-dark-outline-solid-default': '#F9F9F9', + '--outline-on-dark-outline-transparent-primary': 'rgba(255,255,255,0.05)', + '--outline-on-dark-outline-transparent-secondary': 'rgba(255,255,255,0.20)', + '--outline-on-dark-outline-transparent-tertiary': 'rgba(255,255,255,0.40)', + '--outline-on-dark-outline-accent': '#3F81FD', + '--outline-on-dark-outline-accent-minor': '#1549AB', + '--outline-on-dark-outline-transparent-accent': 'rgba(63,129,253,0.28)', + '--outline-on-dark-outline-info': '#3F81FD', + '--outline-on-dark-outline-info-minor': '#1549AB', + '--outline-on-dark-outline-transparent-info': 'rgba(63,129,253,0.28)', + '--outline-on-light-outline-solid-primary-hover': '#FFFFFFFF', + '--outline-on-light-outline-solid-primary-active': '#B3B3B3FF', + '--outline-on-light-outline-solid-secondary-hover': '#FFFFFFFF', + '--outline-on-light-outline-solid-secondary-active': '#9E9E9EFF', + '--outline-on-light-outline-solid-tertiary-hover': '#FFFFFFFF', + '--outline-on-light-outline-solid-tertiary-active': '#595959FF', + '--outline-on-light-outline-solid-default-hover': '#595959FF', + '--outline-on-light-outline-solid-default-active': '#303030FF', + '--outline-on-light-outline-transparent-primary-hover': '#080808FF', + '--outline-on-light-outline-transparent-primary-active': '#0808080F', + '--outline-on-light-outline-transparent-secondary-hover': '#080808FF', + '--outline-on-light-outline-transparent-secondary-active': '#0808083D', + '--outline-on-light-outline-transparent-tertiary-hover': '#080808FF', + '--outline-on-light-outline-transparent-tertiary-active': '#080808AB', + '--outline-on-light-outline-accent-hover': '#528DFAFF', + '--outline-on-light-outline-accent-active': '#075AF2FF', + '--outline-on-light-outline-accent-minor-hover': '#B4CEFDFF', + '--outline-on-light-outline-accent-minor-active': '#6599FBFF', + '--outline-on-light-outline-transparent-accent-hover': '#2A72F8FF', + '--outline-on-light-outline-transparent-accent-active': '#2A72F83D', + '--outline-on-light-outline-positive-hover': '#1FC13DFF', + '--outline-on-light-outline-positive-active': '#147B27FF', + '--outline-on-light-outline-warning-hover': '#FB782DFF', + '--outline-on-light-outline-warning-active': '#D25004FF', + '--outline-on-light-outline-negative': '#F31B31', + '--outline-on-light-outline-negative-hover': '#F54254FF', + '--outline-on-light-outline-negative-active': '#DA0B20FF', + '--outline-on-light-outline-info-hover': '#528DFAFF', + '--outline-on-light-outline-info-active': '#075AF2FF', + '--outline-on-light-outline-positive-minor': '#28D247', + '--outline-on-light-outline-positive-minor-hover': '#47DC62FF', + '--outline-on-light-outline-positive-minor-active': '#21B03CFF', + '--outline-on-light-outline-warning-minor': '#FD9C68', + '--outline-on-light-outline-warning-minor-hover': '#FDB790FF', + '--outline-on-light-outline-warning-minor-active': '#FC8240FF', + '--outline-on-light-outline-negative-minor': '#FF8F9A', + '--outline-on-light-outline-negative-minor-hover': '#FFB8BFFF', + '--outline-on-light-outline-negative-minor-active': '#FF6675FF', + '--outline-on-light-outline-info-minor-hover': '#B4CEFDFF', + '--outline-on-light-outline-info-minor-active': '#6599FBFF', + '--outline-on-light-outline-transparent-positive-hover': '#1A9E32FF', + '--outline-on-light-outline-transparent-positive-active': '#1A9E323D', + '--outline-on-light-outline-transparent-warning-hover': '#FA5F05FF', + '--outline-on-light-outline-transparent-warning-active': '#FA5F053D', + '--outline-on-light-outline-transparent-negative': '#F31B3133', + '--outline-on-light-outline-transparent-negative-hover': '#F31B31FF', + '--outline-on-light-outline-transparent-negative-active': '#F31B313D', + '--outline-on-light-outline-transparent-info-hover': '#2A72F8FF', + '--outline-on-light-outline-transparent-info-active': '#2A72F83D', + '--outline-on-light-outline-solid-primary': '#E0E0E0', + '--outline-on-light-outline-solid-secondary': '#C7C7C7', + '--outline-on-light-outline-solid-tertiary': '#707070', + '--outline-on-light-outline-solid-default': '#080808', + '--outline-on-light-outline-transparent-primary': 'rgba(8,8,8,0.05)', + '--outline-on-light-outline-transparent-secondary': 'rgba(8,8,8,0.20)', + '--outline-on-light-outline-transparent-tertiary': 'rgba(8,8,8,0.56)', + '--outline-on-light-outline-accent': '#2A72F8', + '--outline-on-light-outline-accent-minor': '#8BB2FC', + '--outline-on-light-outline-transparent-accent': 'rgba(42,114,248,0.20)', + '--outline-on-light-outline-positive': '#1A9E32', + '--outline-on-light-outline-warning': '#FA5F05', + '--outline-on-light-outline-info': '#2A72F8', + '--outline-on-light-outline-info-minor': '#8BB2FC', + '--outline-on-light-outline-transparent-positive': 'rgba(26,158,50,0.20)', + '--outline-on-light-outline-transparent-warning': 'rgba(250,95,5,0.20)', + '--outline-on-light-outline-transparent-info': 'rgba(42,114,248,0.20)', + '--outline-inverse-outline-solid-primary-hover': '#6E6E6EFF', + '--outline-inverse-outline-solid-primary-active': '#454545FF', + '--outline-inverse-outline-solid-secondary-hover': '#8A8A8AFF', + '--outline-inverse-outline-solid-secondary-active': '#616161FF', + '--outline-inverse-outline-solid-tertiary-hover': '#FFFFFFFF', + '--outline-inverse-outline-solid-tertiary-active': '#595959FF', + '--outline-inverse-outline-solid-default-hover': '#FFFFFFFF', + '--outline-inverse-outline-solid-default-active': '#C7C7C7FF', + '--outline-inverse-outline-transparent-primary-hover': '#FFFFFFFF', + '--outline-inverse-outline-transparent-primary-active': '#FFFFFF0F', + '--outline-inverse-outline-transparent-secondary-hover': '#FFFFFFFF', + '--outline-inverse-outline-transparent-secondary-active': '#FFFFFF3D', + '--outline-inverse-outline-transparent-tertiary-hover': '#FFFFFFFF', + '--outline-inverse-outline-transparent-tertiary-active': '#FFFFFF7A', + '--outline-inverse-outline-accent-hover': '#689CFDFF', + '--outline-inverse-outline-accent-active': '#1767FDFF', + '--outline-inverse-outline-accent-minor-hover': '#FFFFFFFF', + '--outline-inverse-outline-accent-minor-active': '#113B88FF', + '--outline-inverse-outline-transparent-accent-hover': '#3F82FDFF', + '--outline-inverse-outline-transparent-accent-active': '#3F82FD56', + '--outline-inverse-outline-positive': '#24B23E', + '--outline-inverse-outline-positive-hover': '#2BD44AFF', + '--outline-inverse-outline-positive-active': '#1D9032FF', + '--outline-inverse-outline-warning': '#FF7024', + '--outline-inverse-outline-warning-hover': '#FF8B4DFF', + '--outline-inverse-outline-warning-active': '#FA5700FF', + '--outline-inverse-outline-negative': '#FF3D51', + '--outline-inverse-outline-negative-hover': '#FF6675FF', + '--outline-inverse-outline-negative-active': '#FF142CFF', + '--outline-inverse-outline-info-hover': '#7AA9FFFF', + '--outline-inverse-outline-info-active': '#2974FFFF', + '--outline-inverse-outline-positive-minor': '#095C18', + '--outline-inverse-outline-positive-minor-hover': '#11A72CFF', + '--outline-inverse-outline-positive-minor-active': '#0D8222FF', + '--outline-inverse-outline-warning-minor': '#85380C', + '--outline-inverse-outline-warning-minor-hover': '#CD5713FF', + '--outline-inverse-outline-warning-minor-active': '#A84710FF', + '--outline-inverse-outline-negative-minor': '#9C1422', + '--outline-inverse-outline-negative-minor-hover': '#C2192AFF', + '--outline-inverse-outline-negative-minor-active': '#7A101AFF', + '--outline-inverse-outline-info-minor-hover': '#FFFFFFFF', + '--outline-inverse-outline-info-minor-active': '#113B88FF', + '--outline-inverse-outline-transparent-positive': '#24B23E47', + '--outline-inverse-outline-transparent-positive-hover': '#24B23EFF', + '--outline-inverse-outline-transparent-positive-active': '#24B23E56', + '--outline-inverse-outline-transparent-warning': '#FF702447', + '--outline-inverse-outline-transparent-warning-hover': '#FF7024FF', + '--outline-inverse-outline-transparent-warning-active': '#FF702456', + '--outline-inverse-outline-transparent-negative': '#FF3D5147', + '--outline-inverse-outline-transparent-negative-hover': '#FF3D51FF', + '--outline-inverse-outline-transparent-negative-active': '#FF3D5156', + '--outline-inverse-outline-transparent-info-hover': '#3F82FDFF', + '--outline-inverse-outline-transparent-info-active': '#3F82FD56', + '--outline-inverse-outline-solid-primary': '#1B1B1B', + '--outline-inverse-outline-solid-secondary': '#393939', + '--outline-inverse-outline-solid-tertiary': '#707070', + '--outline-inverse-outline-solid-default': '#F9F9F9', + '--outline-inverse-outline-transparent-primary': 'rgba(255,255,255,0.05)', + '--outline-inverse-outline-transparent-secondary': 'rgba(255,255,255,0.20)', + '--outline-inverse-outline-transparent-tertiary': 'rgba(255,255,255,0.40)', + '--outline-inverse-outline-accent': '#3F81FD', + '--outline-inverse-outline-accent-minor': '#1549AB', + '--outline-inverse-outline-transparent-accent': 'rgba(63,129,253,0.28)', + '--outline-inverse-outline-info': '#528EFF', + '--outline-inverse-outline-info-minor': '#1549AB', + '--outline-inverse-outline-transparent-info': 'rgba(63,129,253,0.28)', + '--skeleton-gradient': + 'linear-gradient( 90deg, rgba(8, 8, 8, 0.09) 0%, rgba(8, 8, 8, 0.08) 6.25%, rgba(8, 8, 8, 0.05) 12.5%, rgba(8, 8, 8, 0.01) 25%, rgba(8, 8, 8, 0.05) 37.5%, rgba(8, 8, 8, 0.08) 43.75%, rgba(8, 8, 8, 0.09) 50%, rgba(8, 8, 8, 0.08) 56.25%, rgba(8, 8, 8, 0.05) 62.5%, rgba(8, 8, 8, 0.01) 75%, rgba(8, 8, 8, 0.05) 87.5%, rgba(8, 8, 8, 0.08) 93.75%, rgba(8, 8, 8, 0.09) 100% )', + '--skeleton-gradient-lighter': + 'linear-gradient( 90deg, rgba(8, 8, 8, 0.36) 0%, rgba(8, 8, 8, 0.32) 6.25%, rgba(8, 8, 8, 0.20) 12.5%, rgba(8, 8, 8, 0.04) 25%, rgba(8, 8, 8, 0.20) 37.5%, rgba(8, 8, 8, 0.32) 43.75%, rgba(8, 8, 8, 0.36) 50%, rgba(8, 8, 8, 0.08) 56.25%, rgba(8, 8, 8, 0.20) 62.5%, rgba(8, 8, 8, 0.04) 75%, rgba(8, 8, 8, 0.20) 87.5%, rgba(8, 8, 8, 0.32) 93.75%, rgba(8, 8, 8, 0.36) 100% )', + '--plasma-colors-white-primary': 'var(--on-dark-text-primary)', + '--plasma-colors-white-secondary': 'var(--on-dark-text-secondary)', + '--plasma-colors-white-tertiary': 'var(--on-dark-text-tertiary)', + '--plasma-colors-black-primary': 'var(--on-light-text-primary)', + '--plasma-colors-black-secondary': 'var(--on-light-text-secondary)', + '--plasma-colors-black-tertiary': 'var(--on-light-text-tertiary)', + '--plasma-colors-button-black': 'var(--on-light-surface-solid-default)', + '--plasma-colors-button-black-secondary': 'var(--on-light-surface-transparent-secondary)', + '--plasma-colors-button-white': 'var(--on-dark-surface-solid-default)', + '--plasma-colors-button-white-secondary': 'var(--on-dark-surface-transparent-secondary)', + '--plasma-colors-text': 'var(--text-primary)', + '--plasma-colors-primary': 'var(--text-primary)', + '--plasma-colors-secondary': 'var(--text-secondary)', + '--plasma-colors-tertiary': 'var(--text-tertiary)', + '--plasma-colors-paragraph': 'var(--text-paragraph)', + '--plasma-colors-background': 'var(--background-primary)', + '--plasma-colors-accent': 'var(--text-accent)', + '--plasma-colors-success': 'var(--text-positive)', + '--plasma-colors-warning': 'var(--text-warning)', + '--plasma-colors-critical': 'var(--text-negative)', + '--plasma-colors-overlay': 'var(--overlay-soft)', + '--plasma-colors-surface-liquid01': 'var(--surface-transparent-primary)', + '--plasma-colors-surface-liquid02': 'var(--surface-transparent-secondary)', + '--plasma-colors-surface-liquid03': 'var(--surface-transparent-tertiary)', + '--plasma-colors-surface-solid01': 'var(--surface-solid-primary)', + '--plasma-colors-surface-solid02': 'var(--surface-solid-secondary)', + '--plasma-colors-surface-solid03': 'var(--surface-solid-tertiary)', + '--plasma-colors-surface-card': 'var(--surface-transparent-card)', + '--plasma-colors-button-secondary': 'var(--surface-transparent-secondary)', + '--plasma-colors-button-accent': 'var(--text-accent)', + '--plasma-colors-button-success': 'var(--surface-positive)', + '--plasma-colors-button-warning': 'var(--surface-warning)', + '--plasma-colors-button-critical': 'var(--surface-negative)', + color: 'var(--text-primary)', + 'background-color': 'var(--background-primary)', + }, +}; +/** @deprecated использовать вместо этого plasma_giga__light */ +export const lightPlasma_giga = plasma_giga__light; diff --git a/packages/plasma-ui/package-lock.json b/packages/plasma-ui/package-lock.json index e31dd38c6b..0767e628dc 100644 --- a/packages/plasma-ui/package-lock.json +++ b/packages/plasma-ui/package-lock.json @@ -1,15 +1,15 @@ { "name": "@salutejs/plasma-ui", - "version": "1.296.0", + "version": "1.299.0-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@salutejs/plasma-ui", - "version": "1.296.0", + "version": "1.299.0-dev.0", "license": "MIT", "dependencies": { - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/plasma-typo": "0.40.0", "color": "3.1.2", "lodash.throttle": "4.1.1", @@ -23,10 +23,10 @@ "@babel/preset-env": "7.24.4", "@babel/preset-react": "7.24.1", "@babel/preset-typescript": "7.24.1", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", - "@salutejs/plasma-tokens": "1.105.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", + "@salutejs/plasma-tokens": "1.106.0-dev.0", "@salutejs/use-virtual": "2.0.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", @@ -4393,9 +4393,9 @@ "dev": true }, "node_modules/@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "dependencies": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -4411,9 +4411,9 @@ } }, "node_modules/@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true, "peerDependencies": { "react": ">=16.13.1", @@ -4433,13 +4433,13 @@ } }, "node_modules/@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "dependencies": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" }, "peerDependencies": { @@ -4449,9 +4449,9 @@ } }, "node_modules/@salutejs/plasma-tokens": { - "version": "1.105.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-tokens/-/plasma-tokens-1.105.0.tgz", - "integrity": "sha512-RD+drtwxrZdiApKW4afh6UeSGtPKlZ2cUywemgVjnfgZoB+bcNgZM3bp6tB2g8ftei6VCdY0dl0VZpflcIY07w==", + "version": "1.106.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-tokens/-/plasma-tokens-1.106.0-dev.0.tgz", + "integrity": "sha512-g/2uqf5yalP1j+8d8ycAcdHTTsfh/8strrP7cctrHw+SBoO7zr54ybibDlPWtWQlJuCPQk6YtfjOSNOJRsQOwA==", "dev": true, "peerDependencies": { "styled-components": "^5.1.1" @@ -23464,9 +23464,9 @@ "dev": true }, "@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "requires": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -23477,9 +23477,9 @@ } }, "@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true }, "@salutejs/plasma-icons": { @@ -23489,20 +23489,20 @@ "dev": true }, "@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "requires": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" } }, "@salutejs/plasma-tokens": { - "version": "1.105.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-tokens/-/plasma-tokens-1.105.0.tgz", - "integrity": "sha512-RD+drtwxrZdiApKW4afh6UeSGtPKlZ2cUywemgVjnfgZoB+bcNgZM3bp6tB2g8ftei6VCdY0dl0VZpflcIY07w==", + "version": "1.106.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-tokens/-/plasma-tokens-1.106.0-dev.0.tgz", + "integrity": "sha512-g/2uqf5yalP1j+8d8ycAcdHTTsfh/8strrP7cctrHw+SBoO7zr54ybibDlPWtWQlJuCPQk6YtfjOSNOJRsQOwA==", "dev": true }, "@salutejs/plasma-typo": { diff --git a/packages/plasma-ui/package.json b/packages/plasma-ui/package.json index 7a64a36d27..4f79186306 100644 --- a/packages/plasma-ui/package.json +++ b/packages/plasma-ui/package.json @@ -1,6 +1,6 @@ { "name": "@salutejs/plasma-ui", - "version": "1.296.0", + "version": "1.299.0-dev.0", "description": "Salute Design System.", "main": "index.js", "module": "es/index.js", @@ -12,7 +12,7 @@ "author": "Salute Frontend Team ", "license": "MIT", "dependencies": { - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/plasma-typo": "0.40.0", "color": "3.1.2", "lodash.throttle": "4.1.1", @@ -33,10 +33,10 @@ "@babel/preset-env": "7.24.4", "@babel/preset-react": "7.24.1", "@babel/preset-typescript": "7.24.1", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", - "@salutejs/plasma-tokens": "1.105.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", + "@salutejs/plasma-tokens": "1.106.0-dev.0", "@salutejs/use-virtual": "2.0.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", @@ -109,4 +109,4 @@ "Чельцов Евгений Олегович" ], "sideEffects": false -} +} \ No newline at end of file diff --git a/packages/plasma-ui/src/components/Badge/Badge.stories.tsx b/packages/plasma-ui/src/components/Badge/Badge.stories.tsx index 759c26ea19..1cc67bb35a 100644 --- a/packages/plasma-ui/src/components/Badge/Badge.stories.tsx +++ b/packages/plasma-ui/src/components/Badge/Badge.stories.tsx @@ -8,7 +8,7 @@ import { Badge, badgeSizes, badgeViews } from '.'; import type { BadgeProps } from '.'; const meta: Meta = { - title: 'Content/Badge', + title: 'Data Display/Badge', decorators: [InSpacingDecorator], component: Badge, argTypes: { diff --git a/packages/plasma-ui/src/components/Button/Button.stories.tsx b/packages/plasma-ui/src/components/Button/Button.stories.tsx index 92f4f061af..4b1ab3f2d7 100644 --- a/packages/plasma-ui/src/components/Button/Button.stories.tsx +++ b/packages/plasma-ui/src/components/Button/Button.stories.tsx @@ -12,7 +12,7 @@ const onFocus = actionWithPersistedEvent('onFocus'); const onBlur = actionWithPersistedEvent('onBlur'); const meta: Meta = { - title: 'Controls/Button', + title: 'Data Entry/Button', decorators: [InSpacingDecorator], argTypes: { text: { diff --git a/packages/plasma-ui/src/components/Card/Card.stories.tsx b/packages/plasma-ui/src/components/Card/Card.stories.tsx index 289462ec00..ba8778f4ec 100644 --- a/packages/plasma-ui/src/components/Card/Card.stories.tsx +++ b/packages/plasma-ui/src/components/Card/Card.stories.tsx @@ -15,7 +15,7 @@ import type { CardProps } from '.'; import { CardParagraph1 } from '.'; const meta: Meta = { - title: 'Content/Card', + title: 'Data Display/Card', decorators: [InSpacingDecorator], parameters: { performance: { diff --git a/packages/plasma-ui/src/components/Carousel/Carousel.stories.tsx b/packages/plasma-ui/src/components/Carousel/Carousel.stories.tsx index a0822684ed..10f660c6a8 100644 --- a/packages/plasma-ui/src/components/Carousel/Carousel.stories.tsx +++ b/packages/plasma-ui/src/components/Carousel/Carousel.stories.tsx @@ -31,7 +31,7 @@ import { import type { CarouselProps, CarouselColProps } from '.'; const meta: Meta = { - title: 'Controls/Carousel', + title: 'Navigation/Carousel', component: Carousel, decorators: [WithGridLines, InContainer], }; diff --git a/packages/plasma-ui/src/components/Cell/Cell.stories.tsx b/packages/plasma-ui/src/components/Cell/Cell.stories.tsx index d6dbaaa356..34d3f23694 100644 --- a/packages/plasma-ui/src/components/Cell/Cell.stories.tsx +++ b/packages/plasma-ui/src/components/Cell/Cell.stories.tsx @@ -16,7 +16,7 @@ import { Disclosure } from './CellDisclosure'; import { CellListItem as ListItem } from './CellListItem'; const meta: Meta = { - title: 'Content/Cell', + title: 'Data Display/Cell', component: Cell, }; diff --git a/packages/plasma-ui/src/components/Checkbox/Checkbox.stories.tsx b/packages/plasma-ui/src/components/Checkbox/Checkbox.stories.tsx index 9ca8e467fe..c774df81fe 100644 --- a/packages/plasma-ui/src/components/Checkbox/Checkbox.stories.tsx +++ b/packages/plasma-ui/src/components/Checkbox/Checkbox.stories.tsx @@ -14,7 +14,7 @@ const onFocus = actionWithPersistedEvent('onFocus'); const onBlur = actionWithPersistedEvent('onBlur'); const meta: Meta = { - title: 'Controls/Checkbox', + title: 'Data Entry/Checkbox', component: Checkbox, decorators: [ InSpacingDecorator, diff --git a/packages/plasma-ui/src/components/Image/Image.stories.tsx b/packages/plasma-ui/src/components/Image/Image.stories.tsx index 54d3b5bcd2..50261e414e 100644 --- a/packages/plasma-ui/src/components/Image/Image.stories.tsx +++ b/packages/plasma-ui/src/components/Image/Image.stories.tsx @@ -12,7 +12,7 @@ const bases = ['div', 'img']; const ratios = ['1/1', '3/4', '4/3', '9/16', '16/9', '1/2', '2/1']; const meta: Meta = { - title: 'Content/Image', + title: 'Data Display/Image', component: Image, decorators: [InSpacing], argTypes: { diff --git a/packages/plasma-ui/src/components/PaginationDots/PaginationDots.stories.tsx b/packages/plasma-ui/src/components/PaginationDots/PaginationDots.stories.tsx index 727ad9a7d9..f1ebb5368e 100644 --- a/packages/plasma-ui/src/components/PaginationDots/PaginationDots.stories.tsx +++ b/packages/plasma-ui/src/components/PaginationDots/PaginationDots.stories.tsx @@ -11,7 +11,7 @@ import { SmartPaginationDots, PaginationDots, PaginationDot } from '.'; import type { SmartPaginationDotsProps, PaginationDotProps } from '.'; const meta: Meta = { - title: 'Controls/PaginationDots', + title: 'Navigation/PaginationDots', component: PaginationDots, decorators: [InSpacingDecorator], }; diff --git a/packages/plasma-ui/src/components/Price/Price.stories.tsx b/packages/plasma-ui/src/components/Price/Price.stories.tsx index 231758a757..4643ce8732 100644 --- a/packages/plasma-ui/src/components/Price/Price.stories.tsx +++ b/packages/plasma-ui/src/components/Price/Price.stories.tsx @@ -10,7 +10,7 @@ import type { PriceProps } from '.'; type StoryPriceProps = PriceProps & { priceLabel: number; withCustomPeriodicity?: boolean }; const meta: Meta = { - title: 'Content/Price', + title: 'Data Display/Price', component: Price, decorators: [InSpacing], argTypes: { diff --git a/packages/plasma-ui/src/components/Radiobox/Radiobox.stories.tsx b/packages/plasma-ui/src/components/Radiobox/Radiobox.stories.tsx index 32eb11689e..15be60976e 100644 --- a/packages/plasma-ui/src/components/Radiobox/Radiobox.stories.tsx +++ b/packages/plasma-ui/src/components/Radiobox/Radiobox.stories.tsx @@ -13,7 +13,7 @@ const onFocus = actionWithPersistedEvent('onFocus'); const onBlur = actionWithPersistedEvent('onBlur'); const meta: Meta = { - title: 'Controls/Radiobox', + title: 'Data Entry/Radiobox', component: Radiobox, decorators: [ InSpacingDecorator, diff --git a/packages/plasma-ui/src/components/Sheet/Sheet.stories.tsx b/packages/plasma-ui/src/components/Sheet/Sheet.stories.tsx index 1f37adf213..1b69791e57 100644 --- a/packages/plasma-ui/src/components/Sheet/Sheet.stories.tsx +++ b/packages/plasma-ui/src/components/Sheet/Sheet.stories.tsx @@ -9,7 +9,7 @@ import { Sheet } from './Sheet'; import type { SheetProps } from './Sheet'; const meta: Meta = { - title: 'Content/Sheet', + title: 'Overlay/Sheet', decorators: [InSpacing], component: Sheet, parameters: { viewport: { defaultViewport: '860' } }, diff --git a/packages/plasma-ui/src/components/Skeleton/Skeleton.stories.tsx b/packages/plasma-ui/src/components/Skeleton/Skeleton.stories.tsx index 28a8479dd3..4fc89fad96 100644 --- a/packages/plasma-ui/src/components/Skeleton/Skeleton.stories.tsx +++ b/packages/plasma-ui/src/components/Skeleton/Skeleton.stories.tsx @@ -12,7 +12,7 @@ import { LineSkeleton, TextSkeleton, RectSkeleton } from '.'; import type { LineSkeletonProps, TextSkeletonProps, RectSkeletonProps } from '.'; const meta: Meta = { - title: 'Content/Skeleton', + title: 'Data Display/Skeleton', decorators: [InSpacingDecorator], }; diff --git a/packages/plasma-ui/src/components/Slider/Slider.stories.tsx b/packages/plasma-ui/src/components/Slider/Slider.stories.tsx index a0a700e24e..37701fe49c 100644 --- a/packages/plasma-ui/src/components/Slider/Slider.stories.tsx +++ b/packages/plasma-ui/src/components/Slider/Slider.stories.tsx @@ -9,7 +9,7 @@ import { Slider } from '.'; import type { SliderProps } from '.'; const meta: Meta = { - title: 'Controls/Slider', + title: 'Data Entry/Slider', component: Slider, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-ui/src/components/Spinner/Spinner.stories.tsx b/packages/plasma-ui/src/components/Spinner/Spinner.stories.tsx index 20de458d09..bf7e3940b7 100644 --- a/packages/plasma-ui/src/components/Spinner/Spinner.stories.tsx +++ b/packages/plasma-ui/src/components/Spinner/Spinner.stories.tsx @@ -9,7 +9,7 @@ import { Spinner } from './Spinner'; import type { SpinnerProps } from '.'; const meta: Meta = { - title: 'Content/Spinner', + title: 'Data Display/Spinner', decorators: [InSpacing], component: Spinner, argTypes: { diff --git a/packages/plasma-ui/src/components/Stepper/Stepper.stories.tsx b/packages/plasma-ui/src/components/Stepper/Stepper.stories.tsx index 263867e79d..acd15c9ca4 100644 --- a/packages/plasma-ui/src/components/Stepper/Stepper.stories.tsx +++ b/packages/plasma-ui/src/components/Stepper/Stepper.stories.tsx @@ -15,7 +15,7 @@ const onFocusAction = actionWithPersistedEvent('onFocus'); const onBlurAction = actionWithPersistedEvent('onBlur'); const meta: Meta = { - title: 'Controls/Stepper', + title: 'Data Entry/Stepper', component: Stepper, decorators: [InSpacingDecorator], }; diff --git a/packages/plasma-ui/src/components/Switch/Switch.stories.tsx b/packages/plasma-ui/src/components/Switch/Switch.stories.tsx index ccf36aef4e..e96f88c758 100644 --- a/packages/plasma-ui/src/components/Switch/Switch.stories.tsx +++ b/packages/plasma-ui/src/components/Switch/Switch.stories.tsx @@ -11,7 +11,7 @@ const onFocus = actionWithPersistedEvent('onFocus'); const onBlur = actionWithPersistedEvent('onBlur'); const meta: Meta = { - title: 'Controls/Switch', + title: 'Data Entry/Switch', component: Switch, decorators: [InSpacingDecorator], }; diff --git a/packages/plasma-ui/src/components/Tabs/Tabs.stories.tsx b/packages/plasma-ui/src/components/Tabs/Tabs.stories.tsx index 665deac0a9..4b59c9c9b4 100644 --- a/packages/plasma-ui/src/components/Tabs/Tabs.stories.tsx +++ b/packages/plasma-ui/src/components/Tabs/Tabs.stories.tsx @@ -12,7 +12,7 @@ import type { TabsProps, TabsControllerProps } from '.'; const icons = ['clock', 'settings', 'house', 'trash']; const meta: Meta = { - title: 'Controls/Tabs', + title: 'Navigation/Tabs', component: Tabs, decorators: [InContainerDecorator], argTypes: { diff --git a/packages/plasma-ui/src/components/TextArea/TextArea.stories.tsx b/packages/plasma-ui/src/components/TextArea/TextArea.stories.tsx index 3d15fd08b3..5a013e4658 100644 --- a/packages/plasma-ui/src/components/TextArea/TextArea.stories.tsx +++ b/packages/plasma-ui/src/components/TextArea/TextArea.stories.tsx @@ -12,7 +12,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'Controls/TextArea', + title: 'Data Entry/TextArea', component: TextArea, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-ui/src/components/TextField/TextField.stories.tsx b/packages/plasma-ui/src/components/TextField/TextField.stories.tsx index 0a9d985dfe..915aefb2dd 100644 --- a/packages/plasma-ui/src/components/TextField/TextField.stories.tsx +++ b/packages/plasma-ui/src/components/TextField/TextField.stories.tsx @@ -11,7 +11,7 @@ import { TextField } from '.'; import type { TextFieldProps } from '.'; const meta: Meta = { - title: 'Controls/TextField', + title: 'Data Entry/TextField', component: TextField, decorators: [InSpacing], argTypes: { diff --git a/packages/plasma-ui/src/components/Toast/Toast.stories.tsx b/packages/plasma-ui/src/components/Toast/Toast.stories.tsx index 18d2e40f38..80c671d329 100644 --- a/packages/plasma-ui/src/components/Toast/Toast.stories.tsx +++ b/packages/plasma-ui/src/components/Toast/Toast.stories.tsx @@ -12,7 +12,7 @@ import { Toast, useToast, ToastPosition } from '.'; import type { ToastProps } from '.'; const meta: Meta = { - title: 'Controls/Toast', + title: 'Overlay/Toast', component: Toast, decorators: [InSpacingDecorator], }; diff --git a/packages/plasma-web/.storybook/preview.ts b/packages/plasma-web/.storybook/preview.ts index 8e76f3477a..70bd31bc74 100644 --- a/packages/plasma-web/.storybook/preview.ts +++ b/packages/plasma-web/.storybook/preview.ts @@ -39,7 +39,7 @@ const preview: Preview = { options: { storySort: { method: 'alphabetical', - order: ['About', 'Intro', 'Colors', 'Typography', 'Controls', 'Hooks'], + order: ['About', 'Layout', '*', 'Hooks'], }, }, viewport: { diff --git a/packages/plasma-web/api/plasma-web.api.md b/packages/plasma-web/api/plasma-web.api.md index 41a2f8417d..1b283b3948 100644 --- a/packages/plasma-web/api/plasma-web.api.md +++ b/packages/plasma-web/api/plasma-web.api.md @@ -239,6 +239,8 @@ import { radiuses } from '@salutejs/plasma-core'; import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components'; import { RangeProps } from '@salutejs/plasma-new-hope/styled-components'; import { rangeTokens } from '@salutejs/plasma-new-hope/styled-components'; +import { ratingClasses } from '@salutejs/plasma-new-hope/styled-components'; +import { ratingTokens } from '@salutejs/plasma-new-hope/styled-components'; import { Ratio } from '@salutejs/plasma-new-hope/styled-components'; import { default as React_2 } from 'react'; import { ReactElement } from 'react'; @@ -676,7 +678,7 @@ true: PolymorphicClassName; }; }> & ((BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -704,9 +706,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -736,9 +738,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -766,9 +768,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -798,9 +800,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -828,9 +830,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -860,9 +862,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -890,9 +892,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -922,7 +924,7 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes))>; +}, "labelPlacement" | "enumerationType" | "chipType" | "chipView" | "chips" | "onChangeChips" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes))>; // @public (undocumented) export const Avatar: FunctionComponent & DatePickerVariationProps & { +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; defaultDate?: Date | undefined; placeholder?: string | undefined; name?: string | undefined; @@ -1730,6 +1734,8 @@ readOnly: { true: PolymorphicClassName; }; }> & DatePickerVariationProps & { +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; defaultFirstDate?: Date | undefined; defaultSecondDate?: Date | undefined; name?: string | undefined; @@ -1749,10 +1755,12 @@ view?: string | undefined; disabled?: boolean | undefined; autoComplete?: string | undefined; readOnly?: boolean | undefined; +required?: boolean | undefined; size?: string | undefined; contentLeft?: ReactNode; contentRight?: ReactNode; leftHelper?: string | undefined; +requiredPlacement?: "right" | "left" | undefined; dividerVariant?: "none" | "icon" | "dash" | undefined; dividerIcon?: ReactNode; firstValueError?: boolean | undefined; @@ -1892,6 +1900,7 @@ default: PolymorphicClassName; variant?: "normal" | "tight" | undefined; portal?: string | React_2.RefObject | undefined; renderItem?: ((item: DropdownItemOption) => React_2.ReactNode) | undefined; + zIndex?: Property.ZIndex | undefined; onItemClick?: ((item: DropdownItemOption, event: React_2.SyntheticEvent) => void) | undefined; listOverflow?: Property.Overflow | undefined; listHeight?: Property.Height | undefined; @@ -2358,7 +2367,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2434,7 +2443,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2512,7 +2521,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2588,7 +2597,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2666,7 +2675,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2742,7 +2751,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2820,7 +2829,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2896,7 +2905,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3285,6 +3294,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -3322,6 +3333,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -3359,6 +3372,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -3379,6 +3394,47 @@ export { RangeProps } export { rangeTokens } +// @public (undocumented) +export const Rating: FunctionComponent & { +value?: number | null | undefined; +hasValue?: boolean | undefined; +precision?: number | undefined; +valuePlacement?: "after" | "before" | undefined; +iconSlot?: ReactNode; +iconSlotOutline?: ReactNode; +iconSlotHalf?: ReactNode; +hasIcons?: boolean | undefined; +iconQuantity?: 1 | 5 | 10 | undefined; +helperText?: string | undefined; +helperTextStretching?: "fixed" | "filled" | undefined; +size?: string | undefined; +view?: string | undefined; +} & HTMLAttributes & RefAttributes>; + +export { ratingClasses } + +export { ratingTokens } + export { Ratio } export { RectSkeleton } @@ -3545,6 +3601,8 @@ view?: string | undefined; size?: "m" | "s" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "always" | "hover"; +currentValueVisibility: "always" | "hover"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((event: FormTypeNumber) => void) | undefined; name: string; @@ -3573,6 +3631,8 @@ view?: string | undefined; size?: "m" | "s" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "always" | "hover"; +currentValueVisibility: "always" | "hover"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((value: number) => void) | undefined; value: number; @@ -3602,6 +3662,8 @@ view?: string | undefined; size?: "m" | "s" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "always" | "hover"; +currentValueVisibility: "always" | "hover"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((value: number) => void) | undefined; value: number; @@ -3630,6 +3692,8 @@ view?: string | undefined; size?: "m" | "s" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "always" | "hover"; +currentValueVisibility: "always" | "hover"; } & RefAttributes) | (Omit & { onChange?: ((event: FormTypeString) => void) | undefined; name?: string | undefined; @@ -3779,7 +3843,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3822,7 +3886,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3865,7 +3929,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3908,7 +3972,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3951,7 +4015,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3994,7 +4058,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -4037,7 +4101,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -4080,7 +4144,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { diff --git a/packages/plasma-web/package-lock.json b/packages/plasma-web/package-lock.json index 36521ab6f0..8d39e03247 100644 --- a/packages/plasma-web/package-lock.json +++ b/packages/plasma-web/package-lock.json @@ -1,18 +1,18 @@ { "name": "@salutejs/plasma-web", - "version": "1.460.0", + "version": "1.474.1-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@salutejs/plasma-web", - "version": "1.460.0", + "version": "1.474.1-dev.0", "license": "MIT", "dependencies": { - "@salutejs/plasma-core": "1.187.0", - "@salutejs/plasma-hope": "1.322.0", - "@salutejs/plasma-new-hope": "0.205.0", - "@salutejs/plasma-themes": "0.23.0", + "@salutejs/plasma-core": "1.188.0-dev.0", + "@salutejs/plasma-hope": "1.324.0-dev.0", + "@salutejs/plasma-new-hope": "0.219.1-dev.0", + "@salutejs/plasma-themes": "0.24.0-dev.0", "@salutejs/plasma-tokens-b2b": "1.43.0", "@salutejs/plasma-tokens-b2c": "0.54.0", "@salutejs/plasma-tokens-web": "1.59.0", @@ -33,9 +33,9 @@ "@rollup/plugin-commonjs": "25.0.7", "@rollup/plugin-node-resolve": "15.2.3", "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", "@storybook/addons": "7.6.17", @@ -4785,9 +4785,9 @@ "dev": true }, "node_modules/@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "dependencies": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -4803,9 +4803,9 @@ } }, "node_modules/@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true, "peerDependencies": { "react": ">=16.13.1", @@ -4814,12 +4814,12 @@ } }, "node_modules/@salutejs/plasma-hope": { - "version": "1.322.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-hope/-/plasma-hope-1.322.0.tgz", - "integrity": "sha512-fXnZH/p5T7cgWCoMA76nPYYyCgSNFBq+Ha7VjtCa6zfDhMgHN4zHW/oIDnwckhGXqMeUqWVt4UabDgHbPWjg2g==", + "version": "1.324.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-hope/-/plasma-hope-1.324.0-dev.0.tgz", + "integrity": "sha512-uKgFAdrUPe95iM2Oq/5KhCDCF+ciFvb/axKA9z9UEox2vVkeATVc8NXgotHFOc7rik4W8o3nmfgkJVOgynDGBw==", "dependencies": { "@popperjs/core": "2.9.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/plasma-typo": "0.40.0", "react-file-drop": "3.1.6", "react-popper": "2.3.0", @@ -4845,9 +4845,9 @@ } }, "node_modules/@salutejs/plasma-new-hope": { - "version": "0.205.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.205.0.tgz", - "integrity": "sha512-ofUcrUdy9DQ7WVbfEgVkGKpyMX7yDdLPdYH3KBOq91kH7PTMnn4qn1fIN+rkAb3OgJQv8uy0XCUccgaap/NlKw==", + "version": "0.219.1-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.219.1-dev.0.tgz", + "integrity": "sha512-mvDRqa0OcBfTsAr2/rk4AsPFW7GGQwUCGdK9w+amKNwNN5BfcU6y7PE8OzzeVEYHLdNHbPe6FwtNswGjb7l2zQ==", "dependencies": { "@floating-ui/dom": "1.6.10", "@floating-ui/react": "0.26.22", @@ -4856,7 +4856,7 @@ "@linaria/react": "5.0.3", "@popperjs/core": "2.11.8", "@salutejs/input-core": "2.1.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/react-maskinput": "3.2.6", "classnames": "2.5.1", "dayjs": "1.11.11", @@ -4901,13 +4901,13 @@ } }, "node_modules/@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "dependencies": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" }, "peerDependencies": { @@ -4917,9 +4917,9 @@ } }, "node_modules/@salutejs/plasma-themes": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-themes/-/plasma-themes-0.23.0.tgz", - "integrity": "sha512-PKq93LmPauzz17vjqHxrPqUyp0kIzbdmb9SFgFcMbsUZkZyx0TzwxdGL756RdrpjC87/XXNT0K6J+/xwRiaWKA==" + "version": "0.24.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-themes/-/plasma-themes-0.24.0-dev.0.tgz", + "integrity": "sha512-U5NJHo1a+45DZHqHjGNMed2athLOzNRhEStHbfgpQPkpU4FP+MQTXZY/3XisOS/qgmAJcPhKvcAMaq4SdyeaQA==" }, "node_modules/@salutejs/plasma-tokens-b2b": { "version": "1.43.0", @@ -19026,9 +19026,9 @@ "dev": true }, "@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "requires": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -19039,18 +19039,18 @@ } }, "@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true }, "@salutejs/plasma-hope": { - "version": "1.322.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-hope/-/plasma-hope-1.322.0.tgz", - "integrity": "sha512-fXnZH/p5T7cgWCoMA76nPYYyCgSNFBq+Ha7VjtCa6zfDhMgHN4zHW/oIDnwckhGXqMeUqWVt4UabDgHbPWjg2g==", + "version": "1.324.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-hope/-/plasma-hope-1.324.0-dev.0.tgz", + "integrity": "sha512-uKgFAdrUPe95iM2Oq/5KhCDCF+ciFvb/axKA9z9UEox2vVkeATVc8NXgotHFOc7rik4W8o3nmfgkJVOgynDGBw==", "requires": { "@popperjs/core": "2.9.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/plasma-typo": "0.40.0", "react-file-drop": "3.1.6", "react-popper": "2.3.0", @@ -19065,9 +19065,9 @@ "dev": true }, "@salutejs/plasma-new-hope": { - "version": "0.205.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.205.0.tgz", - "integrity": "sha512-ofUcrUdy9DQ7WVbfEgVkGKpyMX7yDdLPdYH3KBOq91kH7PTMnn4qn1fIN+rkAb3OgJQv8uy0XCUccgaap/NlKw==", + "version": "0.219.1-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.219.1-dev.0.tgz", + "integrity": "sha512-mvDRqa0OcBfTsAr2/rk4AsPFW7GGQwUCGdK9w+amKNwNN5BfcU6y7PE8OzzeVEYHLdNHbPe6FwtNswGjb7l2zQ==", "requires": { "@floating-ui/dom": "1.6.10", "@floating-ui/react": "0.26.22", @@ -19076,7 +19076,7 @@ "@linaria/react": "5.0.3", "@popperjs/core": "2.11.8", "@salutejs/input-core": "2.1.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/react-maskinput": "3.2.6", "classnames": "2.5.1", "dayjs": "1.11.11", @@ -19100,20 +19100,20 @@ } }, "@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "requires": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" } }, "@salutejs/plasma-themes": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-themes/-/plasma-themes-0.23.0.tgz", - "integrity": "sha512-PKq93LmPauzz17vjqHxrPqUyp0kIzbdmb9SFgFcMbsUZkZyx0TzwxdGL756RdrpjC87/XXNT0K6J+/xwRiaWKA==" + "version": "0.24.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-themes/-/plasma-themes-0.24.0-dev.0.tgz", + "integrity": "sha512-U5NJHo1a+45DZHqHjGNMed2athLOzNRhEStHbfgpQPkpU4FP+MQTXZY/3XisOS/qgmAJcPhKvcAMaq4SdyeaQA==" }, "@salutejs/plasma-tokens-b2b": { "version": "1.43.0", diff --git a/packages/plasma-web/package.json b/packages/plasma-web/package.json index 87a548f610..dd72515d76 100644 --- a/packages/plasma-web/package.json +++ b/packages/plasma-web/package.json @@ -1,6 +1,6 @@ { "name": "@salutejs/plasma-web", - "version": "1.460.0", + "version": "1.474.1-dev.0", "description": "Salute Design System / React UI kit for web applications", "author": "Salute Frontend Team ", "license": "MIT", @@ -19,10 +19,10 @@ "directory": "packages/plasma-web" }, "dependencies": { - "@salutejs/plasma-core": "1.187.0", - "@salutejs/plasma-hope": "1.322.0", - "@salutejs/plasma-new-hope": "0.205.0", - "@salutejs/plasma-themes": "0.23.0", + "@salutejs/plasma-core": "1.188.0-dev.0", + "@salutejs/plasma-hope": "1.324.0-dev.0", + "@salutejs/plasma-new-hope": "0.219.1-dev.0", + "@salutejs/plasma-themes": "0.24.0-dev.0", "@salutejs/plasma-tokens-b2b": "1.43.0", "@salutejs/plasma-tokens-b2c": "0.54.0", "@salutejs/plasma-tokens-web": "1.59.0", @@ -49,9 +49,9 @@ "@rollup/plugin-commonjs": "25.0.7", "@rollup/plugin-node-resolve": "15.2.3", "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", "@storybook/addons": "7.6.17", @@ -112,4 +112,4 @@ "Fanil Zubairov" ], "sideEffects": false -} +} \ No newline at end of file diff --git a/packages/plasma-web/src/components/Accordion/Accordion.stories.tsx b/packages/plasma-web/src/components/Accordion/Accordion.stories.tsx index 8068049e8b..f8295e1a0a 100644 --- a/packages/plasma-web/src/components/Accordion/Accordion.stories.tsx +++ b/packages/plasma-web/src/components/Accordion/Accordion.stories.tsx @@ -8,7 +8,7 @@ import { IconButton } from '../IconButton/IconButton'; import { Accordion, AccordionItem } from '.'; const meta: Meta = { - title: 'Content/Accordion', + title: 'Data Display/Accordion', component: Accordion, args: { singleActive: false, diff --git a/packages/plasma-web/src/components/Attach/Attach.stories.tsx b/packages/plasma-web/src/components/Attach/Attach.stories.tsx index 59dcf4921d..a214d0ada2 100644 --- a/packages/plasma-web/src/components/Attach/Attach.stories.tsx +++ b/packages/plasma-web/src/components/Attach/Attach.stories.tsx @@ -32,7 +32,7 @@ type StoryAttachProps = ComponentProps & { }; const meta: Meta = { - title: 'Controls/Attach', + title: 'Data Entry/Attach', decorators: [InSpacingDecorator], component: Attach, argTypes: { diff --git a/packages/plasma-web/src/components/AudioPlayer/AudioPlayer.stories.tsx b/packages/plasma-web/src/components/AudioPlayer/AudioPlayer.stories.tsx index d72d3ccb8e..90dc8da1f4 100644 --- a/packages/plasma-web/src/components/AudioPlayer/AudioPlayer.stories.tsx +++ b/packages/plasma-web/src/components/AudioPlayer/AudioPlayer.stories.tsx @@ -7,7 +7,7 @@ import { AudioPlayer } from '.'; import type { AudioPlayerProps } from '.'; const meta: Meta = { - title: 'Controls/AudioPlayer', + title: 'Data Entry/AudioPlayer', component: AudioPlayer, decorators: [InSpacingDecorator], }; diff --git a/packages/plasma-web/src/components/Autocomplete/Autocomplete.stories.tsx b/packages/plasma-web/src/components/Autocomplete/Autocomplete.stories.tsx index 85cfd5ee22..a1f68c0bec 100644 --- a/packages/plasma-web/src/components/Autocomplete/Autocomplete.stories.tsx +++ b/packages/plasma-web/src/components/Autocomplete/Autocomplete.stories.tsx @@ -69,7 +69,7 @@ type StoryProps = ComponentProps & { }; const meta: Meta = { - title: 'Controls/Autocomplete', + title: 'Data Entry/Autocomplete', decorators: [InSpacingDecorator], component: Autocomplete, argTypes: { diff --git a/packages/plasma-web/src/components/Avatar/Avatar.stories.tsx b/packages/plasma-web/src/components/Avatar/Avatar.stories.tsx index 278dfe4d29..81c7c46ddc 100644 --- a/packages/plasma-web/src/components/Avatar/Avatar.stories.tsx +++ b/packages/plasma-web/src/components/Avatar/Avatar.stories.tsx @@ -5,7 +5,7 @@ import { disableProps } from '@salutejs/plasma-sb-utils'; import { Avatar } from './Avatar'; const meta: Meta = { - title: 'Content/Avatar', + title: 'Data Display/Avatar', component: Avatar, argTypes: { view: { control: 'inline-radio', options: ['default'] }, diff --git a/packages/plasma-web/src/components/AvatarGroup/AvatarGroup.stories.tsx b/packages/plasma-web/src/components/AvatarGroup/AvatarGroup.stories.tsx index 173e5f3cbb..bc97ab5259 100644 --- a/packages/plasma-web/src/components/AvatarGroup/AvatarGroup.stories.tsx +++ b/packages/plasma-web/src/components/AvatarGroup/AvatarGroup.stories.tsx @@ -9,7 +9,7 @@ import { AvatarGroup } from './AvatarGroup'; type Story = StoryObj>; const meta: Meta = { - title: 'Content/AvatarGroup', + title: 'Data Display/AvatarGroup', component: AvatarGroup, }; diff --git a/packages/plasma-web/src/components/Badge/Badge.stories.tsx b/packages/plasma-web/src/components/Badge/Badge.stories.tsx index a83663bcb2..b50a61036c 100644 --- a/packages/plasma-web/src/components/Badge/Badge.stories.tsx +++ b/packages/plasma-web/src/components/Badge/Badge.stories.tsx @@ -5,7 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react'; import { Badge } from './Badge'; const meta: Meta = { - title: 'Content/Badge', + title: 'Data Display/Badge', component: Badge, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-web/src/components/Breadcrumbs/Breadcrumbs.stories.tsx b/packages/plasma-web/src/components/Breadcrumbs/Breadcrumbs.stories.tsx index a876595f69..81bfde8f6c 100644 --- a/packages/plasma-web/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +++ b/packages/plasma-web/src/components/Breadcrumbs/Breadcrumbs.stories.tsx @@ -10,7 +10,7 @@ import { Breadcrumbs } from '.'; type BreadcrumbsProps = ComponentProps; const meta: Meta = { - title: 'Content/Breadcrumbs', + title: 'Navigation/Breadcrumbs', component: Breadcrumbs, args: { view: 'default', diff --git a/packages/plasma-web/src/components/Button/Button.stories.tsx b/packages/plasma-web/src/components/Button/Button.stories.tsx index 1d24773de5..b82ace433c 100644 --- a/packages/plasma-web/src/components/Button/Button.stories.tsx +++ b/packages/plasma-web/src/components/Button/Button.stories.tsx @@ -29,7 +29,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'Controls/Button', + title: 'Data Entry/Button', decorators: [InSpacingDecorator], component: Button, args: { diff --git a/packages/plasma-web/src/components/ButtonGroup/ButtonGroup.stories.tsx b/packages/plasma-web/src/components/ButtonGroup/ButtonGroup.stories.tsx index f75cc2303d..f4b37607d2 100644 --- a/packages/plasma-web/src/components/ButtonGroup/ButtonGroup.stories.tsx +++ b/packages/plasma-web/src/components/ButtonGroup/ButtonGroup.stories.tsx @@ -18,7 +18,7 @@ const shapeValues = ['segmented', 'default']; const stretchingValues = ['auto', 'filled']; const meta: Meta = { - title: 'Controls/ButtonGroup', + title: 'Data Entry/ButtonGroup', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/plasma-web/src/components/Calendar/Calendar.stories.tsx b/packages/plasma-web/src/components/Calendar/Calendar.stories.tsx index f0cbca9594..1426c8686a 100644 --- a/packages/plasma-web/src/components/Calendar/Calendar.stories.tsx +++ b/packages/plasma-web/src/components/Calendar/Calendar.stories.tsx @@ -12,7 +12,7 @@ import { Calendar, CalendarBase, CalendarBaseRange, CalendarDouble, CalendarDoub const onChangeValue = action('onChangeValue'); const meta: Meta = { - title: 'Controls/Calendar', + title: 'Data Entry/Calendar', decorators: [InSpacingDecorator], component: Calendar, argTypes: { diff --git a/packages/plasma-web/src/components/Card/Card.stories.tsx b/packages/plasma-web/src/components/Card/Card.stories.tsx index 92a6adf015..5f81443012 100644 --- a/packages/plasma-web/src/components/Card/Card.stories.tsx +++ b/packages/plasma-web/src/components/Card/Card.stories.tsx @@ -25,7 +25,7 @@ type StoryDefaultProps = CardProps & { }; const meta: Meta = { - title: 'Content/Card', + title: 'Data Display/Card', component: Card, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-web/src/components/Carousel/Carousel.stories.tsx b/packages/plasma-web/src/components/Carousel/Carousel.stories.tsx index ff62747702..5ec412efe5 100644 --- a/packages/plasma-web/src/components/Carousel/Carousel.stories.tsx +++ b/packages/plasma-web/src/components/Carousel/Carousel.stories.tsx @@ -14,7 +14,7 @@ import { Carousel, CarouselItem } from '.'; import type { CarouselProps } from '.'; const meta: Meta = { - title: 'Controls/Carousel', + title: 'Navigation/Carousel', component: Carousel, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-web/src/components/Cell/Cell.stories.tsx b/packages/plasma-web/src/components/Cell/Cell.stories.tsx index 30e06f322c..be4277e42d 100644 --- a/packages/plasma-web/src/components/Cell/Cell.stories.tsx +++ b/packages/plasma-web/src/components/Cell/Cell.stories.tsx @@ -36,7 +36,7 @@ const ChevronRight = styled(IconChevronRight)` `; const meta: Meta = { - title: 'Content/Cell', + title: 'Data Display/Cell', argTypes: { size: { options: sizes, diff --git a/packages/plasma-web/src/components/Checkbox/Checkbox.stories.tsx b/packages/plasma-web/src/components/Checkbox/Checkbox.stories.tsx index dfa4ed3caa..526a14a786 100644 --- a/packages/plasma-web/src/components/Checkbox/Checkbox.stories.tsx +++ b/packages/plasma-web/src/components/Checkbox/Checkbox.stories.tsx @@ -36,7 +36,7 @@ const sizes = ['m', 's']; const views = ['default', 'secondary', 'tertiary', 'paragraph', 'accent', 'positive', 'warning', 'negative']; const meta: Meta = { - title: 'Controls/Checkbox', + title: 'Data Entry/Checkbox', component: Checkbox, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-web/src/components/Chip/Chip.config.tsx b/packages/plasma-web/src/components/Chip/Chip.config.tsx index 041fe13086..1c5e130f2f 100644 --- a/packages/plasma-web/src/components/Chip/Chip.config.tsx +++ b/packages/plasma-web/src/components/Chip/Chip.config.tsx @@ -103,8 +103,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1.5rem; ${chipTokens.width}: auto; ${chipTokens.height}: 3rem; - ${chipTokens.paddingRight}: 1rem; - ${chipTokens.paddingLeft}: 1rem; + ${chipTokens.padding}: 0 1rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-l-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-l-font-size); @@ -128,8 +127,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1.25rem; ${chipTokens.width}: auto; ${chipTokens.height}: 2.5rem; - ${chipTokens.paddingRight}: 0.875rem; - ${chipTokens.paddingLeft}: 0.875rem; + ${chipTokens.padding}: 0 0.875rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-m-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-m-font-size); @@ -153,8 +151,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1rem; ${chipTokens.width}: auto; ${chipTokens.height}: 2rem; - ${chipTokens.paddingRight}: 0.875rem; - ${chipTokens.paddingLeft}: 0.875rem; + ${chipTokens.padding}: 0 0.875rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-s-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-s-font-size); @@ -178,8 +175,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 0.75rem; ${chipTokens.width}: auto; ${chipTokens.height}: 1.5rem; - ${chipTokens.paddingRight}: 0.625rem; - ${chipTokens.paddingLeft}: 0.625rem; + ${chipTokens.padding}: 0 0.625rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-xs-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-xs-font-size); diff --git a/packages/plasma-web/src/components/Chip/Chip.stories.tsx b/packages/plasma-web/src/components/Chip/Chip.stories.tsx index 527de87f31..06b362ba6c 100644 --- a/packages/plasma-web/src/components/Chip/Chip.stories.tsx +++ b/packages/plasma-web/src/components/Chip/Chip.stories.tsx @@ -11,7 +11,7 @@ const sizes = ['l', 'm', 's', 'xs']; const onClear = action('onClear'); const meta: Meta = { - title: 'Controls/Chip', + title: 'Data Display/Chip', component: Chip, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-web/src/components/ChipGroup/ChipGroup.config.ts b/packages/plasma-web/src/components/ChipGroup/ChipGroup.config.ts index f42fea7cb0..900181d986 100644 --- a/packages/plasma-web/src/components/ChipGroup/ChipGroup.config.ts +++ b/packages/plasma-web/src/components/ChipGroup/ChipGroup.config.ts @@ -37,8 +37,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.75rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 3rem; - ${tokens.chipPaddingRight}: 1rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 1rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-l-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-l-font-size); @@ -61,8 +60,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.625rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.5rem; - ${tokens.chipPaddingRight}: 0.875rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.875rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-m-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-m-font-size); @@ -85,8 +83,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2rem; - ${tokens.chipPaddingRight}: 0.875rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.875rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-s-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-s-font-size); @@ -109,8 +106,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.5rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.625rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-xs-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-xs-font-size); diff --git a/packages/plasma-web/src/components/ChipGroup/ChipGroup.stories.tsx b/packages/plasma-web/src/components/ChipGroup/ChipGroup.stories.tsx index 822c9af359..2aadccfef5 100644 --- a/packages/plasma-web/src/components/ChipGroup/ChipGroup.stories.tsx +++ b/packages/plasma-web/src/components/ChipGroup/ChipGroup.stories.tsx @@ -15,7 +15,7 @@ const sizes = ['l', 'm', 's', 'xs']; const gapValues = ['dense', 'wide']; const meta: Meta = { - title: 'Controls/ChipGroup', + title: 'Data Display/ChipGroup', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/plasma-web/src/components/Colors.stories.tsx b/packages/plasma-web/src/components/Colors.stories.tsx deleted file mode 100644 index 9b43cd1950..0000000000 --- a/packages/plasma-web/src/components/Colors.stories.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import React from 'react'; -import styled from 'styled-components'; -import type { StoryObj, Meta } from '@storybook/react'; -import { general, additional } from '@salutejs/plasma-colors'; -import { light, dark } from '@salutejs/plasma-tokens-b2b'; -import { ThemeColors, extractWebThemeColors } from '@salutejs/plasma-sb-utils'; - -import { PaletteGrid, flattenPalette, InSpacingDecorator } from '../helpers'; - -const meta: Meta = { - title: 'Colors', - decorators: [InSpacingDecorator], -}; - -export default meta; - -const StyledContainer = styled.div` - display: flex; -`; - -const colors = extractWebThemeColors(light, dark); - -export const Default: StoryObj = { - render: () => { - return ( - - - - - ); - }, -}; - -const generalColors = flattenPalette(general); - -const additionalColors = flattenPalette(additional); - -export const General: StoryObj = { - render: () => , -}; - -export const Additional: StoryObj = { - render: () => , -}; diff --git a/packages/plasma-web/src/components/Combobox/Combobox.component-test.tsx b/packages/plasma-web/src/components/Combobox/Combobox.component-test.tsx index e502a7b9d8..883995ab73 100644 --- a/packages/plasma-web/src/components/Combobox/Combobox.component-test.tsx +++ b/packages/plasma-web/src/components/Combobox/Combobox.component-test.tsx @@ -8,6 +8,8 @@ const items = [ { value: 'north_america', label: 'Северная Америка', + className: 'test-classname', + 'data-name': 'test-data-name', }, { value: 'south_america', @@ -1167,6 +1169,34 @@ describe('plasma-web: Combobox', () => { cy.matchImageSnapshot(); }); + it('prop: item data-attrs', () => { + cy.viewport(400, 100); + + mount( +
+ +
, + ); + + cy.get('#single').realClick(); + cy.get('[id$="tree_level_1"]').should('be.visible'); + + cy.get('[id$="north_america"]').should('have.class', 'test-classname'); + cy.get('[id$="north_america"]').should('have.attr', 'data-name', 'test-data-name'); + }); + + it('prop: zIndex', () => { + mount( +
+ +
, + ); + + cy.get('#single').realClick(); + + cy.get('[data-floating-ui-portal] > div').should('have.css', 'z-index', '10000'); + }); + it('flow: single uncontrolled', () => { cy.viewport(1000, 500); @@ -1401,7 +1431,43 @@ describe('plasma-web: Combobox', () => { cy.matchImageSnapshot(); }); - it('keyboard interactions', () => { + it('keyboard interactions: single', () => { + cy.viewport(1000, 500); + + const Component = () => { + return ( +
+ +
+ ); + }; + + mount(); + + cy.get('body').realClick(); + cy.realPress('Tab'); + cy.get('#single').should('be.focused'); + + // Escape + cy.realPress('ArrowDown').realPress('ArrowDown').realPress('ArrowRight').realPress('ArrowRight'); + cy.realPress('Escape'); + cy.get('[id$="tree_level_1"]').should('not.exist'); + cy.get('[id$="tree_level_2"]').should('not.exist'); + cy.get('[id$="tree_level_3"]').should('not.exist'); + cy.get('#single').should('be.focused'); + cy.realPress('ArrowDown').realPress('Enter').realPress('Escape'); + cy.get('#single').should('be.focused'); + cy.get('#single').should('have.value', 'Северная Америка'); + cy.get('[id$="tree_level_1"]').should('not.exist'); + + // Tab + cy.realPress('Tab'); + cy.get('#single').should('not.be.focused'); + cy.get('#single').should('have.value', 'Северная Америка'); + cy.get('[id$="tree_level_1"]').should('not.exist'); + }); + + it('keyboard interactions: multiple', () => { cy.viewport(1000, 500); const Component = () => { diff --git a/packages/plasma-web/src/components/Combobox/Combobox.config.ts b/packages/plasma-web/src/components/Combobox/Combobox.config.ts index db21888b99..642f085ce4 100644 --- a/packages/plasma-web/src/components/Combobox/Combobox.config.ts +++ b/packages/plasma-web/src/components/Combobox/Combobox.config.ts @@ -247,8 +247,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.5rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.75rem; - ${tokens.textFieldChipPaddingRight}: 0.75rem; - ${tokens.textFieldChipPaddingLeft}: 1rem; + ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.5rem; @@ -354,8 +353,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.375rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.25rem; - ${tokens.textFieldChipPaddingRight}: 0.625rem; - ${tokens.textFieldChipPaddingLeft}: 0.875rem; + ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.25rem; @@ -461,8 +459,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.25rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.75rem; - ${tokens.textFieldChipPaddingRight}: 0.5rem; - ${tokens.textFieldChipPaddingLeft}: 0.75rem; + ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1rem; @@ -568,8 +565,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.125rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.25rem; - ${tokens.textFieldChipPaddingRight}: 0.375rem; - ${tokens.textFieldChipPaddingLeft}: 0.625rem; + ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 0.75rem; diff --git a/packages/plasma-web/src/components/Combobox/Combobox.stories.tsx b/packages/plasma-web/src/components/Combobox/Combobox.stories.tsx index 85fec66fb9..cebf47077e 100644 --- a/packages/plasma-web/src/components/Combobox/Combobox.stories.tsx +++ b/packages/plasma-web/src/components/Combobox/Combobox.stories.tsx @@ -16,7 +16,7 @@ const labelPlacement = ['inner', 'outer']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'Controls/Combobox', + title: 'Data Entry/Combobox', decorators: [InSpacingDecorator], component: Combobox, argTypes: { @@ -361,7 +361,6 @@ const SingleStory = (args: StorySelectProps) => { value={value} onChange={setValue} contentLeft={args.enableContentLeft ? : undefined} - autoComplete="off" /> ); @@ -388,7 +387,6 @@ const MultipleStory = (args: StorySelectProps) => { value={value} onChange={setValue} contentLeft={args.enableContentLeft ? : undefined} - autoComplete="off" /> ); diff --git a/packages/plasma-web/src/components/Combobox/Legacy/Combobox.config.ts b/packages/plasma-web/src/components/Combobox/Legacy/Combobox.config.ts index 5f9ed243ae..ac382f9797 100644 --- a/packages/plasma-web/src/components/Combobox/Legacy/Combobox.config.ts +++ b/packages/plasma-web/src/components/Combobox/Legacy/Combobox.config.ts @@ -42,8 +42,7 @@ export const config = { ${comboboxTokens.chipBorderRadius}: 0.125rem; ${comboboxTokens.chipWidth}: auto; ${comboboxTokens.chipHeight}: 1.25rem; - ${comboboxTokens.chipPaddingRight}: 0.375rem; - ${comboboxTokens.chipPaddingLeft}: 0.625rem; + ${comboboxTokens.chipPadding}: 0 0.375rem 0 0.625rem; ${comboboxTokens.chipClearContentMarginLeft}: 0.25rem; ${comboboxTokens.chipClearContentMarginRight}: 0rem; ${comboboxTokens.chipCloseIconSize}: 0.75rem; @@ -111,8 +110,7 @@ export const config = { ${comboboxTokens.chipBorderRadius}: 0.25rem; ${comboboxTokens.chipWidth}: auto; ${comboboxTokens.chipHeight}: 1.75rem; - ${comboboxTokens.chipPaddingRight}: 0.5rem; - ${comboboxTokens.chipPaddingLeft}: 0.75rem; + ${comboboxTokens.chipPadding}: 0 0.5rem 0 0.75rem; ${comboboxTokens.chipClearContentMarginLeft}: 0.375rem; ${comboboxTokens.chipClearContentMarginRight}: 0rem; ${comboboxTokens.chipCloseIconSize}: 0.75rem; @@ -180,8 +178,7 @@ export const config = { ${comboboxTokens.chipBorderRadius}: 0.375rem; ${comboboxTokens.chipWidth}: auto; ${comboboxTokens.chipHeight}: 2.25rem; - ${comboboxTokens.chipPaddingRight}: 0.875rem; - ${comboboxTokens.chipPaddingLeft}: 0.625rem; + ${comboboxTokens.chipPadding}: 0 0.875rem 0 0.625rem; ${comboboxTokens.chipClearContentMarginLeft}: 0.5rem; ${comboboxTokens.chipClearContentMarginRight}: 0rem; ${comboboxTokens.chipCloseIconSize}: 1rem; @@ -249,8 +246,7 @@ export const config = { ${comboboxTokens.chipBorderRadius}: 0.5rem; ${comboboxTokens.chipWidth}: auto; ${comboboxTokens.chipHeight}: 2.75rem; - ${comboboxTokens.chipPaddingRight}: 0.75rem; - ${comboboxTokens.chipPaddingLeft}: 1rem; + ${comboboxTokens.chipPadding}: 0 0.75rem 0 1rem; ${comboboxTokens.chipClearContentMarginLeft}: 0.625rem; ${comboboxTokens.chipClearContentMarginRight}: 0rem; ${comboboxTokens.chipCloseIconSize}: 1rem; diff --git a/packages/plasma-web/src/components/Combobox/Legacy/Combobox.stories.tsx b/packages/plasma-web/src/components/Combobox/Legacy/Combobox.stories.tsx index 3203adfadc..7b2e98070e 100644 --- a/packages/plasma-web/src/components/Combobox/Legacy/Combobox.stories.tsx +++ b/packages/plasma-web/src/components/Combobox/Legacy/Combobox.stories.tsx @@ -24,7 +24,7 @@ type ComboboxPrimitiveValue = string | number | boolean; type StorySelectProps = ComponentProps & StorySelectPropsCustom; const meta: Meta = { - title: 'Controls/Combobox', + title: 'Data Entry/Combobox', decorators: [InSpacingDecorator], component: Combobox, argTypes: { diff --git a/packages/plasma-web/src/components/Counter/Counter.config.ts b/packages/plasma-web/src/components/Counter/Counter.config.ts index b130818f59..d267bbc2fc 100644 --- a/packages/plasma-web/src/components/Counter/Counter.config.ts +++ b/packages/plasma-web/src/components/Counter/Counter.config.ts @@ -48,8 +48,7 @@ export const config = { l: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.75rem; - ${counterTokens.paddingRight}: 0.625rem; - ${counterTokens.paddingLeft}: 0.625rem; + ${counterTokens.padding}: 0 0.625rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-s-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-s-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-s-font-style); @@ -60,8 +59,7 @@ export const config = { m: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.5rem; - ${counterTokens.paddingRight}: 0.5rem; - ${counterTokens.paddingLeft}: 0.5rem; + ${counterTokens.padding}: 0 0.5rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xs-font-style); @@ -72,8 +70,7 @@ export const config = { s: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.25rem; - ${counterTokens.paddingRight}: 0.375rem; - ${counterTokens.paddingLeft}: 0.375rem; + ${counterTokens.padding}: 0 0.375rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); @@ -84,8 +81,7 @@ export const config = { xs: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1rem; - ${counterTokens.paddingRight}: 0.25rem; - ${counterTokens.paddingLeft}: 0.25rem; + ${counterTokens.padding}: 0 0.25rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); @@ -96,8 +92,7 @@ export const config = { xxs: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 0.75rem; - ${counterTokens.paddingRight}: 0.125rem; - ${counterTokens.paddingLeft}: 0.125rem; + ${counterTokens.padding}: 0 0.125rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); diff --git a/packages/plasma-web/src/components/Counter/Counter.stories.tsx b/packages/plasma-web/src/components/Counter/Counter.stories.tsx index cb66913eeb..e1543d8f37 100644 --- a/packages/plasma-web/src/components/Counter/Counter.stories.tsx +++ b/packages/plasma-web/src/components/Counter/Counter.stories.tsx @@ -7,7 +7,7 @@ const sizes = ['l', 'm', 's', 'xs', 'xxs']; const views = ['default', 'accent', 'positive', 'warning', 'negative', 'dark', 'light']; const meta: Meta = { - title: 'Content/Counter', + title: 'Data Display/Counter', component: Counter, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/plasma-web/src/components/DatePicker/DatePicker.component-test.tsx b/packages/plasma-web/src/components/DatePicker/DatePicker.component-test.tsx index e5c6ecd25f..180f74bc5c 100644 --- a/packages/plasma-web/src/components/DatePicker/DatePicker.component-test.tsx +++ b/packages/plasma-web/src/components/DatePicker/DatePicker.component-test.tsx @@ -237,6 +237,26 @@ describe('plasma-web: DatePicker', () => { }); }); + it('prop: required', () => { + cy.viewport(500, 800); + + mount( + +
+ + + + + + + +
+
, + ); + + cy.matchImageSnapshot(); + }); + it('prop: onToggle, outside click', () => { mount( @@ -534,6 +554,26 @@ describe('plasma-web: DatePickerRange', () => { }); }); + it('prop: required', () => { + cy.viewport(500, 800); + + mount( + +
+ + + + + + + +
+
, + ); + + cy.matchImageSnapshot(); + }); + it('prop: onToggle, outside click', () => { mount( diff --git a/packages/plasma-web/src/components/DatePicker/DatePicker.config.ts b/packages/plasma-web/src/components/DatePicker/DatePicker.config.ts index 7dc366103a..be1135b4e8 100644 --- a/packages/plasma-web/src/components/DatePicker/DatePicker.config.ts +++ b/packages/plasma-web/src/components/DatePicker/DatePicker.config.ts @@ -30,6 +30,8 @@ export const config = { ${tokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelInnerLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorColor}: var(--surface-negative); + ${tokens.textFieldBorderColorFocus}: var(--surface-accent); ${tokens.textFieldBorderColorError}: var(--surface-negative); ${tokens.textFieldBorderColorErrorFocus}: var(--surface-accent); @@ -88,7 +90,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 1rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.75rem 0; + ${tokens.labelOffset}: 0.75rem; ${tokens.labelInnerPadding}: 0.5625rem 0 0.125rem 0; ${tokens.contentLabelInnerPadding}: 1.5625rem 0 0.5625rem 0; @@ -99,6 +101,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-l-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.5rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 3.5rem; ${tokens.textFieldBorderRadius}: 0.875rem; ${tokens.textFieldBorderWidth}: 0.0625rem; @@ -216,7 +225,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.875rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.625rem 0; + ${tokens.labelOffset}: 0.625rem; ${tokens.labelInnerPadding}: 0.375rem 0 0.125rem 0; ${tokens.contentLabelInnerPadding}: 1.375rem 0 0.375rem 0; @@ -227,6 +236,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-m-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.375rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 3rem; ${tokens.textFieldBorderRadius}: 0.75rem; ${tokens.textFieldBorderWidth}: 0.0625rem; @@ -343,7 +359,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0.375rem 0 0.75rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.5rem 0; + ${tokens.labelOffset}: 0.5rem; ${tokens.labelInnerPadding}: 0.3125rem 0 0 0; ${tokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0; @@ -354,6 +370,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.3125rem auto auto -0.6875rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 2.5rem; ${tokens.textFieldBorderRadius}: 0.625rem; ${tokens.textFieldBorderWidth}: 0.0625rem; @@ -470,7 +493,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.5rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.375rem 0; + ${tokens.labelOffset}: 0.375rem; ${tokens.labelInnerPadding}: 0.3125rem 0 0 0; ${tokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0; @@ -481,6 +504,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.25rem auto auto -0.625rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.125rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 2rem; ${tokens.textFieldBorderRadius}: 0.5rem; ${tokens.textFieldBorderWidth}: 0.0625rem; @@ -592,6 +622,7 @@ export const config = { true: css` ${tokens.backgroundReadOnly}: var(--surface-clear); ${tokens.borderColorReadOnly}: var(--surface-transparent-tertiary); + ${tokens.textFieldBorderColorReadOnly}: var(--surface-transparent-tertiary); ${tokens.labelColorReadOnly}: var(--text-secondary); ${tokens.leftHelperColorReadOnly}: var(--text-secondary); ${tokens.dividerColorReadOnly}: var(--text-secondary); diff --git a/packages/plasma-web/src/components/DatePicker/DatePicker.stories.tsx b/packages/plasma-web/src/components/DatePicker/DatePicker.stories.tsx index 4d32133f41..b992490aca 100644 --- a/packages/plasma-web/src/components/DatePicker/DatePicker.stories.tsx +++ b/packages/plasma-web/src/components/DatePicker/DatePicker.stories.tsx @@ -18,9 +18,10 @@ const sizes = ['l', 'm', 's', 'xs']; const views = ['default']; const dividers = ['none', 'dash', 'icon']; const labelPlacements = ['outer', 'inner']; +const requiredPlacements = ['left', 'right']; const meta: Meta = { - title: 'Controls/DatePicker', + title: 'Data Entry/DatePicker', decorators: [InSpacingDecorator], argTypes: { view: { @@ -57,6 +58,13 @@ const meta: Meta = { type: 'select', }, }, + requiredPlacement: { + options: requiredPlacements, + control: { + type: 'select', + }, + if: { arg: 'required', truthy: true }, + }, }, }; @@ -126,6 +134,8 @@ export const Default: StoryObj = { min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, textBefore: '', @@ -261,6 +271,8 @@ export const Range: StoryObj = { min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, enableContentLeft: true, @@ -348,6 +360,8 @@ export const Deferred: StoryObj = { min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, textBefore: '', diff --git a/packages/plasma-web/src/components/Divider/Divider.stories.tsx b/packages/plasma-web/src/components/Divider/Divider.stories.tsx index cf45f3537c..1068194ae6 100644 --- a/packages/plasma-web/src/components/Divider/Divider.stories.tsx +++ b/packages/plasma-web/src/components/Divider/Divider.stories.tsx @@ -9,7 +9,7 @@ import { BodyS } from '../Typography'; import { Divider } from './Divider'; const meta: Meta = { - title: 'Content/Divider', + title: 'Data Display/Divider', decorators: [InSpacingDecorator], argTypes: { orientation: { diff --git a/packages/plasma-web/src/components/Drawer/Drawer.component-test.tsx b/packages/plasma-web/src/components/Drawer/Drawer.component-test.tsx index 2991b66ec3..b8ee2df9b8 100644 --- a/packages/plasma-web/src/components/Drawer/Drawer.component-test.tsx +++ b/packages/plasma-web/src/components/Drawer/Drawer.component-test.tsx @@ -17,6 +17,7 @@ type DrawerDemoProps = { closePlacement?: string; hasClose?: boolean; asModal?: boolean; + 'data-testid'?: string; }; const StandardTypoStyle = createGlobalStyle(standardTypo); @@ -60,6 +61,7 @@ describe('plasma-b2c: Drawer', () => { asModal = true, closeOnEsc = false, closeOnOverlayClick = false, + 'data-testid': testId, } = props; return ( @@ -75,6 +77,7 @@ describe('plasma-b2c: Drawer', () => { closeOnOverlayClick={closeOnOverlayClick} width={width} height={height} + data-testid={testId} > { cy.matchImageSnapshot(); }); + + it('prop: data-attrs', () => { + mount( + + + + + + + , + ); + + cy.get('button').click(); + + cy.get('.popup-base-root').should('have.attr', 'data-testid', 'test-data-id'); + }); }); diff --git a/packages/plasma-web/src/components/Drawer/Drawer.stories.tsx b/packages/plasma-web/src/components/Drawer/Drawer.stories.tsx index b71592528e..94762a5359 100644 --- a/packages/plasma-web/src/components/Drawer/Drawer.stories.tsx +++ b/packages/plasma-web/src/components/Drawer/Drawer.stories.tsx @@ -14,7 +14,7 @@ import type { ClosePlacementType } from '.'; import { Drawer, DrawerContent, DrawerFooter, DrawerHeader } from '.'; export default { - title: 'Controls/Drawer', + title: 'Overlay/Drawer', decorators: [InSpacingDecorator], argTypes: { placement: { diff --git a/packages/plasma-web/src/components/Dropdown/Dropdown.component-test.tsx b/packages/plasma-web/src/components/Dropdown/Dropdown.component-test.tsx index fae37579f0..e25c535acb 100644 --- a/packages/plasma-web/src/components/Dropdown/Dropdown.component-test.tsx +++ b/packages/plasma-web/src/components/Dropdown/Dropdown.component-test.tsx @@ -13,6 +13,8 @@ const items = [ label: 'Северная Америка', contentLeft: , contentRight: , + className: 'test-classname', + 'data-name': 'test-data-name', }, { value: 'south_america', @@ -548,6 +550,38 @@ describe('plasma-web: Dropdown', () => { cy.matchImageSnapshot(); }); + it('prop: item data-attrs', () => { + cy.viewport(400, 100); + + mount( +
+ +
, + ); + + cy.get('button').realClick(); + cy.get('[id$="tree_level_1"]').should('be.visible'); + + cy.get('[id$="north_america"]').should('have.class', 'test-classname'); + cy.get('[id$="north_america"]').should('have.attr', 'data-name', 'test-data-name'); + }); + + it('prop: zIndex', () => { + mount( + + + } - contentLeft={} + contentLeft={} {...args} id="example-tooltip-firstname" text="Tooltip text" @@ -134,21 +137,7 @@ export const Live: StoryObj = { }, mapping: placements, }, - ...disableProps([ - 'target', - 'children', - 'text', - 'opened', - 'isOpen', - 'isVisible', - 'offset', - 'frame', - 'view', - 'zIndex', - 'contentLeft', - 'onDismiss', - 'size', - ]), + ...disableProps(disabledProps), }, args: { placement: 'bottom', diff --git a/packages/sdds-cs/src/components/Typography/Typography.stories.tsx b/packages/sdds-cs/src/components/Typography/Typography.stories.tsx index e50708df84..944dcfabc6 100644 --- a/packages/sdds-cs/src/components/Typography/Typography.stories.tsx +++ b/packages/sdds-cs/src/components/Typography/Typography.stories.tsx @@ -23,7 +23,7 @@ import { } from '.'; const meta: Meta = { - title: 'Content/Typography', + title: 'Data Display/Typography', component: DsplL, argTypes: { ...disableProps(['size']), diff --git a/packages/sdds-cs/src/components/ViewContainer/ViewContainer.stories.tsx b/packages/sdds-cs/src/components/ViewContainer/ViewContainer.stories.tsx index 93b9c689d6..7bc3c65071 100644 --- a/packages/sdds-cs/src/components/ViewContainer/ViewContainer.stories.tsx +++ b/packages/sdds-cs/src/components/ViewContainer/ViewContainer.stories.tsx @@ -11,7 +11,7 @@ import { ViewContainer } from './ViewContainer'; type StoryViewProps = ComponentProps; const meta: Meta = { - title: 'Layout/ViewContainer', + title: 'Data Display/ViewContainer', decorators: [InSpacingDecorator], }; diff --git a/packages/sdds-cs/src/helpers/index.ts b/packages/sdds-cs/src/helpers/index.ts index 21030ca6b5..9e8bb696cd 100644 --- a/packages/sdds-cs/src/helpers/index.ts +++ b/packages/sdds-cs/src/helpers/index.ts @@ -1 +1 @@ -export { IconPlaceholder, InSpacingDecorator, disableProps } from '@salutejs/plasma-sb-utils'; +export { IconPlaceholder, InSpacingDecorator, disableProps, getGroupedTokens } from '@salutejs/plasma-sb-utils'; diff --git a/packages/sdds-dfa/.storybook/preview.tsx b/packages/sdds-dfa/.storybook/preview.tsx index 1dab1aedd9..a8135322ec 100644 --- a/packages/sdds-dfa/.storybook/preview.tsx +++ b/packages/sdds-dfa/.storybook/preview.tsx @@ -46,7 +46,7 @@ const preview: Preview = { options: { storySort: { method: 'alphabetical', - order: ['About', 'Intro', 'Colors', 'Typography', 'Controls', 'Hooks'], + order: ['About', 'Layout', '*', 'Hooks'], }, }, viewport: { diff --git a/packages/sdds-dfa/api/sdds-dfa.api.md b/packages/sdds-dfa/api/sdds-dfa.api.md index 8f20fa2078..1b967ba263 100644 --- a/packages/sdds-dfa/api/sdds-dfa.api.md +++ b/packages/sdds-dfa/api/sdds-dfa.api.md @@ -166,6 +166,8 @@ import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components'; import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components'; import { RangeProps } from '@salutejs/plasma-new-hope/styled-components'; import { rangeTokens } from '@salutejs/plasma-new-hope/styled-components'; +import { ratingClasses } from '@salutejs/plasma-new-hope/styled-components'; +import { ratingTokens } from '@salutejs/plasma-new-hope/styled-components'; import { Ratio } from '@salutejs/plasma-new-hope/styled-components'; import { default as React_2 } from 'react'; import { ReactElement } from 'react'; @@ -478,7 +480,7 @@ true: PolymorphicClassName; }; }> & ((BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -489,7 +491,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -506,9 +508,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -519,7 +521,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -538,9 +540,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -568,9 +570,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -600,9 +602,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -613,7 +615,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -630,9 +632,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -643,7 +645,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -662,9 +664,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -692,9 +694,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -724,7 +726,7 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes))>; +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes))>; // @public (undocumented) export const Avatar: FunctionComponent & DatePickerVariationProps & { +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; defaultDate?: Date | undefined; placeholder?: string | undefined; name?: string | undefined; @@ -1391,6 +1395,8 @@ readOnly: { true: PolymorphicClassName; }; }> & DatePickerVariationProps & { +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; defaultFirstDate?: Date | undefined; defaultSecondDate?: Date | undefined; name?: string | undefined; @@ -1410,10 +1416,12 @@ view?: string | undefined; disabled?: boolean | undefined; autoComplete?: string | undefined; readOnly?: boolean | undefined; +required?: boolean | undefined; size?: string | undefined; contentLeft?: ReactNode; contentRight?: ReactNode; leftHelper?: string | undefined; +requiredPlacement?: "right" | "left" | undefined; dividerVariant?: "none" | "dash" | "icon" | undefined; dividerIcon?: ReactNode; firstValueError?: boolean | undefined; @@ -1549,6 +1557,7 @@ default: PolymorphicClassName; variant?: "normal" | "tight" | undefined; portal?: string | React_2.RefObject | undefined; renderItem?: ((item: DropdownItemOption) => React_2.ReactNode) | undefined; + zIndex?: Property.ZIndex | undefined; onItemClick?: ((item: DropdownItemOption, event: React_2.SyntheticEvent) => void) | undefined; listOverflow?: Property.Overflow | undefined; listHeight?: Property.Height | undefined; @@ -1910,7 +1919,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -1921,7 +1930,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -1986,7 +1995,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -1997,7 +2006,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -2064,7 +2073,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2140,7 +2149,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2218,7 +2227,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2229,7 +2238,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -2294,7 +2303,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2305,7 +2314,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -2372,7 +2381,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2448,7 +2457,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2732,6 +2741,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -2769,6 +2780,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -2806,6 +2819,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -2826,6 +2841,47 @@ export { RangeProps } export { rangeTokens } +// @public (undocumented) +export const Rating: FunctionComponent & { +value?: number | null | undefined; +hasValue?: boolean | undefined; +precision?: number | undefined; +valuePlacement?: "before" | "after" | undefined; +iconSlot?: ReactNode; +iconSlotOutline?: ReactNode; +iconSlotHalf?: ReactNode; +hasIcons?: boolean | undefined; +iconQuantity?: 1 | 5 | 10 | undefined; +helperText?: string | undefined; +helperTextStretching?: "filled" | "fixed" | undefined; +size?: string | undefined; +view?: string | undefined; +} & HTMLAttributes & RefAttributes>; + +export { ratingClasses } + +export { ratingTokens } + export { Ratio } export { Row } @@ -2966,6 +3022,8 @@ view?: string | undefined; size?: "s" | "m" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "hover" | "always"; +currentValueVisibility: "hover" | "always"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((event: FormTypeNumber) => void) | undefined; name: string; @@ -2994,6 +3052,8 @@ view?: string | undefined; size?: "s" | "m" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "hover" | "always"; +currentValueVisibility: "hover" | "always"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((value: number) => void) | undefined; value: number; @@ -3023,6 +3083,8 @@ view?: string | undefined; size?: "s" | "m" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "hover" | "always"; +currentValueVisibility: "hover" | "always"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((value: number) => void) | undefined; value: number; @@ -3051,6 +3113,8 @@ view?: string | undefined; size?: "s" | "m" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "hover" | "always"; +currentValueVisibility: "hover" | "always"; } & RefAttributes) | (Omit & { onChange?: ((event: FormTypeString) => void) | undefined; name?: string | undefined; @@ -3207,7 +3271,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3216,7 +3280,7 @@ requiredPlacement?: "right" | "left" | undefined; optional?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintOpened?: boolean | undefined; hintView?: string | undefined; hintSize?: string | undefined; @@ -3250,7 +3314,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3259,7 +3323,7 @@ requiredPlacement?: "right" | "left" | undefined; optional?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintOpened?: boolean | undefined; hintView?: string | undefined; hintSize?: string | undefined; @@ -3293,7 +3357,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3302,7 +3366,7 @@ requiredPlacement?: "right" | "left" | undefined; optional?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintOpened?: boolean | undefined; hintView?: string | undefined; hintSize?: string | undefined; @@ -3336,7 +3400,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3345,7 +3409,7 @@ requiredPlacement?: "right" | "left" | undefined; optional?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintOpened?: boolean | undefined; hintView?: string | undefined; hintSize?: string | undefined; @@ -3379,7 +3443,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3422,7 +3486,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3465,7 +3529,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3508,7 +3572,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3594,7 +3658,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3605,7 +3669,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -3629,7 +3693,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3640,7 +3704,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -3666,7 +3730,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3701,7 +3765,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3738,7 +3802,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3749,7 +3813,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -3773,7 +3837,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3784,7 +3848,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -3810,7 +3874,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3845,7 +3909,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; diff --git a/packages/sdds-dfa/package-lock.json b/packages/sdds-dfa/package-lock.json index 82d4c5a057..d9385b70f8 100644 --- a/packages/sdds-dfa/package-lock.json +++ b/packages/sdds-dfa/package-lock.json @@ -1,15 +1,15 @@ { "name": "@salutejs/sdds-dfa", - "version": "0.186.0", + "version": "0.200.1-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@salutejs/sdds-dfa", - "version": "0.186.0", + "version": "0.200.1-dev.0", "license": "MIT", "dependencies": { - "@salutejs/plasma-new-hope": "0.205.0", + "@salutejs/plasma-new-hope": "0.219.1-dev.0", "@salutejs/sdds-themes": "0.27.0" }, "devDependencies": { @@ -22,10 +22,10 @@ "@babel/preset-typescript": "7.24.1", "@microsoft/api-extractor": "7.38.3", "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-core": "1.188.0-dev.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", "@storybook/addons": "7.6.17", @@ -5552,9 +5552,9 @@ "dev": true }, "node_modules/@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "dependencies": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -5584,9 +5584,9 @@ } }, "node_modules/@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true, "peerDependencies": { "react": ">=16.13.1", @@ -5606,9 +5606,9 @@ } }, "node_modules/@salutejs/plasma-new-hope": { - "version": "0.205.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.205.0.tgz", - "integrity": "sha512-ofUcrUdy9DQ7WVbfEgVkGKpyMX7yDdLPdYH3KBOq91kH7PTMnn4qn1fIN+rkAb3OgJQv8uy0XCUccgaap/NlKw==", + "version": "0.219.1-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.219.1-dev.0.tgz", + "integrity": "sha512-mvDRqa0OcBfTsAr2/rk4AsPFW7GGQwUCGdK9w+amKNwNN5BfcU6y7PE8OzzeVEYHLdNHbPe6FwtNswGjb7l2zQ==", "dependencies": { "@floating-ui/dom": "1.6.10", "@floating-ui/react": "0.26.22", @@ -5617,7 +5617,7 @@ "@linaria/react": "5.0.3", "@popperjs/core": "2.11.8", "@salutejs/input-core": "2.1.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/react-maskinput": "3.2.6", "classnames": "2.5.1", "dayjs": "1.11.11", @@ -5656,13 +5656,13 @@ } }, "node_modules/@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "dependencies": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" }, "peerDependencies": { @@ -21419,9 +21419,9 @@ "dev": true }, "@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "requires": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -21443,9 +21443,9 @@ } }, "@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true }, "@salutejs/plasma-icons": { @@ -21455,9 +21455,9 @@ "dev": true }, "@salutejs/plasma-new-hope": { - "version": "0.205.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.205.0.tgz", - "integrity": "sha512-ofUcrUdy9DQ7WVbfEgVkGKpyMX7yDdLPdYH3KBOq91kH7PTMnn4qn1fIN+rkAb3OgJQv8uy0XCUccgaap/NlKw==", + "version": "0.219.1-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.219.1-dev.0.tgz", + "integrity": "sha512-mvDRqa0OcBfTsAr2/rk4AsPFW7GGQwUCGdK9w+amKNwNN5BfcU6y7PE8OzzeVEYHLdNHbPe6FwtNswGjb7l2zQ==", "requires": { "@floating-ui/dom": "1.6.10", "@floating-ui/react": "0.26.22", @@ -21466,7 +21466,7 @@ "@linaria/react": "5.0.3", "@popperjs/core": "2.11.8", "@salutejs/input-core": "2.1.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/react-maskinput": "3.2.6", "classnames": "2.5.1", "dayjs": "1.11.11", @@ -21494,13 +21494,13 @@ } }, "@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "requires": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" } }, diff --git a/packages/sdds-dfa/package.json b/packages/sdds-dfa/package.json index 7ec50d69cc..548c5ed955 100644 --- a/packages/sdds-dfa/package.json +++ b/packages/sdds-dfa/package.json @@ -1,6 +1,6 @@ { "name": "@salutejs/sdds-dfa", - "version": "0.186.0", + "version": "0.200.1-dev.0", "description": "Salute Design System / React UI kit for SDDS DFA web applications", "author": "Salute Frontend Team ", "license": "MIT", @@ -19,7 +19,7 @@ "directory": "packages/sdds-dfa" }, "dependencies": { - "@salutejs/plasma-new-hope": "0.205.0", + "@salutejs/plasma-new-hope": "0.219.1-dev.0", "@salutejs/sdds-themes": "0.27.0" }, "peerDependencies": { @@ -37,10 +37,10 @@ "@babel/preset-typescript": "7.24.1", "@microsoft/api-extractor": "7.38.3", "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-core": "1.188.0-dev.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", "@storybook/addons": "7.6.17", @@ -95,4 +95,4 @@ "Anton Vinogradov" ], "sideEffects": false -} +} \ No newline at end of file diff --git a/packages/sdds-dfa/src/components/Accordion/Accordion.stories.tsx b/packages/sdds-dfa/src/components/Accordion/Accordion.stories.tsx index cfe0226e4e..030b1736d6 100644 --- a/packages/sdds-dfa/src/components/Accordion/Accordion.stories.tsx +++ b/packages/sdds-dfa/src/components/Accordion/Accordion.stories.tsx @@ -24,7 +24,7 @@ type AccordionItemCustomProps = { type AccordionProps = ComponentProps & AccordionItemCustomProps; const meta: Meta = { - title: 'Content/Accordion', + title: 'Data Display/Accordion', decorators: [InSpacingDecorator], component: Accordion, args: { diff --git a/packages/sdds-dfa/src/components/Attach/Attach.stories.tsx b/packages/sdds-dfa/src/components/Attach/Attach.stories.tsx index 59dcf4921d..a214d0ada2 100644 --- a/packages/sdds-dfa/src/components/Attach/Attach.stories.tsx +++ b/packages/sdds-dfa/src/components/Attach/Attach.stories.tsx @@ -32,7 +32,7 @@ type StoryAttachProps = ComponentProps & { }; const meta: Meta = { - title: 'Controls/Attach', + title: 'Data Entry/Attach', decorators: [InSpacingDecorator], component: Attach, argTypes: { diff --git a/packages/sdds-dfa/src/components/Autocomplete/Autocomplete.stories.tsx b/packages/sdds-dfa/src/components/Autocomplete/Autocomplete.stories.tsx index 99ad7c5bed..ef1a2fddc7 100644 --- a/packages/sdds-dfa/src/components/Autocomplete/Autocomplete.stories.tsx +++ b/packages/sdds-dfa/src/components/Autocomplete/Autocomplete.stories.tsx @@ -69,7 +69,7 @@ type StoryProps = ComponentProps & { }; const meta: Meta = { - title: 'Controls/Autocomplete', + title: 'Data Entry/Autocomplete', decorators: [InSpacingDecorator], component: Autocomplete, argTypes: { diff --git a/packages/sdds-dfa/src/components/Avatar/Avatar.stories.tsx b/packages/sdds-dfa/src/components/Avatar/Avatar.stories.tsx index 278dfe4d29..81c7c46ddc 100644 --- a/packages/sdds-dfa/src/components/Avatar/Avatar.stories.tsx +++ b/packages/sdds-dfa/src/components/Avatar/Avatar.stories.tsx @@ -5,7 +5,7 @@ import { disableProps } from '@salutejs/plasma-sb-utils'; import { Avatar } from './Avatar'; const meta: Meta = { - title: 'Content/Avatar', + title: 'Data Display/Avatar', component: Avatar, argTypes: { view: { control: 'inline-radio', options: ['default'] }, diff --git a/packages/sdds-dfa/src/components/AvatarGroup/AvatarGroup.stories.tsx b/packages/sdds-dfa/src/components/AvatarGroup/AvatarGroup.stories.tsx index 173e5f3cbb..bc97ab5259 100644 --- a/packages/sdds-dfa/src/components/AvatarGroup/AvatarGroup.stories.tsx +++ b/packages/sdds-dfa/src/components/AvatarGroup/AvatarGroup.stories.tsx @@ -9,7 +9,7 @@ import { AvatarGroup } from './AvatarGroup'; type Story = StoryObj>; const meta: Meta = { - title: 'Content/AvatarGroup', + title: 'Data Display/AvatarGroup', component: AvatarGroup, }; diff --git a/packages/sdds-dfa/src/components/Badge/Badge.stories.tsx b/packages/sdds-dfa/src/components/Badge/Badge.stories.tsx index a83663bcb2..b50a61036c 100644 --- a/packages/sdds-dfa/src/components/Badge/Badge.stories.tsx +++ b/packages/sdds-dfa/src/components/Badge/Badge.stories.tsx @@ -5,7 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react'; import { Badge } from './Badge'; const meta: Meta = { - title: 'Content/Badge', + title: 'Data Display/Badge', component: Badge, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/Breadcrumbs/Breadcrumbs.stories.tsx b/packages/sdds-dfa/src/components/Breadcrumbs/Breadcrumbs.stories.tsx index a876595f69..81bfde8f6c 100644 --- a/packages/sdds-dfa/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +++ b/packages/sdds-dfa/src/components/Breadcrumbs/Breadcrumbs.stories.tsx @@ -10,7 +10,7 @@ import { Breadcrumbs } from '.'; type BreadcrumbsProps = ComponentProps; const meta: Meta = { - title: 'Content/Breadcrumbs', + title: 'Navigation/Breadcrumbs', component: Breadcrumbs, args: { view: 'default', diff --git a/packages/sdds-dfa/src/components/Button/Button.stories.tsx b/packages/sdds-dfa/src/components/Button/Button.stories.tsx index 6ba460e2f6..3442d92993 100644 --- a/packages/sdds-dfa/src/components/Button/Button.stories.tsx +++ b/packages/sdds-dfa/src/components/Button/Button.stories.tsx @@ -31,7 +31,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'Controls/Button', + title: 'Data Entry/Button', decorators: [InSpacingDecorator], component: Button, args: { diff --git a/packages/sdds-dfa/src/components/ButtonGroup/ButtonGroup.stories.tsx b/packages/sdds-dfa/src/components/ButtonGroup/ButtonGroup.stories.tsx index f75cc2303d..f4b37607d2 100644 --- a/packages/sdds-dfa/src/components/ButtonGroup/ButtonGroup.stories.tsx +++ b/packages/sdds-dfa/src/components/ButtonGroup/ButtonGroup.stories.tsx @@ -18,7 +18,7 @@ const shapeValues = ['segmented', 'default']; const stretchingValues = ['auto', 'filled']; const meta: Meta = { - title: 'Controls/ButtonGroup', + title: 'Data Entry/ButtonGroup', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-dfa/src/components/Calendar/Calendar.stories.tsx b/packages/sdds-dfa/src/components/Calendar/Calendar.stories.tsx index f0cbca9594..1426c8686a 100644 --- a/packages/sdds-dfa/src/components/Calendar/Calendar.stories.tsx +++ b/packages/sdds-dfa/src/components/Calendar/Calendar.stories.tsx @@ -12,7 +12,7 @@ import { Calendar, CalendarBase, CalendarBaseRange, CalendarDouble, CalendarDoub const onChangeValue = action('onChangeValue'); const meta: Meta = { - title: 'Controls/Calendar', + title: 'Data Entry/Calendar', decorators: [InSpacingDecorator], component: Calendar, argTypes: { diff --git a/packages/sdds-dfa/src/components/Cell/Cell.stories.tsx b/packages/sdds-dfa/src/components/Cell/Cell.stories.tsx index 30e06f322c..be4277e42d 100644 --- a/packages/sdds-dfa/src/components/Cell/Cell.stories.tsx +++ b/packages/sdds-dfa/src/components/Cell/Cell.stories.tsx @@ -36,7 +36,7 @@ const ChevronRight = styled(IconChevronRight)` `; const meta: Meta = { - title: 'Content/Cell', + title: 'Data Display/Cell', argTypes: { size: { options: sizes, diff --git a/packages/sdds-dfa/src/components/Checkbox/Checkbox.stories.tsx b/packages/sdds-dfa/src/components/Checkbox/Checkbox.stories.tsx index 9d0f6563e2..f3b8f2ba57 100644 --- a/packages/sdds-dfa/src/components/Checkbox/Checkbox.stories.tsx +++ b/packages/sdds-dfa/src/components/Checkbox/Checkbox.stories.tsx @@ -34,7 +34,7 @@ const propsToDisable = [ ]; const meta: Meta = { - title: 'Controls/Checkbox', + title: 'Data Entry/Checkbox', component: Checkbox, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/Chip/Chip.config.tsx b/packages/sdds-dfa/src/components/Chip/Chip.config.tsx index 7880301c4e..b3fe5a1aa2 100644 --- a/packages/sdds-dfa/src/components/Chip/Chip.config.tsx +++ b/packages/sdds-dfa/src/components/Chip/Chip.config.tsx @@ -87,8 +87,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1.5rem; ${chipTokens.width}: auto; ${chipTokens.height}: 3rem; - ${chipTokens.paddingRight}: 1rem; - ${chipTokens.paddingLeft}: 1rem; + ${chipTokens.padding}: 0 1rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-l-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-l-font-size); @@ -112,8 +111,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1.25rem; ${chipTokens.width}: auto; ${chipTokens.height}: 2.5rem; - ${chipTokens.paddingRight}: 0.875rem; - ${chipTokens.paddingLeft}: 0.875rem; + ${chipTokens.padding}: 0 0.875rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-m-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-m-font-size); @@ -137,8 +135,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1rem; ${chipTokens.width}: auto; ${chipTokens.height}: 2rem; - ${chipTokens.paddingRight}: 0.875rem; - ${chipTokens.paddingLeft}: 0.875rem; + ${chipTokens.padding}: 0 0.875rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-s-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-s-font-size); @@ -162,8 +159,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 0.75rem; ${chipTokens.width}: auto; ${chipTokens.height}: 1.5rem; - ${chipTokens.paddingRight}: 0.625rem; - ${chipTokens.paddingLeft}: 0.625rem; + ${chipTokens.padding}: 0 0.625rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-xs-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-xs-font-size); diff --git a/packages/sdds-dfa/src/components/Chip/Chip.stories.tsx b/packages/sdds-dfa/src/components/Chip/Chip.stories.tsx index 527de87f31..06b362ba6c 100644 --- a/packages/sdds-dfa/src/components/Chip/Chip.stories.tsx +++ b/packages/sdds-dfa/src/components/Chip/Chip.stories.tsx @@ -11,7 +11,7 @@ const sizes = ['l', 'm', 's', 'xs']; const onClear = action('onClear'); const meta: Meta = { - title: 'Controls/Chip', + title: 'Data Display/Chip', component: Chip, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/ChipGroup/ChipGroup.config.ts b/packages/sdds-dfa/src/components/ChipGroup/ChipGroup.config.ts index f42fea7cb0..900181d986 100644 --- a/packages/sdds-dfa/src/components/ChipGroup/ChipGroup.config.ts +++ b/packages/sdds-dfa/src/components/ChipGroup/ChipGroup.config.ts @@ -37,8 +37,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.75rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 3rem; - ${tokens.chipPaddingRight}: 1rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 1rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-l-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-l-font-size); @@ -61,8 +60,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.625rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.5rem; - ${tokens.chipPaddingRight}: 0.875rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.875rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-m-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-m-font-size); @@ -85,8 +83,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2rem; - ${tokens.chipPaddingRight}: 0.875rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.875rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-s-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-s-font-size); @@ -109,8 +106,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.5rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.625rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-xs-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-xs-font-size); diff --git a/packages/sdds-dfa/src/components/ChipGroup/ChipGroup.stories.tsx b/packages/sdds-dfa/src/components/ChipGroup/ChipGroup.stories.tsx index 822c9af359..2aadccfef5 100644 --- a/packages/sdds-dfa/src/components/ChipGroup/ChipGroup.stories.tsx +++ b/packages/sdds-dfa/src/components/ChipGroup/ChipGroup.stories.tsx @@ -15,7 +15,7 @@ const sizes = ['l', 'm', 's', 'xs']; const gapValues = ['dense', 'wide']; const meta: Meta = { - title: 'Controls/ChipGroup', + title: 'Data Display/ChipGroup', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-dfa/src/components/Combobox/Combobox.config.ts b/packages/sdds-dfa/src/components/Combobox/Combobox.config.ts index d0a1708450..a2cc9ec94b 100644 --- a/packages/sdds-dfa/src/components/Combobox/Combobox.config.ts +++ b/packages/sdds-dfa/src/components/Combobox/Combobox.config.ts @@ -231,8 +231,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.5rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.75rem; - ${tokens.textFieldChipPaddingRight}: 0.75rem; - ${tokens.textFieldChipPaddingLeft}: 1rem; + ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.5rem; @@ -337,8 +336,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.375rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.25rem; - ${tokens.textFieldChipPaddingRight}: 0.625rem; - ${tokens.textFieldChipPaddingLeft}: 0.875rem; + ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.25rem; @@ -443,8 +441,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.25rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.75rem; - ${tokens.textFieldChipPaddingRight}: 0.5rem; - ${tokens.textFieldChipPaddingLeft}: 0.75rem; + ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1rem; @@ -549,8 +546,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.125rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.25rem; - ${tokens.textFieldChipPaddingRight}: 0.375rem; - ${tokens.textFieldChipPaddingLeft}: 0.625rem; + ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 0.75rem; diff --git a/packages/sdds-dfa/src/components/Combobox/Combobox.stories.tsx b/packages/sdds-dfa/src/components/Combobox/Combobox.stories.tsx index 85fec66fb9..cebf47077e 100644 --- a/packages/sdds-dfa/src/components/Combobox/Combobox.stories.tsx +++ b/packages/sdds-dfa/src/components/Combobox/Combobox.stories.tsx @@ -16,7 +16,7 @@ const labelPlacement = ['inner', 'outer']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'Controls/Combobox', + title: 'Data Entry/Combobox', decorators: [InSpacingDecorator], component: Combobox, argTypes: { @@ -361,7 +361,6 @@ const SingleStory = (args: StorySelectProps) => { value={value} onChange={setValue} contentLeft={args.enableContentLeft ? : undefined} - autoComplete="off" /> ); @@ -388,7 +387,6 @@ const MultipleStory = (args: StorySelectProps) => { value={value} onChange={setValue} contentLeft={args.enableContentLeft ? : undefined} - autoComplete="off" /> ); diff --git a/packages/sdds-dfa/src/components/Counter/Counter.config.ts b/packages/sdds-dfa/src/components/Counter/Counter.config.ts index af5b45d0d2..140aa43a57 100644 --- a/packages/sdds-dfa/src/components/Counter/Counter.config.ts +++ b/packages/sdds-dfa/src/components/Counter/Counter.config.ts @@ -40,8 +40,7 @@ export const config = { l: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.75rem; - ${counterTokens.paddingRight}: 0.625rem; - ${counterTokens.paddingLeft}: 0.625rem; + ${counterTokens.padding}: 0 0.625rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-s-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-s-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-s-font-style); @@ -52,8 +51,7 @@ export const config = { m: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.5rem; - ${counterTokens.paddingRight}: 0.5rem; - ${counterTokens.paddingLeft}: 0.5rem; + ${counterTokens.padding}: 0 0.5rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xs-font-style); @@ -64,8 +62,7 @@ export const config = { s: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.25rem; - ${counterTokens.paddingRight}: 0.375rem; - ${counterTokens.paddingLeft}: 0.375rem; + ${counterTokens.padding}: 0 0.375rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); @@ -76,8 +73,7 @@ export const config = { xs: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1rem; - ${counterTokens.paddingRight}: 0.25rem; - ${counterTokens.paddingLeft}: 0.25rem; + ${counterTokens.padding}: 0 0.25rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); @@ -88,8 +84,7 @@ export const config = { xxs: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 0.75rem; - ${counterTokens.paddingRight}: 0.125rem; - ${counterTokens.paddingLeft}: 0.125rem; + ${counterTokens.padding}: 0 0.125rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); diff --git a/packages/sdds-dfa/src/components/Counter/Counter.stories.tsx b/packages/sdds-dfa/src/components/Counter/Counter.stories.tsx index cb66913eeb..e1543d8f37 100644 --- a/packages/sdds-dfa/src/components/Counter/Counter.stories.tsx +++ b/packages/sdds-dfa/src/components/Counter/Counter.stories.tsx @@ -7,7 +7,7 @@ const sizes = ['l', 'm', 's', 'xs', 'xxs']; const views = ['default', 'accent', 'positive', 'warning', 'negative', 'dark', 'light']; const meta: Meta = { - title: 'Content/Counter', + title: 'Data Display/Counter', component: Counter, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/DatePicker/DatePicker.config.ts b/packages/sdds-dfa/src/components/DatePicker/DatePicker.config.ts index 597a7ae8fb..45070b81c9 100644 --- a/packages/sdds-dfa/src/components/DatePicker/DatePicker.config.ts +++ b/packages/sdds-dfa/src/components/DatePicker/DatePicker.config.ts @@ -18,6 +18,7 @@ export const config = { ${tokens.textFieldColor}: var(--text-primary); ${tokens.textFieldPlaceholderColor}: var(--text-secondary); + ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary); ${tokens.textFieldCaretColor}: var(--text-accent); ${tokens.labelInnerFontFamily}: var(--plasma-typo-body-xs-font-family); @@ -27,6 +28,8 @@ export const config = { ${tokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelInnerLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorColor}: var(--surface-negative); + ${tokens.textFieldBackgroundColor}: var(--surface-transparent-primary); ${tokens.textFieldBackgroundColorFocus}: var(--surface-transparent-secondary); ${tokens.textFieldBackgroundErrorColor}: var(--surface-transparent-negative); @@ -38,7 +41,6 @@ export const config = { ${tokens.textFieldTextAfterColor}: var(--text-tertiary); ${tokens.focusColor}: var(--text-accent); - ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary); ${tokens.calendarShadow}: var(--shadow-down-soft-s); ${tokens.calendarSeparatorBackground}: var(--surface-transparent-secondary); @@ -85,7 +87,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 1rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.75rem 0; + ${tokens.labelOffset}: 0.75rem; ${tokens.labelInnerPadding}: 0.5625rem 0 0.125rem 0; ${tokens.contentLabelInnerPadding}: 1.5625rem 0 0.5625rem 0; @@ -96,6 +98,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-l-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.5rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 3.5rem; ${tokens.textFieldBorderRadius}: 0.875rem; ${tokens.textFieldPadding}: 1.0625rem 1.125rem 1.0625rem 1.125rem; @@ -210,7 +219,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.875rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.625rem 0; + ${tokens.labelOffset}: 0.625rem; ${tokens.labelInnerPadding}: 0.375rem 0 0.125rem 0; ${tokens.contentLabelInnerPadding}: 1.375rem 0 0.375rem 0; @@ -221,6 +230,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-m-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.375rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 3rem; ${tokens.textFieldBorderRadius}: 0.75rem; ${tokens.textFieldPadding}: 0.875rem 1rem 0.875rem 1rem; @@ -335,7 +351,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.75rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.5rem 0; + ${tokens.labelOffset}: 0.5rem; ${tokens.labelInnerPadding}: 0.3125rem 0 0 0; ${tokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0; @@ -346,6 +362,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.3125rem auto auto -0.6875rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 2.5rem; ${tokens.textFieldBorderRadius}: 0.625rem; ${tokens.textFieldPadding}: 0.6875rem 0.875rem 0.6875rem 0.875rem; @@ -460,7 +483,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.5rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.375rem 0; + ${tokens.labelOffset}: 0.375rem; ${tokens.labelInnerPadding}: 0.3125rem 0 0 0; ${tokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0; @@ -471,6 +494,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.25rem auto auto -0.625rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.125rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 2rem; ${tokens.textFieldBorderRadius}: 0.5rem; ${tokens.textFieldPadding}: 0.5625rem 0.625rem 0.5625rem 0.625rem; diff --git a/packages/sdds-dfa/src/components/DatePicker/DatePicker.stories.tsx b/packages/sdds-dfa/src/components/DatePicker/DatePicker.stories.tsx index 7f66a7dcb6..41955e2308 100644 --- a/packages/sdds-dfa/src/components/DatePicker/DatePicker.stories.tsx +++ b/packages/sdds-dfa/src/components/DatePicker/DatePicker.stories.tsx @@ -3,7 +3,7 @@ import type { StoryObj, Meta } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { IconPlaceholder, InSpacingDecorator } from '@salutejs/plasma-sb-utils'; -import { IconButton } from '../IconButton/IconButton'; +import { IconButton } from '../IconButton'; import { DatePicker, DatePickerRange } from './DatePicker'; @@ -18,9 +18,10 @@ const sizes = ['l', 'm', 's', 'xs']; const views = ['default']; const dividers = ['none', 'dash', 'icon']; const labelPlacements = ['outer', 'inner']; +const requiredPlacements = ['left', 'right']; const meta: Meta = { - title: 'Controls/DatePicker', + title: 'Data Entry/DatePicker', decorators: [InSpacingDecorator], argTypes: { view: { @@ -57,6 +58,13 @@ const meta: Meta = { type: 'select', }, }, + requiredPlacement: { + options: requiredPlacements, + control: { + type: 'select', + }, + if: { arg: 'required', truthy: true }, + }, }, }; @@ -115,17 +123,19 @@ export const Default: StoryObj = { }, args: { label: 'Лейбл', + labelPlacement: 'outer', leftHelper: 'Подсказка к полю', placeholder: '30.05.2024', size: 'l', view: 'default', lang: 'ru', format: 'DD.MM.YYYY', - labelPlacement: 'outer', defaultDate: new Date(2024, 5, 14), min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, textBefore: '', @@ -254,13 +264,15 @@ export const Range: StoryObj = { secondTextfieldTextAfter: '', size: 'l', view: 'default', - lang: 'ru', - format: 'DD.MM.YYYY', isDoubleCalendar: false, dividerVariant: 'dash', min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), + lang: 'ru', + format: 'DD.MM.YYYY', maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, enableContentLeft: true, @@ -339,15 +351,17 @@ export const Deferred: StoryObj = { args: { label: 'Лейбл', leftHelper: 'Подсказка к полю', + lang: 'ru', + format: 'DD.MM.YYYY', placeholder: '30.05.2024', size: 'l', view: 'default', - lang: 'ru', - format: 'DD.MM.YYYY', labelPlacement: 'outer', min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, textBefore: '', diff --git a/packages/sdds-dfa/src/components/Divider/Divider.stories.tsx b/packages/sdds-dfa/src/components/Divider/Divider.stories.tsx index cf45f3537c..1068194ae6 100644 --- a/packages/sdds-dfa/src/components/Divider/Divider.stories.tsx +++ b/packages/sdds-dfa/src/components/Divider/Divider.stories.tsx @@ -9,7 +9,7 @@ import { BodyS } from '../Typography'; import { Divider } from './Divider'; const meta: Meta = { - title: 'Content/Divider', + title: 'Data Display/Divider', decorators: [InSpacingDecorator], argTypes: { orientation: { diff --git a/packages/sdds-dfa/src/components/Drawer/Drawer.stories.tsx b/packages/sdds-dfa/src/components/Drawer/Drawer.stories.tsx index 90347a4954..4b8672b146 100644 --- a/packages/sdds-dfa/src/components/Drawer/Drawer.stories.tsx +++ b/packages/sdds-dfa/src/components/Drawer/Drawer.stories.tsx @@ -14,7 +14,7 @@ import type { ClosePlacementType } from '.'; import { Drawer, DrawerContent, DrawerFooter, DrawerHeader } from '.'; export default { - title: 'Controls/Drawer', + title: 'Overlay/Drawer', decorators: [InSpacingDecorator], argTypes: { placement: { diff --git a/packages/sdds-dfa/src/components/Dropdown/Dropdown.stories.tsx b/packages/sdds-dfa/src/components/Dropdown/Dropdown.stories.tsx index 798bee40a8..e317f5ada6 100644 --- a/packages/sdds-dfa/src/components/Dropdown/Dropdown.stories.tsx +++ b/packages/sdds-dfa/src/components/Dropdown/Dropdown.stories.tsx @@ -16,7 +16,7 @@ const size = ['xs', 's', 'm', 'l']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'Controls/Dropdown', + title: 'Data Entry/Dropdown', component: Dropdown, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/Dropzone/Dropzone.stories.tsx b/packages/sdds-dfa/src/components/Dropzone/Dropzone.stories.tsx index 8c9d9e4ac9..2f8cb38aaf 100644 --- a/packages/sdds-dfa/src/components/Dropzone/Dropzone.stories.tsx +++ b/packages/sdds-dfa/src/components/Dropzone/Dropzone.stories.tsx @@ -14,7 +14,7 @@ const onChoseFiles = action('onChoseFiles'); const iconPlacements = ['top', 'left']; const meta: Meta = { - title: 'Controls/Dropzone', + title: 'Data Entry/Dropzone', component: Dropzone, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/EmptyState/EmptyState.stories.tsx b/packages/sdds-dfa/src/components/EmptyState/EmptyState.stories.tsx index 6c29f6c3db..ffa5dd9a33 100644 --- a/packages/sdds-dfa/src/components/EmptyState/EmptyState.stories.tsx +++ b/packages/sdds-dfa/src/components/EmptyState/EmptyState.stories.tsx @@ -13,7 +13,7 @@ type StoryProps = ComponentProps & { }; const meta: Meta = { - title: 'Content/EmptyState', + title: 'Data Entry/EmptyState', decorators: [InSpacingDecorator], component: EmptyState, args: { diff --git a/packages/sdds-dfa/src/components/IconButton/IconButton.stories.tsx b/packages/sdds-dfa/src/components/IconButton/IconButton.stories.tsx index dfb92906be..9eb86e9eef 100644 --- a/packages/sdds-dfa/src/components/IconButton/IconButton.stories.tsx +++ b/packages/sdds-dfa/src/components/IconButton/IconButton.stories.tsx @@ -21,7 +21,7 @@ const pins = [ ]; const meta: Meta = { - title: 'Controls/IconButton', + title: 'Data Entry/IconButton', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-dfa/src/components/Image/Image.stories.tsx b/packages/sdds-dfa/src/components/Image/Image.stories.tsx index a3bad876d0..fb9965d92d 100644 --- a/packages/sdds-dfa/src/components/Image/Image.stories.tsx +++ b/packages/sdds-dfa/src/components/Image/Image.stories.tsx @@ -6,7 +6,7 @@ import { Image, Ratio } from '.'; import type { ImageProps } from '.'; const meta: Meta = { - title: 'Content/Image', + title: 'Data Display/Image', component: Image, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/Indicator/Indicator.stories.tsx b/packages/sdds-dfa/src/components/Indicator/Indicator.stories.tsx index 6a523aa061..bbf072a45a 100644 --- a/packages/sdds-dfa/src/components/Indicator/Indicator.stories.tsx +++ b/packages/sdds-dfa/src/components/Indicator/Indicator.stories.tsx @@ -4,7 +4,7 @@ import type { StoryObj, Meta } from '@storybook/react'; import { Indicator } from './Indicator'; const meta: Meta = { - title: 'Content/Indicator', + title: 'Data Display/Indicator', component: Indicator, argTypes: { view: { diff --git a/packages/sdds-dfa/src/components/Link/Link.stories.tsx b/packages/sdds-dfa/src/components/Link/Link.stories.tsx index efcdae4af1..7de5b65fee 100644 --- a/packages/sdds-dfa/src/components/Link/Link.stories.tsx +++ b/packages/sdds-dfa/src/components/Link/Link.stories.tsx @@ -7,7 +7,7 @@ import { TextM } from '../Typography'; import { Link } from '.'; const meta: Meta = { - title: 'Content/Link', + title: 'Navigation/Link', decorators: [InSpacingDecorator], component: Link, argTypes: { diff --git a/packages/sdds-dfa/src/components/Mask/Mask.stories.tsx b/packages/sdds-dfa/src/components/Mask/Mask.stories.tsx index 98ad4ce089..e1873ebc20 100644 --- a/packages/sdds-dfa/src/components/Mask/Mask.stories.tsx +++ b/packages/sdds-dfa/src/components/Mask/Mask.stories.tsx @@ -35,7 +35,7 @@ const propsToDisable = [ ]; const meta: Meta = { - title: 'Controls/Mask', + title: 'Data Display/Mask', component: Mask, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/Modal/Modal.stories.tsx b/packages/sdds-dfa/src/components/Modal/Modal.stories.tsx index ed100b6801..6bfa56482b 100644 --- a/packages/sdds-dfa/src/components/Modal/Modal.stories.tsx +++ b/packages/sdds-dfa/src/components/Modal/Modal.stories.tsx @@ -13,7 +13,7 @@ import { Modal, modalClasses } from '.'; import type { ModalProps } from '.'; const meta: Meta = { - title: 'Controls/Modal', + title: 'Overlay/Modal', decorators: [InSpacingDecorator], parameters: { docs: { story: { inline: false, iframeHeight: '30rem' } }, diff --git a/packages/sdds-dfa/src/components/Notification/Notification.stories.tsx b/packages/sdds-dfa/src/components/Notification/Notification.stories.tsx index ee32a44ff4..62dbdeea42 100644 --- a/packages/sdds-dfa/src/components/Notification/Notification.stories.tsx +++ b/packages/sdds-dfa/src/components/Notification/Notification.stories.tsx @@ -37,7 +37,7 @@ const getNotificationProps = (i: number) => ({ const placements = ['top', 'left']; const meta: Meta = { - title: 'Controls/Notification', + title: 'Overlay/Notification', decorators: [InSpacingDecorator], }; diff --git a/packages/sdds-dfa/src/components/NumberInput/NumberInput.stories.tsx b/packages/sdds-dfa/src/components/NumberInput/NumberInput.stories.tsx index 781091f912..27c4bd58dd 100644 --- a/packages/sdds-dfa/src/components/NumberInput/NumberInput.stories.tsx +++ b/packages/sdds-dfa/src/components/NumberInput/NumberInput.stories.tsx @@ -16,7 +16,7 @@ const inputBackgroundTypes = ['fill', 'clear']; const segmentation = ['default', 'segmented', 'solid']; const meta: Meta = { - title: 'Controls/NumberInput', + title: 'Data Entry/NumberInput', component: NumberInput, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/Overlay/Overlay.stories.tsx b/packages/sdds-dfa/src/components/Overlay/Overlay.stories.tsx index 536d718e1d..8481de7067 100644 --- a/packages/sdds-dfa/src/components/Overlay/Overlay.stories.tsx +++ b/packages/sdds-dfa/src/components/Overlay/Overlay.stories.tsx @@ -12,7 +12,7 @@ import { Overlay } from '.'; const onOverlayClick = action('onOverlayClick'); export default { - title: 'Controls/Overlay', + title: 'Overlay/Overlay', decorators: [InSpacingDecorator], argTypes: { isClickable: { diff --git a/packages/sdds-dfa/src/components/Pagination/Pagination.stories.tsx b/packages/sdds-dfa/src/components/Pagination/Pagination.stories.tsx index 73d9a59efa..0e164e37a0 100644 --- a/packages/sdds-dfa/src/components/Pagination/Pagination.stories.tsx +++ b/packages/sdds-dfa/src/components/Pagination/Pagination.stories.tsx @@ -7,7 +7,7 @@ import { Button } from '../Button'; import { Pagination } from './Pagination'; const meta: Meta = { - title: 'Controls/Pagination', + title: 'Navigation/Pagination', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-dfa/src/components/Popover/Popover.stories.tsx b/packages/sdds-dfa/src/components/Popover/Popover.stories.tsx index 26692c7473..44dc9f0e55 100644 --- a/packages/sdds-dfa/src/components/Popover/Popover.stories.tsx +++ b/packages/sdds-dfa/src/components/Popover/Popover.stories.tsx @@ -9,7 +9,7 @@ import { Button } from '../Button/Button'; import { Popover } from './Popover'; const meta: Meta = { - title: 'Controls/Popover', + title: 'Overlay/Popover', decorators: [InSpacingDecorator], component: Popover, argTypes: { diff --git a/packages/sdds-dfa/src/components/Popup/Popup.stories.tsx b/packages/sdds-dfa/src/components/Popup/Popup.stories.tsx index 1428dbe3b0..68fc921cb1 100644 --- a/packages/sdds-dfa/src/components/Popup/Popup.stories.tsx +++ b/packages/sdds-dfa/src/components/Popup/Popup.stories.tsx @@ -10,7 +10,7 @@ import { Popup, popupClasses, PopupProvider } from '.'; import type { PopupProps } from '.'; const meta: Meta = { - title: 'Controls/Popup', + title: 'Overlay/Popup', component: Popup, decorators: [InSpacingDecorator], parameters: { diff --git a/packages/sdds-dfa/src/components/Portal/Portal.stories.tsx b/packages/sdds-dfa/src/components/Portal/Portal.stories.tsx index b2ae0c884c..b3ece2f627 100644 --- a/packages/sdds-dfa/src/components/Portal/Portal.stories.tsx +++ b/packages/sdds-dfa/src/components/Portal/Portal.stories.tsx @@ -10,7 +10,7 @@ import { BodyM } from '../Typography'; import { Portal } from '.'; const meta: Meta = { - title: 'Controls/Portal', + title: 'Data Entry/Portal', decorators: [InSpacingDecorator], args: { disabled: false, diff --git a/packages/sdds-dfa/src/components/Price/Price.stories.tsx b/packages/sdds-dfa/src/components/Price/Price.stories.tsx index 405482fad3..6d2fafb077 100644 --- a/packages/sdds-dfa/src/components/Price/Price.stories.tsx +++ b/packages/sdds-dfa/src/components/Price/Price.stories.tsx @@ -5,7 +5,7 @@ import { disableProps, InSpacingDecorator } from '@salutejs/plasma-sb-utils'; import { Price } from '.'; const meta: Meta = { - title: 'Content/Price', + title: 'Data Display/Price', decorators: [InSpacingDecorator], argTypes: { currency: { diff --git a/packages/sdds-dfa/src/components/Progress/Progress.stories.tsx b/packages/sdds-dfa/src/components/Progress/Progress.stories.tsx index ea50750099..aa57e9bb05 100644 --- a/packages/sdds-dfa/src/components/Progress/Progress.stories.tsx +++ b/packages/sdds-dfa/src/components/Progress/Progress.stories.tsx @@ -7,7 +7,7 @@ import type { ProgressProps } from '.'; const views = ['default', 'secondary', 'primary', 'accent', 'success', 'warning', 'error']; const meta: Meta = { - title: 'Controls/Progress', + title: 'Overlay/Progress', component: Progress, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/Radiobox/Radiobox.stories.tsx b/packages/sdds-dfa/src/components/Radiobox/Radiobox.stories.tsx index f7f2b96de9..9ee41ec3a0 100644 --- a/packages/sdds-dfa/src/components/Radiobox/Radiobox.stories.tsx +++ b/packages/sdds-dfa/src/components/Radiobox/Radiobox.stories.tsx @@ -13,7 +13,7 @@ const sizes = ['m', 's']; const views = ['default', 'secondary', 'tertiary', 'paragraph', 'accent', 'positive', 'warning', 'negative']; const meta: Meta = { - title: 'Controls/Radiobox', + title: 'Data Entry/Radiobox', component: Radiobox, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/Range/Range.config.ts b/packages/sdds-dfa/src/components/Range/Range.config.ts index 4461784fc9..f11cb3779a 100644 --- a/packages/sdds-dfa/src/components/Range/Range.config.ts +++ b/packages/sdds-dfa/src/components/Range/Range.config.ts @@ -21,6 +21,8 @@ export const config = { ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary); ${tokens.textFieldCaretColor}: var(--text-accent); + ${tokens.indicatorColor}: var(--surface-negative); + ${tokens.textFieldBackgroundColorFocus}: var(--surface-transparent-secondary); ${tokens.textFieldBackgroundErrorColor}: var(--surface-transparent-negative); ${tokens.textFieldBackgroundErrorColorFocus}: var(--surface-transparent-negative-active); @@ -45,10 +47,10 @@ export const config = { ${tokens.dividerLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); ${tokens.dividerLineHeight}: var(--plasma-typo-body-l-line-height); - ${tokens.leftContentMargin}: 0 0.375rem 0 1rem; + ${tokens.leftContentMargin}: 0 0 0 1rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.75rem 0; + ${tokens.labelOffset}: 0.75rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-l-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-l-font-style); @@ -57,6 +59,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-l-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.5rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 3.5rem; ${tokens.textFieldBorderRadius}: 0.875rem; ${tokens.textFieldPadding}: 1.0625rem 1.125rem 1.0625rem 1.125rem; @@ -91,10 +100,10 @@ export const config = { ${tokens.dividerLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); ${tokens.dividerLineHeight}: var(--plasma-typo-body-m-line-height); - ${tokens.leftContentMargin}: 0 0.375rem 0 0.875rem; + ${tokens.leftContentMargin}: 0 0 0 0.875rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.625rem 0; + ${tokens.labelOffset}: 0.625rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-m-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-m-font-style); @@ -103,6 +112,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-m-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.375rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 3rem; ${tokens.textFieldBorderRadius}: 0.75rem; ${tokens.textFieldPadding}: 0.875rem 1rem 0.875rem 1rem; @@ -137,10 +153,10 @@ export const config = { ${tokens.dividerLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); ${tokens.dividerLineHeight}: var(--plasma-typo-body-s-line-height); - ${tokens.leftContentMargin}: 0 0.375rem 0 0.75rem; + ${tokens.leftContentMargin}: 0 0 0 0.75rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.5rem 0; + ${tokens.labelOffset}: 0.5rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-s-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-s-font-style); @@ -149,6 +165,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.3125rem auto auto -0.6875rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 2.5rem; ${tokens.textFieldBorderRadius}: 0.625rem; ${tokens.textFieldPadding}: 0.6875rem 0.875rem 0.6875rem 0.875rem; @@ -183,10 +206,10 @@ export const config = { ${tokens.dividerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.dividerLineHeight}: var(--plasma-typo-body-xs-line-height); - ${tokens.leftContentMargin}: 0 0.25rem 0 0.5rem; + ${tokens.leftContentMargin}: 0 0 0 0.5rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.375rem 0; + ${tokens.labelOffset}: 0.375rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-xs-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-xs-font-style); @@ -195,6 +218,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.25rem auto auto -0.625rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.125rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 2rem; ${tokens.textFieldBorderRadius}: 0.5rem; ${tokens.textFieldPadding}: 0.5625rem 0.625rem 0.5625rem 0.625rem; diff --git a/packages/sdds-dfa/src/components/Range/Range.stories.tsx b/packages/sdds-dfa/src/components/Range/Range.stories.tsx index 7d33a99127..11dfd44085 100644 --- a/packages/sdds-dfa/src/components/Range/Range.stories.tsx +++ b/packages/sdds-dfa/src/components/Range/Range.stories.tsx @@ -4,7 +4,7 @@ import { action } from '@storybook/addon-actions'; import { InSpacingDecorator } from '@salutejs/plasma-sb-utils'; import { IconSearch, IconSber, IconArrowRight } from '@salutejs/plasma-icons'; -import { Button } from '../Button/Button'; +import { IconButton } from '../IconButton'; import { Range } from './Range'; @@ -20,9 +20,10 @@ const onBlurSecondTextfield = action('onBlurSecondTextfield'); const sizes = ['l', 'm', 's', 'xs']; const views = ['default']; const dividers = ['none', 'dash', 'icon']; +const requiredPlacements = ['left', 'right']; const meta: Meta = { - title: 'Controls/Range', + title: 'Data Entry/Range', component: Range, decorators: [InSpacingDecorator], argTypes: { @@ -38,6 +39,13 @@ const meta: Meta = { type: 'inline-radio', }, }, + requiredPlacement: { + options: requiredPlacements, + control: { + type: 'select', + }, + if: { arg: 'required', truthy: true }, + }, }, }; @@ -68,9 +76,9 @@ const getSizeForIcon = (size) => { const ActionButton = ({ size }) => { return ( - + ); }; @@ -160,6 +168,8 @@ export const Default: StoryObj = { secondPlaceholder: 'Заполните поле 2', size: 'l', view: 'default', + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, firstTextfieldTextBefore: 'С', @@ -304,6 +314,8 @@ export const Demo: StoryObj = { secondPlaceholder: '5', size: 'l', view: 'default', + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, firstTextfieldTextBefore: '', diff --git a/packages/sdds-dfa/src/components/Rating/Rating.config.ts b/packages/sdds-dfa/src/components/Rating/Rating.config.ts new file mode 100644 index 0000000000..ad64c67e4b --- /dev/null +++ b/packages/sdds-dfa/src/components/Rating/Rating.config.ts @@ -0,0 +1,396 @@ +import { css, ratingTokens as tokens } from '@salutejs/plasma-new-hope/styled-components'; + +export const config = { + defaults: { + view: 'default', + size: 'l', + }, + variations: { + view: { + default: css` + ${tokens.color}: var(--text-primary); + ${tokens.helperTextColor}: var(--text-secondary); + ${tokens.iconColor}: var(--text-primary); + ${tokens.outlineIconColor}: var(--text-primary); + `, + accent: css` + ${tokens.color}: var(--text-primary); + ${tokens.helperTextColor}: var(--text-secondary); + // TODO: change with token data-yellow, when it will be added to theme + ${tokens.iconColor}: #F3A912; + ${tokens.outlineIconColor}: var(--text-tertiary); + `, + }, + size: { + l: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-l-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-l-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-l-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-l-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-l-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.625rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 1.25rem; + `, + m: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-m-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-m-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-m-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.5rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 1.25rem; + `, + s: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-s-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-s-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-s-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-s-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-s-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.5rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 1rem; + `, + xs: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-xs-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xxs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xxs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xxs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xxs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xxs-line-height); + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.contentGap}: 0.375rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.iconSize}: 0.75rem; + ${tokens.actualIconSize}: 1rem; + ${tokens.scaleFactor}: 0.75; + `, + xxs: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-xxs-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-xxs-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-xxs-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xxs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xxs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xxs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xxs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xxs-line-height); + + ${tokens.contentGap}: 0.375rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 0.75rem; + ${tokens.actualIconSize}: 1rem; + ${tokens.scaleFactor}: 0.75; + `, + h1: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h1-font-family); + ${tokens.fontSize}: var(--plasma-typo-h1-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h1-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h1-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h1-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h1-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-m-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-m-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-m-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-m-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-m-line-height); + + ${tokens.contentGap}: 1rem; + ${tokens.singleIconContentGap}: 0.5rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.25rem; + ${tokens.iconSizeLarge}: 3rem; + ${tokens.iconSizeMedium}: 3rem; + ${tokens.iconSizeSmall}: 2.25rem; + + ${tokens.singleIconMarginBottom}: 0.25rem; + ${tokens.singleIconSizeLarge}: 3rem; + ${tokens.singleIconSizeMedium}: 3rem; + ${tokens.singleIconSizeSmall}: 2.25rem; + `, + h2: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h2-font-family); + ${tokens.fontSize}: var(--plasma-typo-h2-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h2-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h2-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h2-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h2-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-s-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-s-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-s-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-s-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-s-line-height); + + ${tokens.contentGap}: 0.875rem; + ${tokens.singleIconContentGap}: 0.5rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.25rem; + ${tokens.iconSizeLarge}: 2rem; + ${tokens.iconSizeMedium}: 1.75rem; + ${tokens.iconSizeSmall}: 1.5rem; + + ${tokens.singleIconMarginBottom}: 0.25rem; + ${tokens.singleIconSizeLarge}: 2rem; + ${tokens.singleIconSizeMedium}: 1.75rem; + ${tokens.singleIconSizeSmall}: 1.5rem; + `, + h3: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h3-font-family); + ${tokens.fontSize}: var(--plasma-typo-h3-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h3-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h3-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h3-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h3-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.75rem; + ${tokens.singleIconContentGap}: 0.375rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.iconSizeLarge}: 1.75rem; + ${tokens.iconSizeMedium}: 1.5rem; + ${tokens.iconSizeSmall}: 1.25rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.singleIconSizeLarge}: 1.75rem; + ${tokens.singleIconSizeMedium}: 1.5rem; + ${tokens.singleIconSizeSmall}: 1.25rem; + `, + h4: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h4-font-family); + ${tokens.fontSize}: var(--plasma-typo-h4-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h4-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h4-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h4-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h4-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.625rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.iconSizeLarge}: 1.5rem; + ${tokens.iconSizeMedium}: 1.25rem; + ${tokens.iconSizeSmall}: 1.25rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.singleIconSizeLarge}: 1.5rem; + ${tokens.singleIconSizeMedium}: 1.25rem; + ${tokens.singleIconSizeSmall}: 1.25rem; + `, + h5: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h5-font-family); + ${tokens.fontSize}: var(--plasma-typo-h5-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h5-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h5-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h5-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h5-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.625rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.iconSizeLarge}: 1.25rem; + ${tokens.iconSizeMedium}: 1.25rem; + ${tokens.iconSizeSmall}: 1rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.singleIconSizeLarge}: 1.25rem; + ${tokens.singleIconSizeMedium}: 1.25rem; + ${tokens.singleIconSizeSmall}: 1rem; + `, + displayL: css` + ${tokens.gap}: 0.375rem; + + ${tokens.fontFamily}: var(--plasma-typo-dspl-l-font-family); + ${tokens.fontSize}: var(--plasma-typo-dspl-l-font-size); + ${tokens.fontStyle}: var(--plasma-typo-dspl-l-font-style); + ${tokens.fontWeight}: var(--plasma-typo-dspl-l-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-dspl-l-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-dspl-l-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-h3-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-h3-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-h3-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-h3-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-h3-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-h3-line-height); + + ${tokens.contentGap}: 1.5rem; + ${tokens.singleIconContentGap}: 0.75rem; + ${tokens.wrapperGap}: 0.625rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSizeLarge}: 4rem; + ${tokens.iconSizeMedium}: 3rem; + ${tokens.iconSizeSmall}: 2.25rem; + + ${tokens.singleIconMarginBottom}: 0.5rem; + ${tokens.singleIconSizeLarge}: 7.5rem; + ${tokens.singleIconSizeMedium}: 7rem; + ${tokens.singleIconSizeSmall}: 5.5rem; + `, + displayM: css` + ${tokens.gap}: 0.375rem; + + ${tokens.fontFamily}: var(--plasma-typo-dspl-m-font-family); + ${tokens.fontSize}: var(--plasma-typo-dspl-m-font-size); + ${tokens.fontStyle}: var(--plasma-typo-dspl-m-font-style); + ${tokens.fontWeight}: var(--plasma-typo-dspl-m-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-dspl-m-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-dspl-m-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-l-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-l-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-l-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-l-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-l-line-height); + + ${tokens.contentGap}: 1.5rem; + ${tokens.singleIconContentGap}: 0.75rem; + ${tokens.wrapperGap}: 0.5rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSizeLarge}: 3rem; + ${tokens.iconSizeMedium}: 2.25rem; + ${tokens.iconSizeSmall}: 1.75rem; + + ${tokens.singleIconMarginBottom}: 0.5rem; + ${tokens.singleIconSizeLarge}: 5.25rem; + ${tokens.singleIconSizeMedium}: 4.5rem; + ${tokens.singleIconSizeSmall}: 4rem; + `, + displayS: css` + ${tokens.gap}: 0.375rem; + + ${tokens.fontFamily}: var(--plasma-typo-dspl-s-font-family); + ${tokens.fontSize}: var(--plasma-typo-dspl-s-font-size); + ${tokens.fontStyle}: var(--plasma-typo-dspl-s-font-style); + ${tokens.fontWeight}: var(--plasma-typo-dspl-s-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-dspl-s-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-dspl-s-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-l-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-l-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-l-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-l-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-l-line-height); + + ${tokens.contentGap}: 1.5rem; + ${tokens.singleIconContentGap}: 0.75rem; + ${tokens.wrapperGap}: 0.375rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSizeLarge}: 2rem; + ${tokens.iconSizeMedium}: 1.5rem; + ${tokens.iconSizeSmall}: 1.25rem; + + ${tokens.singleIconMarginBottom}: 0.313rem; + ${tokens.singleIconSizeLarge}: 4rem; + ${tokens.singleIconSizeMedium}: 3.5rem; + ${tokens.singleIconSizeSmall}: 2.75rem; + `, + }, + }, +}; diff --git a/packages/sdds-dfa/src/components/Rating/Rating.stories.tsx b/packages/sdds-dfa/src/components/Rating/Rating.stories.tsx new file mode 100644 index 0000000000..093d867544 --- /dev/null +++ b/packages/sdds-dfa/src/components/Rating/Rating.stories.tsx @@ -0,0 +1,125 @@ +import React, { ComponentProps } from 'react'; +import type { StoryObj, Meta } from '@storybook/react'; +import { InSpacingDecorator, disableProps } from '@salutejs/plasma-sb-utils'; +import { IconKeyFill, IconKeyOutline, IconLockFill } from '@salutejs/plasma-icons'; +import { ratingClasses } from '@salutejs/plasma-new-hope/styled-components'; + +import { Rating } from './Rating'; + +const views = ['default', 'accent']; +const sizes = ['l', 'm', 's', 'xs', 'xxs', 'h1', 'h2', 'h3', 'h4', 'h5', 'displayL', 'displayM', 'displayS']; +const scorePrecision = [1, 2]; +const valuePlacements = ['before', 'after']; +const iconsCount = [1, 5, 10]; +const helperTextStretching = ['fixed', 'filled']; + +const meta: Meta = { + title: 'Data Display/Rating', + component: Rating, + decorators: [InSpacingDecorator], + argTypes: { + view: { + options: views, + control: { + type: 'select', + }, + }, + size: { + options: sizes, + control: { + type: 'select', + }, + }, + value: { + control: { + type: 'number', + }, + }, + precision: { + options: scorePrecision, + control: { + type: 'inline-radio', + }, + if: { arg: 'hasValue', truthy: true }, + }, + valuePlacement: { + options: valuePlacements, + control: { + type: 'inline-radio', + }, + if: { arg: 'hasValue', truthy: true }, + }, + hasIcons: { + control: { + type: 'boolean', + }, + if: { arg: 'hasValue', truthy: true }, + }, + iconQuantity: { + options: iconsCount, + control: { + type: 'inline-radio', + }, + }, + helperTextStretching: { + options: helperTextStretching, + control: { + type: 'inline-radio', + }, + if: { arg: 'helperText', neq: '' }, + }, + ...disableProps(['iconSlot', 'iconSlotOutline', 'iconSlotHalf']), + }, +}; + +export default meta; + +type StoryPropsDefault = ComponentProps & { + hasValue?: boolean; +}; + +export const Default: StoryObj = { + args: { + view: 'default', + size: 'l', + hasValue: true, + value: 3.8, + precision: 1, + valuePlacement: 'before', + hasIcons: true, + iconQuantity: 5, + helperText: 'Helper text', + helperTextStretching: 'filled', + }, + render: ({ hasIcons, hasValue, ...args }) => ( + + ), +}; + +export const CustomIcons: StoryObj = { + argTypes: { + ...disableProps(['size', 'view']), + }, + args: { + view: 'default', + size: 'l', + hasValue: true, + value: 3.8, + precision: 1, + valuePlacement: 'before', + hasIcons: true, + iconQuantity: 5, + helperText: 'Helper text', + helperTextStretching: 'filled', + }, + render: ({ hasIcons, hasValue, ...args }) => ( + } + iconSlotOutline={} + iconSlotHalf={} + {...args} + /> + ), +}; diff --git a/packages/sdds-dfa/src/components/Rating/Rating.ts b/packages/sdds-dfa/src/components/Rating/Rating.ts new file mode 100644 index 0000000000..619c248638 --- /dev/null +++ b/packages/sdds-dfa/src/components/Rating/Rating.ts @@ -0,0 +1,7 @@ +import { ratingConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components'; + +import { config } from './Rating.config'; + +const mergedConfig = mergeConfig(ratingConfig, config); + +export const Rating = component(mergedConfig); diff --git a/packages/sdds-dfa/src/components/Rating/index.ts b/packages/sdds-dfa/src/components/Rating/index.ts new file mode 100644 index 0000000000..9f9f231dbf --- /dev/null +++ b/packages/sdds-dfa/src/components/Rating/index.ts @@ -0,0 +1,2 @@ +export { Rating } from './Rating'; +export { ratingTokens, ratingClasses } from '@salutejs/plasma-new-hope/styled-components'; diff --git a/packages/sdds-dfa/src/components/Segment/Segment.stories.tsx b/packages/sdds-dfa/src/components/Segment/Segment.stories.tsx index f68422b674..2c92d27ff3 100644 --- a/packages/sdds-dfa/src/components/Segment/Segment.stories.tsx +++ b/packages/sdds-dfa/src/components/Segment/Segment.stories.tsx @@ -49,7 +49,7 @@ const getContentRight = (contentRightOption: string, size: Size) => { }; const meta: Meta = { - title: 'Controls/Segment', + title: 'Data Entry/Segment', decorators: [InSpacingDecorator], component: SegmentGroup, argTypes: { diff --git a/packages/sdds-dfa/src/components/Select/Select.config.ts b/packages/sdds-dfa/src/components/Select/Select.config.ts index b56c1e8bd0..287919be63 100644 --- a/packages/sdds-dfa/src/components/Select/Select.config.ts +++ b/packages/sdds-dfa/src/components/Select/Select.config.ts @@ -293,8 +293,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.5rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.75rem; - ${tokens.textFieldChipPaddingRight}: 0.75rem; - ${tokens.textFieldChipPaddingLeft}: 1rem; + ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.5rem; @@ -402,8 +401,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.375rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.25rem; - ${tokens.textFieldChipPaddingRight}: 0.625rem; - ${tokens.textFieldChipPaddingLeft}: 0.875rem; + ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.25rem; @@ -511,8 +509,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.25rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.75rem; - ${tokens.textFieldChipPaddingRight}: 0.5rem; - ${tokens.textFieldChipPaddingLeft}: 0.75rem; + ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1rem; @@ -620,8 +617,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.125rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.25rem; - ${tokens.textFieldChipPaddingRight}: 0.375rem; - ${tokens.textFieldChipPaddingLeft}: 0.625rem; + ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 0.75rem; diff --git a/packages/sdds-dfa/src/components/Select/Select.stories.tsx b/packages/sdds-dfa/src/components/Select/Select.stories.tsx index e9c60bbcea..6a9e1e565c 100644 --- a/packages/sdds-dfa/src/components/Select/Select.stories.tsx +++ b/packages/sdds-dfa/src/components/Select/Select.stories.tsx @@ -19,7 +19,7 @@ const chip = ['default', 'secondary', 'accent']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'Controls/Select', + title: 'Data Entry/Select', decorators: [InSpacingDecorator], component: Select, argTypes: { diff --git a/packages/sdds-dfa/src/components/Sheet/Sheet.stories.tsx b/packages/sdds-dfa/src/components/Sheet/Sheet.stories.tsx index 7ed7f92fca..ef4f4777ae 100644 --- a/packages/sdds-dfa/src/components/Sheet/Sheet.stories.tsx +++ b/packages/sdds-dfa/src/components/Sheet/Sheet.stories.tsx @@ -10,7 +10,7 @@ import { Sheet } from '.'; import type { SheetProps } from '.'; const meta: Meta = { - title: 'Content/Sheet', + title: 'Overlay/Sheet', decorators: [InSpacingDecorator], args: { withBlur: false, diff --git a/packages/sdds-dfa/src/components/Skeleton/Skeleton.stories.tsx b/packages/sdds-dfa/src/components/Skeleton/Skeleton.stories.tsx index 49fc959a1d..ee0f7eae36 100644 --- a/packages/sdds-dfa/src/components/Skeleton/Skeleton.stories.tsx +++ b/packages/sdds-dfa/src/components/Skeleton/Skeleton.stories.tsx @@ -14,7 +14,7 @@ type StoryRectSkeletonProps = ComponentProps; type BasicButtonProps = ComponentProps; const meta: Meta = { - title: 'Content/Skeleton', + title: 'Data Display/Skeleton', decorators: [InSpacingDecorator], }; diff --git a/packages/sdds-dfa/src/components/Slider/Slider.stories.tsx b/packages/sdds-dfa/src/components/Slider/Slider.stories.tsx index 603fc47e9e..09df72268b 100644 --- a/packages/sdds-dfa/src/components/Slider/Slider.stories.tsx +++ b/packages/sdds-dfa/src/components/Slider/Slider.stories.tsx @@ -14,9 +14,10 @@ const sliderAligns = ['center', 'left', 'right', 'none']; const labelPlacements = ['top', 'left']; const scaleAligns = ['side', 'bottom']; const orientations: Array = ['vertical', 'horizontal']; +const visibility = ['always', 'hover']; const meta: Meta = { - title: 'Controls/Slider', + title: 'Data Entry/Slider', component: Slider, decorators: [InSpacingDecorator], argTypes: { @@ -153,11 +154,24 @@ export const Default: StorySingle = { }, if: { arg: 'orientation', eq: 'vertical' }, }, + pointerVisibility: { + options: visibility, + control: { + type: 'inline-radio', + }, + }, + currentValueVisibility: { + options: visibility, + control: { + type: 'inline-radio', + }, + }, }, args: { view: 'default', size: 'm', pointerSize: 'small', + pointerVisibility: 'always', min: 0, max: 100, orientation: 'horizontal', @@ -169,6 +183,7 @@ export const Default: StorySingle = { scaleAlign: 'bottom', showScale: true, showCurrentValue: false, + currentValueVisibility: 'always', showIcon: true, reversed: false, labelReversed: false, diff --git a/packages/sdds-dfa/src/components/Spinner/Spinner.stories.tsx b/packages/sdds-dfa/src/components/Spinner/Spinner.stories.tsx index 123bb2f12d..42d10524a5 100644 --- a/packages/sdds-dfa/src/components/Spinner/Spinner.stories.tsx +++ b/packages/sdds-dfa/src/components/Spinner/Spinner.stories.tsx @@ -9,7 +9,7 @@ import { BodyL } from '../Typography'; import { Spinner } from '.'; const meta: Meta = { - title: 'Content/Spinner', + title: 'Data Display/Spinner', decorators: [InSpacingDecorator], component: Spinner, argTypes: { diff --git a/packages/sdds-dfa/src/components/Steps/Steps.stories.tsx b/packages/sdds-dfa/src/components/Steps/Steps.stories.tsx index 742cb1182e..5a23ae8fcb 100644 --- a/packages/sdds-dfa/src/components/Steps/Steps.stories.tsx +++ b/packages/sdds-dfa/src/components/Steps/Steps.stories.tsx @@ -9,7 +9,7 @@ import { Steps } from './Steps'; import type { StepItemProps } from '.'; const meta: Meta = { - title: 'Controls/Steps', + title: 'Navigation/Steps', decorators: [InSpacingDecorator], component: Steps, }; diff --git a/packages/sdds-dfa/src/components/Switch/Switch.stories.tsx b/packages/sdds-dfa/src/components/Switch/Switch.stories.tsx index 0664ee342d..3c815340fd 100644 --- a/packages/sdds-dfa/src/components/Switch/Switch.stories.tsx +++ b/packages/sdds-dfa/src/components/Switch/Switch.stories.tsx @@ -12,7 +12,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'Controls/Switch', + title: 'Data Entry/Switch', component: Switch, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/Tabs/Tabs.stories.tsx b/packages/sdds-dfa/src/components/Tabs/Tabs.stories.tsx index ba9e7872b1..ee9d3343f2 100644 --- a/packages/sdds-dfa/src/components/Tabs/Tabs.stories.tsx +++ b/packages/sdds-dfa/src/components/Tabs/Tabs.stories.tsx @@ -55,7 +55,7 @@ type HorizontalStoryTabsProps = StoryTabsProps & { width: string }; type VerticalStoryTabsProps = StoryTabsProps & { height: string }; const meta: Meta = { - title: 'Controls/Tabs', + title: 'Navigation/Tabs', component: Tabs, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/TextArea/TextArea.stories.tsx b/packages/sdds-dfa/src/components/TextArea/TextArea.stories.tsx index 5750065035..53619b960b 100644 --- a/packages/sdds-dfa/src/components/TextArea/TextArea.stories.tsx +++ b/packages/sdds-dfa/src/components/TextArea/TextArea.stories.tsx @@ -43,7 +43,7 @@ const placements: Array = [ ]; const meta: Meta = { - title: 'Controls/TextArea', + title: 'Data Entry/TextArea', decorators: [InSpacingDecorator], component: TextArea, argTypes: { diff --git a/packages/sdds-dfa/src/components/TextField/TextField.config.ts b/packages/sdds-dfa/src/components/TextField/TextField.config.ts index 4f7cea945e..2fce7462f0 100644 --- a/packages/sdds-dfa/src/components/TextField/TextField.config.ts +++ b/packages/sdds-dfa/src/components/TextField/TextField.config.ts @@ -238,8 +238,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.75rem; - ${tokens.chipPaddingRight}: 0.75rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 0.75rem 0 1rem; ${tokens.chipClearContentMarginLeft}: 0.625rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.5rem; @@ -315,8 +314,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.25rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.625rem 0 0.875rem; ${tokens.chipClearContentMarginLeft}: 0.5rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.25rem; @@ -392,8 +390,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.25rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.75rem; - ${tokens.chipPaddingRight}: 0.5rem; - ${tokens.chipPaddingLeft}: 0.75rem; + ${tokens.chipPadding}: 0 0.5rem 0 0.75rem; ${tokens.chipClearContentMarginLeft}: 0.375rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1rem; @@ -469,8 +466,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.125rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.25rem; - ${tokens.chipPaddingRight}: 0.375rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.375rem 0 0.625rem; ${tokens.chipClearContentMarginLeft}: 0.25rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 0.75rem; diff --git a/packages/sdds-dfa/src/components/TextField/TextField.stories.tsx b/packages/sdds-dfa/src/components/TextField/TextField.stories.tsx index 4bf3e0fbe8..34628d21b4 100644 --- a/packages/sdds-dfa/src/components/TextField/TextField.stories.tsx +++ b/packages/sdds-dfa/src/components/TextField/TextField.stories.tsx @@ -42,7 +42,7 @@ const placements: Array = [ ]; const meta: Meta = { - title: 'Controls/TextField', + title: 'Data Entry/TextField', component: TextField, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/TextFieldGroup/TextFieldGroup.config.ts b/packages/sdds-dfa/src/components/TextFieldGroup/TextFieldGroup.config.ts index 42668c5d7c..200d2e26ac 100644 --- a/packages/sdds-dfa/src/components/TextFieldGroup/TextFieldGroup.config.ts +++ b/packages/sdds-dfa/src/components/TextFieldGroup/TextFieldGroup.config.ts @@ -51,8 +51,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.75rem; - ${tokens.chipPaddingRight}: 0.75rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 0.75rem 0 1rem; ${tokens.chipClearContentMarginLeft}: 0.625rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.5rem; @@ -108,8 +107,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.25rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.625rem 0 0.875rem; ${tokens.chipClearContentMarginLeft}: 0.5rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.25rem; @@ -165,8 +163,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.25rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.75rem; - ${tokens.chipPaddingRight}: 0.5rem; - ${tokens.chipPaddingLeft}: 0.75rem; + ${tokens.chipPadding}: 0 0.5rem 0 0.75rem; ${tokens.chipClearContentMarginLeft}: 0.375rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1rem; @@ -222,8 +219,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.125rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.25rem; - ${tokens.chipPaddingRight}: 0.375rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.375rem 0 0.625rem; ${tokens.chipClearContentMarginLeft}: 0.25rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 0.75rem; diff --git a/packages/sdds-dfa/src/components/TextFieldGroup/TextFieldGroup.stories.tsx b/packages/sdds-dfa/src/components/TextFieldGroup/TextFieldGroup.stories.tsx index 6dc5d7c06e..5f8ec29659 100644 --- a/packages/sdds-dfa/src/components/TextFieldGroup/TextFieldGroup.stories.tsx +++ b/packages/sdds-dfa/src/components/TextFieldGroup/TextFieldGroup.stories.tsx @@ -22,7 +22,7 @@ const shapeValues = ['segmented', 'default']; const stretchingValues = ['auto', 'filled']; const meta: Meta = { - title: 'Controls/TextFieldGroup', + title: 'Data Entry/TextFieldGroup', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-dfa/src/components/Toast/Toast.stories.tsx b/packages/sdds-dfa/src/components/Toast/Toast.stories.tsx index 68d4cfc1cd..d390929024 100644 --- a/packages/sdds-dfa/src/components/Toast/Toast.stories.tsx +++ b/packages/sdds-dfa/src/components/Toast/Toast.stories.tsx @@ -11,7 +11,7 @@ import { ToastController, ToastProvider } from './Toast'; import { Toast, useToast } from '.'; const meta: Meta = { - title: 'Controls/Toast', + title: 'Overlay/Toast', decorators: [InSpacingDecorator], argTypes: { view: { diff --git a/packages/sdds-dfa/src/components/Tokens/Tokens.stories.tsx b/packages/sdds-dfa/src/components/Tokens/Tokens.stories.tsx new file mode 100644 index 0000000000..47d3eae318 --- /dev/null +++ b/packages/sdds-dfa/src/components/Tokens/Tokens.stories.tsx @@ -0,0 +1,124 @@ +import React from 'react'; +import type { StoryObj, Meta } from '@storybook/react'; +import { sdds_dfa__dark, sdds_dfa__light } from '@salutejs/sdds-themes/es/themes'; +import type { GroupedTokens } from '@salutejs/plasma-sb-utils'; + +import { InSpacingDecorator, getGroupedTokens } from '../../helpers'; +import { Accordion } from '../Accordion'; +import { ShowToastArgs, ToastProvider, useToast } from '../Toast'; + +import { + AccordionInfo, + Category, + CategoryContainer, + ColorCircle, + ColumnTitle, + OpacityPart, + StyledAccordionItem, + Subcategory, + TokenInfo, + TokenInfoWrapper, +} from './Tokens.styles'; + +const meta: Meta = { + title: 'Colors', + decorators: [InSpacingDecorator], +}; + +export default meta; + +const themes: Record = { + 'sdds-dfa:light': getGroupedTokens(sdds_dfa__light[0]), + 'sdds-dfa:dark': getGroupedTokens(sdds_dfa__dark[0]), +}; + +const StoryDemo = ({ context }) => { + const groupedTokens = themes[context.globals.theme]; + const { showToast } = useToast(); + const toastData = { + view: 'default', + size: 'm', + hasClose: true, + fade: false, + position: 'bottom', + offset: 0, + timeout: 3000, + role: 'alert', + } as ShowToastArgs; + + const copyToClipboard = async (value: string, opacity?: string | null) => { + try { + await navigator.clipboard.writeText(value + (opacity || '')); + + showToast({ + ...toastData, + text: 'Скопировано', + }); + } catch (err) { + showToast({ + ...toastData, + text: 'Ошибка при копировании текста', + }); + } + }; + + return ( + <> + {Object.entries(groupedTokens).map(([category, value]) => ( + + {category} + + {Object.entries(value).map(([subcategory, value2], index) => ( + + {subcategory}/ + + + Color + + Opacity + + } + > + + {Object.entries(value2).map(([token, { value: value3, opacity }]) => ( + + copyToClipboard(token)}> + {token} + + copyToClipboard(value3, opacity?.alpha)} + > + +
+ {value3.includes('gradient') ? 'Градиент' : value3} + {opacity && {opacity.alpha}} +
+
+ {opacity && ( + {opacity.parsedAlpha} + )} +
+ ))} +
+
+ ))} +
+
+ ))} + + ); +}; + +export const Default: StoryObj = { + render: (_, context) => ( + + + + ), +}; diff --git a/packages/sdds-dfa/src/components/Tokens/Tokens.styles.ts b/packages/sdds-dfa/src/components/Tokens/Tokens.styles.ts new file mode 100644 index 0000000000..4f1172c7e9 --- /dev/null +++ b/packages/sdds-dfa/src/components/Tokens/Tokens.styles.ts @@ -0,0 +1,130 @@ +import styled from 'styled-components'; + +import { H2 } from '../Typography'; +import { AccordionItem } from '../Accordion'; + +export const CategoryContainer = styled.div` + margin-bottom: 1.875rem; +`; + +export const Category = styled(H2)` + margin: 0 0 1.125rem 1.5rem; +`; + +export const AccordionInfo = styled.div` + display: grid; + grid-template-columns: 18rem 7.938rem 3.813rem; + grid-column-gap: 1.5rem; + + font-family: var(--plasma-typo-body-m-font-family); + font-size: var(--plasma-typo-body-m-font-size); + font-style: var(--plasma-typo-body-m-font-style); + font-weight: var(--plasma-typo-body-m-font-weight); + letter-spacing: var(--plasma-typo-body-m-letter-spacing); + line-height: var(--plasma-typo-body-m-line-height); +`; + +export const Subcategory = styled.div` + color: var(--text-secondary); +`; + +export const ColumnTitle = styled.div` + color: var(--text-tertiary); + transition: opacity 0.2s; + + &.color { + display: flex; + align-items: center; + gap: 0.5rem; + } +`; + +export const StyledAccordionItem = styled(AccordionItem)` + --plasma-accordion-item-padding: 0; + --plasma-accordion-item-padding-vertical: 0; + + border-bottom: unset; + width: max-content; + + div > div > div > svg { + color: var(--text-secondary); + } + + .accordion-item-body { + margin-bottom: 1.125rem; + padding-top: 0.125rem; + transition: margin-bottom 0.2s, padding-top 0.2s; + } + + [aria-expanded] { + margin-bottom: 1rem; + } + + [aria-expanded='false'] { + ${AccordionInfo} ${ColumnTitle} { + opacity: 0; + } + } + + [aria-expanded='false'] + div > .accordion-item-body { + margin: 0; + padding: 0; + } +`; + +export const TokenInfoWrapper = styled.div` + display: flex; + flex-direction: column; + gap: 0.75rem; + margin-top: -0.125rem; +`; + +export const OpacityPart = styled.span` + color: var(--text-secondary); + padding-left: 0.125rem; +`; + +export const TokenInfo = styled.div` + color: var(--text-paragraph); + + cursor: default; + + &.copy { + cursor: copy; + } + + &.color { + display: flex; + align-items: center; + gap: 0.5rem; + } + + &.opacity { + text-align: right; + } + + &:not(.opacity):hover { + color: var(--text-paragraph-hover); + + ${OpacityPart} { + color: var(--text-paragraph-hover); + } + } + + &:not(.opacity):active { + color: var(--text-paragraph-active); + + ${OpacityPart} { + color: var(--text-secondary-active); + } + } +`; + +export const ColorCircle = styled.div<{ background?: string; disableShadow?: boolean }>` + width: 1.25rem; + height: 1.25rem; + border-radius: 50%; + + background: ${(props) => props.background}; + box-shadow: ${(props) => (props.disableShadow ? 'none' : 'inset 0px 0px 0px 1px rgba(8, 8, 8, 0.12)')}; +`; diff --git a/packages/sdds-dfa/src/components/Toolbar/Toolbar.stories.tsx b/packages/sdds-dfa/src/components/Toolbar/Toolbar.stories.tsx index 5834d26988..05725e822f 100644 --- a/packages/sdds-dfa/src/components/Toolbar/Toolbar.stories.tsx +++ b/packages/sdds-dfa/src/components/Toolbar/Toolbar.stories.tsx @@ -25,7 +25,7 @@ const ToolbarWrapper = (props: ComponentProps) => { }; const meta: Meta = { - title: 'Controls/Toolbar', + title: 'Overlay/Toolbar', component: ToolbarWrapper, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-dfa/src/components/Tooltip/Tooltip.stories.tsx b/packages/sdds-dfa/src/components/Tooltip/Tooltip.stories.tsx index 6f112f21f6..81fb1fa827 100644 --- a/packages/sdds-dfa/src/components/Tooltip/Tooltip.stories.tsx +++ b/packages/sdds-dfa/src/components/Tooltip/Tooltip.stories.tsx @@ -29,8 +29,24 @@ const placements: Array = [ 'auto', ]; +const disabledProps = [ + 'target', + 'children', + 'text', + 'opened', + 'isOpen', + 'isVisible', + 'offset', + 'frame', + 'view', + 'zIndex', + 'minWidth', + 'maxWidth', + 'contentLeft', + 'onDismiss', +]; const meta: Meta = { - title: 'Controls/Tooltip', + title: 'Overlay/Tooltip', decorators: [InSpacingDecorator], component: Tooltip, }; @@ -78,28 +94,15 @@ export const Default: StoryObj = { type: 'select', }, }, - ...disableProps([ - 'target', - 'children', - 'text', - 'opened', - 'isOpen', - 'isVisible', - 'placement', - 'offset', - 'frame', - 'view', - 'zIndex', - 'minWidth', - 'maxWidth', - 'contentLeft', - 'onDismiss', - ]), + ...disableProps([...disabledProps, 'placement']), }, args: { - size: 'm', + maxWidth: 10, + minWidth: 3, hasArrow: true, usePortal: false, + animated: true, + size: 'm', }, render: (args) => , }; @@ -145,20 +148,7 @@ export const Live: StoryObj = { type: 'select', }, }, - ...disableProps([ - 'target', - 'children', - 'text', - 'opened', - 'isOpen', - 'isVisible', - 'offset', - 'frame', - 'view', - 'zIndex', - 'contentLeft', - 'onDismiss', - ]), + ...disableProps(disabledProps), }, args: { placement: 'bottom', diff --git a/packages/sdds-dfa/src/components/Typography/Typography.stories.tsx b/packages/sdds-dfa/src/components/Typography/Typography.stories.tsx index e50708df84..944dcfabc6 100644 --- a/packages/sdds-dfa/src/components/Typography/Typography.stories.tsx +++ b/packages/sdds-dfa/src/components/Typography/Typography.stories.tsx @@ -23,7 +23,7 @@ import { } from '.'; const meta: Meta = { - title: 'Content/Typography', + title: 'Data Display/Typography', component: DsplL, argTypes: { ...disableProps(['size']), diff --git a/packages/sdds-dfa/src/components/ViewContainer/ViewContainer.stories.tsx b/packages/sdds-dfa/src/components/ViewContainer/ViewContainer.stories.tsx index b522a24028..2b97225fd8 100644 --- a/packages/sdds-dfa/src/components/ViewContainer/ViewContainer.stories.tsx +++ b/packages/sdds-dfa/src/components/ViewContainer/ViewContainer.stories.tsx @@ -11,7 +11,7 @@ import { ViewContainer } from './ViewContainer'; type StoryViewProps = ComponentProps; const meta: Meta = { - title: 'Layout/ViewContainer', + title: 'Data Display/ViewContainer', decorators: [InSpacingDecorator], }; diff --git a/packages/sdds-dfa/src/helpers/index.ts b/packages/sdds-dfa/src/helpers/index.ts index 21030ca6b5..9e8bb696cd 100644 --- a/packages/sdds-dfa/src/helpers/index.ts +++ b/packages/sdds-dfa/src/helpers/index.ts @@ -1 +1 @@ -export { IconPlaceholder, InSpacingDecorator, disableProps } from '@salutejs/plasma-sb-utils'; +export { IconPlaceholder, InSpacingDecorator, disableProps, getGroupedTokens } from '@salutejs/plasma-sb-utils'; diff --git a/packages/sdds-dfa/src/index.ts b/packages/sdds-dfa/src/index.ts index bf2898fc10..aec28c336a 100644 --- a/packages/sdds-dfa/src/index.ts +++ b/packages/sdds-dfa/src/index.ts @@ -53,6 +53,7 @@ export * from './components/Attach'; export * from './components/ViewContainer'; export * from './components/NumberInput'; export * from './components/Dropzone'; +export * from './components/Rating'; export * from './mixins'; export * from './tokens'; diff --git a/packages/sdds-finportal/.storybook/preview.tsx b/packages/sdds-finportal/.storybook/preview.tsx index 1e06b70496..4c03879a4a 100644 --- a/packages/sdds-finportal/.storybook/preview.tsx +++ b/packages/sdds-finportal/.storybook/preview.tsx @@ -46,7 +46,7 @@ const preview: Preview = { options: { storySort: { method: 'alphabetical', - order: ['About', 'Intro', 'Colors', 'Typography', 'Controls', 'Hooks'], + order: ['About', 'Layout', '*', 'Hooks'], }, }, viewport: { diff --git a/packages/sdds-finportal/api/sdds-finportal.api.md b/packages/sdds-finportal/api/sdds-finportal.api.md index d2e80a7969..da00a8fd32 100644 --- a/packages/sdds-finportal/api/sdds-finportal.api.md +++ b/packages/sdds-finportal/api/sdds-finportal.api.md @@ -519,7 +519,7 @@ true: PolymorphicClassName; }; }> & ((BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -530,7 +530,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -547,9 +547,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -560,7 +560,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -579,9 +579,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -609,9 +609,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -641,9 +641,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -654,7 +654,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -671,9 +671,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -684,7 +684,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -703,9 +703,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -733,9 +733,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -765,7 +765,7 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes))>; +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes))>; // @public (undocumented) export const Avatar: FunctionComponent & DatePickerVariationProps & { +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; defaultDate?: Date | undefined; placeholder?: string | undefined; name?: string | undefined; @@ -1442,6 +1444,8 @@ readOnly: { true: PolymorphicClassName; }; }> & DatePickerVariationProps & { +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; defaultFirstDate?: Date | undefined; defaultSecondDate?: Date | undefined; name?: string | undefined; @@ -1461,10 +1465,12 @@ view?: string | undefined; disabled?: boolean | undefined; autoComplete?: string | undefined; readOnly?: boolean | undefined; +required?: boolean | undefined; size?: string | undefined; contentLeft?: ReactNode; contentRight?: ReactNode; leftHelper?: string | undefined; +requiredPlacement?: "right" | "left" | undefined; dividerVariant?: "none" | "dash" | "icon" | undefined; dividerIcon?: ReactNode; firstValueError?: boolean | undefined; @@ -1600,6 +1606,7 @@ default: PolymorphicClassName; variant?: "normal" | "tight" | undefined; portal?: string | React_2.RefObject | undefined; renderItem?: ((item: DropdownItemOption) => React_2.ReactNode) | undefined; + zIndex?: Property.ZIndex | undefined; onItemClick?: ((item: DropdownItemOption, event: React_2.SyntheticEvent) => void) | undefined; listOverflow?: Property.Overflow | undefined; listHeight?: Property.Height | undefined; @@ -1987,7 +1994,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -1998,7 +2005,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -2063,7 +2070,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2074,7 +2081,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -2141,7 +2148,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2217,7 +2224,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2295,7 +2302,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2306,7 +2313,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -2371,7 +2378,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2382,7 +2389,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -2449,7 +2456,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2525,7 +2532,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2826,6 +2833,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -2863,6 +2872,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -2900,6 +2911,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -3062,6 +3075,8 @@ view?: string | undefined; size?: "s" | "m" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "hover" | "always"; +currentValueVisibility: "hover" | "always"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((event: FormTypeNumber) => void) | undefined; name: string; @@ -3090,6 +3105,8 @@ view?: string | undefined; size?: "s" | "m" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "hover" | "always"; +currentValueVisibility: "hover" | "always"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((value: number) => void) | undefined; value: number; @@ -3119,6 +3136,8 @@ view?: string | undefined; size?: "s" | "m" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "hover" | "always"; +currentValueVisibility: "hover" | "always"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((value: number) => void) | undefined; value: number; @@ -3147,6 +3166,8 @@ view?: string | undefined; size?: "s" | "m" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "hover" | "always"; +currentValueVisibility: "hover" | "always"; } & RefAttributes) | (Omit & { onChange?: ((event: FormTypeString) => void) | undefined; name?: string | undefined; @@ -3303,7 +3324,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3312,7 +3333,7 @@ requiredPlacement?: "right" | "left" | undefined; optional?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintOpened?: boolean | undefined; hintView?: string | undefined; hintSize?: string | undefined; @@ -3346,7 +3367,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3355,7 +3376,7 @@ requiredPlacement?: "right" | "left" | undefined; optional?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintOpened?: boolean | undefined; hintView?: string | undefined; hintSize?: string | undefined; @@ -3389,7 +3410,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3398,7 +3419,7 @@ requiredPlacement?: "right" | "left" | undefined; optional?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintOpened?: boolean | undefined; hintView?: string | undefined; hintSize?: string | undefined; @@ -3432,7 +3453,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3441,7 +3462,7 @@ requiredPlacement?: "right" | "left" | undefined; optional?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintOpened?: boolean | undefined; hintView?: string | undefined; hintSize?: string | undefined; @@ -3475,7 +3496,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3518,7 +3539,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3561,7 +3582,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3604,7 +3625,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3690,7 +3711,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3701,7 +3722,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -3725,7 +3746,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3736,7 +3757,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -3762,7 +3783,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3797,7 +3818,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3834,7 +3855,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3845,7 +3866,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -3869,7 +3890,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3880,7 +3901,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -3906,7 +3927,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3941,7 +3962,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; diff --git a/packages/sdds-finportal/package-lock.json b/packages/sdds-finportal/package-lock.json index a44ba0e2c4..b6b4f8ba9e 100644 --- a/packages/sdds-finportal/package-lock.json +++ b/packages/sdds-finportal/package-lock.json @@ -1,15 +1,15 @@ { "name": "@salutejs/sdds-finportal", - "version": "0.180.0", + "version": "0.194.1-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@salutejs/sdds-finportal", - "version": "0.180.0", + "version": "0.194.1-dev.0", "license": "MIT", "dependencies": { - "@salutejs/plasma-new-hope": "0.205.0", + "@salutejs/plasma-new-hope": "0.219.1-dev.0", "@salutejs/sdds-themes": "0.27.0" }, "devDependencies": { @@ -22,10 +22,10 @@ "@babel/preset-typescript": "7.24.1", "@microsoft/api-extractor": "7.38.3", "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-core": "1.188.0-dev.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", "@storybook/addons": "7.6.17", @@ -5552,9 +5552,9 @@ "dev": true }, "node_modules/@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "dependencies": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -5584,9 +5584,9 @@ } }, "node_modules/@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true, "peerDependencies": { "react": ">=16.13.1", @@ -5606,9 +5606,9 @@ } }, "node_modules/@salutejs/plasma-new-hope": { - "version": "0.205.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.205.0.tgz", - "integrity": "sha512-ofUcrUdy9DQ7WVbfEgVkGKpyMX7yDdLPdYH3KBOq91kH7PTMnn4qn1fIN+rkAb3OgJQv8uy0XCUccgaap/NlKw==", + "version": "0.219.1-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.219.1-dev.0.tgz", + "integrity": "sha512-mvDRqa0OcBfTsAr2/rk4AsPFW7GGQwUCGdK9w+amKNwNN5BfcU6y7PE8OzzeVEYHLdNHbPe6FwtNswGjb7l2zQ==", "dependencies": { "@floating-ui/dom": "1.6.10", "@floating-ui/react": "0.26.22", @@ -5617,7 +5617,7 @@ "@linaria/react": "5.0.3", "@popperjs/core": "2.11.8", "@salutejs/input-core": "2.1.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/react-maskinput": "3.2.6", "classnames": "2.5.1", "dayjs": "1.11.11", @@ -5656,13 +5656,13 @@ } }, "node_modules/@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "dependencies": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" }, "peerDependencies": { @@ -21419,9 +21419,9 @@ "dev": true }, "@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "requires": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -21443,9 +21443,9 @@ } }, "@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true }, "@salutejs/plasma-icons": { @@ -21455,9 +21455,9 @@ "dev": true }, "@salutejs/plasma-new-hope": { - "version": "0.205.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.205.0.tgz", - "integrity": "sha512-ofUcrUdy9DQ7WVbfEgVkGKpyMX7yDdLPdYH3KBOq91kH7PTMnn4qn1fIN+rkAb3OgJQv8uy0XCUccgaap/NlKw==", + "version": "0.219.1-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.219.1-dev.0.tgz", + "integrity": "sha512-mvDRqa0OcBfTsAr2/rk4AsPFW7GGQwUCGdK9w+amKNwNN5BfcU6y7PE8OzzeVEYHLdNHbPe6FwtNswGjb7l2zQ==", "requires": { "@floating-ui/dom": "1.6.10", "@floating-ui/react": "0.26.22", @@ -21466,7 +21466,7 @@ "@linaria/react": "5.0.3", "@popperjs/core": "2.11.8", "@salutejs/input-core": "2.1.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/react-maskinput": "3.2.6", "classnames": "2.5.1", "dayjs": "1.11.11", @@ -21494,13 +21494,13 @@ } }, "@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "requires": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" } }, diff --git a/packages/sdds-finportal/package.json b/packages/sdds-finportal/package.json index 3366ff67cc..fb82b90714 100644 --- a/packages/sdds-finportal/package.json +++ b/packages/sdds-finportal/package.json @@ -1,6 +1,6 @@ { "name": "@salutejs/sdds-finportal", - "version": "0.180.0", + "version": "0.194.1-dev.0", "description": "Salute Design System / React UI kit for SDDS FinPortal web applications", "author": "Salute Frontend Team ", "license": "MIT", @@ -19,7 +19,7 @@ "directory": "packages/sdds-finportal" }, "dependencies": { - "@salutejs/plasma-new-hope": "0.205.0", + "@salutejs/plasma-new-hope": "0.219.1-dev.0", "@salutejs/sdds-themes": "0.27.0" }, "peerDependencies": { @@ -37,10 +37,10 @@ "@babel/preset-typescript": "7.24.1", "@microsoft/api-extractor": "7.38.3", "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-core": "1.188.0-dev.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", "@storybook/addons": "7.6.17", @@ -96,4 +96,4 @@ "Vasiliy Loginevskiy" ], "sideEffects": false -} +} \ No newline at end of file diff --git a/packages/sdds-finportal/src/components/Accordion/Accordion.stories.tsx b/packages/sdds-finportal/src/components/Accordion/Accordion.stories.tsx index cfe0226e4e..030b1736d6 100644 --- a/packages/sdds-finportal/src/components/Accordion/Accordion.stories.tsx +++ b/packages/sdds-finportal/src/components/Accordion/Accordion.stories.tsx @@ -24,7 +24,7 @@ type AccordionItemCustomProps = { type AccordionProps = ComponentProps & AccordionItemCustomProps; const meta: Meta = { - title: 'Content/Accordion', + title: 'Data Display/Accordion', decorators: [InSpacingDecorator], component: Accordion, args: { diff --git a/packages/sdds-finportal/src/components/Attach/Attach.stories.tsx b/packages/sdds-finportal/src/components/Attach/Attach.stories.tsx index 59dcf4921d..a214d0ada2 100644 --- a/packages/sdds-finportal/src/components/Attach/Attach.stories.tsx +++ b/packages/sdds-finportal/src/components/Attach/Attach.stories.tsx @@ -32,7 +32,7 @@ type StoryAttachProps = ComponentProps & { }; const meta: Meta = { - title: 'Controls/Attach', + title: 'Data Entry/Attach', decorators: [InSpacingDecorator], component: Attach, argTypes: { diff --git a/packages/sdds-finportal/src/components/Autocomplete/Autocomplete.stories.tsx b/packages/sdds-finportal/src/components/Autocomplete/Autocomplete.stories.tsx index 99ad7c5bed..ef1a2fddc7 100644 --- a/packages/sdds-finportal/src/components/Autocomplete/Autocomplete.stories.tsx +++ b/packages/sdds-finportal/src/components/Autocomplete/Autocomplete.stories.tsx @@ -69,7 +69,7 @@ type StoryProps = ComponentProps & { }; const meta: Meta = { - title: 'Controls/Autocomplete', + title: 'Data Entry/Autocomplete', decorators: [InSpacingDecorator], component: Autocomplete, argTypes: { diff --git a/packages/sdds-finportal/src/components/Avatar/Avatar.stories.tsx b/packages/sdds-finportal/src/components/Avatar/Avatar.stories.tsx index 278dfe4d29..81c7c46ddc 100644 --- a/packages/sdds-finportal/src/components/Avatar/Avatar.stories.tsx +++ b/packages/sdds-finportal/src/components/Avatar/Avatar.stories.tsx @@ -5,7 +5,7 @@ import { disableProps } from '@salutejs/plasma-sb-utils'; import { Avatar } from './Avatar'; const meta: Meta = { - title: 'Content/Avatar', + title: 'Data Display/Avatar', component: Avatar, argTypes: { view: { control: 'inline-radio', options: ['default'] }, diff --git a/packages/sdds-finportal/src/components/AvatarGroup/AvatarGroup.stories.tsx b/packages/sdds-finportal/src/components/AvatarGroup/AvatarGroup.stories.tsx index 173e5f3cbb..bc97ab5259 100644 --- a/packages/sdds-finportal/src/components/AvatarGroup/AvatarGroup.stories.tsx +++ b/packages/sdds-finportal/src/components/AvatarGroup/AvatarGroup.stories.tsx @@ -9,7 +9,7 @@ import { AvatarGroup } from './AvatarGroup'; type Story = StoryObj>; const meta: Meta = { - title: 'Content/AvatarGroup', + title: 'Data Display/AvatarGroup', component: AvatarGroup, }; diff --git a/packages/sdds-finportal/src/components/Badge/Badge.stories.tsx b/packages/sdds-finportal/src/components/Badge/Badge.stories.tsx index 4f2e0d1d6e..23ac5d4de8 100644 --- a/packages/sdds-finportal/src/components/Badge/Badge.stories.tsx +++ b/packages/sdds-finportal/src/components/Badge/Badge.stories.tsx @@ -14,7 +14,7 @@ const config = hasComponentDraftConfig() ? draftConfig : defaultConfig; const Badge = createComponentByConfig(badgeConfig, config); const meta: Meta = { - title: 'Content/Badge', + title: 'Data Display/Badge', component: Badge, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/Breadcrumbs/Breadcrumbs.stories.tsx b/packages/sdds-finportal/src/components/Breadcrumbs/Breadcrumbs.stories.tsx index a876595f69..81bfde8f6c 100644 --- a/packages/sdds-finportal/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +++ b/packages/sdds-finportal/src/components/Breadcrumbs/Breadcrumbs.stories.tsx @@ -10,7 +10,7 @@ import { Breadcrumbs } from '.'; type BreadcrumbsProps = ComponentProps; const meta: Meta = { - title: 'Content/Breadcrumbs', + title: 'Navigation/Breadcrumbs', component: Breadcrumbs, args: { view: 'default', diff --git a/packages/sdds-finportal/src/components/Button/Button.stories.tsx b/packages/sdds-finportal/src/components/Button/Button.stories.tsx index 6ba460e2f6..3442d92993 100644 --- a/packages/sdds-finportal/src/components/Button/Button.stories.tsx +++ b/packages/sdds-finportal/src/components/Button/Button.stories.tsx @@ -31,7 +31,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'Controls/Button', + title: 'Data Entry/Button', decorators: [InSpacingDecorator], component: Button, args: { diff --git a/packages/sdds-finportal/src/components/ButtonGroup/ButtonGroup.stories.tsx b/packages/sdds-finportal/src/components/ButtonGroup/ButtonGroup.stories.tsx index f75cc2303d..f4b37607d2 100644 --- a/packages/sdds-finportal/src/components/ButtonGroup/ButtonGroup.stories.tsx +++ b/packages/sdds-finportal/src/components/ButtonGroup/ButtonGroup.stories.tsx @@ -18,7 +18,7 @@ const shapeValues = ['segmented', 'default']; const stretchingValues = ['auto', 'filled']; const meta: Meta = { - title: 'Controls/ButtonGroup', + title: 'Data Entry/ButtonGroup', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-finportal/src/components/Calendar/Calendar.stories.tsx b/packages/sdds-finportal/src/components/Calendar/Calendar.stories.tsx index f0cbca9594..1426c8686a 100644 --- a/packages/sdds-finportal/src/components/Calendar/Calendar.stories.tsx +++ b/packages/sdds-finportal/src/components/Calendar/Calendar.stories.tsx @@ -12,7 +12,7 @@ import { Calendar, CalendarBase, CalendarBaseRange, CalendarDouble, CalendarDoub const onChangeValue = action('onChangeValue'); const meta: Meta = { - title: 'Controls/Calendar', + title: 'Data Entry/Calendar', decorators: [InSpacingDecorator], component: Calendar, argTypes: { diff --git a/packages/sdds-finportal/src/components/Cell/Cell.stories.tsx b/packages/sdds-finportal/src/components/Cell/Cell.stories.tsx index 30e06f322c..be4277e42d 100644 --- a/packages/sdds-finportal/src/components/Cell/Cell.stories.tsx +++ b/packages/sdds-finportal/src/components/Cell/Cell.stories.tsx @@ -36,7 +36,7 @@ const ChevronRight = styled(IconChevronRight)` `; const meta: Meta = { - title: 'Content/Cell', + title: 'Data Display/Cell', argTypes: { size: { options: sizes, diff --git a/packages/sdds-finportal/src/components/Checkbox/Checkbox.stories.tsx b/packages/sdds-finportal/src/components/Checkbox/Checkbox.stories.tsx index 9d0f6563e2..f3b8f2ba57 100644 --- a/packages/sdds-finportal/src/components/Checkbox/Checkbox.stories.tsx +++ b/packages/sdds-finportal/src/components/Checkbox/Checkbox.stories.tsx @@ -34,7 +34,7 @@ const propsToDisable = [ ]; const meta: Meta = { - title: 'Controls/Checkbox', + title: 'Data Entry/Checkbox', component: Checkbox, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/Chip/Chip.config.tsx b/packages/sdds-finportal/src/components/Chip/Chip.config.tsx index 7880301c4e..b3fe5a1aa2 100644 --- a/packages/sdds-finportal/src/components/Chip/Chip.config.tsx +++ b/packages/sdds-finportal/src/components/Chip/Chip.config.tsx @@ -87,8 +87,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1.5rem; ${chipTokens.width}: auto; ${chipTokens.height}: 3rem; - ${chipTokens.paddingRight}: 1rem; - ${chipTokens.paddingLeft}: 1rem; + ${chipTokens.padding}: 0 1rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-l-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-l-font-size); @@ -112,8 +111,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1.25rem; ${chipTokens.width}: auto; ${chipTokens.height}: 2.5rem; - ${chipTokens.paddingRight}: 0.875rem; - ${chipTokens.paddingLeft}: 0.875rem; + ${chipTokens.padding}: 0 0.875rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-m-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-m-font-size); @@ -137,8 +135,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1rem; ${chipTokens.width}: auto; ${chipTokens.height}: 2rem; - ${chipTokens.paddingRight}: 0.875rem; - ${chipTokens.paddingLeft}: 0.875rem; + ${chipTokens.padding}: 0 0.875rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-s-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-s-font-size); @@ -162,8 +159,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 0.75rem; ${chipTokens.width}: auto; ${chipTokens.height}: 1.5rem; - ${chipTokens.paddingRight}: 0.625rem; - ${chipTokens.paddingLeft}: 0.625rem; + ${chipTokens.padding}: 0 0.625rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-xs-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-xs-font-size); diff --git a/packages/sdds-finportal/src/components/Chip/Chip.stories.tsx b/packages/sdds-finportal/src/components/Chip/Chip.stories.tsx index 527de87f31..06b362ba6c 100644 --- a/packages/sdds-finportal/src/components/Chip/Chip.stories.tsx +++ b/packages/sdds-finportal/src/components/Chip/Chip.stories.tsx @@ -11,7 +11,7 @@ const sizes = ['l', 'm', 's', 'xs']; const onClear = action('onClear'); const meta: Meta = { - title: 'Controls/Chip', + title: 'Data Display/Chip', component: Chip, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/ChipGroup/ChipGroup.config.ts b/packages/sdds-finportal/src/components/ChipGroup/ChipGroup.config.ts index f42fea7cb0..900181d986 100644 --- a/packages/sdds-finportal/src/components/ChipGroup/ChipGroup.config.ts +++ b/packages/sdds-finportal/src/components/ChipGroup/ChipGroup.config.ts @@ -37,8 +37,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.75rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 3rem; - ${tokens.chipPaddingRight}: 1rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 1rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-l-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-l-font-size); @@ -61,8 +60,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.625rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.5rem; - ${tokens.chipPaddingRight}: 0.875rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.875rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-m-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-m-font-size); @@ -85,8 +83,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2rem; - ${tokens.chipPaddingRight}: 0.875rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.875rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-s-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-s-font-size); @@ -109,8 +106,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.5rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.625rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-xs-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-xs-font-size); diff --git a/packages/sdds-finportal/src/components/ChipGroup/ChipGroup.stories.tsx b/packages/sdds-finportal/src/components/ChipGroup/ChipGroup.stories.tsx index 822c9af359..2aadccfef5 100644 --- a/packages/sdds-finportal/src/components/ChipGroup/ChipGroup.stories.tsx +++ b/packages/sdds-finportal/src/components/ChipGroup/ChipGroup.stories.tsx @@ -15,7 +15,7 @@ const sizes = ['l', 'm', 's', 'xs']; const gapValues = ['dense', 'wide']; const meta: Meta = { - title: 'Controls/ChipGroup', + title: 'Data Display/ChipGroup', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-finportal/src/components/Combobox/Combobox.config.ts b/packages/sdds-finportal/src/components/Combobox/Combobox.config.ts index d0a1708450..a2cc9ec94b 100644 --- a/packages/sdds-finportal/src/components/Combobox/Combobox.config.ts +++ b/packages/sdds-finportal/src/components/Combobox/Combobox.config.ts @@ -231,8 +231,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.5rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.75rem; - ${tokens.textFieldChipPaddingRight}: 0.75rem; - ${tokens.textFieldChipPaddingLeft}: 1rem; + ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.5rem; @@ -337,8 +336,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.375rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.25rem; - ${tokens.textFieldChipPaddingRight}: 0.625rem; - ${tokens.textFieldChipPaddingLeft}: 0.875rem; + ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.25rem; @@ -443,8 +441,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.25rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.75rem; - ${tokens.textFieldChipPaddingRight}: 0.5rem; - ${tokens.textFieldChipPaddingLeft}: 0.75rem; + ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1rem; @@ -549,8 +546,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.125rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.25rem; - ${tokens.textFieldChipPaddingRight}: 0.375rem; - ${tokens.textFieldChipPaddingLeft}: 0.625rem; + ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 0.75rem; diff --git a/packages/sdds-finportal/src/components/Combobox/Combobox.stories.tsx b/packages/sdds-finportal/src/components/Combobox/Combobox.stories.tsx index 85fec66fb9..cebf47077e 100644 --- a/packages/sdds-finportal/src/components/Combobox/Combobox.stories.tsx +++ b/packages/sdds-finportal/src/components/Combobox/Combobox.stories.tsx @@ -16,7 +16,7 @@ const labelPlacement = ['inner', 'outer']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'Controls/Combobox', + title: 'Data Entry/Combobox', decorators: [InSpacingDecorator], component: Combobox, argTypes: { @@ -361,7 +361,6 @@ const SingleStory = (args: StorySelectProps) => { value={value} onChange={setValue} contentLeft={args.enableContentLeft ? : undefined} - autoComplete="off" /> ); @@ -388,7 +387,6 @@ const MultipleStory = (args: StorySelectProps) => { value={value} onChange={setValue} contentLeft={args.enableContentLeft ? : undefined} - autoComplete="off" /> ); diff --git a/packages/sdds-finportal/src/components/Counter/Counter.config.ts b/packages/sdds-finportal/src/components/Counter/Counter.config.ts index af5b45d0d2..140aa43a57 100644 --- a/packages/sdds-finportal/src/components/Counter/Counter.config.ts +++ b/packages/sdds-finportal/src/components/Counter/Counter.config.ts @@ -40,8 +40,7 @@ export const config = { l: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.75rem; - ${counterTokens.paddingRight}: 0.625rem; - ${counterTokens.paddingLeft}: 0.625rem; + ${counterTokens.padding}: 0 0.625rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-s-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-s-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-s-font-style); @@ -52,8 +51,7 @@ export const config = { m: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.5rem; - ${counterTokens.paddingRight}: 0.5rem; - ${counterTokens.paddingLeft}: 0.5rem; + ${counterTokens.padding}: 0 0.5rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xs-font-style); @@ -64,8 +62,7 @@ export const config = { s: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.25rem; - ${counterTokens.paddingRight}: 0.375rem; - ${counterTokens.paddingLeft}: 0.375rem; + ${counterTokens.padding}: 0 0.375rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); @@ -76,8 +73,7 @@ export const config = { xs: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1rem; - ${counterTokens.paddingRight}: 0.25rem; - ${counterTokens.paddingLeft}: 0.25rem; + ${counterTokens.padding}: 0 0.25rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); @@ -88,8 +84,7 @@ export const config = { xxs: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 0.75rem; - ${counterTokens.paddingRight}: 0.125rem; - ${counterTokens.paddingLeft}: 0.125rem; + ${counterTokens.padding}: 0 0.125rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); diff --git a/packages/sdds-finportal/src/components/Counter/Counter.stories.tsx b/packages/sdds-finportal/src/components/Counter/Counter.stories.tsx index cb66913eeb..e1543d8f37 100644 --- a/packages/sdds-finportal/src/components/Counter/Counter.stories.tsx +++ b/packages/sdds-finportal/src/components/Counter/Counter.stories.tsx @@ -7,7 +7,7 @@ const sizes = ['l', 'm', 's', 'xs', 'xxs']; const views = ['default', 'accent', 'positive', 'warning', 'negative', 'dark', 'light']; const meta: Meta = { - title: 'Content/Counter', + title: 'Data Display/Counter', component: Counter, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/DatePicker/DatePicker.config.ts b/packages/sdds-finportal/src/components/DatePicker/DatePicker.config.ts index 4af2c454c9..45070b81c9 100644 --- a/packages/sdds-finportal/src/components/DatePicker/DatePicker.config.ts +++ b/packages/sdds-finportal/src/components/DatePicker/DatePicker.config.ts @@ -28,6 +28,8 @@ export const config = { ${tokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelInnerLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorColor}: var(--surface-negative); + ${tokens.textFieldBackgroundColor}: var(--surface-transparent-primary); ${tokens.textFieldBackgroundColorFocus}: var(--surface-transparent-secondary); ${tokens.textFieldBackgroundErrorColor}: var(--surface-transparent-negative); @@ -85,7 +87,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 1rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.75rem 0; + ${tokens.labelOffset}: 0.75rem; ${tokens.labelInnerPadding}: 0.5625rem 0 0.125rem 0; ${tokens.contentLabelInnerPadding}: 1.5625rem 0 0.5625rem 0; @@ -96,6 +98,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-l-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.5rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 3.5rem; ${tokens.textFieldBorderRadius}: 0.875rem; ${tokens.textFieldPadding}: 1.0625rem 1.125rem 1.0625rem 1.125rem; @@ -210,7 +219,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.875rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.625rem 0; + ${tokens.labelOffset}: 0.625rem; ${tokens.labelInnerPadding}: 0.375rem 0 0.125rem 0; ${tokens.contentLabelInnerPadding}: 1.375rem 0 0.375rem 0; @@ -221,6 +230,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-m-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.375rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 3rem; ${tokens.textFieldBorderRadius}: 0.75rem; ${tokens.textFieldPadding}: 0.875rem 1rem 0.875rem 1rem; @@ -335,7 +351,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.75rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.5rem 0; + ${tokens.labelOffset}: 0.5rem; ${tokens.labelInnerPadding}: 0.3125rem 0 0 0; ${tokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0; @@ -346,6 +362,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.3125rem auto auto -0.6875rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 2.5rem; ${tokens.textFieldBorderRadius}: 0.625rem; ${tokens.textFieldPadding}: 0.6875rem 0.875rem 0.6875rem 0.875rem; @@ -460,7 +483,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.5rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.375rem 0; + ${tokens.labelOffset}: 0.375rem; ${tokens.labelInnerPadding}: 0.3125rem 0 0 0; ${tokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0; @@ -471,6 +494,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.25rem auto auto -0.625rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.125rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 2rem; ${tokens.textFieldBorderRadius}: 0.5rem; ${tokens.textFieldPadding}: 0.5625rem 0.625rem 0.5625rem 0.625rem; diff --git a/packages/sdds-finportal/src/components/DatePicker/DatePicker.stories.tsx b/packages/sdds-finportal/src/components/DatePicker/DatePicker.stories.tsx index 7f66a7dcb6..41955e2308 100644 --- a/packages/sdds-finportal/src/components/DatePicker/DatePicker.stories.tsx +++ b/packages/sdds-finportal/src/components/DatePicker/DatePicker.stories.tsx @@ -3,7 +3,7 @@ import type { StoryObj, Meta } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { IconPlaceholder, InSpacingDecorator } from '@salutejs/plasma-sb-utils'; -import { IconButton } from '../IconButton/IconButton'; +import { IconButton } from '../IconButton'; import { DatePicker, DatePickerRange } from './DatePicker'; @@ -18,9 +18,10 @@ const sizes = ['l', 'm', 's', 'xs']; const views = ['default']; const dividers = ['none', 'dash', 'icon']; const labelPlacements = ['outer', 'inner']; +const requiredPlacements = ['left', 'right']; const meta: Meta = { - title: 'Controls/DatePicker', + title: 'Data Entry/DatePicker', decorators: [InSpacingDecorator], argTypes: { view: { @@ -57,6 +58,13 @@ const meta: Meta = { type: 'select', }, }, + requiredPlacement: { + options: requiredPlacements, + control: { + type: 'select', + }, + if: { arg: 'required', truthy: true }, + }, }, }; @@ -115,17 +123,19 @@ export const Default: StoryObj = { }, args: { label: 'Лейбл', + labelPlacement: 'outer', leftHelper: 'Подсказка к полю', placeholder: '30.05.2024', size: 'l', view: 'default', lang: 'ru', format: 'DD.MM.YYYY', - labelPlacement: 'outer', defaultDate: new Date(2024, 5, 14), min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, textBefore: '', @@ -254,13 +264,15 @@ export const Range: StoryObj = { secondTextfieldTextAfter: '', size: 'l', view: 'default', - lang: 'ru', - format: 'DD.MM.YYYY', isDoubleCalendar: false, dividerVariant: 'dash', min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), + lang: 'ru', + format: 'DD.MM.YYYY', maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, enableContentLeft: true, @@ -339,15 +351,17 @@ export const Deferred: StoryObj = { args: { label: 'Лейбл', leftHelper: 'Подсказка к полю', + lang: 'ru', + format: 'DD.MM.YYYY', placeholder: '30.05.2024', size: 'l', view: 'default', - lang: 'ru', - format: 'DD.MM.YYYY', labelPlacement: 'outer', min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, textBefore: '', diff --git a/packages/sdds-finportal/src/components/Divider/Divider.stories.tsx b/packages/sdds-finportal/src/components/Divider/Divider.stories.tsx index cf45f3537c..1068194ae6 100644 --- a/packages/sdds-finportal/src/components/Divider/Divider.stories.tsx +++ b/packages/sdds-finportal/src/components/Divider/Divider.stories.tsx @@ -9,7 +9,7 @@ import { BodyS } from '../Typography'; import { Divider } from './Divider'; const meta: Meta = { - title: 'Content/Divider', + title: 'Data Display/Divider', decorators: [InSpacingDecorator], argTypes: { orientation: { diff --git a/packages/sdds-finportal/src/components/Drawer/Drawer.stories.tsx b/packages/sdds-finportal/src/components/Drawer/Drawer.stories.tsx index 90347a4954..4b8672b146 100644 --- a/packages/sdds-finportal/src/components/Drawer/Drawer.stories.tsx +++ b/packages/sdds-finportal/src/components/Drawer/Drawer.stories.tsx @@ -14,7 +14,7 @@ import type { ClosePlacementType } from '.'; import { Drawer, DrawerContent, DrawerFooter, DrawerHeader } from '.'; export default { - title: 'Controls/Drawer', + title: 'Overlay/Drawer', decorators: [InSpacingDecorator], argTypes: { placement: { diff --git a/packages/sdds-finportal/src/components/Dropdown/Dropdown.stories.tsx b/packages/sdds-finportal/src/components/Dropdown/Dropdown.stories.tsx index 798bee40a8..e317f5ada6 100644 --- a/packages/sdds-finportal/src/components/Dropdown/Dropdown.stories.tsx +++ b/packages/sdds-finportal/src/components/Dropdown/Dropdown.stories.tsx @@ -16,7 +16,7 @@ const size = ['xs', 's', 'm', 'l']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'Controls/Dropdown', + title: 'Data Entry/Dropdown', component: Dropdown, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/Dropzone/Dropzone.stories.tsx b/packages/sdds-finportal/src/components/Dropzone/Dropzone.stories.tsx index 8c9d9e4ac9..2f8cb38aaf 100644 --- a/packages/sdds-finportal/src/components/Dropzone/Dropzone.stories.tsx +++ b/packages/sdds-finportal/src/components/Dropzone/Dropzone.stories.tsx @@ -14,7 +14,7 @@ const onChoseFiles = action('onChoseFiles'); const iconPlacements = ['top', 'left']; const meta: Meta = { - title: 'Controls/Dropzone', + title: 'Data Entry/Dropzone', component: Dropzone, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/EmptyState/EmptyState.stories.tsx b/packages/sdds-finportal/src/components/EmptyState/EmptyState.stories.tsx index 6c29f6c3db..ffa5dd9a33 100644 --- a/packages/sdds-finportal/src/components/EmptyState/EmptyState.stories.tsx +++ b/packages/sdds-finportal/src/components/EmptyState/EmptyState.stories.tsx @@ -13,7 +13,7 @@ type StoryProps = ComponentProps & { }; const meta: Meta = { - title: 'Content/EmptyState', + title: 'Data Entry/EmptyState', decorators: [InSpacingDecorator], component: EmptyState, args: { diff --git a/packages/sdds-finportal/src/components/IconButton/IconButton.stories.tsx b/packages/sdds-finportal/src/components/IconButton/IconButton.stories.tsx index dfb92906be..9eb86e9eef 100644 --- a/packages/sdds-finportal/src/components/IconButton/IconButton.stories.tsx +++ b/packages/sdds-finportal/src/components/IconButton/IconButton.stories.tsx @@ -21,7 +21,7 @@ const pins = [ ]; const meta: Meta = { - title: 'Controls/IconButton', + title: 'Data Entry/IconButton', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-finportal/src/components/Image/Image.stories.tsx b/packages/sdds-finportal/src/components/Image/Image.stories.tsx index a3bad876d0..fb9965d92d 100644 --- a/packages/sdds-finportal/src/components/Image/Image.stories.tsx +++ b/packages/sdds-finportal/src/components/Image/Image.stories.tsx @@ -6,7 +6,7 @@ import { Image, Ratio } from '.'; import type { ImageProps } from '.'; const meta: Meta = { - title: 'Content/Image', + title: 'Data Display/Image', component: Image, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/Indicator/Indicator.stories.tsx b/packages/sdds-finportal/src/components/Indicator/Indicator.stories.tsx index 6a523aa061..bbf072a45a 100644 --- a/packages/sdds-finportal/src/components/Indicator/Indicator.stories.tsx +++ b/packages/sdds-finportal/src/components/Indicator/Indicator.stories.tsx @@ -4,7 +4,7 @@ import type { StoryObj, Meta } from '@storybook/react'; import { Indicator } from './Indicator'; const meta: Meta = { - title: 'Content/Indicator', + title: 'Data Display/Indicator', component: Indicator, argTypes: { view: { diff --git a/packages/sdds-finportal/src/components/Link/Link.stories.tsx b/packages/sdds-finportal/src/components/Link/Link.stories.tsx index efcdae4af1..7de5b65fee 100644 --- a/packages/sdds-finportal/src/components/Link/Link.stories.tsx +++ b/packages/sdds-finportal/src/components/Link/Link.stories.tsx @@ -7,7 +7,7 @@ import { TextM } from '../Typography'; import { Link } from '.'; const meta: Meta = { - title: 'Content/Link', + title: 'Navigation/Link', decorators: [InSpacingDecorator], component: Link, argTypes: { diff --git a/packages/sdds-finportal/src/components/Mask/Mask.stories.tsx b/packages/sdds-finportal/src/components/Mask/Mask.stories.tsx index 98ad4ce089..e1873ebc20 100644 --- a/packages/sdds-finportal/src/components/Mask/Mask.stories.tsx +++ b/packages/sdds-finportal/src/components/Mask/Mask.stories.tsx @@ -35,7 +35,7 @@ const propsToDisable = [ ]; const meta: Meta = { - title: 'Controls/Mask', + title: 'Data Display/Mask', component: Mask, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/Modal/Modal.stories.tsx b/packages/sdds-finportal/src/components/Modal/Modal.stories.tsx index ed100b6801..6bfa56482b 100644 --- a/packages/sdds-finportal/src/components/Modal/Modal.stories.tsx +++ b/packages/sdds-finportal/src/components/Modal/Modal.stories.tsx @@ -13,7 +13,7 @@ import { Modal, modalClasses } from '.'; import type { ModalProps } from '.'; const meta: Meta = { - title: 'Controls/Modal', + title: 'Overlay/Modal', decorators: [InSpacingDecorator], parameters: { docs: { story: { inline: false, iframeHeight: '30rem' } }, diff --git a/packages/sdds-finportal/src/components/Notification/Notification.stories.tsx b/packages/sdds-finportal/src/components/Notification/Notification.stories.tsx index ee32a44ff4..62dbdeea42 100644 --- a/packages/sdds-finportal/src/components/Notification/Notification.stories.tsx +++ b/packages/sdds-finportal/src/components/Notification/Notification.stories.tsx @@ -37,7 +37,7 @@ const getNotificationProps = (i: number) => ({ const placements = ['top', 'left']; const meta: Meta = { - title: 'Controls/Notification', + title: 'Overlay/Notification', decorators: [InSpacingDecorator], }; diff --git a/packages/sdds-finportal/src/components/NumberInput/NumberInput.stories.tsx b/packages/sdds-finportal/src/components/NumberInput/NumberInput.stories.tsx index 781091f912..27c4bd58dd 100644 --- a/packages/sdds-finportal/src/components/NumberInput/NumberInput.stories.tsx +++ b/packages/sdds-finportal/src/components/NumberInput/NumberInput.stories.tsx @@ -16,7 +16,7 @@ const inputBackgroundTypes = ['fill', 'clear']; const segmentation = ['default', 'segmented', 'solid']; const meta: Meta = { - title: 'Controls/NumberInput', + title: 'Data Entry/NumberInput', component: NumberInput, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/Overlay/Overlay.stories.tsx b/packages/sdds-finportal/src/components/Overlay/Overlay.stories.tsx index 536d718e1d..8481de7067 100644 --- a/packages/sdds-finportal/src/components/Overlay/Overlay.stories.tsx +++ b/packages/sdds-finportal/src/components/Overlay/Overlay.stories.tsx @@ -12,7 +12,7 @@ import { Overlay } from '.'; const onOverlayClick = action('onOverlayClick'); export default { - title: 'Controls/Overlay', + title: 'Overlay/Overlay', decorators: [InSpacingDecorator], argTypes: { isClickable: { diff --git a/packages/sdds-finportal/src/components/Pagination/Pagination.stories.tsx b/packages/sdds-finportal/src/components/Pagination/Pagination.stories.tsx index 73d9a59efa..0e164e37a0 100644 --- a/packages/sdds-finportal/src/components/Pagination/Pagination.stories.tsx +++ b/packages/sdds-finportal/src/components/Pagination/Pagination.stories.tsx @@ -7,7 +7,7 @@ import { Button } from '../Button'; import { Pagination } from './Pagination'; const meta: Meta = { - title: 'Controls/Pagination', + title: 'Navigation/Pagination', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-finportal/src/components/Popover/Popover.stories.tsx b/packages/sdds-finportal/src/components/Popover/Popover.stories.tsx index 26692c7473..44dc9f0e55 100644 --- a/packages/sdds-finportal/src/components/Popover/Popover.stories.tsx +++ b/packages/sdds-finportal/src/components/Popover/Popover.stories.tsx @@ -9,7 +9,7 @@ import { Button } from '../Button/Button'; import { Popover } from './Popover'; const meta: Meta = { - title: 'Controls/Popover', + title: 'Overlay/Popover', decorators: [InSpacingDecorator], component: Popover, argTypes: { diff --git a/packages/sdds-finportal/src/components/Popup/Popup.stories.tsx b/packages/sdds-finportal/src/components/Popup/Popup.stories.tsx index 1428dbe3b0..68fc921cb1 100644 --- a/packages/sdds-finportal/src/components/Popup/Popup.stories.tsx +++ b/packages/sdds-finportal/src/components/Popup/Popup.stories.tsx @@ -10,7 +10,7 @@ import { Popup, popupClasses, PopupProvider } from '.'; import type { PopupProps } from '.'; const meta: Meta = { - title: 'Controls/Popup', + title: 'Overlay/Popup', component: Popup, decorators: [InSpacingDecorator], parameters: { diff --git a/packages/sdds-finportal/src/components/Portal/Portal.stories.tsx b/packages/sdds-finportal/src/components/Portal/Portal.stories.tsx index b2ae0c884c..b3ece2f627 100644 --- a/packages/sdds-finportal/src/components/Portal/Portal.stories.tsx +++ b/packages/sdds-finportal/src/components/Portal/Portal.stories.tsx @@ -10,7 +10,7 @@ import { BodyM } from '../Typography'; import { Portal } from '.'; const meta: Meta = { - title: 'Controls/Portal', + title: 'Data Entry/Portal', decorators: [InSpacingDecorator], args: { disabled: false, diff --git a/packages/sdds-finportal/src/components/Price/Price.stories.tsx b/packages/sdds-finportal/src/components/Price/Price.stories.tsx index 405482fad3..6d2fafb077 100644 --- a/packages/sdds-finportal/src/components/Price/Price.stories.tsx +++ b/packages/sdds-finportal/src/components/Price/Price.stories.tsx @@ -5,7 +5,7 @@ import { disableProps, InSpacingDecorator } from '@salutejs/plasma-sb-utils'; import { Price } from '.'; const meta: Meta = { - title: 'Content/Price', + title: 'Data Display/Price', decorators: [InSpacingDecorator], argTypes: { currency: { diff --git a/packages/sdds-finportal/src/components/Progress/Progress.stories.tsx b/packages/sdds-finportal/src/components/Progress/Progress.stories.tsx index ea50750099..aa57e9bb05 100644 --- a/packages/sdds-finportal/src/components/Progress/Progress.stories.tsx +++ b/packages/sdds-finportal/src/components/Progress/Progress.stories.tsx @@ -7,7 +7,7 @@ import type { ProgressProps } from '.'; const views = ['default', 'secondary', 'primary', 'accent', 'success', 'warning', 'error']; const meta: Meta = { - title: 'Controls/Progress', + title: 'Overlay/Progress', component: Progress, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/Radiobox/Radiobox.stories.tsx b/packages/sdds-finportal/src/components/Radiobox/Radiobox.stories.tsx index f7f2b96de9..9ee41ec3a0 100644 --- a/packages/sdds-finportal/src/components/Radiobox/Radiobox.stories.tsx +++ b/packages/sdds-finportal/src/components/Radiobox/Radiobox.stories.tsx @@ -13,7 +13,7 @@ const sizes = ['m', 's']; const views = ['default', 'secondary', 'tertiary', 'paragraph', 'accent', 'positive', 'warning', 'negative']; const meta: Meta = { - title: 'Controls/Radiobox', + title: 'Data Entry/Radiobox', component: Radiobox, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/Range/Range.config.ts b/packages/sdds-finportal/src/components/Range/Range.config.ts index 4461784fc9..f11cb3779a 100644 --- a/packages/sdds-finportal/src/components/Range/Range.config.ts +++ b/packages/sdds-finportal/src/components/Range/Range.config.ts @@ -21,6 +21,8 @@ export const config = { ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary); ${tokens.textFieldCaretColor}: var(--text-accent); + ${tokens.indicatorColor}: var(--surface-negative); + ${tokens.textFieldBackgroundColorFocus}: var(--surface-transparent-secondary); ${tokens.textFieldBackgroundErrorColor}: var(--surface-transparent-negative); ${tokens.textFieldBackgroundErrorColorFocus}: var(--surface-transparent-negative-active); @@ -45,10 +47,10 @@ export const config = { ${tokens.dividerLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); ${tokens.dividerLineHeight}: var(--plasma-typo-body-l-line-height); - ${tokens.leftContentMargin}: 0 0.375rem 0 1rem; + ${tokens.leftContentMargin}: 0 0 0 1rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.75rem 0; + ${tokens.labelOffset}: 0.75rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-l-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-l-font-style); @@ -57,6 +59,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-l-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.5rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 3.5rem; ${tokens.textFieldBorderRadius}: 0.875rem; ${tokens.textFieldPadding}: 1.0625rem 1.125rem 1.0625rem 1.125rem; @@ -91,10 +100,10 @@ export const config = { ${tokens.dividerLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); ${tokens.dividerLineHeight}: var(--plasma-typo-body-m-line-height); - ${tokens.leftContentMargin}: 0 0.375rem 0 0.875rem; + ${tokens.leftContentMargin}: 0 0 0 0.875rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.625rem 0; + ${tokens.labelOffset}: 0.625rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-m-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-m-font-style); @@ -103,6 +112,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-m-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.375rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 3rem; ${tokens.textFieldBorderRadius}: 0.75rem; ${tokens.textFieldPadding}: 0.875rem 1rem 0.875rem 1rem; @@ -137,10 +153,10 @@ export const config = { ${tokens.dividerLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); ${tokens.dividerLineHeight}: var(--plasma-typo-body-s-line-height); - ${tokens.leftContentMargin}: 0 0.375rem 0 0.75rem; + ${tokens.leftContentMargin}: 0 0 0 0.75rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.5rem 0; + ${tokens.labelOffset}: 0.5rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-s-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-s-font-style); @@ -149,6 +165,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.3125rem auto auto -0.6875rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 2.5rem; ${tokens.textFieldBorderRadius}: 0.625rem; ${tokens.textFieldPadding}: 0.6875rem 0.875rem 0.6875rem 0.875rem; @@ -183,10 +206,10 @@ export const config = { ${tokens.dividerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.dividerLineHeight}: var(--plasma-typo-body-xs-line-height); - ${tokens.leftContentMargin}: 0 0.25rem 0 0.5rem; + ${tokens.leftContentMargin}: 0 0 0 0.5rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.375rem 0; + ${tokens.labelOffset}: 0.375rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-xs-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-xs-font-style); @@ -195,6 +218,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.25rem auto auto -0.625rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.125rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 2rem; ${tokens.textFieldBorderRadius}: 0.5rem; ${tokens.textFieldPadding}: 0.5625rem 0.625rem 0.5625rem 0.625rem; diff --git a/packages/sdds-finportal/src/components/Range/Range.stories.tsx b/packages/sdds-finportal/src/components/Range/Range.stories.tsx index 7d33a99127..11dfd44085 100644 --- a/packages/sdds-finportal/src/components/Range/Range.stories.tsx +++ b/packages/sdds-finportal/src/components/Range/Range.stories.tsx @@ -4,7 +4,7 @@ import { action } from '@storybook/addon-actions'; import { InSpacingDecorator } from '@salutejs/plasma-sb-utils'; import { IconSearch, IconSber, IconArrowRight } from '@salutejs/plasma-icons'; -import { Button } from '../Button/Button'; +import { IconButton } from '../IconButton'; import { Range } from './Range'; @@ -20,9 +20,10 @@ const onBlurSecondTextfield = action('onBlurSecondTextfield'); const sizes = ['l', 'm', 's', 'xs']; const views = ['default']; const dividers = ['none', 'dash', 'icon']; +const requiredPlacements = ['left', 'right']; const meta: Meta = { - title: 'Controls/Range', + title: 'Data Entry/Range', component: Range, decorators: [InSpacingDecorator], argTypes: { @@ -38,6 +39,13 @@ const meta: Meta = { type: 'inline-radio', }, }, + requiredPlacement: { + options: requiredPlacements, + control: { + type: 'select', + }, + if: { arg: 'required', truthy: true }, + }, }, }; @@ -68,9 +76,9 @@ const getSizeForIcon = (size) => { const ActionButton = ({ size }) => { return ( - + ); }; @@ -160,6 +168,8 @@ export const Default: StoryObj = { secondPlaceholder: 'Заполните поле 2', size: 'l', view: 'default', + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, firstTextfieldTextBefore: 'С', @@ -304,6 +314,8 @@ export const Demo: StoryObj = { secondPlaceholder: '5', size: 'l', view: 'default', + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, firstTextfieldTextBefore: '', diff --git a/packages/sdds-finportal/src/components/Segment/Segment.stories.tsx b/packages/sdds-finportal/src/components/Segment/Segment.stories.tsx index f68422b674..2c92d27ff3 100644 --- a/packages/sdds-finportal/src/components/Segment/Segment.stories.tsx +++ b/packages/sdds-finportal/src/components/Segment/Segment.stories.tsx @@ -49,7 +49,7 @@ const getContentRight = (contentRightOption: string, size: Size) => { }; const meta: Meta = { - title: 'Controls/Segment', + title: 'Data Entry/Segment', decorators: [InSpacingDecorator], component: SegmentGroup, argTypes: { diff --git a/packages/sdds-finportal/src/components/Select/Select.config.ts b/packages/sdds-finportal/src/components/Select/Select.config.ts index b56c1e8bd0..287919be63 100644 --- a/packages/sdds-finportal/src/components/Select/Select.config.ts +++ b/packages/sdds-finportal/src/components/Select/Select.config.ts @@ -293,8 +293,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.5rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.75rem; - ${tokens.textFieldChipPaddingRight}: 0.75rem; - ${tokens.textFieldChipPaddingLeft}: 1rem; + ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.5rem; @@ -402,8 +401,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.375rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.25rem; - ${tokens.textFieldChipPaddingRight}: 0.625rem; - ${tokens.textFieldChipPaddingLeft}: 0.875rem; + ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.25rem; @@ -511,8 +509,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.25rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.75rem; - ${tokens.textFieldChipPaddingRight}: 0.5rem; - ${tokens.textFieldChipPaddingLeft}: 0.75rem; + ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1rem; @@ -620,8 +617,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.125rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.25rem; - ${tokens.textFieldChipPaddingRight}: 0.375rem; - ${tokens.textFieldChipPaddingLeft}: 0.625rem; + ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 0.75rem; diff --git a/packages/sdds-finportal/src/components/Select/Select.stories.tsx b/packages/sdds-finportal/src/components/Select/Select.stories.tsx index e9c60bbcea..6a9e1e565c 100644 --- a/packages/sdds-finportal/src/components/Select/Select.stories.tsx +++ b/packages/sdds-finportal/src/components/Select/Select.stories.tsx @@ -19,7 +19,7 @@ const chip = ['default', 'secondary', 'accent']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'Controls/Select', + title: 'Data Entry/Select', decorators: [InSpacingDecorator], component: Select, argTypes: { diff --git a/packages/sdds-finportal/src/components/Sheet/Sheet.stories.tsx b/packages/sdds-finportal/src/components/Sheet/Sheet.stories.tsx index 7ed7f92fca..ef4f4777ae 100644 --- a/packages/sdds-finportal/src/components/Sheet/Sheet.stories.tsx +++ b/packages/sdds-finportal/src/components/Sheet/Sheet.stories.tsx @@ -10,7 +10,7 @@ import { Sheet } from '.'; import type { SheetProps } from '.'; const meta: Meta = { - title: 'Content/Sheet', + title: 'Overlay/Sheet', decorators: [InSpacingDecorator], args: { withBlur: false, diff --git a/packages/sdds-finportal/src/components/Skeleton/Skeleton.stories.tsx b/packages/sdds-finportal/src/components/Skeleton/Skeleton.stories.tsx index 49fc959a1d..ee0f7eae36 100644 --- a/packages/sdds-finportal/src/components/Skeleton/Skeleton.stories.tsx +++ b/packages/sdds-finportal/src/components/Skeleton/Skeleton.stories.tsx @@ -14,7 +14,7 @@ type StoryRectSkeletonProps = ComponentProps; type BasicButtonProps = ComponentProps; const meta: Meta = { - title: 'Content/Skeleton', + title: 'Data Display/Skeleton', decorators: [InSpacingDecorator], }; diff --git a/packages/sdds-finportal/src/components/Slider/Slider.stories.tsx b/packages/sdds-finportal/src/components/Slider/Slider.stories.tsx index 603fc47e9e..09df72268b 100644 --- a/packages/sdds-finportal/src/components/Slider/Slider.stories.tsx +++ b/packages/sdds-finportal/src/components/Slider/Slider.stories.tsx @@ -14,9 +14,10 @@ const sliderAligns = ['center', 'left', 'right', 'none']; const labelPlacements = ['top', 'left']; const scaleAligns = ['side', 'bottom']; const orientations: Array = ['vertical', 'horizontal']; +const visibility = ['always', 'hover']; const meta: Meta = { - title: 'Controls/Slider', + title: 'Data Entry/Slider', component: Slider, decorators: [InSpacingDecorator], argTypes: { @@ -153,11 +154,24 @@ export const Default: StorySingle = { }, if: { arg: 'orientation', eq: 'vertical' }, }, + pointerVisibility: { + options: visibility, + control: { + type: 'inline-radio', + }, + }, + currentValueVisibility: { + options: visibility, + control: { + type: 'inline-radio', + }, + }, }, args: { view: 'default', size: 'm', pointerSize: 'small', + pointerVisibility: 'always', min: 0, max: 100, orientation: 'horizontal', @@ -169,6 +183,7 @@ export const Default: StorySingle = { scaleAlign: 'bottom', showScale: true, showCurrentValue: false, + currentValueVisibility: 'always', showIcon: true, reversed: false, labelReversed: false, diff --git a/packages/sdds-finportal/src/components/Spinner/Spinner.stories.tsx b/packages/sdds-finportal/src/components/Spinner/Spinner.stories.tsx index 123bb2f12d..42d10524a5 100644 --- a/packages/sdds-finportal/src/components/Spinner/Spinner.stories.tsx +++ b/packages/sdds-finportal/src/components/Spinner/Spinner.stories.tsx @@ -9,7 +9,7 @@ import { BodyL } from '../Typography'; import { Spinner } from '.'; const meta: Meta = { - title: 'Content/Spinner', + title: 'Data Display/Spinner', decorators: [InSpacingDecorator], component: Spinner, argTypes: { diff --git a/packages/sdds-finportal/src/components/Steps/Steps.stories.tsx b/packages/sdds-finportal/src/components/Steps/Steps.stories.tsx index 742cb1182e..5a23ae8fcb 100644 --- a/packages/sdds-finportal/src/components/Steps/Steps.stories.tsx +++ b/packages/sdds-finportal/src/components/Steps/Steps.stories.tsx @@ -9,7 +9,7 @@ import { Steps } from './Steps'; import type { StepItemProps } from '.'; const meta: Meta = { - title: 'Controls/Steps', + title: 'Navigation/Steps', decorators: [InSpacingDecorator], component: Steps, }; diff --git a/packages/sdds-finportal/src/components/Switch/Switch.stories.tsx b/packages/sdds-finportal/src/components/Switch/Switch.stories.tsx index 0664ee342d..3c815340fd 100644 --- a/packages/sdds-finportal/src/components/Switch/Switch.stories.tsx +++ b/packages/sdds-finportal/src/components/Switch/Switch.stories.tsx @@ -12,7 +12,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'Controls/Switch', + title: 'Data Entry/Switch', component: Switch, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/Tabs/Tabs.stories.tsx b/packages/sdds-finportal/src/components/Tabs/Tabs.stories.tsx index ba9e7872b1..ee9d3343f2 100644 --- a/packages/sdds-finportal/src/components/Tabs/Tabs.stories.tsx +++ b/packages/sdds-finportal/src/components/Tabs/Tabs.stories.tsx @@ -55,7 +55,7 @@ type HorizontalStoryTabsProps = StoryTabsProps & { width: string }; type VerticalStoryTabsProps = StoryTabsProps & { height: string }; const meta: Meta = { - title: 'Controls/Tabs', + title: 'Navigation/Tabs', component: Tabs, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/TextArea/TextArea.stories.tsx b/packages/sdds-finportal/src/components/TextArea/TextArea.stories.tsx index 5750065035..53619b960b 100644 --- a/packages/sdds-finportal/src/components/TextArea/TextArea.stories.tsx +++ b/packages/sdds-finportal/src/components/TextArea/TextArea.stories.tsx @@ -43,7 +43,7 @@ const placements: Array = [ ]; const meta: Meta = { - title: 'Controls/TextArea', + title: 'Data Entry/TextArea', decorators: [InSpacingDecorator], component: TextArea, argTypes: { diff --git a/packages/sdds-finportal/src/components/TextField/TextField.config.ts b/packages/sdds-finportal/src/components/TextField/TextField.config.ts index 4f7cea945e..2fce7462f0 100644 --- a/packages/sdds-finportal/src/components/TextField/TextField.config.ts +++ b/packages/sdds-finportal/src/components/TextField/TextField.config.ts @@ -238,8 +238,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.75rem; - ${tokens.chipPaddingRight}: 0.75rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 0.75rem 0 1rem; ${tokens.chipClearContentMarginLeft}: 0.625rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.5rem; @@ -315,8 +314,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.25rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.625rem 0 0.875rem; ${tokens.chipClearContentMarginLeft}: 0.5rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.25rem; @@ -392,8 +390,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.25rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.75rem; - ${tokens.chipPaddingRight}: 0.5rem; - ${tokens.chipPaddingLeft}: 0.75rem; + ${tokens.chipPadding}: 0 0.5rem 0 0.75rem; ${tokens.chipClearContentMarginLeft}: 0.375rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1rem; @@ -469,8 +466,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.125rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.25rem; - ${tokens.chipPaddingRight}: 0.375rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.375rem 0 0.625rem; ${tokens.chipClearContentMarginLeft}: 0.25rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 0.75rem; diff --git a/packages/sdds-finportal/src/components/TextField/TextField.stories.tsx b/packages/sdds-finportal/src/components/TextField/TextField.stories.tsx index 4bf3e0fbe8..34628d21b4 100644 --- a/packages/sdds-finportal/src/components/TextField/TextField.stories.tsx +++ b/packages/sdds-finportal/src/components/TextField/TextField.stories.tsx @@ -42,7 +42,7 @@ const placements: Array = [ ]; const meta: Meta = { - title: 'Controls/TextField', + title: 'Data Entry/TextField', component: TextField, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/TextFieldGroup/TextFieldGroup.config.ts b/packages/sdds-finportal/src/components/TextFieldGroup/TextFieldGroup.config.ts index 42668c5d7c..200d2e26ac 100644 --- a/packages/sdds-finportal/src/components/TextFieldGroup/TextFieldGroup.config.ts +++ b/packages/sdds-finportal/src/components/TextFieldGroup/TextFieldGroup.config.ts @@ -51,8 +51,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.75rem; - ${tokens.chipPaddingRight}: 0.75rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 0.75rem 0 1rem; ${tokens.chipClearContentMarginLeft}: 0.625rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.5rem; @@ -108,8 +107,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.25rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.625rem 0 0.875rem; ${tokens.chipClearContentMarginLeft}: 0.5rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1.25rem; @@ -165,8 +163,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.25rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.75rem; - ${tokens.chipPaddingRight}: 0.5rem; - ${tokens.chipPaddingLeft}: 0.75rem; + ${tokens.chipPadding}: 0 0.5rem 0 0.75rem; ${tokens.chipClearContentMarginLeft}: 0.375rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 1rem; @@ -222,8 +219,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.125rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.25rem; - ${tokens.chipPaddingRight}: 0.375rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.375rem 0 0.625rem; ${tokens.chipClearContentMarginLeft}: 0.25rem; ${tokens.chipClearContentMarginRight}: 0rem; ${tokens.chipCloseIconSize}: 0.75rem; diff --git a/packages/sdds-finportal/src/components/TextFieldGroup/TextFieldGroup.stories.tsx b/packages/sdds-finportal/src/components/TextFieldGroup/TextFieldGroup.stories.tsx index 6dc5d7c06e..5f8ec29659 100644 --- a/packages/sdds-finportal/src/components/TextFieldGroup/TextFieldGroup.stories.tsx +++ b/packages/sdds-finportal/src/components/TextFieldGroup/TextFieldGroup.stories.tsx @@ -22,7 +22,7 @@ const shapeValues = ['segmented', 'default']; const stretchingValues = ['auto', 'filled']; const meta: Meta = { - title: 'Controls/TextFieldGroup', + title: 'Data Entry/TextFieldGroup', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-finportal/src/components/Toast/Toast.stories.tsx b/packages/sdds-finportal/src/components/Toast/Toast.stories.tsx index 68d4cfc1cd..d390929024 100644 --- a/packages/sdds-finportal/src/components/Toast/Toast.stories.tsx +++ b/packages/sdds-finportal/src/components/Toast/Toast.stories.tsx @@ -11,7 +11,7 @@ import { ToastController, ToastProvider } from './Toast'; import { Toast, useToast } from '.'; const meta: Meta = { - title: 'Controls/Toast', + title: 'Overlay/Toast', decorators: [InSpacingDecorator], argTypes: { view: { diff --git a/packages/sdds-finportal/src/components/Tokens/Tokens.stories.tsx b/packages/sdds-finportal/src/components/Tokens/Tokens.stories.tsx new file mode 100644 index 0000000000..5af5e0b08c --- /dev/null +++ b/packages/sdds-finportal/src/components/Tokens/Tokens.stories.tsx @@ -0,0 +1,124 @@ +import React from 'react'; +import type { StoryObj, Meta } from '@storybook/react'; +import { sdds_finportal__dark, sdds_finportal__light } from '@salutejs/sdds-themes/es/themes'; +import type { GroupedTokens } from '@salutejs/plasma-sb-utils'; + +import { InSpacingDecorator, getGroupedTokens } from '../../helpers'; +import { Accordion } from '../Accordion'; +import { ShowToastArgs, ToastProvider, useToast } from '../Toast'; + +import { + AccordionInfo, + Category, + CategoryContainer, + ColorCircle, + ColumnTitle, + OpacityPart, + StyledAccordionItem, + Subcategory, + TokenInfo, + TokenInfoWrapper, +} from './Tokens.styles'; + +const meta: Meta = { + title: 'Colors', + decorators: [InSpacingDecorator], +}; + +export default meta; + +const themes: Record = { + 'sdds-finportal:light': getGroupedTokens(sdds_finportal__light[0]), + 'sdds-finportal:dark': getGroupedTokens(sdds_finportal__dark[0]), +}; + +const StoryDemo = ({ context }) => { + const groupedTokens = themes[context.globals.theme]; + const { showToast } = useToast(); + const toastData = { + view: 'default', + size: 'm', + hasClose: true, + fade: false, + position: 'bottom', + offset: 0, + timeout: 3000, + role: 'alert', + } as ShowToastArgs; + + const copyToClipboard = async (value: string, opacity?: string | null) => { + try { + await navigator.clipboard.writeText(value + (opacity || '')); + + showToast({ + ...toastData, + text: 'Скопировано', + }); + } catch (err) { + showToast({ + ...toastData, + text: 'Ошибка при копировании текста', + }); + } + }; + + return ( + <> + {Object.entries(groupedTokens).map(([category, value]) => ( + + {category} + + {Object.entries(value).map(([subcategory, value2], index) => ( + + {subcategory}/ + + + Color + + Opacity + + } + > + + {Object.entries(value2).map(([token, { value: value3, opacity }]) => ( + + copyToClipboard(token)}> + {token} + + copyToClipboard(value3, opacity?.alpha)} + > + +
+ {value3.includes('gradient') ? 'Градиент' : value3} + {opacity && {opacity.alpha}} +
+
+ {opacity && ( + {opacity.parsedAlpha} + )} +
+ ))} +
+
+ ))} +
+
+ ))} + + ); +}; + +export const Default: StoryObj = { + render: (_, context) => ( + + + + ), +}; diff --git a/packages/sdds-finportal/src/components/Tokens/Tokens.styles.ts b/packages/sdds-finportal/src/components/Tokens/Tokens.styles.ts new file mode 100644 index 0000000000..4f1172c7e9 --- /dev/null +++ b/packages/sdds-finportal/src/components/Tokens/Tokens.styles.ts @@ -0,0 +1,130 @@ +import styled from 'styled-components'; + +import { H2 } from '../Typography'; +import { AccordionItem } from '../Accordion'; + +export const CategoryContainer = styled.div` + margin-bottom: 1.875rem; +`; + +export const Category = styled(H2)` + margin: 0 0 1.125rem 1.5rem; +`; + +export const AccordionInfo = styled.div` + display: grid; + grid-template-columns: 18rem 7.938rem 3.813rem; + grid-column-gap: 1.5rem; + + font-family: var(--plasma-typo-body-m-font-family); + font-size: var(--plasma-typo-body-m-font-size); + font-style: var(--plasma-typo-body-m-font-style); + font-weight: var(--plasma-typo-body-m-font-weight); + letter-spacing: var(--plasma-typo-body-m-letter-spacing); + line-height: var(--plasma-typo-body-m-line-height); +`; + +export const Subcategory = styled.div` + color: var(--text-secondary); +`; + +export const ColumnTitle = styled.div` + color: var(--text-tertiary); + transition: opacity 0.2s; + + &.color { + display: flex; + align-items: center; + gap: 0.5rem; + } +`; + +export const StyledAccordionItem = styled(AccordionItem)` + --plasma-accordion-item-padding: 0; + --plasma-accordion-item-padding-vertical: 0; + + border-bottom: unset; + width: max-content; + + div > div > div > svg { + color: var(--text-secondary); + } + + .accordion-item-body { + margin-bottom: 1.125rem; + padding-top: 0.125rem; + transition: margin-bottom 0.2s, padding-top 0.2s; + } + + [aria-expanded] { + margin-bottom: 1rem; + } + + [aria-expanded='false'] { + ${AccordionInfo} ${ColumnTitle} { + opacity: 0; + } + } + + [aria-expanded='false'] + div > .accordion-item-body { + margin: 0; + padding: 0; + } +`; + +export const TokenInfoWrapper = styled.div` + display: flex; + flex-direction: column; + gap: 0.75rem; + margin-top: -0.125rem; +`; + +export const OpacityPart = styled.span` + color: var(--text-secondary); + padding-left: 0.125rem; +`; + +export const TokenInfo = styled.div` + color: var(--text-paragraph); + + cursor: default; + + &.copy { + cursor: copy; + } + + &.color { + display: flex; + align-items: center; + gap: 0.5rem; + } + + &.opacity { + text-align: right; + } + + &:not(.opacity):hover { + color: var(--text-paragraph-hover); + + ${OpacityPart} { + color: var(--text-paragraph-hover); + } + } + + &:not(.opacity):active { + color: var(--text-paragraph-active); + + ${OpacityPart} { + color: var(--text-secondary-active); + } + } +`; + +export const ColorCircle = styled.div<{ background?: string; disableShadow?: boolean }>` + width: 1.25rem; + height: 1.25rem; + border-radius: 50%; + + background: ${(props) => props.background}; + box-shadow: ${(props) => (props.disableShadow ? 'none' : 'inset 0px 0px 0px 1px rgba(8, 8, 8, 0.12)')}; +`; diff --git a/packages/sdds-finportal/src/components/Toolbar/Toolbar.stories.tsx b/packages/sdds-finportal/src/components/Toolbar/Toolbar.stories.tsx index 5834d26988..05725e822f 100644 --- a/packages/sdds-finportal/src/components/Toolbar/Toolbar.stories.tsx +++ b/packages/sdds-finportal/src/components/Toolbar/Toolbar.stories.tsx @@ -25,7 +25,7 @@ const ToolbarWrapper = (props: ComponentProps) => { }; const meta: Meta = { - title: 'Controls/Toolbar', + title: 'Overlay/Toolbar', component: ToolbarWrapper, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-finportal/src/components/Tooltip/Tooltip.stories.tsx b/packages/sdds-finportal/src/components/Tooltip/Tooltip.stories.tsx index 6f112f21f6..81fb1fa827 100644 --- a/packages/sdds-finportal/src/components/Tooltip/Tooltip.stories.tsx +++ b/packages/sdds-finportal/src/components/Tooltip/Tooltip.stories.tsx @@ -29,8 +29,24 @@ const placements: Array = [ 'auto', ]; +const disabledProps = [ + 'target', + 'children', + 'text', + 'opened', + 'isOpen', + 'isVisible', + 'offset', + 'frame', + 'view', + 'zIndex', + 'minWidth', + 'maxWidth', + 'contentLeft', + 'onDismiss', +]; const meta: Meta = { - title: 'Controls/Tooltip', + title: 'Overlay/Tooltip', decorators: [InSpacingDecorator], component: Tooltip, }; @@ -78,28 +94,15 @@ export const Default: StoryObj = { type: 'select', }, }, - ...disableProps([ - 'target', - 'children', - 'text', - 'opened', - 'isOpen', - 'isVisible', - 'placement', - 'offset', - 'frame', - 'view', - 'zIndex', - 'minWidth', - 'maxWidth', - 'contentLeft', - 'onDismiss', - ]), + ...disableProps([...disabledProps, 'placement']), }, args: { - size: 'm', + maxWidth: 10, + minWidth: 3, hasArrow: true, usePortal: false, + animated: true, + size: 'm', }, render: (args) => , }; @@ -145,20 +148,7 @@ export const Live: StoryObj = { type: 'select', }, }, - ...disableProps([ - 'target', - 'children', - 'text', - 'opened', - 'isOpen', - 'isVisible', - 'offset', - 'frame', - 'view', - 'zIndex', - 'contentLeft', - 'onDismiss', - ]), + ...disableProps(disabledProps), }, args: { placement: 'bottom', diff --git a/packages/sdds-finportal/src/components/Typography/Typography.stories.tsx b/packages/sdds-finportal/src/components/Typography/Typography.stories.tsx index e50708df84..944dcfabc6 100644 --- a/packages/sdds-finportal/src/components/Typography/Typography.stories.tsx +++ b/packages/sdds-finportal/src/components/Typography/Typography.stories.tsx @@ -23,7 +23,7 @@ import { } from '.'; const meta: Meta = { - title: 'Content/Typography', + title: 'Data Display/Typography', component: DsplL, argTypes: { ...disableProps(['size']), diff --git a/packages/sdds-finportal/src/components/ViewContainer/ViewContainer.stories.tsx b/packages/sdds-finportal/src/components/ViewContainer/ViewContainer.stories.tsx index b522a24028..2b97225fd8 100644 --- a/packages/sdds-finportal/src/components/ViewContainer/ViewContainer.stories.tsx +++ b/packages/sdds-finportal/src/components/ViewContainer/ViewContainer.stories.tsx @@ -11,7 +11,7 @@ import { ViewContainer } from './ViewContainer'; type StoryViewProps = ComponentProps; const meta: Meta = { - title: 'Layout/ViewContainer', + title: 'Data Display/ViewContainer', decorators: [InSpacingDecorator], }; diff --git a/packages/sdds-finportal/src/helpers/index.ts b/packages/sdds-finportal/src/helpers/index.ts index 21030ca6b5..9e8bb696cd 100644 --- a/packages/sdds-finportal/src/helpers/index.ts +++ b/packages/sdds-finportal/src/helpers/index.ts @@ -1 +1 @@ -export { IconPlaceholder, InSpacingDecorator, disableProps } from '@salutejs/plasma-sb-utils'; +export { IconPlaceholder, InSpacingDecorator, disableProps, getGroupedTokens } from '@salutejs/plasma-sb-utils'; diff --git a/packages/sdds-insol/.storybook/preview.tsx b/packages/sdds-insol/.storybook/preview.tsx index fdd1dec546..181d059837 100644 --- a/packages/sdds-insol/.storybook/preview.tsx +++ b/packages/sdds-insol/.storybook/preview.tsx @@ -46,7 +46,7 @@ const preview: Preview = { options: { storySort: { method: 'alphabetical', - order: ['About', 'Intro', 'Colors', 'Typography', 'Controls', 'Hooks'], + order: ['About', 'Layout', '*', 'Hooks'], }, }, viewport: { diff --git a/packages/sdds-insol/api/sdds-insol.api.md b/packages/sdds-insol/api/sdds-insol.api.md index 342aad2675..a9c057f4f0 100644 --- a/packages/sdds-insol/api/sdds-insol.api.md +++ b/packages/sdds-insol/api/sdds-insol.api.md @@ -174,6 +174,8 @@ import { RadioGroup } from '@salutejs/plasma-new-hope/styled-components'; import { RangeInputRefs } from '@salutejs/plasma-new-hope/styled-components'; import { RangeProps } from '@salutejs/plasma-new-hope/styled-components'; import { rangeTokens } from '@salutejs/plasma-new-hope/styled-components'; +import { ratingClasses } from '@salutejs/plasma-new-hope/styled-components'; +import { ratingTokens } from '@salutejs/plasma-new-hope/styled-components'; import { Ratio } from '@salutejs/plasma-new-hope/styled-components'; import { default as React_2 } from 'react'; import { ReactElement } from 'react'; @@ -519,7 +521,7 @@ true: PolymorphicClassName; }; }> & ((BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -530,7 +532,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -547,9 +549,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -560,7 +562,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -579,9 +581,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -609,9 +611,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -641,9 +643,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -654,7 +656,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -671,9 +673,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -684,7 +686,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -703,9 +705,9 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -733,9 +735,9 @@ onSearch?: ((value: string, event?: KeyboardEvent_2 | undefine chipType?: undefined; chipView?: undefined; chipValidator?: undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes) | (BaseProps & Omit<{ titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -765,7 +767,7 @@ chipView?: string | undefined; chipValidator?: ((value: string) => { view?: string | undefined; }) | undefined; -}, "required" | "labelPlacement" | "requiredPlacement" | "optional" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes))>; +}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit, "size" | "required"> & RefAttributes))>; // @public (undocumented) export const Avatar: FunctionComponent & DatePickerVariationProps & { +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; defaultDate?: Date | undefined; placeholder?: string | undefined; name?: string | undefined; @@ -1444,6 +1448,8 @@ readOnly: { true: PolymorphicClassName; }; }> & DatePickerVariationProps & { +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; defaultFirstDate?: Date | undefined; defaultSecondDate?: Date | undefined; name?: string | undefined; @@ -1463,10 +1469,12 @@ view?: string | undefined; disabled?: boolean | undefined; autoComplete?: string | undefined; readOnly?: boolean | undefined; +required?: boolean | undefined; size?: string | undefined; contentLeft?: ReactNode; contentRight?: ReactNode; leftHelper?: string | undefined; +requiredPlacement?: "right" | "left" | undefined; dividerVariant?: "none" | "dash" | "icon" | undefined; dividerIcon?: ReactNode; firstValueError?: boolean | undefined; @@ -1602,6 +1610,7 @@ default: PolymorphicClassName; variant?: "normal" | "tight" | undefined; portal?: string | React_2.RefObject | undefined; renderItem?: ((item: DropdownItemOption) => React_2.ReactNode) | undefined; + zIndex?: Property.ZIndex | undefined; onItemClick?: ((item: DropdownItemOption, event: React_2.SyntheticEvent) => void) | undefined; listOverflow?: Property.Overflow | undefined; listHeight?: Property.Height | undefined; @@ -1951,6 +1960,7 @@ warning: PolymorphicClassName; negative: PolymorphicClassName; }; size: { +xl: PolymorphicClassName; l: PolymorphicClassName; m: PolymorphicClassName; s: PolymorphicClassName; @@ -1991,7 +2001,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2002,7 +2012,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -2027,6 +2037,7 @@ warning: PolymorphicClassName; negative: PolymorphicClassName; }; size: { +xl: PolymorphicClassName; l: PolymorphicClassName; m: PolymorphicClassName; s: PolymorphicClassName; @@ -2067,7 +2078,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2078,7 +2089,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -2105,6 +2116,7 @@ warning: PolymorphicClassName; negative: PolymorphicClassName; }; size: { +xl: PolymorphicClassName; l: PolymorphicClassName; m: PolymorphicClassName; s: PolymorphicClassName; @@ -2145,7 +2157,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2181,6 +2193,7 @@ warning: PolymorphicClassName; negative: PolymorphicClassName; }; size: { +xl: PolymorphicClassName; l: PolymorphicClassName; m: PolymorphicClassName; s: PolymorphicClassName; @@ -2221,7 +2234,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2259,6 +2272,7 @@ warning: PolymorphicClassName; negative: PolymorphicClassName; }; size: { +xl: PolymorphicClassName; l: PolymorphicClassName; m: PolymorphicClassName; s: PolymorphicClassName; @@ -2299,7 +2313,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2310,7 +2324,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -2335,6 +2349,7 @@ warning: PolymorphicClassName; negative: PolymorphicClassName; }; size: { +xl: PolymorphicClassName; l: PolymorphicClassName; m: PolymorphicClassName; s: PolymorphicClassName; @@ -2375,7 +2390,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2386,7 +2401,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -2413,6 +2428,7 @@ warning: PolymorphicClassName; negative: PolymorphicClassName; }; size: { +xl: PolymorphicClassName; l: PolymorphicClassName; m: PolymorphicClassName; s: PolymorphicClassName; @@ -2453,7 +2469,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2489,6 +2505,7 @@ warning: PolymorphicClassName; negative: PolymorphicClassName; }; size: { +xl: PolymorphicClassName; l: PolymorphicClassName; m: PolymorphicClassName; s: PolymorphicClassName; @@ -2529,7 +2546,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -2830,6 +2847,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -2867,6 +2886,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -2904,6 +2925,8 @@ view?: string | undefined; size?: string | undefined; readOnly?: boolean | undefined; disabled?: boolean | undefined; +requiredPlacement?: "right" | "left" | undefined; +required?: boolean | undefined; onChangeFirstValue?: BaseCallbackChangeInstance | undefined; onChangeSecondValue?: BaseCallbackChangeInstance | undefined; onSearchFirstValue?: BaseCallbackKeyboardInstance | undefined; @@ -2924,6 +2947,47 @@ export { RangeProps } export { rangeTokens } +// @public (undocumented) +export const Rating: FunctionComponent & { +value?: number | null | undefined; +hasValue?: boolean | undefined; +precision?: number | undefined; +valuePlacement?: "before" | "after" | undefined; +iconSlot?: ReactNode; +iconSlotOutline?: ReactNode; +iconSlotHalf?: ReactNode; +hasIcons?: boolean | undefined; +iconQuantity?: 1 | 5 | 10 | undefined; +helperText?: string | undefined; +helperTextStretching?: "filled" | "fixed" | undefined; +size?: string | undefined; +view?: string | undefined; +} & HTMLAttributes & RefAttributes>; + +export { ratingClasses } + +export { ratingTokens } + export { Ratio } export { RectSkeleton } @@ -3066,6 +3130,8 @@ view?: string | undefined; size?: "s" | "m" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "hover" | "always"; +currentValueVisibility: "hover" | "always"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((event: FormTypeNumber) => void) | undefined; name: string; @@ -3094,6 +3160,8 @@ view?: string | undefined; size?: "s" | "m" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "hover" | "always"; +currentValueVisibility: "hover" | "always"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((value: number) => void) | undefined; value: number; @@ -3123,6 +3191,8 @@ view?: string | undefined; size?: "s" | "m" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "hover" | "always"; +currentValueVisibility: "hover" | "always"; } & RefAttributes) | (SliderBaseProps & SliderInternalProps & { onChange?: ((value: number) => void) | undefined; value: number; @@ -3151,6 +3221,8 @@ view?: string | undefined; size?: "s" | "m" | "l" | undefined; type?: "single" | undefined; pointerSize?: "none" | "small" | "large" | undefined; +pointerVisibility: "hover" | "always"; +currentValueVisibility: "hover" | "always"; } & RefAttributes) | (Omit & { onChange?: ((event: FormTypeString) => void) | undefined; name?: string | undefined; @@ -3278,6 +3350,7 @@ xs: PolymorphicClassName; s: PolymorphicClassName; m: PolymorphicClassName; l: PolymorphicClassName; +xl: PolymorphicClassName; }; view: { default: PolymorphicClassName; @@ -3308,7 +3381,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3317,7 +3390,7 @@ requiredPlacement?: "right" | "left" | undefined; optional?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintOpened?: boolean | undefined; hintView?: string | undefined; hintSize?: string | undefined; @@ -3351,7 +3424,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3360,7 +3433,7 @@ requiredPlacement?: "right" | "left" | undefined; optional?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintOpened?: boolean | undefined; hintView?: string | undefined; hintSize?: string | undefined; @@ -3394,7 +3467,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3403,7 +3476,7 @@ requiredPlacement?: "right" | "left" | undefined; optional?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintOpened?: boolean | undefined; hintView?: string | undefined; hintSize?: string | undefined; @@ -3437,7 +3510,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3446,7 +3519,7 @@ requiredPlacement?: "right" | "left" | undefined; optional?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintOpened?: boolean | undefined; hintView?: string | undefined; hintSize?: string | undefined; @@ -3480,7 +3553,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3523,7 +3596,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3566,7 +3639,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3609,7 +3682,7 @@ titleCaption?: ReactNode; contentRight?: ReactElement> | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | undefined; helperText?: string | undefined; -leftHelper?: string | undefined; +leftHelper?: ReactNode; rightHelper?: string | undefined; leftHelperPlacement?: "outer" | "inner" | undefined; } & { @@ -3655,6 +3728,7 @@ warning: PolymorphicClassName; negative: PolymorphicClassName; }; size: { +xl: PolymorphicClassName; l: PolymorphicClassName; m: PolymorphicClassName; s: PolymorphicClassName; @@ -3695,7 +3769,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3706,7 +3780,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -3730,7 +3804,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3741,7 +3815,7 @@ clear?: boolean | undefined; hasDivider?: boolean | undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -3767,7 +3841,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3802,7 +3876,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3839,7 +3913,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3850,7 +3924,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -3874,7 +3948,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3885,7 +3959,7 @@ clear?: false | undefined; hasDivider?: undefined; } & { hintText: string; -hintTrigger?: "hover" | "click" | undefined; +hintTrigger?: "click" | "hover" | undefined; hintView?: string | undefined; hintSize?: string | undefined; hintTargetIcon?: ReactNode; @@ -3911,7 +3985,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; @@ -3946,7 +4020,7 @@ readOnly?: boolean | undefined; disabled?: boolean | undefined; } & { titleCaption?: ReactNode; -leftHelper?: string | undefined; +leftHelper?: ReactNode; contentLeft?: ReactElement> | undefined; contentRight?: ReactElement> | undefined; textBefore?: string | undefined; diff --git a/packages/sdds-insol/package-lock.json b/packages/sdds-insol/package-lock.json index 7206ce43d9..675c1d59b7 100644 --- a/packages/sdds-insol/package-lock.json +++ b/packages/sdds-insol/package-lock.json @@ -1,15 +1,15 @@ { "name": "@salutejs/sdds-insol", - "version": "0.181.0", + "version": "0.195.1-dev.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@salutejs/sdds-insol", - "version": "0.181.0", + "version": "0.195.1-dev.0", "license": "MIT", "dependencies": { - "@salutejs/plasma-new-hope": "0.205.0", + "@salutejs/plasma-new-hope": "0.219.1-dev.0", "@salutejs/sdds-themes": "0.27.0" }, "devDependencies": { @@ -33,10 +33,10 @@ "@rollup/plugin-commonjs": "^25.0.4", "@rollup/plugin-node-resolve": "^15.1.0", "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-core": "1.188.0-dev.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", "@storybook/addons": "7.6.17", @@ -6183,9 +6183,9 @@ "dev": true }, "node_modules/@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "dependencies": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -6215,9 +6215,9 @@ } }, "node_modules/@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true, "peerDependencies": { "react": ">=16.13.1", @@ -6237,9 +6237,9 @@ } }, "node_modules/@salutejs/plasma-new-hope": { - "version": "0.205.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.205.0.tgz", - "integrity": "sha512-ofUcrUdy9DQ7WVbfEgVkGKpyMX7yDdLPdYH3KBOq91kH7PTMnn4qn1fIN+rkAb3OgJQv8uy0XCUccgaap/NlKw==", + "version": "0.219.1-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.219.1-dev.0.tgz", + "integrity": "sha512-mvDRqa0OcBfTsAr2/rk4AsPFW7GGQwUCGdK9w+amKNwNN5BfcU6y7PE8OzzeVEYHLdNHbPe6FwtNswGjb7l2zQ==", "dependencies": { "@floating-ui/dom": "1.6.10", "@floating-ui/react": "0.26.22", @@ -6248,7 +6248,7 @@ "@linaria/react": "5.0.3", "@popperjs/core": "2.11.8", "@salutejs/input-core": "2.1.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/react-maskinput": "3.2.6", "classnames": "2.5.1", "dayjs": "1.11.11", @@ -6287,13 +6287,13 @@ } }, "node_modules/@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "dependencies": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" }, "peerDependencies": { @@ -23748,9 +23748,9 @@ "dev": true }, "@salutejs/plasma-core": { - "version": "1.187.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.187.0.tgz", - "integrity": "sha512-OFuYprsJdHaH53K/GejWQ7HWcpVc1JNP84kvBgdX46WwEZIPbqssMy/Tpksjk4np5b9vIZuX75oRdAGoy4jTnw==", + "version": "1.188.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-core/-/plasma-core-1.188.0-dev.0.tgz", + "integrity": "sha512-LRQpD2gPsXTwKflaOdqr334HBQ060kYPwbuX2G7E9EhZBGbxRSDXZOzq3sDNeVf0eehaPFFBQPSb1SkSQ32lPA==", "requires": { "@popperjs/core": "2.9.2", "@salutejs/plasma-typo": "0.40.0", @@ -23772,9 +23772,9 @@ } }, "@salutejs/plasma-cy-utils": { - "version": "0.118.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.118.0.tgz", - "integrity": "sha512-w/fjpLdwlP8R6N46ZQgEeVoo8I9X2Yo/dhOHKZMfAcJGvsoM8nY5WxGQ+CdEGYNNGWQ+uh6FIbFxRDG43H2ovw==", + "version": "0.119.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-cy-utils/-/plasma-cy-utils-0.119.0-dev.0.tgz", + "integrity": "sha512-GqugUsy/z0D/eJt3Uh9JKTS1F8dDqwHnSyL7STEYFl0JNKqo1k8cVdjDZYGjnWOZg+4yMHukvAqO6e7rjq16ag==", "dev": true }, "@salutejs/plasma-icons": { @@ -23784,9 +23784,9 @@ "dev": true }, "@salutejs/plasma-new-hope": { - "version": "0.205.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.205.0.tgz", - "integrity": "sha512-ofUcrUdy9DQ7WVbfEgVkGKpyMX7yDdLPdYH3KBOq91kH7PTMnn4qn1fIN+rkAb3OgJQv8uy0XCUccgaap/NlKw==", + "version": "0.219.1-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-new-hope/-/plasma-new-hope-0.219.1-dev.0.tgz", + "integrity": "sha512-mvDRqa0OcBfTsAr2/rk4AsPFW7GGQwUCGdK9w+amKNwNN5BfcU6y7PE8OzzeVEYHLdNHbPe6FwtNswGjb7l2zQ==", "requires": { "@floating-ui/dom": "1.6.10", "@floating-ui/react": "0.26.22", @@ -23795,7 +23795,7 @@ "@linaria/react": "5.0.3", "@popperjs/core": "2.11.8", "@salutejs/input-core": "2.1.2", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "@salutejs/react-maskinput": "3.2.6", "classnames": "2.5.1", "dayjs": "1.11.11", @@ -23823,13 +23823,13 @@ } }, "@salutejs/plasma-sb-utils": { - "version": "0.185.0", - "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.185.0.tgz", - "integrity": "sha512-Cttw3szzZLFtHMkhsz7FKwp0ruyj+gE70LVBlWMpfzMDCioiNki2Uv+kuH3LPiGX1Dawg7GTVeX+vcS+5mOq9g==", + "version": "0.187.0-dev.0", + "resolved": "https://registry.npmjs.org/@salutejs/plasma-sb-utils/-/plasma-sb-utils-0.187.0-dev.0.tgz", + "integrity": "sha512-tzxyvdx1rFT3OQ17QWhbeZdWyapTlOFooYCrY2wSMHkYGhqsSSZRVbJLkCOxr4PsGrkIhjALP6TRjcXujFYz5Q==", "dev": true, "requires": { "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", + "@salutejs/plasma-core": "1.188.0-dev.0", "param-case": "^3.0.4" } }, diff --git a/packages/sdds-insol/package.json b/packages/sdds-insol/package.json index dda51213e1..10284877ef 100644 --- a/packages/sdds-insol/package.json +++ b/packages/sdds-insol/package.json @@ -1,6 +1,6 @@ { "name": "@salutejs/sdds-insol", - "version": "0.181.0", + "version": "0.195.1-dev.0", "description": "Salute Design System / React UI kit for SDDS INSOL web applications", "author": "Salute Frontend Team ", "license": "MIT", @@ -31,7 +31,7 @@ "directory": "packages/sdds-insol" }, "dependencies": { - "@salutejs/plasma-new-hope": "0.205.0", + "@salutejs/plasma-new-hope": "0.219.1-dev.0", "@salutejs/sdds-themes": "0.27.0" }, "peerDependencies": { @@ -62,10 +62,10 @@ "@rollup/plugin-commonjs": "^25.0.4", "@rollup/plugin-node-resolve": "^15.1.0", "@salutejs/plasma-colors": "0.13.0", - "@salutejs/plasma-core": "1.187.0", - "@salutejs/plasma-cy-utils": "0.118.0", + "@salutejs/plasma-core": "1.188.0-dev.0", + "@salutejs/plasma-cy-utils": "0.119.0-dev.0", "@salutejs/plasma-icons": "1.209.0", - "@salutejs/plasma-sb-utils": "0.185.0", + "@salutejs/plasma-sb-utils": "0.187.0-dev.0", "@storybook/addon-docs": "7.6.17", "@storybook/addon-essentials": "7.6.17", "@storybook/addons": "7.6.17", @@ -135,4 +135,4 @@ "sideEffects": [ "*.css" ] -} +} \ No newline at end of file diff --git a/packages/sdds-insol/src/components/Accordion/Accordion.stories.tsx b/packages/sdds-insol/src/components/Accordion/Accordion.stories.tsx index cfe0226e4e..030b1736d6 100644 --- a/packages/sdds-insol/src/components/Accordion/Accordion.stories.tsx +++ b/packages/sdds-insol/src/components/Accordion/Accordion.stories.tsx @@ -24,7 +24,7 @@ type AccordionItemCustomProps = { type AccordionProps = ComponentProps & AccordionItemCustomProps; const meta: Meta = { - title: 'Content/Accordion', + title: 'Data Display/Accordion', decorators: [InSpacingDecorator], component: Accordion, args: { diff --git a/packages/sdds-insol/src/components/Attach/Attach.stories.tsx b/packages/sdds-insol/src/components/Attach/Attach.stories.tsx index 59dcf4921d..a214d0ada2 100644 --- a/packages/sdds-insol/src/components/Attach/Attach.stories.tsx +++ b/packages/sdds-insol/src/components/Attach/Attach.stories.tsx @@ -32,7 +32,7 @@ type StoryAttachProps = ComponentProps & { }; const meta: Meta = { - title: 'Controls/Attach', + title: 'Data Entry/Attach', decorators: [InSpacingDecorator], component: Attach, argTypes: { diff --git a/packages/sdds-insol/src/components/Autocomplete/Autocomplete.stories.tsx b/packages/sdds-insol/src/components/Autocomplete/Autocomplete.stories.tsx index 99ad7c5bed..ef1a2fddc7 100644 --- a/packages/sdds-insol/src/components/Autocomplete/Autocomplete.stories.tsx +++ b/packages/sdds-insol/src/components/Autocomplete/Autocomplete.stories.tsx @@ -69,7 +69,7 @@ type StoryProps = ComponentProps & { }; const meta: Meta = { - title: 'Controls/Autocomplete', + title: 'Data Entry/Autocomplete', decorators: [InSpacingDecorator], component: Autocomplete, argTypes: { diff --git a/packages/sdds-insol/src/components/Avatar/Avatar.stories.tsx b/packages/sdds-insol/src/components/Avatar/Avatar.stories.tsx index 05eebfafba..b9f244540e 100644 --- a/packages/sdds-insol/src/components/Avatar/Avatar.stories.tsx +++ b/packages/sdds-insol/src/components/Avatar/Avatar.stories.tsx @@ -5,7 +5,7 @@ import { disableProps, InSpacingDecorator } from '@salutejs/plasma-sb-utils'; import { Avatar } from './Avatar'; const meta: Meta = { - title: 'Content/Avatar', + title: 'Data Display/Avatar', component: Avatar, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/AvatarGroup/AvatarGroup.stories.tsx b/packages/sdds-insol/src/components/AvatarGroup/AvatarGroup.stories.tsx index b1b277fcf8..1c6053ca13 100644 --- a/packages/sdds-insol/src/components/AvatarGroup/AvatarGroup.stories.tsx +++ b/packages/sdds-insol/src/components/AvatarGroup/AvatarGroup.stories.tsx @@ -10,7 +10,7 @@ import { AvatarGroup } from './AvatarGroup'; type Story = StoryObj>; const meta: Meta = { - title: 'Content/AvatarGroup', + title: 'Data Display/AvatarGroup', component: AvatarGroup, decorators: [InSpacingDecorator], }; diff --git a/packages/sdds-insol/src/components/Badge/Badge.stories.tsx b/packages/sdds-insol/src/components/Badge/Badge.stories.tsx index a83663bcb2..b50a61036c 100644 --- a/packages/sdds-insol/src/components/Badge/Badge.stories.tsx +++ b/packages/sdds-insol/src/components/Badge/Badge.stories.tsx @@ -5,7 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react'; import { Badge } from './Badge'; const meta: Meta = { - title: 'Content/Badge', + title: 'Data Display/Badge', component: Badge, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/Breadcrumbs/Breadcrumbs.stories.tsx b/packages/sdds-insol/src/components/Breadcrumbs/Breadcrumbs.stories.tsx index fc37695200..56e9174e07 100644 --- a/packages/sdds-insol/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +++ b/packages/sdds-insol/src/components/Breadcrumbs/Breadcrumbs.stories.tsx @@ -10,7 +10,7 @@ import { Breadcrumbs } from '.'; type BreadcrumbsProps = ComponentProps; const meta: Meta = { - title: 'Content/Breadcrumbs', + title: 'Navigation/Breadcrumbs', component: Breadcrumbs, decorators: [InSpacingDecorator], args: { diff --git a/packages/sdds-insol/src/components/Button/Button.stories.tsx b/packages/sdds-insol/src/components/Button/Button.stories.tsx index 7eb2c24420..2499a0a596 100644 --- a/packages/sdds-insol/src/components/Button/Button.stories.tsx +++ b/packages/sdds-insol/src/components/Button/Button.stories.tsx @@ -32,7 +32,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'Controls/Button', + title: 'Data Entry/Button', decorators: [InSpacingDecorator], component: Button, args: { diff --git a/packages/sdds-insol/src/components/ButtonGroup/ButtonGroup.stories.tsx b/packages/sdds-insol/src/components/ButtonGroup/ButtonGroup.stories.tsx index f75cc2303d..f4b37607d2 100644 --- a/packages/sdds-insol/src/components/ButtonGroup/ButtonGroup.stories.tsx +++ b/packages/sdds-insol/src/components/ButtonGroup/ButtonGroup.stories.tsx @@ -18,7 +18,7 @@ const shapeValues = ['segmented', 'default']; const stretchingValues = ['auto', 'filled']; const meta: Meta = { - title: 'Controls/ButtonGroup', + title: 'Data Entry/ButtonGroup', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-insol/src/components/Calendar/Calendar.stories.tsx b/packages/sdds-insol/src/components/Calendar/Calendar.stories.tsx index f0cbca9594..1426c8686a 100644 --- a/packages/sdds-insol/src/components/Calendar/Calendar.stories.tsx +++ b/packages/sdds-insol/src/components/Calendar/Calendar.stories.tsx @@ -12,7 +12,7 @@ import { Calendar, CalendarBase, CalendarBaseRange, CalendarDouble, CalendarDoub const onChangeValue = action('onChangeValue'); const meta: Meta = { - title: 'Controls/Calendar', + title: 'Data Entry/Calendar', decorators: [InSpacingDecorator], component: Calendar, argTypes: { diff --git a/packages/sdds-insol/src/components/Cell/Cell.stories.tsx b/packages/sdds-insol/src/components/Cell/Cell.stories.tsx index e49fe23160..6ebe94baf9 100644 --- a/packages/sdds-insol/src/components/Cell/Cell.stories.tsx +++ b/packages/sdds-insol/src/components/Cell/Cell.stories.tsx @@ -37,7 +37,7 @@ const ChevronRight = styled(IconChevronRight)` `; const meta: Meta = { - title: 'Content/Cell', + title: 'Data Display/Cell', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-insol/src/components/Checkbox/Checkbox.stories.tsx b/packages/sdds-insol/src/components/Checkbox/Checkbox.stories.tsx index 9d0f6563e2..f3b8f2ba57 100644 --- a/packages/sdds-insol/src/components/Checkbox/Checkbox.stories.tsx +++ b/packages/sdds-insol/src/components/Checkbox/Checkbox.stories.tsx @@ -34,7 +34,7 @@ const propsToDisable = [ ]; const meta: Meta = { - title: 'Controls/Checkbox', + title: 'Data Entry/Checkbox', component: Checkbox, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/Chip/Chip.config.tsx b/packages/sdds-insol/src/components/Chip/Chip.config.tsx index 7880301c4e..b3fe5a1aa2 100644 --- a/packages/sdds-insol/src/components/Chip/Chip.config.tsx +++ b/packages/sdds-insol/src/components/Chip/Chip.config.tsx @@ -87,8 +87,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1.5rem; ${chipTokens.width}: auto; ${chipTokens.height}: 3rem; - ${chipTokens.paddingRight}: 1rem; - ${chipTokens.paddingLeft}: 1rem; + ${chipTokens.padding}: 0 1rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-l-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-l-font-size); @@ -112,8 +111,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1.25rem; ${chipTokens.width}: auto; ${chipTokens.height}: 2.5rem; - ${chipTokens.paddingRight}: 0.875rem; - ${chipTokens.paddingLeft}: 0.875rem; + ${chipTokens.padding}: 0 0.875rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-m-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-m-font-size); @@ -137,8 +135,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 1rem; ${chipTokens.width}: auto; ${chipTokens.height}: 2rem; - ${chipTokens.paddingRight}: 0.875rem; - ${chipTokens.paddingLeft}: 0.875rem; + ${chipTokens.padding}: 0 0.875rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-s-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-s-font-size); @@ -162,8 +159,7 @@ export const config = { ${chipTokens.pilledBorderRadius}: 0.75rem; ${chipTokens.width}: auto; ${chipTokens.height}: 1.5rem; - ${chipTokens.paddingRight}: 0.625rem; - ${chipTokens.paddingLeft}: 0.625rem; + ${chipTokens.padding}: 0 0.625rem; ${chipTokens.fontFamily}: var(--plasma-typo-body-xs-font-family); ${chipTokens.fontSize}: var(--plasma-typo-body-xs-font-size); diff --git a/packages/sdds-insol/src/components/Chip/Chip.stories.tsx b/packages/sdds-insol/src/components/Chip/Chip.stories.tsx index 527de87f31..06b362ba6c 100644 --- a/packages/sdds-insol/src/components/Chip/Chip.stories.tsx +++ b/packages/sdds-insol/src/components/Chip/Chip.stories.tsx @@ -11,7 +11,7 @@ const sizes = ['l', 'm', 's', 'xs']; const onClear = action('onClear'); const meta: Meta = { - title: 'Controls/Chip', + title: 'Data Display/Chip', component: Chip, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/ChipGroup/ChipGroup.config.ts b/packages/sdds-insol/src/components/ChipGroup/ChipGroup.config.ts index f42fea7cb0..900181d986 100644 --- a/packages/sdds-insol/src/components/ChipGroup/ChipGroup.config.ts +++ b/packages/sdds-insol/src/components/ChipGroup/ChipGroup.config.ts @@ -37,8 +37,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.75rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 3rem; - ${tokens.chipPaddingRight}: 1rem; - ${tokens.chipPaddingLeft}: 1rem; + ${tokens.chipPadding}: 0 1rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-l-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-l-font-size); @@ -61,8 +60,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.625rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2.5rem; - ${tokens.chipPaddingRight}: 0.875rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.875rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-m-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-m-font-size); @@ -85,8 +83,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.5rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 2rem; - ${tokens.chipPaddingRight}: 0.875rem; - ${tokens.chipPaddingLeft}: 0.875rem; + ${tokens.chipPadding}: 0 0.875rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-s-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-s-font-size); @@ -109,8 +106,7 @@ export const config = { ${tokens.chipBorderRadius}: 0.375rem; ${tokens.chipWidth}: auto; ${tokens.chipHeight}: 1.5rem; - ${tokens.chipPaddingRight}: 0.625rem; - ${tokens.chipPaddingLeft}: 0.625rem; + ${tokens.chipPadding}: 0 0.625rem; ${tokens.chipFontFamily}: var(--plasma-typo-body-xs-font-family); ${tokens.chipFontSize}: var(--plasma-typo-body-xs-font-size); diff --git a/packages/sdds-insol/src/components/ChipGroup/ChipGroup.stories.tsx b/packages/sdds-insol/src/components/ChipGroup/ChipGroup.stories.tsx index 822c9af359..2aadccfef5 100644 --- a/packages/sdds-insol/src/components/ChipGroup/ChipGroup.stories.tsx +++ b/packages/sdds-insol/src/components/ChipGroup/ChipGroup.stories.tsx @@ -15,7 +15,7 @@ const sizes = ['l', 'm', 's', 'xs']; const gapValues = ['dense', 'wide']; const meta: Meta = { - title: 'Controls/ChipGroup', + title: 'Data Display/ChipGroup', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-insol/src/components/Combobox/Combobox.config.ts b/packages/sdds-insol/src/components/Combobox/Combobox.config.ts index d789d87b99..84c3b02c12 100644 --- a/packages/sdds-insol/src/components/Combobox/Combobox.config.ts +++ b/packages/sdds-insol/src/components/Combobox/Combobox.config.ts @@ -208,8 +208,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.5rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.75rem; - ${tokens.textFieldChipPaddingRight}: 0.75rem; - ${tokens.textFieldChipPaddingLeft}: 1rem; + ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.5rem; @@ -314,8 +313,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.375rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.25rem; - ${tokens.textFieldChipPaddingRight}: 0.625rem; - ${tokens.textFieldChipPaddingLeft}: 0.875rem; + ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.25rem; @@ -420,8 +418,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.25rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.75rem; - ${tokens.textFieldChipPaddingRight}: 0.5rem; - ${tokens.textFieldChipPaddingLeft}: 0.75rem; + ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1rem; @@ -526,8 +523,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.125rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.25rem; - ${tokens.textFieldChipPaddingRight}: 0.375rem; - ${tokens.textFieldChipPaddingLeft}: 0.625rem; + ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 0.75rem; diff --git a/packages/sdds-insol/src/components/Combobox/Combobox.stories.tsx b/packages/sdds-insol/src/components/Combobox/Combobox.stories.tsx index 85fec66fb9..cebf47077e 100644 --- a/packages/sdds-insol/src/components/Combobox/Combobox.stories.tsx +++ b/packages/sdds-insol/src/components/Combobox/Combobox.stories.tsx @@ -16,7 +16,7 @@ const labelPlacement = ['inner', 'outer']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'Controls/Combobox', + title: 'Data Entry/Combobox', decorators: [InSpacingDecorator], component: Combobox, argTypes: { @@ -361,7 +361,6 @@ const SingleStory = (args: StorySelectProps) => { value={value} onChange={setValue} contentLeft={args.enableContentLeft ? : undefined} - autoComplete="off" /> ); @@ -388,7 +387,6 @@ const MultipleStory = (args: StorySelectProps) => { value={value} onChange={setValue} contentLeft={args.enableContentLeft ? : undefined} - autoComplete="off" /> ); diff --git a/packages/sdds-insol/src/components/Counter/Counter.config.ts b/packages/sdds-insol/src/components/Counter/Counter.config.ts index af5b45d0d2..140aa43a57 100644 --- a/packages/sdds-insol/src/components/Counter/Counter.config.ts +++ b/packages/sdds-insol/src/components/Counter/Counter.config.ts @@ -40,8 +40,7 @@ export const config = { l: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.75rem; - ${counterTokens.paddingRight}: 0.625rem; - ${counterTokens.paddingLeft}: 0.625rem; + ${counterTokens.padding}: 0 0.625rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-s-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-s-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-s-font-style); @@ -52,8 +51,7 @@ export const config = { m: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.5rem; - ${counterTokens.paddingRight}: 0.5rem; - ${counterTokens.paddingLeft}: 0.5rem; + ${counterTokens.padding}: 0 0.5rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xs-font-style); @@ -64,8 +62,7 @@ export const config = { s: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1.25rem; - ${counterTokens.paddingRight}: 0.375rem; - ${counterTokens.paddingLeft}: 0.375rem; + ${counterTokens.padding}: 0 0.375rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); @@ -76,8 +73,7 @@ export const config = { xs: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 1rem; - ${counterTokens.paddingRight}: 0.25rem; - ${counterTokens.paddingLeft}: 0.25rem; + ${counterTokens.padding}: 0 0.25rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); @@ -88,8 +84,7 @@ export const config = { xxs: css` ${counterTokens.borderRadius}: 1rem; ${counterTokens.height}: 0.75rem; - ${counterTokens.paddingRight}: 0.125rem; - ${counterTokens.paddingLeft}: 0.125rem; + ${counterTokens.padding}: 0 0.125rem; ${counterTokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); ${counterTokens.fontSize}: var(--plasma-typo-body-xxs-font-size); ${counterTokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); diff --git a/packages/sdds-insol/src/components/Counter/Counter.stories.tsx b/packages/sdds-insol/src/components/Counter/Counter.stories.tsx index cb66913eeb..e1543d8f37 100644 --- a/packages/sdds-insol/src/components/Counter/Counter.stories.tsx +++ b/packages/sdds-insol/src/components/Counter/Counter.stories.tsx @@ -7,7 +7,7 @@ const sizes = ['l', 'm', 's', 'xs', 'xxs']; const views = ['default', 'accent', 'positive', 'warning', 'negative', 'dark', 'light']; const meta: Meta = { - title: 'Content/Counter', + title: 'Data Display/Counter', component: Counter, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/DatePicker/DatePicker.config.ts b/packages/sdds-insol/src/components/DatePicker/DatePicker.config.ts index f94644a9c3..be8c47949b 100644 --- a/packages/sdds-insol/src/components/DatePicker/DatePicker.config.ts +++ b/packages/sdds-insol/src/components/DatePicker/DatePicker.config.ts @@ -28,6 +28,8 @@ export const config = { ${tokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelInnerLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorColor}: var(--surface-negative); + ${tokens.textFieldBackgroundColor}: var(--surface-transparent-primary); ${tokens.textFieldBackgroundColorFocus}: var(--surface-transparent-secondary); ${tokens.textFieldBackgroundErrorColor}: var(--surface-transparent-negative); @@ -84,7 +86,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 1rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.75rem 0; + ${tokens.labelOffset}: 0.75rem; ${tokens.labelInnerPadding}: 0.5625rem 0 0.125rem 0; ${tokens.contentLabelInnerPadding}: 1.5625rem 0 0.5625rem 0; @@ -95,6 +97,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-l-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.5rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 3.5rem; ${tokens.textFieldBorderRadius}: 0.875rem; ${tokens.textFieldPadding}: 1.0625rem 1.125rem 1.0625rem 1.125rem; @@ -207,7 +216,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.875rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.625rem 0; + ${tokens.labelOffset}: 0.625rem; ${tokens.labelInnerPadding}: 0.375rem 0 0.125rem 0; ${tokens.contentLabelInnerPadding}: 1.375rem 0 0.375rem 0; @@ -218,6 +227,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-m-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.375rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 3rem; ${tokens.textFieldBorderRadius}: 0.75rem; ${tokens.textFieldPadding}: 0.875rem 1rem 0.875rem 1rem; @@ -330,7 +346,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.75rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.5rem 0; + ${tokens.labelOffset}: 0.5rem; ${tokens.labelInnerPadding}: 0.3125rem 0 0 0; ${tokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0; @@ -341,6 +357,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.3125rem auto auto -0.6875rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 2.5rem; ${tokens.textFieldBorderRadius}: 0.625rem; ${tokens.textFieldPadding}: 0.6875rem 0.875rem 0.6875rem 0.875rem; @@ -453,7 +476,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0 0 0.5rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.375rem 0; + ${tokens.labelOffset}: 0.375rem; ${tokens.labelInnerPadding}: 0.3125rem 0 0 0; ${tokens.contentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0; @@ -464,6 +487,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.25rem auto auto -0.625rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.125rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 2rem; ${tokens.textFieldBorderRadius}: 0.5rem; ${tokens.textFieldPadding}: 0.5625rem 0.625rem 0.5625rem 0.625rem; diff --git a/packages/sdds-insol/src/components/DatePicker/DatePicker.stories.tsx b/packages/sdds-insol/src/components/DatePicker/DatePicker.stories.tsx index 7f66a7dcb6..41955e2308 100644 --- a/packages/sdds-insol/src/components/DatePicker/DatePicker.stories.tsx +++ b/packages/sdds-insol/src/components/DatePicker/DatePicker.stories.tsx @@ -3,7 +3,7 @@ import type { StoryObj, Meta } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { IconPlaceholder, InSpacingDecorator } from '@salutejs/plasma-sb-utils'; -import { IconButton } from '../IconButton/IconButton'; +import { IconButton } from '../IconButton'; import { DatePicker, DatePickerRange } from './DatePicker'; @@ -18,9 +18,10 @@ const sizes = ['l', 'm', 's', 'xs']; const views = ['default']; const dividers = ['none', 'dash', 'icon']; const labelPlacements = ['outer', 'inner']; +const requiredPlacements = ['left', 'right']; const meta: Meta = { - title: 'Controls/DatePicker', + title: 'Data Entry/DatePicker', decorators: [InSpacingDecorator], argTypes: { view: { @@ -57,6 +58,13 @@ const meta: Meta = { type: 'select', }, }, + requiredPlacement: { + options: requiredPlacements, + control: { + type: 'select', + }, + if: { arg: 'required', truthy: true }, + }, }, }; @@ -115,17 +123,19 @@ export const Default: StoryObj = { }, args: { label: 'Лейбл', + labelPlacement: 'outer', leftHelper: 'Подсказка к полю', placeholder: '30.05.2024', size: 'l', view: 'default', lang: 'ru', format: 'DD.MM.YYYY', - labelPlacement: 'outer', defaultDate: new Date(2024, 5, 14), min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, textBefore: '', @@ -254,13 +264,15 @@ export const Range: StoryObj = { secondTextfieldTextAfter: '', size: 'l', view: 'default', - lang: 'ru', - format: 'DD.MM.YYYY', isDoubleCalendar: false, dividerVariant: 'dash', min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), + lang: 'ru', + format: 'DD.MM.YYYY', maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, enableContentLeft: true, @@ -339,15 +351,17 @@ export const Deferred: StoryObj = { args: { label: 'Лейбл', leftHelper: 'Подсказка к полю', + lang: 'ru', + format: 'DD.MM.YYYY', placeholder: '30.05.2024', size: 'l', view: 'default', - lang: 'ru', - format: 'DD.MM.YYYY', labelPlacement: 'outer', min: new Date(2024, 1, 1), max: new Date(2024, 12, 29), maskWithFormat: false, + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, textBefore: '', diff --git a/packages/sdds-insol/src/components/Divider/Divider.stories.tsx b/packages/sdds-insol/src/components/Divider/Divider.stories.tsx index cf45f3537c..1068194ae6 100644 --- a/packages/sdds-insol/src/components/Divider/Divider.stories.tsx +++ b/packages/sdds-insol/src/components/Divider/Divider.stories.tsx @@ -9,7 +9,7 @@ import { BodyS } from '../Typography'; import { Divider } from './Divider'; const meta: Meta = { - title: 'Content/Divider', + title: 'Data Display/Divider', decorators: [InSpacingDecorator], argTypes: { orientation: { diff --git a/packages/sdds-insol/src/components/Drawer/Drawer.stories.tsx b/packages/sdds-insol/src/components/Drawer/Drawer.stories.tsx index 90347a4954..4b8672b146 100644 --- a/packages/sdds-insol/src/components/Drawer/Drawer.stories.tsx +++ b/packages/sdds-insol/src/components/Drawer/Drawer.stories.tsx @@ -14,7 +14,7 @@ import type { ClosePlacementType } from '.'; import { Drawer, DrawerContent, DrawerFooter, DrawerHeader } from '.'; export default { - title: 'Controls/Drawer', + title: 'Overlay/Drawer', decorators: [InSpacingDecorator], argTypes: { placement: { diff --git a/packages/sdds-insol/src/components/Dropdown/Dropdown.stories.tsx b/packages/sdds-insol/src/components/Dropdown/Dropdown.stories.tsx index 798bee40a8..e317f5ada6 100644 --- a/packages/sdds-insol/src/components/Dropdown/Dropdown.stories.tsx +++ b/packages/sdds-insol/src/components/Dropdown/Dropdown.stories.tsx @@ -16,7 +16,7 @@ const size = ['xs', 's', 'm', 'l']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'Controls/Dropdown', + title: 'Data Entry/Dropdown', component: Dropdown, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/Dropzone/Dropzone.stories.tsx b/packages/sdds-insol/src/components/Dropzone/Dropzone.stories.tsx index 8c9d9e4ac9..2f8cb38aaf 100644 --- a/packages/sdds-insol/src/components/Dropzone/Dropzone.stories.tsx +++ b/packages/sdds-insol/src/components/Dropzone/Dropzone.stories.tsx @@ -14,7 +14,7 @@ const onChoseFiles = action('onChoseFiles'); const iconPlacements = ['top', 'left']; const meta: Meta = { - title: 'Controls/Dropzone', + title: 'Data Entry/Dropzone', component: Dropzone, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/EmptyState/EmptyState.stories.tsx b/packages/sdds-insol/src/components/EmptyState/EmptyState.stories.tsx index 6c29f6c3db..ffa5dd9a33 100644 --- a/packages/sdds-insol/src/components/EmptyState/EmptyState.stories.tsx +++ b/packages/sdds-insol/src/components/EmptyState/EmptyState.stories.tsx @@ -13,7 +13,7 @@ type StoryProps = ComponentProps & { }; const meta: Meta = { - title: 'Content/EmptyState', + title: 'Data Entry/EmptyState', decorators: [InSpacingDecorator], component: EmptyState, args: { diff --git a/packages/sdds-insol/src/components/IconButton/IconButton.stories.tsx b/packages/sdds-insol/src/components/IconButton/IconButton.stories.tsx index 057fcc1838..fc3697db79 100644 --- a/packages/sdds-insol/src/components/IconButton/IconButton.stories.tsx +++ b/packages/sdds-insol/src/components/IconButton/IconButton.stories.tsx @@ -22,7 +22,7 @@ const pins = [ ]; const meta: Meta = { - title: 'Controls/IconButton', + title: 'Data Entry/IconButton', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-insol/src/components/Image/Image.stories.tsx b/packages/sdds-insol/src/components/Image/Image.stories.tsx index a3bad876d0..fb9965d92d 100644 --- a/packages/sdds-insol/src/components/Image/Image.stories.tsx +++ b/packages/sdds-insol/src/components/Image/Image.stories.tsx @@ -6,7 +6,7 @@ import { Image, Ratio } from '.'; import type { ImageProps } from '.'; const meta: Meta = { - title: 'Content/Image', + title: 'Data Display/Image', component: Image, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/Indicator/Indicator.stories.tsx b/packages/sdds-insol/src/components/Indicator/Indicator.stories.tsx index 7593a2ee7d..cf24945db2 100644 --- a/packages/sdds-insol/src/components/Indicator/Indicator.stories.tsx +++ b/packages/sdds-insol/src/components/Indicator/Indicator.stories.tsx @@ -5,7 +5,7 @@ import { InSpacingDecorator } from '@salutejs/plasma-sb-utils'; import { Indicator } from './Indicator'; const meta: Meta = { - title: 'Content/Indicator', + title: 'Data Display/Indicator', component: Indicator, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/Link/Link.stories.tsx b/packages/sdds-insol/src/components/Link/Link.stories.tsx index efcdae4af1..7de5b65fee 100644 --- a/packages/sdds-insol/src/components/Link/Link.stories.tsx +++ b/packages/sdds-insol/src/components/Link/Link.stories.tsx @@ -7,7 +7,7 @@ import { TextM } from '../Typography'; import { Link } from '.'; const meta: Meta = { - title: 'Content/Link', + title: 'Navigation/Link', decorators: [InSpacingDecorator], component: Link, argTypes: { diff --git a/packages/sdds-insol/src/components/Mask/Mask.stories.tsx b/packages/sdds-insol/src/components/Mask/Mask.stories.tsx index 98ad4ce089..e1873ebc20 100644 --- a/packages/sdds-insol/src/components/Mask/Mask.stories.tsx +++ b/packages/sdds-insol/src/components/Mask/Mask.stories.tsx @@ -35,7 +35,7 @@ const propsToDisable = [ ]; const meta: Meta = { - title: 'Controls/Mask', + title: 'Data Display/Mask', component: Mask, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/Modal/Modal.stories.tsx b/packages/sdds-insol/src/components/Modal/Modal.stories.tsx index ed100b6801..6bfa56482b 100644 --- a/packages/sdds-insol/src/components/Modal/Modal.stories.tsx +++ b/packages/sdds-insol/src/components/Modal/Modal.stories.tsx @@ -13,7 +13,7 @@ import { Modal, modalClasses } from '.'; import type { ModalProps } from '.'; const meta: Meta = { - title: 'Controls/Modal', + title: 'Overlay/Modal', decorators: [InSpacingDecorator], parameters: { docs: { story: { inline: false, iframeHeight: '30rem' } }, diff --git a/packages/sdds-insol/src/components/Notification/Notification.stories.tsx b/packages/sdds-insol/src/components/Notification/Notification.stories.tsx index ee32a44ff4..62dbdeea42 100644 --- a/packages/sdds-insol/src/components/Notification/Notification.stories.tsx +++ b/packages/sdds-insol/src/components/Notification/Notification.stories.tsx @@ -37,7 +37,7 @@ const getNotificationProps = (i: number) => ({ const placements = ['top', 'left']; const meta: Meta = { - title: 'Controls/Notification', + title: 'Overlay/Notification', decorators: [InSpacingDecorator], }; diff --git a/packages/sdds-insol/src/components/NumberInput/NumberInput.stories.tsx b/packages/sdds-insol/src/components/NumberInput/NumberInput.stories.tsx index 781091f912..27c4bd58dd 100644 --- a/packages/sdds-insol/src/components/NumberInput/NumberInput.stories.tsx +++ b/packages/sdds-insol/src/components/NumberInput/NumberInput.stories.tsx @@ -16,7 +16,7 @@ const inputBackgroundTypes = ['fill', 'clear']; const segmentation = ['default', 'segmented', 'solid']; const meta: Meta = { - title: 'Controls/NumberInput', + title: 'Data Entry/NumberInput', component: NumberInput, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/Overlay/Overlay.stories.tsx b/packages/sdds-insol/src/components/Overlay/Overlay.stories.tsx index 536d718e1d..8481de7067 100644 --- a/packages/sdds-insol/src/components/Overlay/Overlay.stories.tsx +++ b/packages/sdds-insol/src/components/Overlay/Overlay.stories.tsx @@ -12,7 +12,7 @@ import { Overlay } from '.'; const onOverlayClick = action('onOverlayClick'); export default { - title: 'Controls/Overlay', + title: 'Overlay/Overlay', decorators: [InSpacingDecorator], argTypes: { isClickable: { diff --git a/packages/sdds-insol/src/components/Pagination/Pagination.stories.tsx b/packages/sdds-insol/src/components/Pagination/Pagination.stories.tsx index 73d9a59efa..0e164e37a0 100644 --- a/packages/sdds-insol/src/components/Pagination/Pagination.stories.tsx +++ b/packages/sdds-insol/src/components/Pagination/Pagination.stories.tsx @@ -7,7 +7,7 @@ import { Button } from '../Button'; import { Pagination } from './Pagination'; const meta: Meta = { - title: 'Controls/Pagination', + title: 'Navigation/Pagination', decorators: [InSpacingDecorator], argTypes: { size: { diff --git a/packages/sdds-insol/src/components/Popover/Popover.stories.tsx b/packages/sdds-insol/src/components/Popover/Popover.stories.tsx index 26692c7473..44dc9f0e55 100644 --- a/packages/sdds-insol/src/components/Popover/Popover.stories.tsx +++ b/packages/sdds-insol/src/components/Popover/Popover.stories.tsx @@ -9,7 +9,7 @@ import { Button } from '../Button/Button'; import { Popover } from './Popover'; const meta: Meta = { - title: 'Controls/Popover', + title: 'Overlay/Popover', decorators: [InSpacingDecorator], component: Popover, argTypes: { diff --git a/packages/sdds-insol/src/components/Popup/Popup.stories.tsx b/packages/sdds-insol/src/components/Popup/Popup.stories.tsx index 1428dbe3b0..68fc921cb1 100644 --- a/packages/sdds-insol/src/components/Popup/Popup.stories.tsx +++ b/packages/sdds-insol/src/components/Popup/Popup.stories.tsx @@ -10,7 +10,7 @@ import { Popup, popupClasses, PopupProvider } from '.'; import type { PopupProps } from '.'; const meta: Meta = { - title: 'Controls/Popup', + title: 'Overlay/Popup', component: Popup, decorators: [InSpacingDecorator], parameters: { diff --git a/packages/sdds-insol/src/components/Portal/Portal.stories.tsx b/packages/sdds-insol/src/components/Portal/Portal.stories.tsx index b2ae0c884c..b3ece2f627 100644 --- a/packages/sdds-insol/src/components/Portal/Portal.stories.tsx +++ b/packages/sdds-insol/src/components/Portal/Portal.stories.tsx @@ -10,7 +10,7 @@ import { BodyM } from '../Typography'; import { Portal } from '.'; const meta: Meta = { - title: 'Controls/Portal', + title: 'Data Entry/Portal', decorators: [InSpacingDecorator], args: { disabled: false, diff --git a/packages/sdds-insol/src/components/Price/Price.stories.tsx b/packages/sdds-insol/src/components/Price/Price.stories.tsx index 405482fad3..6d2fafb077 100644 --- a/packages/sdds-insol/src/components/Price/Price.stories.tsx +++ b/packages/sdds-insol/src/components/Price/Price.stories.tsx @@ -5,7 +5,7 @@ import { disableProps, InSpacingDecorator } from '@salutejs/plasma-sb-utils'; import { Price } from '.'; const meta: Meta = { - title: 'Content/Price', + title: 'Data Display/Price', decorators: [InSpacingDecorator], argTypes: { currency: { diff --git a/packages/sdds-insol/src/components/Progress/Progress.stories.tsx b/packages/sdds-insol/src/components/Progress/Progress.stories.tsx index ea50750099..aa57e9bb05 100644 --- a/packages/sdds-insol/src/components/Progress/Progress.stories.tsx +++ b/packages/sdds-insol/src/components/Progress/Progress.stories.tsx @@ -7,7 +7,7 @@ import type { ProgressProps } from '.'; const views = ['default', 'secondary', 'primary', 'accent', 'success', 'warning', 'error']; const meta: Meta = { - title: 'Controls/Progress', + title: 'Overlay/Progress', component: Progress, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/Radiobox/Radiobox.stories.tsx b/packages/sdds-insol/src/components/Radiobox/Radiobox.stories.tsx index f7f2b96de9..9ee41ec3a0 100644 --- a/packages/sdds-insol/src/components/Radiobox/Radiobox.stories.tsx +++ b/packages/sdds-insol/src/components/Radiobox/Radiobox.stories.tsx @@ -13,7 +13,7 @@ const sizes = ['m', 's']; const views = ['default', 'secondary', 'tertiary', 'paragraph', 'accent', 'positive', 'warning', 'negative']; const meta: Meta = { - title: 'Controls/Radiobox', + title: 'Data Entry/Radiobox', component: Radiobox, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/Range/Range.config.ts b/packages/sdds-insol/src/components/Range/Range.config.ts index 4461784fc9..e3be0b08fd 100644 --- a/packages/sdds-insol/src/components/Range/Range.config.ts +++ b/packages/sdds-insol/src/components/Range/Range.config.ts @@ -21,6 +21,8 @@ export const config = { ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary); ${tokens.textFieldCaretColor}: var(--text-accent); + ${tokens.indicatorColor}: var(--surface-negative); + ${tokens.textFieldBackgroundColorFocus}: var(--surface-transparent-secondary); ${tokens.textFieldBackgroundErrorColor}: var(--surface-transparent-negative); ${tokens.textFieldBackgroundErrorColorFocus}: var(--surface-transparent-negative-active); @@ -48,7 +50,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0.375rem 0 1rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.75rem 0; + ${tokens.labelOffset}: 0.75rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-l-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-l-font-style); @@ -57,6 +59,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-l-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.5rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 3.5rem; ${tokens.textFieldBorderRadius}: 0.875rem; ${tokens.textFieldPadding}: 1.0625rem 1.125rem 1.0625rem 1.125rem; @@ -94,7 +103,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0.375rem 0 0.875rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.625rem 0; + ${tokens.labelOffset}: 0.625rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-m-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-m-font-style); @@ -103,6 +112,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-m-line-height); + ${tokens.indicatorSize}: 0.5rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.375rem auto auto -0.75rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 3rem; ${tokens.textFieldBorderRadius}: 0.75rem; ${tokens.textFieldPadding}: 0.875rem 1rem 0.875rem 1rem; @@ -140,7 +156,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0.375rem 0 0.75rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.5rem 0; + ${tokens.labelOffset}: 0.5rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-s-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-s-font-style); @@ -149,6 +165,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.3125rem auto auto -0.6875rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.25rem -0.625rem auto auto; + ${tokens.textFieldHeight}: 2.5rem; ${tokens.textFieldBorderRadius}: 0.625rem; ${tokens.textFieldPadding}: 0.6875rem 0.875rem 0.6875rem 0.875rem; @@ -186,7 +209,7 @@ export const config = { ${tokens.leftContentMargin}: 0 0.25rem 0 0.5rem; ${tokens.rightContentMargin}: 0; - ${tokens.labelOffset}: 0 0 0.375rem 0; + ${tokens.labelOffset}: 0.375rem; ${tokens.labelFontFamily}: var(--plasma-typo-body-xs-font-family); ${tokens.labelFontStyle}: var(--plasma-typo-body-xs-font-style); @@ -195,6 +218,13 @@ export const config = { ${tokens.labelLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${tokens.labelLineHeight}: var(--plasma-typo-body-xs-line-height); + ${tokens.indicatorSize}: 0.375rem; + ${tokens.indicatorSizeOuter}: 0.375rem; + ${tokens.indicatorPlacement}: 0 0 0 0; + ${tokens.indicatorOuterPlacement}: 0.25rem auto auto -0.625rem; + ${tokens.indicatorPlacementRight}: 0 0 auto auto; + ${tokens.indicatorOuterPlacementRight}: 0.125rem -0.6875rem auto auto; + ${tokens.textFieldHeight}: 2rem; ${tokens.textFieldBorderRadius}: 0.5rem; ${tokens.textFieldPadding}: 0.5625rem 0.625rem 0.5625rem 0.625rem; diff --git a/packages/sdds-insol/src/components/Range/Range.stories.tsx b/packages/sdds-insol/src/components/Range/Range.stories.tsx index 7d33a99127..11dfd44085 100644 --- a/packages/sdds-insol/src/components/Range/Range.stories.tsx +++ b/packages/sdds-insol/src/components/Range/Range.stories.tsx @@ -4,7 +4,7 @@ import { action } from '@storybook/addon-actions'; import { InSpacingDecorator } from '@salutejs/plasma-sb-utils'; import { IconSearch, IconSber, IconArrowRight } from '@salutejs/plasma-icons'; -import { Button } from '../Button/Button'; +import { IconButton } from '../IconButton'; import { Range } from './Range'; @@ -20,9 +20,10 @@ const onBlurSecondTextfield = action('onBlurSecondTextfield'); const sizes = ['l', 'm', 's', 'xs']; const views = ['default']; const dividers = ['none', 'dash', 'icon']; +const requiredPlacements = ['left', 'right']; const meta: Meta = { - title: 'Controls/Range', + title: 'Data Entry/Range', component: Range, decorators: [InSpacingDecorator], argTypes: { @@ -38,6 +39,13 @@ const meta: Meta = { type: 'inline-radio', }, }, + requiredPlacement: { + options: requiredPlacements, + control: { + type: 'select', + }, + if: { arg: 'required', truthy: true }, + }, }, }; @@ -68,9 +76,9 @@ const getSizeForIcon = (size) => { const ActionButton = ({ size }) => { return ( - + ); }; @@ -160,6 +168,8 @@ export const Default: StoryObj = { secondPlaceholder: 'Заполните поле 2', size: 'l', view: 'default', + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, firstTextfieldTextBefore: 'С', @@ -304,6 +314,8 @@ export const Demo: StoryObj = { secondPlaceholder: '5', size: 'l', view: 'default', + required: false, + requiredPlacement: 'right', disabled: false, readOnly: false, firstTextfieldTextBefore: '', diff --git a/packages/sdds-insol/src/components/Rating/Rating.config.ts b/packages/sdds-insol/src/components/Rating/Rating.config.ts new file mode 100644 index 0000000000..ad64c67e4b --- /dev/null +++ b/packages/sdds-insol/src/components/Rating/Rating.config.ts @@ -0,0 +1,396 @@ +import { css, ratingTokens as tokens } from '@salutejs/plasma-new-hope/styled-components'; + +export const config = { + defaults: { + view: 'default', + size: 'l', + }, + variations: { + view: { + default: css` + ${tokens.color}: var(--text-primary); + ${tokens.helperTextColor}: var(--text-secondary); + ${tokens.iconColor}: var(--text-primary); + ${tokens.outlineIconColor}: var(--text-primary); + `, + accent: css` + ${tokens.color}: var(--text-primary); + ${tokens.helperTextColor}: var(--text-secondary); + // TODO: change with token data-yellow, when it will be added to theme + ${tokens.iconColor}: #F3A912; + ${tokens.outlineIconColor}: var(--text-tertiary); + `, + }, + size: { + l: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-l-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-l-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-l-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-l-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-l-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.625rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 1.25rem; + `, + m: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-m-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-m-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-m-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.5rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 1.25rem; + `, + s: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-s-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-s-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-s-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-s-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-s-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.5rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 1rem; + `, + xs: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-xs-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xxs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xxs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xxs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xxs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xxs-line-height); + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.contentGap}: 0.375rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.iconSize}: 0.75rem; + ${tokens.actualIconSize}: 1rem; + ${tokens.scaleFactor}: 0.75; + `, + xxs: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-body-xxs-font-family); + ${tokens.fontSize}: var(--plasma-typo-body-xxs-font-size); + ${tokens.fontStyle}: var(--plasma-typo-body-xxs-font-style); + ${tokens.fontWeight}: var(--plasma-typo-body-xxs-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-body-xxs-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xxs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xxs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xxs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xxs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xxs-line-height); + + ${tokens.contentGap}: 0.375rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSize}: 0.75rem; + ${tokens.actualIconSize}: 1rem; + ${tokens.scaleFactor}: 0.75; + `, + h1: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h1-font-family); + ${tokens.fontSize}: var(--plasma-typo-h1-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h1-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h1-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h1-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h1-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-m-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-m-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-m-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-m-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-m-line-height); + + ${tokens.contentGap}: 1rem; + ${tokens.singleIconContentGap}: 0.5rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.25rem; + ${tokens.iconSizeLarge}: 3rem; + ${tokens.iconSizeMedium}: 3rem; + ${tokens.iconSizeSmall}: 2.25rem; + + ${tokens.singleIconMarginBottom}: 0.25rem; + ${tokens.singleIconSizeLarge}: 3rem; + ${tokens.singleIconSizeMedium}: 3rem; + ${tokens.singleIconSizeSmall}: 2.25rem; + `, + h2: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h2-font-family); + ${tokens.fontSize}: var(--plasma-typo-h2-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h2-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h2-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h2-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h2-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-s-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-s-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-s-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-s-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-s-line-height); + + ${tokens.contentGap}: 0.875rem; + ${tokens.singleIconContentGap}: 0.5rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.25rem; + ${tokens.iconSizeLarge}: 2rem; + ${tokens.iconSizeMedium}: 1.75rem; + ${tokens.iconSizeSmall}: 1.5rem; + + ${tokens.singleIconMarginBottom}: 0.25rem; + ${tokens.singleIconSizeLarge}: 2rem; + ${tokens.singleIconSizeMedium}: 1.75rem; + ${tokens.singleIconSizeSmall}: 1.5rem; + `, + h3: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h3-font-family); + ${tokens.fontSize}: var(--plasma-typo-h3-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h3-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h3-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h3-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h3-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.75rem; + ${tokens.singleIconContentGap}: 0.375rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.iconSizeLarge}: 1.75rem; + ${tokens.iconSizeMedium}: 1.5rem; + ${tokens.iconSizeSmall}: 1.25rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.singleIconSizeLarge}: 1.75rem; + ${tokens.singleIconSizeMedium}: 1.5rem; + ${tokens.singleIconSizeSmall}: 1.25rem; + `, + h4: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h4-font-family); + ${tokens.fontSize}: var(--plasma-typo-h4-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h4-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h4-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h4-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h4-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.625rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.iconSizeLarge}: 1.5rem; + ${tokens.iconSizeMedium}: 1.25rem; + ${tokens.iconSizeSmall}: 1.25rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.singleIconSizeLarge}: 1.5rem; + ${tokens.singleIconSizeMedium}: 1.25rem; + ${tokens.singleIconSizeSmall}: 1.25rem; + `, + h5: css` + ${tokens.gap}: 0.25rem; + + ${tokens.fontFamily}: var(--plasma-typo-h5-font-family); + ${tokens.fontSize}: var(--plasma-typo-h5-font-size); + ${tokens.fontStyle}: var(--plasma-typo-h5-font-style); + ${tokens.fontWeight}: var(--plasma-typo-h5-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-h5-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-h5-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-xs-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-xs-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-xs-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-xs-line-height); + + ${tokens.contentGap}: 0.625rem; + ${tokens.singleIconContentGap}: 0.25rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconMarginBottom}: 0.125rem; + ${tokens.iconSizeLarge}: 1.25rem; + ${tokens.iconSizeMedium}: 1.25rem; + ${tokens.iconSizeSmall}: 1rem; + + ${tokens.singleIconMarginBottom}: 0.125rem; + ${tokens.singleIconSizeLarge}: 1.25rem; + ${tokens.singleIconSizeMedium}: 1.25rem; + ${tokens.singleIconSizeSmall}: 1rem; + `, + displayL: css` + ${tokens.gap}: 0.375rem; + + ${tokens.fontFamily}: var(--plasma-typo-dspl-l-font-family); + ${tokens.fontSize}: var(--plasma-typo-dspl-l-font-size); + ${tokens.fontStyle}: var(--plasma-typo-dspl-l-font-style); + ${tokens.fontWeight}: var(--plasma-typo-dspl-l-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-dspl-l-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-dspl-l-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-h3-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-h3-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-h3-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-h3-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-h3-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-h3-line-height); + + ${tokens.contentGap}: 1.5rem; + ${tokens.singleIconContentGap}: 0.75rem; + ${tokens.wrapperGap}: 0.625rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSizeLarge}: 4rem; + ${tokens.iconSizeMedium}: 3rem; + ${tokens.iconSizeSmall}: 2.25rem; + + ${tokens.singleIconMarginBottom}: 0.5rem; + ${tokens.singleIconSizeLarge}: 7.5rem; + ${tokens.singleIconSizeMedium}: 7rem; + ${tokens.singleIconSizeSmall}: 5.5rem; + `, + displayM: css` + ${tokens.gap}: 0.375rem; + + ${tokens.fontFamily}: var(--plasma-typo-dspl-m-font-family); + ${tokens.fontSize}: var(--plasma-typo-dspl-m-font-size); + ${tokens.fontStyle}: var(--plasma-typo-dspl-m-font-style); + ${tokens.fontWeight}: var(--plasma-typo-dspl-m-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-dspl-m-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-dspl-m-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-l-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-l-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-l-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-l-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-l-line-height); + + ${tokens.contentGap}: 1.5rem; + ${tokens.singleIconContentGap}: 0.75rem; + ${tokens.wrapperGap}: 0.5rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSizeLarge}: 3rem; + ${tokens.iconSizeMedium}: 2.25rem; + ${tokens.iconSizeSmall}: 1.75rem; + + ${tokens.singleIconMarginBottom}: 0.5rem; + ${tokens.singleIconSizeLarge}: 5.25rem; + ${tokens.singleIconSizeMedium}: 4.5rem; + ${tokens.singleIconSizeSmall}: 4rem; + `, + displayS: css` + ${tokens.gap}: 0.375rem; + + ${tokens.fontFamily}: var(--plasma-typo-dspl-s-font-family); + ${tokens.fontSize}: var(--plasma-typo-dspl-s-font-size); + ${tokens.fontStyle}: var(--plasma-typo-dspl-s-font-style); + ${tokens.fontWeight}: var(--plasma-typo-dspl-s-bold-font-weight); + ${tokens.letterSpacing}: var(--plasma-typo-dspl-s-letter-spacing); + ${tokens.lineHeight}: var(--plasma-typo-dspl-s-line-height); + + ${tokens.helperTextFontFamily}: var(--plasma-typo-body-l-font-family); + ${tokens.helperTextFontSize}: var(--plasma-typo-body-l-font-size); + ${tokens.helperTextFontStyle}: var(--plasma-typo-body-l-font-style); + ${tokens.helperTextFontWeight}: var(--plasma-typo-body-l-font-weight); + ${tokens.helperTextLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); + ${tokens.helperTextLineHeight}: var(--plasma-typo-body-l-line-height); + + ${tokens.contentGap}: 1.5rem; + ${tokens.singleIconContentGap}: 0.75rem; + ${tokens.wrapperGap}: 0.375rem; + ${tokens.starsWrapperGap}: 0.125rem; + + ${tokens.iconSizeLarge}: 2rem; + ${tokens.iconSizeMedium}: 1.5rem; + ${tokens.iconSizeSmall}: 1.25rem; + + ${tokens.singleIconMarginBottom}: 0.313rem; + ${tokens.singleIconSizeLarge}: 4rem; + ${tokens.singleIconSizeMedium}: 3.5rem; + ${tokens.singleIconSizeSmall}: 2.75rem; + `, + }, + }, +}; diff --git a/packages/sdds-insol/src/components/Rating/Rating.stories.tsx b/packages/sdds-insol/src/components/Rating/Rating.stories.tsx new file mode 100644 index 0000000000..093d867544 --- /dev/null +++ b/packages/sdds-insol/src/components/Rating/Rating.stories.tsx @@ -0,0 +1,125 @@ +import React, { ComponentProps } from 'react'; +import type { StoryObj, Meta } from '@storybook/react'; +import { InSpacingDecorator, disableProps } from '@salutejs/plasma-sb-utils'; +import { IconKeyFill, IconKeyOutline, IconLockFill } from '@salutejs/plasma-icons'; +import { ratingClasses } from '@salutejs/plasma-new-hope/styled-components'; + +import { Rating } from './Rating'; + +const views = ['default', 'accent']; +const sizes = ['l', 'm', 's', 'xs', 'xxs', 'h1', 'h2', 'h3', 'h4', 'h5', 'displayL', 'displayM', 'displayS']; +const scorePrecision = [1, 2]; +const valuePlacements = ['before', 'after']; +const iconsCount = [1, 5, 10]; +const helperTextStretching = ['fixed', 'filled']; + +const meta: Meta = { + title: 'Data Display/Rating', + component: Rating, + decorators: [InSpacingDecorator], + argTypes: { + view: { + options: views, + control: { + type: 'select', + }, + }, + size: { + options: sizes, + control: { + type: 'select', + }, + }, + value: { + control: { + type: 'number', + }, + }, + precision: { + options: scorePrecision, + control: { + type: 'inline-radio', + }, + if: { arg: 'hasValue', truthy: true }, + }, + valuePlacement: { + options: valuePlacements, + control: { + type: 'inline-radio', + }, + if: { arg: 'hasValue', truthy: true }, + }, + hasIcons: { + control: { + type: 'boolean', + }, + if: { arg: 'hasValue', truthy: true }, + }, + iconQuantity: { + options: iconsCount, + control: { + type: 'inline-radio', + }, + }, + helperTextStretching: { + options: helperTextStretching, + control: { + type: 'inline-radio', + }, + if: { arg: 'helperText', neq: '' }, + }, + ...disableProps(['iconSlot', 'iconSlotOutline', 'iconSlotHalf']), + }, +}; + +export default meta; + +type StoryPropsDefault = ComponentProps & { + hasValue?: boolean; +}; + +export const Default: StoryObj = { + args: { + view: 'default', + size: 'l', + hasValue: true, + value: 3.8, + precision: 1, + valuePlacement: 'before', + hasIcons: true, + iconQuantity: 5, + helperText: 'Helper text', + helperTextStretching: 'filled', + }, + render: ({ hasIcons, hasValue, ...args }) => ( + + ), +}; + +export const CustomIcons: StoryObj = { + argTypes: { + ...disableProps(['size', 'view']), + }, + args: { + view: 'default', + size: 'l', + hasValue: true, + value: 3.8, + precision: 1, + valuePlacement: 'before', + hasIcons: true, + iconQuantity: 5, + helperText: 'Helper text', + helperTextStretching: 'filled', + }, + render: ({ hasIcons, hasValue, ...args }) => ( + } + iconSlotOutline={} + iconSlotHalf={} + {...args} + /> + ), +}; diff --git a/packages/sdds-insol/src/components/Rating/Rating.ts b/packages/sdds-insol/src/components/Rating/Rating.ts new file mode 100644 index 0000000000..619c248638 --- /dev/null +++ b/packages/sdds-insol/src/components/Rating/Rating.ts @@ -0,0 +1,7 @@ +import { ratingConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components'; + +import { config } from './Rating.config'; + +const mergedConfig = mergeConfig(ratingConfig, config); + +export const Rating = component(mergedConfig); diff --git a/packages/sdds-insol/src/components/Rating/index.ts b/packages/sdds-insol/src/components/Rating/index.ts new file mode 100644 index 0000000000..9f9f231dbf --- /dev/null +++ b/packages/sdds-insol/src/components/Rating/index.ts @@ -0,0 +1,2 @@ +export { Rating } from './Rating'; +export { ratingTokens, ratingClasses } from '@salutejs/plasma-new-hope/styled-components'; diff --git a/packages/sdds-insol/src/components/Segment/Segment.stories.tsx b/packages/sdds-insol/src/components/Segment/Segment.stories.tsx index f68422b674..2c92d27ff3 100644 --- a/packages/sdds-insol/src/components/Segment/Segment.stories.tsx +++ b/packages/sdds-insol/src/components/Segment/Segment.stories.tsx @@ -49,7 +49,7 @@ const getContentRight = (contentRightOption: string, size: Size) => { }; const meta: Meta = { - title: 'Controls/Segment', + title: 'Data Entry/Segment', decorators: [InSpacingDecorator], component: SegmentGroup, argTypes: { diff --git a/packages/sdds-insol/src/components/Select/Select.config.ts b/packages/sdds-insol/src/components/Select/Select.config.ts index b56c1e8bd0..287919be63 100644 --- a/packages/sdds-insol/src/components/Select/Select.config.ts +++ b/packages/sdds-insol/src/components/Select/Select.config.ts @@ -293,8 +293,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.5rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.75rem; - ${tokens.textFieldChipPaddingRight}: 0.75rem; - ${tokens.textFieldChipPaddingLeft}: 1rem; + ${tokens.textFieldChipPadding}: 0 0.75rem 0 1rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.625rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.5rem; @@ -402,8 +401,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.375rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 2.25rem; - ${tokens.textFieldChipPaddingRight}: 0.625rem; - ${tokens.textFieldChipPaddingLeft}: 0.875rem; + ${tokens.textFieldChipPadding}: 0 0.625rem 0 0.875rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.5rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1.25rem; @@ -511,8 +509,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.25rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.75rem; - ${tokens.textFieldChipPaddingRight}: 0.5rem; - ${tokens.textFieldChipPaddingLeft}: 0.75rem; + ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 1rem; @@ -620,8 +617,7 @@ export const config = { ${tokens.textFieldChipBorderRadius}: 0.125rem; ${tokens.textFieldChipWidth}: auto; ${tokens.textFieldChipHeight}: 1.25rem; - ${tokens.textFieldChipPaddingRight}: 0.375rem; - ${tokens.textFieldChipPaddingLeft}: 0.625rem; + ${tokens.textFieldChipPadding}: 0 0.375rem 0 0.625rem; ${tokens.textFieldChipClearContentMarginLeft}: 0.25rem; ${tokens.textFieldChipClearContentMarginRight}: 0rem; ${tokens.textFieldChipCloseIconSize}: 0.75rem; diff --git a/packages/sdds-insol/src/components/Select/Select.stories.tsx b/packages/sdds-insol/src/components/Select/Select.stories.tsx index e9c60bbcea..6a9e1e565c 100644 --- a/packages/sdds-insol/src/components/Select/Select.stories.tsx +++ b/packages/sdds-insol/src/components/Select/Select.stories.tsx @@ -19,7 +19,7 @@ const chip = ['default', 'secondary', 'accent']; const variant = ['normal', 'tight']; const meta: Meta = { - title: 'Controls/Select', + title: 'Data Entry/Select', decorators: [InSpacingDecorator], component: Select, argTypes: { diff --git a/packages/sdds-insol/src/components/Sheet/Sheet.stories.tsx b/packages/sdds-insol/src/components/Sheet/Sheet.stories.tsx index 7ed7f92fca..ef4f4777ae 100644 --- a/packages/sdds-insol/src/components/Sheet/Sheet.stories.tsx +++ b/packages/sdds-insol/src/components/Sheet/Sheet.stories.tsx @@ -10,7 +10,7 @@ import { Sheet } from '.'; import type { SheetProps } from '.'; const meta: Meta = { - title: 'Content/Sheet', + title: 'Overlay/Sheet', decorators: [InSpacingDecorator], args: { withBlur: false, diff --git a/packages/sdds-insol/src/components/Skeleton/Skeleton.stories.tsx b/packages/sdds-insol/src/components/Skeleton/Skeleton.stories.tsx index 49fc959a1d..ee0f7eae36 100644 --- a/packages/sdds-insol/src/components/Skeleton/Skeleton.stories.tsx +++ b/packages/sdds-insol/src/components/Skeleton/Skeleton.stories.tsx @@ -14,7 +14,7 @@ type StoryRectSkeletonProps = ComponentProps; type BasicButtonProps = ComponentProps; const meta: Meta = { - title: 'Content/Skeleton', + title: 'Data Display/Skeleton', decorators: [InSpacingDecorator], }; diff --git a/packages/sdds-insol/src/components/Slider/Slider.stories.tsx b/packages/sdds-insol/src/components/Slider/Slider.stories.tsx index 603fc47e9e..09df72268b 100644 --- a/packages/sdds-insol/src/components/Slider/Slider.stories.tsx +++ b/packages/sdds-insol/src/components/Slider/Slider.stories.tsx @@ -14,9 +14,10 @@ const sliderAligns = ['center', 'left', 'right', 'none']; const labelPlacements = ['top', 'left']; const scaleAligns = ['side', 'bottom']; const orientations: Array = ['vertical', 'horizontal']; +const visibility = ['always', 'hover']; const meta: Meta = { - title: 'Controls/Slider', + title: 'Data Entry/Slider', component: Slider, decorators: [InSpacingDecorator], argTypes: { @@ -153,11 +154,24 @@ export const Default: StorySingle = { }, if: { arg: 'orientation', eq: 'vertical' }, }, + pointerVisibility: { + options: visibility, + control: { + type: 'inline-radio', + }, + }, + currentValueVisibility: { + options: visibility, + control: { + type: 'inline-radio', + }, + }, }, args: { view: 'default', size: 'm', pointerSize: 'small', + pointerVisibility: 'always', min: 0, max: 100, orientation: 'horizontal', @@ -169,6 +183,7 @@ export const Default: StorySingle = { scaleAlign: 'bottom', showScale: true, showCurrentValue: false, + currentValueVisibility: 'always', showIcon: true, reversed: false, labelReversed: false, diff --git a/packages/sdds-insol/src/components/Spinner/Spinner.stories.tsx b/packages/sdds-insol/src/components/Spinner/Spinner.stories.tsx index 123bb2f12d..42d10524a5 100644 --- a/packages/sdds-insol/src/components/Spinner/Spinner.stories.tsx +++ b/packages/sdds-insol/src/components/Spinner/Spinner.stories.tsx @@ -9,7 +9,7 @@ import { BodyL } from '../Typography'; import { Spinner } from '.'; const meta: Meta = { - title: 'Content/Spinner', + title: 'Data Display/Spinner', decorators: [InSpacingDecorator], component: Spinner, argTypes: { diff --git a/packages/sdds-insol/src/components/Steps/Steps.stories.tsx b/packages/sdds-insol/src/components/Steps/Steps.stories.tsx index 0b2e98a4f0..bd344dcf4f 100644 --- a/packages/sdds-insol/src/components/Steps/Steps.stories.tsx +++ b/packages/sdds-insol/src/components/Steps/Steps.stories.tsx @@ -9,7 +9,7 @@ import { Steps } from './Steps'; import type { StepItemProps } from '.'; const meta: Meta = { - title: 'Controls/Steps', + title: 'Navigation/Steps', decorators: [InSpacingDecorator], component: Steps, }; diff --git a/packages/sdds-insol/src/components/Switch/Switch.stories.tsx b/packages/sdds-insol/src/components/Switch/Switch.stories.tsx index 0664ee342d..3c815340fd 100644 --- a/packages/sdds-insol/src/components/Switch/Switch.stories.tsx +++ b/packages/sdds-insol/src/components/Switch/Switch.stories.tsx @@ -12,7 +12,7 @@ const onFocus = action('onFocus'); const onBlur = action('onBlur'); const meta: Meta = { - title: 'Controls/Switch', + title: 'Data Entry/Switch', component: Switch, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/Tabs/Tabs.stories.tsx b/packages/sdds-insol/src/components/Tabs/Tabs.stories.tsx index ba9e7872b1..ee9d3343f2 100644 --- a/packages/sdds-insol/src/components/Tabs/Tabs.stories.tsx +++ b/packages/sdds-insol/src/components/Tabs/Tabs.stories.tsx @@ -55,7 +55,7 @@ type HorizontalStoryTabsProps = StoryTabsProps & { width: string }; type VerticalStoryTabsProps = StoryTabsProps & { height: string }; const meta: Meta = { - title: 'Controls/Tabs', + title: 'Navigation/Tabs', component: Tabs, decorators: [InSpacingDecorator], argTypes: { diff --git a/packages/sdds-insol/src/components/TextArea/TextArea.config.tsx b/packages/sdds-insol/src/components/TextArea/TextArea.config.tsx index 0edb36986a..f0ffdcbf6d 100644 --- a/packages/sdds-insol/src/components/TextArea/TextArea.config.tsx +++ b/packages/sdds-insol/src/components/TextArea/TextArea.config.tsx @@ -16,19 +16,19 @@ export const config = { ${textAreaTokens.borderSize}: 0.0625rem; ${textAreaTokens.borderRadiusWithHelpers}: 0.5rem 0.5rem 0 0; ${textAreaTokens.inputPaddingTop}: 0.563rem; - ${textAreaTokens.inputPaddingRight}: 0.625rem; - ${textAreaTokens.inputPaddingRightWithRightContent}: 2.125rem; + ${textAreaTokens.inputPaddingRight}: 0.75rem; + ${textAreaTokens.inputPaddingRightWithRightContent}: 2.375rem; ${textAreaTokens.clearInputPaddingRightWithRightContent}: 1.5rem; ${textAreaTokens.inputPaddingBottom}: 0.563rem; - ${textAreaTokens.inputPaddingLeft}: 0.625rem; + ${textAreaTokens.inputPaddingLeft}: 0.75rem; ${textAreaTokens.helpersPaddingTop}: 0.5rem; ${textAreaTokens.clearHelpersPaddingTop}: 0.25rem; - ${textAreaTokens.helpersPaddingRight}: 0.625rem; - ${textAreaTokens.helpersPaddingBottom}: 0.563rem; - ${textAreaTokens.helpersPaddingLeft}: 0.625rem; + ${textAreaTokens.helpersPaddingRight}: 0.75rem; + ${textAreaTokens.helpersPaddingBottom}: 0.5rem; + ${textAreaTokens.helpersPaddingLeft}: 0.75rem; ${textAreaTokens.helpersOffset}: 0rem; - ${textAreaTokens.rightContentTop}: 0.563rem; - ${textAreaTokens.rightContentRight}: 0.5rem; + ${textAreaTokens.rightContentTop}: 0.5rem; + ${textAreaTokens.rightContentRight}: 0.75rem; ${textAreaTokens.rightContentHeight}: 1rem; ${textAreaTokens.labelMarginBottom}: 0.375rem; ${textAreaTokens.clearLabelMarginBottom}: 0.25rem; @@ -57,7 +57,8 @@ export const config = { ${textAreaTokens.indicatorLabelPlacementInner}: 0 0 0 0; ${textAreaTokens.indicatorLabelPlacementOuter}: 0.25rem auto auto -0.625rem; ${textAreaTokens.indicatorLabelPlacementInnerRight}: 0 0 auto auto; - ${textAreaTokens.indicatorLabelPlacementOuterRight}: 0.125rem -0.675rem auto auto; + ${textAreaTokens.indicatorLabelPlacementOuterRight}: 0.125rem -0.625rem auto auto; + ${textAreaTokens.indicatorLabelPlacementHintOuterRight}: -0.375rem; ${textAreaTokens.clearIndicatorLabelPlacementInner}: 0.813rem auto auto -0.625rem; ${textAreaTokens.clearIndicatorLabelPlacementInnerRight}: 0.813rem -0.625rem auto auto; ${textAreaTokens.clearIndicatorHintInnerRight}: 0.813rem -1.875rem auto auto; @@ -86,37 +87,38 @@ export const config = { /* stylelint-disable-next-line number-max-precision */ ${textAreaTokens.borderSize}: 0.0625rem; ${textAreaTokens.borderRadiusWithHelpers}: 0.625rem 0.625rem 0 0; - ${textAreaTokens.inputPaddingTop}: 0.688rem; - ${textAreaTokens.inputPaddingRight}: 0.875rem; - ${textAreaTokens.inputPaddingRightWithRightContent}: 3.125rem; + ${textAreaTokens.inputPaddingTop}: 0.813rem; + ${textAreaTokens.inputPaddingRight}: 0.75rem; + ${textAreaTokens.inputPaddingRightWithRightContent}: 2.5rem; ${textAreaTokens.clearInputPaddingRightWithRightContent}: 2rem; ${textAreaTokens.inputPaddingBottom}: 0.75rem; - ${textAreaTokens.inputPaddingLeft}: 0.875rem; + ${textAreaTokens.inputPaddingLeft}: 0.75rem; ${textAreaTokens.helpersPaddingTop}: 0.75rem; ${textAreaTokens.clearHelpersPaddingTop}: 0.25rem; - ${textAreaTokens.helpersPaddingRight}: 0.875rem; + ${textAreaTokens.helpersPaddingRight}: 0.75rem; ${textAreaTokens.helpersPaddingBottom}: 0.75rem; - ${textAreaTokens.helpersPaddingLeft}: 0.875rem; + ${textAreaTokens.helpersPaddingLeft}: 0.75rem; ${textAreaTokens.helpersOffset}: 0rem; - ${textAreaTokens.rightContentTop}: 0.688rem; + ${textAreaTokens.rightContentTop}: 0.75rem; ${textAreaTokens.rightContentRight}: 0.75rem; - ${textAreaTokens.rightContentHeight}: 1.25rem; + ${textAreaTokens.rightContentHeight}: 1rem; ${textAreaTokens.labelMarginBottom}: 0.5rem; ${textAreaTokens.clearLabelMarginBottom}: 0.25rem; - ${textAreaTokens.labelInnerFontFamily}: var(--plasma-typo-body-xs-font-family); - ${textAreaTokens.labelInnerFontSize}: var(--plasma-typo-body-xs-font-size); - ${textAreaTokens.labelInnerFontStyle}: var(--plasma-typo-body-xs-font-style); - ${textAreaTokens.labelInnerFontWeight}: var(--plasma-typo-body-xs-font-weight); - ${textAreaTokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); - ${textAreaTokens.labelInnerLineHeight}: var(--plasma-typo-body-xs-line-height); + ${textAreaTokens.labelInnerFontFamily}: var(--plasma-typo-body-xxs-font-family); + ${textAreaTokens.labelInnerFontSize}: var(--plasma-typo-body-xxs-font-size); + ${textAreaTokens.labelInnerFontStyle}: var(--plasma-typo-body-xxs-font-style); + ${textAreaTokens.labelInnerFontWeight}: var(--plasma-typo-body-xxs-font-weight); + ${textAreaTokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${textAreaTokens.labelInnerLineHeight}: var(--plasma-typo-body-xxs-line-height); ${textAreaTokens.labelInnerTop}: 0.375rem; + ${textAreaTokens.labelInnerTopHelper}: 0.063rem; ${textAreaTokens.labelInnerMarginBottom}: 0.125rem; - ${textAreaTokens.inputFontFamily}: var(--plasma-typo-body-s-font-family); - ${textAreaTokens.inputFontSize}: var(--plasma-typo-body-s-font-size); - ${textAreaTokens.inputFontStyle}: var(--plasma-typo-body-s-font-style); - ${textAreaTokens.inputFontWeight}: var(--plasma-typo-body-s-font-weight); - ${textAreaTokens.inputLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); - ${textAreaTokens.inputLineHeight}: var(--plasma-typo-body-s-line-height); + ${textAreaTokens.inputFontFamily}: var(--plasma-typo-body-xs-font-family); + ${textAreaTokens.inputFontSize}: var(--plasma-typo-body-xs-font-size); + ${textAreaTokens.inputFontStyle}: var(--plasma-typo-body-xs-font-style); + ${textAreaTokens.inputFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${textAreaTokens.inputLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${textAreaTokens.inputLineHeight}: var(--plasma-typo-body-xs-line-height); ${textAreaTokens.helpersFontFamily}: var(--plasma-typo-body-xs-font-family); ${textAreaTokens.helpersFontSize}: var(--plasma-typo-body-xs-font-size); ${textAreaTokens.helpersFontStyle}: var(--plasma-typo-body-xs-font-style); @@ -126,9 +128,10 @@ export const config = { ${textAreaTokens.indicatorSizeInner}: 0.375rem; ${textAreaTokens.indicatorSizeOuter}: 0.375rem; ${textAreaTokens.indicatorLabelPlacementInner}: 0 0 0 0; - ${textAreaTokens.indicatorLabelPlacementOuter}: 0.375rem auto auto -0.675rem; + ${textAreaTokens.indicatorLabelPlacementOuter}: 0.25rem auto auto -0.675rem; ${textAreaTokens.indicatorLabelPlacementInnerRight}: 0 0 auto auto; - ${textAreaTokens.indicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto; + ${textAreaTokens.indicatorLabelPlacementOuterRight}: 0.125rem -0.625rem auto auto; + ${textAreaTokens.indicatorLabelPlacementHintOuterRight}: -0.25rem; ${textAreaTokens.clearIndicatorLabelPlacementInner}: 1.063rem auto auto -0.75rem; ${textAreaTokens.clearIndicatorLabelPlacementInnerRight}: 1.063rem -0.75rem auto auto; ${textAreaTokens.clearIndicatorHintInnerRight}: 1.063rem -2.125rem auto auto; @@ -157,37 +160,38 @@ export const config = { /* stylelint-disable-next-line number-max-precision */ ${textAreaTokens.borderSize}: 0.0625rem; ${textAreaTokens.borderRadiusWithHelpers}: 0.75rem 0.75rem 0 0; - ${textAreaTokens.inputPaddingTop}: 0.875rem; + ${textAreaTokens.inputPaddingTop}: 1.188rem; ${textAreaTokens.inputPaddingRight}: 1rem; - ${textAreaTokens.inputPaddingRightWithRightContent}: 3.375rem; + ${textAreaTokens.inputPaddingRightWithRightContent}: 3rem; ${textAreaTokens.clearInputPaddingRightWithRightContent}: 2.125rem; ${textAreaTokens.inputPaddingBottom}: 0.75rem; ${textAreaTokens.inputPaddingLeft}: 1rem; ${textAreaTokens.helpersPaddingTop}: 0.75rem; ${textAreaTokens.clearHelpersPaddingTop}: 0.25rem; ${textAreaTokens.helpersPaddingRight}: 1rem; - ${textAreaTokens.helpersPaddingBottom}: 0.75rem; + ${textAreaTokens.helpersPaddingBottom}: 0.875rem; ${textAreaTokens.helpersPaddingLeft}: 1rem; ${textAreaTokens.helpersOffset}: 0rem; ${textAreaTokens.rightContentTop}: 0.875rem; - ${textAreaTokens.rightContentRight}: 0.875rem; + ${textAreaTokens.rightContentRight}: 1rem; ${textAreaTokens.rightContentHeight}: 1.25rem; ${textAreaTokens.labelMarginBottom}: 0.625rem; ${textAreaTokens.clearLabelMarginBottom}: 0.25rem; - ${textAreaTokens.labelInnerFontFamily}: var(--plasma-typo-body-xs-font-family); - ${textAreaTokens.labelInnerFontSize}: var(--plasma-typo-body-xs-font-size); - ${textAreaTokens.labelInnerFontStyle}: var(--plasma-typo-body-xs-font-style); - ${textAreaTokens.labelInnerFontWeight}: var(--plasma-typo-body-xs-font-weight); - ${textAreaTokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); - ${textAreaTokens.labelInnerLineHeight}: var(--plasma-typo-body-xs-line-height); - ${textAreaTokens.labelInnerTop}: 0.375rem; - ${textAreaTokens.labelInnerMarginBottom}: 0.125rem; - ${textAreaTokens.inputFontFamily}: var(--plasma-typo-body-m-font-family); - ${textAreaTokens.inputFontSize}: var(--plasma-typo-body-m-font-size); - ${textAreaTokens.inputFontStyle}: var(--plasma-typo-body-m-font-style); - ${textAreaTokens.inputFontWeight}: var(--plasma-typo-body-m-font-weight); - ${textAreaTokens.inputLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); - ${textAreaTokens.inputLineHeight}: var(--plasma-typo-body-m-line-height); + ${textAreaTokens.labelInnerFontFamily}: var(--plasma-typo-body-xxs-font-family); + ${textAreaTokens.labelInnerFontSize}: var(--plasma-typo-body-xxs-font-size); + ${textAreaTokens.labelInnerFontStyle}: var(--plasma-typo-body-xxs-font-style); + ${textAreaTokens.labelInnerFontWeight}: var(--plasma-typo-body-xxs-font-weight); + ${textAreaTokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing); + ${textAreaTokens.labelInnerLineHeight}: var(--plasma-typo-body-xxs-line-height); + ${textAreaTokens.labelInnerTop}: 0.5rem; + ${textAreaTokens.labelInnerTopHelper}: -0.313rem; + ${textAreaTokens.labelInnerMarginBottom}: 0.25rem; + ${textAreaTokens.inputFontFamily}: var(--plasma-typo-body-xs-font-family); + ${textAreaTokens.inputFontSize}: var(--plasma-typo-body-xs-font-size); + ${textAreaTokens.inputFontStyle}: var(--plasma-typo-body-xs-font-style); + ${textAreaTokens.inputFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${textAreaTokens.inputLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${textAreaTokens.inputLineHeight}: var(--plasma-typo-body-xs-line-height); ${textAreaTokens.helpersFontFamily}: var(--plasma-typo-body-xs-font-family); ${textAreaTokens.helpersFontSize}: var(--plasma-typo-body-xs-font-size); ${textAreaTokens.helpersFontStyle}: var(--plasma-typo-body-xs-font-style); @@ -198,10 +202,11 @@ export const config = { ${textAreaTokens.indicatorSizeOuter}: 0.375rem; ${textAreaTokens.indicatorLabelPlacementInner}: 0 0 0 0; /* stylelint-disable-next-line number-max-precision */ - ${textAreaTokens.indicatorLabelPlacementOuter}: 0.4375rem auto auto -0.675rem; + ${textAreaTokens.indicatorLabelPlacementOuter}: 0.25rem auto auto -0.675rem; ${textAreaTokens.indicatorLabelPlacementInnerRight}: 0 0 auto auto; /* stylelint-disable-next-line number-max-precision */ - ${textAreaTokens.indicatorLabelPlacementOuterRight}: 0.1875rem -0.625rem auto auto; + ${textAreaTokens.indicatorLabelPlacementOuterRight}: 0.125rem -0.625rem auto auto; + ${textAreaTokens.indicatorLabelPlacementHintOuterRight}: -0.25rem; ${textAreaTokens.clearIndicatorLabelPlacementInner}: 1.25rem auto auto -0.875rem; ${textAreaTokens.clearIndicatorLabelPlacementInnerRight}: 1.25rem -0.875rem auto auto; ${textAreaTokens.clearIndicatorHintInnerRight}: 1.25rem -2.25rem auto auto; @@ -232,19 +237,19 @@ export const config = { ${textAreaTokens.borderRadiusWithHelpers}: 0.875rem 0.875rem 0 0; ${textAreaTokens.inputPaddingTop}: 1.063rem; ${textAreaTokens.inputPaddingRight}: 1.125rem; - ${textAreaTokens.inputPaddingRightWithRightContent}: 3.625rem; + ${textAreaTokens.inputPaddingRightWithRightContent}: 3.375rem; ${textAreaTokens.clearInputPaddingRightWithRightContent}: 2.25rem; ${textAreaTokens.inputPaddingBottom}: 0.75rem; ${textAreaTokens.inputPaddingLeft}: 1.125rem; ${textAreaTokens.helpersPaddingTop}: 0.75rem; ${textAreaTokens.clearHelpersPaddingTop}: 0.25rem; ${textAreaTokens.helpersPaddingRight}: 1.125rem; - ${textAreaTokens.helpersPaddingBottom}: 0.75rem; + ${textAreaTokens.helpersPaddingBottom}: 0.875rem; ${textAreaTokens.helpersPaddingLeft}: 1.125rem; ${textAreaTokens.helpersOffset}: 0rem; - ${textAreaTokens.rightContentTop}: 1.063rem; - ${textAreaTokens.rightContentRight}: 1rem; - ${textAreaTokens.rightContentHeight}: 1.25rem; + ${textAreaTokens.rightContentTop}: 1rem; + ${textAreaTokens.rightContentRight}: 1.125rem; + ${textAreaTokens.rightContentHeight}: 1.5rem; ${textAreaTokens.labelMarginBottom}: 0.75rem; ${textAreaTokens.clearLabelMarginBottom}: 0.25rem; ${textAreaTokens.labelInnerFontFamily}: var(--plasma-typo-body-xs-font-family); @@ -253,14 +258,87 @@ export const config = { ${textAreaTokens.labelInnerFontWeight}: var(--plasma-typo-body-xs-font-weight); ${textAreaTokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); ${textAreaTokens.labelInnerLineHeight}: var(--plasma-typo-body-xs-line-height); - ${textAreaTokens.labelInnerTop}: 0.563rem; - ${textAreaTokens.labelInnerMarginBottom}: 0.125rem; - ${textAreaTokens.inputFontFamily}: var(--plasma-typo-body-l-font-family); - ${textAreaTokens.inputFontSize}: var(--plasma-typo-body-l-font-size); - ${textAreaTokens.inputFontStyle}: var(--plasma-typo-body-l-font-style); - ${textAreaTokens.inputFontWeight}: var(--plasma-typo-body-l-font-weight); - ${textAreaTokens.inputLetterSpacing}: var(--plasma-typo-body-l-letter-spacing); - ${textAreaTokens.inputLineHeight}: var(--plasma-typo-body-l-line-height); + ${textAreaTokens.labelInnerTop}: 0.813rem; + ${textAreaTokens.labelInnerMarginBottom}: 0.313rem; + ${textAreaTokens.inputFontFamily}: var(--plasma-typo-body-s-font-family); + ${textAreaTokens.inputFontSize}: var(--plasma-typo-body-s-font-size); + ${textAreaTokens.inputFontStyle}: var(--plasma-typo-body-s-font-style); + ${textAreaTokens.inputFontWeight}: var(--plasma-typo-body-s-font-weight); + ${textAreaTokens.inputLetterSpacing}: var(--plasma-typo-body-s-letter-spacing); + ${textAreaTokens.inputLineHeight}: var(--plasma-typo-body-s-line-height); + ${textAreaTokens.helpersFontFamily}: var(--plasma-typo-body-xs-font-family); + ${textAreaTokens.helpersFontSize}: var(--plasma-typo-body-xs-font-size); + ${textAreaTokens.helpersFontStyle}: var(--plasma-typo-body-xs-font-style); + ${textAreaTokens.helpersFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${textAreaTokens.helpersLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${textAreaTokens.helpersLineHeight}: var(--plasma-typo-body-xs-line-height); + ${textAreaTokens.indicatorSizeInner}: 0.5rem; + ${textAreaTokens.indicatorSizeOuter}: 0.375rem; + ${textAreaTokens.indicatorLabelPlacementInner}: 0 0 0 0; + ${textAreaTokens.indicatorLabelPlacementOuter}: 0.375rem auto auto -0.675rem; + ${textAreaTokens.indicatorLabelPlacementInnerRight}: 0 0 auto auto; + ${textAreaTokens.indicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto; + ${textAreaTokens.indicatorLabelPlacementHintOuterRight}: -0.25rem; + ${textAreaTokens.clearIndicatorLabelPlacementInner}: 1.5rem auto auto -0.875rem; + ${textAreaTokens.clearIndicatorLabelPlacementInnerRight}: 1.5rem -0.875rem auto auto; + ${textAreaTokens.clearIndicatorHintInnerRight}: 1.5rem -2.25rem auto auto; + + ${textAreaTokens.scrollbarWidth}: 0.188rem; + ${textAreaTokens.scrollbarBorderWidth}: 0.063rem; + + ${textAreaTokens.hintMargin}: -0.688rem -0.5rem; + ${textAreaTokens.hintTargetSize}: 2.375rem; + ${textAreaTokens.hintInnerLabelPlacementOffset}: -0.751rem -2rem auto auto; + ${textAreaTokens.clearHintInnerLabelPlacementOffset}: 0.562rem -2.063rem auto auto; + + ${textAreaTokens.titleCaptionInnerLabelOffset}: 0.25rem; + ${textAreaTokens.titleCaptionFontFamily}: var(--plasma-typo-body-xs-font-family); + ${textAreaTokens.titleCaptionFontSize}: var(--plasma-typo-body-xs-font-size); + ${textAreaTokens.titleCaptionFontStyle}: var(--plasma-typo-body-xs-font-style); + ${textAreaTokens.titleCaptionFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${textAreaTokens.titleCaptionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${textAreaTokens.titleCaptionLineHeight}: var(--plasma-typo-body-xs-line-height); + `, + xl: css` + ${textAreaTokens.inputWidth}: 100%; + ${textAreaTokens.inputHeight}: 6.812rem; + ${textAreaTokens.inputMinHeight}: 1.625rem; + ${textAreaTokens.borderRadius}: 1rem; + /* stylelint-disable-next-line number-max-precision */ + ${textAreaTokens.borderSize}: 0.0625rem; + ${textAreaTokens.borderRadiusWithHelpers}: 1rem 1rem 0 0; + ${textAreaTokens.inputPaddingTop}: 1.313rem; + ${textAreaTokens.inputPaddingRight}: 1.25rem; + ${textAreaTokens.inputPaddingRightWithRightContent}: 3.5rem; + ${textAreaTokens.clearInputPaddingRightWithRightContent}: 2.5rem; + ${textAreaTokens.inputPaddingBottom}: 0.75rem; + ${textAreaTokens.inputPaddingLeft}: 1.25rem; + ${textAreaTokens.helpersPaddingTop}: 0.75rem; + ${textAreaTokens.clearHelpersPaddingTop}: 0.25rem; + ${textAreaTokens.helpersPaddingRight}: 1.25rem; + ${textAreaTokens.helpersPaddingBottom}: 0.875rem; + ${textAreaTokens.helpersPaddingLeft}: 1.25rem; + ${textAreaTokens.helpersOffset}: 0rem; + ${textAreaTokens.rightContentTop}: 1.25rem; + ${textAreaTokens.rightContentRight}: 1.25rem; + ${textAreaTokens.rightContentHeight}: 1.5rem; + ${textAreaTokens.labelMarginBottom}: 0.75rem; + ${textAreaTokens.clearLabelMarginBottom}: 0.25rem; + ${textAreaTokens.labelInnerFontFamily}: var(--plasma-typo-body-xs-font-family); + ${textAreaTokens.labelInnerFontSize}: var(--plasma-typo-body-xs-font-size); + ${textAreaTokens.labelInnerFontStyle}: var(--plasma-typo-body-xs-font-style); + ${textAreaTokens.labelInnerFontWeight}: var(--plasma-typo-body-xs-font-weight); + ${textAreaTokens.labelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing); + ${textAreaTokens.labelInnerLineHeight}: var(--plasma-typo-body-xs-line-height); + ${textAreaTokens.labelInnerTop}: 0.813rem; + ${textAreaTokens.labelInnerTopHelper}: -0.313rem; + ${textAreaTokens.labelInnerMarginBottom}: 0.25rem; + ${textAreaTokens.inputFontFamily}: var(--plasma-typo-body-m-font-family); + ${textAreaTokens.inputFontSize}: var(--plasma-typo-body-m-font-size); + ${textAreaTokens.inputFontStyle}: var(--plasma-typo-body-m-font-style); + ${textAreaTokens.inputFontWeight}: var(--plasma-typo-body-m-font-weight); + ${textAreaTokens.inputLetterSpacing}: var(--plasma-typo-body-m-letter-spacing); + ${textAreaTokens.inputLineHeight}: var(--plasma-typo-body-m-line-height); ${textAreaTokens.helpersFontFamily}: var(--plasma-typo-body-xs-font-family); ${textAreaTokens.helpersFontSize}: var(--plasma-typo-body-xs-font-size); ${textAreaTokens.helpersFontStyle}: var(--plasma-typo-body-xs-font-style); @@ -273,6 +351,7 @@ export const config = { ${textAreaTokens.indicatorLabelPlacementOuter}: 0.5rem auto auto -0.675rem; ${textAreaTokens.indicatorLabelPlacementInnerRight}: 0 0 auto auto; ${textAreaTokens.indicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto; + ${textAreaTokens.indicatorLabelPlacementHintOuterRight}: -0.25rem; ${textAreaTokens.clearIndicatorLabelPlacementInner}: 1.5rem auto auto -0.875rem; ${textAreaTokens.clearIndicatorLabelPlacementInnerRight}: 1.5rem -0.875rem auto auto; ${textAreaTokens.clearIndicatorHintInnerRight}: 1.5rem -2.25rem auto auto; @@ -296,17 +375,13 @@ export const config = { }, view: { default: css` - ${textAreaTokens.borderColor}: transparent; - ${textAreaTokens.borderColorFocus}: var(--outline-solid-secondary-active); - ${textAreaTokens.borderColorHover}: var(--outline-solid-secondary-hover); - ${textAreaTokens.inputBackgroundColor}: var(--surface-transparent-card); - ${textAreaTokens.inputBackgroundColorHover}: var(--surface-transparent-card-hover); - ${textAreaTokens.inputBackgroundColorActive}: var(--surface-transparent-card-active); - ${textAreaTokens.inputBackgroundColorFocus}: var(--surface-transparent-card); - ${textAreaTokens.helpersBackgroundColor}: var(--surface-transparent-card); - ${textAreaTokens.helpersBackgroundColorHover}: var(--surface-transparent-card-hover); - ${textAreaTokens.helpersBackgroundColorActive}: var(--surface-transparent-card-active); - ${textAreaTokens.helpersBackgroundColorFocus}: var(--surface-transparent-card); + ${textAreaTokens.borderColor}: var(--outline-clear); + ${textAreaTokens.borderColorFocus}: var(--outline-solid-secondary); + ${textAreaTokens.borderColorHover}: var(--outline-clear); + ${textAreaTokens.backgroundColor}: var(--surface-transparent-card); + ${textAreaTokens.backgroundColorHover}: var(--surface-transparent-card-hover); + ${textAreaTokens.backgroundColorActive}: var(--surface-transparent-card-active); + ${textAreaTokens.backgroundColorFocus}: var(--surface-transparent-card); ${textAreaTokens.labelOuterColor}: var(--text-primary); ${textAreaTokens.inputColor}: var(--text-primary); ${textAreaTokens.clearInputColor}: var(--text-primary); @@ -334,25 +409,22 @@ export const config = { ${textAreaTokens.dividerColorFocus}: var(--surface-accent); ${textAreaTokens.titleCaptionColor}: var(--text-secondary); ${textAreaTokens.hintIconColor}: var(--text-secondary); + ${textAreaTokens.boxShadow}: var(--shadow-down-soft-s); `, warning: css` ${textAreaTokens.borderColor}: var(--outline-warning-minor); ${textAreaTokens.borderColorFocus}: var(--outline-warning-minor-active); ${textAreaTokens.borderColorHover}: var(--outline-warning-minor-hover); - ${textAreaTokens.inputBackgroundColor}: var(--surface-transparent-card); - ${textAreaTokens.inputBackgroundColorHover}: var(--surface-transparent-card-hover); - ${textAreaTokens.inputBackgroundColorActive}: var(--surface-transparent-card-active); - ${textAreaTokens.inputBackgroundColorFocus}: var(--surface-transparent-card); - ${textAreaTokens.helpersBackgroundColor}: var(--surface-transparent-card); - ${textAreaTokens.helpersBackgroundColorHover}: var(--surface-transparent-card-hover); - ${textAreaTokens.helpersBackgroundColorActive}: var(--surface-transparent-card-active); - ${textAreaTokens.helpersBackgroundColorFocus}: var(--surface-transparent-card); + ${textAreaTokens.backgroundColor}: var(--surface-transparent-card); + ${textAreaTokens.backgroundColorHover}: var(--surface-transparent-card-hover); + ${textAreaTokens.backgroundColorActive}: var(--surface-transparent-card-active); + ${textAreaTokens.backgroundColorFocus}: var(--surface-transparent-card); ${textAreaTokens.labelOuterColor}: var(--text-primary); ${textAreaTokens.inputColor}: color-mix(in oklab, var(--text-warning) 70%, transparent); ${textAreaTokens.clearInputColor}: color-mix(in oklab, var(--text-warning) 70%, transparent); ${textAreaTokens.clearPlaceholderColor}: var(--text-secondary); ${textAreaTokens.inputColorFocus}: color-mix(in oklab, var(--text-warning) 70%, transparent); - ${textAreaTokens.inputCaretColor}: color-mix(in oklab, var(--text-warning) 70%, transparent); + ${textAreaTokens.inputCaretColor}: var(--text-accent); ${textAreaTokens.placeholderColor}: var(--text-secondary); ${textAreaTokens.placeholderColorFocus}: var(--text-tertiary); ${textAreaTokens.clearPlaceholderColorFocus}: var(--text-tertiary); @@ -374,25 +446,22 @@ export const config = { ${textAreaTokens.dividerColorFocus}: var(--surface-accent); ${textAreaTokens.titleCaptionColor}: var(--text-secondary); ${textAreaTokens.hintIconColor}: var(--text-secondary); + ${textAreaTokens.boxShadow}: var(--shadow-down-soft-s); `, negative: css` ${textAreaTokens.borderColor}: var(--outline-negative-minor); ${textAreaTokens.borderColorFocus}: var(--outline-negative-minor-active); ${textAreaTokens.borderColorHover}: var(--outline-negative-minor-hover); - ${textAreaTokens.inputBackgroundColor}: var(--surface-transparent-card); - ${textAreaTokens.inputBackgroundColorHover}: var(--surface-transparent-card-hover); - ${textAreaTokens.inputBackgroundColorActive}: var(--surface-transparent-card-active); - ${textAreaTokens.inputBackgroundColorFocus}: var(--surface-transparent-card); - ${textAreaTokens.helpersBackgroundColor}: var(--surface-transparent-card); - ${textAreaTokens.helpersBackgroundColorHover}: var(--surface-transparent-card-hover); - ${textAreaTokens.helpersBackgroundColorActive}: var(--surface-transparent-card-active); - ${textAreaTokens.helpersBackgroundColorFocus}: var(--surface-transparent-card); + ${textAreaTokens.backgroundColor}: var(--surface-transparent-card); + ${textAreaTokens.backgroundColorHover}: var(--surface-transparent-card-hover); + ${textAreaTokens.backgroundColorActive}: var(--surface-transparent-card-active); + ${textAreaTokens.backgroundColorFocus}: var(--surface-transparent-card); ${textAreaTokens.labelOuterColor}: var(--text-primary); ${textAreaTokens.inputColor}: color-mix(in oklab, var(--text-negative) 70%, transparent); ${textAreaTokens.clearInputColor}: color-mix(in oklab, var(--text-negative) 70%, transparent); ${textAreaTokens.clearPlaceholderColor}: var(--text-secondary); ${textAreaTokens.inputColorFocus}: color-mix(in oklab, var(--text-negative) 70%, transparent); - ${textAreaTokens.inputCaretColor}: color-mix(in oklab, var(--text-negative) 70%, transparent); + ${textAreaTokens.inputCaretColor}: var(--text-accent); ${textAreaTokens.placeholderColor}: var(--text-secondary); ${textAreaTokens.placeholderColorFocus}: var(--text-tertiary); ${textAreaTokens.clearPlaceholderColorFocus}: var(--text-tertiary); @@ -414,6 +483,7 @@ export const config = { ${textAreaTokens.dividerColorFocus}: var(--surface-accent); ${textAreaTokens.titleCaptionColor}: var(--text-secondary); ${textAreaTokens.hintIconColor}: var(--text-secondary); + ${textAreaTokens.boxShadow}: var(--shadow-down-soft-s); `, }, hintView: { @@ -489,6 +559,7 @@ export const config = { ${textAreaTokens.inputColorDisabled}: var(--text-secondary); ${textAreaTokens.dividerColorReadOnly}: var(--surface-transparent-primary); ${textAreaTokens.titleCaptionColorReadOnly}: var(--text-secondary); + ${textAreaTokens.boxShadow}: inset 0 0 0 0 transparent; `, }, readOnly: { @@ -503,6 +574,7 @@ export const config = { ${textAreaTokens.inputColorFocus}: var(--text-primary); ${textAreaTokens.placeholderColorFocus}: var(--text-primary); ${textAreaTokens.labelOuterColor}: var(--text-primary); + ${textAreaTokens.boxShadow}: inset 0 0 0 0 transparent; `, }, }, diff --git a/packages/sdds-insol/src/components/TextArea/TextArea.stories.tsx b/packages/sdds-insol/src/components/TextArea/TextArea.stories.tsx index d732072bb1..2210a999e5 100644 --- a/packages/sdds-insol/src/components/TextArea/TextArea.stories.tsx +++ b/packages/sdds-insol/src/components/TextArea/TextArea.stories.tsx @@ -1,6 +1,7 @@ import React, { useState } from 'react'; import type { ComponentProps } from 'react'; import type { Meta, StoryObj } from '@storybook/react'; +import styled from 'styled-components'; import { action } from '@storybook/addon-actions'; import { IconBell } from '@salutejs/plasma-icons'; import { InSpacingDecorator, disableProps } from '@salutejs/plasma-sb-utils'; @@ -17,7 +18,7 @@ type StoryTextAreaPropsCustom = { type StoryTextAreaProps = ComponentProps & StoryTextAreaPropsCustom; -const sizes = ['xs', 's', 'm', 'l']; +const sizes = ['xs', 's', 'm', 'l', 'xl']; const views = ['default', 'warning', 'negative']; const hintViews = ['default']; const hintSizes = ['m', 's']; @@ -43,7 +44,7 @@ const placements: Array = [ ]; const meta: Meta = { - title: 'Controls/TextArea', + title: 'Data Entry/TextArea', decorators: [InSpacingDecorator], component: TextArea, argTypes: { @@ -173,6 +174,8 @@ const meta: Meta = { args: { id: 'example-textarea', enableContentRight: true, + size: 'm', + view: 'default', label: 'Лейбл', placeholder: 'Заполните многострочное поле', titleCaption: 'Подпись к полю', @@ -205,15 +208,27 @@ const onChange = action('onChange'); const onFocus = action('onFocus'); const onBlur = action('onBlur'); +const StyledIconBell = styled(IconBell)<{ customSize?: string }>` + ${({ customSize }) => + customSize && + ` + width: ${customSize}; + height: ${customSize}; + `} +`; + const StoryDefault = (props: StoryTextAreaProps) => { const [value, setValue] = useState('Значение поля'); - const iconSize = props.size === 'xs' ? 'xs' : 's'; + const iconSize = props.size === 'xs' || props.size === 's' ? 'xs' : 's'; + const iconCustomSize = props.size === 'm' ? '1.25rem' : undefined; return (