@inglorious/ui 8.2.2 → 8.2.3

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": "@inglorious/ui",
3
- "version": "8.2.2",
3
+ "version": "8.2.3",
4
4
  "description": "A design system for Inglorious Web with render-function components and customizable themes",
5
5
  "author": "Matteo Antony Mistretta <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
6
6
  "license": "MIT",
@@ -301,21 +301,21 @@
301
301
  "**/*.css"
302
302
  ],
303
303
  "peerDependencies": {
304
- "@inglorious/store": "11.0.5",
304
+ "@inglorious/store": "11.1.0",
305
305
  "@inglorious/utils": "5.0.0",
306
- "@inglorious/web": "6.6.2"
306
+ "@inglorious/web": "6.7.0"
307
307
  },
308
308
  "devDependencies": {
309
309
  "@iconify-icons/fa7-brands": "^2.0.0",
310
310
  "@iconify-icons/fa7-regular": "^2.0.0",
311
311
  "@iconify-icons/fa7-solid": "^2.0.0",
312
312
  "@iconify-icons/material-symbols": "^2.0.6",
313
- "@inglorious/charts": "11.1.1",
313
+ "@inglorious/charts": "11.1.2",
314
314
  "@inglorious/eslint-config": "1.1.4",
315
- "@inglorious/store": "11.0.5",
315
+ "@inglorious/store": "11.1.0",
316
316
  "@inglorious/vite-plugin-jsx": "2.0.4",
317
317
  "@inglorious/vite-plugin-vue": "1.0.5",
318
- "@inglorious/web": "6.6.2",
318
+ "@inglorious/web": "6.7.0",
319
319
  "@storybook/addon-docs": "^10.6.0",
320
320
  "@storybook/web-components-vite": "^10.6.0",
321
321
  "happy-dom": "^20.14.0",
@@ -323,6 +323,7 @@
323
323
  "prettier": "^3.9.6",
324
324
  "remark-gfm": "^4.0.1",
325
325
  "storybook": "^10.6.0",
326
+ "typescript": "~7.0.2",
326
327
  "vite": "^8.2.2",
327
328
  "vitest": "^5.0.0"
328
329
  },
@@ -336,8 +337,9 @@
336
337
  "format": "prettier --write .",
337
338
  "lint": "eslint .",
338
339
  "test:watch": "vitest",
339
- "test": "vitest run",
340
+ "test": "vitest run && tsc -p type-tests",
340
341
  "storybook": "storybook dev -p 6006",
341
- "build-storybook": "storybook build"
342
+ "build-storybook": "storybook build",
343
+ "test:types": "tsc -p type-tests"
342
344
  }
343
345
  }
@@ -2,7 +2,7 @@ import type { TemplateResult } from "@inglorious/web"
2
2
 
3
3
  export interface ButtonProps {
4
4
  id?: string
5
- type: "Button"
5
+ type?: string
6
6
  children?: TemplateResult | string | number
7
7
  variant?: "default" | "outline" | "ghost"
8
8
  color?:
@@ -50,7 +50,7 @@ export interface Column {
50
50
  }
51
51
 
52
52
  export interface DataGridProps<T extends Row = Row> {
53
- id: string | number
53
+ id?: string
54
54
  type: string
55
55
  data: T[]
56
56
  columns: Column[]
@@ -13,7 +13,7 @@ export interface VirtualListEntity<
13
13
  T extends VirtualListItem = VirtualListItem,
14
14
  > {
15
15
  /** A unique identifier for the list entity. */
16
- id: string | number
16
+ id?: string
17
17
 
18
18
  /** The entity type, used to look up rendering logic. */
19
19
  type: string