@noobsociety/nsds 0.1.1 → 0.2.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.
Files changed (72) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/CONTRIBUTING.md +34 -0
  3. package/LICENSE +21 -0
  4. package/README.md +354 -159
  5. package/SECURITY.md +11 -0
  6. package/dist/components/hud/HUDBar.d.ts +17 -0
  7. package/dist/components/hud/HUDDivider.d.ts +11 -0
  8. package/dist/components/hud/HUDLabel.d.ts +17 -0
  9. package/dist/components/icons/RPGIcon.d.ts +42 -0
  10. package/dist/index.cjs +1 -0
  11. package/dist/index.d.ts +18 -0
  12. package/dist/index.js +587 -0
  13. package/{styles.css → dist/styles.css} +1 -0
  14. package/dist/tailwind/package.json +1 -0
  15. package/dist/tailwind/preset.js +144 -0
  16. package/{tokens → dist/tokens}/colors.css +25 -19
  17. package/dist/tokens/hud.css +133 -0
  18. package/{tokens → dist/tokens}/motion.css +9 -9
  19. package/{tokens → dist/tokens}/spacing.css +9 -16
  20. package/{tokens → dist/tokens}/typography.css +2 -2
  21. package/package.json +47 -54
  22. package/SKILL.md +0 -18
  23. package/assets/bg.png +0 -0
  24. package/assets/bloop.png +0 -0
  25. package/assets/hero.png +0 -0
  26. package/assets/lamp.png +0 -0
  27. package/assets/logo.png +0 -0
  28. package/assets/mailbox.png +0 -0
  29. package/assets/plaza.png +0 -0
  30. package/assets/prickle.png +0 -0
  31. package/assets/sign.png +0 -0
  32. package/components/buttons/Button.js +0 -55
  33. package/components/buttons/Button.prompt.md +0 -22
  34. package/components/buttons/buttons.card.html +0 -24
  35. package/components/cards/FeatureCard.js +0 -36
  36. package/components/cards/FeatureCard.prompt.md +0 -17
  37. package/components/cards/QuestCard.js +0 -27
  38. package/components/cards/QuestCard.prompt.md +0 -19
  39. package/components/cards/cards.card.html +0 -54
  40. package/components/navigation/SectionArrow.js +0 -28
  41. package/components/navigation/navigation.card.html +0 -29
  42. package/components/react/index.d.ts +0 -11
  43. package/components/react/index.js +0 -4
  44. package/components/shared/styles.js +0 -22
  45. package/guidelines/brand.card.html +0 -41
  46. package/guidelines/colors.card.html +0 -43
  47. package/guidelines/motion.card.html +0 -24
  48. package/guidelines/pixel-accents.card.html +0 -50
  49. package/guidelines/radii-shadows.card.html +0 -28
  50. package/guidelines/semantic-colors.card.html +0 -30
  51. package/guidelines/spacing.card.html +0 -53
  52. package/guidelines/sprites.card.html +0 -22
  53. package/guidelines/type.card.html +0 -24
  54. package/index.d.ts +0 -1
  55. package/index.js +0 -1
  56. package/mui-theme/ThemeProvider.tsx +0 -20
  57. package/mui-theme/examples/FeatureCard.tsx +0 -52
  58. package/mui-theme/examples/QuestStatusChip.tsx +0 -41
  59. package/mui-theme/examples/SectionHeader.tsx +0 -44
  60. package/mui-theme/index.ts +0 -2
  61. package/mui-theme/preview.dc.html +0 -195
  62. package/mui-theme/support.js +0 -1513
  63. package/mui-theme/theme.ts +0 -604
  64. package/references/noobsociety-monokai.dc.html +0 -360
  65. package/support.js +0 -1513
  66. package/ui-kits/homepage/index.html +0 -319
  67. /package/{components → dist/components}/buttons/Button.d.ts +0 -0
  68. /package/{components → dist/components}/cards/FeatureCard.d.ts +0 -0
  69. /package/{components → dist/components}/cards/QuestCard.d.ts +0 -0
  70. /package/{components → dist/components}/navigation/SectionArrow.d.ts +0 -0
  71. /package/{components → dist/components}/primitives.css +0 -0
  72. /package/{tokens → dist/tokens}/base.css +0 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,56 @@
