tembro 6.1.0 → 6.1.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.
Files changed (146) hide show
  1. package/dist/components/actions/action-menu.d.ts +11 -1
  2. package/dist/components/display/index.d.ts +0 -2
  3. package/dist/components/filters/index.d.ts +0 -1
  4. package/dist/components/inputs/time-picker.d.ts +11 -3
  5. package/dist/components/modern/file-manager.d.ts +1 -1
  6. package/dist/components/modern/index.d.ts +3 -1
  7. package/dist/components/modern/map.cjs +1 -0
  8. package/dist/components/modern/map.d.ts +29 -0
  9. package/dist/components/modern/map.js +1 -0
  10. package/dist/components/modern/media-player.cjs +1 -0
  11. package/dist/components/modern/media-player.d.ts +21 -0
  12. package/dist/components/modern/media-player.js +1 -0
  13. package/dist/components/modern/spreadsheet.cjs +1 -0
  14. package/dist/components/modern/spreadsheet.d.ts +35 -0
  15. package/dist/components/modern/spreadsheet.js +1 -0
  16. package/dist/components/overlay/drawer.d.ts +3 -1
  17. package/dist/index.d.ts +0 -2
  18. package/dist/src/components/actions/action-menu.cjs +1 -1
  19. package/dist/src/components/actions/action-menu.js +47 -39
  20. package/dist/src/components/actions/copy-button.cjs +1 -1
  21. package/dist/src/components/actions/copy-button.js +4 -1
  22. package/dist/src/components/calendar/date-picker.cjs +1 -1
  23. package/dist/src/components/calendar/date-picker.js +5 -8
  24. package/dist/src/components/calendar/date-range-picker.cjs +1 -1
  25. package/dist/src/components/calendar/date-range-picker.js +12 -27
  26. package/dist/src/components/data-table/data-table.cjs +1 -1
  27. package/dist/src/components/data-table/data-table.js +172 -171
  28. package/dist/src/components/display/index.cjs +1 -1
  29. package/dist/src/components/display/index.js +9 -11
  30. package/dist/src/components/filters/index.cjs +1 -1
  31. package/dist/src/components/filters/index.js +2 -3
  32. package/dist/src/components/inputs/color-picker.cjs +1 -1
  33. package/dist/src/components/inputs/color-picker.js +63 -46
  34. package/dist/src/components/inputs/slider.cjs +1 -1
  35. package/dist/src/components/inputs/slider.js +3 -3
  36. package/dist/src/components/inputs/tag-input.cjs +1 -1
  37. package/dist/src/components/inputs/tag-input.js +7 -4
  38. package/dist/src/components/inputs/time-picker.cjs +1 -1
  39. package/dist/src/components/inputs/time-picker.js +90 -34
  40. package/dist/src/components/modern/index.cjs +1 -1
  41. package/dist/src/components/modern/index.js +6 -4
  42. package/dist/src/components/modern/map.cjs +1 -0
  43. package/dist/src/components/modern/map.js +158 -0
  44. package/dist/src/components/modern/media-player.cjs +1 -0
  45. package/dist/src/components/modern/media-player.js +176 -0
  46. package/dist/src/components/modern/resizable-panel.cjs +1 -1
  47. package/dist/src/components/modern/resizable-panel.js +39 -32
  48. package/dist/src/components/modern/spreadsheet.cjs +1 -0
  49. package/dist/src/components/modern/spreadsheet.js +97 -0
  50. package/dist/src/components/navigation/pagination.cjs +1 -1
  51. package/dist/src/components/navigation/pagination.js +5 -5
  52. package/dist/src/components/notifications/toast.cjs +1 -1
  53. package/dist/src/components/notifications/toast.js +68 -63
  54. package/dist/src/components/overlay/alert-dialog.cjs +1 -1
  55. package/dist/src/components/overlay/alert-dialog.js +8 -6
  56. package/dist/src/components/overlay/drawer.cjs +1 -1
  57. package/dist/src/components/overlay/drawer.js +38 -20
  58. package/dist/src/components/ui/checkbox/index.cjs +1 -1
  59. package/dist/src/components/ui/checkbox/index.js +2 -1
  60. package/dist/src/components/ui/dialog/index.cjs +1 -1
  61. package/dist/src/components/ui/dialog/index.js +8 -8
  62. package/dist/src/components/ui/dropdown-menu/index.cjs +1 -1
  63. package/dist/src/components/ui/dropdown-menu/index.js +21 -19
  64. package/dist/src/components/ui/popover/index.cjs +1 -1
  65. package/dist/src/components/ui/popover/index.js +10 -10
  66. package/dist/src/components/ui/tabs/index.cjs +1 -1
  67. package/dist/src/components/ui/tabs/index.js +6 -6
  68. package/dist/src/components/ui/toggle-group/index.cjs +1 -1
  69. package/dist/src/components/ui/toggle-group/index.js +2 -2
  70. package/dist/src/index.cjs +1 -1
  71. package/dist/src/index.js +80 -83
  72. package/dist/src/public-component-surface.cjs +1 -1
  73. package/dist/src/public-component-surface.js +15 -20
  74. package/package.json +1 -2
  75. package/packages/cli/dist/index.cjs +58 -178
  76. package/packages/cli/vendor/src/components/actions/action-menu.tsx +47 -19
  77. package/packages/cli/vendor/src/components/actions/copy-button.tsx +2 -2
  78. package/packages/cli/vendor/src/components/calendar/date-picker.tsx +2 -5
  79. package/packages/cli/vendor/src/components/calendar/date-range-picker.tsx +5 -12
  80. package/packages/cli/vendor/src/components/data-table/data-table.tsx +45 -34
  81. package/packages/cli/vendor/src/components/display/index.ts +3 -5
  82. package/packages/cli/vendor/src/components/filters/index.ts +0 -1
  83. package/packages/cli/vendor/src/components/inputs/color-picker.tsx +15 -1
  84. package/packages/cli/vendor/src/components/inputs/slider.tsx +3 -3
  85. package/packages/cli/vendor/src/components/inputs/tag-input.tsx +4 -4
  86. package/packages/cli/vendor/src/components/inputs/time-picker.tsx +91 -38
  87. package/packages/cli/vendor/src/components/modern/file-manager.tsx +1 -1
  88. package/packages/cli/vendor/src/components/modern/index.ts +3 -1
  89. package/packages/cli/vendor/src/components/modern/map.tsx +146 -0
  90. package/packages/cli/vendor/src/components/modern/media-player.tsx +182 -0
  91. package/packages/cli/vendor/src/components/modern/resizable-panel.tsx +15 -5
  92. package/packages/cli/vendor/src/components/modern/spreadsheet.tsx +155 -0
  93. package/packages/cli/vendor/src/components/navigation/pagination.tsx +9 -5
  94. package/packages/cli/vendor/src/components/notifications/toast.tsx +20 -10
  95. package/packages/cli/vendor/src/components/overlay/alert-dialog.tsx +3 -5
  96. package/packages/cli/vendor/src/components/overlay/drawer.tsx +22 -11
  97. package/packages/cli/vendor/src/components/ui/checkbox/index.tsx +3 -1
  98. package/packages/cli/vendor/src/components/ui/dialog/index.tsx +4 -4
  99. package/packages/cli/vendor/src/components/ui/dropdown-menu/index.tsx +18 -22
  100. package/packages/cli/vendor/src/components/ui/popover/index.tsx +4 -4
  101. package/packages/cli/vendor/src/components/ui/tabs/index.tsx +8 -3
  102. package/packages/cli/vendor/src/components/ui/toggle-group/index.tsx +6 -6
  103. package/packages/cli/vendor/src/index.ts +0 -2
  104. package/packages/cli/vendor/src/public-component-surface.ts +3 -4
  105. package/packages/cli/vendor/templates/showcase/src/showcase/data/registry.ts +6 -6
  106. package/packages/cli/vendor/templates/showcase/src/showcase/layout/HeroSection.tsx +23 -8
  107. package/packages/cli/vendor/templates/showcase/src/showcase/layout/WorkbenchSidebar.tsx +1 -1
  108. package/packages/cli/vendor/templates/showcase/src/showcase/sections/PatternsSection.tsx +1 -1
  109. package/packages/cli/vendor/templates/styles/globals.css +0 -120
  110. package/registry.json +74 -141
  111. package/dist/components/display/info-card.cjs +0 -1
  112. package/dist/components/display/info-card.d.ts +0 -51
  113. package/dist/components/display/info-card.js +0 -1
  114. package/dist/components/display/statistic.cjs +0 -1
  115. package/dist/components/display/statistic.d.ts +0 -25
  116. package/dist/components/display/statistic.js +0 -1
  117. package/dist/components/filters/filter-bar.cjs +0 -1
  118. package/dist/components/filters/filter-bar.d.ts +0 -28
  119. package/dist/components/filters/filter-bar.js +0 -1
  120. package/dist/components/modern/image-cropper.cjs +0 -1
  121. package/dist/components/modern/image-cropper.d.ts +0 -39
  122. package/dist/components/modern/image-cropper.js +0 -1
  123. package/dist/components/ui/number-field/index.cjs +0 -1
  124. package/dist/components/ui/number-field/index.d.ts +0 -18
  125. package/dist/components/ui/number-field/index.js +0 -1
  126. package/dist/components/ui/toolbar/index.cjs +0 -1
  127. package/dist/components/ui/toolbar/index.d.ts +0 -14
  128. package/dist/components/ui/toolbar/index.js +0 -1
  129. package/dist/src/components/display/info-card.cjs +0 -1
  130. package/dist/src/components/display/info-card.js +0 -124
  131. package/dist/src/components/display/statistic.cjs +0 -1
  132. package/dist/src/components/display/statistic.js +0 -104
  133. package/dist/src/components/filters/filter-bar.cjs +0 -1
  134. package/dist/src/components/filters/filter-bar.js +0 -103
  135. package/dist/src/components/modern/image-cropper.cjs +0 -1
  136. package/dist/src/components/modern/image-cropper.js +0 -143
  137. package/dist/src/components/ui/number-field/index.cjs +0 -1
  138. package/dist/src/components/ui/number-field/index.js +0 -73
  139. package/dist/src/components/ui/toolbar/index.cjs +0 -1
  140. package/dist/src/components/ui/toolbar/index.js +0 -50
  141. package/packages/cli/vendor/src/components/display/info-card.tsx +0 -195
  142. package/packages/cli/vendor/src/components/display/statistic.tsx +0 -114
  143. package/packages/cli/vendor/src/components/filters/filter-bar.tsx +0 -163
  144. package/packages/cli/vendor/src/components/modern/image-cropper.tsx +0 -226
  145. package/packages/cli/vendor/src/components/ui/number-field/index.tsx +0 -89
  146. package/packages/cli/vendor/src/components/ui/toolbar/index.tsx +0 -67
