@indico-data/design-system 2.17.1 → 2.17.2
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/lib/index.d.ts +9 -8
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/src/components/table/Table.d.ts +1 -10
- package/lib/src/components/table/types.d.ts +10 -0
- package/lib/src/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/table/Table.tsx +1 -16
- package/src/components/table/types.ts +20 -0
- package/src/types.ts +3 -0
package/lib/index.d.ts
CHANGED
|
@@ -891,6 +891,15 @@ type SelectOption = {
|
|
|
891
891
|
[key: string]: any;
|
|
892
892
|
};
|
|
893
893
|
|
|
894
|
+
type Direction = `${Direction$1}`;
|
|
895
|
+
type Alignment = `${Alignment$1}`;
|
|
896
|
+
type TableProps<T> = Omit<TableProps$1<T>, 'disabled' | 'progressPending' | 'direction' | 'subHeaderAlign'> & {
|
|
897
|
+
isDisabled?: boolean;
|
|
898
|
+
isLoading?: boolean;
|
|
899
|
+
direction?: Direction;
|
|
900
|
+
subHeaderAlign?: Alignment;
|
|
901
|
+
};
|
|
902
|
+
|
|
894
903
|
type PermafrostComponent = {
|
|
895
904
|
id?: string;
|
|
896
905
|
className?: string;
|
|
@@ -909,14 +918,6 @@ type IconProps = PermafrostComponent & {
|
|
|
909
918
|
|
|
910
919
|
declare const Icon: ({ name, size, className, ariaLabel, ...props }: IconProps) => react_jsx_runtime.JSX.Element | null;
|
|
911
920
|
|
|
912
|
-
type Direction = `${Direction$1}`;
|
|
913
|
-
type Alignment = `${Alignment$1}`;
|
|
914
|
-
type TableProps<T> = Omit<TableProps$1<T>, 'disabled' | 'progressPending' | 'direction' | 'subHeaderAlign'> & {
|
|
915
|
-
isDisabled?: boolean;
|
|
916
|
-
isLoading?: boolean;
|
|
917
|
-
direction?: Direction;
|
|
918
|
-
subHeaderAlign?: Alignment;
|
|
919
|
-
};
|
|
920
921
|
declare const Table: <T>(props: TableProps<T>) => react_jsx_runtime.JSX.Element;
|
|
921
922
|
|
|
922
923
|
interface InputProps {
|