@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.
- package/README.md +192 -10
- package/build/connectors/agents.js +1 -1
- package/build/connectors/assets.d.ts +9 -3
- package/build/connectors/assets.js +32 -1
- package/build/connectors/index.d.ts +3 -2
- package/build/connectors/index.js +4 -1
- package/build/connectors/search.d.ts +34 -0
- package/build/connectors/search.js +63 -0
- package/build/connectors/types.d.ts +51 -0
- package/build/connectors/types.js +71 -0
- package/build/connectors/work.d.ts +7 -1
- package/build/connectors/work.js +13 -0
- package/build/index.d.ts +1 -1
- package/build/mockShell.d.ts +11 -0
- package/build/mockShell.js +159 -2
- package/build/query/assets.d.ts +19 -6
- package/build/query/assets.js +35 -3
- package/build/query/context.d.ts +14 -0
- package/build/query/context.js +16 -0
- package/build/query/index.d.ts +4 -3
- package/build/query/index.js +14 -2
- package/build/query/keys.d.ts +4 -0
- package/build/query/keys.js +7 -0
- package/build/query/layer.d.ts +25 -3
- package/build/query/work.d.ts +14 -1
- package/build/query/work.js +32 -1
- package/build/shellBridge.d.ts +1 -1
- package/build/ui/components/data-table.d.ts +13 -2
- package/build/ui/components/table.d.ts +7 -1
- package/build/ui/reference/components/alert-dialog.tsx +6 -1
- package/build/ui/reference/components/button.tsx +8 -1
- package/build/ui/reference/components/data-table.tsx +199 -29
- package/build/ui/reference/components/dialog.tsx +1 -1
- package/build/ui/reference/components/dropdown-menu.tsx +2 -2
- package/build/ui/reference/components/nav.tsx +3 -0
- package/build/ui/reference/components/popover.tsx +1 -1
- package/build/ui/reference/components/select.tsx +1 -1
- package/build/ui/reference/components/sheet.tsx +5 -2
- package/build/ui/reference/components/table.tsx +15 -2
- package/build/ui/standalone.js +9 -9
- package/build/ui/styles.css +1 -1
- package/package.json +10 -9
- package/template/README.md +6 -0
- 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({
|
|
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
|
|
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)}
|