@modul/mbui 0.0.62-beta-pv-54172-pdf-f1b3e7e3 → 0.0.62-beta-iconfile-8e5881a4

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 (63) hide show
  1. package/dist/Alert/index.js +1 -1
  2. package/dist/AlertDialog/index.js +6 -116
  3. package/dist/Audio/index.js +1 -17
  4. package/dist/Badge/index.js +1 -13
  5. package/dist/BankCardIcon/index.js +1 -2
  6. package/dist/BankCardImage/index.js +1 -2
  7. package/dist/BankLogosRounded/index.js +1 -1
  8. package/dist/Base/Input/index.js +1 -1
  9. package/dist/Base/Links/index.js +1 -1
  10. package/dist/BottomNavigation/index.js +1 -23
  11. package/dist/Button/index.js +1 -71
  12. package/dist/Calendar/index.js +1 -1
  13. package/dist/Carousel/index.js +1 -2
  14. package/dist/Chat/index.js +1 -1
  15. package/dist/Checkbox/index.js +1 -23
  16. package/dist/Chip/Chip.d.ts +1 -1
  17. package/dist/Chip/index.js +1 -1
  18. package/dist/Collapsible/index.js +1 -14
  19. package/dist/Counter/index.js +1 -30
  20. package/dist/CurrencyFlag/index.js +1 -1
  21. package/dist/CurrencySymbol/index.js +1 -1
  22. package/dist/DatePicker/index.js +1 -62
  23. package/dist/DigitKeyPad/index.js +1 -15
  24. package/dist/Drawer/index.js +2 -42
  25. package/dist/DrawerDatePicker/index.js +2 -80
  26. package/dist/FavoritePyments/index.js +1 -12
  27. package/dist/Form/index.js +1 -1
  28. package/dist/Icon/icons/index.js +1 -1
  29. package/dist/Icon/index.js +1 -1
  30. package/dist/IconFile/IconFile.d.ts +7 -0
  31. package/dist/IconFile/index.d.ts +1 -0
  32. package/dist/IconFile/index.js +1 -0
  33. package/dist/Input/index.js +1 -16
  34. package/dist/Input-OTP/Input.d.ts +2 -2
  35. package/dist/Input-OTP/index.js +2 -11
  36. package/dist/Label/index.js +1 -1
  37. package/dist/Loading/index.js +1 -1
  38. package/dist/Logo/index.js +1 -1
  39. package/dist/Navbar/index.js +1 -1
  40. package/dist/Page/index.js +1 -31
  41. package/dist/Popover/index.js +1 -61
  42. package/dist/Progress/index.js +2 -6
  43. package/dist/Radio/index.js +1 -22
  44. package/dist/Select/SelectDrawer/index.js +2 -87
  45. package/dist/Select/components/index.js +1 -17
  46. package/dist/Select/index.js +2 -131
  47. package/dist/Skeleton/index.js +1 -1
  48. package/dist/Slider/index.js +1 -17
  49. package/dist/Swipe2Show/index.js +1 -2
  50. package/dist/Switch/index.js +1 -35
  51. package/dist/Tabs/index.js +1 -42
  52. package/dist/Textarea/Textarea.d.ts +1 -0
  53. package/dist/Textarea/index.js +1 -19
  54. package/dist/Toaster/index.js +2 -2
  55. package/dist/assets/images/icon-file/sprite.svg +1 -0
  56. package/dist/index.d.ts +2 -2
  57. package/dist/index.js +12 -603
  58. package/package.json +1 -2
  59. package/dist/PDFViewer/PDFViewer.d.ts +0 -13
  60. package/dist/PDFViewer/index.css +0 -1
  61. package/dist/PDFViewer/index.d.ts +0 -1
  62. package/dist/PDFViewer/index.js +0 -14
  63. package/dist/index.css +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modul/mbui",
3
- "version": "0.0.62-beta-pv-54172-pdf-f1b3e7e3",
3
+ "version": "0.0.62-beta-iconfile-8e5881a4",
4
4
  "packageManager": "yarn@3.5.1",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -48,7 +48,6 @@
48
48
  "react-hook-form": "7.53.0",
49
49
  "react-imask": "7.6.1",
50
50
  "react-number-format": "^5.4.4",
51
- "react-pdf": "^9.2.1",
52
51
  "react-select": "5.8.0",
53
52
  "react-swipeable": "7.0.1",
54
53
  "sonner": "^1.5.0",
