@trdrs/quickcharts 5.7.0 → 5.8.0

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.
@@ -4906,9 +4906,9 @@
4906
4906
  }
4907
4907
  }
4908
4908
 
4909
- /* The indicator picker: the search field every search dialog opens on, the kind filters under it
4910
- * when the host declares kinds, and below them a rail of collections beside the list, drawn with the
4911
- * chart's own tokens. */
4909
+ /* The indicator picker: the search field every search dialog opens on, and below it a rail of
4910
+ * collections beside the list's column, which the kind filters head when the host declares kinds,
4911
+ * drawn with the chart's own tokens. */
4912
4912
  [data-qc-theme] .qc-picker-dialog {
4913
4913
  height: 638px;
4914
4914
  max-height: min(85vh, calc(100% - 32px));
@@ -4919,20 +4919,35 @@
4919
4919
  text-transform: none;
4920
4920
  }
4921
4921
 
4922
+ /* Under the field the rail runs down a 230px column of its own, and the list's column beside it
4923
+ * holds the kind filters over the list. The filters lead the body in the document, so the keyboard
4924
+ * reaches them before the rail; the grid stands them over the list. While they are hidden their row
4925
+ * takes no height and the list rises to the top of its column. */
4922
4926
  [data-qc-theme] .qc-picker-body {
4923
- display: flex;
4927
+ display: grid;
4924
4928
  flex: 1 1 auto;
4929
+ grid-template: 'nav kinds' auto 'nav content' minmax(0, 1fr) / 230px minmax(0, 1fr);
4925
4930
  min-height: 0;
4926
4931
  }
4927
4932
 
4933
+ /* The kind filters: the class strip's 28px chips 4px apart, from the start of the list's column,
4934
+ * 40px in so the first chip stands over the names, 16px under the field, 32px clear of the column's
4935
+ * end and 8px over the list's headings. */
4936
+ [data-qc-theme] .qc-search-classes.qc-picker-kinds {
4937
+ grid-area: kinds;
4938
+ padding: 16px 32px 8px 40px;
4939
+ }
4940
+
4928
4941
  /* The rail: 200px of sections 8px apart on the box's 20px inset, 10px before the list, 8px under
4929
4942
  * what stands above it and 16px clear of the box's foot. It scrolls on its own. */
4930
4943
  [data-qc-theme] .qc-picker-nav {
4931
4944
  display: flex;
4932
4945
  flex: 0 0 230px;
4933
4946
  flex-direction: column;
4947
+ grid-area: nav;
4934
4948
  gap: 8px;
4935
4949
  width: 230px;
4950
+ min-height: 0;
4936
4951
  padding: 8px 10px 16px 20px;
4937
4952
  overflow: hidden auto;
4938
4953
  }
@@ -5004,6 +5019,7 @@
5004
5019
  display: flex;
5005
5020
  flex: 1 1 auto;
5006
5021
  flex-direction: column;
5022
+ grid-area: content;
5007
5023
  min-width: 0;
5008
5024
  min-height: 0;
5009
5025
  }
@@ -5309,15 +5325,21 @@
5309
5325
  }
5310
5326
 
5311
5327
  /* THE PICKER ON A NARROW SCREEN. A 230px rail beside a table of five columns leaves the name, the one
5312
- * cell anybody reads, a single letter at 393px. So the rail lies down as a row of chips above the
5313
- * list, scrolling sideways the way every other run of choices on a phone does, its headings gone
5314
- * with its column, and the table sheds the author, the count and its headings: the star, the name
5315
- * and the actions remain, and the name takes what is left. */
5328
+ * cell anybody reads, a single letter at 393px. So the body stacks in its document order: the kind
5329
+ * filters across the full width on the strip's own 20px inset, then the rail lying down as a row of
5330
+ * chips, scrolling sideways the way every other run of choices on a phone does, its headings gone
5331
+ * with its column, then the list. The table sheds the author, the count and its headings: the star,
5332
+ * the name and the actions remain, and the name takes what is left. */
5316
5333
  @media (max-width: 560px) {
5317
5334
  [data-qc-theme] .qc-picker-body {
5335
+ display: flex;
5318
5336
  flex-direction: column;
5319
5337
  }
5320
5338
 
5339
+ [data-qc-theme] .qc-search-classes.qc-picker-kinds {
5340
+ padding: 8px 20px;
5341
+ }
5342
+
5321
5343
  [data-qc-theme] .qc-picker-nav,
5322
5344
  [data-qc-theme] .qc-picker-section {
5323
5345
  flex-direction: row;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trdrs/quickcharts",
3
- "version": "5.7.0",
3
+ "version": "5.8.0",
4
4
  "description": "Quick Charts: a datafeed-driven charting library with drawings, indicators, layouts and replay over host-supplied data and storage ports.",
5
5
  "keywords": [
6
6
  "charts",