@mosaicajs/components 0.1.0-rc.4 → 0.1.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.
Files changed (52) hide show
  1. package/dist/artifact-card.d.ts +20 -26
  2. package/dist/artifact-card.js +20 -26
  3. package/dist/base.d.ts +21 -29
  4. package/dist/base.js +18 -26
  5. package/dist/basemap.d.ts +2 -2
  6. package/dist/cluster-filter.d.ts +19 -25
  7. package/dist/cluster-filter.js +19 -25
  8. package/dist/colour-editor.d.ts +16 -36
  9. package/dist/colour-editor.js +16 -36
  10. package/dist/context.d.ts +4 -4
  11. package/dist/context.js +4 -4
  12. package/dist/count.d.ts +16 -15
  13. package/dist/count.js +16 -15
  14. package/dist/events.d.ts +63 -68
  15. package/dist/explorer.d.ts +76 -119
  16. package/dist/explorer.js +76 -121
  17. package/dist/field-card.d.ts +24 -56
  18. package/dist/field-card.js +24 -56
  19. package/dist/filter-panel.d.ts +31 -45
  20. package/dist/filter-panel.js +31 -45
  21. package/dist/filter.d.ts +20 -28
  22. package/dist/filter.js +20 -28
  23. package/dist/hierarchy.d.ts +35 -36
  24. package/dist/hierarchy.js +35 -36
  25. package/dist/index.d.ts +5 -4
  26. package/dist/index.js +5 -4
  27. package/dist/item-card.d.ts +34 -55
  28. package/dist/item-card.js +34 -55
  29. package/dist/key-picker.d.ts +5 -5
  30. package/dist/key-picker.js +5 -5
  31. package/dist/layer-picker.d.ts +11 -9
  32. package/dist/layer-picker.js +11 -9
  33. package/dist/map.d.ts +134 -172
  34. package/dist/map.js +136 -188
  35. package/dist/mosaica-components.js +5599 -1594
  36. package/dist/mosaica-components.js.LICENSE.txt +80 -16
  37. package/dist/mosaica-components.js.sri +1 -1
  38. package/dist/mosaica-components.json +2 -2
  39. package/dist/parts.d.ts +3 -4
  40. package/dist/parts.js +3 -4
  41. package/dist/selection.d.ts +21 -27
  42. package/dist/selection.js +21 -27
  43. package/dist/states.d.ts +15 -20
  44. package/dist/status.d.ts +26 -38
  45. package/dist/status.js +26 -38
  46. package/dist/store-element.d.ts +8 -7
  47. package/dist/store-element.js +8 -7
  48. package/dist/tokens.d.ts +12 -13
  49. package/dist/tokens.js +12 -13
  50. package/dist/view-picker.d.ts +10 -6
  51. package/dist/view-picker.js +10 -6
  52. package/package.json +6 -6
@@ -37,70 +37,31 @@ type Pinned = {
37
37
  };
38
38
  });
