@vielzeug/codex 26.10.10 → 26.10.12

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/data/catalog.json CHANGED
@@ -35,7 +35,7 @@
35
35
  "rune"
36
36
  ],
37
37
  "slug": "archive",
38
- "version": "26.10.9"
38
+ "version": "26.10.11"
39
39
  },
40
40
  {
41
41
  "availableDocPages": [
@@ -108,7 +108,7 @@
108
108
  "coins"
109
109
  ],
110
110
  "slug": "arsenal",
111
- "version": "26.10.9"
111
+ "version": "26.10.11"
112
112
  },
113
113
  {
114
114
  "availableDocPages": [
@@ -160,7 +160,7 @@
160
160
  "refine"
161
161
  ],
162
162
  "slug": "assay",
163
- "version": "26.10.9"
163
+ "version": "26.10.11"
164
164
  },
165
165
  {
166
166
  "availableDocPages": [
@@ -202,7 +202,7 @@
202
202
  "ward"
203
203
  ],
204
204
  "slug": "clockwork",
205
- "version": "26.10.9"
205
+ "version": "26.10.11"
206
206
  },
207
207
  {
208
208
  "availableDocPages": [
@@ -234,7 +234,7 @@
234
234
  "refine"
235
235
  ],
236
236
  "slug": "codex",
237
- "version": "26.10.9"
237
+ "version": "26.10.11"
238
238
  },
239
239
  {
240
240
  "availableDocPages": [
@@ -304,7 +304,7 @@
304
304
  "spell"
305
305
  ],
306
306
  "slug": "coins",
307
- "version": "26.10.9"
307
+ "version": "26.10.11"
308
308
  },
309
309
  {
310
310
  "availableDocPages": [
@@ -345,7 +345,7 @@
345
345
  "rune"
346
346
  ],
347
347
  "slug": "conduit",
348
- "version": "26.10.9"
348
+ "version": "26.10.11"
349
349
  },
350
350
  {
351
351
  "availableDocPages": [
@@ -387,7 +387,7 @@
387
387
  "postmaster"
388
388
  ],
389
389
  "slug": "courier",
390
- "version": "26.10.9"
390
+ "version": "26.10.11"
391
391
  },
392
392
  {
393
393
  "availableDocPages": [
@@ -433,7 +433,7 @@
433
433
  "refine"
434
434
  ],
435
435
  "slug": "dnd",
436
- "version": "26.10.9"
436
+ "version": "26.10.11"
437
437
  },
438
438
  {
439
439
  "availableDocPages": [
@@ -475,7 +475,7 @@
475
475
  "herald"
476
476
  ],
477
477
  "slug": "familiar",
478
- "version": "26.10.9"
478
+ "version": "26.10.11"
479
479
  },
480
480
  {
481
481
  "availableDocPages": [
@@ -542,7 +542,7 @@
542
542
  "courier"
543
543
  ],
544
544
  "slug": "flux",
545
- "version": "26.10.9"
545
+ "version": "26.10.11"
546
546
  },
547
547
  {
548
548
  "availableDocPages": [
@@ -582,7 +582,7 @@
582
582
  "ore"
583
583
  ],
584
584
  "slug": "focus",
585
- "version": "26.10.9"
585
+ "version": "26.10.11"
586
586
  },
587
587
  {
588
588
  "availableDocPages": [
@@ -623,7 +623,7 @@
623
623
  "assay"
624
624
  ],
625
625
  "slug": "forge",
626
- "version": "26.10.9"
626
+ "version": "26.10.11"
627
627
  },
628
628
  {
629
629
  "availableDocPages": [
@@ -661,7 +661,7 @@
661
661
  "keymap"
662
662
  ],
663
663
  "slug": "gesture",
664
- "version": "26.10.9"
664
+ "version": "26.10.11"
665
665
  },
