art-bd-ui 1.0.27 → 1.0.29

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.
Files changed (74) hide show
  1. package/dist/cjs/_virtual/index5.js +8 -2
  2. package/dist/cjs/_virtual/index6.js +4 -4
  3. package/dist/cjs/_virtual/index7.js +2 -8
  4. package/dist/cjs/components/ui/pdf-content/pdf-content.js +5 -4
  5. package/dist/cjs/components/ui/pdf-viewer/pdf-field-types.js +2 -2
  6. package/dist/cjs/components/ui/pdf-viewer/use-filled-pdf.js +4 -6
  7. package/dist/cjs/components/ui/pdf-viewer/utils.js +0 -2
  8. package/dist/cjs/index.js +4 -5
  9. package/dist/cjs/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +1 -1
  10. package/dist/cjs/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +1 -1
  11. package/dist/cjs/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +1 -1
  12. package/dist/cjs/node_modules/color-parse/index.js +1 -1
  13. package/dist/cjs/node_modules/prop-types/index.js +1 -1
  14. package/dist/esm/_virtual/index5.js +6 -2
  15. package/dist/esm/_virtual/index6.js +4 -4
  16. package/dist/esm/_virtual/index7.js +2 -6
  17. package/dist/esm/components/ui/pdf-content/pdf-content.js +3 -2
  18. package/dist/esm/components/ui/pdf-viewer/pdf-field-types.js +2 -2
  19. package/dist/esm/components/ui/pdf-viewer/use-filled-pdf.js +4 -6
  20. package/dist/esm/components/ui/pdf-viewer/utils.js +1 -2
  21. package/dist/esm/index.js +2 -2
  22. package/dist/esm/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +1 -1
  23. package/dist/esm/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +1 -1
  24. package/dist/esm/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +1 -1
  25. package/dist/esm/node_modules/color-parse/index.js +1 -1
  26. package/dist/esm/node_modules/prop-types/index.js +1 -1
  27. package/dist/types/index.d.ts +22 -27
  28. package/package.json +1 -1
  29. package/dist/cjs/_virtual/pdf.worker.js +0 -7
  30. package/dist/cjs/components/ui/pdf-viewer/pdf-worker-client.js +0 -24
  31. package/dist/cjs/components/ui/pdf-viewer/pdf.worker.js +0 -25
  32. package/dist/cjs/components/ui/rich-editor/extensions/code-block-lowlight.js +0 -169
  33. package/dist/cjs/components/ui/rich-editor/views/code-block-node-view.js +0 -113
  34. package/dist/cjs/node_modules/@tiptap/extension-code-block/dist/index.js +0 -325
  35. package/dist/cjs/node_modules/@tiptap/extension-code-block-lowlight/dist/index.js +0 -152
  36. package/dist/cjs/node_modules/comlink/dist/esm/comlink.js +0 -360
  37. package/dist/cjs/node_modules/prettier/doc.js +0 -1172
  38. package/dist/cjs/node_modules/prettier/index.js +0 -22001
  39. package/dist/cjs/node_modules/prettier/plugins/acorn.js +0 -22
  40. package/dist/cjs/node_modules/prettier/plugins/angular.js +0 -8
  41. package/dist/cjs/node_modules/prettier/plugins/babel.js +0 -22
  42. package/dist/cjs/node_modules/prettier/plugins/estree.js +0 -45
  43. package/dist/cjs/node_modules/prettier/plugins/flow.js +0 -26
  44. package/dist/cjs/node_modules/prettier/plugins/glimmer.js +0 -39
  45. package/dist/cjs/node_modules/prettier/plugins/graphql.js +0 -39
  46. package/dist/cjs/node_modules/prettier/plugins/html.js +0 -32
  47. package/dist/cjs/node_modules/prettier/plugins/markdown.js +0 -73
  48. package/dist/cjs/node_modules/prettier/plugins/meriyah.js +0 -11
  49. package/dist/cjs/node_modules/prettier/plugins/postcss.js +0 -64
  50. package/dist/cjs/node_modules/prettier/plugins/typescript.js +0 -27
  51. package/dist/cjs/node_modules/prettier/plugins/yaml.js +0 -171
  52. package/dist/esm/_virtual/pdf.worker.js +0 -3
  53. package/dist/esm/components/ui/pdf-viewer/pdf-worker-client.js +0 -21
  54. package/dist/esm/components/ui/pdf-viewer/pdf.worker.js +0 -23
  55. package/dist/esm/components/ui/rich-editor/extensions/code-block-lowlight.js +0 -167
  56. package/dist/esm/components/ui/rich-editor/views/code-block-node-view.js +0 -92
  57. package/dist/esm/node_modules/@tiptap/extension-code-block/dist/index.js +0 -318
  58. package/dist/esm/node_modules/@tiptap/extension-code-block-lowlight/dist/index.js +0 -147
  59. package/dist/esm/node_modules/comlink/dist/esm/comlink.js +0 -350
  60. package/dist/esm/node_modules/prettier/doc.js +0 -1165
  61. package/dist/esm/node_modules/prettier/index.js +0 -21968
  62. package/dist/esm/node_modules/prettier/plugins/acorn.js +0 -17
  63. package/dist/esm/node_modules/prettier/plugins/angular.js +0 -3
  64. package/dist/esm/node_modules/prettier/plugins/babel.js +0 -17
  65. package/dist/esm/node_modules/prettier/plugins/estree.js +0 -38
  66. package/dist/esm/node_modules/prettier/plugins/flow.js +0 -21
  67. package/dist/esm/node_modules/prettier/plugins/glimmer.js +0 -32
  68. package/dist/esm/node_modules/prettier/plugins/graphql.js +0 -31
  69. package/dist/esm/node_modules/prettier/plugins/html.js +0 -24
  70. package/dist/esm/node_modules/prettier/plugins/markdown.js +0 -65
  71. package/dist/esm/node_modules/prettier/plugins/meriyah.js +0 -6
  72. package/dist/esm/node_modules/prettier/plugins/postcss.js +0 -56
  73. package/dist/esm/node_modules/prettier/plugins/typescript.js +0 -22
  74. package/dist/esm/node_modules/prettier/plugins/yaml.js +0 -163
