パッケージの詳細

@nuralyui/form

Nuralyio387MIT0.1.4

NuralyUI Form - A comprehensive form component with validation coordination, submission handling, and state management

form, validation, form-control, web-components

readme

Nuraly UI

A comprehensive collection of enterprise-class web components built with Lit and TypeScript.

common forms layout themes

License TypeScript

Documentation & DemoGitHubNPM


✨ Features

  • 🌈 Enterprise-grade Components - Professional UI components for modern web applications
  • 📦 40+ Components - Complete library of ready-to-use web components
  • 🛡 TypeScript First - Full type safety and excellent developer experience
  • ⚙️ Framework Agnostic - Works with React, Vue, Angular, or vanilla JavaScript
  • 🎨 Themeable - Easy customization with CSS custom properties
  • 📱 Responsive - Mobile-first design that works everywhere
  • Accessible - ARIA-compliant and keyboard navigable
  • 🚀 Lightweight - Minimal bundle size, maximum performance

📦 Installation

Install Package Bundles

# Shared utilities (mixins, controllers, themes, utils)
npm install @nuralyui/common

# Form components (input, select, checkbox, radio, etc.)
npm install @nuralyui/forms

# Layout components (grid, flex, card, layout)
npm install @nuralyui/layout

# Theme CSS bundles
npm install @nuralyui/themes

Or Install Individual Components

npm install @nuralyui/button
npm install @nuralyui/input
npm install @nuralyui/datepicker

🚀 Quick Start

Vanilla JavaScript/HTML

<script type="module">
  import '@nuralyui/button';
  import '@nuralyui/input';
</script>

<nr-button variant="primary">Click me</nr-button>
<nr-input placeholder="Enter text" label="Name"></nr-input>

React

import { NrButton } from "@nuralyui/button/react";
import { NrInput } from "@nuralyui/input/react";

function App() {
  return (
    <>
      <NrButton variant="primary" onClick={() => alert('Clicked!')}>
        Click me
      </NrButton>
      <NrInput 
        placeholder="Enter text" 
        label="Name"
        onInput={(e) => console.log(e.target.value)}
      />
    </>
  );
}

Vue

<template>
  <nr-button variant="primary" @click="handleClick">Click me</nr-button>
  <nr-input placeholder="Enter text" label="Name" @input="handleInput" />
</template>

<script>
import '@nuralyui/button';
import '@nuralyui/input';

export default {
  methods: {
    handleClick() { alert('Clicked!'); },
    handleInput(e) { console.log(e.target.value); }
  }
}
</script>

� Available Components

📦 Package Bundles

🧩 All Components

Form & Input

  • Button, Input, Textarea, Checkbox, Radio, Radio Group, Select, Slider Input, File Upload, Form, Datepicker, Timepicker, Colorpicker

Layout & Structure

  • Layout, Grid, Flex, Card, Divider

Navigation

  • Tabs, Menu, Dropdown, Breadcrumb

Feedback

  • Modal, Toast, Tooltips, Popconfirm, Alert

Display

  • Table, Collapse, Carousel, Timeline, Badge, Label, Icon, Image, Video, Canvas, Skeleton

Advanced

  • Chatbot, Document, Console

🎨 Theming

Customize components with CSS custom properties:

:root {
  --nr-primary-color: #4F46E5;
  --nr-font-family: 'Inter', sans-serif;
  --nr-border-radius: 6px;
}

Or use our pre-built themes:

<link rel="stylesheet" href="node_modules/@nuralyui/themes/carbon.css">

🌍 Browser Support

Chrome Firefox Safari Edge
✅ 88+ ✅ 78+ ✅ 14+ ✅ 88+

� Development

Local Setup

# Clone the repository
git clone https://github.com/Nuralyio/NuralyUI.git
cd NuralyUI

# Install dependencies
npm install

# Start development server
npm start

Available Scripts

npm start              # Start dev server with watch mode
npm run build          # Build all components
npm run test           # Run tests
npm run lint           # Lint code
npm run format         # Format with Prettier

Project Structure

hybrid-ui/
├── src/
│   └── components/     # All web components
├── packages/           # Package bundles
│   ├── common/
│   ├── forms/
│   ├── layout/
│   └── themes/
└── dist/              # Built components