666
666
  {
667
667
  "availableDocPages": [
@@ -705,7 +705,7 @@
705
705
  "familiar"
706
706
  ],
707
707
  "slug": "herald",
708
- "version": "26.10.9"
708
+ "version": "26.10.11"
709
709
  },
710
710
  {
711
711
  "availableDocPages": [
@@ -748,7 +748,7 @@
748
748
  "tempo"
749
749
  ],
750
750
  "slug": "illusionist",
751
- "version": "26.10.9"
751
+ "version": "26.10.11"
752
752
  },
753
753
  {
754
754
  "availableDocPages": [
@@ -793,7 +793,7 @@
793
793
  "ore"
794
794
  ],
795
795
  "slug": "keymap",
796
- "version": "26.10.9"
796
+ "version": "26.10.11"
797
797
  },
798
798
  {
799
799
  "availableDocPages": [
@@ -840,7 +840,7 @@
840
840
  "vault"
841
841
  ],
842
842
  "slug": "ledger",
843
- "version": "26.10.9"
843
+ "version": "26.10.11"
844
844
  },
845
845
  {
846
846
  "availableDocPages": [
@@ -886,7 +886,7 @@
886
886
  "courier"
887
887
  ],
888
888
  "slug": "lingua",
889
- "version": "26.10.9"
889
+ "version": "26.10.11"
890
890
  },
891
891
  {
892
892
  "availableDocPages": [
@@ -924,7 +924,7 @@
924
924
  "herald"
925
925
  ],
926
926
  "slug": "mesh",
927
- "version": "26.10.9"
927
+ "version": "26.10.11"
928
928
  },
929
929
  {
930
930
  "availableDocPages": [
@@ -961,7 +961,7 @@
961
961
  "ore"
962
962
  ],
963
963
  "slug": "necromancer",
964
- "version": "26.10.9"
964
+ "version": "26.10.11"
965
965
  },
966
966
  {
967
967
  "availableDocPages": [
@@ -1001,7 +1001,7 @@
1001
1001
  "prism"
1002
1002
  ],
1003
1003
  "slug": "orbit",
1004
- "version": "26.10.9"
1004
+ "version": "26.10.11"
1005
1005
  },
1006
1006
  {
1007
1007
  "availableDocPages": [
@@ -1066,7 +1066,7 @@
1066
1066
  "orbit"
1067
1067
  ],
1068
1068
  "slug": "ore",
1069
- "version": "26.10.9"
1069
+ "version": "26.10.11"
1070
1070
  },
1071
1071
  {
1072
1072
  "availableDocPages": [
@@ -1110,7 +1110,7 @@
1110
1110
  "ripple"
1111
1111
  ],
1112
1112
  "slug": "postmaster",
1113
- "version": "26.10.9"
1113
+ "version": "26.10.11"
1114
1114
  },
1115
1115
  {
1116
1116
  "availableDocPages": [
@@ -1150,7 +1150,7 @@
1150
1150
  "orbit"
1151
1151
  ],
1152
1152
  "slug": "prism",
1153
- "version": "26.10.9"
1153
+ "version": "26.10.11"
1154
1154
  },
1155
1155
  {
1156
1156
  "availableDocPages": [
@@ -1214,7 +1214,7 @@
1214
1214
  "clockwork"
1215
1215
  ],
1216
1216
  "slug": "pulse",
1217
- "version": "26.10.9"
1217
+ "version": "26.10.11"
1218
1218
  },
1219
1219
  {
1220
1220
  "availableDocPages": [
@@ -1333,7 +1333,7 @@
1333
1333
  "keymap"
1334
1334
  ],
1335
1335
  "slug": "refine",
1336
- "version": "26.10.9"
1336
+ "version": "26.10.11"
1337
1337
  },
1338
1338
  {
1339
1339
  "availableDocPages": [
@@ -1378,7 +1378,7 @@
1378
1378
  "ledger"
1379
1379
  ],
1380
1380
  "slug": "ripple",
1381
- "version": "26.10.9"
1381
+ "version": "26.10.11"
1382
1382
  },
