@thebankingengineer/site-effects 0.2.0 → 0.2.1

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 (2) hide show
  1. package/README.md +5 -4
  2. package/package.json +1 -6
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @thebankingengineer/site-effects
2
2
 
3
3
  Shared motion, loading and feedback components for React apps and
4
- micro-frontends built on [`@thebankingengineer/design-tokens`](../). Every
4
+ micro-frontends built on [`@thebankingengineer/design-tokens`](https://www.npmjs.com/package/@thebankingengineer/design-tokens). Every
5
5
  component is styled by the tokens' `effects.css`, so it takes on whichever
6
6
  brand theme the app imports, in light and dark.
7
7
 
@@ -30,8 +30,8 @@ brand theme the app imports, in light and dark.
30
30
  **Accessibility.** Decorative pieces are `aria-hidden` and never intercept
31
31
  clicks on links, buttons or form controls. Loaders and toasts are live
32
32
  regions. `prefers-reduced-motion` and the motion toggle stop ambient motion;
33
- pointer effects are off on touch screens. All of it is exercised by the repo's
34
- browser tests (axe-core WCAG 2.2 AA plus behaviour checks) — see the root README.
33
+ pointer effects are off on touch screens. All of it is exercised by browser
34
+ tests (axe-core WCAG 2.2 AA plus behaviour checks) before every release.
35
35
 
36
36
  ## Install
37
37
 
@@ -95,4 +95,5 @@ npm install
95
95
  npm run check # build, exports present, 'use client' kept on client modules only
96
96
  ```
97
97
 
98
- Releases are staged by the repo's *Stage to npm* workflow — see the root README.
98
+ Releases are staged automatically when a version bump merges to `main`, and go
99
+ live only after 2FA approval on npm — see the design-tokens README.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thebankingengineer/site-effects",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Shared motion, loading and feedback components for React apps and micro-frontends — animated network background, reading progress, activity bar, loaders, toasts, status pills, a motion pause control and GA4 reading-engagement events. Styled by @thebankingengineer/design-tokens.",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -36,11 +36,6 @@
36
36
  "access": "public",
37
37
  "registry": "https://registry.npmjs.org"
38
38
  },
39
- "repository": {
40
- "type": "git",
41
- "url": "git+https://github.com/Building-Better-Systems-Pte-Ltd/design-tokens.git",
42
- "directory": "site-effects"
43
- },
44
39
  "peerDependenciesMeta": {
45
40
  "@thebankingengineer/design-tokens": {
46
41
  "optional": true