39
39
  /**
40
- * The map with its status strip, toolbar, field cards, display settings, layers, selection and item
41
- * card, laid out together. It builds its own store from `token` or an `authorise` property and
42
- * `viewer-url`, the page's own origin where unset, or from `viewer-url` alone for an open server,
43
- * or takes a `store` property, and provides it by
44
- * context to everything inside it, including elements a host puts in its slots.
40
+ * Use the explorer when you want a working map page without arranging the elements yourself. It
41
+ * gives the viewer a map with the filter panel, the status strip and a Layers popover, and it opens
42
+ * a card when they pick an item or a cluster or select a region.
45
43
  *
46
- * The heading names what is shown: `dataset-title` where the host sets one, with the view's name
47
- * under it, else the view's name alone. A view's name that is only its id is left out. With
48
- * several views the view's name is the view choice.
44
+ * Most of these parts have a slot, so you can put your own element in place of one of them. For a
45
+ * different arrangement, lay out the separate elements yourself.
49
46
  *
50
- * The left holds the heading and the filter panel (`<mosaica-filter-panel>`): what the cards count,
51
- * In view or Highlighted beside All matching, the clauses applied as chips with Clear all, one
52
- * `<mosaica-field-card>` per field, and Add field. `layout="docked"` puts them in a sidebar left of
53
- * the map; `layout="overlay"` puts them in a card over the map's top-left, which scrolls inside
54
- * itself when tall. The map's tools sit at the top-left of the map, right of the card in the
55
- * overlay layout, with a Layers button beneath them. The status strip sits in the map's
56
- * bottom-right.
47
+ * The explorer builds its store from `viewer-url` and `token` or `authorise`, unless you give it
48
+ * one in its `store` property. Every element inside it uses that store, including the ones you put
49
+ * in its slots.
57
50
  *
58
- * Picking a point opens its item card beside the point, joined to it by a short leader: on the side
59
- * with most room, clear of the cards over the map, the map's tools and the Layers button, following
60
- * the point as the map pans and zooms, hidden while the point is off the map, and clear of the
61
- * other cards beside points. Where no side beside the point is clear, the card goes to the clear
62
- * place nearest it. The card shows the headline, the `subtitle-field` field, the `card-fields`
63
- * fields (else the first three), "Show all N fields", and Open where `open-url` or `open` says what
64
- * it does. Show all grows the card as far as the map's height and the same things allow; past that
65
- * the card scrolls. Picking another point replaces it unless Pin was pressed, which keeps it open;
66
- * Close or Escape closes it and drops the selection, and a click on the map that finds nothing does
67
- * the same for the card that is not pinned. Tab from the map goes to the card, which is named by
68
- * its item's title and gives focus back to the map as it closes. A picked cluster's card behaves
69
- * the same way. While a region is selected its card stands in the map's top-right corner, and where
70
- * the map holds no position for the selection, as after following an item into another view, the
71
- * item's card goes there too.
51
+ * `layout="docked"` puts the heading and the filter panel in a sidebar beside the map, and
52
+ * `layout="overlay"` puts them in a card over it. When the bundle offers more than one view or
53
+ * group of views, the heading holds the view picker so that viewers can switch between them.
72
54
  *
73
- * The Layers button opens a popover in four sections. Points: whether the points are drawn; Most
74
- * points, a slider from `budget-min` to `budget-max` on a log scale that sets the store's budget
75
- * when it is let go (`Store.setBudget`); while a `nested` or `dag` layer is drawn, Most clusters,
76
- * a slider from `cluster-budget-min` to `cluster-budget-max` on a log scale that sets the most
77
- * clusters such a layer is cut to when it is let go (`Store.setClusterBudget`); what sizes the
78
- * points; and their opacity. Size by lists
79
- * None and the number columns the points arrive with. Under None one Size slider sets every
80
- * point's radius, which `hide-size` leaves out; under a column two sliders set the radii of its
81
- * smallest and largest value, and a Linear, Log or Rank choice places values between them. Colour:
82
- * Colour by, which lists None, every layer that can colour (a levelled layer once per level) and
83
- * the rendered category and number columns; then for a layer or a category the palette, and for a
84
- * number the ramp, Linear or Log and Reverse, unless `hide-palettes` is set. A layer's palette is
85
- * the store's (`Store.setPalette`), whose size the clusters' slots are served for. While the
86
- * points are coloured by a category or a layer, Edit colours opens `<mosaica-colour-editor>` over
87
- * the page, listing the values or the clusters drawn (at the level coloured, on a levelled layer)
88
- * with their colours to choose and reset, in an order that holds through a pan or a filter. A field card's paint button chooses Colour by too. Density: how density is drawn, at what resolution, in which
89
- * colours and how strongly. Layers: the layer picker. The display settings are the explorer's properties of
90
- * the same names, passed to its map. `pinned-filters` names the columns whose cards are listed
91
- * before they hold a clause.
55
+ * A picked item's card opens beside its point and follows the point as the map moves. Picking
56
+ * another point replaces the card unless the viewer has pinned it.
92
57
  *
93
- * In a container narrower than 1000 px, either layout takes the overlay's form with a narrower card
94
- * of 264 px, every field card folded to one line until one is opened, and opening one folds the
95
- * one open before; the tools move to the bottom-left and the strip shortens its figures. In a
96
- * container 720 px wide or narrower, the heading sits in a bar above the map, the status strip
97
- * runs full width above a tab bar (Fields, Layers, Item), and each tab opens its panel as a sheet:
98
- * the filter panel, folded as in the compact form; the Layers popover's sections; and the item
99
- * card. The cards over the map are not drawn there.
58
+ * Each setting in the Layers popover is also an attribute of the explorer, so you can set it from
59
+ * HTML.
100
60
  *
101
- * Every event its elements fire bubbles out of it, since each is composed.
61
+ * Below 1000 px the explorer uses the overlay layout whatever `layout` says. At 720 px or less it
62
+ * opens its panels as sheets from a tab bar.
102
63
  *
103
- * @summary The map and every panel, in a default layout.
64
+ * @summary A complete map application in a single element.
104
65
  * @tagname mosaica-explorer
105
66
  * @category Elements
106
67
  * @slot toolbar - Replaces the view picker and the key picker.
@@ -115,9 +76,9 @@ type Pinned = {
115
76
  * @fires {CustomEvent<MosaicaEventDetails['mosaica-pick']>} mosaica-pick - A point was clicked.
116
77
  * @fires {CustomEvent<MosaicaEventDetails['mosaica-itemopen']>} mosaica-itemopen - The selected item's record arrived.
117
78
  * @fires {CustomEvent<MosaicaEventDetails['mosaica-basemapchange']>} mosaica-basemapchange - The map's basemap refusal or note changed.
118
- * @fires {CustomEvent<MosaicaEventDetails['mosaica-miss']>} mosaica-miss - A click on the map found nothing; the explorer closes the card that is not pinned and drops the selection.
79
+ * @fires {CustomEvent<MosaicaEventDetails['mosaica-miss']>} mosaica-miss - A click on the map found nothing. The explorer closes the unpinned card.
119
80
  * @fires {CustomEvent<MosaicaEventDetails['mosaica-hover']>} mosaica-hover - The pointer moved over a point.
120
- * @fires {CustomEvent<MosaicaEventDetails['mosaica-artifactopen']>} mosaica-artifactopen - An artifact was opened and its drill-down arrived.
81
+ * @fires {CustomEvent<MosaicaEventDetails['mosaica-artifactopen']>} mosaica-artifactopen - An artifact was opened and its details arrived.
121
82
  * @fires {CustomEvent<MosaicaEventDetails['mosaica-selectchange']>} mosaica-selectchange - A selection was drawn, changed or cleared, or its counts arrived.
122
83
  * @fires {CustomEvent<MosaicaEventDetails['mosaica-layerchange']>} mosaica-layerchange - The layers chosen changed.
123
84
  * @fires {CustomEvent<MosaicaEventDetails['mosaica-colourchange']>} mosaica-colourchange - Colour by changed, in the Layers popover or by a card's paint button.
@@ -137,7 +98,7 @@ type Pinned = {
137
98
  * @fires {CustomEvent<MosaicaEventDetails['mosaica-clausechange']>} mosaica-clausechange - A `member_of` clause was put on or taken off.
138
99
  * @fires {CustomEvent<MosaicaEventDetails['mosaica-artifactfit']>} mosaica-artifactfit - Fit was pressed on the artifact card; the explorer fits its map to the artifact.
139
100
  * @fires {CustomEvent<MosaicaEventDetails['mosaica-open']>} mosaica-open - Open was pressed on the item card.
140
- * @fires {CustomEvent<MosaicaEventDetails['mosaica-close']>} mosaica-close - A card's close button was pressed; the explorer closes the card and drops the selection it shows.
101
+ * @fires {CustomEvent<MosaicaEventDetails['mosaica-close']>} mosaica-close - A card's close button was pressed. The explorer closes the card and clears its selection.
141
102
  * @fires {CustomEvent<MosaicaEventDetails['mosaica-viewswitch']>} mosaica-viewswitch - The view changed through the view or key picker.
142
103
  * @fires {CustomEvent<MosaicaEventDetails['mosaica-viewfollow']>} mosaica-viewfollow - A view chip on the item card was pressed; the explorer switches to that view and centres on the item.
143
104
  * @csspart frame - The explorer's grid.
@@ -182,8 +143,7 @@ type Pinned = {
182
143
  * @csspart colour-option - An entry in the Colour by menu, with `data-value` (empty for None,
183
144
  * `cluster:<layer>@<level>` for one level of a levelled layer) and `aria-checked`.
184
145
  * @csspart palette - The Palette button, while the points are coloured by a layer or a category.
185
- * @csspart palette-menu - The Palette menu, while it is open: a row per palette, each a strip of its
186
- * colours, its name and a line saying how many it has.
146
+ * @csspart palette-menu - The Palette menu, while it is open.
187
147
  * @csspart palette-option - A palette in that menu, with `data-value` and `aria-checked`.
188
148
  * @csspart edit-colours - The Edit colours button, enabled while the points are coloured by a
189
149
  * category or a layer.
@@ -195,16 +155,16 @@ type Pinned = {
195
155
  * @csspart ramp-reverse - The Reverse button, with `aria-pressed`.
196
156
  * @csspart density-mode - The Density choice: None, Smooth, Hex, Grid and Lines, each with
197
157
  * `data-mode` and `aria-checked`.
198
- * @csspart density-resolution - The Resolution slider, while density is drawn: the cell size on
199
- * screen, coarse to fine. Its stops past the finest the server will count for the view are shown
200
- * struck through, and the slider stops at the last one it can count.
158
+ * @csspart density-resolution - The Resolution slider for density's cell size, while density is
159
+ * drawn. Sizes finer than the server allows for the view are struck through.
201
160
  * @csspart density-scale - The Linear and Log choice of density's colour scale, while density is
202
161
  * drawn, each with `data-scale` and `aria-checked`.
203
162
  * @csspart density-colours - The button that opens the list of density colours, while density is
204
163
  * drawn in colours.
205
164
  * @csspart density-strength - The Strength slider, while density is drawn.
206
- * @csspart detail - The item or artifact card in the map's top-right corner, where the map holds no
207
- * position for the selection.
165
+ * @csspart detail - The item or artifact card in the map's top-right corner, used when the picked
166
+ * item or artifact has no position on the map, such as after following an item into another
167
+ * view.
208
168
  * @csspart sheet - The open sheet, in the narrow layout.
209
169
  * @csspart strip-row - The full-width status strip, in the narrow layout.
210
170
  * @csspart tabs - The tab bar, in the narrow layout.
@@ -229,110 +189,107 @@ export declare class MosaicaExplorer extends MosaicaElement {
229
189
  static styles: import("lit").CSSResult[];
230
190
  protected canBuildOwn: boolean;
231
191
  /**
232
- * `docked`, the map beside a sidebar, or `overlay`, the map full-bleed under a card holding the
233
- * same panels.
192
+ * `docked` puts the panels in a sidebar beside the map. `overlay` makes the map fill the element
193
+ * and puts the panels in a card over it.
234
194
  */