1383
1383
  {
1384
1384
  "availableDocPages": [
@@ -1432,7 +1432,7 @@
1432
1432
  "familiar"
1433
1433
  ],
1434
1434
  "slug": "rune",
1435
- "version": "26.10.9"
1435
+ "version": "26.10.11"
1436
1436
  },
1437
1437
  {
1438
1438
  "availableDocPages": [
@@ -1473,7 +1473,7 @@
1473
1473
  "refine"
1474
1474
  ],
1475
1475
  "slug": "sandbox",
1476
- "version": "26.10.9"
1476
+ "version": "26.10.11"
1477
1477
  },
1478
1478
  {
1479
1479
  "availableDocPages": [
@@ -1524,7 +1524,7 @@
1524
1524
  "ripple"
1525
1525
  ],
1526
1526
  "slug": "scout",
1527
- "version": "26.10.9"
1527
+ "version": "26.10.11"
1528
1528
  },
1529
1529
  {
1530
1530
  "availableDocPages": [
@@ -1577,7 +1577,7 @@
1577
1577
  "refine"
1578
1578
  ],
1579
1579
  "slug": "scroll",
1580
- "version": "26.10.9"
1580
+ "version": "26.10.11"
1581
1581
  },
1582
1582
  {
1583
1583
  "availableDocPages": [
@@ -1624,7 +1624,7 @@
1624
1624
  "gesture"
1625
1625
  ],
1626
1626
  "slug": "sentinel",
1627
- "version": "26.10.9"
1627
+ "version": "26.10.11"
1628
1628
  },
1629
1629
  {
1630
1630
  "availableDocPages": [
@@ -1664,7 +1664,7 @@
1664
1664
  "refine"
1665
1665
  ],
1666
1666
  "slug": "sigil",
1667
- "version": "26.10.9"
1667
+ "version": "26.10.11"
1668
1668
  },
1669
1669
  {
1670
1670
  "availableDocPages": [
@@ -1709,7 +1709,7 @@
1709
1709
  "wayfinder"
1710
1710
  ],
1711
1711
  "slug": "sourcerer",
1712
- "version": "26.10.9"
1712
+ "version": "26.10.11"
1713
1713
  },
1714
1714
  {
1715
1715
  "availableDocPages": [
@@ -1768,7 +1768,7 @@
1768
1768
  "vault"
1769
1769
  ],
1770
1770
  "slug": "spell",
1771
- "version": "26.10.9"
1771
+ "version": "26.10.11"
1772
1772
  },
1773
1773
  {
1774
1774
  "availableDocPages": [
@@ -1809,7 +1809,7 @@
1809
1809
  "ripple"
1810
1810
  ],
1811
1811
  "slug": "tandem",
1812
- "version": "26.10.9"
1812
+ "version": "26.10.11"
1813
1813
  },
1814
1814
  {
1815
1815
  "availableDocPages": [
@@ -1853,7 +1853,7 @@
1853
1853
  "herald"
1854
1854
  ],
1855
1855
  "slug": "tavern",
1856
- "version": "26.10.9"
1856
+ "version": "26.10.11"
1857
1857
  },
1858
1858
  {
1859
1859
  "availableDocPages": [
@@ -1921,7 +1921,7 @@
1921
1921
  "vault"
1922
1922
  ],
1923
1923
  "slug": "tempo",
1924
- "version": "26.10.9"
1924
+ "version": "26.10.11"
1925
1925
  },
1926
1926
  {
1927
1927
  "availableDocPages": [
@@ -1972,7 +1972,7 @@
1972
1972
  "ripple"
1973
1973
  ],
1974
1974
  "slug": "vault",
1975
- "version": "26.10.9"
1975
+ "version": "26.10.11"
1976
1976
  },
