diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dbb7bdb..e9edea5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,7 @@ on: paths: # - 'src/**' - '.changeset/**' + - 'CHANGELOG.md' jobs: release: diff --git a/CHANGELOG.md b/CHANGELOG.md index f2d0200..4b35d4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,10 @@ # @miksoft/simple-uikit -## 1.0.5 - -### Patch Changes - -- Testing deploy UI package - ## 1.0.4 ### Patch Changes -- Added descriptions for Dialog Props UI Component -- 7616398: Added descriptions for Container Props UI Component +- Testing CI/CD ## 1.0.3 diff --git a/package.json b/package.json index 9f8d4cd..40a3e82 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { "name": "@miksoft/simple-uikit", - "version": "1.0.5", + "version": "1.0.4", "description": "My small UI framework for projects", "repository": "https://github.com/miksrv/simple-uikit.git", "scripts": { "build": "webpack", - "changeset": "npx changeset && npx changeset version", + "changeset": "npx changeset", + "changeversion": "npx changeset version", "release": "changeset publish", "start": "webpack serve --config example/webpack.config.js", "eslint:check": "eslint", diff --git a/src/input/Input.tsx b/src/input/Input.tsx index 64b246e..e8d3b42 100644 --- a/src/input/Input.tsx +++ b/src/input/Input.tsx @@ -4,26 +4,11 @@ import styles from './styles.module.sass' import { concatClassNames as cn } from '@/tools' -/** - * Props for the Input component. - * - * @interface InputProps - * @extends {React.InputHTMLAttributes} - * @property {string} [label] - The label for the input field. - * @property {string} [error] - Error message to display below the input. - */ interface InputProps extends React.InputHTMLAttributes { label?: string error?: string } -/** - * A functional component that renders an input field with an optional label and error message. - * @param label - * @param error - * @param props - * @returns {JSX.Element} The rendered input component. - */ const Input: React.FC = ({ label, error, ...props }: InputProps): JSX.Element => (