@rise-x/apps-sdk 0.6.0 → 0.7.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 (44) hide show
  1. package/README.md +192 -10
  2. package/build/connectors/agents.js +1 -1
  3. package/build/connectors/assets.d.ts +9 -3
  4. package/build/connectors/assets.js +32 -1
  5. package/build/connectors/index.d.ts +3 -2
  6. package/build/connectors/index.js +4 -1
  7. package/build/connectors/search.d.ts +34 -0
  8. package/build/connectors/search.js +63 -0
  9. package/build/connectors/types.d.ts +51 -0
  10. package/build/connectors/types.js +71 -0
  11. package/build/connectors/work.d.ts +7 -1
  12. package/build/connectors/work.js +13 -0
  13. package/build/index.d.ts +1 -1
  14. package/build/mockShell.d.ts +11 -0
  15. package/build/mockShell.js +159 -2
  16. package/build/query/assets.d.ts +19 -6
  17. package/build/query/assets.js +35 -3
  18. package/build/query/context.d.ts +14 -0
  19. package/build/query/context.js +16 -0
  20. package/build/query/index.d.ts +4 -3
  21. package/build/query/index.js +14 -2
  22. package/build/query/keys.d.ts +4 -0
  23. package/build/query/keys.js +7 -0
  24. package/build/query/layer.d.ts +25 -3
  25. package/build/query/work.d.ts +14 -1
  26. package/build/query/work.js +32 -1
  27. package/build/shellBridge.d.ts +1 -1
  28. package/build/ui/components/data-table.d.ts +13 -2
  29. package/build/ui/components/table.d.ts +7 -1
  30. package/build/ui/reference/components/alert-dialog.tsx +6 -1
  31. package/build/ui/reference/components/button.tsx +8 -1
  32. package/build/ui/reference/components/data-table.tsx +199 -29
  33. package/build/ui/reference/components/dialog.tsx +1 -1
  34. package/build/ui/reference/components/dropdown-menu.tsx +2 -2
  35. package/build/ui/reference/components/nav.tsx +3 -0
  36. package/build/ui/reference/components/popover.tsx +1 -1
  37. package/build/ui/reference/components/select.tsx +1 -1
  38. package/build/ui/reference/components/sheet.tsx +5 -2
  39. package/build/ui/reference/components/table.tsx +15 -2
  40. package/build/ui/standalone.js +9 -9
  41. package/build/ui/styles.css +1 -1
  42. package/package.json +10 -9
  43. package/template/README.md +6 -0
  44. package/template/src/App.tsx +10 -1
@@ -22,9 +22,22 @@ import { cn } from '@rise-x/ui/lib/utils';
22
22
  * be confused with hover or selection.
23
23
  */
24
24
 
25
- function Table({ className, ...props }: React.ComponentProps<'table'>) {
25
+ function Table({
26
+ className,
27
+ containerClassName,
28
+ ...props
29
+ }: React.ComponentProps<'table'> & {
30
+ /** Extends the scroll container the table always renders inside. Sticky
31
+ * headers pin to THIS element, so a vertically scrolling table puts its
32
+ * max-height + overflow-y here — an outer scroll div never receives the
33
+ * stick. */
34
+ containerClassName?: string;
35
+ }) {
26
36
  return (
27
- <div data-slot="table-container" className="relative w-full overflow-x-auto">
37
+ <div
38
+ data-slot="table-container"
39
+ className={cn('relative w-full overflow-x-auto', containerClassName)}
40
+ >
28
41
  <table
29
42
  data-slot="table"
30
43
  className={cn('w-full caption-bottom border-separate border-spacing-0 text-ui', className)}