gantri-components 2.233.0 → 2.235.6
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/CLAUDE.md +111 -1
- package/dist/components/box/box.types.d.ts +1 -1
- package/dist/components/button/button.types.d.ts +3 -3
- package/dist/components/button-menu/button-menu.d.ts +1 -4
- package/dist/components/checkbox-list/checkbox-list.d.ts +1 -4
- package/dist/components/color-picker/color-picker.types.d.ts +12 -1
- package/dist/components/color-picker/components/color-picker-item/color-picker-item.styles.d.ts +4 -4
- package/dist/components/color-picker/components/color-picker-item/color-picker-item.types.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +1 -4
- package/dist/components/file-uploader/components/file-uploader-thumbnail-variant/file-uploader-thumbnail-variant.d.ts +1 -4
- package/dist/components/file-uploader/file-uploader.d.ts +1 -4
- package/dist/components/icon/generated/work/Moon.d.ts +3 -0
- package/dist/components/icon/generated/work/Moon24.d.ts +3 -0
- package/dist/components/icon/generated/work/index.d.ts +2 -0
- package/dist/components/icon/icon.type.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/multi-select-list/multi-select-list.d.ts +1 -4
- package/dist/components/option-selector/option-selector.d.ts +1 -4
- package/dist/components/picture/__test__/build-cloudinary-url.test.d.ts +1 -0
- package/dist/components/picture/__test__/build-srcset.test.d.ts +1 -0
- package/dist/components/picture/__test__/detect-source.test.d.ts +1 -0
- package/dist/components/picture/__test__/picture.test.d.ts +1 -0
- package/dist/components/picture/helpers/build-cloudinary-url.d.ts +21 -0
- package/dist/components/picture/helpers/build-placeholder.d.ts +2 -0
- package/dist/components/picture/helpers/build-srcset.d.ts +22 -0
- package/dist/components/picture/helpers/detect-source.d.ts +2 -0
- package/dist/components/picture/helpers/index.d.ts +5 -0
- package/dist/components/picture/helpers/normalize-resolution-aware.d.ts +8 -0
- package/dist/components/picture/index.d.ts +3 -0
- package/dist/components/picture/picture.d.ts +3 -0
- package/dist/components/picture/picture.presets.d.ts +2 -0
- package/dist/components/picture/picture.styles.d.ts +8 -0
- package/dist/components/picture/picture.types.d.ts +72 -0
- package/dist/components/radio/radio.d.ts +1 -4
- package/dist/components/radio-list/radio-list.d.ts +1 -4
- package/dist/components/responsive/responsive.d.ts +19 -0
- package/dist/components/responsive/responsive.types.d.ts +4 -0
- package/dist/components/search-field/search-field.d.ts +1 -4
- package/dist/components/table/components/table-actions-wrapper/components/paging/paging.d.ts +1 -4
- package/dist/components/table/components/table-actions-wrapper/components/search/search.d.ts +1 -4
- package/dist/components/table/components/table-row/helpers/get-row-component-props/get-row-component-props.d.ts +1 -1
- package/dist/components/table/table.d.ts +1 -4
- package/dist/helpers/get-file-url/helpers/get-cloudinary-prefix/get-cloudinary-prefix.d.ts +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +1 -1
- package/dist/styles/__tests__/media-style.test.d.ts +1 -0
- package/dist/styles/index.d.ts +1 -0
- package/dist/styles/media-style.d.ts +56 -0
- package/dist/styles/media.d.ts +7 -0
- package/dist/styles/theme.d.ts +21 -285
- package/package.json +2 -2
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SearchFieldProps } from './search-field.types';
|
|
3
|
-
export declare const SearchField:
|
|
4
|
-
<T extends Record<any, any>>(props: SearchFieldProps<T>): React.JSX.Element;
|
|
5
|
-
defaultProps: Partial<SearchFieldProps<any>>;
|
|
6
|
-
};
|
|
3
|
+
export declare const SearchField: <T extends Record<any, any>>(incoming: SearchFieldProps<T>) => React.JSX.Element;
|
package/dist/components/table/components/table-actions-wrapper/components/paging/paging.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PagingComponentProps } from './paging.types';
|
|
3
|
-
export declare const Paging:
|
|
4
|
-
(props: PagingComponentProps): React.JSX.Element;
|
|
5
|
-
defaultProps: Partial<import("./paging.types").PagingProps>;
|
|
6
|
-
};
|
|
3
|
+
export declare const Paging: (incoming: PagingComponentProps) => React.JSX.Element;
|
package/dist/components/table/components/table-actions-wrapper/components/search/search.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SearchComponentProps } from './search.types';
|
|
3
|
-
export declare const Search:
|
|
4
|
-
(props: SearchComponentProps): React.JSX.Element;
|
|
5
|
-
defaultProps: import("./search.types").SearchDefaultProps;
|
|
6
|
-
};
|
|
3
|
+
export declare const Search: (incoming: SearchComponentProps) => React.JSX.Element;
|
|
@@ -52,7 +52,7 @@ export declare const getRowComponentProps: <TData extends RowData<import("../../
|
|
|
52
52
|
results?: number | undefined;
|
|
53
53
|
security?: string | undefined;
|
|
54
54
|
unselectable?: "off" | "on" | undefined;
|
|
55
|
-
inputMode?: "
|
|
55
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
56
56
|
is?: string | undefined;
|
|
57
57
|
children?: import("react-i18next").ReactI18NextChild | Iterable<import("react-i18next").ReactI18NextChild>;
|
|
58
58
|
"aria-activedescendant"?: string | undefined;
|
|
@@ -6,7 +6,4 @@ import { TableProps } from './table.types';
|
|
|
6
6
|
*
|
|
7
7
|
* Official docs: https://tanstack.com/table/v8/docs/guide/overview
|
|
8
8
|
*/
|
|
9
|
-
export declare const Table:
|
|
10
|
-
<TData extends RowData<import("./table.types").CustomTData>>(props: TableProps<TData>): React.JSX.Element;
|
|
11
|
-
defaultProps: import("./table.types").TableDefaultProps;
|
|
12
|
-
};
|
|
9
|
+
export declare const Table: <TData extends RowData<import("./table.types").CustomTData>>(incoming: TableProps<TData>) => React.JSX.Element;
|
|
@@ -6,8 +6,8 @@ export declare const getCloudinaryPrefixFolders: (props: {
|
|
|
6
6
|
}) => string;
|
|
7
7
|
export declare const getCloudinaryPrefixPath: (props: {
|
|
8
8
|
resourceType: CloudinaryResourceType;
|
|
9
|
-
}) => `https://res.cloudinary.com/gantri/video/upload${string}` | `https://res.cloudinary.com/gantri/image/upload${string}` | `https://res.cloudinary.com/gantri/raw/upload${string}` | `https://res.cloudinary.com/gantri-
|
|
9
|
+
}) => `https://res.cloudinary.com/gantri-dev/video/upload${string}` | `https://res.cloudinary.com/gantri-dev/image/upload${string}` | `https://res.cloudinary.com/gantri-dev/raw/upload${string}` | `https://res.cloudinary.com/gantri-staging/video/upload${string}` | `https://res.cloudinary.com/gantri-staging/image/upload${string}` | `https://res.cloudinary.com/gantri-staging/raw/upload${string}` | `https://res.cloudinary.com/gantri/video/upload${string}` | `https://res.cloudinary.com/gantri/image/upload${string}` | `https://res.cloudinary.com/gantri/raw/upload${string}`;
|
|
10
10
|
export declare const getCloudinaryPrefixPathForFileType: <Directory extends DirectoryName>(props: {
|
|
11
11
|
fileType: GetFileUrlArgs<Directory>["fileType"];
|
|
12
12
|
isRawFile: boolean | undefined;
|
|
13
|
-
}) => `https://res.cloudinary.com/gantri/video/upload${string}` | `https://res.cloudinary.com/gantri/image/upload${string}` | `https://res.cloudinary.com/gantri/raw/upload${string}` | `https://res.cloudinary.com/gantri-
|
|
13
|
+
}) => `https://res.cloudinary.com/gantri-dev/video/upload${string}` | `https://res.cloudinary.com/gantri-dev/image/upload${string}` | `https://res.cloudinary.com/gantri-dev/raw/upload${string}` | `https://res.cloudinary.com/gantri-staging/video/upload${string}` | `https://res.cloudinary.com/gantri-staging/image/upload${string}` | `https://res.cloudinary.com/gantri-staging/raw/upload${string}` | `https://res.cloudinary.com/gantri/video/upload${string}` | `https://res.cloudinary.com/gantri/image/upload${string}` | `https://res.cloudinary.com/gantri/raw/upload${string}`;
|