@@ -1,5 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var propTypes = {exports: {}};
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- exports.__module = propTypes;
5
+ var _commonjsHelpers = require('./_commonjsHelpers.js');
6
+ var index = require('../node_modules/color-name/index.js');
7
+
8
+ var colorNameExports = index.__require();
9
+ var names = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(colorNameExports);
10
+
11
+ exports.default = names;
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var index = require('../node_modules/color-name/index.js');
6
+ var index$1 = require('../node_modules/color-convert/index.js');
7
7
 
8
- var colorNameExports = index.__require();
9
- var names = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(colorNameExports);
8
+ var colorConvertExports = index$1.__require();
9
+ var index = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(colorConvertExports);
10
10
 
11
- exports.default = names;
11
+ exports.default = index;
@@ -1,11 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
3
+ var propTypes = {exports: {}};
4
4
 
5
- var _commonjsHelpers = require('./_commonjsHelpers.js');
6
- var index$1 = require('../node_modules/color-convert/index.js');
7
-
8
- var colorConvertExports = index$1.__require();
9
- var index = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(colorConvertExports);
10
-
11
- exports.default = index;
5
+ exports.__module = propTypes;
@@ -7,11 +7,12 @@ var pdfPage = require('./pdf-page.js');
7
7
  var usePdfScale = require('./hooks/use-pdf-scale.js');
8
8
  var usePageLayout = require('./hooks/use-page-layout.js');
9
9
  var useVirtualPages = require('./hooks/use-virtual-pages.js');
10
- var utils = require('./utils.js');
10
+ var utils$1 = require('./utils.js');
11
11
  var empty = require('../../utility/empty/empty.js');
12
12
  var icon = require('../../media/icon/icon.js');
13
13
  var skeleton = require('../../utility/skeleton/skeleton.js');
14
14
  var useResizeObserver = require('../../../hooks/use-resize-observer.js');
15
+ var utils = require('../../../lib/utils.js');
15
16
  require('../../../node_modules/react-pdf/dist/Page/AnnotationLayer.css.js');
16
17
  require('../../../node_modules/react-pdf/dist/Page/TextLayer.css.js');
17
18
  var Document = require('../../../node_modules/react-pdf/dist/Document.js');
