@wpmoo/ui 0.1.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.
@@ -0,0 +1,17 @@
1
+ # WPMoo Visual Asset License
2
+
3
+ WPMoo-generated visual assets are copyright (c) 2026 WPMoo
4
+ (`wpmoo.org`). All rights reserved.
5
+
6
+ These assets are not licensed under the repository's MIT source code license
7
+ unless an individual file or directory states otherwise. This includes brand
8
+ assets, component preview images, marketing images, screenshots, generated
9
+ artwork, and other WPMoo-owned image assets under `static/images/`.
10
+
11
+ You may view these assets as part of the Moo UI documentation and demo site.
12
+ You may not copy, redistribute, modify, sell, sublicense, or use them in another
13
+ product, site, template, library, training dataset, or marketing asset without
14
+ prior written permission from WPMoo.
15
+
16
+ Third-party assets remain under their own licenses. See
17
+ `THIRD_PARTY_NOTICES.md`.
package/LICENSE ADDED
@@ -0,0 +1,32 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 WPMoo (wpmoo.org)
4
+
5
+ This license applies to the source code in this repository, except where a
6
+ file, directory, or third-party notice states otherwise.
7
+
8
+ WPMoo-generated visual assets are not licensed under the MIT License unless
9
+ explicitly stated. This includes brand assets, component preview images,
10
+ marketing images, screenshots, generated artwork, and other WPMoo-owned image
11
+ assets under `static/images/`. See `ASSET_LICENSE.md`.
12
+
13
+ Vendored third-party material keeps its original license and attribution.
14
+ See `THIRD_PARTY_NOTICES.md`.
15
+
16
+ Permission is hereby granted, free of charge, to any person obtaining a copy
17
+ of this software and associated documentation files (the "Software"), to deal
18
+ in the Software without restriction, including without limitation the rights
19
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20
+ copies of the Software, and to permit persons to whom the Software is
21
+ furnished to do so, subject to the following conditions:
22
+
23
+ The above copyright notice and this permission notice shall be included in all
24
+ copies or substantial portions of the Software.
25
+
26
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 WPMoo (wpmoo.org)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of the WPMoo-authored portions of moo-core.css and associated documentation
7
+ files (the "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish, distribute,
9
+ sublicense, and/or sell copies of the Software, and to permit persons to whom
10
+ the Software is 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.
package/README.md ADDED
@@ -0,0 +1,83 @@
1
+ # Moo UI
2
+
3
+ **Bootstrap markup. shadcn feel.**
4
+
5
+ ![Moo UI catalog preview](static/images/readme-hero.webp)
6
+
7
+ Moo UI is a Bootstrap 5.3 component system for teams that want the calm,
8
+ modern feel of shadcn/ui without leaving server-rendered HTML, Bootstrap
9
+ classes, Bootstrap Sass, or Bootstrap JavaScript behind.
10
+
11
+ It keeps Bootstrap as the public contract, then shapes the catalog, component
12
+ examples, and composed blocks into a quieter product interface language.
13
+
14
+ ## Philosophy
15
+
16
+ - **Bootstrap is the contract.** Moo UI keeps Bootstrap markup, documented
17
+ behavior, `data-bs-*` APIs, Sass knobs, and `--bs-*` variables wherever
18
+ Bootstrap can express the need.
19
+ - **shadcn is the visual language.** Moo UI studies shadcn/ui for restraint,
20
+ spacing, composition, and state language. It does not copy shadcn source,
21
+ React code, Tailwind code, Radix code, or example prose.
22
+ - **HTML stays first-class.** Component examples are generated from Jinja
23
+ macros, so the preview and copyable source share one rendered output.
24
+ - **No framework adoption tax.** The catalog can be browsed, built, and
25
+ shipped as static HTML without a SPA runtime.
26
+ - **Product shells matter.** Moo UI includes primitives, utilities, and
27
+ composed blocks for Bootstrap applications that need to feel like modern
28
+ product software.
29
+
30
+ ## Documentation
31
+
32
+ Browse the catalog at [ui.wpmoo.org](https://ui.wpmoo.org/). Component pages,
33
+ blocks, examples, local development notes, and implementation contracts belong
34
+ in the documentation rather than this README.
35
+
36
+ ## Package
37
+
38
+ The canonical npm package is `@wpmoo/ui`:
39
+
40
+ ```bash
41
+ npm install @wpmoo/ui
42
+ ```
43
+
44
+ For CDN usage, load the built CSS artifact from the canonical package:
45
+
46
+ ```html
47
+ <link rel="stylesheet" href="https://unpkg.com/@wpmoo/ui/dist/assets/css/moo-ui.css">
48
+ ```
49
+
50
+ Bundlers can import the same stylesheet from the package export:
51
+
52
+ ```js
53
+ import "@wpmoo/ui/moo-ui.css";
54
+ ```
55
+
56
+ If the shorter `@moo/ui` scope is available to WPMoo, it is reserved as a
57
+ small alias package only. Use `@wpmoo/ui` in documentation, CDN examples, and
58
+ production installs.
59
+
60
+ ## Build Outputs
61
+
62
+ The static build emits three CSS artifacts under `dist/assets/css/`:
63
+
64
+ - `moo-ui.css` for the standalone catalog and examples.
65
+ - `catalog.css` for documentation chrome.
66
+ - `moo-core.css` for integrations that need the Moo component surface as an
67
+ opt-in native `@scope (.moo-ui)` layer.
68
+
69
+ The npm package publishes only built component CSS, the optional Bootstrap
70
+ bundle, and license/notice files. WPMoo-owned catalog and preview images are
71
+ not included in the package.
72
+
73
+ ## Licensing
74
+
75
+ Moo UI source code is licensed under the MIT License by WPMoo (`wpmoo.org`).
76
+
77
+ WPMoo-generated visual assets, including image assets under `static/images/`,
78
+ are not covered by the MIT source code license and remain copyright WPMoo, all
79
+ rights reserved.
80
+
81
+ Vendored third-party material keeps its original license and attribution. See
82
+ `LICENSE`, `LICENSE-MOO-CORE.txt`, `ASSET_LICENSE.md`, and
83
+ `THIRD_PARTY_NOTICES.md`.
@@ -0,0 +1,39 @@
1
+ # Third-Party Notices
2
+
3
+ ## Bootstrap
4
+
5
+ Moo UI vendors the official `twbs/bootstrap` v5.3.3 SCSS source and bundled
6
+ JavaScript. Bootstrap is licensed under the MIT License; the bundled license is
7
+ stored at `vendor/bootstrap/LICENSE`.
8
+
9
+ Bootstrap's component and Button documentation are behavior, semantics, and
10
+ accessibility references for this product.
11
+
12
+ ## shadcn/ui
13
+
14
+ The shadcn/ui component and Button documentation are visual-intent and catalog
15
+ coverage references. No shadcn/ui implementation source, React code, Tailwind
16
+ code, Radix code, or example prose is bundled or copied.
17
+
18
+ Moo UI documentation, example copy, component templates, styles, and inline
19
+ SVG icons are original product work.
20
+
21
+ ## Lucide
22
+
23
+ Moo UI vendors a build-time icon metadata subset from Iconify's Lucide icon
24
+ set at `src/icons/lucide-icons.json` and renders selected icons into the
25
+ generated catalog. Lucide is licensed under the ISC License. The source
26
+ metadata identifies the Lucide project, its contributors, and the upstream
27
+ license URL.
28
+
29
+ ## Geist
30
+
31
+ Moo UI vendors `Geist-Variable.woff2` for catalog chrome typography only.
32
+ Geist is licensed under the SIL Open Font License 1.1 (`OFL-1.1`); the bundled
33
+ license is stored at `vendor/geist/LICENSE`.
34
+
35
+ ## WPMoo visual assets
36
+
37
+ WPMoo-generated visual assets, including image assets under `static/images/`,
38
+ are original WPMoo work and are not licensed under MIT unless explicitly
39
+ stated. See `ASSET_LICENSE.md`.