@selimssevgi/cube-design-angular 0.6.2 → 0.7.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.
- package/CHANGELOG.md +11 -0
- package/README.md +3 -2
- package/fesm2022/selimssevgi-cube-design-angular.mjs +604 -58
- package/fesm2022/selimssevgi-cube-design-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/tokens/dark.css +9 -1
- package/tokens/light.css +9 -1
- package/types/selimssevgi-cube-design-angular.d.ts +130 -4
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
nothing yet.
|
|
6
6
|
|
|
7
|
+
## 0.7.1 (7 november 2026: a trackpad pinch that starts still or the other way)
|
|
8
|
+
|
|
9
|
+
- **the first real step decides a wheel stream**, where its first event did. a mac's trackpad often begins a pinch with a still event (`deltaY` 0), which took the stream as begun and so ignored the whole pinch, or with the fingers settling the other way (`deltaY` -1), which read a pinch out as a pinch in (selim, 6 november 2026: "zoom out not working sometimes"; cube-screens' `uat/use-cases/gestures.cjs` plays both streams). now a step under `CUBE_WHEEL_STEP` (2) only moves the stream's end and keeps the page zoom away; the first step of at least 2 decides by its own sign, and a slow pinch of small steps decides once they add up to three times that. the rule alone is the pure `wheelWay(deltaY, sum, least)`. still one step a stream. an app changes nothing; the first release from cube-screens.
|
|
10
|
+
|
|
11
|
+
## 0.7.0 (7 november 2026: the cube's art, offered as options)
|
|
12
|
+
|
|
13
|
+
- **the cube's art** (`CubeArt`, `CUBE_ARTS`, `isArt`, `DrawnArt`, `drawArt`, `ArtShape`, `ArtDrawing`, `ArtOptions`): five ways to draw the same look, stickers (the first one), blocks, glass, ribbons and dots, from mosaic's todarch head (lang-app-fe #231). `<cube-picture [art]>` draws them, `stickers` by default, so an app that sets nothing is unchanged. cube design's decision of 7 november 2026 (`applications/screens/decisions.md`): every art draws the same look, and the person chooses.
|
|
14
|
+
- **choosing one, for one app or for all** (`ArtChoices`, `artFor`, `chooseArt`, `readArtChoices`, `ART_CHOICES_KEY`, `CubeArtChoices`): kept on this phone; an app starts on its own art (its dial), the one i chose for all wins over it, and the one i chose for this app wins over both.
|
|
15
|
+
- **the art in the context cube**: `artLevel(now, look, words)` gives a tile per art, each drawing the look that way; `ContextTile.art` (`ContextArt`) draws a tile's cube with `<cube-picture>` in place of its icon, `contextArtWidth(level)` wide; `ContextWords.arts` names them.
|
|
16
|
+
- both token files set the art's variables (`--cube-art-edge`, `--cube-art-unknown-edge`, `--cube-glass*`).
|
|
17
|
+
|
|
7
18
|
## 0.6.2 (4 november 2026: a held square stands in the middle)
|
|
8
19
|
|
|
9
20
|
- **`align` on `<cube-square>`**, `'center'` by default: a square narrower than its place (held to the window's height so it is seen whole, or to `maxSide`) stands in the middle of it, its spare width shared on both sides. before, it stood at the start and left the spare width empty on the right: selim saw it on mosaic's todarch at 1280 × 860, a 4 × 4 (eight tiles, `least: 'room'`) held to 756 px in an 812 px column. `align: 'start'` keeps the old place. the turning rows' band is centred the same way. an app changes nothing.
|
package/README.md
CHANGED
|
@@ -119,8 +119,9 @@ export class Level {
|
|
|
119
119
|
|
|
120
120
|
- two fingers that end 1.25 times further apart (`CUBE_PINCH_APART`) are `in`, 0.8 times or closer
|
|
121
121
|
(`CUBE_PINCH_TOGETHER`) are `out`, decided when the first lifts.
|
|
122
|
-
- a trackpad's pinch reaches chrome, edge and firefox as a stream of ctrl + wheel events:
|
|
123
|
-
decides (`deltaY` below
|
|
122
|
+
- a trackpad's pinch reaches chrome, edge and firefox as a stream of ctrl + wheel events: its first
|
|
123
|
+
real step decides (`deltaY` -2 or below is `in`, 2 or above `out`; `CUBE_WHEEL_STEP`, `wheelWay`;
|
|
124
|
+
a still start or fingers settling the other way decide nothing, since 0.7.1), and the stream is one pinch until the wheel has been quiet
|
|
124
125
|
250 ms (`CUBE_WHEEL_QUIET_MS`). the stream is kept for the whole page, so the level a pinch steps
|
|
125
126
|
to never takes the rest of it as a second step (two levels out for one pinch on a mac, found in
|
|
126
127
|
mosaic). `startsWheelGesture(lastAt, now)` is the rule alone. safari's gesture events count too.
|