@memobit/libs 1.0.7 → 1.0.9

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
@@ -609,6 +609,8 @@ export declare interface ControlPanelFilterOption extends DropdownOption {
609
609
  /** Optional image URL rendered as a small round avatar before the option label.
610
610
  * Used by the `chips` filter to show a face crop / product thumbnail / etc. */
611
611
  imageUrl?: string;
612
+ /** Optional icon rendered before the option label (chips filter today). */
613
+ icon?: IconName;
612
614
  }
613
615
 
614
616
  export declare type ControlPanelFilterType = 'radio' | 'chips' | 'dropdown' | 'text' | 'number' | 'rating' | 'range' | 'date-range' | 'search' | 'date' | 'checkbox';
@@ -693,6 +695,8 @@ export declare interface ControlPanelOptionItem {
693
695
  title?: string;
694
696
  /** When true, the item cannot be selected. */
695
697
  disabled?: boolean;
698
+ /** Optional icon rendered before the option label (radio + chips options). */
699
+ icon?: IconName;
696
700
  }
697
701
 
698
702
  export declare interface ControlPanelProps {
package/dist/index.esm.js CHANGED
@@ -13456,6 +13456,7 @@ var Ul = ({ name: t, size: c = "medium", shape: l = "rounded", className: a = ""
13456
13456
  color: d.color,
13457
13457
  count: d.count,
13458
13458
  disabled: d.disabled,
13459
+ icon: d.icon,
13459
13460
  title: d.tooltip,
13460
13461
  selected: h,
13461
13462
  onClick: () => {
@@ -13770,21 +13771,25 @@ var d1 = ({ title: t, position: c = "top", delay: l = 200, children: a, disabled
13770
13771
  className: `control-panel__filter-radio ${g ? "control-panel__filter-radio--selected" : ""} ${v.disabled ? "control-panel__filter-radio--disabled" : ""}`,
13771
13772
  children: /* @__PURE__ */ r("label", {
13772
13773
  className: "control-panel__filter-radio-label",
13773
- children: [/* @__PURE__ */ e("input", {
13774
- checked: g,
13775
- className: "control-panel__filter-radio-input",
13776
- disabled: v.disabled,
13777
- name: `control-panel-option-${n.id}`,
13778
- onChange: w,
13779
- onClick: () => {
13780
- v.disabled || g && w();
13781
- },
13782
- type: "radio",
13783
- value: v.value
13784
- }), /* @__PURE__ */ e("span", {
13785
- className: "control-panel__filter-label",
13786
- children: v.label
13787
- })]
13774
+ children: [
13775
+ /* @__PURE__ */ e("input", {
13776
+ checked: g,
13777
+ className: "control-panel__filter-radio-input",
13778
+ disabled: v.disabled,
13779
+ name: `control-panel-option-${n.id}`,
13780
+ onChange: w,
13781
+ onClick: () => {
13782
+ v.disabled || g && w();
13783
+ },
13784
+ type: "radio",
13785
+ value: v.value
13786
+ }),
13787
+ v.icon && /* @__PURE__ */ e(I, { name: v.icon }),
13788
+ /* @__PURE__ */ e("span", {
13789
+ className: "control-panel__filter-label",
13790
+ children: v.label
13791
+ })
13792
+ ]
13788
13793
  })
13789
13794
  });
13790
13795
  return v.title ? /* @__PURE__ */ e(d1, {
@@ -13802,6 +13807,7 @@ var d1 = ({ title: t, position: c = "top", delay: l = 200, children: a, disabled
13802
13807
  const g = n.value.includes(v.value);
13803
13808
  return /* @__PURE__ */ e(t0, {
13804
13809
  disabled: v.disabled,
13810
+ icon: v.icon,
13805
13811
  title: v.title,
13806
13812
  selected: g,
13807
13813
  onClick: () => {
@@ -25395,7 +25401,7 @@ var Si = (t, c, l) => {
25395
25401
  } catch {
25396
25402
  return t.trim();
25397
25403
  }
25398
- }, Nl = "1.0.7", Zi = 209, Hl = "533b4cf", Sl = "2026-06-25T08:32:46.021Z", Gi = "209", Bl = (t) => {
25404
+ }, Nl = "1.0.9", Zi = 213, Hl = "6d1fb76", Sl = "2026-06-25T15:56:55.898Z", Gi = "213", Bl = (t) => {
25399
25405
  const c = document.getElementById("mb-version-toast");
25400
25406
  if (c) {
25401
25407
  c.remove();
@@ -25419,7 +25425,7 @@ var Si = (t, c, l) => {
25419
25425
  const c = {
25420
25426
  ...t,
25421
25427
  lib: Nl,
25422
- libBuildNumber: 209,
25428
+ libBuildNumber: 213,
25423
25429
  libCommit: Hl,
25424
25430
  libBuildDate: Sl
25425
25431
  };
package/dist/version.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.0.7",
3
- "buildNumber": 209,
4
- "commit": "533b4cf",
5
- "buildDate": "2026-06-25T08:32:46.021Z"
2
+ "version": "1.0.9",
3
+ "buildNumber": 213,
4
+ "commit": "6d1fb76",
5
+ "buildDate": "2026-06-25T15:56:55.898Z"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memobit/libs",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "React component library powering the Memobit apps — 100+ components, 470+ icons, 70+ themes, helpers and hooks. TypeScript-first, ESM-only, React 19.",
5
5
  "keywords": [
6
6
  "react",