235
195
  accessor layout: 'docked' | 'overlay';
236
196
  /**
237
- * Which regions appear, space- or comma-separated, from `toolbar` (the heading), `legend` (the
238
- * Layers button and its popover), `filters` (the filter panel), `selection` and `detail` (the
239
- * item and artifact cards). Defaults to all five. Any other name, such as `hierarchy`, shows
240
- * nothing.
197
+ * The regions to show, separated by spaces or commas: `toolbar` (the heading), `legend` (the
198
+ * Layers button and popover), `filters` (the filter panel), `selection` (the selected region's
199
+ * card) and `detail` (the item and artifact cards). Defaults to all five. Other names are ignored.
241
200
  */
242
201
  accessor panels: string;
243
- /** Passed to the map's `colour-by`. */
202
+ /** What colours the points, as for `<mosaica-map>`'s `colour-by`. */
244
203
  accessor colourBy: string;
245
- /** Passed to the map's `layers`. */
204
+ /** The annotation layers to draw, as for `<mosaica-map>`'s `layers`. */
246
205
  accessor layers: string;
247
- /** Passed to the map's `tooltip-fields`. */
206
+ /** The columns the hover tooltip shows, as for `<mosaica-map>`'s `tooltip-fields`. */
248
207
  accessor tooltipFields: string;