@@ -1,13 +0,0 @@
1
- import { FC } from 'react';
2
- import { Page } from 'react-pdf';
3
- import type { ComponentProps } from 'react';
4
- import 'react-pdf/dist/esm/Page/AnnotationLayer.css';
5
- import 'react-pdf/dist/esm/Page/TextLayer.css';
6
- interface Props extends Omit<ComponentProps<typeof Page>, 'file' | 'width'> {
7
- file: Blob;
8
- className?: string;
9
- documentClassName?: string;
10
- errorText?: string;
11
- }
12
- declare const PDFViewer: FC<Props>;
13
- export { PDFViewer };
@@ -1 +0,0 @@
1
- :root{--react-pdf-annotation-layer:1;--annotation-unfocused-field-background:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="1" height="1"><rect width="100%" height="100%" style="fill:rgba(0,54,255,.13)"/></svg>');--input-focus-border-color:Highlight;--input-focus-outline:1px solid Canvas;--input-unfocused-border-color:transparent;--input-disabled-border-color:transparent;--input-hover-border-color:#000;--link-outline:none}@media screen and (forced-colors:active){:root{--input-focus-border-color:CanvasText;--input-unfocused-border-color:ActiveText;--input-disabled-border-color:GrayText;--input-hover-border-color:Highlight;--link-outline:1.5px solid LinkText}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .textWidgetAnnotation :is(input,textarea):required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{backdrop-filter:invert(100%)}}.annotationLayer{left:0;pointer-events:none;position:absolute;top:0;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translateX(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{height:100%;position:absolute;width:100%}.annotationLayer section{box-sizing:border-box;margin:0;pointer-events:auto;position:absolute;text-align:initial;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{font-size:1em;height:100%;left:0;position:absolute;top:0;width:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{background:#ff0;box-shadow:0 2px 10px #ff0;opacity:.2}.annotationLayer .textAnnotation img{cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input,.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .textWidgetAnnotation :is(input,textarea){background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px*var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .textWidgetAnnotation :is(input,textarea):required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .textWidgetAnnotation :is(input,textarea):hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .textWidgetAnnotation :is(input,textarea):hover{border-radius:2px}.annotationLayer .choiceWidgetAnnotation select:focus,.annotationLayer .textWidgetAnnotation :is(input,textarea):focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-color:transparent;background-image:none}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{font-size:calc(9px*var(--scale-factor));min-width:calc(180px*var(--scale-factor));pointer-events:none;position:absolute;width:100%}.annotationLayer .popup{background-color:#ff9;border-radius:calc(2px*var(--scale-factor));box-shadow:0 calc(2px*var(--scale-factor)) calc(5px*var(--scale-factor)) #888;cursor:pointer;font:message-box;margin-left:calc(5px*var(--scale-factor));max-width:calc(180px*var(--scale-factor));padding:calc(6px*var(--scale-factor));position:absolute;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px*var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px*var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid #333;margin-top:calc(2px*var(--scale-factor));padding-top:calc(2px*var(--scale-factor))}.annotationLayer .richText>*{font-size:calc(9px*var(--scale-factor));white-space:pre-wrap}.annotationLayer .caretAnnotation,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .fileAttachmentAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .highlightAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .lineAnnotation svg line,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .squareAnnotation svg rect,.annotationLayer .squigglyAnnotation,.annotationLayer .stampAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .underlineAnnotation{cursor:pointer}.annotationLayer section svg{height:100%;left:0;position:absolute;top:0;width:100%}.annotationLayer .annotationTextContent{color:transparent;height:100%;opacity:0;pointer-events:none;position:absolute;user-select:none;width:100%}.annotationLayer .annotationTextContent span{display:inline-block;width:100%}:root{--react-pdf-text-layer:1;--highlight-bg-color:#b400aa;--highlight-selected-bg-color:#006400}@media screen and (forced-colors:active){:root{--highlight-bg-color:Highlight;--highlight-selected-bg-color:ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translateX(-100%)}.textLayer{inset:0;line-height:1;overflow:hidden;position:absolute;text-align:initial;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;cursor:text;margin:0;position:absolute;transform-origin:0 0;white-space:pre}.textLayer span.markedContent{height:0;top:0}.textLayer .highlight{background-color:var(--highlight-bg-color);border-radius:4px;margin:-1px;padding:1px}.textLayer .highlight.appended{position:static}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{cursor:default;display:block;inset:100% 0 0;position:absolute;user-select:none;z-index:-1}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{display:none;height:0;left:0;position:absolute;top:0;width:0}
@@ -1 +0,0 @@
1
- export { PDFViewer } from './PDFViewer';