From 8f86e10fd4c48f5becab31af3ddd3363b07124d3 Mon Sep 17 00:00:00 2001 From: Aleksey Konstantinov Date: Thu, 7 Dec 2023 18:18:00 +0300 Subject: [PATCH] ULMS-2633 Added data-testid attributes --- package-lock.json | 4 +- package.json | 2 +- packages/button/package-lock.json | 4 +- packages/button/package.json | 2 +- packages/button/src/button.jsx | 3 +- packages/drawing-toolbar/package-lock.json | 4 +- packages/drawing-toolbar/package.json | 2 +- .../src/components/color-settings.jsx | 38 +++++++++++-------- .../src/components/font-settings.jsx | 11 +++++- .../src/components/icon-group-settings.jsx | 3 +- .../src/components/line-group.jsx | 4 ++ .../src/components/line-settings.jsx | 8 ++++ .../src/components/pen-group.jsx | 4 ++ .../src/components/shape-group.jsx | 9 +++++ .../src/components/text-group.jsx | 1 + .../src/components/toolbar-button.jsx | 12 +++--- .../drawing-toolbar/src/drawing-toolbar.jsx | 7 ++++ .../action-button-group.jsx | 1 + 18 files changed, 85 insertions(+), 34 deletions(-) diff --git a/package-lock.json b/package-lock.json index 29650516..163848b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ulms/components", - "version": "2.2.1", + "version": "2.2.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@ulms/components", - "version": "2.2.1", + "version": "2.2.2", "license": "BSD-4-Clause", "dependencies": { "classnames-es": "^2.2.6", diff --git a/package.json b/package.json index 5287483a..0b98dfbf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ulms/components", - "version": "2.2.1", + "version": "2.2.2", "description": "UI components library", "homepage": "https://github.com/netology-group/ulms-media-ui", "bugs": { diff --git a/packages/button/package-lock.json b/packages/button/package-lock.json index 9666665b..8f9d77e2 100644 --- a/packages/button/package-lock.json +++ b/packages/button/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ulms/ui-button", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@ulms/ui-button", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "dependencies": { "classnames-es": "^2.2.6" diff --git a/packages/button/package.json b/packages/button/package.json index a3787e4b..4a2e5a41 100644 --- a/packages/button/package.json +++ b/packages/button/package.json @@ -1,6 +1,6 @@ { "name": "@ulms/ui-button", - "version": "1.0.1", + "version": "1.0.2", "description": "", "keywords": [ "lerna" diff --git a/packages/button/src/button.jsx b/packages/button/src/button.jsx index a8804dcf..af110ca4 100644 --- a/packages/button/src/button.jsx +++ b/packages/button/src/button.jsx @@ -6,12 +6,13 @@ import css from './button.module.css' function Button (props) { const { - active, children, className, disabled, onClick, title, + active, children, className, dataTestId, disabled, onClick, title, } = props return (