@tracktor/design-system 3.12.1 → 3.13.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.
@@ -17,5 +17,5 @@ interface FileViewerPros extends PropsWithChildren {
17
17
  onClickThumb?: () => void;
18
18
  onClose?(): void;
19
19
  }
20
- declare const FileViewer: ({ src, srcThumb, fileName, children, width, height, sx, widthLightbox, heightLightbox, sxLightbox, disableLightbox, disableThumb, open, onClose, onClickThumb, variant, }: FileViewerPros) => import("@emotion/react/jsx-runtime").JSX.Element;
20
+ declare const FileViewer: ({ src, srcThumb, fileName, children, sx, widthLightbox, heightLightbox, sxLightbox, disableLightbox, disableThumb, open, onClose, onClickThumb, variant, height, width, }: FileViewerPros) => import("@emotion/react/jsx-runtime").JSX.Element;
21
21
  export default FileViewer;
@@ -2,5 +2,5 @@
2
2
  * Get background image elevation
3
3
  * @param elevation
4
4
  */
5
- declare const getBackgroundImageElevation: (elevation: number) => string;
5
+ export declare const getBackgroundImageElevation: (elevation: number) => string;
6
6
  export default getBackgroundImageElevation;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Check if a given URL is a document type.
3
+ * @param url
4
+ */
5
+ export declare const isDocumentType: (url?: string | null) => boolean;
6
+ export default isDocumentType;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Check if a given URL is valid
3
+ * @param url
4
+ */
5
+ export declare const isValidUrl: (url?: string | null) => boolean;
6
+ export default isValidUrl;
@@ -4,5 +4,5 @@
4
4
  * @param htmlFontSize
5
5
  * @param fontSize
6
6
  */
7
- declare const pxToRem: (size: number, htmlFontSize?: number, fontSize?: number) => string;
7
+ export declare const pxToRem: (size: number, htmlFontSize?: number, fontSize?: number) => string;
8
8
  export default pxToRem;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tracktor/design-system",
3
3
  "description": "Tracktor Design System",
4
4
  "sideEffects": false,
5
- "version": "3.12.1",
5
+ "version": "3.13.0",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",
@@ -1,7 +0,0 @@
1
- interface SheetIconProps {
2
- color?: string;
3
- height?: string | number;
4
- width?: string | number;
5
- }
6
- declare const SheetIcon: ({ height, width, color }: SheetIconProps) => import("@emotion/react/jsx-runtime").JSX.Element;
7
- export default SheetIcon;