@arqel-dev/types 0.15.0 → 0.15.1

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/SKILL.md CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  **Entregue (TYPES-001..002, 004 parcial):**
17
17
 
18
- - Pacote npm `@arqel-dev/types` com 7 entry points (`./`, `./fields`, `./resources`, `./tables`, `./forms`, `./actions`, `./inertia`)
18
+ - Pacote npm `@arqel-dev/types` com 8 entry points (`./`, `./fields`, `./resources`, `./tables`, `./forms`, `./actions`, `./inertia`, `./tenant`)
19
19
  - `tsup` build com `dts: true`, ESM, sourcemaps, tree-shake friendly (`sideEffects: false`)
20
20
  - 21 Field types em discriminated union sobre `type`
21
21
  - 9 Column types + 6 Filter types em discriminated unions
package/dist/tables.d.ts CHANGED
@@ -58,6 +58,13 @@ interface NumberColumnProps {
58
58
  decimalSeparator?: string;
59
59
  prefix?: string;
60
60
  suffix?: string;
61
+ /**
62
+ * ISO 4217 currency code emitted by `NumberColumn::money()` (e.g. `'EUR'`).
63
+ * When present the cell formats via `Intl.NumberFormat` in the active locale
64
+ * with `style: 'currency'`, so the symbol, grouping and decimals follow the
65
+ * viewer's panel locale instead of a raw en-US shape.
66
+ */
67
+ currency?: string;
61
68
  }
62
69
  interface IconColumnProps {
63
70
  icon: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arqel-dev/types",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "Shared TypeScript types for Arqel — fields, resources, tables, forms, actions, and Inertia shared props.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://arqel.dev",