@devalok/shilp-sutra 0.45.0 → 0.46.0

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.
Files changed (70) hide show
  1. package/MIGRATION.md +836 -808
  2. package/dist/_chunks/chat.js +157 -156
  3. package/dist/_chunks/chat.js.map +1 -1
  4. package/dist/_chunks/document-preview.js +5 -5
  5. package/dist/_chunks/image-preview.js +7 -7
  6. package/dist/_chunks/mention.js +5 -0
  7. package/dist/_chunks/mention.js.map +1 -0
  8. package/dist/_chunks/success.js +16 -16
  9. package/dist/composed/activity-feed.js +19 -19
  10. package/dist/composed/deadline-indicator.d.ts.map +1 -1
  11. package/dist/composed/deadline-indicator.js +31 -31
  12. package/dist/composed/deadline-indicator.js.map +1 -1
  13. package/dist/composed/emoji-picker.js +15 -15
  14. package/dist/composed/file-preview/video-preview.d.ts.map +1 -1
  15. package/dist/composed/file-preview.js +36 -34
  16. package/dist/composed/file-preview.js.map +1 -1
  17. package/dist/composed/filter-bar.js +1 -1
  18. package/dist/composed/filter-bar.js.map +1 -1
  19. package/dist/composed/multi-select-popover.js +1 -1
  20. package/dist/composed/multi-select-popover.js.map +1 -1
  21. package/dist/composed/rich-chat-input.d.ts.map +1 -1
  22. package/dist/composed/rich-chat-input.js +514 -503
  23. package/dist/composed/rich-chat-input.js.map +1 -1
  24. package/dist/composed/rich-text-editor.d.ts.map +1 -1
  25. package/dist/composed/rich-text-editor.js +144 -143
  26. package/dist/composed/rich-text-editor.js.map +1 -1
  27. package/dist/tokens/base.css +6 -0
  28. package/dist/tokens/index.css +1 -1
  29. package/dist/tokens/semantic.css +1 -1
  30. package/dist/tokens/typography.css +10 -0
  31. package/dist/tokens/utilities.css +6 -0
  32. package/dist/ui/avatar.d.ts.map +1 -1
  33. package/dist/ui/avatar.js +57 -56
  34. package/dist/ui/avatar.js.map +1 -1
  35. package/dist/ui/badge-indicator.js +1 -1
  36. package/dist/ui/badge-indicator.js.map +1 -1
  37. package/dist/ui/chat/message.d.ts.map +1 -1
  38. package/dist/ui/data-table-body.js +27 -27
  39. package/dist/ui/data-table-card.js +20 -20
  40. package/dist/ui/data-table-toolbar.d.ts.map +1 -1
  41. package/dist/ui/data-table-toolbar.js +40 -36
  42. package/dist/ui/data-table-toolbar.js.map +1 -1
  43. package/dist/ui/index.d.ts +1 -0
  44. package/dist/ui/index.d.ts.map +1 -1
  45. package/dist/ui/index.js +37 -36
  46. package/dist/ui/index.js.map +1 -1
  47. package/dist/ui/lib/mention.d.ts +11 -0
  48. package/dist/ui/lib/mention.d.ts.map +1 -0
  49. package/dist/ui/radio.js +1 -1
  50. package/dist/ui/radio.js.map +1 -1
  51. package/dist/ui/sidebar.js +7 -7
  52. package/dist/ui/stat-card.d.ts.map +1 -1
  53. package/dist/ui/stat-card.js +48 -47
  54. package/dist/ui/stat-card.js.map +1 -1
  55. package/dist/ui/surface.d.ts +46 -0
  56. package/dist/ui/surface.d.ts.map +1 -0
  57. package/dist/ui/surface.js +51 -0
  58. package/dist/ui/surface.js.map +1 -0
  59. package/dist/ui/text.js +6 -6
  60. package/dist/ui/text.js.map +1 -1
  61. package/docs/components/ui/chat.md +1 -1
  62. package/docs/components/ui/surface.md +55 -0
  63. package/fonts/Manrope-Variable.woff2 +0 -0
  64. package/llms.txt +2 -1
  65. package/make-kit/components/overview.md +7 -3
  66. package/make-kit/components/surface.md +60 -0
  67. package/mcp-manifest.json +91 -2
  68. package/package.json +11 -1
  69. package/skill/SKILL.md +1 -1
  70. package/skill/references/components.md +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devalok/shilp-sutra",
