npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@guaigaihu/common-ng-ui-liandi

v0.0.8

Published

Angular 17 で開発された再利用可能な UI コンポーネントライブラリ

Downloads

26

Readme

Common UI コンポーネントライブラリ

Angular 17 で開発された再利用可能な UI コンポーネントライブラリです。

特徴

  • 📦 すぐに使える Angular コンポーネント
  • 🎨 モダンなデザインスタイル
  • 🛠 カスタマイズ可能なテーマ
  • 📱 レスポンシブデザイン

インストール

npm install @guaigaihu/common-ng-ui-liandi

クイックスタート

  1. app.module.ts または独立コンポーネントで必要なコンポーネントをインポート:
import { InputComponent, CheckboxComponent } from '@guaigaihu/common-ng-ui-liandi';

@Component({
  // ...
  imports: [InputComponent, CheckboxComponent]
})
  1. テンプレートで使用:
<!-- 入力フィールドコンポーネント -->
<lib-input
  label="ユーザー名"
  [(value)]="username"
  placeholder="ユーザー名を入力してください"
></lib-input>

<!-- チェックボックスコンポーネント -->
<lib-checkbox
  label="記憶する"
  [(checked)]="rememberMe"
></lib-checkbox>

コンポーネントドキュメント

InputComponent 入力フィールドコンポーネント

ラベル付きの入力フィールドコンポーネントで、双方向バインディングをサポートします。

プロパティ

| プロパティ名 | 型 | デフォルト値 | 説明 | |------------|-----|-------------|------| | label | string | '' | 入力フィールドのラベル | | value | string | '' | 入力フィールドの値 | | placeholder | string | '' | プレースホルダーテキスト | | type | string | 'text' | 入力フィールドのタイプ | | id | string | '' | 入力フィールドのID |

イベント

| イベント名 | パラメータ型 | 説明 | |-----------|-------------|------| | valueChange | string | 値が変更された時に発火 | | blur | FocusEvent | フォーカスが外れた時に発火 |

CheckboxComponent チェックボックスコンポーネント

カスタムスタイルのチェックボックスコンポーネントです。

プロパティ

| プロパティ名 | 型 | デフォルト値 | 説明 | |------------|-----|-------------|------| | label | string | '' | チェックボックスのラベル | | checked | boolean | false | チェック状態 | | id | string | '' | チェックボックスのID |

イベント

| イベント名 | パラメータ型 | 説明 | |-----------|-------------|------| | checkedChange | boolean | チェック状態が変更された時に発火 |

スタイルカスタマイズ

コンポーネントは SCSS 変数でテーマをカスタマイズできます:

// カスタムテーマカラー
$primary-color: #3B82F6;     // メインカラー
$border-color: #E5E7EB;      // ボーダーカラー
$hover-color: #D1D5DB;       // ホバーカラー
$text-color: #374151;        // テキストカラー

ローカル開発

  1. プロジェクトをクローン
git clone https://github.com/guaigaihu/common-ng-ui-liandi.git
  1. 依存関係のインストール
npm install
  1. ライブラリのビルド
npm run build:lib

ブラウザサポート

  • Chrome (最新版)
  • Firefox (最新版)
  • Safari (最新版)
  • Edge (最新版)

コントリビューションガイド

  1. リポジトリをフォーク
  2. フィーチャーブランチを作成 (git checkout -b feature/AmazingFeature)
  3. 変更をコミット (git commit -m 'Add some AmazingFeature')
  4. ブランチにプッシュ (git push origin feature/AmazingFeature)
  5. プルリクエストを作成

ライセンス

MIT License