@newtone-dev/ui-react-web 0.19.0 → 0.19.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.
@@ -57,7 +57,10 @@
57
57
  * The span is the circle and the plate, from the rule above; the images fill one grid cell on top of
58
58
  * it. `overflow: hidden` because the radius is on the span and a radius does not round children.
59
59
  *
60
- * BOTH PICTURES FADE, NOT ONLY THE TOP ONE: they are transparent cut-outs, so a hover picture laid
60
+ * THE SWAP IS INSTANT, NO TRANSITION, from 0.19.1. 0.19.0 cross-faded over 200ms; Joshua: *"the
61
+ * transition between the pictures should be instant."* Mid-fade the circle held two faces.
62
+ *
63
+ * BOTH PICTURES SWAP, NOT ONLY THE TOP ONE: they are transparent cut-outs, so a hover picture laid
61
64
  * over a rest picture that stayed visible shows both faces at once.
62
65
  *
63
66
  * CLICKABLE IS READ FROM THE ANCESTOR. The avatar is never the control -- it sits in a card that is a
@@ -73,7 +76,6 @@
73
76
  inline-size: 100%;
74
77
  block-size: 100%;
75
78
  object-fit: cover;
76
- transition: opacity 200ms ease;
77
79
  }
78
80
 
79
81
  .newtone-avatar--swap > .newtone-avatar__hover {
@@ -87,9 +89,3 @@
87
89
  :is(a, button):is(:hover, :focus-visible) .newtone-avatar--swap > .newtone-avatar__hover {
88
90
  opacity: 1;
89
91
  }
90
-
91
- @media (prefers-reduced-motion: reduce) {
92
- .newtone-avatar--swap > img {
93
- transition: none;
94
- }
95
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newtone-dev/ui-react-web",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",