@rijkshuisstijl-community/web-components 1.0.1-alpha.6 → 1.0.1-alpha.8
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.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -6406,7 +6406,7 @@ const DutchMapIcon = () => jsxRuntimeExports.jsx("svg", {
|
|
|
6406
6406
|
})
|
|
6407
6407
|
});
|
|
6408
6408
|
|
|
6409
|
-
const
|
|
6409
|
+
const iconSet$1 = {
|
|
6410
6410
|
activiteit: jsxRuntimeExports.jsx(IconCalendarCheck, {}),
|
|
6411
6411
|
'agile-werken': jsxRuntimeExports.jsx(IconArrowIteration, {}),
|
|
6412
6412
|
'alert-circle': jsxRuntimeExports.jsx(IconAlertCircle, {}),
|
|
@@ -6491,6 +6491,8 @@ const IconenSet = {
|
|
|
6491
6491
|
vraagteken: jsxRuntimeExports.jsx(IconQuestionMark, {}),
|
|
6492
6492
|
zoek: jsxRuntimeExports.jsx(IconSearch, {})
|
|
6493
6493
|
};
|
|
6494
|
+
|
|
6495
|
+
let iconSet = iconSet$1;
|
|
6494
6496
|
const Icon = /*#__PURE__*/reactExports.forwardRef(({
|
|
6495
6497
|
children,
|
|
6496
6498
|
icon,
|
|
@@ -6501,7 +6503,7 @@ const Icon = /*#__PURE__*/reactExports.forwardRef(({
|
|
|
6501
6503
|
className: className,
|
|
6502
6504
|
ref: ref,
|
|
6503
6505
|
...restProps,
|
|
6504
|
-
children: [icon &&
|
|
6506
|
+
children: [icon && iconSet[icon], children]
|
|
6505
6507
|
});
|
|
6506
6508
|
});
|
|
6507
6509
|
Icon.displayName = 'Icon';
|
|
@@ -7891,8 +7893,8 @@ const ToggletipContent = /*#__PURE__*/reactExports.forwardRef(({
|
|
|
7891
7893
|
className: "rhc-toggletip__content",
|
|
7892
7894
|
ref: ref,
|
|
7893
7895
|
children: jsxRuntimeExports.jsx(Alert, {
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
+
textContent: children,
|
|
7897
|
+
type: "info"
|
|
7896
7898
|
})
|
|
7897
7899
|
});
|
|
7898
7900
|
});
|