@webtides/element-library 0.1.0 → 0.1.2
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 +16 -0
- package/custom-elements.json +489 -489
- package/package.json +3 -5
- package/src/components/carousel/carousel.changelog.md +6 -0
- package/src/components/carousel/glide/components/ShadowHtml.js +1 -1
- package/src/components/carousel/glide/components/glide-html.js +108 -0
- package/src/components/dialog/dialog.changelog.md +6 -0
- package/src/components/notification/notification.changelog.md +6 -0
- package/src/utils/body-scroll.js +43 -0
- package/src/utils/transitions.js +39 -0
- package/types/src/components/carousel/glide/components/ShadowHtml.d.ts +4 -1
- package/types/src/components/carousel/glide/components/glide-html.d.ts +12 -0
- package/web-types.json +211 -211
- package/patches/@glidejs+glide+3.6.2.patch +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,22 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/) and this
|
|
|
12
12
|
|
|
13
13
|
## Unreleased
|
|
14
14
|
|
|
15
|
+
## [0.1.2] - 2026-06-04
|
|
16
|
+
|
|
17
|
+
### Packaging
|
|
18
|
+
|
|
19
|
+
- Fixed: the published tarball now ships the runtime `src/utils/*.js` files. The `files` allowlist in `package.json` included `src/components/**/*.js` but not `src/utils/**/*.js`, so `0.1.1` shipped only the `types/src/utils/*.d.ts` declarations while the runtime modules were dropped. Components that import them — `el-notification` and `el-dialog` (`../../utils/transitions.js`, `../../utils/body-scroll.js`) — failed to resolve those imports from the published package, breaking downstream builds (e.g. `nuxt build`). This is independent of the `patch-package` `postinstall` fix in `0.1.1`.
|
|
20
|
+
|
|
21
|
+
## [0.1.1] - 2026-06-04
|
|
22
|
+
|
|
23
|
+
### Packaging
|
|
24
|
+
|
|
25
|
+
- Fixed: a clean `npm install @webtides/element-library` no longer fails. `0.1.0` ran `"postinstall": "patch-package"` without shipping `patch-package`, so consumers without it on `PATH` got `sh: patch-package: command not found` (exit 127) and the install aborted. The `postinstall` hook, the `patch-package` devDependency, and the `patches/` directory have all been removed.
|
|
26
|
+
|
|
27
|
+
### Components
|
|
28
|
+
|
|
29
|
+
- Fixed (`el-carousel`): the carousel now bundles in consumer projects. It deep-imports Glide's `src/components/html.js`, whose pristine source imports a non-existent `exist` export — which `esbuild`/Vite reject as a hard build error. `0.1.0` "fixed" this with a `patch-package` patch applied via `postinstall`, but a dependency's `postinstall` runs from its own nested directory and can never reach the consumer's hoisted `@glidejs/glide`, so the patch never applied downstream. The fixed Glide `html.js` component is now vendored into the carousel (`glide/components/glide-html.js`) instead, removing the dependency on patching consumers' `node_modules`.
|
|
30
|
+
|
|
15
31
|
## [0.1.0] - 2026-06-03
|
|
16
32
|
|
|
17
33
|
### Components
|