@@ -26,7 +27,7 @@ function PDFSkeleton() {
26
27
  function PDFEmptyState({ icon: icon$1, title, description }) {
27
28
  return (jsxRuntime.jsxs(empty.EmptyState, { className: "py-12", children: [jsxRuntime.jsx(empty.EmptyMedia, { variant: "icon", children: jsxRuntime.jsx(icon.Icon, { name: icon$1 }) }), jsxRuntime.jsxs(empty.EmptyHeader, { children: [jsxRuntime.jsx(empty.EmptyTitle, { children: title }), jsxRuntime.jsx(empty.EmptyDescription, { children: description })] })] }));
28
29
  }
29
- const PDFContent = React.forwardRef(function PDFContent({ file, renderTextLayer = true, renderAnnotationLayer = true, initialScale = 1, minScale = 0.5, maxScale = 3, height, onDocumentLoad, onPageChange, onScaleChange, }, ref) {
30
+ const PDFContent = React.forwardRef(function PDFContent({ file, renderTextLayer = true, renderAnnotationLayer = true, initialScale = 1, minScale = 0.5, maxScale = 3, onDocumentLoad, onPageChange, onScaleChange, className, }, ref) {
30
31
  var _a;
31
32
  const containerRef = React.useRef(null);
32
33
  const rect = useResizeObserver.useResizeObserver(containerRef);
@@ -51,7 +52,7 @@ const PDFContent = React.forwardRef(function PDFContent({ file, renderTextLayer
51
52
  // Imperative scrollToPage
52
53
  const scrollToPage = React.useCallback((page) => {
53
54
  var _a;
54
- const safe = utils.clamp(Number.isFinite(page) ? page : 1, 1, Math.max(1, numPages));
55
+ const safe = utils$1.clamp(Number.isFinite(page) ? page : 1, 1, Math.max(1, numPages));
55
56
  const container = containerRef.current;
56
57
  if (!container)
57
58
  return;
@@ -82,7 +83,7 @@ const PDFContent = React.forwardRef(function PDFContent({ file, renderTextLayer
82
83
  setNumPages(pdf.numPages);
83
84
  onDocumentLoad === null || onDocumentLoad === void 0 ? void 0 : onDocumentLoad(pdf.numPages);
84
85
  }, [onDocumentLoad]);
85
- return (jsxRuntime.jsx("div", { ref: containerRef, "data-pdf-stage": "root", className: "relative overflow-auto bg-muted/40", style: { height }, onScroll: onScroll, children: jsxRuntime.jsx(Document.default, { file: file, onLoadSuccess: handleDocumentLoad, loading: jsxRuntime.jsx(PDFSkeleton, {}), error: jsxRuntime.jsx(PDFEmptyState, { icon: "alert-circle", title: "Failed to load PDF", description: "The PDF file could not be loaded." }), noData: jsxRuntime.jsx(PDFEmptyState, { icon: "file-text", title: "No PDF to display", description: "Provide a PDF file to preview it here." }), children: jsxRuntime.jsx("div", { className: "relative", style: { height: totalHeight }, children: renderedPages.map((pageNumber) => {
86
+ return (jsxRuntime.jsx("div", { ref: containerRef, "data-pdf-stage": "root", className: utils.cn("relative overflow-auto bg-muted/40", className), onScroll: onScroll, children: jsxRuntime.jsx(Document.default, { file: file, onLoadSuccess: handleDocumentLoad, loading: jsxRuntime.jsx(PDFSkeleton, {}), error: jsxRuntime.jsx(PDFEmptyState, { icon: "alert-circle", title: "Failed to load PDF", description: "The PDF file could not be loaded." }), noData: jsxRuntime.jsx(PDFEmptyState, { icon: "file-text", title: "No PDF to display", description: "Provide a PDF file to preview it here." }), children: jsxRuntime.jsx("div", { className: "relative", style: { height: totalHeight }, children: renderedPages.map((pageNumber) => {
86
87
  var _a;
87
88
  return (jsxRuntime.jsx(pdfPage.PDFPage, { pageNumber: pageNumber, offsetY: (_a = pageOffsets[pageNumber - 1]) !== null && _a !== void 0 ? _a : 0, containerWidth: containerWidth, scale: scale, renderTextLayer: renderTextLayer, renderAnnotationLayer: renderAnnotationLayer, placeholderHeight: estimatePageHeight(pageNumber), onMeasured: onPageMeasured }, pageNumber));
88
89
  }) }) }) }));
@@ -135,10 +135,10 @@ function getPDFFieldInfo(field) {
135
135
  /**
136
136
  * Returns field name plus type and options. Convenient for building UI from PDF form fields.
137
137
  */
138
- function getPdfFieldInfoWithName(field) {
138
+ function getPDFFieldInfoWithName(field) {
139
139
  return Object.assign({ name: field.getName() }, getPDFFieldInfo(field));
140
140
  }
141
141
 
142
142
  exports.getPDFFieldInfo = getPDFFieldInfo;
143
+ exports.getPDFFieldInfoWithName = getPDFFieldInfoWithName;
143
144
  exports.getPDFFieldType = getPDFFieldType;
144
- exports.getPdfFieldInfoWithName = getPdfFieldInfoWithName;
@@ -3,16 +3,14 @@
3
3
 
4
4
  var tslib_es6 = require('../../../node_modules/tslib/tslib.es6.js');
5
5
  var React = require('react');
6
- var comlink = require('../../../node_modules/comlink/dist/esm/comlink.js');
7
6
  var utils = require('./utils.js');
8
- var pdfWorkerClient = require('./pdf-worker-client.js');
9
7
 
10
8
  function fillPdfBytes(input) {
11
9
  return tslib_es6.__awaiter(this, void 0, void 0, function* () {
12
- const api = pdfWorkerClient.getPDFWorkerApi();
13
- if (api) {
14
- return api.fillPDFFormWithData(comlink.transfer(input, [input.pdfBytes.buffer]));
15
- }
10
+ // const api = getPDFWorkerApi();
11
+ // if (api) {
12
+ // return api.fillPDFFormWithData(transfer(input, [input.pdfBytes.buffer]));
13
+ // }
16
14
  return utils.fillPDFForm({
17
15
  pdfBytes: input.pdfBytes,
18
16
  formData: input.formData,
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  'use strict';
3
2
 
4
3
  var tslib_es6 = require('../../../node_modules/tslib/tslib.es6.js');
@@ -282,4 +281,3 @@ function fillPDFForm(_a) {
282
281
 
283
282
  exports.fillPDFForm = fillPDFForm;
284
283
  exports.getPDFBytes = getPDFBytes;
285
- exports.getSignatureFieldPlacement = getSignatureFieldPlacement;
package/dist/cjs/index.js CHANGED
@@ -372,11 +372,10 @@ exports.PaginationNext = pagination.PaginationNext;
372
372
  exports.PaginationPrevious = pagination.PaginationPrevious;
373
373
  exports.PDFContent = pdfContent.PDFContent;
374
374
  exports.PDFViewer = pdfViewer.PDFViewer;
375
- exports.getPdfFieldInfo = pdfFieldTypes.getPDFFieldInfo;
376
- exports.getPdfFieldInfoWithName = pdfFieldTypes.getPdfFieldInfoWithName;
377
- exports.getPdfFieldType = pdfFieldTypes.getPDFFieldType;
378
- exports.getPdfBytes = utils$1.getPDFBytes;
379
- exports.getSignatureFieldPlacement = utils$1.getSignatureFieldPlacement;
375
+ exports.getPDFFieldInfo = pdfFieldTypes.getPDFFieldInfo;
376
+ exports.getPDFFieldInfoWithName = pdfFieldTypes.getPDFFieldInfoWithName;
377
+ exports.getPDFFieldType = pdfFieldTypes.getPDFFieldType;
378
+ exports.getPDFBytes = utils$1.getPDFBytes;
380
379
  exports.useFilledPdf = useFilledPdf.useFilledPdf;
381
380
  exports.PollBuilder = pollBuilder.PollBuilder;
382
381
  exports.Progress = progress.Progress;
@@ -2,8 +2,8 @@
2
2
 
3
3
  require('../../ckeditor5-core/dist/index.js');
4
4
  var index = require('../../ckeditor5-utils/dist/index.js');
5
+ require('../../../../_virtual/index5.js');
5
6
  require('../../../../_virtual/index6.js');
6
- require('../../../../_virtual/index7.js');
7
7
  require('../../ckeditor5-engine/dist/index.js');
8
8
 
9
9
  /**
@@ -2,8 +2,8 @@
2
2
 
3
3
  var index = require('../../ckeditor5-core/dist/index.js');
4
4
  var index$1 = require('../../ckeditor5-utils/dist/index.js');
5
+ require('../../../../_virtual/index5.js');
5
6
  require('../../../../_virtual/index6.js');
6
- require('../../../../_virtual/index7.js');
7
7
  require('../../ckeditor5-engine/dist/index.js');
8
8
 
9
9
  /**
@@ -3,7 +3,7 @@
3
3
  var index$1 = require('../../ckeditor5-utils/dist/index.js');
4
4
  var index = require('../../ckeditor5-core/dist/index.js');
5
5
  var index$3 = require('../../../color-parse/index.js');
6
- var index$2 = require('../../../../_virtual/index7.js');
6
+ var index$2 = require('../../../../_virtual/index6.js');
7
7
  var hex = require('../../../vanilla-colorful/lib/entrypoints/hex.js');
8
8
  require('../../ckeditor5-engine/dist/index.js');
9
9
  var assignIn = require('../../../lodash-es/assignIn.js');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('../../_virtual/index6.js');
5
+ var index = require('../../_virtual/index5.js');
6
6
 
7
7
  /**
8
8
  * @module color-parse
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index$1 = require('../../_virtual/index5.js');
3
+ var index$1 = require('../../_virtual/index7.js');
4
4
  var index = require('./node_modules/react-is/index.js');
5
5
  var factoryWithTypeCheckers = require('./factoryWithTypeCheckers.js');
6
6
  var factoryWithThrowingShims = require('./factoryWithThrowingShims.js');
@@ -1,3 +1,7 @@
1
- var propTypes = {exports: {}};
1
+ import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
2
+ import { __require as requireColorName } from '../node_modules/color-name/index.js';
2
3
 
3
- export { propTypes as __module };
4
+ var colorNameExports = requireColorName();
5
+ var names = /*@__PURE__*/getDefaultExportFromCjs(colorNameExports);
6
+
7
+ export { names as default };
@@ -1,7 +1,7 @@
1
1
  import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
2
- import { __require as requireColorName } from '../node_modules/color-name/index.js';
2
+ import { __require as requireColorConvert } from '../node_modules/color-convert/index.js';
3
3
 
4
- var colorNameExports = requireColorName();
5
- var names = /*@__PURE__*/getDefaultExportFromCjs(colorNameExports);
4
+ var colorConvertExports = requireColorConvert();
5
+ var index = /*@__PURE__*/getDefaultExportFromCjs(colorConvertExports);
6
6
 
7
- export { names as default };
7
+ export { index as default };
@@ -1,7 +1,3 @@
1
- import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
2
- import { __require as requireColorConvert } from '../node_modules/color-convert/index.js';
1
+ var propTypes = {exports: {}};
3
2
 
4
- var colorConvertExports = requireColorConvert();
5
- var index = /*@__PURE__*/getDefaultExportFromCjs(colorConvertExports);
6
-
7
- export { index as default };
3
+ export { propTypes as __module };
@@ -10,6 +10,7 @@ import { EmptyState, EmptyMedia, EmptyHeader, EmptyTitle, EmptyDescription } fro
10
10
  import { Icon } from '../../media/icon/icon.js';
11
11
  import { Skeleton } from '../../utility/skeleton/skeleton.js';
12
12
  import { useResizeObserver } from '../../../hooks/use-resize-observer.js';
13
+ import { cn } from '../../../lib/utils.js';
13
14
  import '../../../node_modules/react-pdf/dist/Page/AnnotationLayer.css.js';
14
15
  import '../../../node_modules/react-pdf/dist/Page/TextLayer.css.js';
15
16
  import Document from '../../../node_modules/react-pdf/dist/Document.js';
@@ -23,7 +24,7 @@ function PDFSkeleton() {
23
24
  function PDFEmptyState({ icon, title, description }) {
24
25
  return (jsxs(EmptyState, { className: "py-12", children: [jsx(EmptyMedia, { variant: "icon", children: jsx(Icon, { name: icon }) }), jsxs(EmptyHeader, { children: [jsx(EmptyTitle, { children: title }), jsx(EmptyDescription, { children: description })] })] }));
25
26
  }
26
- const PDFContent = forwardRef(function PDFContent({ file, renderTextLayer = true, renderAnnotationLayer = true, initialScale = 1, minScale = 0.5, maxScale = 3, height, onDocumentLoad, onPageChange, onScaleChange, }, ref) {
27
+ const PDFContent = forwardRef(function PDFContent({ file, renderTextLayer = true, renderAnnotationLayer = true, initialScale = 1, minScale = 0.5, maxScale = 3, onDocumentLoad, onPageChange, onScaleChange, className, }, ref) {
27
28
  var _a;
28
29
  const containerRef = useRef(null);
29
30
  const rect = useResizeObserver(containerRef);
@@ -79,7 +80,7 @@ const PDFContent = forwardRef(function PDFContent({ file, renderTextLayer = true
79
80
  setNumPages(pdf.numPages);
80
81
  onDocumentLoad === null || onDocumentLoad === void 0 ? void 0 : onDocumentLoad(pdf.numPages);
81
82
  }, [onDocumentLoad]);
82
- return (jsx("div", { ref: containerRef, "data-pdf-stage": "root", className: "relative overflow-auto bg-muted/40", style: { height }, onScroll: onScroll, children: jsx(Document, { file: file, onLoadSuccess: handleDocumentLoad, loading: jsx(PDFSkeleton, {}), error: jsx(PDFEmptyState, { icon: "alert-circle", title: "Failed to load PDF", description: "The PDF file could not be loaded." }), noData: jsx(PDFEmptyState, { icon: "file-text", title: "No PDF to display", description: "Provide a PDF file to preview it here." }), children: jsx("div", { className: "relative", style: { height: totalHeight }, children: renderedPages.map((pageNumber) => {
83
+ return (jsx("div", { ref: containerRef, "data-pdf-stage": "root", className: cn("relative overflow-auto bg-muted/40", className), onScroll: onScroll, children: jsx(Document, { file: file, onLoadSuccess: handleDocumentLoad, loading: jsx(PDFSkeleton, {}), error: jsx(PDFEmptyState, { icon: "alert-circle", title: "Failed to load PDF", description: "The PDF file could not be loaded." }), noData: jsx(PDFEmptyState, { icon: "file-text", title: "No PDF to display", description: "Provide a PDF file to preview it here." }), children: jsx("div", { className: "relative", style: { height: totalHeight }, children: renderedPages.map((pageNumber) => {
83
84
  var _a;
84
85
  return (jsx(PDFPage, { pageNumber: pageNumber, offsetY: (_a = pageOffsets[pageNumber - 1]) !== null && _a !== void 0 ? _a : 0, containerWidth: containerWidth, scale: scale, renderTextLayer: renderTextLayer, renderAnnotationLayer: renderAnnotationLayer, placeholderHeight: estimatePageHeight(pageNumber), onMeasured: onPageMeasured }, pageNumber));
85
86
  }) }) }) }));
@@ -133,8 +133,8 @@ function getPDFFieldInfo(field) {
133
133
  /**
134
134
  * Returns field name plus type and options. Convenient for building UI from PDF form fields.
135
135
  */
136
- function getPdfFieldInfoWithName(field) {
136
+ function getPDFFieldInfoWithName(field) {
137
137
  return Object.assign({ name: field.getName() }, getPDFFieldInfo(field));
138
138
  }
139
139
 
140
- export { getPDFFieldInfo, getPDFFieldType, getPdfFieldInfoWithName };
140
+ export { getPDFFieldInfo, getPDFFieldInfoWithName, getPDFFieldType };
@@ -1,16 +1,14 @@
1
1
  "use client";
2
2
  import { __awaiter } from '../../../node_modules/tslib/tslib.es6.js';
3
3
  import { useState, useEffect, useMemo } from 'react';
4
- import { transfer } from '../../../node_modules/comlink/dist/esm/comlink.js';
5
4
  import { getPDFBytes, fillPDFForm } from './utils.js';
6
- import { getPDFWorkerApi } from './pdf-worker-client.js';
7
5
 
8
6
  function fillPdfBytes(input) {
9
7
  return __awaiter(this, void 0, void 0, function* () {
10
- const api = getPDFWorkerApi();
11
- if (api) {
12
- return api.fillPDFFormWithData(transfer(input, [input.pdfBytes.buffer]));
13
- }
8
+ // const api = getPDFWorkerApi();
9
+ // if (api) {
10
+ // return api.fillPDFFormWithData(transfer(input, [input.pdfBytes.buffer]));
11
+ // }
14
12
  return fillPDFForm({
15
13
  pdfBytes: input.pdfBytes,
16
14
  formData: input.formData,
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { __awaiter } from '../../../node_modules/tslib/tslib.es6.js';
3
2
  import '../../../node_modules/pdf-lib/es/api/colors.js';
4
3
  import '../../../node_modules/pdf-lib/es/api/operators.js';
@@ -278,4 +277,4 @@ function fillPDFForm(_a) {
278
277
  });
279
278
  }
280
279
 
281
- export { fillPDFForm, getPDFBytes, getSignatureFieldPlacement };
280
+ export { fillPDFForm, getPDFBytes };
package/dist/esm/index.js CHANGED
@@ -65,8 +65,8 @@ export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, Navigat
65
65
  export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from './components/ui/pagination/pagination.js';
66
66
  export { PDFContent } from './components/ui/pdf-content/pdf-content.js';
67
67
  export { PDFViewer } from './components/ui/pdf-viewer/pdf-viewer.js';
68
- export { getPDFFieldInfo as getPdfFieldInfo, getPdfFieldInfoWithName, getPDFFieldType as getPdfFieldType } from './components/ui/pdf-viewer/pdf-field-types.js';
69
- export { getPDFBytes as getPdfBytes, getSignatureFieldPlacement } from './components/ui/pdf-viewer/utils.js';
68
+ export { getPDFFieldInfo, getPDFFieldInfoWithName, getPDFFieldType } from './components/ui/pdf-viewer/pdf-field-types.js';
69
+ export { getPDFBytes } from './components/ui/pdf-viewer/utils.js';
70
70
  export { useFilledPdf } from './components/ui/pdf-viewer/use-filled-pdf.js';
71
71
  export { PollBuilder } from './components/ui/poll-builder/poll-builder.js';
72
72
  export { Progress } from './components/ui/progress/progress.js';
@@ -1,7 +1,7 @@
1
1
  import '../../ckeditor5-core/dist/index.js';
2
2
  import { keyCodes } from '../../ckeditor5-utils/dist/index.js';
3
+ import '../../../../_virtual/index5.js';
3
4
  import '../../../../_virtual/index6.js';
4
- import '../../../../_virtual/index7.js';
5
5
  import '../../ckeditor5-engine/dist/index.js';
6
6
 
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  import { Plugin, Command } from '../../ckeditor5-core/dist/index.js';
2
2
  import { first } from '../../ckeditor5-utils/dist/index.js';
3
+ import '../../../../_virtual/index5.js';
3
4
  import '../../../../_virtual/index6.js';
4
- import '../../../../_virtual/index7.js';
5
5
  import '../../ckeditor5-engine/dist/index.js';
6
6
 
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  import { getEnvKeystrokeText, uid, env, delay, createElement, KeystrokeHandler, FocusTracker, toUnit, global, Rect, DomEmitterMixin, ObservableMixin, Collection, isIterable, CKEditorError, getOptimalPosition, logWarning, isVisible, EmitterMixin, isNode, priorities, isText, ResizeObserver, first, verifyLicense, isRange, toArray } from '../../ckeditor5-utils/dist/index.js';
2
2
  import { Plugin, icons, ContextPlugin } from '../../ckeditor5-core/dist/index.js';
3
3
  import parse from '../../../color-parse/index.js';
4
- import * as index from '../../../../_virtual/index7.js';
4
+ import * as index from '../../../../_virtual/index6.js';
5
5
  import { HexBase } from '../../../vanilla-colorful/lib/entrypoints/hex.js';
6
6
  import '../../ckeditor5-engine/dist/index.js';
7
7
  import assignIn from '../../../lodash-es/assignIn.js';
@@ -1,4 +1,4 @@
1
- import names from '../../_virtual/index6.js';
1
+ import names from '../../_virtual/index5.js';
2
2
 
3
3
  /**
4
4
  * @module color-parse
@@ -1,4 +1,4 @@
1
- import { __module as propTypes } from '../../_virtual/index5.js';
1
+ import { __module as propTypes } from '../../_virtual/index7.js';
2
2
  import { __require as requireReactIs } from './node_modules/react-is/index.js';
3
3
  import { __require as requireFactoryWithTypeCheckers } from './factoryWithTypeCheckers.js';
4
4
  import { __require as requireFactoryWithThrowingShims } from './factoryWithThrowingShims.js';
@@ -37,7 +37,7 @@ import { Root as Root$d, Portal, Trigger as Trigger$4, Content as Content$4, Gro
37
37
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
38
38
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
39
39
  import { DocumentProps, PageProps } from 'react-pdf';
40
- import { PDFField, PDFDocument } from 'pdf-lib';
40
+ import { PDFField } from 'pdf-lib';
41
41
  import { Root as Root$e } from '@radix-ui/react-progress';
42
42
  import { JSONContent } from '@tiptap/core';
43
43
  import * as SliderPrimitive from '@radix-ui/react-slider';
@@ -167,7 +167,7 @@ interface IconProps$1 extends ComponentPropsWithoutRef<typeof DynamicIcon>, Vari
167
167
  declare const Icon: React$1.ForwardRefExoticComponent<IconProps$1 & React$1.RefAttributes<SVGSVGElement>>;
168
168
 
169
169
  declare const buttonVariants: (props?: ({
170
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
170
+ variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
171
171
  size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-md" | "icon-lg" | null | undefined;
172
172
  } & class_variance_authority_types.ClassProp) | undefined) => string;
173
173
  type ButtonProps = ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
@@ -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?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
206
+ radius?: "small" | "none" | "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?: "top" | "right" | "bottom" | "left" | null | undefined;
612
+ side?: "left" | "right" | "top" | "bottom" | 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?: 2 | 1 | 3 | 9 | 8 | 7 | 6 | 5 | 4 | null | undefined;
640
- weight?: "bold" | "medium" | "light" | "regular" | null | undefined;
641
- align?: "center" | "right" | "left" | null | undefined;
639
+ size?: 3 | 2 | 1 | 4 | 5 | 6 | 9 | 8 | 7 | null | undefined;
640
+ weight?: "bold" | "light" | "medium" | "regular" | null | undefined;
641
+ align?: "center" | "left" | "right" | 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?: 2 | 1 | 3 | 9 | 8 | 7 | 6 | 5 | 4 | null | undefined;
652
- weight?: "bold" | "medium" | "light" | "regular" | null | undefined;
653
- align?: "center" | "right" | "left" | null | undefined;
651
+ size?: 3 | 2 | 1 | 4 | 5 | 6 | 9 | 8 | 7 | null | undefined;
652
+ weight?: "bold" | "light" | "medium" | "regular" | null | undefined;
653
+ align?: "center" | "left" | "right" | 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?: 2 | 1 | 3 | 9 | 8 | 7 | 6 | 5 | 4 | null | undefined;
664
- weight?: "bold" | "medium" | "light" | "regular" | null | undefined;
665
- align?: "center" | "right" | "left" | null | undefined;
663
+ size?: 3 | 2 | 1 | 4 | 5 | 6 | 9 | 8 | 7 | null | undefined;
664
+ weight?: "bold" | "light" | "medium" | "regular" | null | undefined;
665
+ align?: "center" | "left" | "right" | 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" | "right" | "left" | null | undefined;
985
- sticky?: "right" | "left" | null | undefined;
984
+ align?: "center" | "left" | "right" | null | undefined;
985
+ sticky?: "left" | "right" | 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" | "right" | "left" | null | undefined;
998
- sticky?: "right" | "left" | null | undefined;
997
+ align?: "center" | "left" | "right" | null | undefined;
998
+ sticky?: "left" | "right" | 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>;
@@ -1235,7 +1235,7 @@ declare function Item({ className, variant, size, asChild, ...props }: React$1.C
1235
1235
  asChild?: boolean;
1236
1236
  }): react_jsx_runtime.JSX.Element;
1237
1237
  declare const itemMediaVariants: (props?: ({
1238
- variant?: "default" | "icon" | "image" | null | undefined;
1238
+ variant?: "default" | "image" | "icon" | null | undefined;
1239
1239
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1240
1240
  declare function ItemMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime.JSX.Element;
1241
1241
  declare function ItemContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
@@ -1330,7 +1330,7 @@ type PDFContentProps = Pick<DocumentProps, "file" | "error"> & Pick<PageProps, "
1330
1330
  initialScale?: number;
1331
1331
  minScale?: number;
1332
1332
  maxScale?: number;
1333
- height: number;
1333
+ className?: string;
1334
1334
  onDocumentLoad?: (numPages: number) => void;
1335
1335
  onPageChange?: (page: number) => void;
1336
1336
  onScaleChange?: (scale: number) => void;
@@ -1339,7 +1339,7 @@ declare const PDFContent: React$1.ForwardRefExoticComponent<Pick<DocumentProps,
1339
1339
  initialScale?: number;
1340
1340
  minScale?: number;
1341
1341
  maxScale?: number;
1342
- height: number;
1342
+ className?: string;
1343
1343
  onDocumentLoad?: (numPages: number) => void;
1344
1344
  onPageChange?: (page: number) => void;
1345
1345
  onScaleChange?: (scale: number) => void;
@@ -1384,7 +1384,7 @@ type PDFFieldInfoWithName = PDFFieldInfo & {
1384
1384
  /**
1385
1385
  * Returns field name plus type and options. Convenient for building UI from PDF form fields.
1386
1386
  */
1387
- declare function getPdfFieldInfoWithName(field: PDFField): PDFFieldInfoWithName;
1387
+ declare function getPDFFieldInfoWithName(field: PDFField): PDFFieldInfoWithName;
1388
1388
 
1389
1389
  type PdfViewerProps = {
1390
1390
  file: DocumentProps["file"];
@@ -1403,11 +1403,6 @@ type PdfViewerProps = {
1403
1403
  };
1404
1404
  declare function PDFViewer({ file, formData, flatten, initialScale, minScale, maxScale, scaleStep, renderTextLayer, renderAnnotationLayer, className, style, height, }: PdfViewerProps): react_jsx_runtime.JSX.Element;
1405
1405
 
1406
- /**
1407
- * Returns the page index and rectangle of a signature field's first widget.
1408
- * Use this to get coords for placing a signature by coords without passing them manually.
1409
- */
1410
- declare function getSignatureFieldPlacement(pdfDoc: PDFDocument, fieldName: string): SignatureFieldPlacement | undefined;
1411
1406
  /**
1412
1407
  * Converts a react-pdf file source (URL, Blob, ArrayBuffer, etc.) into a Uint8Array of PDF bytes.
1413
1408
  * Use this when you need raw PDF bytes (e.g. for filling form data or saving).
@@ -2042,5 +2037,5 @@ declare function forwardRefWithGeneric<TProps, TInstance>(render: (props: TProps
2042
2037
  ref?: Ref<TInstance>;
2043
2038
  }) => ReactElement | null;
2044
2039
 
2045
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, CodeEditor, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, CommandSeparator, CommandShortcut, ConditionBuilder, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_RECT, DataList, DataListItem, DataListLabel, DataListValue, DataTable, DateInput, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileExplorer, FileUpload, Flex, Form, FormControl, FormDescription, FormField, FormFieldControl, FormItem, FormLabel, FormMessage, Grid, Heading, Icon, IconButton, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputNumber, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, JSPlayground, Kbd, KbdGroup, Label, Link, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MonthSelect, MultiSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PDFContent, PDFViewer, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Panel, PollBuilder, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreviewPanel, Progress, QueryComposer, Question, QuizRunner, RadioGroup, RadioGroupItem, ReactPlayground, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichContentPreview, RichContentRenderer, RichEditor, RichTextEditor, RichTextViewer, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SingleSelect, Skeleton, Slider, Spinner, StatusController, Switch, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Terminal, Text, Textarea, TimePicker, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TypeScriptPlayground, WebPlayground, YearSelect, addIf, alertVariants, assignRef, buildPrismaArgs, buildTree, buttonGroupVariants, buttonVariants, cardVariants, chain, cn, findModel, findTreeNode, flattenTree, forwardRefWithGeneric, getBoundingRect, getDepthStyles, getPDFBytes as getPdfBytes, getPDFFieldInfo as getPdfFieldInfo, getPdfFieldInfoWithName, getPDFFieldType as getPdfFieldType, getSignatureFieldPlacement, inputVariants, mergeProps, mergeRefs, navigationMenuTriggerStyle, removeTreeNode, sortByDomNode, toggle, toggleVariants, useConditionBuilderContext, useControlled, useDebounce, useFilledPdf, useFirstMountState, useForkRef, useFormField, useIntersection, useLatest, usePrevious, useRafThrottle, useResizeObserver, useScrollState, useSidebar, useStateRef, useTemporaryValue, useTerminal, useToggle, useUpdateEffect };
2040
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, CodeEditor, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, CommandSeparator, CommandShortcut, ConditionBuilder, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_RECT, DataList, DataListItem, DataListLabel, DataListValue, DataTable, DateInput, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileExplorer, FileUpload, Flex, Form, FormControl, FormDescription, FormField, FormFieldControl, FormItem, FormLabel, FormMessage, Grid, Heading, Icon, IconButton, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputNumber, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, JSPlayground, Kbd, KbdGroup, Label, Link, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MonthSelect, MultiSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PDFContent, PDFViewer, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Panel, PollBuilder, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PreviewPanel, Progress, QueryComposer, Question, QuizRunner, RadioGroup, RadioGroupItem, ReactPlayground, ResizableHandle, ResizablePanel, ResizablePanelGroup, RichContentPreview, RichContentRenderer, RichEditor, RichTextEditor, RichTextViewer, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SingleSelect, Skeleton, Slider, Spinner, StatusController, Switch, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Terminal, Text, Textarea, TimePicker, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TypeScriptPlayground, WebPlayground, YearSelect, addIf, alertVariants, assignRef, buildPrismaArgs, buildTree, buttonGroupVariants, buttonVariants, cardVariants, chain, cn, findModel, findTreeNode, flattenTree, forwardRefWithGeneric, getBoundingRect, getDepthStyles, getPDFBytes, getPDFFieldInfo, getPDFFieldInfoWithName, getPDFFieldType, inputVariants, mergeProps, mergeRefs, navigationMenuTriggerStyle, removeTreeNode, sortByDomNode, toggle, toggleVariants, useConditionBuilderContext, useControlled, useDebounce, useFilledPdf, useFirstMountState, useForkRef, useFormField, useIntersection, useLatest, usePrevious, useRafThrottle, useResizeObserver, useScrollState, useSidebar, useStateRef, useTemporaryValue, useTerminal, useToggle, useUpdateEffect };
2046
2041
  export type { AcceptedAnswerRule, AnyQuestion, BadgeProps, BaseQuestion, BoxProps, ButtonProps, CalendarProps, CardProps, CarouselApi, CheckboxProps, ChoiceOption, CodeLang, CodeTaskQuestion, CodeTestCase, Column, ColumnRenderer, CommandDialogProps, CommandEmptyProps, CommandGroupProps, CommandInputProps, CommandItemProps, CommandListProps, CommandLoadingProps, CommandProps, CommandSeparatorProps, CommandShortcutProps, ComponentOverrides, ConditionBuilderProps, ConditionTree, DataListItemProps, DataListLabelProps, DataListProps, DataListValueProps, DataTableProps, DateInputProps, DateRangePickerProps, DateRangePickerRef, DateTimePickerProps, DateTimePickerRef, DialogProps, DropdownMenuCheckboxItemProps, DropdownMenuContentProps, DropdownMenuGroupProps, DropdownMenuItemProps, DropdownMenuLabelProps, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuSeparatorProps, DropdownMenuShortcutProps, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTriggerProps, DropdownMenuTriggerProps, DropzoneProps, EmptyStateProps, FibAcceptedRule, FibBlank, FibMode, FieldMeta, FileNode, FileUploadFile, FileUploadProps, FillInBlankQuestion, FlattenedTreeNode, FlexProps, FormControlProps, GridProps, IconButtonProps, IconProps$1 as IconProps, InputProps, LabelProps, LinkProps, ListNode, MatchPair, MatchPairsQuestion, MonthSelectProps, MonthSelectRef, MultiChoiceQuestion, OpenAnswerQuestion, PDFContentProps, PDFContentRef, PDFFieldInfo, PDFFieldType, PDFImageSource, PDFFieldInfoWithName as PdfFieldInfoWithName, PdfViewerProps, PopoverAnchorProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, PreviewPanelRef, PreviewStatus, PrismaArgs, ProgressProps, QueryComposerProps, QueryComposerValue, QuestionType, QuizDefinition, QuizSettings, Rect, RelationMeta, RichContentPreviewProps, RichContentRendererProps, RichEditorProps, RichTextEditorProps, RowData, RowId, RowRenderer, SchemaModel, SequenceItem, SequenceQuestion, SignatureField, SignatureFieldPlacement, SingleChoiceQuestion, StatusControllerProps, SwitchProps, TableContainerProps, TableProps, Tech, TerminalAPI, TerminalProps, TextProps, TextareaProps, TimePickerProps, TimePickerRef, ToastActionElement, ToastProps, TooltipContentProps, TooltipProps, TooltipTriggerProps, TreeNode, UploadedImage, UseFilledPdfOptions, UseFilledPdfResult, WebPlaygroundProps, YearSelectProps, YearSelectRef };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "art-bd-ui",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "description": "Set of handy components for React like projects",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",