249
- /** The field that titles a point, in the map's tooltip and the item card's headline. Unset, the title is the `mosaica_id`. */
208
+ /** The field that titles a point in the hover tooltip and the item card. Unset, the title is the `mosaica_id`. */
250
209
  accessor titleField: string;
251
- /** The field the item card shows under its headline. Unset, it shows none. */
210
+ /** The field the item card shows under its title. Unset, there is no subtitle. */
252
211
  accessor subtitleField: string;
253
- /** Passed to the item card's `card-fields`: the fields it shows before "Show all", in this order. Unset, the first three. */
212
+ /** The fields the item card shows before "Show all", in order, as for `<mosaica-item-card>`. Unset, the first three. */
254
213
  accessor cardFields: string;
255
- /** Passed to the item card's `open-url`: the address Open goes to, filled from the item's fields. Unset, and without `open`, there is no Open. */
214
+ /** The link template for the item card's Open button, as for `<mosaica-item-card>`. Without it or `open`, there is no Open button. */
256
215
  accessor openUrl: string;
257
- /** Passed to the item card's `open`: called when Open is pressed. Set, it wins over `open-url`. */
216
+ /** A function the item card calls when Open is pressed, as for `<mosaica-item-card>`. Takes precedence over `open-url`. */
258
217
  accessor open: MosaicaItemCard['open'];
