kdpa-components 1.58.7 → 1.58.8
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/index.js +2 -2
- package/dist/types/designerKit/components/FileViewer/KdFileViewer.d.ts +2 -1
- package/dist/types/designerKit/components/FileViewer/KdFileViewer.d.ts.map +1 -1
- package/dist/types/designerKit/components/FileViewer/KdFileViewer.stories.d.ts +7 -0
- package/dist/types/designerKit/components/FileViewer/KdFileViewer.stories.d.ts.map +1 -0
- package/dist/types/designerKit/utils/sharedUtils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export interface KdFileViewerProps {
|
|
2
2
|
src: string;
|
|
3
|
+
srcType: "asset" | "external_url" | "internal_url";
|
|
3
4
|
modal?: boolean;
|
|
4
5
|
extention?: string;
|
|
5
6
|
basePath?: {
|
|
@@ -11,6 +12,6 @@ export interface KdFileViewerProps {
|
|
|
11
12
|
};
|
|
12
13
|
[x: string]: any;
|
|
13
14
|
}
|
|
14
|
-
declare function KdFileViewer({ src, modal, basePath, pathProp, ...props }: KdFileViewerProps): import("react/jsx-runtime").JSX.Element | undefined;
|
|
15
|
+
declare function KdFileViewer({ src, srcType, modal, basePath, pathProp, ...props }: KdFileViewerProps): import("react/jsx-runtime").JSX.Element | undefined;
|
|
15
16
|
export default KdFileViewer;
|
|
16
17
|
//# sourceMappingURL=KdFileViewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdFileViewer.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/FileViewer/KdFileViewer.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE;QACT,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;KAC5B,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAgBD,iBAAS,YAAY,CAAC,EACpB,GAAG,EACH,KAAa,EACb,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"KdFileViewer.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/FileViewer/KdFileViewer.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,OAAO,GAAG,cAAc,GAAG,cAAc,CAAC;IACnD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE;QACT,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;KAC5B,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAgBD,iBAAS,YAAY,CAAC,EACpB,GAAG,EACH,OAAwB,EACxB,KAAa,EACb,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,uDAyGnB;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import KdFileViewer from "./KdFileViewer";
|
|
3
|
+
declare const meta: Meta<typeof KdFileViewer>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof KdFileViewer>;
|
|
6
|
+
export declare const Normal: Story;
|
|
7
|
+
//# sourceMappingURL=KdFileViewer.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdFileViewer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/FileViewer/KdFileViewer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAGnC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3C,eAAO,MAAM,MAAM,EAAE,KAWpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedUtils.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/sharedUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;CAqCzB,CAAC;AAEF,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;;;EAW5D;AAED,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAAE,EACpB,SAAS,CAAC,EAAE,MAAM,gBA0BnB;AAED,UAAU,cAAc;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB,GAC7B,aAAa,cAAc,EAAE,EAC7B,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,EACjC,YAAY,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,SA4BpC,CAAC;AAEF,eAAO,MAAM,WAAW;;CAEvB,CAAC;AACF,eAAO,MAAM,QAAQ;;;;;;;;CAQpB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,EAAE,KAAK,MAAM,
|
|
1
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