Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing publish new UI version #8

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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