@ostack.tech/ui 1.3.1 → 1.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ostack.tech/ui",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Accessible React component library.",
5
5
  "homepage": "https://ui.ostack.tech/",
6
6
  "license": "Apache-2.0",
@@ -7,7 +7,9 @@
7
7
  }
8
8
 
9
9
  @media not print {
10
- .#{$prefix}print-only {
10
+ // XXX: workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=2094832: Firefox prints
11
+ // text inputs that were never rendered as empty.
12
+ body:not(.#{$prefix}printer__iframe) .#{$prefix}print-only {
11
13
  display: none !important;
12
14
  }
13
15
  }
@@ -132,4 +132,4 @@ export interface PrinterProps extends PrintOptions {
132
132
  * }
133
133
  * ```
134
134
  */
135
- export declare function Printer({ preview, printInForeground, documentTitle, pageSize, pageMargin, printColorAdjust, fonts, copyShadowRoots, nonce, printFn, onBeforePrint, onAfterPrint, iframeProps, children, }: PrinterProps): import("react").JSX.Element;
135
+ export declare function Printer({ preview, printInForeground, documentTitle: documentTitleProp, pageSize, pageMargin, printColorAdjust, fonts, copyShadowRoots, nonce, printFn, onBeforePrint, onAfterPrint, iframeProps, children, }: PrinterProps): import("react").JSX.Element;