@wpmoo/ui 1.0.0-rc.2 → 1.0.0-rc.3

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/ASSET_LICENSE.md CHANGED
@@ -14,4 +14,4 @@ product, site, template, library, training dataset, or marketing asset without
14
14
  prior written permission from WPMoo.
15
15
 
16
16
  Third-party assets remain under their own licenses. See the
17
- [version-pinned third-party notices](https://github.com/wpmoo-org/ui/blob/v1.0.0-rc.2/THIRD_PARTY_NOTICES.md).
17
+ [version-pinned third-party notices](https://github.com/wpmoo-org/ui/blob/v1.0.0-rc.3/THIRD_PARTY_NOTICES.md).
package/README.md CHANGED
@@ -27,7 +27,7 @@
27
27
  Moo UI preserves Bootstrap markup, variables, and JavaScript plugins wherever
28
28
  Bootstrap already provides the contract. For patterns Bootstrap does not
29
29
  provide, Moo UI adds small documented extensions, including optional ESM for
30
- Combobox, Context Menu, DataTable, and Sidebar.
30
+ Combobox, Context Menu, DataTable, Sidebar, Chart, Datepicker, and Slider.
31
31
 
32
32
  - **CSS-first.** Most components need only the stylesheet and ordinary HTML.
33
33
  - **Bootstrap owns native behavior.** Keep using Bootstrap's bundle for its
@@ -61,6 +61,9 @@ instead of another Bootstrap stylesheet, not in addition to one.
61
61
  | Context Menu pointer and keyboard invocation | Optional Moo UI ESM, composed with Bootstrap Dropdown | `@wpmoo/ui/context-menu.js`, then explicit initialization |
62
62
  | DataTable sorting, filtering, selection, pagination, and responsive card sync | Optional Moo UI ESM, composed with Bootstrap Table and controls | `@wpmoo/ui/datatable.js`, then explicit initialization |
63
63
  | Sidebar state and responsive coordination | Optional Moo UI ESM, composed with Bootstrap plugins | `@wpmoo/ui/sidebar.js`, then explicit initialization |
64
+ | Chart rendering with light/dark theme toggle | Optional Moo UI ESM, self-contained bundle (Chart.js 4.5.1 bundled) | `@wpmoo/ui/chart.js`, then explicit initialization |
65
+ | Datepicker with shadcn-like trigger/popover/calendar | Optional Moo UI ESM, self-contained (no third-party runtime) | `@wpmoo/ui/datepicker.js`, then explicit initialization |
66
+ | Slider with native range input semantics | Optional Moo UI ESM, no third-party runtime | `@wpmoo/ui/slider.js`, then explicit initialization |
64
67
 
65
68
  Moo UI does not replace Bootstrap plugins and does not publish a mandatory
66
69
  aggregate JavaScript runtime.
@@ -106,11 +109,17 @@ import Combobox from "@wpmoo/ui/combobox.js";
106
109
  import ContextMenu from "@wpmoo/ui/context-menu.js";
107
110
  import DataTable from "@wpmoo/ui/datatable.js";
108
111
  import Sidebar from "@wpmoo/ui/sidebar.js";
112
+ import Chart from "@wpmoo/ui/chart.js";
113
+ import Datepicker from "@wpmoo/ui/datepicker.js";
114
+ import Slider from "@wpmoo/ui/slider.js";
109
115
 
110
116
  Combobox.getOrCreateInstance(document.querySelector(".combobox"));
111
117
  ContextMenu.getOrCreateInstance(document.querySelector(".context-menu"));
112
118
  DataTable.getOrCreateInstance(document.querySelector(".datatable"));
113
119
  Sidebar.getOrCreateInstance(document.querySelector('[data-slot="sidebar-wrapper"]'));
120
+ Chart.getOrCreateInstance(document.querySelector(".chart"));
121
+ Datepicker.getOrCreateInstance(document.querySelector("[data-datepicker]"));
122
+ Slider.getOrCreateInstance(document.querySelector("[data-slider]"));
114
123
  ```
115
124
 
116
125
  See the [Installation guide](https://ui.wpmoo.org/installation/) for CDN
@@ -125,6 +134,7 @@ recipes, load order, and troubleshooting.
125
134
  | Static page with no interactive plugins | Load CSS only. |
126
135
  | Page using Bootstrap plugins | Keep Bootstrap's bundle and its documented initialization. |
127
136
  | Page using Combobox, Context Menu, DataTable, or Sidebar | Add only the corresponding optional Moo UI ESM module. |
137
+ | Page using Chart, Datepicker, or Slider | Add only the corresponding optional Moo UI ESM module. Chart bundles its third-party runtime; Datepicker and Slider are self-contained with no third-party dependency. |
128
138
 
129
139
  ## Public Package Surface
130
140
 
@@ -139,15 +149,20 @@ recipes, load order, and troubleshooting.
139
149
  | `@wpmoo/ui/combobox.js` | Optional Combobox ESM lifecycle |
140
150
  | `@wpmoo/ui/context-menu.js` | Optional Context Menu ESM lifecycle |
141
151
  | `@wpmoo/ui/datatable.js` | Optional DataTable ESM lifecycle |
152
+ | `@wpmoo/ui/chart.js` | Optional Chart ESM lifecycle (Chart.js 4.5.1 bundled) |
153
+ | `@wpmoo/ui/chart.min.js` | Minified Chart bundle (artifact variant of chart.js) |
154
+ | `@wpmoo/ui/datepicker.js` | Optional Datepicker ESM lifecycle (self-contained, no third-party runtime) |
155
+ | `@wpmoo/ui/datepicker.min.js` | Minified Datepicker bundle (artifact variant of datepicker.js) |
156
+ | `@wpmoo/ui/slider.js` | Optional Slider ESM lifecycle (native range input, no third-party runtime) |
142
157
  | `@wpmoo/ui/sidebar.js` | Optional Sidebar ESM lifecycle |
143
- | `@wpmoo/ui/scss/facade-settings` | Public Sass variable allow-list (LibSass `@import`) |
158
+ | `@wpmoo/ui/scss/config` | Public Sass variable allow-list (LibSass `@import`) |
144
159
  | `@wpmoo/ui/certification.json` | Versioned support/evidence manifest |
145
160
  | `@wpmoo/ui/package.json` | Package metadata |
146
161
 
147
- The tarball also contains `README.md`, `LICENSE`, and `ASSET_LICENSE.md`. It
148
- does not publish catalog templates, preview artwork, catalog JavaScript, or
149
- internal SCSS partials beyond the facade's required settings import. Internal
150
- Sass partials and Jinja macros are repository build tools, not npm APIs.
162
+ The tarball also contains `README.md`, `LICENSE`, `ASSET_LICENSE.md`, and
163
+ THIRD_PARTY_NOTICES.md. It does not publish catalog templates, preview
164
+ artwork, catalog JavaScript, or internal SCSS partials beyond the public Sass
165
+ config. Internal Sass partials and Jinja macros are repository build tools, not npm APIs.
151
166
 
152
167
  ## Why Bootstrap Teams Try It
153
168
 
@@ -175,7 +190,7 @@ are not part of the npm package.
175
190
 
176
191
  ## Status And Support
177
192
 
178
- Moo UI is at the `1.0.0-rc.2` release candidate. Current package: `@wpmoo/ui@1.0.0-rc.2`. The
193
+ Moo UI is at the `1.0.0-rc.3` release candidate. Current package: `@wpmoo/ui@1.0.0-rc.3`. The
179
194
  package's certification manifest currently has `preview` status; catalog
180
195
  availability is WPMoo-maintained preview evidence, not independent or
181
196
  accredited certification. Read [Support & Evidence](https://ui.wpmoo.org/support/)
@@ -212,4 +227,4 @@ Moo UI source code is MIT licensed. WPMoo-generated visual assets under
212
227
  `site/static/images/` remain separately protected as described in
213
228
  `ASSET_LICENSE.md`. Vendored dependencies retain their original licenses; see
214
229
  `LICENSE`, `ASSET_LICENSE.md`, and the
215
- [version-pinned third-party notices](https://github.com/wpmoo-org/ui/blob/v1.0.0-rc.2/THIRD_PARTY_NOTICES.md).
230
+ [version-pinned third-party notices](https://github.com/wpmoo-org/ui/blob/v1.0.0-rc.3/THIRD_PARTY_NOTICES.md).
@@ -0,0 +1,53 @@
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
+ Moo UI is designed for server-rendered interfaces that keep Bootstrap markup as
15
+ the durable contract. shadcn/ui is used as a visual-intent and catalog-coverage
16
+ reference. If you are building React and Tailwind applications, use shadcn/ui
17
+ directly: https://ui.shadcn.com/
18
+
19
+ ## Lucide
20
+
21
+ Moo UI vendors a build-time icon metadata subset from Iconify's Lucide icon
22
+ set at `src/icons/lucide-icons.json` and renders selected Lucide icons into the
23
+ generated catalog. Lucide is licensed under the ISC License. The source
24
+ metadata identifies the Lucide project, its contributors, and the upstream
25
+ license URL. The root favicon set (`favicon.svg`, `favicon.ico`,
26
+ `apple-touch-icon.png`, `icon-192.png`, and `icon-512.png`) uses the Lucide
27
+ Blocks geometry and remains covered by the same ISC license notice.
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
+ ## Chart.js
36
+
37
+ Moo UI bundles Chart.js into the published `@wpmoo/ui` ESM outputs at build time.
38
+
39
+ - **Library:** Chart.js
40
+ - **Version:** 4.5.1
41
+ - **License:** MIT
42
+ - **Source:** <https://github.com/chartjs/Chart.js>
43
+ - **Copyright:** Copyright (c) 2014-2024 Chart.js contributors
44
+ - **Bundled outputs:** `dist/js/chart.js` (canonical), `dist/js/chart.min.js` (minified)
45
+
46
+ Only the JavaScript runtime is bundled. Chart.js's default CSS is not imported
47
+ or shipped.
48
+
49
+ ## WPMoo visual assets
50
+
51
+ WPMoo-generated visual assets, including image assets under `site/static/images/`,
52
+ are original WPMoo work and are not licensed under MIT unless explicitly
53
+ stated. See `ASSET_LICENSE.md`.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "0.1",
3
3
  "status": "preview",
4
- "coreVersion": "1.0.0-rc.2",
4
+ "coreVersion": "1.0.0-rc.3",
5
5
  "bootstrap": {
6
6
  "canonicalVersion": "5.3.3",
7
7
  "targetRange": ">=5.3.0 <5.4",
@@ -24,9 +24,14 @@
24
24
  "./combobox.js",
25
25
  "./sidebar.js",
26
26
  "./context-menu.js",
27
- "./datatable.js"
27
+ "./datatable.js",
28
+ "./slider.js",
29
+ "./chart.js",
30
+ "./chart.min.js",
31
+ "./datepicker.js",
32
+ "./datepicker.min.js"
28
33
  ],
29
- "sass": ["./scss/facade-settings"]
34
+ "sass": ["./scss/config"]
30
35
  },
31
36
  "supportPolicy": "https://github.com/wpmoo-org/ui/blob/main/SUPPORT.md"
32
37
  }