Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
d3fbeaf
feat(markdown): add MarkdownRenderer with code/Mermaid/CSV/Survey/Htm…
rajkumargaramie May 14, 2026
5cac2d0
refactor(markdown): unify code-block path, drop dead code
rajkumargaramie May 15, 2026
444409a
fix(markdown): address Copilot PR review — security, lazy loading, Re…
rajkumargaramie Jun 1, 2026
997fb7d
fix(markdown): export highlightCode, globalThis guards, marked option…
rajkumargaramie Jun 1, 2026
4f8213f
fix(markdown): render code blocks via React CodeBlock (fixes garbled …
rajkumargaramie Jun 1, 2026
8ab5507
fix(markdown): import styles.css in MarkdownRenderer to load highligh…
rajkumargaramie Jun 1, 2026
95c965c
fix(markdown): prose typography CSS, table borders, mermaid labels, H…
rajkumargaramie Jun 2, 2026
e10a4f7
fix(markdown): single bg for code, html preview in header row, mermai…
rajkumargaramie Jun 2, 2026
9d653e0
fix(markdown): a11y — WCAG AA contrast, aria-sort, mermaid role/label…
rajkumargaramie Jun 8, 2026
5f1f994
fix(markdown): update styles for dark theme, adjust background colors…
rajkumargaramie Jun 8, 2026
1c3078e
fix(markdown): remove unused fenced code block styles and dark theme …
rajkumargaramie Jun 8, 2026
b1adf78
style(markdown): fix Prettier formatting in FenceBlock; remove dead f…
rajkumargaramie Jun 8, 2026
0dbdeb2
fix(markdown): fix SurveyBlock a11y — label/id linkage, select name, …
rajkumargaramie Jun 8, 2026
60b1783
fix(markdown): add role=img to rating div to allow aria-label
rajkumargaramie Jun 8, 2026
3a55f97
fix(markdown): fix Mermaid dark theme WCAG AA contrast via themeVaria…
rajkumargaramie Jun 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
},
"./styles.css": "./dist/styles.css",
"./styles": "./dist/styles.css",
"./markdown.css": "./dist/components/Markdown/styles.css",
"./init.css": "./dist/styles/init.css"
},
"files": [
Expand All @@ -153,11 +154,12 @@
"postinstall": "if [ -z \"$_DATAVIS_RELINK\" ] && [ ! -f node_modules/datavis/package.json ] && [ -f packages/datavis/package.json ]; then echo '⚠️ Stale datavis link detected — re-linking submodule...'; _DATAVIS_RELINK=1 pnpm install; fi",
"dev": "tsup --watch",
"prebuild": "npm run build:esheet",
"build": "node --max-old-space-size=8192 ./node_modules/tsup/dist/cli-default.js && npm run build:css && npm run copy:brand-css && npm run copy:style-css",
"build": "node --max-old-space-size=8192 ./node_modules/tsup/dist/cli-default.js && npm run build:css && npm run copy:brand-css && npm run copy:style-css && npm run copy:markdown-css",
"build:esheet": "if [ ! -f packages/esheet/packages/core/dist/index.d.ts ]; then cd packages/esheet && npm ci && npx nx run-many --target=build --projects=@esheet/core,@esheet/fields,@esheet/adapters,@esheet/builder,@esheet/renderer --parallel; fi",
"build:css": "npx @tailwindcss/cli -i ./src/styles/base.css -o ./dist/styles.css --minify",
"copy:brand-css": "cp src/brands/*.css dist/brands/ 2>/dev/null || true",
"copy:style-css": "mkdir -p dist/styles && cp src/styles/init.css dist/styles/ 2>/dev/null || true",
"copy:markdown-css": "mkdir -p dist/components/Markdown && cp src/components/Markdown/styles.css dist/components/Markdown/ 2>/dev/null || true",
"typecheck": "tsc --noEmit",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
Expand All @@ -181,6 +183,9 @@
"ag-grid-community": ">=32.0.0",
"ag-grid-react": ">=32.0.0",
"datavis-ace": "=4.0.0-PRE.2",
"js-yaml": ">=4.0.0",
"mermaid": ">=10.0.0",
"papaparse": ">=5.0.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0",
"wavesurfer.js": ">=7.0.0"
Expand All @@ -201,6 +206,15 @@
"datavis-ace": {
"optional": true
},
"js-yaml": {
"optional": true
},
"mermaid": {
"optional": true
},
"papaparse": {
"optional": true
},
"react": {
"optional": false
},
Expand All @@ -215,9 +229,12 @@
"@swc/helpers": "^0.5.19",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dompurify": "^3.3.1",
"google-libphonenumber": "^3.2.44",
"highlight.js": "^11.11.1",
"lucide-react": "^0.562.0",
"luxon": "^3.7.2",
"marked": "^17.0.3",
"tailwind-merge": "^2.6.1"
},
"devDependencies": {
Expand Down Expand Up @@ -246,8 +263,10 @@
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/google-libphonenumber": "^7.4.30",
"@types/js-yaml": "^4.0.9",
"@types/luxon": "^3.7.1",
"@types/node": "^22.19.11",
"@types/papaparse": "^5.3.16",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.56.1",
Expand Down Expand Up @@ -275,6 +294,8 @@
"eslint-plugin-storybook": "^10.2.11",
"js-yaml": "^4.1.1",
"jsdom": "^26.1.0",
"mermaid": "^11.12.3",
"papaparse": "^5.5.3",
"postcss": "^8.5.6",
"prettier": "^3.8.1",
"prettier-plugin-tailwindcss": "^0.6.14",
Expand Down
Loading
Loading