@tmlmobilidade/ui 20250705.44.21 → 20250705.105.17

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
@@ -624,25 +624,25 @@ declare function MapViewStyleVehicles({ presentBeforeId, vehiclesData }: Props):
624
624
 
625
625
  /**
626
626
  * Use to show children only when light theme is active. Hidden otherwise.
627
- * @param {React.ReactElement} children The content to display in light theme.
628
- * @returns {React.ReactElement} The rendered ThemeLight component.
627
+ * @param children The content to display in light theme.
628
+ * @returns The rendered ThemeLight component.
629
629
  */
630
630
  declare function ThemeLight({ children }: {
631
631
  children: React.ReactNode;
632
632
  }): React.ReactElement;
633
633
  /**
634
634
  * Use to show children only when dark theme is active. Hidden otherwise.
635
- * @param {React.ReactNode} children The content to display in dark theme.
636
- * @returns {React.ReactElement} The rendered ThemeDark component.
635
+ * @param children The content to display in dark theme.
636
+ * @returns The rendered ThemeDark component.
637
637
  */
638
638
  declare function ThemeDark({ children }: {
639
639
  children: React.ReactNode;
640
640
  }): React.ReactElement;
641
641
  /**
642
642
  * ThemeSwitch component to automatically toggle children components between dark and light themes.
643
- * @param {React.ReactNode} dark The content to display in dark theme.
644
- * @param {React.ReactNode} light The content to display in light theme.
645
- * @returns {React.ReactElement} The rendered ThemeSwitch component.
643
+ * @param dark The content to display in dark theme.
644
+ * @param light The content to display in light theme.
645
+ * @returns The rendered ThemeSwitch component.
646
646
  */
647
647
  declare function Themer({ dark, light }: {
648
648
  dark: React.ReactNode;
@@ -3,25 +3,25 @@ import { j as jsxRuntimeExports } from '../../../../_virtual/jsx-runtime.js';
3
3
 
4
4
  /**
5
5
  * Use to show children only when light theme is active. Hidden otherwise.
6
- * @param {React.ReactElement} children The content to display in light theme.
7
- * @returns {React.ReactElement} The rendered ThemeLight component.
6
+ * @param children The content to display in light theme.
7
+ * @returns The rendered ThemeLight component.
8
8
  */
9
9
  function ThemeLight({ children }) {
10
10
  return (jsxRuntimeExports.jsx("div", { className: "theme-light", children: children }));
11
11
  }
12
12
  /**
13
13
  * Use to show children only when dark theme is active. Hidden otherwise.
14
- * @param {React.ReactNode} children The content to display in dark theme.
15
- * @returns {React.ReactElement} The rendered ThemeDark component.
14
+ * @param children The content to display in dark theme.
15
+ * @returns The rendered ThemeDark component.
16
16
  */
17
17
  function ThemeDark({ children }) {
18
18
  return (jsxRuntimeExports.jsx("div", { className: "theme-dark", children: children }));
19
19
  }
20
20
  /**
21
21
  * ThemeSwitch component to automatically toggle children components between dark and light themes.
22
- * @param {React.ReactNode} dark The content to display in dark theme.
23
- * @param {React.ReactNode} light The content to display in light theme.
24
- * @returns {React.ReactElement} The rendered ThemeSwitch component.
22
+ * @param dark The content to display in dark theme.
23
+ * @param light The content to display in light theme.
24
+ * @returns The rendered ThemeSwitch component.
25
25
  */
26
26
  function Themer({ dark, light }) {
27
27
  return (jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(ThemeDark, { children: dark }), jsxRuntimeExports.jsx(ThemeLight, { children: light })] }));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/ui",
3
3
  "description": "UI components for Transportes Metropolitanos de Lisboa (TML) web applications.",
4
- "version": "20250705.44.21",
4
+ "version": "20250705.105.17",
5
5
  "author": "João de Vasconcelos & Jusi Monteiro",
6
6
  "license": "AGPL-3.0-or-later",
7
7
  "publishConfig": {