🤝 Contributing

We welcome contributions! Here's how to help:

  • 🐛 Report bugs via GitHub Issues
  • 💡 Suggest features in Discussions
  • 🔧 Submit pull requests for bug fixes or new components
  • � Improve documentation

See CONTRIBUTING.md for detailed guidelines.

📄 License

BSD 3-Clause License - see LICENSE file for details.


Built with ❤️ by the Nuraly Team

DocumentationGitHubNPM

更新履歴

Changelog

All notable changes to Nuraly UI will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Comprehensive documentation system
  • Individual component README files
  • Getting started guides
  • Contributing guidelines

Changed

  • Updated main README with comprehensive component list
  • Improved project structure documentation
  • Enhanced development workflow documentation

Fixed

  • Documentation inconsistencies
  • Missing component information

[1.0.5] - 2024-08-26

Added

  • Carousel component for image and content sliding
  • Enhanced accessibility features across all components
  • Dark mode support improvements
  • Better mobile responsiveness

Changed

  • Improved theming system with more CSS custom properties
  • Updated component demos with better examples
  • Enhanced TypeScript definitions

Fixed

  • Various bug fixes and performance improvements
  • Accessibility issues in form components
  • Mobile layout issues

[1.0.4] - 2024-07-15

Added

  • Document viewer component with PDF support
  • Video component with custom controls
  • Canvas component wrapper
  • Enhanced chatbot component features

Changed

  • Improved file upload component with better preview
  • Updated table component with better data handling
  • Enhanced dropdown component functionality

Fixed

  • File upload drag and drop issues
  • Table sorting and filtering bugs
  • Dropdown positioning problems

[1.0.3] - 2024-06-10

Added

  • Collapse component for expandable content
  • Toast notification system
  • Enhanced tooltips with better positioning
  • Icon component with Font Awesome integration

Changed

  • Improved input validation system
  • Updated button component with loading states
  • Enhanced modal component with better animations

Fixed

  • Input field validation edge cases
  • Modal backdrop click issues
  • Tooltip positioning bugs

[1.0.2] - 2024-05-01

Added

  • Tabs component with dynamic content
  • Table component with sorting and filtering
  • Checkbox component with indeterminate state
  • Radio button groups

Changed

  • Improved form component integration
  • Updated styling system with better CSS variables
  • Enhanced component event handling

Fixed

  • Form submission issues
  • Styling conflicts between components
  • Event bubbling problems

[1.0.1] - 2024-04-15

Added

  • Select dropdown component
  • Slider input component
  • File upload component with drag & drop
  • Enhanced datepicker with better calendar

Changed

  • Improved button component with more variants
  • Updated input component with better validation
  • Enhanced modal component functionality

Fixed

  • Browser compatibility issues
  • Component rendering bugs
  • Accessibility improvements

[1.0.0] - 2024-04-01

Added

  • Initial release of Nuraly UI
  • Core components: Button, Input, Modal, Card
  • Basic theming system
  • TypeScript support
  • React wrapper components
  • Development environment setup

Features

  • 🎨 Beautiful design system
  • ♿ Accessibility compliant
  • 🌗 Dark/light theme support
  • 📱 Mobile responsive
  • 🚀 High performance
  • 🔧 Customizable

Legend

  • Added for new features
  • Changed for changes in existing functionality
  • Deprecated for soon-to-be removed features
  • Removed for now removed features
  • Fixed for any bug fixes
  • Security for vulnerability fixes

Release Process

  1. Feature Development - Features are developed in feature branches
  2. Code Review - All changes go through peer review
  3. Testing - Automated and manual testing
  4. Documentation - Update docs and changelog
  5. Release - Tag and publish to NPM
  6. Announcement - Communicate changes to community

Versioning Strategy

  • Major (x.0.0) - Breaking changes, major new features
  • Minor (0.x.0) - New features, non-breaking changes
  • Patch (0.0.x) - Bug fixes, documentation updates

Migration Guides

For major version upgrades, see our migration guides:

Support Timeline

  • Current Version: Active development and support
  • Previous Major: Bug fixes and security updates for 6 months
  • Older Versions: Security updates only for critical vulnerabilities

Need help with a specific version? Check our documentation or open an issue on GitHub.