@pie-lib/render-ui 8.0.7-next.20261019155156 → 8.0.7-next.20261019223635

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.
@@ -56,6 +56,10 @@ var n = t({
56
56
  "nl-NL": () => import(
57
57
  /* webpackMode: "eager" */
58
58
  "./nl-NL.js"
59
+ ),
60
+ ro: () => import(
61
+ /* webpackMode: "eager" */
62
+ "./ro.js"
59
63
  )
60
64
  }
61
65
  });
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ playAudio: string;
3
+ show: string;
4
+ hide: string;
5
+ };
6
+ export default _default;
@@ -0,0 +1,8 @@
1
+ //#region src/i18n/ro.ts
2
+ var e = {
3
+ playAudio: "Redă audio",
4
+ show: "Afișează",
5
+ hide: "Ascunde"
6
+ };
7
+ //#endregion
8
+ export { e as default };
@@ -9,6 +9,7 @@ declare class UiLayout extends React.Component {
9
9
  rules: PropTypes.Requireable<string>;
10
10
  }>>;
11
11
  fontSizeFactor: PropTypes.Requireable<number>;
12
+ containerRef: PropTypes.Requireable<object>;
12
13
  };
13
14
  static defaultProps: {
14
15
  extraCSSRules: {};
package/dist/ui-layout.js CHANGED
@@ -23,7 +23,8 @@ var l = a({
23
23
  names: n.arrayOf(n.string),
24
24
  rules: n.string
25
25
  }),
26
- fontSizeFactor: n.number
26
+ fontSizeFactor: n.number,
27
+ containerRef: n.oneOfType([n.func, n.object])
27
28
  };
28
29
  static defaultProps = {
29
30
  extraCSSRules: {},
@@ -38,15 +39,16 @@ var l = a({
38
39
  return a === 1 ? null : { fontSize: `${i * a}px` };
39
40
  }
40
41
  render() {
41
- let { children: e, className: t, fontSizeFactor: n, ...a } = this.props, { extraCSSRules: o, ...d } = a, f = this.computeStyle(n);
42
+ let { children: e, className: t, fontSizeFactor: n, containerRef: a, ...o } = this.props, { extraCSSRules: d, ...f } = o, p = this.computeStyle(n);
42
43
  return /* @__PURE__ */ s(r, {
43
44
  injectFirst: !0,
44
45
  children: /* @__PURE__ */ c(i, {
45
46
  theme: l,
46
- children: [o?.rules ? /* @__PURE__ */ s("style", { dangerouslySetInnerHTML: { __html: `.${this.scopeClass} { ${o.rules} }` } }) : null, /* @__PURE__ */ s(u, {
47
+ children: [d?.rules ? /* @__PURE__ */ s("style", { dangerouslySetInnerHTML: { __html: `.${this.scopeClass} { ${d.rules} }` } }) : null, /* @__PURE__ */ s(u, {
48
+ ref: a,
47
49
  className: `${t} extraCSSRules ${this.scopeClass}`,
48
- ...d,
49
- ...f && { style: f },
50
+ ...f,
51
+ ...p && { style: p },
50
52
  children: e
51
53
  })]
52
54
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/render-ui",
3
- "version": "8.0.7-next.20261019155156",
3
+ "version": "8.0.7-next.20261019223635",
4
4
  "description": "Some shared ui elements when rendering - but not worthy of their own package yet.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "@emotion/styled": "^11.14.1",
13
13
  "@mui/icons-material": "^7.3.4",
14
14
  "@mui/material": "^7.3.4",
15
- "@pie-lib/icons": "5.0.2-next.20261019151920",
15
+ "@pie-lib/icons": "5.0.2-next.20261019223635",
16
16
  "@pie-element/shared-i18n": "0.1.2-next.20261019151920",
17
17
  "debug": "^4.1.1",
18
18
  "prop-types": "^15.7.2",