@mieweb/ui 0.6.1-dev.154 → 0.6.1-dev.155

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": "@mieweb/ui",
3
- "version": "0.6.1-dev.154",
3
+ "version": "0.6.1-dev.155",
4
4
  "description": "A themeable, accessible React component library built with Tailwind CSS",
5
5
  "author": "Medical Informatics Engineering, Inc.",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -234,7 +234,7 @@
234
234
  "@kerebron/editor": ">=0.7.9",
235
235
  "@kerebron/editor-kits": ">=0.7.9",
236
236
  "@kerebron/wasm": ">=0.7.9",
237
- "@mieweb/datavis": "=1.0.0-PRE.1",
237
+ "@mieweb/datavis": "=1.1.0-PRE.1",
238
238
  "ag-grid-community": ">=32.0.0",
239
239
  "ag-grid-react": ">=32.0.0",
240
240
  "datavis-ace": "=4.1.0",
@@ -342,7 +342,7 @@
342
342
  "@kerebron/editor": "0.7.9",
343
343
  "@kerebron/editor-kits": "0.7.9",
344
344
  "@kerebron/wasm": "0.7.9",
345
- "@mieweb/datavis": "=1.0.0-PRE.1",
345
+ "@mieweb/datavis": "=1.1.0-PRE.1",
346
346
  "@monaco-editor/react": "^4.7.0",
347
347
  "@playwright/test": "^1.58.2",
348
348
  "@storybook/addon-a11y": "^10.2.11",
@@ -417,18 +417,5 @@
417
417
  },
418
418
  "engines": {
419
419
  "node": "^20.19.0 || >=22.12.0"
420
- },
421
- "pnpm": {
422
- "overrides": {
423
- "datavis-ace": "=4.1.0",
424
- "esbuild@<0.28.1": "0.28.1",
425
- "axios@>=1.0.0 <1.16.0": "1.16.0",
426
- "minimatch@>=10.0.0 <10.2.3": "10.2.3",
427
- "minimatch@>=9.0.0 <9.0.7": "9.0.7",
428
- "flatted@<3.4.2": "3.4.2",
429
- "picomatch@>=4.0.0 <4.0.4": "4.0.4",
430
- "uuid@<11.1.1": "11.1.1",
431
- "dompurify@<3.4.0": "3.4.0"
432
- }
433
420
  }
