Skip to content

Commit

Permalink
Testing publish new UI version (#8)
Browse files Browse the repository at this point in the history
Co-authored-by: Misha Topchilo <[email protected]>
  • Loading branch information
miksrv and miksrv authored Oct 2, 2024
1 parent 7991d45 commit 216fb80
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 25 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
paths:
# - 'src/**'
- '.changeset/**'
- 'CHANGELOG.md'

jobs:
release:
Expand Down
9 changes: 1 addition & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
15 changes: 0 additions & 15 deletions src/input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<HTMLInputElement>}
* @property {string} [label] - The label for the input field.
* @property {string} [error] - Error message to display below the input.
*/
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
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<InputProps> = ({ label, error, ...props }: InputProps): JSX.Element => (
<div
className={cn(
Expand Down

0 comments on commit 216fb80

Please sign in to comment.