asma-core-ui 2.16.16 → 2.16.18

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.
@@ -0,0 +1,2 @@
1
+ import { type ChipProps } from '@mui/material';
2
+ export declare const StyledChip: (props: ChipProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledChip';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from '@storybook/react';
2
3
  declare const meta: {
3
4
  title: string;
@@ -0,0 +1,20 @@
1
+ import React, { type AnchorHTMLAttributes } from 'react';
2
+ export type StyledLinkProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
3
+ disabled?: boolean;
4
+ size?: 'small' | 'large';
5
+ title: string;
6
+ children?: never;
7
+ reflink?: React.Ref<HTMLAnchorElement>;
8
+ dataTest?: string;
9
+ };
10
+ /**
11
+ * Developer: bularga.alexandru@carasent.com
12
+ *
13
+ * Custom props:
14
+ * @param title - title of the link
15
+ * @param disabled = disabled
16
+ * @param size - 'large' | 'small'
17
+ * @param refLink - ref to component
18
+ * @param dataTest - data-test tag
19
+ */
20
+ export declare const StyledLink: React.FC<StyledLinkProps>;
@@ -0,0 +1 @@
1
+ export * from './StyledLink';
@@ -1,6 +1,6 @@
1
1
  import { type TableOptions, type Table, type Row } from '@tanstack/react-table';
2
2
  import { type ReactElement, type MouseEvent } from 'react';
3
- interface StyledTableProps<TData, TCustomData> extends Omit<TableOptions<TData>, 'getCoreRowModel' | 'getExpandedRowModel' | 'getFilteredRowModel' | 'getSortedRowModel'> {
3
+ export interface StyledTableProps<TData, TCustomData> extends Omit<TableOptions<TData>, 'getCoreRowModel' | 'getExpandedRowModel' | 'getFilteredRowModel' | 'getSortedRowModel'> {
4
4
  actions?: (row: Row<TData>) => {
5
5
  label: string;
6
6
  className?: string;
@@ -26,4 +26,3 @@ interface StyledTableProps<TData, TCustomData> extends Omit<TableOptions<TData>,
26
26
  export declare const StyledTable: <TData extends {
27
27
  id: string | number;
28
28
  }, TCustomData = Record<string, unknown>>({ actions, columns, data, customSubRowData, initialState, enableRowSelection, disableHeaderPin, loading, noRowsOverlay, tableInstanceRef, className, rowHeight, tdClassName, thClassName, getRowClassName, onRowClick, renderSubRows, ...rest }: StyledTableProps<TData, TCustomData>) => JSX.Element;
29
- export {};
@@ -0,0 +1,2 @@
1
+ import { type PopoverProps } from '@mui/material';
2
+ export declare const StyledPopover: (props: PopoverProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledPopover';
@@ -3,6 +3,7 @@ export * from './theme';
3
3
  export * from './providers';
4
4
  export * from './interfaces';
5
5
  export * from './components/data-display/badge';
6
+ export * from './components/data-display/chip';
6
7
  export * from './components/data-display/tooltip';
7
8
  export * from './components/data-display/icons';
8
9
  export * from './components/data-display/typography';
@@ -27,7 +28,9 @@ export * from './components/miscellaneous/StyledInputLabel';
27
28
  export * from './components/miscellaneous/StyledStack';
28
29
  export * from './components/miscellaneous/StyledFormGroup';
29
30
  export * from './components/navigation/menu';
31
+ export * from './components/navigation/link';
30
32
  export * from './components/surfaces/accordion';
31
33
  export * from './components/table';
34
+ export * from './components/utils/popover';
32
35
  export * from './components/custom/widget/widget-title/StyledWidgetTitle';
33
36
  export * from './components/custom/module/module-title/StyledModuleTitle';