@usequeek/theme-kit 0.1.26 → 0.1.27
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/README.md +5 -6
- package/package.json +1 -2
- package/CHANGELOG.md +0 -45
package/README.md
CHANGED
|
@@ -480,7 +480,7 @@ store's languages.
|
|
|
480
480
|
| Prop | Default | |
|
|
481
481
|
| --- | --- | --- |
|
|
482
482
|
| `className` | | Extra class on the root, to position or restyle it. |
|
|
483
|
-
| `variant` | `'select'` | `'menu'`: a trigger button and a list of language links (below). `'inline-list'`: a link per language that wraps on narrow screens. `'select'`: one native dropdown, **legacy** — it works
|
|
483
|
+
| `variant` | `'select'` | `'menu'`: a trigger button and a list of language links (below). `'inline-list'`: a link per language that wraps on narrow screens. `'select'`: one native dropdown, **legacy** — it works, but its open list is the operating system's menu and cannot be styled; prefer `menu`. |
|
|
484
484
|
| `side` | `'bottom'` | `menu` only. `'top'` opens above the trigger, for footers. Flips by itself when the preferred side does not fit. |
|
|
485
485
|
| `align` | `'end'` | `menu` only. Line the popover up with the trigger's inline `'end'` or `'start'` edge (mirrors in right-to-left). Flips and shifts to stay inside the viewport. |
|
|
486
486
|
| `showNativeName` | `true` | Label languages in their own language (`Français`) instead of English (`French`). |
|
|
@@ -684,8 +684,8 @@ fails here instead of after publishing.
|
|
|
684
684
|
## Versioning
|
|
685
685
|
|
|
686
686
|
The kit is pre-1.0 (`0.x`). A change to the surface the barrels declare that can
|
|
687
|
-
break a theme ships in a minor version
|
|
688
|
-
|
|
687
|
+
break a theme ships in a minor version; patch versions are fixes and
|
|
688
|
+
additions. Pin a
|
|
689
689
|
minor version (`~0.1.23`) if a theme must not move on its own.
|
|
690
690
|
|
|
691
691
|
## Release
|
|
@@ -694,7 +694,7 @@ Publishing runs on tags via `.github/workflows/publish.yml`, through npm
|
|
|
694
694
|
trusted publishing (no stored token), with provenance:
|
|
695
695
|
|
|
696
696
|
```bash
|
|
697
|
-
# 1. Bump version in package.json,
|
|
697
|
+
# 1. Bump version in package.json, commit
|
|
698
698
|
# 2. Tag and push the tag. The workflow typechecks, tests, runs verify-package,
|
|
699
699
|
# then `npm publish --provenance --access public`:
|
|
700
700
|
git tag vX.Y.Z
|
|
@@ -706,8 +706,7 @@ git push origin main --tags
|
|
|
706
706
|
Open an issue or a pull request at
|
|
707
707
|
[usequeek/theme-kit](https://github.com/usequeek/theme-kit). Run `npm run typecheck`
|
|
708
708
|
and `npm test` before you push; CI runs both plus `verify-package`. Keep a change
|
|
709
|
-
to the public surface small
|
|
710
|
-
the CHANGELOG.
|
|
709
|
+
to the public surface small and documented with a JSDoc `@example`.
|
|
711
710
|
|
|
712
711
|
## Security
|
|
713
712
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usequeek/theme-kit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The runtime a Queek storefront theme is built on: hooks, stores, page renderer, navigation, shared blocks and locale strings.",
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
"locales/*.json",
|
|
42
42
|
"README.md",
|
|
43
43
|
"LICENSE",
|
|
44
|
-
"CHANGELOG.md",
|
|
45
44
|
"!tests",
|
|
46
45
|
"!scripts"
|
|
47
46
|
],
|
package/CHANGELOG.md
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to `@usequeek/theme-kit`. See the README for the versioning
|
|
4
|
-
policy. Versions before this file started are in the git tags.
|
|
5
|
-
|
|
6
|
-
## 0.1.25 - 2026-10-14
|
|
7
|
-
|
|
8
|
-
### Packaging
|
|
9
|
-
|
|
10
|
-
- The customer SDK moved to the Queek scope: the peer dependency is now
|
|
11
|
-
`@usequeek/client-sdk` `^0.4.0` (was `@queekai/client-sdk`, which is deprecated).
|
|
12
|
-
Install `@usequeek/client-sdk` alongside the kit and remove `@queekai/client-sdk`.
|
|
13
|
-
|
|
14
|
-
## 0.1.24 - 2026-10-12
|
|
15
|
-
|
|
16
|
-
### Added
|
|
17
|
-
|
|
18
|
-
- `ApiRequestError` and `ApiTimeoutError` carry a stable `code` (`unauthenticated`,
|
|
19
|
-
`forbidden`, `not_found`, `rate_limited`, `client_error`, `server_error`,
|
|
20
|
-
`timeout`) and a `retryable` flag. `ApiRequestError` also carries `requestId`,
|
|
21
|
-
`retryAfterSeconds` and `detail`. Their messages say what happened and what to do
|
|
22
|
-
next, and never include the query string.
|
|
23
|
-
- The fetching hooks (`useProducts`, `useProductBySlug`, `useShop`, `usePosts`,
|
|
24
|
-
`useReviews`, `useProductQuestions`, `useCategories`, `useRelatedProducts`,
|
|
25
|
-
`useProductDetail`) return an `error` field (`Error | null`).
|
|
26
|
-
- One warning, in production builds only, when `QUEEK_API_URL` is not set.
|
|
27
|
-
- JSDoc with examples on the hooks, providers, clients, stores and the main
|
|
28
|
-
components.
|
|
29
|
-
|
|
30
|
-
### Fixed
|
|
31
|
-
|
|
32
|
-
- `useProducts` and `useShop` no longer leave an unhandled promise rejection when
|
|
33
|
-
the request fails.
|
|
34
|
-
- Slugs and ids are URL-encoded when they are placed in a request path
|
|
35
|
-
(products, collections, related products, questions, orders).
|
|
36
|
-
- Google sign-in no longer logs the sign-in URL or the response body.
|
|
37
|
-
- Hook errors raised outside a provider name the missing provider and the fix.
|
|
38
|
-
|
|
39
|
-
### Packaging
|
|
40
|
-
|
|
41
|
-
- The published package no longer contains `tests/` or `scripts/`.
|
|
42
|
-
- Peer dependency `@queekai/client-sdk` is `^0.3.1 || ^0.4.0` (was `*`); `engines.node` is
|
|
43
|
-
`>=22`; `bugs`, `homepage`, `author` and `keywords` are set; releases publish
|
|
44
|
-
with npm provenance.
|
|
45
|
-
- The licence names the legal entity, Queekx Technology LTD.
|