@happyvertical/smrt-svelte 0.40.65 → 0.40.67

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.
@@ -19,6 +19,7 @@ import { type ResolveLanguageStringOptions } from '@happyvertical/smrt-languages
19
19
  import { type I18nSnapshot } from '@happyvertical/smrt-ui/i18n';
20
20
  import '@happyvertical/smrt-ui/i18n';
21
21
  import './strings.forms.js';
22
+ import './strings.board.js';
22
23
  import './strings.workspace.js';
23
24
  export interface BuildI18nSnapshotOptions {
24
25
  /** Target locale (BCP-47-ish, e.g. `fr-CA`). */
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/i18n/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAGL,KAAK,4BAA4B,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,6BAA6B,CAAC;AAMrC,OAAO,6BAA6B,CAAC;AACrC,OAAO,oBAAoB,CAAC;AAC5B,OAAO,wBAAwB,CAAC;AAEhC,MAAM,WAAW,wBAAwB;IACvC,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;IACpD;;;OAGG;IACH,EAAE,CAAC,EAAE,4BAA4B,CAAC,IAAI,CAAC,CAAC;IACxC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,YAAY,CAAC,CA4BvB"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/i18n/server.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAGL,KAAK,4BAA4B,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,6BAA6B,CAAC;AAMrC,OAAO,6BAA6B,CAAC;AACrC,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,wBAAwB,CAAC;AAEhC,MAAM,WAAW,wBAAwB;IACvC,gDAAgD;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,4BAA4B,CAAC,UAAU,CAAC,CAAC;IACpD;;;OAGG;IACH,EAAE,CAAC,EAAE,4BAA4B,CAAC,IAAI,CAAC,CAAC;IACxC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,YAAY,CAAC,CA4BvB"}
@@ -24,6 +24,7 @@ import { getRegisteredDefaults, } from '@happyvertical/smrt-ui/i18n';
24
24
  // registers the leaf's own primitive catalogs (`strings.ts` + `strings.ui.ts`).
25
25
  import '@happyvertical/smrt-ui/i18n';
26
26
  import './strings.forms.js';
27
+ import './strings.board.js';
27
28
  import './strings.workspace.js';
28
29
  /**
29
30
  * Resolve a per-locale dictionary of message **templates** for the keys an app
@@ -0,0 +1,14 @@
1
+ export declare const M: {
2
+ readonly 'ui.board.label': "ui.board.label";
3
+ readonly 'ui.board.column': "ui.board.column";
4
+ readonly 'ui.board.collapse_column': "ui.board.collapse_column";
5
+ readonly 'ui.board.expand_column': "ui.board.expand_column";
6
+ readonly 'ui.board.pickup': "ui.board.pickup";
7
+ readonly 'ui.board.position': "ui.board.position";
8
+ readonly 'ui.board.drop': "ui.board.drop";
9
+ readonly 'ui.board.move_failed': "ui.board.move_failed";
10
+ readonly 'ui.board.cancel': "ui.board.cancel";
11
+ readonly 'ui.board.unavailable_column': "ui.board.unavailable_column";
12
+ readonly 'ui.board.empty_column': "ui.board.empty_column";
13
+ };
14
+ //# sourceMappingURL=strings.board.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strings.board.d.ts","sourceRoot":"","sources":["../../src/i18n/strings.board.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,CAAC;;;;;;;;;;;;CAaZ,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { defineMessages } from '@happyvertical/smrt-ui/i18n';
2
+ export const M = defineMessages({
3
+ 'ui.board.label': 'Board',
4
+ 'ui.board.column': '{label}, {count} cards',
5
+ 'ui.board.collapse_column': 'Collapse {label}',
6
+ 'ui.board.expand_column': 'Expand {label}',
7
+ 'ui.board.pickup': 'Picked up {card}. Available destinations: {destinations}. Use arrow keys to choose a position, then Space or Enter to drop.',
8
+ 'ui.board.position': '{card} position {position} of {count} in {column}.',
9
+ 'ui.board.drop': 'Moved {card} to {column}, position {position} of {count}.',
10
+ 'ui.board.move_failed': 'Could not move {card}. The board was restored.',
11
+ 'ui.board.cancel': 'Cancelled moving {card}.',
12
+ 'ui.board.unavailable_column': '{column} is unavailable.',
13
+ 'ui.board.empty_column': 'No cards in {column}.',
14
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-svelte",
3
- "version": "0.40.65",
3
+ "version": "0.40.67",
4
4
  "description": "Svelte 5 components for SMRT user management - auth, users, tenants, roles, permissions, groups",
5
5
  "type": "module",
6
6
  "smrtRawPrimitives": "strict",
@@ -26,6 +26,12 @@
26
26
  "import": "./dist/components/settings/index.js",
27
27
  "default": "./dist/components/settings/index.js"
28
28
  },
29
+ "./board": {
30
+ "types": "./dist/components/board/index.d.ts",
31
+ "svelte": "./dist/components/board/index.js",
32
+ "import": "./dist/components/board/index.js",
33
+ "default": "./dist/components/board/index.js"
34
+ },
29
35
  "./i18n/server": {
30
36
  "types": "./dist/i18n/server.d.ts",
31
37
  "import": "./dist/i18n/server.js",
@@ -101,14 +107,14 @@
101
107
  "access": "public"
102
108
  },
103
109
  "dependencies": {
104
- "@happyvertical/logger": "^0.86.1",
110
+ "@happyvertical/logger": "^0.86.3",
105
111
  "@tanstack/db": "^0.6.14",
106
112
  "@tanstack/svelte-db": "^0.1.91",
107
113
  "esm-env": "^1.2.2",
108
- "@happyvertical/smrt-languages": "0.40.65",
109
- "@happyvertical/smrt-ui": "0.40.65",
110
- "@happyvertical/smrt-types": "0.40.65",
111
- "@happyvertical/smrt-web": "0.40.65"
114
+ "@happyvertical/smrt-languages": "0.40.67",
115
+ "@happyvertical/smrt-types": "0.40.67",
116
+ "@happyvertical/smrt-ui": "0.40.67",
117
+ "@happyvertical/smrt-web": "0.40.67"
112
118
  },
113
119
  "peerDependencies": {
114
120
  "@huggingface/transformers": ">=3.8.1",