@mobielnl/elements 0.12.20 → 0.12.21

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
@@ -1905,6 +1905,17 @@ export declare type PropositionSelectorProps = {
1905
1905
  * }}
1906
1906
  */
1907
1907
  onAction?: (event: SelectorActionEvent) => void;
1908
+ /** Callback function called when the initial proposition content has rendered
1909
+ *
1910
+ * @note This is triggered once per proposition after the loading state has been resolved and the data has been fetched successfully.
1911
+ * It will be called again when navigating to another proposition.
1912
+ *
1913
+ * @example
1914
+ * onRender={() => {
1915
+ * console.log('Proposition data has been fetched successfully and the component has rendered')
1916
+ * }}
1917
+ */
1918
+ onRender?: () => void;
1908
1919
  };
1909
1920
 
1910
1921
  export declare type ProviderOption = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobielnl/elements",
3
- "version": "0.12.20",
3
+ "version": "0.12.21",
4
4
  "description": "Mobiel.nl Elements - React component library for partner websites",
5
5
  "private": false,
6
6
  "type": "module",
@@ -110,7 +110,7 @@
110
110
  "typescript": "~5.8.3",
111
111
  "vite": "7.3.2",
112
112
  "vite-plugin-dts": "^4.5.0",
113
- "vitest": "^3.2.4",
113
+ "vitest": "^4.1.8",
114
114
  "zod": "^4.1.12"
115
115
  },
116
116
  "msw": {