@@ -1114,110 +1114,6 @@
1114
1114
  box-shadow: var(--aui-popover-shadow);
1115
1115
  }
1116
1116
 
1117
- [data-slot="info-card"] {
1118
- overflow: hidden;
1119
- transition:
1120
- background-color var(--aui-motion-normal) var(--aui-ease-standard),
1121
- border-color var(--aui-motion-normal) var(--aui-ease-standard),
1122
- box-shadow var(--aui-motion-normal) var(--aui-ease-standard);
1123
- }
1124
-
1125
- [data-slot="info-card"][data-selected="true"] {
1126
- border-color: var(--primary);
1127
- box-shadow: 0 0 0 1px var(--primary);
1128
- }
1129
-
1130
- [data-slot="info-card"][data-disabled="true"] {
1131
- pointer-events: none;
1132
- opacity: var(--aui-disabled-opacity);
1133
- }
1134
-
1135
- [data-slot="info-card"][data-interactive="true"] {
1136
- cursor: pointer;
1137
- }
1138
-
1139
- [data-slot="info-card"][data-interactive="true"]:hover {
1140
- background: color-mix(in srgb, var(--aui-surface-muted) 55%, var(--card));
1141
- border-color: color-mix(in srgb, var(--primary) 28%, var(--aui-card-border));
1142
- }
1143
-
1144
- [data-slot="info-card-body"],
1145
- [data-slot="info-card-loading"] {
1146
- padding: 1rem;
1147
- }
1148
-
1149
- [data-slot="info-card"][data-info-density="compact"] :is([data-slot="info-card-body"], [data-slot="info-card-loading"]) {
1150
- padding: 0.75rem;
1151
- }
1152
-
1153
- [data-slot="info-card"][data-info-density="comfortable"] :is([data-slot="info-card-body"], [data-slot="info-card-loading"]) {
1154
- padding: 1.25rem;
1155
- }
1156
-
1157
- [data-slot="info-card-media"] {
1158
- overflow: hidden;
1159
- background: var(--aui-surface-muted);
1160
- border-bottom: 1px solid var(--aui-card-border);
1161
- }
1162
-
1163
- [data-slot="info-card"][data-orientation="horizontal"] [data-slot="info-card-media"] {
1164
- border-right: 1px solid var(--aui-card-border);
1165
- border-bottom: 0;
1166
- }
1167
-
1168
- [data-slot="info-card-icon"] {
1169
- width: 2.25rem;
1170
- height: 2.25rem;
1171
- border: 1px solid var(--aui-card-border);
1172
- border-radius: var(--aui-radius-control);
1173
- background: var(--aui-surface-muted);
1174
- color: var(--foreground);
1175
- box-shadow: var(--aui-shadow-xs);
1176
- }
1177
-
1178
- [data-slot="info-card-eyebrow"] {
1179
- color: var(--muted-foreground);
1180
- font-size: 0.6875rem;
1181
- font-weight: 700;
1182
- letter-spacing: 0.1em;
1183
- line-height: 1rem;
1184
- text-transform: uppercase;
1185
- }
1186
-
1187
- [data-slot="info-card-title"] {
1188
- color: var(--card-foreground);
1189
- font-size: 1rem;
1190
- font-weight: 650;
1191
- line-height: 1.35;
1192
- }
1193
-
1194
- [data-slot="info-card"][data-info-size="sm"] [data-slot="info-card-title"] {
1195
- font-size: 0.875rem;
1196
- }
1197
-
1198
- [data-slot="info-card"][data-info-size="lg"] [data-slot="info-card-title"] {
1199
- font-size: 1.125rem;
1200
- }
1201
-
1202
- [data-slot="info-card-description"] {
1203
- color: var(--muted-foreground);
1204
- font-size: 0.875rem;
1205
- line-height: 1.5;
1206
- }
1207
-
1208
- [data-slot="info-card-meta"] {
1209
- color: var(--muted-foreground);
1210
- font-size: 0.75rem;
1211
- line-height: 1.25rem;
1212
- }
1213
-
1214
- [data-slot="info-card-footer"] {
1215
- padding-top: 0.75rem;
1216
- border-top: 1px solid var(--aui-card-border);
1217
- color: var(--muted-foreground);
1218
- font-size: 0.8125rem;
1219
- }
1220
-
1221
1117
  [data-slot="dialog-overlay"] {
1222
1118
  background: color-mix(in srgb, var(--foreground) 42%, transparent);
1223
1119
  backdrop-filter: blur(2px);
@@ -1860,22 +1756,6 @@
1860
1756
  background: color-mix(in oklch, var(--primary), transparent 93%);
1861
1757
  }
