@ethlete/components 1.0.0-next.34 → 1.0.0-next.36
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 +78 -0
- package/fesm2022/ethlete-components.mjs +5048 -2365
- package/fesm2022/ethlete-components.mjs.map +1 -1
- package/generators/generators.json +10 -0
- package/generators/migrate-rich-text-editor-floating-toolbar/migration.js +57 -0
- package/generators/migrate-rich-text-editor-floating-toolbar/rich-text-editor-floating-toolbar.js +28 -0
- package/generators/migrate-rich-text-editor-floating-toolbar/schema.json +26 -0
- package/generators/migrate-rich-text-editor-tools/migration.js +64 -0
- package/generators/migrate-rich-text-editor-tools/rich-text-editor-tools.js +36 -0
- package/generators/migrate-rich-text-editor-tools/schema.json +26 -0
- package/package.json +1 -1
- package/types/ethlete-components.d.ts +1536 -257
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,83 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.0-next.36
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`9bb5c45`](https://github.com/ethlete-io/ethdk/commit/9bb5c45e2c046361346ad98c333911bc88014853) Thanks [@TomTomB](https://github.com/TomTomB)! - The rich text editor's heading, quote, code-block, link and autoformat behaviour is now opt-in - add
|
|
8
|
+
`provideRichTextEditorDefaultTools()` to keep the previous toolbar. Saves 3.5 kB gz without it.
|
|
9
|
+
|
|
10
|
+
- [`4ecdca9`](https://github.com/ethlete-io/ethdk/commit/4ecdca98bc55635346e887a3ff3910cd5695dd7d) Thanks [@TomTomB](https://github.com/TomTomB)! - The rich text editor's selection toolbar is now opt-in - add `provideRichTextEditorFloatingToolbar()`
|
|
11
|
+
to keep it. Saves 15 kB gz without it, the whole overlay runtime.
|
|
12
|
+
|
|
13
|
+
- [`c6abde8`](https://github.com/ethlete-io/ethdk/commit/c6abde82663554e0430ab0433f43077cd81b39ee) Thanks [@TomTomB](https://github.com/TomTomB)! - Table: grouped column headers are now the opt-in `etTableGroupHeaders` (`TABLE_GROUP_HEADERS_IMPORTS`), taking 440 B gz off a plain table. A column's `group` has no effect without it, and `hasGroups()` / `headerGroups()` move from the table onto the feature.
|
|
14
|
+
|
|
15
|
+
- [`6ca8d50`](https://github.com/ethlete-io/ethdk/commit/6ca8d50322b4f8df546fd27ddc08b7c84c168d4c) Thanks [@TomTomB](https://github.com/TomTomB)! - Table: row expansion is now the opt-in `etTableRowExpansion` (`TABLE_ROW_EXPANSION_IMPORTS`), taking 2,026 B gz off a plain table. `expandableRow` and `expandedKeys` move onto the feature, and expanded rows serialize under `state().features.expansion` (`v: 3`).
|
|
16
|
+
|
|
17
|
+
- [`7f5568d`](https://github.com/ethlete-io/ethdk/commit/7f5568dea20329c1da2c9cd7e91192ad53e65eab) Thanks [@TomTomB](https://github.com/TomTomB)! - Table: loading placeholders are now the opt-in `etTableSkeleton` (`TABLE_SKELETON_IMPORTS`), taking 999 B gz off a plain table. `loadingRows` becomes its `rows` option and `etTableCellSkeleton` moves into its imports array.
|
|
18
|
+
|
|
19
|
+
- [`5abbc0f`](https://github.com/ethlete-io/ethdk/commit/5abbc0f470066e98fa21c3df9aab5f8a74e5cefc) Thanks [@TomTomB](https://github.com/TomTomB)! - Table: sticky columns are now the opt-in `etTableStickyColumns` (`TABLE_STICKY_COLUMNS_IMPORTS`), taking 386 B gz off a plain table and its measuring off every resize. A column's `sticky` renders unpinned without it.
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- [`fb32936`](https://github.com/ethlete-io/ethdk/commit/fb32936caa749895fc77348a6213d0d3ab6bd056) Thanks [@TomTomB](https://github.com/TomTomB)! - Query devtools: copy a query as cURL, download the whole session as JSON, dock the panel right or pop it into its own window, and read duration/size in Events plus sizes, values and evict-all in Cache.
|
|
24
|
+
|
|
25
|
+
- [`fb32936`](https://github.com/ethlete-io/ethdk/commit/fb32936caa749895fc77348a6213d0d3ab6bd056) Thanks [@TomTomB](https://github.com/TomTomB)! - Query devtools: the divider between a tab's two panes is now draggable on both axes, and empty tabs fold into a "More" menu.
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- [`2d63cd3`](https://github.com/ethlete-io/ethdk/commit/2d63cd390a03f36eec59b7862728ed9f952a7596) Thanks [@TomTomB](https://github.com/TomTomB)! - Query devtools: the value explorer's and the Timeline's styles now load with those views, so the panel's stylesheet fits Angular's default `anyComponentStyle` budget again.
|
|
30
|
+
|
|
31
|
+
- [`a50a6a0`](https://github.com/ethlete-io/ethdk/commit/a50a6a01e722746cf74fe6181d2da301912528ab) Thanks [@TomTomB](https://github.com/TomTomB)! - Fix `HttpRequestLoadingProgressState.speed`, which reported 1000x the actual rate (and
|
|
32
|
+
`Infinity` on a stalled or re-executed request), and show it in the query devtools.
|
|
33
|
+
|
|
34
|
+
## 1.0.0-next.35
|
|
35
|
+
|
|
36
|
+
### Minor Changes
|
|
37
|
+
|
|
38
|
+
- [#3043](https://github.com/ethlete-io/ethdk/pull/3043) [`156659d`](https://github.com/ethlete-io/ethdk/commit/156659de868ff8a66f9b0b6acbb59c637979500d) Thanks [@github-actions](https://github.com/apps/github-actions)! - Query devtools: count what every query cost - how often it refreshed, how many refreshes reached
|
|
39
|
+
the network, and how much payload they moved - as activity tiles per query plus totals per client.
|
|
40
|
+
|
|
41
|
+
- [#3043](https://github.com/ethlete-io/ethdk/pull/3043) [`ebc94d4`](https://github.com/ethlete-io/ethdk/commit/ebc94d456176f350a02a29d8b23c1c6fbb573cd5) Thanks [@github-actions](https://github.com/apps/github-actions)! - Query devtools: an Events row's request cell is now a button that opens the query it came from.
|
|
42
|
+
|
|
43
|
+
- [`6c6213b`](https://github.com/ethlete-io/ethdk/commit/6c6213b48f8e5c5ccf0fcb526dd50884e768fb82) Thanks [@TomTomB](https://github.com/TomTomB)! - Query devtools: the Timeline and Forms tabs open a query in a split-view drawer, the timeline's right-hand columns align, and an armed fault is called out on every tab.
|
|
44
|
+
|
|
45
|
+
- [#3043](https://github.com/ethlete-io/ethdk/pull/3043) [`ebc94d4`](https://github.com/ethlete-io/ethdk/commit/ebc94d456176f350a02a29d8b23c1c6fbb573cd5) Thanks [@github-actions](https://github.com/apps/github-actions)! - Query devtools: a new **Faults** tab arms real request failures per query client - latency before
|
|
46
|
+
every attempt, fail-the-next-N, fail-N%, and the response status - resolved per attempt inside the
|
|
47
|
+
pipeline, so the retry policy re-rolls it.
|
|
48
|
+
|
|
49
|
+
- [#3043](https://github.com/ethlete-io/ethdk/pull/3043) [`156659d`](https://github.com/ethlete-io/ethdk/commit/156659de868ff8a66f9b0b6acbb59c637979500d) Thanks [@github-actions](https://github.com/apps/github-actions)! - Query devtools: list every query, auth and client feature with the options it was configured with,
|
|
50
|
+
not just its name.
|
|
51
|
+
|
|
52
|
+
- [`6c6213b`](https://github.com/ethlete-io/ethdk/commit/6c6213b48f8e5c5ccf0fcb526dd50884e768fb82) Thanks [@TomTomB](https://github.com/TomTomB)! - Query devtools: add a **Forms** tab covering `createQueryForm` - its fields, URL params and the query it drives - and log each invalidation with every query it refetched.
|
|
53
|
+
|
|
54
|
+
- [#3043](https://github.com/ethlete-io/ethdk/pull/3043) [`9f5f9ec`](https://github.com/ethlete-io/ethdk/commit/9f5f9ecc64a0290f753b9979e2667fbe3de238a0) Thanks [@github-actions](https://github.com/apps/github-actions)! - Query devtools: the Insomnia export now includes the auth provider's token refresh, and secure
|
|
55
|
+
requests read their bearer token out of its response instead of shipping one that goes stale.
|
|
56
|
+
|
|
57
|
+
- [#3043](https://github.com/ethlete-io/ethdk/pull/3043) [`19ef607`](https://github.com/ethlete-io/ethdk/commit/19ef607750afbf57b3d390300fb1bc2600c58459) Thanks [@github-actions](https://github.com/apps/github-actions)! - Query devtools: narrow the Queries list with a filter box matching method, resolved route and path,
|
|
58
|
+
plus **Failing** / **Loading** / **Stale** / **Idle** chips. Every tab now carries its entry count
|
|
59
|
+
and a badge for failing entries.
|
|
60
|
+
|
|
61
|
+
- [#3043](https://github.com/ethlete-io/ethdk/pull/3043) [`156659d`](https://github.com/ethlete-io/ethdk/commit/156659de868ff8a66f9b0b6acbb59c637979500d) Thanks [@github-actions](https://github.com/apps/github-actions)! - Query devtools: list queries with their path params filled in from args (`/post/12` instead of
|
|
62
|
+
`/post/:param`), and export requests as an Insomnia v4 collection.
|
|
63
|
+
|
|
64
|
+
- [#3043](https://github.com/ethlete-io/ethdk/pull/3043) [`8b665a3`](https://github.com/ethlete-io/ethdk/commit/8b665a39bccf09e51fac34c6d05b9b9d2793d4e5) Thanks [@github-actions](https://github.com/apps/github-actions)! - Surface retries and transfer progress in the query devtools: `request.subtle.attempts()` and
|
|
65
|
+
`request.subtle.retryState()` report what a retry policy is doing, and the panel shows backoff
|
|
66
|
+
countdowns, attempt counts and a progress bar for `reportProgress` requests.
|
|
67
|
+
|
|
68
|
+
- [#3043](https://github.com/ethlete-io/ethdk/pull/3043) [`37a74ae`](https://github.com/ethlete-io/ethdk/commit/37a74aec9c149a00f493894a75499c7e86d83cf7) Thanks [@github-actions](https://github.com/apps/github-actions)! - Record what a query did per run: its last 25 runs land on the devtools stats handle, feeding a new
|
|
69
|
+
**Timeline** tab that draws every request on one axis and a **History** section that diffs responses.
|
|
70
|
+
|
|
71
|
+
### Patch Changes
|
|
72
|
+
|
|
73
|
+
- [`89b72c5`](https://github.com/ethlete-io/ethdk/commit/89b72c5c67b6eb7f7efec05f711e54ec5dd8601b) Thanks [@TomTomB](https://github.com/TomTomB)! - `et-input` accepts a nullable bound field - binding one (e.g. the query form's search field) used to throw once the label floated.
|
|
74
|
+
|
|
75
|
+
- [#3043](https://github.com/ethlete-io/ethdk/pull/3043) [`156659d`](https://github.com/ethlete-io/ethdk/commit/156659de868ff8a66f9b0b6acbb59c637979500d) Thanks [@github-actions](https://github.com/apps/github-actions)! - Query devtools: inspect mode now shows that it is armed and how to cancel it, and GraphQL documents
|
|
76
|
+
get a copy button. Also fixes a query row that jumped when it went stale.
|
|
77
|
+
|
|
78
|
+
- [#3043](https://github.com/ethlete-io/ethdk/pull/3043) [`8d3471c`](https://github.com/ethlete-io/ethdk/commit/8d3471ca2153e1585d3cdad1c0c8c7b8f5ed220a) Thanks [@github-actions](https://github.com/apps/github-actions)! - Query devtools: the value explorer folds containers over 100 entries into collapsed slices, so a
|
|
79
|
+
5000-item response opens with 50 rows instead of 5000.
|
|
80
|
+
|
|
3
81
|
## 1.0.0-next.34
|
|
4
82
|
|
|
5
83
|
### Minor Changes
|