@mintplayer/web-components 2.17.0 → 2.19.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.
@@ -21,7 +21,30 @@ export interface DatatableLabels {
21
21
  loading: string;
22
22
  rowsPerPage: string;
23
23
  resizeColumn: (column: string) => string;
24
+ /**
25
+ * Announced once, the first time a resize handle takes focus: how to resize
26
+ * without dragging.
27
+ */
28
+ resizeColumnHint: string;
29
+ /** Name of the resize options dialog a tap (or Enter) on a handle opens. */
30
+ resizeColumnOptions: (column: string) => string;
31
+ /** The dialog's step-down button; its visible glyph is a minus sign. */
32
+ narrowerColumn: (column: string) => string;
33
+ /** The dialog's step-up button; its visible glyph is a plus sign. */
34
+ widerColumn: (column: string) => string;
35
+ /** The dialog's current-width readout. */
36
+ columnWidth: (px: number) => string;
37
+ /** The dialog's button that sizes the column to its widest rendered content. */
38
+ fitColumn: string;
39
+ /** The dialog's button that drops a resized width again. */
40
+ resetColumn: string;
41
+ /** A row checkbox's name when the row yields no text (see `selectRowNamed`). */
24
42
  selectRow: (rowNumber: number) => string;
43
+ /**
44
+ * A row checkbox's name, from the datatable's `rowLabel` callback or else the
45
+ * text of the row's first data cell.
46
+ */
47
+ selectRowNamed: (label: string) => string;
25
48
  /** Accessible name of a column's filter trigger in the filter row. */
26
49
  filterColumn: (column: string) => string;
27
50
  /**
@@ -80,6 +103,11 @@ export interface DatatableLabels {
80
103
  announcePage: (page: number, totalPages: number) => string;
81
104
  announceSelection: (count: number) => string;
82
105
  announceLoaded: (rows: number) => string;
106
+ /**
107
+ * Announced when a Shift range is refused because rows inside it have not
108
+ * loaded yet. The selection is left unchanged.
109
+ */
110
+ rangeIncomplete: string;
83
111
  }
84
112
  /** The symbol shown alongside each operator's words. */
85
113
  export declare const FILTER_OPERATOR_SYMBOLS: Record<FilterOperator, string>;
@@ -9,7 +9,7 @@ import { createRef as C, ref as k } from "lit/directives/ref.js";
9
9
  import { styleMap as E } from "lit/directives/style-map.js";
10
10
  import "../chunks/mp-splitter-DLehrw3Y.mjs";
11
11
  import "../chunks/mp-treeview-CaMTDrvY.mjs";
12
- import "../chunks/mp-datatable-eRpl7-2V.mjs";
12
+ import "../chunks/mp-datatable-BeKunRfd.mjs";
13
13
  const M = _(`:host {
14
14
  display: flex;
15
15
  flex-direction: column;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintplayer/web-components",
3
- "version": "2.17.0",
3
+ "version": "2.19.0",
4
4
  "description": "Framework-agnostic Lit web components for the @mintplayer/bootstrap design system. Consumed by @mintplayer/ng-bootstrap, @mintplayer/react-bootstrap, and @mintplayer/vue-bootstrap.",
5
5
  "license": "MIT",
6
6
  "repository": {