1862
1758
 
1863
- [data-slot="statistic-card"] {
1864
- border-color: var(--aui-card-border, var(--border));
1865
- background: var(--card);
1866
- box-shadow: var(--aui-card-shadow, var(--aui-shadow-xs));
1867
- }
1868
-
1869
- [data-slot="statistic-label"],
1870
- [data-slot="statistic-prefix"],
1871
- [data-slot="statistic-suffix"],
1872
- [data-slot="statistic-meta"] {
1873
- color: var(--muted-foreground);
1874
- }
1875
-
1876
- [data-slot="statistic-change"][data-trend="up"] { color: var(--aui-success-fg); background: var(--aui-success-bg); }
1877
- [data-slot="statistic-change"][data-trend="down"] { color: var(--destructive); background: color-mix(in oklch, var(--destructive), transparent 90%); }
1878
-
1879
1759
  [data-slot="state-view"] {
1880
1760
  border-color: var(--aui-card-border, var(--border));
1881
1761
  border-radius: var(--aui-radius-panel);
package/registry.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://tembro.dev/registry.schema.json",
3
3
  "name": "tembro",
4
- "version": "6.1.0",
4
+ "version": "6.1.1",
5
5
  "components": {
6
6
  "accordion": {
7
7
  "category": "ui",
@@ -143,9 +143,7 @@
143
143
  "kbd",
144
144
  "scroll-box",
145
145
  "right-click-menu",
146
- "number-field",
147
146
  "toggle-group",
148
- "toolbar",
149
147
  "tag-input",
150
148
  "multi-select",
151
149
  "combobox",
@@ -189,7 +187,6 @@
189
187
  "description-list",
190
188
  "divider",
191
189
  "file-upload",
192
- "filter-bar",
193
190
  "empty-state",
194
191
  "charts",
195
192
  "chart-card",
@@ -208,9 +205,7 @@
208
205
  "rating",
209
206
  "section",
210
207
  "slider",
211
- "info-card",
212
208
  "spinner",
213
- "statistic",
214
209
  "status-dot",
215
210
  "status-legend",
216
211
  "stepper",
@@ -235,7 +230,6 @@
235
230
  "resizable-panel",
236
231
  "rich-text-editor",
237
232
  "file-manager",
238
- "image-cropper",
239
233
  "qr-code",
240
234
  "json-input",
241
235
  "time-picker",
@@ -1181,18 +1175,6 @@
1181
1175
  "status": "preview",
1182
1176
  "distribution": "source-copy"
1183
1177
  },
1184
- "filter-bar": {
1185
- "category": "filters",
1186
- "kind": "component",
1187
- "files": [
1188
- {
1189
- "source": "src/components/filters/filter-bar.tsx",
1190
- "target": "{components}/filters/filter-bar.tsx"
1191
- }
1192
- ],
1193
- "status": "stable",
1194
- "distribution": "source-copy"
1195
- },
1196
1178
  "form": {
1197
1179
  "category": "group",
1198
1180
  "kind": "preset",
@@ -1396,25 +1378,6 @@
1396
1378
  "status": "stable",
1397
1379
  "distribution": "system"
1398
1380
  },
1399
- "image-cropper": {
1400
- "category": "modern",
1401
- "kind": "component",
1402
- "dependencies": [
1403
- "react-easy-crop",
1404
- "lucide-react"
1405
- ],
1406
- "registryDependencies": [
1407
- "utils"
1408
- ],
1409
- "files": [
1410
- {
1411
- "source": "src/components/modern/image-cropper.tsx",
1412
- "target": "{components}/modern/image-cropper.tsx"
1413
- }
1414
- ],
1415
- "status": "preview",
1416
- "distribution": "source-copy"
1417
- },
1418
1381
  "image-upload": {
1419
1382
  "category": "upload",
1420
1383
  "kind": "component",
@@ -1427,23 +1390,6 @@
1427
1390
  "status": "preview",
1428
1391
  "distribution": "source-copy"
1429
1392
  },
1430
- "info-card": {
1431
- "category": "display",
1432
- "kind": "component",
1433
- "registryDependencies": [
1434
- "card",
1435
- "skeleton",
1436
- "utils"
1437
- ],
1438
- "files": [
1439
- {
1440
- "source": "src/components/display/info-card.tsx",
1441
- "target": "{components}/display/info-card.tsx"
1442
- }
1443
- ],
1444
- "status": "stable",
1445
- "distribution": "source-copy"
1446
- },
1447
1393
  "inline-editable": {
1448
1394
  "category": "inputs",
1449
1395
  "kind": "component",
@@ -1550,7 +1496,6 @@
1550
1496
  "kpi": {
1551
1497
  "category": "charts",
1552
1498
  "kind": "alias",
1553
- "migrationAliasFor": "statistic",
1554
1499
  "status": "preview"
1555
1500
  },
1556
1501
  "layout": {
@@ -1682,25 +1627,6 @@
1682
1627
  "status": "preview",
1683
1628
  "distribution": "source-copy"
1684
1629
  },
1685
- "number-field": {
1686
- "category": "inputs",
1687
- "kind": "component",
1688
- "dependencies": [
1689
- "@base-ui/react",
1690
- "lucide-react"
1691
- ],
1692
- "registryDependencies": [
1693
- "utils"
1694
- ],
1695
- "files": [
1696
- {
1697
- "source": "src/components/ui/number-field",
1698
- "target": "{ui}/number-field"
1699
- }
1700
- ],
1701
- "status": "preview",
1702
- "distribution": "foundation"
1703
- },
1704
1630
  "number-input": {
1705
1631
  "category": "inputs",
1706
1632
  "kind": "alias",
@@ -2121,7 +2047,6 @@
2121
2047
  "smart-card": {
2122
2048
  "category": "display",
2123
2049
  "kind": "alias",
2124
- "migrationAliasFor": "info-card",
2125
2050
  "status": "preview",
2126
2051
  "distribution": "source-copy"
2127
2052
  },
@@ -2160,7 +2085,6 @@
2160
2085
  "stat-card": {
2161
2086
  "category": "layout",
2162
2087
  "kind": "alias",
2163
- "migrationAliasFor": "statistic",
2164
2088
  "status": "preview",
2165
2089
  "distribution": "source-copy"
2166
2090
  },
@@ -2183,18 +2107,6 @@
2183
2107
  "status": "stable",
2184
2108
  "distribution": "source-copy"
2185
2109
  },
2186
- "statistic": {
2187
- "category": "display",
2188
- "kind": "component",
2189
- "files": [
2190
- {
2191
- "source": "src/components/display/statistic.tsx",
2192
- "target": "{components}/display/statistic.tsx"
2193
- }
2194
- ],
2195
- "status": "preview",
2196
- "distribution": "source-copy"
2197
- },
2198
2110
  "status-dot": {
2199
2111
  "category": "display",
2200
2112
  "kind": "component",
@@ -2414,24 +2326,6 @@
2414
2326
  "status": "preview",
2415
2327
  "distribution": "foundation"
2416
2328
  },
2417
- "toolbar": {
2418
- "category": "ui",
2419
- "kind": "component",
2420
- "dependencies": [
2421
- "@base-ui/react"
2422
- ],
2423
- "registryDependencies": [
2424
- "utils"
2425
- ],
2426
- "files": [
2427
- {
2428
- "source": "src/components/ui/toolbar",
2429
- "target": "{ui}/toolbar"
2430
- }
2431
- ],
2432
- "status": "preview",
2433
- "distribution": "foundation"
2434
- },
2435
2329
  "tooltip": {
2436
2330
  "category": "ui",
2437
2331
  "kind": "component",
@@ -2462,7 +2356,6 @@
2462
2356
  "trend-card": {
2463
2357
  "category": "display",
2464
2358
  "kind": "alias",
2465
- "migrationAliasFor": "statistic",
2466
2359
  "status": "preview",
2467
2360
  "distribution": "source-copy"
2468
2361
  },
@@ -2634,6 +2527,65 @@
2634
2527
  ],
2635
2528
  "status": "preview",
2636
2529
  "distribution": "source-copy"
2530
+ },
2531
+ "map": {
2532
+ "category": "modern",
2533
+ "kind": "component",
2534
+ "dependencies": [
2535
+ "lucide-react"
2536
+ ],
2537
+ "registryDependencies": [
2538
+ "badge",
2539
+ "button",
2540
+ "utils"
2541
+ ],
2542
+ "files": [
2543
+ {
2544
+ "source": "src/components/modern/map.tsx",
2545
+ "target": "{components}/modern/map.tsx"
2546
+ }
2547
+ ],
2548
+ "status": "preview",
2549
+ "distribution": "source-copy"
2550
+ },
2551
+ "media-player": {
2552
+ "category": "modern",
2553
+ "kind": "component",
2554
+ "dependencies": [
2555
+ "lucide-react"
2556
+ ],
2557
+ "registryDependencies": [
2558
+ "badge",
2559
+ "button",
2560
+ "utils"
2561
+ ],
2562
+ "files": [
2563
+ {
2564
+ "source": "src/components/modern/media-player.tsx",
2565
+ "target": "{components}/modern/media-player.tsx"
2566
+ }
2567
+ ],
2568
+ "status": "preview",
2569
+ "distribution": "source-copy"
2570
+ },
2571
+ "spreadsheet": {
2572
+ "category": "modern",
2573
+ "kind": "component",
2574
+ "dependencies": [
2575
+ "lucide-react"
2576
+ ],
2577
+ "registryDependencies": [
2578
+ "button",
2579
+ "utils"
2580
+ ],
2581
+ "files": [
2582
+ {
2583
+ "source": "src/components/modern/spreadsheet.tsx",
2584
+ "target": "{components}/modern/spreadsheet.tsx"
2585
+ }
2586
+ ],
2587
+ "status": "preview",
2588
+ "distribution": "source-copy"
2637
2589
  }
2638
2590
  },
2639
2591
  "recommended": [
@@ -2661,9 +2613,7 @@
2661
2613
  "kbd",
2662
2614
  "scroll-box",
2663
2615
  "right-click-menu",
2664
- "number-field",
2665
2616
  "toggle-group",
2666
- "toolbar",
2667
2617
  "tag-input",
2668
2618
  "combobox",
2669
2619
  "async-select",
@@ -2703,7 +2653,6 @@
2703
2653
  "description-list",
2704
2654
  "divider",
2705
2655
  "file-upload",
2706
- "filter-bar",
2707
2656
  "empty-state",
2708
2657
  "charts",
2709
2658
  "image-upload",
@@ -2720,9 +2669,7 @@
2720
2669
  "rating",
2721
2670
  "section",
2722
2671
  "slider",
2723
- "info-card",
2724
2672
  "spinner",
2725
- "statistic",
2726
2673
  "status-dot",
2727
2674
  "status-legend",
2728
2675
  "stepper",
@@ -2744,12 +2691,14 @@
2744
2691
  "dual-list-picker",
2745
2692
  "resizable-panel",
2746
2693
  "rich-text-editor",
2747
- "image-cropper",
2748
2694
  "qr-code",
2749
2695
  "json-input",
2750
2696
  "time-picker",
2751
2697
  "sortable-list",
2752
- "virtual-list"
2698
+ "virtual-list",
2699
+ "map",
2700
+ "media-player",
2701
+ "spreadsheet"
2753
2702
  ],
2754
2703
  "recommendedByMode": {
2755
2704
  "minimal": [
@@ -2766,9 +2715,10 @@
2766
2715
  "badge",
2767
2716
  "card",
2768
2717
  "data-table",
2769
- "filter-bar",
2770
2718
  "state-view",
2771
- "info-card"
2719
+ "map",
2720
+ "media-player",
2721
+ "spreadsheet"
2772
2722
  ],
2773
2723
  "full": [
2774
2724
  "button",
@@ -2795,9 +2745,7 @@
2795
2745
  "kbd",
2796
2746
  "scroll-box",
2797
2747
  "right-click-menu",
2798
- "number-field",
2799
2748
  "toggle-group",
2800
- "toolbar",
2801
2749
  "tag-input",
2802
2750
  "combobox",
2803
2751
  "async-select",
@@ -2837,7 +2785,6 @@
2837
2785
  "description-list",
2838
2786
  "divider",
2839
2787
  "file-upload",
2840
- "filter-bar",
2841
2788
  "empty-state",
2842
2789
  "charts",
2843
2790
  "image-upload",
@@ -2854,9 +2801,7 @@
2854
2801
  "rating",
2855
2802
  "section",
2856
2803
  "slider",
2857
- "info-card",
2858
2804
  "spinner",
2859
- "statistic",
2860
2805
  "status-dot",
2861
2806
  "status-legend",
2862
2807
  "stepper",
@@ -2878,7 +2823,6 @@
2878
2823
  "dual-list-picker",
2879
2824
  "resizable-panel",
2880
2825
  "rich-text-editor",
2881
- "image-cropper",
2882
2826
  "qr-code",
2883
2827
  "json-input",
2884
2828
  "time-picker",
@@ -2952,9 +2896,7 @@
2952
2896
  "kbd",
2953
2897
  "scroll-box",
2954
2898
  "right-click-menu",
2955
- "number-field",
2956
2899
  "toggle-group",
2957
- "toolbar",
2958
2900
  "tag-input",
2959
2901
  "combobox",
2960
2902
  "async-select",
@@ -2994,7 +2936,6 @@
2994
2936
  "description-list",
2995
2937
  "divider",
2996
2938
  "file-upload",
2997
- "filter-bar",
2998
2939
  "empty-state",
2999
2940
  "charts",
3000
2941
  "image-upload",
@@ -3011,9 +2952,7 @@
3011
2952
  "rating",
3012
2953
  "section",
3013
2954
  "slider",
3014
- "info-card",
3015
2955
  "spinner",
3016
- "statistic",
3017
2956
  "status-dot",
3018
2957
  "status-legend",
3019
2958
  "stepper",
@@ -3035,7 +2974,6 @@
3035
2974
  "dual-list-picker",
3036
2975
  "resizable-panel",
3037
2976
  "rich-text-editor",
3038
- "image-cropper",
3039
2977
  "qr-code",
3040
2978
  "json-input",
3041
2979
  "time-picker",
@@ -3057,10 +2995,8 @@
3057
2995
  "checkbox",
3058
2996
  "switch",
3059
2997
  "radio-group",
3060
- "number-field",
3061
2998
  "multi-select",
3062
2999
  "toggle-group",
3063
- "toolbar",
3064
3000
  "dialog",
3065
3001
  "dropdown-menu",
3066
3002
  "popover",
@@ -3101,7 +3037,6 @@
3101
3037
  "chat",
3102
3038
  "list",
3103
3039
  "description-list",
3104
- "statistic",
3105
3040
  "tree-view",
3106
3041
  "copy-button",
3107
3042
  "section",
@@ -3112,6 +3047,9 @@
3112
3047
  "dual-list-picker",
3113
3048
  "resizable-panel",
3114
3049
  "file-manager",
3050
+ "map",
3051
+ "media-player",
3052
+ "spreadsheet",
3115
3053
  "tag",
3116
3054
  "carousel",
3117
3055
  "typography",
@@ -3124,7 +3062,6 @@
3124
3062
  "signature-pad",
3125
3063
  "qr-code",
3126
3064
  "rich-text-editor",
3127
- "image-cropper",
3128
3065
  "data-grid"
3129
3066
  ],
3130
3067
  "standalone": [],
@@ -3140,10 +3077,8 @@
3140
3077
  "checkbox",
3141
3078
  "switch",
3142
3079
  "radio-group",
3143
- "number-field",
3144
3080
  "multi-select",
3145
3081
  "toggle-group",
3146
- "toolbar",
3147
3082
  "dialog",
3148
3083
  "dropdown-menu",
3149
3084
  "popover",
@@ -3184,7 +3119,6 @@
3184
3119
  "chat",
3185
3120
  "list",
3186
3121
  "description-list",
3187
- "statistic",
3188
3122
  "tree-view",
3189
3123
  "copy-button",
3190
3124
  "section",
@@ -3207,7 +3141,6 @@
3207
3141
  "signature-pad",
3208
3142
  "qr-code",
3209
3143
  "rich-text-editor",
3210
- "image-cropper",
3211
3144
  "data-grid"
3212
3145
  ]
3213
3146
  },
