pixelplay 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +91 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +30 -0
- package/dist/index.mjs +5 -0
- package/package.json +57 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to **PixelPlay UI** are documented here.
|
|
4
|
+
|
|
5
|
+
This project adheres to [Semantic Versioning](https://semver.org/).
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## [1.0.0] — 2026-03-30
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Initial public release of PixelPlay UI
|
|
14
|
+
- Base components: `Button`, `ButtonGroup`, `Input`, `Textarea`, `Badge`, `BadgeGroup`, `Tag`, `Card`, `Spinner`, `Avatar`, `SocialButton`, `StoreButton`, `DropdownMenu`, `Select`, `Toggle`, `Checkbox`, `CheckboxGroup`, `Progress`, `CircularProgress`, `Slider`, `Tooltip`
|
|
15
|
+
- Application components: `Modal`, `Chart`, `Pagination`, `Messaging`, `DataTable`, `Tabs`, `Breadcrumb`, `Alert`, `Toast`, `DatePicker`, `Calendar`, `FileTypeIcon`, `FileUpload`
|
|
16
|
+
- Full TypeScript type definitions
|
|
17
|
+
- Tailwind CSS 4 theme token system with light/dark mode support
|
|
18
|
+
- Three built-in themes: Rosewood, Botanica, Inkwell
|
package/README.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# PixelPlay UI
|
|
2
|
+
|
|
3
|
+
> A scalable React component library with production-ready components, layouts, and themes for SaaS products.
|
|
4
|
+
|
|
5
|
+
Built by [Dennis Isaac](https://dennisisaac.com) · [Live Docs](https://dennisisaac.com/ui-kit)
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install pixelplay
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
yarn add pixelplay
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pnpm add pixelplay
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Requirements
|
|
24
|
+
|
|
25
|
+
- React 18+
|
|
26
|
+
- Tailwind CSS 4+
|
|
27
|
+
- TypeScript 5+ (recommended)
|
|
28
|
+
|
|
29
|
+
## Quick Start
|
|
30
|
+
|
|
31
|
+
```tsx
|
|
32
|
+
import { Button, Badge, Avatar, Input } from "pixelplay";
|
|
33
|
+
|
|
34
|
+
export function MyComponent() {
|
|
35
|
+
return (
|
|
36
|
+
<div>
|
|
37
|
+
<Avatar name="Dennis Isaac" size="md" />
|
|
38
|
+
<Badge color="purple">New</Badge>
|
|
39
|
+
<Button color="primary" variant="solid">Get Started</Button>
|
|
40
|
+
</div>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Theme Setup
|
|
46
|
+
|
|
47
|
+
Add the PixelPlay theme tokens to your global CSS:
|
|
48
|
+
|
|
49
|
+
```css
|
|
50
|
+
@import "pixelplay/styles";
|
|
51
|
+
|
|
52
|
+
:root {
|
|
53
|
+
/* Override theme tokens as needed */
|
|
54
|
+
--primary: oklch(55% 0.22 264);
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Components
|
|
59
|
+
|
|
60
|
+
| Component | Description |
|
|
61
|
+
|-----------|-------------|
|
|
62
|
+
| `Button` | Versatile button with variants, sizes, and states |
|
|
63
|
+
| `Input` | Text input with labels, validation, and add-ons |
|
|
64
|
+
| `Badge` | Status and label badges with colors |
|
|
65
|
+
| `Avatar` | User avatars with initials, images, and status |
|
|
66
|
+
| `Card` | Content container with header, body, and footer |
|
|
67
|
+
| `Toggle` | Boolean toggle switch |
|
|
68
|
+
| `Checkbox` | Checkbox with variants and groups |
|
|
69
|
+
| `Select` | Dropdown select with search |
|
|
70
|
+
| `Slider` | Range slider with dual handles |
|
|
71
|
+
| `Tooltip` | Contextual tooltips |
|
|
72
|
+
| `Modal` | Dialog modals |
|
|
73
|
+
| `Spinner` | Loading indicators |
|
|
74
|
+
| `Tag` | Dismissable tags |
|
|
75
|
+
| `Progress` | Progress bars and circular indicators |
|
|
76
|
+
|
|
77
|
+
[View all components →](https://dennisisaac.com/ui-kit)
|
|
78
|
+
|
|
79
|
+
## Versioning
|
|
80
|
+
|
|
81
|
+
PixelPlay UI follows [Semantic Versioning](https://semver.org/):
|
|
82
|
+
|
|
83
|
+
- **Patch** (`x.x.1`) — bug fixes and minor adjustments
|
|
84
|
+
- **Minor** (`x.1.0`) — new components, non-breaking additions
|
|
85
|
+
- **Major** (`1.0.0`) — breaking API changes
|
|
86
|
+
|
|
87
|
+
See [CHANGELOG.md](./CHANGELOG.md) for the full release history.
|
|
88
|
+
|
|
89
|
+
## License
|
|
90
|
+
|
|
91
|
+
MIT © [Dennis Isaac](https://dennisisaac.com)
|
package/dist/index.d.mts
ADDED
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
|
+
PIXELPLAY_VERSION: () => PIXELPLAY_VERSION
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(index_exports);
|
|
26
|
+
var PIXELPLAY_VERSION = "1.0.0";
|
|
27
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
28
|
+
0 && (module.exports = {
|
|
29
|
+
PIXELPLAY_VERSION
|
|
30
|
+
});
|
package/dist/index.mjs
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pixelplay",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "PixelPlay UI — A scalable React component library with production-ready components, layouts, and themes for SaaS products.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react",
|
|
7
|
+
"ui",
|
|
8
|
+
"components",
|
|
9
|
+
"design-system",
|
|
10
|
+
"tailwindcss",
|
|
11
|
+
"typescript",
|
|
12
|
+
"saas"
|
|
13
|
+
],
|
|
14
|
+
"author": "Dennis Isaac",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"homepage": "https://dennisisaac.com/ui-kit",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/iamdennisisaac/dennis-website-gravity.git",
|
|
20
|
+
"directory": "packages/pixelplay"
|
|
21
|
+
},
|
|
22
|
+
"main": "./dist/index.js",
|
|
23
|
+
"module": "./dist/index.mjs",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.mjs",
|
|
29
|
+
"require": "./dist/index.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist",
|
|
34
|
+
"README.md",
|
|
35
|
+
"CHANGELOG.md"
|
|
36
|
+
],
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsup src/index.ts --format cjs,esm --dts --external react --external react-dom",
|
|
39
|
+
"dev": "tsup src/index.ts --format cjs,esm --dts --external react --external react-dom --watch",
|
|
40
|
+
"prepublishOnly": "npm run build"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"react": ">=18.0.0",
|
|
44
|
+
"react-dom": ">=18.0.0",
|
|
45
|
+
"tailwindcss": ">=4.0.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@types/react": "^19.0.0",
|
|
49
|
+
"@types/react-dom": "^19.0.0",
|
|
50
|
+
"tsup": "^8.0.0",
|
|
51
|
+
"typescript": "^5.0.0"
|
|
52
|
+
},
|
|
53
|
+
"publishConfig": {
|
|
54
|
+
"access": "public",
|
|
55
|
+
"registry": "https://registry.npmjs.org/"
|
|
56
|
+
}
|
|
57
|
+
}
|