@selimssevgi/cube-design-angular 0.7.1 → 0.8.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 +15 -0
- package/README.md +13 -1
- package/fesm2022/selimssevgi-cube-design-angular.mjs +1354 -6
- package/fesm2022/selimssevgi-cube-design-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/tokens/dark.css +22 -0
- package/tokens/light.css +22 -0
- package/types/selimssevgi-cube-design-angular.d.ts +550 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
nothing yet.
|
|
6
6
|
|
|
7
|
+
## 0.8.1 (7 november 2026: a level stands still once it shows)
|
|
8
|
+
|
|
9
|
+
- `<cube-square>` no longer plays its zoom-out step when it measures its room. it lays itself out for a phone's width until the first measure; on a computer that measure gave it four columns instead of three, and it played the step meant for "a square that has to hold more" on a level nobody asked to zoom, so every level shrank and slid into place in its first half second (selim, 7 november, on mosaic's home: "the tiles are moving … it feels like it's getting narrower"). now only a change in what it holds plays the step; a window made wider lays out again without moving. guarded by cube-screens `regressions/shared/standing-still.md` (RC-14) and two specs. a patch: nothing an app sets changes.
|
|
10
|
+
|
|
11
|
+
## 0.8.0 (7 november 2026: the screen's ground, so every cube app stops copying it)
|
|
12
|
+
|
|
13
|
+
the first library round of the flow (cube-screens `uat/use-cases/flow.md`, selim 7 november 12:59; his yes to the list the same day). what every app copied, and what the every-level model page built because the package lacked it (`prototypes/every-level-4/gaps.md` › the library check), moved in. nothing that was here changes: an app that takes 0.8.0 and sets nothing new sees no change.
|
|
14
|
+
|
|
15
|
+
- **the zoom and its trail** (`CubeZoomService`, `CubeZoomPinch` (`[cubeZoomPinch]`, `(cubeZoomOut)`), `CubeEntrance`, `cubeTrailHolds`, `cubeMovesThePage`, `provideCubeZoom`, `CUBE_ZOOM_OPTIONS`, `CubeZoomOptions`): mosaic's `shared/cube/zoom.ts`, the newest copy (the trail kept on a step out, RC-3; the scroll put back, RC-2, `keepScroll` on by default). new: **"i left this level"**, `left` (`CubeLeft`: `{ from, to, via }`), said by `stepBack(to?)` and `leaveAll` before the navigation, so an app reads a level when the person leaves it.
|
|
16
|
+
- **the head**, `<cube-head>` (`CubeHead`, `CUBE_HEAD_SWIPE`): ‹ and where it goes back to (a drop place for a carry with `backDrop`), the level's cube in its circle (held, `held`; with `turns`, a swipe turns it), its name (an `h1`) and line, one line each on a phone, and what is said once as its content. no words: every one is the app's. from mosaic's two heads, todarch's and the model page's.
|
|
17
|
+
- **the tile**, `<cube-tile>` (`CubeTile`, `CubeTileLook`, `cubeTilePicture`): a piece inside `<cube-square>`, its small cube, name and line, ticked, in four looks (`piece`, `own`, `dashed`, `pale`) and `marked`; the host is the tile, so the app's attributes and gestures go on it. the table and way looks of the physics are not here: they come with the physics.
|
|
18
|
+
- **one tile size on every screen**: `[cell]` on `<cube-square>` and `<cube-context>`, `squareCell`, `squareSideAt`, and `CubeRoom` with `[cubeRoom]` (`CubeRoomMeasure`, `CUBE_ROOM_NARROW`): the screen decides one cell (three across on a phone, four from 640 px) and every square on it, the context cube's too, draws its tiles at that size, whatever its count (selim, 6 november: "a problem also in current prod apps"). `cell` is null by default: the old sizing.
|
|
19
|
+
- **the quiet line**, `CubeQuietLine` (headless: said once on its level, kept across a step in and out, cleared by the app's next move) and `<cube-quiet>` (`CubeQuiet`, `CubeQuietNote`): what the app read, with one tap to undo, in the app's words.
|
|
20
|
+
- both token files set the new variables (`--cube-head-*`, `--cube-tile-*`, `--cube-quiet-*`).
|
|
21
|
+
|
|
7
22
|
## 0.7.1 (7 november 2026: a trackpad pinch that starts still or the other way)
|
|
8
23
|
|
|
9
24
|
- **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.
|
package/README.md
CHANGED
|
@@ -472,7 +472,7 @@ in one across. a tile fills its cell; give it `height: 100%` or `display: grid`
|
|
|
472
472
|
page scrolls.
|
|
473
473
|
- open places only finish the last row; a view never draws a whole empty row (decision of
|
|
474
474
|
2026-11-01): three pieces in 4 × 5 are one row of four. the square keeps its n × n.
|
|
475
|
-
- when it has to hold more it zooms out a step (not when the phone asks for less motion).
|
|
475
|
+
- when it has to hold more it zooms out a step (not when the phone asks for less motion). only what it holds plays the step: measuring its room (the first measure, a wider window) lays it out again without moving, so a level stands still once it shows (since 0.8.1).
|
|
476
476
|
- it says no word and draws no tile, so each app keeps its own pictures, tones, hold and hide.
|
|
477
477
|
`squareLayout(view, count, room)` is the same layout as a pure function.
|
|
478
478
|
|
|
@@ -518,6 +518,18 @@ screen as wide as `turnBelow` (640 px) shows the whole square.
|
|
|
518
518
|
tap that ends a turn is swallowed.
|
|
519
519
|
- the edge's colour is `--cube-square-edge`, a focused row's outline `--cube-square-focus`.
|
|
520
520
|
|
|
521
|
+
## the screen's ground (since 0.8.0)
|
|
522
|
+
|
|
523
|
+
what every cube app copied, moved in (the first library round of cube-screens' flow, 7 november 2026). each has its page at https://cube-screens.selimssevgi.com/angular/.
|
|
524
|
+
|
|
525
|
+
- **the zoom and its trail** (`CubeZoomService`, `[cubeZoomPinch]`): back the way i came, the next level grown out of the tile, the scroll kept on a step out, and `left`, "i left this level". page: `cube-zoom`.
|
|
526
|
+
- **the head** (`<cube-head>`): ‹ and where it goes, the level's cube in its circle, its name and line, and what is said once as its content. page: `cube-head`.
|
|
527
|
+
- **the tile** (`<cube-tile>`): a piece inside `<cube-square>`, in four looks. page: `cube-tile`.
|
|
528
|
+
- **one tile size on every screen**: `[cell]` on `<cube-square>` and `<cube-context>`, `CubeRoom` and `[cubeRoom]`. page: `cube-square`.
|
|
529
|
+
- **the quiet line** (`CubeQuietLine`, `<cube-quiet>`): said once, one tap to undo. page: `cube-quiet`.
|
|
530
|
+
|
|
531
|
+
none of them says a word: every word is the app's.
|
|
532
|
+
|
|
521
533
|
## the drawing alone
|
|
522
534
|
|
|
523
535
|
`drawCube(count, colours, width, { hint, whole, rot })` returns the polygons as svg points, and
|