3
- "version": "0.45.0",
3
+ "version": "0.46.0",
4
4
  "description": "Devalok Design System — accessible React components, OKLCH design tokens, and Tailwind 4 CSS-first setup. Ships with AI-agent setup recipes.",
5
5
  "license": "MIT",
6
6
  "author": "Devalok Design & Strategy Studios <shilp-sutra@devalok.in>",
@@ -377,6 +377,11 @@
377
377
  "import": "./dist/ui/stepper.js",
378
378
  "default": "./dist/ui/stepper.js"
379
379
  },
380
+ "./ui/surface": {
381
+ "types": "./dist/ui/surface.d.ts",
382
+ "import": "./dist/ui/surface.js",
383
+ "default": "./dist/ui/surface.js"
384
+ },
380
385
  "./ui/switch": {
381
386
  "types": "./dist/ui/switch.d.ts",
382
387
  "import": "./dist/ui/switch.js",
@@ -387,6 +392,11 @@
387
392
  "import": "./dist/ui/table.js",
388
393
  "default": "./dist/ui/table.js"
389
394
  },
395
+ "./ui/table-row-link": {
396
+ "types": "./dist/ui/table-row-link.d.ts",
397
+ "import": "./dist/ui/table-row-link.js",
398
+ "default": "./dist/ui/table-row-link.js"
399
+ },
390
400
  "./ui/tabs": {
391
401
  "types": "./dist/ui/tabs.d.ts",
392
402
  "import": "./dist/ui/tabs.js",
package/skill/SKILL.md CHANGED
@@ -3,7 +3,7 @@ name: shilp-sutra
3
3
  description: Add, configure, and use components from Devalok's shilp-sutra design system (@devalok/shilp-sutra) — a Tailwind 4 + React 19 + CVA library with 110+ accessible components, OKLCH design tokens, framer-motion animations, and per-component RSC-safe entry points. Use this skill whenever the user mentions shilp-sutra, Devalok, the @devalok npm scope, or asks to install/add/style/theme UI in any React project that already depends on the package — even if they don't name it explicitly. Use it instead of generic shadcn/ui, MUI, or Chakra knowledge when shilp-sutra is in the project. Covers Next.js (App + Pages), Vite, Astro, Remix, TanStack Start setup playbooks; component API and variant reference; brand token customization; Server Component import patterns; and a troubleshoot tree for the thirteen most common breakages.
4
4
  license: MIT
5
5
  metadata:
6
- version: "0.45.0"
6
+ version: "0.46.0"
7
7
  author: Devalok Design & Strategy Studios
8
8
  homepage: https://github.com/devalok-design/shilp-sutra
9
9
  npm: https://www.npmjs.com/package/@devalok/shilp-sutra
@@ -2,7 +2,7 @@
2
2
 
3
3
  # @devalok/shilp-sutra
4
4
 
5
- > Radix UI + Tailwind 4 (CSS-first) + CVA design system for Devalok apps, v0.45.0.
5
+ > Radix UI + Tailwind 4 (CSS-first) + CVA design system for Devalok apps, v0.46.0.
6
6
  > Built on the same primitives as shadcn/ui but with DIFFERENT prop APIs — never guess from shadcn knowledge; verify every prop.
7
7
  > This file is a ROUTER: it tells you what exists and where to get details. Do not look for prop tables here — fetch them per component (MCP tool or per-component doc file below).
8
8
 
@@ -102,6 +102,7 @@ Format: `[name](doc path): summary`. Import paths follow `@devalok/shilp-sutra/<
102
102
  - [stat-flash](docs/components/ui/stat-flash.md)
103
103
  - [status-dot](docs/components/ui/status-dot.md)
104
104
  - [stepper](docs/components/ui/stepper.md)
105
+ - [surface](docs/components/ui/surface.md): The low-level elevated container primitive
105
106
  - [switch](docs/components/ui/switch.md)
106
107
  - [table](docs/components/ui/table.md)
107
108
  - [table-row-link](docs/components/ui/table-row-link.md)