gantri-components 2.40.0-beta.9 → 2.40.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/dist/components/table/components/table-row/hooks/use-drag-and-drop/use-drag-and-drop.types.d.ts +3 -0
- package/dist/components/table/components/table-row/table-row.types.d.ts +3 -0
- package/dist/components/table/hooks/use-move-row/use-move-row.d.ts +3 -0
- package/dist/components/table/hooks/use-track-sticky-cells/use-track-sticky-cells.d.ts +6 -1
- package/dist/components/table/hooks/use-track-sticky-cells/use-track-sticky-cells.types.d.ts +4 -3
- package/dist/components/table/table.types.d.ts +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/styles/base.d.ts +5 -1
- package/dist/styles/index.d.ts +1 -1
- package/dist/styles/theme.d.ts +10 -5
- package/package.json +1 -1
- package/dist/components/icon/generated/ui-control/ExlamationCircleFilled.d.ts +0 -3
- package/dist/components/icon/generated/ui-control/ExlamationCircleFilled24.d.ts +0 -3
- package/dist/components/paging/__tests__/paging.test.d.ts +0 -1
- package/dist/components/paging/index.d.ts +0 -1
- package/dist/components/paging/paging.d.ts +0 -5
- package/dist/components/paging/paging.presets.d.ts +0 -2
- package/dist/components/paging/paging.styles.d.ts +0 -3
- package/dist/components/paging/paging.types.d.ts +0 -13
- package/dist/components/table/components/table-actions-wrapper/components/sort/helpers/get-sort-mapping/get-sort-mapping.d.ts +0 -3
- package/dist/components/table/components/table-actions-wrapper/components/sort/helpers/get-sort-mapping/get-sort-mapping.types.d.ts +0 -2
- package/dist/components/table/components/table-actions-wrapper/components/sort/helpers/get-sort-mapping/index.d.ts +0 -1
package/dist/styles/base.d.ts
CHANGED
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{
|
|
1
|
+
export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{
|
|
2
|
+
boldFamily?: string | undefined;
|
|
3
|
+
defaultFamily?: string | undefined;
|
|
4
|
+
includeFonts?: boolean | undefined;
|
|
5
|
+
}, import("styled-components").DefaultTheme>;
|
package/dist/styles/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { getButtonsColors, getThemeColor, getThemeSpacing, palette, lightTheme, darkTheme, } from './theme';
|
|
1
|
+
export { getButtonsColors, getThemeColor, getThemeSpacing, palette, lightTheme, darkTheme, createTheme, } from './theme';
|
|
2
2
|
export { type PaletteColor as Color } from './theme';
|
|
3
3
|
export { ThemeProvider } from './theme-provider';
|
|
4
4
|
export * from './animations';
|
package/dist/styles/theme.d.ts
CHANGED
|
@@ -7,14 +7,14 @@ export type PaletteColor = 'blue_100' | 'blue_200' | 'blue_300' | 'blue_400' | '
|
|
|
7
7
|
export declare const palette: Record<PaletteColor, string>;
|
|
8
8
|
declare module 'styled-components' {
|
|
9
9
|
interface FontInfo {
|
|
10
|
-
family
|
|
10
|
+
family?: string;
|
|
11
11
|
fontWeight?: Property.FontWeight;
|
|
12
|
-
lineHeight
|
|
12
|
+
lineHeight?: string;
|
|
13
13
|
lineHeightMedium?: string;
|
|
14
|
-
lineHeightSmaller
|
|
15
|
-
size
|
|
14
|
+
lineHeightSmaller?: string;
|
|
15
|
+
size?: string;
|
|
16
16
|
sizeMedium?: string;
|
|
17
|
-
sizeSmaller
|
|
17
|
+
sizeSmaller?: string;
|
|
18
18
|
}
|
|
19
19
|
interface DefaultTheme {
|
|
20
20
|
border: string;
|
|
@@ -161,6 +161,7 @@ declare module 'styled-components' {
|
|
|
161
161
|
p2: FontInfo;
|
|
162
162
|
p3: FontInfo;
|
|
163
163
|
regularFontFamily: string;
|
|
164
|
+
useCssVariablesForFontFamily?: boolean;
|
|
164
165
|
};
|
|
165
166
|
name: 'dark' | 'light';
|
|
166
167
|
shadow: {
|
|
@@ -229,3 +230,7 @@ export declare const getButtonsColors: (variant: ButtonVariant, theme?: DefaultT
|
|
|
229
230
|
processingIconColorOpaque: string;
|
|
230
231
|
borderProcessing?: undefined;
|
|
231
232
|
};
|
|
233
|
+
export declare const createTheme: (config: {
|
|
234
|
+
theme: 'light' | 'dark';
|
|
235
|
+
typography?: Partial<Omit<DefaultTheme['fonts'], 'useCssVariablesForFontFamily'>>;
|
|
236
|
+
}) => DefaultTheme;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Paging } from './paging';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const StyledFlex: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../flex/flex.types").FlexProps & import("react").RefAttributes<import("../flex/flex.types").FlexProps>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const StyledPagingButton: import("styled-components").StyledComponent<import("react").FC<import("../button/button.types").ButtonProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnConfirmInteraction } from '../table/components/table-actions-wrapper/hooks/use-confirm-interaction/use-confirm-interaction.types';
|
|
2
|
-
export interface PagingProps {
|
|
3
|
-
currentPage: number;
|
|
4
|
-
onPageChange: (page: number) => void;
|
|
5
|
-
/** Total number of pages. */
|
|
6
|
-
pageCount: number;
|
|
7
|
-
/** Total number of returned results. */
|
|
8
|
-
total: number;
|
|
9
|
-
}
|
|
10
|
-
export interface PagingComponentProps extends PagingProps {
|
|
11
|
-
confirmAllInteractions: boolean;
|
|
12
|
-
onConfirmInteraction: OnConfirmInteraction;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './get-sort-mapping';
|