From ff82a113dd3bb0e2dfc57194c364fa032cd32132 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 9 Dec 2025 18:37:08 +0000 Subject: [PATCH 1/2] Initial plan From 3a45f556c5e83086d7426ee8b6a003289fe914f8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 9 Dec 2025 18:44:25 +0000 Subject: [PATCH 2/2] Add MIT license header to all source files Co-authored-by: maxirmx <2081498+maxirmx@users.noreply.github.com> --- eslint.config.js | 22 +++++++++++++++++++ src/__tests__/index.test.ts | 22 +++++++++++++++++++ src/components/ActionButton.vue | 20 ++++++++++++++++- src/components/ActionButton2L.vue | 20 ++++++++++++++++- src/components/__tests__/ActionButton.spec.ts | 20 ++++++++++++++++- .../__tests__/ActionButton2L.spec.ts | 20 ++++++++++++++++- src/components/uiKitShared.ts | 20 ++++++++++++++++- src/index.ts | 22 +++++++++++++++++++ vite.config.ts | 22 +++++++++++++++++++ 9 files changed, 183 insertions(+), 5 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index cbe49fb..06b36b3 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,3 +1,25 @@ +// Copyright (C) 2025 Maxim [maxirmx] Samsonov (www.sw.consulting) +// All rights reserved. +// This file is a part of UI Kit +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + import js from '@eslint/js' import typescript from '@typescript-eslint/eslint-plugin' import tsParser from '@typescript-eslint/parser' diff --git a/src/__tests__/index.test.ts b/src/__tests__/index.test.ts index 562f9ca..1ae523c 100644 --- a/src/__tests__/index.test.ts +++ b/src/__tests__/index.test.ts @@ -1,3 +1,25 @@ +// Copyright (C) 2025 Maxim [maxirmx] Samsonov (www.sw.consulting) +// All rights reserved. +// This file is a part of UI Kit +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + import { describe, it, expect } from 'vitest' import { version } from '../index' diff --git a/src/components/ActionButton.vue b/src/components/ActionButton.vue index aa7030e..5bb28df 100644 --- a/src/components/ActionButton.vue +++ b/src/components/ActionButton.vue @@ -1,7 +1,25 @@