@regulaforensics/ui-components 7.6.309-nightly → 7.6.310-nightly

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.d.ts CHANGED
@@ -60,7 +60,7 @@ export declare const DocumentImages: FC<iDocumentImagesProps>;
60
60
  /** Tabs with document information. */
61
61
  export declare const DocumentTabs: FC<iDocumentTabsProps>;
62
62
 
63
- declare const DocumentType_2: FC;
63
+ declare const DocumentType_2: FC<iDocumentTypeProps>;
64
64
  export { DocumentType_2 as DocumentType }
65
65
 
66
66
  /** Download icon. */
@@ -263,6 +263,10 @@ declare interface iDocumentTabsProps {
263
263
  className?: string;
264
264
  }
265
265
 
266
+ declare interface iDocumentTypeProps {
267
+ className?: string;
268
+ }
269
+
266
270
  declare interface IDownloadProps extends HTMLAttributes<HTMLSpanElement> {
267
271
  /** Icon fill color. */
268
272
  fillColor?: string;
package/dist/index.js CHANGED
@@ -33276,10 +33276,19 @@ const Dgt = () => zt("0b9710958905a1fef033fa8881ba3e7a"), Lgt = "_container_1r6u
33276
33276
  }, eHt = "_container_8h2a4_1", nHt = {
33277
33277
  container: eHt
33278
33278
  }, _Ht = ({
33279
- identification: t
33280
- }) => /* @__PURE__ */ R("div", { className: nHt.container, children: /* @__PURE__ */ R(Ot, { size: "18x135", children: t.documentName }) }), rHt = () => {
33281
- const { response: t } = ln(), { page: e } = yn.resolve(Tc).observe(), n = wn(() => pB(t, e), [t]);
33282
- return n.length ? /* @__PURE__ */ R(_Ht, { identification: n[0] }) : null;
33279
+ identification: t,
33280
+ className: e
33281
+ }) => /* @__PURE__ */ R("div", { className: Xt(nHt.container, e), children: /* @__PURE__ */ R(Ot, { size: "18x135", children: t.documentName }) }), rHt = ({
33282
+ className: t
33283
+ }) => {
33284
+ const { response: e } = ln(), { page: n } = yn.resolve(Tc).observe(), r = wn(() => pB(e, n), [e]);
33285
+ return r.length ? /* @__PURE__ */ R(
33286
+ _Ht,
33287
+ {
33288
+ identification: r[0],
33289
+ className: t
33290
+ }
33291
+ ) : null;
33283
33292
  }, oHt = "_container_1th3i_1", sHt = "_padding_1th3i_9", EHt = "_content_1th3i_17", aHt = "_images_1th3i_21", cHt = "_tabs_1th3i_21", Ja = {
33284
33293
  container: oHt,
33285
33294
  padding: sHt,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/ui-components",
3
- "version": "7.6.309-nightly",
3
+ "version": "7.6.310-nightly",
4
4
  "description": "Regula UI components",
5
5
  "author": "Regula Forensics, Inc.",
6
6
  "license": "MIT",