434
421
  }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/SuperChat/plugins/nitroTableGrid.tsx"],"names":[],"mappings":";;;;AAqBe,SAAR,cAAA,CAAgC,EAAE,OAAA,EAAS,IAAA,EAAK,EAAwB;AAC7E,EAAA,MAAM,GAAA,GAAY,cAAQ,MAAM;AAC9B,IAAA,MAAM,OAAA,GAAU;AAAA,MACd,QAAA,EAAU,QAAQ,GAAA,CAAI,CAAC,WAAW,EAAE,KAAA,EAAO,IAAA,EAAM,QAAA,EAAS,CAAE,CAAA;AAAA,MAC5D,IAAA,EAAM;AAAA,KACR;AACA,IAAA,MAAM,IAAA,GAAO,IAAI,IAAA,CAAK,CAAC,KAAK,SAAA,CAAU,OAAO,CAAC,CAAA,EAAG;AAAA,MAC/C,IAAA,EAAM;AAAA,KACP,CAAA;AACD,IAAA,OAAO,GAAA,CAAI,gBAAgB,IAAI,CAAA;AAAA,EACjC,CAAA,EAAG,CAAC,OAAA,EAAS,IAAI,CAAC,CAAA;AAElB,EAAM,KAAA,CAAA,SAAA,CAAU,MAAM,MAAM,GAAA,CAAI,gBAAgB,GAAG,CAAA,EAAG,CAAC,GAAG,CAAC,CAAA;AAE3D,EAAA,uBACE,GAAA,CAAC,SAAI,WAAA,EAAU,uBAAA,EAAwB,WAAU,MAAA,EAC/C,QAAA,kBAAA,GAAA,CAAC,sBAAmB,IAAA,EAAK,MAAA,EAAO,KAC9B,QAAA,kBAAA,GAAA,CAAC,gBAAA,EAAA,EAAiB,SAAS,OAAA,EAAS,KAAA,EAAO,EAAE,MAAA,EAAQ,GAAA,EAAI,EAAG,CAAA,EAC9D,CAAA,EACF,CAAA;AAEJ","file":"nitroTableGrid-FWRCDE4N.js","sourcesContent":["/**\n * SuperChat NITRO table grid (lazy chunk).\n *\n * Default-exported so it can be pulled in with `React.lazy` only when a GFM\n * table actually renders — this keeps the heavy `datavis` / `datavis-ace`\n * dependencies out of the SuperChat (and Markdown core) bundle.\n *\n * Data is handed to {@link DataVisNitroSource} through a short-lived object-URL\n * `http` source carrying the `{ typeInfo, data }` shape the engine expects.\n */\n\nimport * as React from 'react';\nimport { DataVisNitroGrid, DataVisNitroSource } from '../../DataVisNITRO';\n\nexport interface NitroTableGridProps {\n /** Column headers, in order. */\n headers: string[];\n /** Row objects keyed by header. */\n rows: Array<Record<string, string>>;\n}\n\nexport default function NitroTableGrid({ headers, rows }: NitroTableGridProps) {\n const url = React.useMemo(() => {\n const payload = {\n typeInfo: headers.map((field) => ({ field, type: 'string' })),\n data: rows,\n };\n const blob = new Blob([JSON.stringify(payload)], {\n type: 'application/json',\n });\n return URL.createObjectURL(blob);\n }, [headers, rows]);\n\n React.useEffect(() => () => URL.revokeObjectURL(url), [url]);\n\n return (\n <div data-slot=\"superchat-nitro-table\" className=\"my-2\">\n <DataVisNitroSource type=\"http\" url={url}>\n <DataVisNitroGrid columns={headers} style={{ height: 320 }} />\n </DataVisNitroSource>\n </div>\n );\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/SuperChat/plugins/nitroTableGrid.tsx"],"names":["React","jsx","DataVisNitroSource","DataVisNitroGrid"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAqBe,SAAR,cAAA,CAAgC,EAAE,OAAA,EAAS,IAAA,EAAK,EAAwB;AAC7E,EAAA,MAAM,GAAA,GAAYA,yBAAQ,MAAM;AAC9B,IAAA,MAAM,OAAA,GAAU;AAAA,MACd,QAAA,EAAU,QAAQ,GAAA,CAAI,CAAC,WAAW,EAAE,KAAA,EAAO,IAAA,EAAM,QAAA,EAAS,CAAE,CAAA;AAAA,MAC5D,IAAA,EAAM;AAAA,KACR;AACA,IAAA,MAAM,IAAA,GAAO,IAAI,IAAA,CAAK,CAAC,KAAK,SAAA,CAAU,OAAO,CAAC,CAAA,EAAG;AAAA,MAC/C,IAAA,EAAM;AAAA,KACP,CAAA;AACD,IAAA,OAAO,GAAA,CAAI,gBAAgB,IAAI,CAAA;AAAA,EACjC,CAAA,EAAG,CAAC,OAAA,EAAS,IAAI,CAAC,CAAA;AAElB,EAAMA,gBAAA,CAAA,SAAA,CAAU,MAAM,MAAM,GAAA,CAAI,gBAAgB,GAAG,CAAA,EAAG,CAAC,GAAG,CAAC,CAAA;AAE3D,EAAA,uBACEC,cAAA,CAAC,SAAI,WAAA,EAAU,uBAAA,EAAwB,WAAU,MAAA,EAC/C,QAAA,kBAAAA,cAAA,CAACC,wCAAmB,IAAA,EAAK,MAAA,EAAO,KAC9B,QAAA,kBAAAD,cAAA,CAACE,kCAAA,EAAA,EAAiB,SAAS,OAAA,EAAS,KAAA,EAAO,EAAE,MAAA,EAAQ,GAAA,EAAI,EAAG,CAAA,EAC9D,CAAA,EACF,CAAA;AAEJ","file":"nitroTableGrid-IY75TQJ2.cjs","sourcesContent":["/**\n * SuperChat NITRO table grid (lazy chunk).\n *\n * Default-exported so it can be pulled in with `React.lazy` only when a GFM\n * table actually renders — this keeps the heavy `datavis` / `datavis-ace`\n * dependencies out of the SuperChat (and Markdown core) bundle.\n *\n * Data is handed to {@link DataVisNitroSource} through a short-lived object-URL\n * `http` source carrying the `{ typeInfo, data }` shape the engine expects.\n */\n\nimport * as React from 'react';\nimport { DataVisNitroGrid, DataVisNitroSource } from '../../DataVisNITRO';\n\nexport interface NitroTableGridProps {\n /** Column headers, in order. */\n headers: string[];\n /** Row objects keyed by header. */\n rows: Array<Record<string, string>>;\n}\n\nexport default function NitroTableGrid({ headers, rows }: NitroTableGridProps) {\n const url = React.useMemo(() => {\n const payload = {\n typeInfo: headers.map((field) => ({ field, type: 'string' })),\n data: rows,\n };\n const blob = new Blob([JSON.stringify(payload)], {\n type: 'application/json',\n });\n return URL.createObjectURL(blob);\n }, [headers, rows]);\n\n React.useEffect(() => () => URL.revokeObjectURL(url), [url]);\n\n return (\n <div data-slot=\"superchat-nitro-table\" className=\"my-2\">\n <DataVisNitroSource type=\"http\" url={url}>\n <DataVisNitroGrid columns={headers} style={{ height: 320 }} />\n </DataVisNitroSource>\n </div>\n );\n}\n"]}