asma-ui-core 3.134.5 → 3.134.6

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.
@@ -1,8 +1,8 @@
1
- import { SHEET_TEXT as l } from "./sheetCopy.js";
2
- var s = 9999, a = (r, t = "en") => {
3
- const e = l[t];
4
- return r == null ? e.showResults : r === 0 ? e.noMatches : r > s ? `${e.showResults} (${s}+)` : `${e.showResults} (${r})`;
1
+ import { SHEET_TEXT as i } from "./sheetCopy.js";
2
+ var t = 9999, v = (e, s = "en") => {
3
+ const r = i[s];
4
+ return e == null ? r.viewResults : e === 0 ? r.noMatches : e > t ? `${r.viewResults} (${t}+)` : `${r.viewResults} (${e})`;
5
5
  };
6
6
  export {
7
- a as formatResultsLabel
7
+ v as formatResultsLabel
8
8
  };
@@ -1,15 +1,15 @@
1
- var s = {
1
+ var e = {
2
2
  no: {
3
3
  close: "Lukk",
4
- showResults: "Vis resultater",
4
+ viewResults: "Vis resultater",
5
5
  noMatches: "Ingen treff"
6
6
  },
7
7
  en: {
8
8
  close: "Close",
9
- showResults: "Show results",
9
+ viewResults: "View results",
10
10
  noMatches: "No matches"
11
11
  }
12
12
  };
13
13
  export {
14
- s as SHEET_TEXT
14
+ e as SHEET_TEXT
15
15
  };
@@ -7,6 +7,6 @@ import { UiCoreLocale } from '../../../helpers/uiCoreLocale';
7
7
  * - above 9999 → `Vis resultater (9999+)`, so the label keeps a fixed shape and never wraps
8
8
  * - otherwise → `Vis resultater (N)`, parenthesised even for 1 to sidestep resultat/resultater
9
9
  *
10
- * English (`locale='en'`) reads `Show results (N)` and `No matches`.
10
+ * English (`locale='en'`) reads `View results (N)` and `No matches`.
11
11
  */
12
12
  export declare const formatResultsLabel: (count: number | null | undefined, locale?: UiCoreLocale) => string;
@@ -6,6 +6,6 @@ import { UiCoreLocale } from '../../../helpers/uiCoreLocale';
6
6
  */
7
7
  export declare const SHEET_TEXT: Record<UiCoreLocale, {
8
8
  close: string;
9
- showResults: string;
9
+ viewResults: string;
10
10
  noMatches: string;
11
11
  }>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.134.5",
6
+ "version": "3.134.6",
7
7
  "type": "module",
8
8
  "sideEffects": [
9
9
  "**/*.css",