@gouvfr-lasuite/ui-kit 0.20.0 → 0.20.2

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
@@ -2160,7 +2160,7 @@ export declare interface OnboardingStep {
2160
2160
  /** Step title */
2161
2161
  title: string;
2162
2162
  /** Step description, visible only when the step is active */
2163
- description?: string;
2163
+ description?: ReactNode;
2164
2164
  /** Content displayed in the preview zone (image, video, component, etc.) */
2165
2165
  content?: ReactNode;
2166
2166
  }
package/dist/index.js CHANGED
@@ -9223,7 +9223,7 @@ function Id(e) {
9223
9223
  }, v.children)));
9224
9224
  }
9225
9225
  const jd = (e) => "type" in e && e.type === "separator", Od = (e) => Array.isArray(e.children) && e.children.length > 0, go = ({ option: e }) => /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
9226
- /* @__PURE__ */ a.jsx("div", { className: "c__dropdown-menu-item__icon", children: e.icon }),
9226
+ e.icon && /* @__PURE__ */ a.jsx("div", { className: "c__dropdown-menu-item__icon", children: e.icon }),
9227
9227
  /* @__PURE__ */ a.jsxs("div", { className: "c__dropdown-menu-item__label-container", children: [
9228
9228
  /* @__PURE__ */ a.jsx("div", { className: "c__dropdown-menu-item__label", children: e.label }),
9229
9229
  e.subText && /* @__PURE__ */ a.jsx("div", { className: "c__dropdown-menu-item__label-subtext", children: e.subText })