@ivao/atmosphere-react 2.0.0-next.2 → 2.0.0-next.4

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.
@@ -495,7 +495,7 @@ export declare const DarkModeToggle: ComponentType<DarkModeToggleProps>;
495
495
  declare type DarkModeToggleProps = Omit<ComponentProps<typeof IconButton>, 'onClick' | 'Icon'> & Pick<ComponentPropsWithoutRef<typeof Tooltip>, 'side' | 'sideOffset' | 'align' | 'alignOffset'>;
496
496
 
497
497
  export declare const DataTable: {
498
- <TData>({ displayPagination, isClientSideData, displayViewOptions, ToolbarContent, ...props }: DataTableProps<TData>): JSX_2.Element;
498
+ <TData>({ displayPagination, isClientSideData, displayViewOptions, ToolbarContent, isLoading, noResultsMessage, ...props }: DataTableProps<TData>): JSX_2.Element;
499
499
  displayName: string;
500
500
  };
501
501
 
@@ -518,6 +518,15 @@ export declare interface DataTableProps<TData> extends Omit<TableOptions<TData>,
518
518
  * If true, the data will be paginated, sorted, and filtered on the client side.
519
519
  */
520
520
  isClientSideData?: boolean;
521
+ /**
522
+ * If true, a loading column will be displayed.
523
+ */
524
+ isLoading?: boolean;
525
+ /**
526
+ * Message to display when there are no results.
527
+ * @default 'No results.'
528
+ */
529
+ noResultsMessage?: string;
521
530
  }
522
531
 
523
532
  export declare function DataTableRowActions({ actions }: DataTableRowActionsProps): JSX_2.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ivao/atmosphere-react",
3
3
  "description": "React component library for the IVAO Atmosphere design system.",
4
- "version": "2.0.0-next.2",
4
+ "version": "2.0.0-next.4",
5
5
  "type": "module",
6
6
  "main": "./dist/atmosphere-react.js",
7
7
  "types": "./dist/react-components.d.ts",
@@ -12,17 +12,6 @@
12
12
  "src/styles/colors.css",
13
13
  "src/styles/index.css"
14
14
  ],
15
- "exports": {
16
- ".": {
17
- "import": "./dist/atmosphere-react.js",
18
- "types": "./dist/react-components.d.ts",
19
- "style": "./dist/styles/index.css"
20
- },
21
- "./tailwind.preset": {
22
- "import": "./tailwind.preset.ts",
23
- "types": "./tailwind.preset.ts"
24
- }
25
- },
26
15
  "repository": {
27
16
  "type": "git",
28
17
  "url": "https://github.com/ivaoaero/atmosphere.git"