1977
1977
  {
1978
1978
  "availableDocPages": [
@@ -2018,7 +2018,7 @@
2018
2018
  "refine"
2019
2019
  ],
2020
2020
  "slug": "ward",
2021
- "version": "26.10.9"
2021
+ "version": "26.10.11"
2022
2022
  },
2023
2023
  {
2024
2024
  "availableDocPages": [
@@ -2072,8 +2072,8 @@
2072
2072
  "herald"
2073
2073
  ],
2074
2074
  "slug": "wayfinder",
2075
- "version": "26.10.9"
2075
+ "version": "26.10.11"
2076
2076
  }
2077
2077
  ],
2078
- "version": "26.10.9"
2078
+ "version": "26.10.11"
2079
2079
  }
@@ -1,6 +1,6 @@
1
1
  # Vielzeug: Full Documentation
2
2
 
3
- > Complete documentation for 42 packages. Version: 26.10.9
3
+ > Complete documentation for 42 packages. Version: 26.10.11
4
4
 
5
5
  ---
6
6
 
@@ -408,7 +408,7 @@ Every route below is mounted under `/api/v1`. Mutation guards require an exact a
408
408
  | `POST /auth/sign-out-all` | Requires marker, exact origin, session and captured `ACCOUNT_HEADER`; atomically increments `session_version`, deletes outstanding links, preserves account and catalog data; 200 `{ ok: true }` with an expired cookie only on durable success |
409
409
  | `GET /auth/jwks.json` | Active and configured retired public verification keys |
410
410
  | `POST /auth/sign-in` | `{ email }` (trimmed and lowercased); 202 `{ ok: true }` |
411
- | `GET /auth/verify?token=…` | Safe no-store click-confirmation HTML; with valid issuer configuration, invalid queries return 400 recovery HTML; no token consumption or session change |
411
+ | `GET /auth/verify?token=…` | Safe no-store click-confirmation HTML; with valid issuer configuration, invalid queries return 400 recovery HTML; no token consumption or session change |
412
412
  | `POST /auth/verify` | JSON `{ token }`, marker and exact allowed origin or `PUBLIC_ORIGIN`; consume once; 204 with session cookie |
413
413
  | `GET /auth/account` | `{ id, email, createdAt, lastSignInAt }`; no tokens or budget data |
414
414
  | `DELETE /auth/account` | Requires `ACCOUNT_HEADER` with the captured issuer account UUID; catalog `/me/account` via `AUTH_ARCHIVE`, require exact 204, then issuer user and cookie clear; 204 |
@@ -9715,7 +9715,7 @@ type PanGesture = DragGesture;
9715
9715
 
9716
9716
  Options and callback details are readonly. Fixed callbacks and capture policy are snapshotted at construction. Function-valued `axis` and `disabled` options remain dynamic.
9717
9717
 
9718
- Gesture tracks accepted movement with capture-phase listeners on the target's current owner document. Window blur, hidden-document transition, `pointercancel`, and `lostpointercapture` cancel active recognition.
9718
+ Gesture tracks accepted movement with capture-phase listeners on the target's current owner document. Window blur, hidden-document transition, `pointercancel`, and pointer capture loss on the gesture target cancel active recognition. A `lostpointercapture` event bubbling from a descendant does not cancel the target's gesture.
9719
9719
 
9720
9720
  ## Errors
9721
9721
 
@@ -9976,7 +9976,7 @@ Gesture owns pointer recognition: unrestricted two-dimensional drag and one-axis
9976
9976
  - **Use** `shouldStart` to exclude nested interactive controls.
9977
9977
  - **Disable** pointer capture when nested or newly revealed controls must keep native release targeting.
9978
9978
  - **Apply** completion thresholds and direction rules in `onEnd`; use `activationDistance` only for recognition slop.
9979
- - **Treat** `reason: 'cancel'` as a reset path, never a commit path.
9979
+ - **Treat** `reason: 'cancel'` as a reset path, never a commit path. Pointer capture loss on the gesture target cancels; capture loss bubbling from a descendant does not.
9980
9980
  - **Keep** `onMove` rendering lightweight.
