@remit/ui 0.0.76 → 0.0.77

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/ui",
3
- "version": "0.0.76",
3
+ "version": "0.0.77",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src"
@@ -254,15 +254,15 @@ export const Escalated: Story = {
254
254
  };
255
255
 
256
256
  /**
257
- * While a search result set is still paging, the exact count isn't known
258
- * yet — a running total instead of a static "Counting…", the verbs hidden
259
- * (nothing to act on with an unknown total), and an explicit Stop.
257
+ * While the server is answering how many messages the search matches, the total
258
+ * isn't on screen yet — the verbs are hidden (nothing to act on without it) and
259
+ * Stop drops the escalation.
260
260
  */
261
261
  export const Counting: Story = {
262
262
  args: {
263
263
  count: 0,
264
264
  isCounting: true,
265
- statusLabel: "Counting… 1,900 so far",
265
+ statusLabel: "Counting matches…",
266
266
  selectAll: {
267
267
  checked: true,
268
268
  indeterminate: false,
@@ -276,20 +276,6 @@ export const Counting: Story = {
276
276
  },
277
277
  };
278
278
 
279
- /** Past ~10s the counting state says so, rather than looking stuck. */
280
- export const CountingLargeResultSet: Story = {
281
- args: {
282
- count: 0,
283
- isCounting: true,
284
- statusLabel: "Counting… 12,400 so far. This is a big result set.",
285
- notice: {
286
- tone: "info",
287
- text: "",
288
- action: { label: "Stop", onClick: () => undefined },
289
- },
290
- },
291
- };
292
-
293
279
  /**
294
280
  * A bulk delete in progress reports a running total via `statusLabel` and a
295
281
  * determinate `ProgressBar`; the delete button shows its busy spinner (never
@@ -101,7 +101,7 @@ export interface SelectionTopBarProps {
101
101
  * Overrides the default "{count} messages selected" text. Required once the
102
102
  * count's scope is anything other than "every loaded row is selected" —
103
103
  * an escalated selection ("All 3,412 matching \"npm\" selected"), a
104
- * counting state ("Counting… 1,900 so far"), or bulk-delete progress
104
+ * counting state ("Counting matches…"), or bulk-delete progress
105
105
  * ("Deleting 1,200 of 3,412…"). When `selectAll.checked` is true and this
106
106
  * is omitted, the default text names the loaded-scope itself ("All 47
107
107
  * loaded selected") rather than a bare count — a ticked select-all box