1
+ # Changelog
2
+
3
+ All notable changes to NSDS are documented here.
4
+
5
+ ## 0.2.0 - 2026-06-20
6
+
7
+ ### Added
8
+
9
+ - Tailwind preset export for mapping `--ns-*` design tokens into utility classes.
10
+ - HUD token file and HUD React primitives for game-layer UI.
11
+ - RPG icon React component and icon reference card.
12
+ - Lab homepage and game HUD reference surfaces for internal design work.
13
+
14
+ ### Changed
15
+
16
+ - Package output now builds from JSX source into `dist/` with ESM, CommonJS, TypeScript declarations, CSS, tokens, primitives, and Tailwind preset files.
17
+ - Public package surface is React, Tailwind, CSS tokens, and primitives only.
18
+ - Canonical component runtime sources now use `.jsx` files.
19
+ - README package exports and repo layout now match the published package boundary.
20
+
21
+ ### Removed
22
+
23
+ - Legacy theme package surface, dependencies, docs, tests, and source files.
24
+ - Duplicate compiled component runtime source files.
25
+ - Superseded `ui-kits/` homepage path.
26
+
27
+ ## 0.1.2 - 2026-06-18
28
+
29
+ ### Added
30
+
31
+ - MIT license and public package metadata.
32
+ - GitHub Actions CI for package validation, smoke imports, and publish dry runs.
33
+ - Repository contribution, security, issue, pull request, and dependency update templates.
34
+ - Package validation scripts for exports, required files, and publish hygiene.
35
+ - React smoke tests for the public component entry points.
36
+ - TypeScript smoke validation for consumer-facing package imports.
37
+ - Tailwind preset export for token-mapped utility classes.
38
+ - Prioritized README roadmap and reference standards for documentation, changelog, versioning, release, and component documentation workflows.
39
+
40
+ ### Changed
41
+
42
+ - Updated README language for the public npm package and repository.
43
+ - Documented the TypeScript and testing roadmap.
44
+
45
+ ## 0.1.1 - 2026-06-18
46
+
47
+ ### Changed
48
+
49
+ - Published the package as `@noobsociety/nsds`.
50
+ - Updated repository metadata for the public NSDS package.
51
+
52
+ ## 0.1.0 - 2026-06-18
53
+
54
+ ### Added
55
+
56
+ - Initial NSDS package with tokens, CSS primitives, React components, assets, guidelines, references, and UI kits.
@@ -0,0 +1,34 @@
1
+ # Contributing
2
+
3
+ NSDS is the NoobSociety Design System. Changes should keep the package small, reusable, and direct.
4
+
5
+ ## Local Setup
6
+
7
+ ```bash
8
+ npm install
9
+ npm run check
10
+ ```
11
+
12
+ ## Change Guidelines
13
+
14
+ - Keep package exports stable unless the release is intentionally breaking.
15
+ - Prefer CSS tokens and shared primitives over one-off styles.
16
+ - Keep React components small and framework-light.
17
+ - Add or update smoke coverage when changing component behavior.
18
+ - Use patch versions for metadata, docs, small fixes, and compatibility work.
19
+ - Use minor versions for new components, tokens, or larger additive behavior.
20
+
21
+ ## Release Checks
22
+
23
+ Before publishing:
24
+
25
+ ```bash
26
+ npm run check
27
+ npm run release:dry-run
28
+ ```
29
+
30
+ Publish with an npm one-time password when required:
31
+
32
+ ```bash
33
+ npm publish --otp=123456
34
+ ```
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 NoobSociety
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.