@@ -3232,12 +3165,12 @@
3232
3165
  "input-value": "input",
3233
3166
  "inputs": "input",
3234
3167
  "app-sidebar": "sidebar",
3235
- "stat-card": "statistic",
3236
- "smart-card": "info-card",
3168
+ "stat-card": "card",
3169
+ "smart-card": "card",
3237
3170
  "file-dropzone": "file-upload",
3238
3171
  "comparison-card": "card",
3239
3172
  "delta-badge": "badge",
3240
- "trend-card": "statistic",
3173
+ "trend-card": "card",
3241
3174
  "user-card": "avatar",
3242
3175
  "sheet-shell": "drawer",
3243
3176
  "nav-tabs": "tabs",
@@ -3259,6 +3192,6 @@
3259
3192
  "table-export-menu": "data-table",
3260
3193
  "table-import-button": "data-table",
3261
3194
  "horizontal-bar-chart": "charts",
3262
- "kpi": "statistic"
3195
+ "kpi": "chart-card"
3263
3196
  }
3264
3197
  }
@@ -1 +0,0 @@
1
- module.exports = require("../../src/components/display/info-card.cjs")
@@ -1,51 +0,0 @@
1
- import * as React from "react";
2
- import { Card } from "@/components/ui/card";
3
- export type InfoCardVariant = "default" | "outline" | "elevated" | "ghost";
4
- export type InfoCardSize = "sm" | "md" | "lg";
5
- export type InfoCardDensity = "compact" | "default" | "comfortable";
6
- export type InfoCardOrientation = "vertical" | "horizontal";
7
- export type InfoCardClassNames = {
8
- root?: string;
9
- media?: string;
10
- header?: string;
11
- icon?: string;
12
- body?: string;
13
- eyebrow?: string;
14
- title?: string;
15
- description?: string;
16
- content?: string;
17
- footer?: string;
18
- actions?: string;
19
- meta?: string;
20
- status?: string;
21
- };
22
- export type InfoCardRenderContext = {
23
- title?: React.ReactNode;
24
- description?: React.ReactNode;
25
- eyebrow?: React.ReactNode;
26
- media?: React.ReactNode;
27
- icon?: React.ReactNode;
28
- status?: React.ReactNode;
29
- actions?: React.ReactNode;
30
- meta?: React.ReactNode;
31
- content?: React.ReactNode;
32
- footer?: React.ReactNode;
33
- };
34
- export type InfoCardProps = Omit<React.ComponentProps<typeof Card>, "title" | "content" | "size" | "orientation"> & InfoCardRenderContext & {
35
- orientation?: InfoCardOrientation;
36
- variant?: InfoCardVariant;
37
- size?: InfoCardSize;
38
- density?: InfoCardDensity;
39
- compact?: boolean;
40
- loading?: boolean;
41
- disabled?: boolean;
42
- selected?: boolean;
43
- interactive?: boolean;
44
- classNames?: InfoCardClassNames;
45
- renderHeader?: (ctx: InfoCardRenderContext) => React.ReactNode;
46
- renderMedia?: (ctx: InfoCardRenderContext) => React.ReactNode;
47
- renderContent?: (ctx: InfoCardRenderContext) => React.ReactNode;
48
- renderFooter?: (ctx: InfoCardRenderContext) => React.ReactNode;
49
- };
50
- declare function InfoCard({ eyebrow, title, description, media, icon, status, actions, meta, content, footer, orientation, variant, size, density, compact, loading, disabled, selected, interactive, className, classNames, renderHeader, renderMedia, renderContent, renderFooter, children, onClick, ...props }: InfoCardProps): React.JSX.Element;
51
- export { InfoCard };
@@ -1 +0,0 @@
1
- export * from "../../src/components/display/info-card.js"
@@ -1 +0,0 @@
1
- module.exports = require("../../src/components/display/statistic.cjs")
@@ -1,25 +0,0 @@
1
- import * as React from "react";
2
- import { Card } from "@/components/ui/card";
3
- export type StatisticTrend = "up" | "down" | "neutral";
4
- export type StatisticProps = React.ComponentProps<"div"> & {
5
- label: React.ReactNode;
6
- value: React.ReactNode;
7
- prefix?: React.ReactNode;
8
- suffix?: React.ReactNode;
9
- description?: React.ReactNode;
10
- trend?: StatisticTrend;
11
- change?: React.ReactNode;
12
- loading?: boolean;
13
- };
14
- declare function Statistic({ label, value, prefix, suffix, description, trend, change, loading, className, ...props }: StatisticProps): React.JSX.Element;
15
- export type StatisticCardProps = React.ComponentProps<typeof Card> & StatisticProps & {
16
- action?: React.ReactNode;
17
- density?: "compact" | "default";
18
- };
19
- declare function StatisticCard({ action, density, label, value, prefix, suffix, description, trend, change, loading, className, ...props }: StatisticCardProps): React.JSX.Element;
20
- export type StatisticGridProps = React.ComponentProps<"div"> & {
21
- columns?: 1 | 2 | 3 | 4;
22
- gap?: "sm" | "default" | "lg";
23
- };
24
- declare function StatisticGrid({ columns, gap, className, ...props }: StatisticGridProps): React.JSX.Element;
25
- export { Statistic, StatisticCard, StatisticGrid };