9981
9981
  - **Dispose** the handle when its target leaves the UI.
9982
9982
 
@@ -20822,7 +20822,7 @@ Save
20822
20822
  | ------------------ | ------------------------------------------- | ------------------------------------------ | ------------------------------------------ |
20823
20823
  | Bundle size | | ~145 kB | ~200 kB |
20824
20824
  | Built with | Ore | Lit | Lit |
20825
- | Runtime dependencies | Vielzeug UI primitives + Lucide | Lit + utilities | Lit + Material foundations |
20825
+ | Runtime dependencies | Vielzeug UI primitives; Lucide only for the opt-in full-library registrar | Lit + utilities | Lit + Material foundations |
20826
20826
  | Accessible | WCAG AA | WCAG AA | WCAG AA |
20827
20827
  | Framework agnostic | | | |
20828
20828
 
@@ -20977,7 +20977,7 @@ Classification guides discovery and bundle selection. It is not a reason to remo
20977
20977
 
20978
20978
  | Import | Purpose |
20979
20979
  | --- | --- |
20980
- | `@vielzeug/refine` | Export `RefineError` and the `eventFieldValue`/`eventFieldChecked` field readers without registering components |
20980
+ | `@vielzeug/refine` | Export `registerIcons`, icon definition types, `RefineError`, and the field readers without registering components |
20981
20981
  | `@vielzeug/refine/` | Register one component and export its tag constant, props, events, and related types |
20982
20982
  | `@vielzeug/refine/theme` | `createThemeController()` and its theme types |
20983
20983
  | `@vielzeug/refine/tokens.css` | Required global design contract |
@@ -20985,6 +20985,37 @@ Classification guides discovery and bundle selection. It is not a reason to remo
20985
20985
  | `@vielzeug/refine/styles/*` | Focused theme, animation, layer, and preflight stylesheets |
20986
20986
  | `@vielzeug/refine/frameworks/*` | TypeScript augmentations for DOM, React, and Vue |
20987
20987
 
20988
+ ## Icon Registration and Adapters
20989
+
20990
+ `registerIcons(icons: Readonly>): void` is available from `@vielzeug/refine/icons`, `@vielzeug/refine`, and `@vielzeug/refine/icon`. The common `icons` entry and root remain free of component registration side effects.
20991
+
20992
+ `IconDefinition`, `IconElement`, and `IconAttributes` are exported from all three entries. Shared definition and registration modules live in `src/icons/`, alongside adapters and internal SVG helpers/defaults. Definitions contain a numeric `viewBox` tuple, optional presentation attributes, and recursive SVG children; they do not require a provider identity. Invalid registrations throw the root-exported `RefineError` atomically.
20993
+
20994
+ | Entry | Export | Purpose |
20995
+ | --- | --- | --- |
20996
+ | `@vielzeug/refine/icons` | `registerIcons`, `IconDefinition`, `IconElement`, `IconAttributes` | Common library-neutral registration and definition API |
20997
+ | `@vielzeug/refine/icons/lucide` | `lucideIcons`, `LucideIconData` | Pure adapter for selected structural Lucide SVG data |
20998
+ | `@vielzeug/refine/icons/lucide/all` | Side-effect registration | Explicitly register the full installed Lucide library |
20999
+ | `@vielzeug/refine/icons/heroicons` | `heroiconsIcons`, `IconifyIcon` | Convert a caller-named map of individual Heroicons Iconify data |
21000
+ | `@vielzeug/refine/icons/tabler` | `tablerIcons`, `IconifyIcon` | Convert a caller-named map of individual Tabler Iconify data |
21001
+ | `@vielzeug/refine/icons/mdi` | `mdiIcons`, `IconifyIcon` | Convert a caller-named map of individual MDI Iconify data |
21002
+ | `@vielzeug/refine/icons/iconify` | `iconifyIcon`, `iconifyIcons` | Convert individual Iconify data or selected/complete collections |
21003
+ | `@vielzeug/refine/icons/iconify` | `IconifyIcon`, `IconifyAlias`, `IconifyCollection`, `IconifyTransform` | Structural data types; no Iconify dependency required |
21004
+
21005
+ Lucide is an optional peer, not a mandatory dependency. Only `icons/lucide/all` requires an installed `lucide` package; consumers selecting that entry declare it themselves. The structural `icons/lucide` adapter accepts supplied data without importing Lucide.
21006
+
21007
+ The standalone IIFE exposes `registerIcons`, `lucideIcons`, `heroiconsIcons`, `tablerIcons`, `mdiIcons`, `iconifyIcon`, and `iconifyIcons` under `Refine.components.content`. Neither the IIFE nor component entries import Lucide. Iconify conversion drops provider `class` metadata, validates finite numeric offsets and positive finite dimensions before transforms, and retains the strict SVG allowlist. See the [icon reference](./components/icon.md) for presentation overrides, local SVG ID rewriting, supported families, and licenses.
21008
+
21009
+ The three family adapters share this signature:
21010
+
21011
+ ```ts
21012
+ heroiconsIcons(icons: Readonly>): Record;
21013
+ tablerIcons(icons: Readonly>): Record;
21014
+ mdiIcons(icons: Readonly>): Record;
21015
+ ```
21016
+
21017
+ Each accepts individual Iconify SVG data, preserves input keys without adding a namespace, and returns definitions without registering them. They require `DOMParser`, preserve each icon's geometry/presentation/transforms, and throw `RefineError` for invalid Iconify data. They do not accept React/Vue components, collection JSON, or raw SVG path strings. Use `iconifyIcons(collection, names?)` for collections and alias resolution.
21018
+
20988
21019
  ## Styles