259
218
  /**
260
- * How many marks to aim for on screen, passed to the map's `budget`. `0`, the default, leaves the
261
- * store's own, which starts at 250000. Most points in the Layers popover sets the store's budget
262
- * itself.
219
+ * How many marks to aim for on screen. `0` keeps the store's budget, which starts at 250000. Most
220
+ * points in the Layers popover changes the store's budget directly.
263
221
  */
264
222
  accessor budget: number;
265
- /** The fewest marks Most points offers, passed to the map's `budget-min`. */
223
+ /** The lowest value of the Most points slider. */
266
224
  accessor budgetMin: number;
267
- /** The most marks Most points offers, passed to the map's `budget-max`. */
225
+ /** The highest value of the Most points slider. */
268
226
  accessor budgetMax: number;
269
227
  /**
270
- * The most clusters a `nested` or `dag` layer is cut to, passed to the map's `cluster-budget`;
271
- * `0` is the finest cut. Most clusters in the Layers popover sets the store's itself.
228
+ * The most clusters a `nested` or `dag` layer is cut to; `0` removes the limit. Most clusters in
229
+ * the Layers popover changes it.
272
230
  */
273
231
  accessor clusterBudget: number;
274
- /** The fewest clusters Most clusters offers. */
232
+ /** The lowest value of the Most clusters slider. */
275
233
  accessor clusterBudgetMin: number;
276
- /** The most clusters Most clusters offers. */
234
+ /** The highest value of the Most clusters slider. */
277
235
  accessor clusterBudgetMax: number;
278
236
  /**
279
- * Passed to the map's `basemap`: `world`, `none`, `{tiles, attribution}`, `{image, bounds}`, a
280
- * mapping from view id (as `meta.views` lists it, and not `tiles` or `image`) to one of those, or
281
- * a deck.gl layer. The attribute takes `world` and `none`. Unset, the world outline under a view
282
- * with a map projection and nothing under one without.
237
+ * What is drawn under the points, as for `<mosaica-map>`'s `basemap`. The attribute takes `world`
238
+ * and `none`. Unset, a view with a map projection gets the world outline and any other view gets
239
+ * nothing.
283
240
  */
284
241
  accessor basemap: BasemapChoice | null;
285
- /** Passed to the map's `no-points`; the Points switch in the Layers popover changes it. */
242
+ /** Hides the points. The Points switch in the Layers popover changes it. */
286
243
  accessor noPoints: boolean;
287
- /** Passed to the map's `radius`; the Size slider in the Layers popover changes it. */
244
+ /** A fixed point radius in pixels, as for `<mosaica-map>`. The Size slider in the Layers popover changes it. */
288
245
  accessor radius: number | null;
289
- /** Passed to the map's `size-by`; the Size by choice in the Layers popover changes it. */
246
+ /** The number column that sizes the points, as for `<mosaica-map>`. Size by in the Layers popover changes it. */
290
247
  accessor sizeBy: string;
291
- /** Passed to the map's `size-min`; the smallest-size slider in the Layers popover changes it. */
248
+ /** The radius of the smallest value under `size-by`. A slider in the Layers popover changes it. */
292
249
  accessor sizeMin: number | null;
293
- /** Passed to the map's `size-max`; the largest-size slider in the Layers popover changes it. */
250
+ /** The radius of the largest value under `size-by`. A slider in the Layers popover changes it. */
294
251
  accessor sizeMax: number | null;
295
- /** Passed to the map's `size-scale`; the Scale choice in the Layers popover changes it. */
252
+ /** How values are placed between the two sizes, as for `<mosaica-map>`. The Scale choice in the Layers popover changes it. */
296
253
  accessor sizeScale: SizeScale | '';
297
- /** Leaves the Size slider out of the Layers popover, for a host that sets `radius` itself. */
254
+ /** Leaves the Size slider out of the Layers popover, for when you set `radius` yourself. */
298
255
  accessor hideSize: boolean;
299
- /** Passed to the map's `point-opacity`; the Opacity slider in the Layers popover changes it. */
256
+ /** A fixed point opacity from 0.1 to 1. The Opacity slider in the Layers popover changes it. */
300
257
  accessor pointOpacity: number | null;
