@whykusanagi/corrupted-theme 0.1.3 → 0.1.5
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 +45 -7
- package/README.md +79 -15
- package/docs/governance/DESIGN_SYSTEM_GOVERNANCE.md +2 -2
- package/docs/governance/VERSION_REFERENCES.md +25 -25
- package/docs/platforms/NPM_PACKAGE.md +6 -6
- package/examples/advanced/nsfw-corruption.html +348 -0
- package/examples/basic/corrupted-text.html +254 -0
- package/examples/basic/typing-animation.html +344 -0
- package/examples/button.html +2 -2
- package/examples/card.html +2 -2
- package/examples/extensions-showcase.html +1 -1
- package/examples/form.html +2 -2
- package/examples/index.html +31 -5
- package/examples/layout.html +2 -2
- package/examples/nikke-team-builder.html +3 -3
- package/examples/showcase-complete.html +9 -9
- package/examples/showcase.html +3 -3
- package/package.json +13 -2
- package/src/core/corrupted-text.js +280 -0
- package/src/core/corruption-phrases.js +285 -0
- package/src/core/typing-animation.js +390 -0
- package/docs/CAPABILITIES.md +0 -209
- package/docs/FUTURE_WORK.md +0 -189
- package/docs/IMPLEMENTATION_VALIDATION.md +0 -401
- package/docs/LLM_PROVIDERS.md +0 -345
- package/docs/PERSONALITY.md +0 -128
- package/docs/ROUTING.md +0 -324
- package/docs/platforms/CLI_IMPLEMENTATION.md +0 -1025
package/CHANGELOG.md
CHANGED
|
@@ -11,13 +11,51 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
- [ ] CDN distribution via jsDelivr
|
|
12
12
|
- [ ] Figma design system (components library)
|
|
13
13
|
- [ ] Storybook integration for component showcase
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
-
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## [0.1.5] - 2026-01-15
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
- **Corruption Example Styling** - Aligned all three corruption examples with theme.css design system
|
|
21
|
+
- examples/basic/corrupted-text.html - Now uses CSS variables and glassmorphism
|
|
22
|
+
- examples/basic/typing-animation.html - Consistent button and component styling
|
|
23
|
+
- examples/advanced/nsfw-corruption.html - Proper navbar and design system integration
|
|
24
|
+
- **Documentation Links** - Fixed broken markdown links across all 12 HTML example files
|
|
25
|
+
- Updated "Docs" navigation to point to showcase-complete.html instead of .md files
|
|
26
|
+
- Ensures all documentation is accessible in browser
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
- **Corruption Examples** - Replaced custom inline styles with theme.css design system
|
|
30
|
+
- Now uses CSS variables (--accent, --bg, --glass, --spacing-*, etc.)
|
|
31
|
+
- Added proper navbar component matching other examples
|
|
32
|
+
- Applied consistent .example-group sections with glassmorphism
|
|
33
|
+
- Added Font Awesome icons throughout
|
|
34
|
+
- All corruption functionality and interactivity preserved
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## [0.1.4] - 2025-12-15
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
- **Navigation Consistency** - Moved index.html to root, fixed all navigation paths
|
|
42
|
+
- **Asset Loading** - Corrected CSS and documentation paths for root-level index
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
- **Complete Corruption Phrase Library** - Added 67 official phrases to character-corruption.js
|
|
46
|
+
- 30 technical phrases (6 categories: loading, processing, analyzing, corrupting, watching, void)
|
|
47
|
+
- 30 personality phrases (English, Japanese, Romaji)
|
|
48
|
+
- `getRandomPhrase()` helper function
|
|
49
|
+
- **Animation Utilities Showcase** - Added comprehensive examples for all 21+ animation classes
|
|
50
|
+
- **VERSION_REFERENCES.md** - Complete version tracking documentation for future releases
|
|
51
|
+
|
|
52
|
+
### Changed
|
|
53
|
+
- **npm Package** - Excluded 7 internal docs from npm release (IMPLEMENTATION_VALIDATION, FUTURE_WORK, CAPABILITIES, PERSONALITY, ROUTING, LLM_PROVIDERS, CLI_IMPLEMENTATION)
|
|
54
|
+
- **Documentation** - Extended CORRUPTION_PHRASES.md with Celeste demon/succubus personality phrases
|
|
55
|
+
|
|
56
|
+
### Documentation
|
|
57
|
+
- Added 33 governance, brand, component, and platform documentation files
|
|
58
|
+
- All version references updated consistently across project
|
|
21
59
|
|
|
22
60
|
---
|
|
23
61
|
|
package/README.md
CHANGED
|
@@ -30,10 +30,32 @@ A production-ready glassmorphic design system for cinematic, cyberpunk-inspired
|
|
|
30
30
|
- **Glassmorphism-first** visual language with layered depth, gradients, and scanlines.
|
|
31
31
|
- **Systemized tokens** (`src/css/variables.css`) for colors, typography, spacing, motion, and elevation.
|
|
32
32
|
- **Bootstrap-scale coverage** of components (navigation, forms, data display, API docs, Nikke-specific UI).
|
|
33
|
-
- **
|
|
33
|
+
- **Buffer corruption effects** with SFW/NSFW phrase modes (Pattern 1 & 2 from spec).
|
|
34
34
|
- **WCAG AA** compliance, motion safety, and keyboard support baked in.
|
|
35
35
|
- **Dockerized showcase** at `examples/showcase-complete.html` for instant QA.
|
|
36
36
|
|
|
37
|
+
### Content Warnings
|
|
38
|
+
|
|
39
|
+
This package includes two corruption animation modes:
|
|
40
|
+
|
|
41
|
+
**SFW Mode (Default)**
|
|
42
|
+
- Playful anime-style expressions
|
|
43
|
+
- Cute/teasing phrases
|
|
44
|
+
- Atmospheric corruption themes
|
|
45
|
+
- Safe for professional and public projects
|
|
46
|
+
|
|
47
|
+
**NSFW Mode (Opt-in Required)**
|
|
48
|
+
- ⚠️ **18+ Content Warning**
|
|
49
|
+
- Explicit intimate/sexual phrases
|
|
50
|
+
- Loss of control themes
|
|
51
|
+
- **NOT suitable for:**
|
|
52
|
+
- Professional/corporate projects
|
|
53
|
+
- Public streams without 18+ rating
|
|
54
|
+
- Educational contexts
|
|
55
|
+
- All-ages content
|
|
56
|
+
|
|
57
|
+
**All examples and default behavior use SFW mode.** NSFW requires explicit `{ nsfw: true }` configuration.
|
|
58
|
+
|
|
37
59
|
## Installation
|
|
38
60
|
### npm (public registry)
|
|
39
61
|
```bash
|
|
@@ -354,26 +376,49 @@ document.addEventListener('click', e => {
|
|
|
354
376
|
</div>
|
|
355
377
|
```
|
|
356
378
|
|
|
357
|
-
### Corrupted Text &
|
|
379
|
+
### Corrupted Text & Buffer Corruption
|
|
380
|
+
|
|
381
|
+
**Pattern 1: Character-Level Corruption (Visual Glitch)**
|
|
358
382
|
```html
|
|
359
|
-
|
|
360
|
-
<span class="
|
|
361
|
-
|
|
383
|
+
<!-- Multi-language cycling with character-level glitch -->
|
|
384
|
+
<span class="corrupted-multilang"
|
|
385
|
+
data-english="Hello World"
|
|
386
|
+
data-romaji="konnichiwa"
|
|
387
|
+
data-hiragana="こんにちは"
|
|
388
|
+
data-katakana="コンニチハ"
|
|
389
|
+
data-kanji="今日は">
|
|
362
390
|
</span>
|
|
391
|
+
|
|
392
|
+
<script type="module" src="@whykusanagi/corrupted-theme/src/core/corrupted-text.js"></script>
|
|
363
393
|
```
|
|
394
|
+
|
|
395
|
+
**Pattern 2: Phrase Flickering (Buffer Corruption)**
|
|
364
396
|
```html
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
<script type="module"
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
397
|
+
<!-- Typing animation with SFW phrase buffer corruption -->
|
|
398
|
+
<div class="typing-output" id="typing1"></div>
|
|
399
|
+
|
|
400
|
+
<script type="module">
|
|
401
|
+
import { TypingAnimation } from '@whykusanagi/corrupted-theme/src/core/typing-animation.js';
|
|
402
|
+
|
|
403
|
+
const typing = new TypingAnimation(document.getElementById('typing1'), {
|
|
404
|
+
typingSpeed: 40, // chars/sec
|
|
405
|
+
glitchChance: 0.08, // 8% buffer corruption
|
|
406
|
+
nsfw: false // SFW mode (default)
|
|
407
|
+
});
|
|
408
|
+
|
|
409
|
+
typing.start('Neural corruption detected... System Online');
|
|
372
410
|
</script>
|
|
373
411
|
```
|
|
374
|
-
|
|
412
|
+
|
|
413
|
+
**⚠️ Content Classification:**
|
|
414
|
+
- **SFW Mode (Default)**: Cute, playful, atmospheric phrases - safe for all audiences
|
|
415
|
+
- **NSFW Mode (Opt-in)**: Explicit 18+ content - requires `{ nsfw: true }` flag
|
|
416
|
+
|
|
417
|
+
See `examples/basic/` for SFW examples and `examples/advanced/nsfw-corruption.html` for NSFW demo.
|
|
375
418
|
|
|
376
419
|
## Animations & Experience Layer
|
|
420
|
+
|
|
421
|
+
### Standard CSS Animations
|
|
377
422
|
Class | Behavior
|
|
378
423
|
--- | ---
|
|
379
424
|
`.fade-in`, `.fade-up`, `.slide-in-left/right`, `.scale-in` | Standard entrance motions synchronized to `var(--transition)`
|
|
@@ -381,8 +426,27 @@ Class | Behavior
|
|
|
381
426
|
`.corrupted-text`, `.corrupted-strong` | Brute-force corruption effect for headings and pills
|
|
382
427
|
`.scanlines`, `.tear`, `.data-corrupt` | Utility effects inspired by whykusanagi.xyz hero
|
|
383
428
|
`.spinner`, `.loading-bar`, `.progress-bar` | Loading indicators with shimmer + accent variants
|
|
384
|
-
|
|
385
|
-
|
|
429
|
+
|
|
430
|
+
### JavaScript Corruption Components
|
|
431
|
+
|
|
432
|
+
**CorruptedText** - Pattern 1: Character-Level Corruption
|
|
433
|
+
- Visual glitch effect using random characters (Katakana, Hiragana, symbols)
|
|
434
|
+
- Always SFW (no phrases, just character-level noise)
|
|
435
|
+
- Cycles through multi-language variants
|
|
436
|
+
- Class: `.corrupted-multilang`
|
|
437
|
+
|
|
438
|
+
**TypingAnimation** - Pattern 2: Phrase Flickering (Buffer Corruption)
|
|
439
|
+
- Simulates neural network decoding corrupted data buffer
|
|
440
|
+
- Phrases flicker through before revealing final text
|
|
441
|
+
- SFW mode (default): Cute, playful, atmospheric phrases
|
|
442
|
+
- NSFW mode (opt-in): Explicit 18+ content with `{ nsfw: true }`
|
|
443
|
+
- Color: Magenta (#d94f90) for SFW, Purple (#8b5cf6) for NSFW
|
|
444
|
+
|
|
445
|
+
**Corruption Phrases Library**
|
|
446
|
+
- Normalized SFW/NSFW phrase sets
|
|
447
|
+
- Separate exports for each mode
|
|
448
|
+
- Helper functions for random phrase selection
|
|
449
|
+
- Module: `src/core/corruption-phrases.js`
|
|
386
450
|
|
|
387
451
|
## Nikke Utilities
|
|
388
452
|
```html
|
|
@@ -220,8 +220,8 @@ Reviewers verify:
|
|
|
220
220
|
|
|
221
221
|
| Type | Frequency | Version Bump | Example |
|
|
222
222
|
|------|-----------|--------------|---------|
|
|
223
|
-
| **Patch** | As needed | 0.0.x | 0.1.2 → 0.1.
|
|
224
|
-
| **Minor** | Monthly | 0.x.0 | 0.1.
|
|
223
|
+
| **Patch** | As needed | 0.0.x | 0.1.2 → 0.1.4 |
|
|
224
|
+
| **Minor** | Monthly | 0.x.0 | 0.1.4 → 0.2.0 |
|
|
225
225
|
| **Major** | Quarterly | x.0.0 | 0.2.0 → 1.0.0 |
|
|
226
226
|
|
|
227
227
|
### Release Phases
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Purpose**: Complete list of all files containing version numbers that must be updated when releasing a new version.
|
|
4
4
|
|
|
5
|
-
**Current Version**: 0.1.
|
|
5
|
+
**Current Version**: 0.1.4
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
**Location**: `/package.json`
|
|
13
13
|
**Line**: 3
|
|
14
14
|
```json
|
|
15
|
-
"version": "0.1.
|
|
15
|
+
"version": "0.1.4"
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
### 2. CHANGELOG.md
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
### 7. showcase-complete.html
|
|
63
63
|
**Location**: `/examples/showcase-complete.html`
|
|
64
64
|
**Lines to update**:
|
|
65
|
-
- Line 1135: "NEW v0.1.
|
|
66
|
-
- Line 1317: "NEW v0.1.
|
|
65
|
+
- Line 1135: "NEW v0.1.4" badge (keep for current release, change to version number after)
|
|
66
|
+
- Line 1317: "NEW v0.1.4" badge (keep for current release, change to version number after)
|
|
67
67
|
- Line 1697: Footer version `v0.1.X`
|
|
68
|
-
- Line 1835: Comment `<!-- NEW v0.1.
|
|
68
|
+
- Line 1835: Comment `<!-- NEW v0.1.4: ... -->`
|
|
69
69
|
- Line 1922: Toast message `Welcome to Corrupted Theme v0.1.X!`
|
|
70
70
|
|
|
71
71
|
### 8. Other Example Pages
|
|
@@ -77,13 +77,13 @@ All have footer version references like:
|
|
|
77
77
|
<p>... • Corrupted Theme v0.1.0</p>
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
**Update these to current version** (currently showing v0.1.0, should be v0.1.
|
|
80
|
+
**Update these to current version** (currently showing v0.1.0, should be v0.1.4)
|
|
81
81
|
|
|
82
82
|
---
|
|
83
83
|
|
|
84
84
|
## Version Bump Procedure
|
|
85
85
|
|
|
86
|
-
When releasing a new version (e.g., 0.1.
|
|
86
|
+
When releasing a new version (e.g., 0.1.4 → 0.1.4):
|
|
87
87
|
|
|
88
88
|
### Step 1: Core Files
|
|
89
89
|
```bash
|
|
@@ -115,7 +115,7 @@ npm version patch # or minor, or major
|
|
|
115
115
|
# - Footer
|
|
116
116
|
|
|
117
117
|
# 7. Update showcase-complete.html
|
|
118
|
-
# - Change "NEW v0.1.
|
|
118
|
+
# - Change "NEW v0.1.4" badges to just version number
|
|
119
119
|
# - Update footer
|
|
120
120
|
# - Update toast message
|
|
121
121
|
|
|
@@ -171,19 +171,19 @@ When updating, search for these patterns:
|
|
|
171
171
|
|
|
172
172
|
```bash
|
|
173
173
|
# Version with v prefix
|
|
174
|
-
"v0.1.
|
|
174
|
+
"v0.1.4"
|
|
175
175
|
"v0\.1\.3"
|
|
176
176
|
|
|
177
177
|
# Version without v prefix
|
|
178
|
-
"0.1.
|
|
178
|
+
"0.1.4"
|
|
179
179
|
"0\.1\.3"
|
|
180
180
|
|
|
181
181
|
# NPM package version
|
|
182
|
-
"@whykusanagi/corrupted-theme@0.1.
|
|
182
|
+
"@whykusanagi/corrupted-theme@0.1.4"
|
|
183
183
|
|
|
184
184
|
# NEW badge references
|
|
185
|
-
"NEW v0.1.
|
|
186
|
-
"NEW in v0.1.
|
|
185
|
+
"NEW v0.1.4"
|
|
186
|
+
"NEW in v0.1.4"
|
|
187
187
|
```
|
|
188
188
|
|
|
189
189
|
---
|
|
@@ -192,18 +192,18 @@ When updating, search for these patterns:
|
|
|
192
192
|
|
|
193
193
|
**Files showing OLD versions that need updating:**
|
|
194
194
|
|
|
195
|
-
1. `/examples/showcase.html` - Shows v0.1.0 (should be v0.1.
|
|
196
|
-
2. `/examples/form.html` - Shows v0.1.0 (should be v0.1.
|
|
197
|
-
3. `/examples/layout.html` - Shows v0.1.0 (should be v0.1.
|
|
198
|
-
4. `/examples/card.html` - Shows v0.1.0 (should be v0.1.
|
|
199
|
-
5. `/examples/button.html` - Shows v0.1.0 (should be v0.1.
|
|
200
|
-
6. `/examples/nikke-team-builder.html` - Shows v0.1.0 (should be v0.1.
|
|
201
|
-
7. `/examples/showcase-complete.html` footer - Shows v0.1.0 (should be v0.1.
|
|
202
|
-
8. `/examples/index.html` - Shows v0.1.2 (should be v0.1.
|
|
203
|
-
9. `/docs/platforms/NPM_PACKAGE.md` - Shows v0.1.2 (should be v0.1.
|
|
204
|
-
10. `/docs/governance/VERSION_MANAGEMENT.md` - Shows v0.1.2 (should be v0.1.
|
|
205
|
-
|
|
206
|
-
**Action Required**: Update all example footers and documentation to v0.1.
|
|
195
|
+
1. `/examples/showcase.html` - Shows v0.1.0 (should be v0.1.4)
|
|
196
|
+
2. `/examples/form.html` - Shows v0.1.0 (should be v0.1.4)
|
|
197
|
+
3. `/examples/layout.html` - Shows v0.1.0 (should be v0.1.4)
|
|
198
|
+
4. `/examples/card.html` - Shows v0.1.0 (should be v0.1.4)
|
|
199
|
+
5. `/examples/button.html` - Shows v0.1.0 (should be v0.1.4)
|
|
200
|
+
6. `/examples/nikke-team-builder.html` - Shows v0.1.0 (should be v0.1.4)
|
|
201
|
+
7. `/examples/showcase-complete.html` footer - Shows v0.1.0 (should be v0.1.4)
|
|
202
|
+
8. `/examples/index.html` - Shows v0.1.2 (should be v0.1.4)
|
|
203
|
+
9. `/docs/platforms/NPM_PACKAGE.md` - Shows v0.1.2 (should be v0.1.4)
|
|
204
|
+
10. `/docs/governance/VERSION_MANAGEMENT.md` - Shows v0.1.2 (should be v0.1.4)
|
|
205
|
+
|
|
206
|
+
**Action Required**: Update all example footers and documentation to v0.1.4
|
|
207
207
|
|
|
208
208
|
---
|
|
209
209
|
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
```json
|
|
32
32
|
{
|
|
33
33
|
"name": "@whykusanagi/corrupted-theme",
|
|
34
|
-
"version": "0.1.
|
|
34
|
+
"version": "0.1.4",
|
|
35
35
|
"description": "Premium corrupted AI aesthetic with glassmorphism and translation-failure linguistics",
|
|
36
36
|
"author": "Kusanagi <you@example.com>",
|
|
37
37
|
"license": "MIT",
|
|
@@ -80,7 +80,7 @@ pnpm add @whykusanagi/corrupted-theme
|
|
|
80
80
|
|
|
81
81
|
```html
|
|
82
82
|
<!-- Full theme (8.2KB gzipped) -->
|
|
83
|
-
<link rel="stylesheet" href="https://unpkg.com/@whykusanagi/corrupted-theme@0.1.
|
|
83
|
+
<link rel="stylesheet" href="https://unpkg.com/@whykusanagi/corrupted-theme@0.1.4/dist/theme.css">
|
|
84
84
|
```
|
|
85
85
|
|
|
86
86
|
### Local Development
|
|
@@ -664,7 +664,7 @@ The package follows [Semantic Versioning 2.0.0](https://semver.org/):
|
|
|
664
664
|
```
|
|
665
665
|
MAJOR.MINOR.PATCH
|
|
666
666
|
|
|
667
|
-
Example: 0.1.
|
|
667
|
+
Example: 0.1.4
|
|
668
668
|
│ │ └─ Patch: Bug fixes (backward compatible)
|
|
669
669
|
│ └─── Minor: New features (backward compatible)
|
|
670
670
|
└───── Major: Breaking changes
|
|
@@ -674,7 +674,7 @@ Example: 0.1.2
|
|
|
674
674
|
|
|
675
675
|
| Version | Date | Changes | Migration |
|
|
676
676
|
|---------|------|---------|-----------|
|
|
677
|
-
| **0.1.
|
|
677
|
+
| **0.1.4** | 2025-12-10 | Current stable release | N/A |
|
|
678
678
|
| 0.1.1 | 2025-11-15 | Added interactive states | None required |
|
|
679
679
|
| 0.1.0 | 2025-10-01 | Initial public release | N/A |
|
|
680
680
|
|
|
@@ -691,7 +691,7 @@ npm update @whykusanagi/corrupted-theme
|
|
|
691
691
|
npm install @whykusanagi/corrupted-theme@^0.2.0
|
|
692
692
|
|
|
693
693
|
# Update to specific version
|
|
694
|
-
npm install @whykusanagi/corrupted-theme@0.1.
|
|
694
|
+
npm install @whykusanagi/corrupted-theme@0.1.4
|
|
695
695
|
|
|
696
696
|
# Update to latest (including major - may have breaking changes)
|
|
697
697
|
npm install @whykusanagi/corrupted-theme@latest
|
|
@@ -849,6 +849,6 @@ import '@whykusanagi/corrupted-theme/src/css/components.css';
|
|
|
849
849
|
|
|
850
850
|
**Last Updated**: 2025-12-13
|
|
851
851
|
**Version**: 1.0.0
|
|
852
|
-
**Package Version**: 0.1.
|
|
852
|
+
**Package Version**: 0.1.4
|
|
853
853
|
**Maintainer**: Celeste Brand System
|
|
854
854
|
**Status**: ✅ Production Ready
|