20989
21020
 
20990
21021
  ```ts
@@ -21124,6 +21155,12 @@ Add the browser reset only when the application owns global element styling:
21124
21155
  import '@vielzeug/refine/styles/preflight.css';
21125
21156
  ```
21126
21157
 
21158
+ ## Choose an Icon Library
21159
+
21160
+ Refine includes only its internal component icons. Register application icons before mounting them: use `registerIcons` and neutral `IconDefinition` data from `@vielzeug/refine/icons`, the pure `@vielzeug/refine/icons/lucide` adapter for selected Lucide icons, or `@vielzeug/refine/icons/iconify` for local Heroicons, Tabler, and Material Design Icons data. Keep importing the component from `@vielzeug/refine/icon`. Lucide is an optional peer: install `lucide` yourself only when choosing its data or `@vielzeug/refine/icons/lucide/all`; core and structural adapters do not require it. The [icon reference](./components/icon.md) covers imports, licenses, and presentation behavior.
21161
+
21162
+ For selected individual Iconify data, use `heroiconsIcons`, `tablerIcons`, or `mdiIcons` from `@vielzeug/refine/icons/heroicons`, `/tabler`, or `/mdi`. For example, `registerIcons(heroiconsIcons({ Search, Home }))` preserves your app keys. Install the matching `@iconify-icons/` data package yourself; these helpers do not accept framework components. Keep `iconifyIcons` for collection JSON and aliases.
21163
+
21127
21164
  ## Set Attributes and Properties
21128
21165
 
21129
21166
  Use attributes for serializable HTML state.
package/data/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # Vielzeug
2
2
 
3
- > 42 focused TypeScript packages. Version: 26.10.9
3
+ > 42 focused TypeScript packages. Version: 26.10.11
4
4
 
5
5
  Install any package independently: `pnpm add @vielzeug/<name>`
6
6
 
@@ -4,5 +4,5 @@
4
4
  "refine": "refine.json",
5
5
  "schemaVersion": 1,
6
6
  "search": "search.json",
7
- "version": "26.10.9"
7
+ "version": "26.10.11"
8
8
  }