301
- /** Passed to the map's `density`; the Density choice in the Layers popover changes it. */
258
+ /** How density is drawn, as for `<mosaica-map>`. The Density choice in the Layers popover changes it. */
302
259
  accessor density: DensityMode;
303
- /** Passed to the map's `density-colours`; the Colours choice in the Layers popover changes it. */
260
+ /** The colours density is drawn in, as for `<mosaica-map>`. The Colours choice in the Layers popover changes it. */
304
261
  accessor densityColours: DensityColours | '';
305
- /** Passed to the map's `density-strength`; the Strength slider in the Layers popover changes it. */
262
+ /** How strongly density is drawn, from 0.1 to 1. The Strength slider in the Layers popover changes it. */
306
263
  accessor densityStrength: number;
307
264
  /**
308
- * Passed to the map's `density-resolution`, the cell size on screen in CSS pixels; the Resolution
265
+ * The size of density's cells on screen, in CSS pixels, as for `<mosaica-map>`. The Resolution
309
266
  * slider in the Layers popover changes it.
310
267
  */
311
268
  accessor densityResolution: number;
312
- /** Passed to the map's `density-scale`; the Scale choice under Resolution in the Layers popover changes it. */
269
+ /** `linear` or `log` colouring of density counts. The Scale choice under Resolution in the Layers popover changes it. */
313
270
  accessor densityScale: DensityScale;
314
271
  /**
315
- * Passed to the map's `palette`, the palette a layer's clusters are coloured from; the Palette
316
- * choice in the Colour section changes it while the points are coloured by a layer.
272
+ * The palette clusters are coloured from, as for `<mosaica-map>`. The Palette choice in the Colour
273
+ * section changes it while the points are coloured by a layer.
317
274
  */
318
275
  accessor palette: PaletteName | '';
319
- /** Passed to the map's `category-palette`. */
276
+ /** The palette for colouring by a category column, as for `<mosaica-map>`. */
320
277
  accessor categoryPalette: CategoryPaletteName | '';
321
- /** Passed to the map's `ramp`. */
278
+ /** The colour ramp for colouring by a number column, as for `<mosaica-map>`. */
322
279
  accessor ramp: RampName | '';
323
- /** Passed to the map's `ramp-scale`. */
280
+ /** How numbers are placed on the ramp, `linear` or `log`. */
324
281
  accessor rampScale: RampScale | '';
325
- /** Passed to the map's `ramp-reverse`. */
282
+ /** Runs the ramp from its high end to its low end. */
326
283
  accessor rampReverse: boolean;
327
- /** Passed to the map's `valueColours`. */
284
+ /** Colours for individual category values, as for `<mosaica-map>`'s `valueColours`. */
328
285
  accessor valueColours: Colouring['values'] | null;
329
- /** Passed to the map's `clusterColours`. */
286
+ /** Colours for individual clusters, as for `<mosaica-map>`'s `clusterColours`. */
330
287
  accessor clusterColours: Record<string, Record<string, string>> | null;
331
- /** The dataset's title, which heads the explorer above the view's name. Unset, the view's name is the heading. */
288
+ /** The dataset's title, shown as the heading above the view's name. Unset, the view's name is the heading. */
332
289
  accessor datasetTitle: string;
333
- /** Passed to the filter panel's `pinned`: the columns whose cards are listed before they hold a clause. */
290
+ /** Columns whose field cards always show, even when they hold no filter, as for `<mosaica-filter-panel>`'s `pinned`. */
334
291
  accessor pinnedFilters: string;
335
- /** Leaves the palette and ramp choices out of the Colour section, for a host that sets them. */
292
+ /** Leaves the palette and ramp choices out of the Colour section, for when you set them yourself. */
336
293
  accessor hidePalettes: boolean;
337
294
  /** The menu open beside the Layers popover. @internal */
338
295
  accessor menu: Menu | null;
@@ -394,7 +351,7 @@ export declare class MosaicaExplorer extends MosaicaElement {
394
351
  disconnectedCallback(): void;
395
352
  /** Dispose of the store the explorer built and of its map's GPU resources. */
396
353
  dispose(): void;
397
- /** The `<mosaica-map>` the explorer renders, for a host that calls `fit`, `fitTo` or `select`. */
354
+ /** The explorer's `<mosaica-map>`, for calling its methods such as `fit`, `fitTo` or `select`. */
398
355
  get map(): MosaicaMap | null;
399
356
  private has;
400
357
  /** A press anywhere outside the Layers button, its popover and the Edit colours dialog it opens closes the popover. */