art-bd-ui 1.0.26 → 1.0.27
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/cjs/components/ui/pdf-content/pdf-content.js +2 -2
- package/dist/cjs/components/ui/pdf-viewer/pdf-viewer.js +1 -0
- package/dist/cjs/components/ui/pdf-viewer/use-filled-pdf.js +1 -0
- package/dist/cjs/components/ui/pdf-viewer/utils.js +1 -0
- package/dist/esm/components/ui/pdf-content/pdf-content.js +2 -2
- package/dist/esm/components/ui/pdf-viewer/pdf-viewer.js +1 -0
- package/dist/esm/components/ui/pdf-viewer/use-filled-pdf.js +1 -0
- package/dist/esm/components/ui/pdf-viewer/utils.js +1 -0
- package/dist/types/index.d.ts +12 -12
- package/package.json +1 -1
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
require('../../../node_modules/react-pdf/dist/index.js');
|
|
6
|
-
require('../../../node_modules/react-pdf/dist/Page/AnnotationLayer.css.js');
|
|
7
|
-
require('../../../node_modules/react-pdf/dist/Page/TextLayer.css.js');
|
|
8
6
|
var pdfPage = require('./pdf-page.js');
|
|
9
7
|
var usePdfScale = require('./hooks/use-pdf-scale.js');
|
|
10
8
|
var usePageLayout = require('./hooks/use-page-layout.js');
|
|
@@ -14,6 +12,8 @@ var empty = require('../../utility/empty/empty.js');
|
|
|
14
12
|
var icon = require('../../media/icon/icon.js');
|
|
15
13
|
var skeleton = require('../../utility/skeleton/skeleton.js');
|
|
16
14
|
var useResizeObserver = require('../../../hooks/use-resize-observer.js');
|
|
15
|
+
require('../../../node_modules/react-pdf/dist/Page/AnnotationLayer.css.js');
|
|
16
|
+
require('../../../node_modules/react-pdf/dist/Page/TextLayer.css.js');
|
|
17
17
|
var Document = require('../../../node_modules/react-pdf/dist/Document.js');
|
|
18
18
|
var pdf = require('../../../node_modules/pdfjs-dist/build/pdf.js');
|
|
19
19
|
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { forwardRef, useRef, useState, useEffect, useCallback, useImperativeHandle } from 'react';
|
|
3
3
|
import '../../../node_modules/react-pdf/dist/index.js';
|
|
4
|
-
import '../../../node_modules/react-pdf/dist/Page/AnnotationLayer.css.js';
|
|
5
|
-
import '../../../node_modules/react-pdf/dist/Page/TextLayer.css.js';
|
|
6
4
|
import { PDFPage } from './pdf-page.js';
|
|
7
5
|
import { usePdfScale } from './hooks/use-pdf-scale.js';
|
|
8
6
|
import { usePageLayout } from './hooks/use-page-layout.js';
|
|
@@ -12,6 +10,8 @@ import { EmptyState, EmptyMedia, EmptyHeader, EmptyTitle, EmptyDescription } fro
|
|
|
12
10
|
import { Icon } from '../../media/icon/icon.js';
|
|
13
11
|
import { Skeleton } from '../../utility/skeleton/skeleton.js';
|
|
14
12
|
import { useResizeObserver } from '../../../hooks/use-resize-observer.js';
|
|
13
|
+
import '../../../node_modules/react-pdf/dist/Page/AnnotationLayer.css.js';
|
|
14
|
+
import '../../../node_modules/react-pdf/dist/Page/TextLayer.css.js';
|
|
15
15
|
import Document from '../../../node_modules/react-pdf/dist/Document.js';
|
|
16
16
|
import { GlobalWorkerOptions } from '../../../node_modules/pdfjs-dist/build/pdf.js';
|
|
17
17
|
|
package/dist/types/index.d.ts
CHANGED
|
@@ -203,7 +203,7 @@ type TooltipProps = ComponentProps<typeof Root$1> & ComponentProps<typeof Provid
|
|
|
203
203
|
declare const Tooltip: FC<TooltipProps>;
|
|
204
204
|
|
|
205
205
|
declare const iconButtonVariants: (props?: ({
|
|
206
|
-
radius?: "
|
|
206
|
+
radius?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
207
207
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
208
208
|
type IconButtonProps = Omit<ButtonProps, "leftIcon" | "rightIcon" | "size"> & Pick<TooltipProps, "delayDuration"> & VariantProps<typeof iconButtonVariants> & {
|
|
209
209
|
icon: IconProps$1["name"];
|
|
@@ -609,7 +609,7 @@ declare const SheetTrigger: FC<SheetTriggerProps>;
|
|
|
609
609
|
type SheetCloseProps = ComponentProps<typeof Close>;
|
|
610
610
|
declare const SheetClose: FC<SheetCloseProps>;
|
|
611
611
|
declare const contentVariants: (props?: ({
|
|
612
|
-
side?: "
|
|
612
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
613
613
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
614
614
|
type SheetContentProps = ComponentProps<typeof Content$2> & VariantProps<typeof contentVariants>;
|
|
615
615
|
declare const SheetContent: FC<SheetContentProps>;
|
|
@@ -636,9 +636,9 @@ declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<_radix_ui
|
|
|
636
636
|
type ToastActionElement = ReactElement<typeof ToastAction>;
|
|
637
637
|
|
|
638
638
|
declare const textVariants: (props?: ({
|
|
639
|
-
size?:
|
|
639
|
+
size?: 2 | 1 | 3 | 9 | 8 | 7 | 6 | 5 | 4 | null | undefined;
|
|
640
640
|
weight?: "bold" | "medium" | "light" | "regular" | null | undefined;
|
|
641
|
-
align?: "center" | "
|
|
641
|
+
align?: "center" | "right" | "left" | null | undefined;
|
|
642
642
|
color?: "default" | "destructive" | "secondary" | "muted" | "primary" | "accent" | null | undefined;
|
|
643
643
|
truncate?: boolean | null | undefined;
|
|
644
644
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -648,9 +648,9 @@ type TextProps = {
|
|
|
648
648
|
declare const Text: React$1.ForwardRefExoticComponent<{
|
|
649
649
|
asChild?: boolean;
|
|
650
650
|
} & Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
|
|
651
|
-
size?:
|
|
651
|
+
size?: 2 | 1 | 3 | 9 | 8 | 7 | 6 | 5 | 4 | null | undefined;
|
|
652
652
|
weight?: "bold" | "medium" | "light" | "regular" | null | undefined;
|
|
653
|
-
align?: "center" | "
|
|
653
|
+
align?: "center" | "right" | "left" | null | undefined;
|
|
654
654
|
color?: "default" | "destructive" | "secondary" | "muted" | "primary" | "accent" | null | undefined;
|
|
655
655
|
truncate?: boolean | null | undefined;
|
|
656
656
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
@@ -660,9 +660,9 @@ declare const Heading: React$1.ForwardRefExoticComponent<{
|
|
|
660
660
|
level?: HeadingLevel;
|
|
661
661
|
asChild?: boolean;
|
|
662
662
|
} & Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & VariantProps<(props?: ({
|
|
663
|
-
size?:
|
|
663
|
+
size?: 2 | 1 | 3 | 9 | 8 | 7 | 6 | 5 | 4 | null | undefined;
|
|
664
664
|
weight?: "bold" | "medium" | "light" | "regular" | null | undefined;
|
|
665
|
-
align?: "center" | "
|
|
665
|
+
align?: "center" | "right" | "left" | null | undefined;
|
|
666
666
|
color?: "default" | "destructive" | "secondary" | "muted" | "primary" | "accent" | null | undefined;
|
|
667
667
|
truncate?: boolean | null | undefined;
|
|
668
668
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -981,8 +981,8 @@ interface DataListValueProps extends ComponentPropsWithoutRef<"dd">, Pick<TextPr
|
|
|
981
981
|
declare const DataListValue: FC<DataListValueProps>;
|
|
982
982
|
|
|
983
983
|
declare const cellVariants$1: (props?: ({
|
|
984
|
-
align?: "center" | "
|
|
985
|
-
sticky?: "
|
|
984
|
+
align?: "center" | "right" | "left" | null | undefined;
|
|
985
|
+
sticky?: "right" | "left" | null | undefined;
|
|
986
986
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
987
987
|
type TableCellProps = ComponentProps<"td"> & VariantProps<typeof cellVariants$1>;
|
|
988
988
|
declare const TableCell: FC<TableCellProps>;
|
|
@@ -994,8 +994,8 @@ type TableRowProps = ComponentProps<"tr"> & VariantProps<typeof rowVariants>;
|
|
|
994
994
|
declare const TableRow: FC<TableRowProps>;
|
|
995
995
|
|
|
996
996
|
declare const cellVariants: (props?: ({
|
|
997
|
-
align?: "center" | "
|
|
998
|
-
sticky?: "
|
|
997
|
+
align?: "center" | "right" | "left" | null | undefined;
|
|
998
|
+
sticky?: "right" | "left" | null | undefined;
|
|
999
999
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1000
1000
|
type TableHeadProps = ComponentProps<"th"> & VariantProps<typeof cellVariants>;
|
|
1001
1001
|
declare const TableHead: FC<TableHeadProps>;
|