@almadar/ui 5.154.0 → 5.155.0

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.
@@ -483,7 +483,8 @@ interface BadgeProps extends React__default.HTMLAttributes<HTMLSpanElement> {
483
483
  /** When set, renders a small X button on the right of the badge that
484
484
  * invokes this handler — turns the badge into a removable chip.
485
485
  * Used by the TagInput molecule and other "list of removable values"
486
- * surfaces. */
486
+ * surfaces.
487
+ * @offByDefault */
487
488
  onRemove?: () => void;
488
489
  /** Accessible label for the remove button. Defaults to "Remove". */
489
490
  removeLabel?: string;
@@ -597,7 +598,8 @@ interface FilterPillProps extends Omit<React__default.HTMLAttributes<HTMLSpanEle
597
598
  label?: string | number;
598
599
  /** Lucide icon component or canonical kebab-case icon name string */
599
600
  icon?: IconInput;
600
- /** Called when the user clicks the remove (×) button */
601
+ /** Called when the user clicks the remove (×) button
602
+ * @offByDefault */
601
603
  onRemove?: () => void;
602
604
  /** Disable the remove button (renders without × control) */
603
605
  removable?: boolean;
@@ -607,7 +609,8 @@ interface FilterPillProps extends Omit<React__default.HTMLAttributes<HTMLSpanEle
607
609
  clickEvent?: EventEmit<{
608
610
  label: string | number | undefined;
609
611
  }>;
610
- /** Event name dispatched via event bus when the remove (×) button is clicked. Payload: { label } */
612
+ /** Event name dispatched via event bus when the remove (×) button is clicked. Payload: { label }
613
+ * @offByDefault */
611
614
  removeEvent?: EventEmit<{
612
615
  label: string | number | undefined;
613
616
  }>;
@@ -2924,13 +2927,15 @@ interface TraitSlotProps {
2924
2927
  feedback?: 'correct' | 'wrong' | null;
2925
2928
  /** Click handler */
2926
2929
  onClick?: () => void;
2927
- /** Remove handler */
2930
+ /** Remove handler
2931
+ * @offByDefault */
2928
2932
  onRemove?: () => void;
2929
2933
  /** Emits UI:{clickEvent} with { slotNumber } */
2930
2934
  clickEvent?: EventEmit<{
2931
2935
  slotNumber: number;
2932
2936
  }>;
2933
- /** Emits UI:{removeEvent} with { slotNumber } */
2937
+ /** Emits UI:{removeEvent} with { slotNumber }
2938
+ * @offByDefault */
2934
2939
  removeEvent?: EventEmit<{
2935
2940
  slotNumber: number;
2936
2941
  }>;
@@ -483,7 +483,8 @@ interface BadgeProps extends React__default.HTMLAttributes<HTMLSpanElement> {
483
483
  /** When set, renders a small X button on the right of the badge that
484
484
  * invokes this handler — turns the badge into a removable chip.
485
485
  * Used by the TagInput molecule and other "list of removable values"
486
- * surfaces. */
486
+ * surfaces.
487
+ * @offByDefault */
487
488
  onRemove?: () => void;
488
489
  /** Accessible label for the remove button. Defaults to "Remove". */
489
490
  removeLabel?: string;
@@ -597,7 +598,8 @@ interface FilterPillProps extends Omit<React__default.HTMLAttributes<HTMLSpanEle
597
598
  label?: string | number;
598
599
  /** Lucide icon component or canonical kebab-case icon name string */
599
600
  icon?: IconInput;
600
- /** Called when the user clicks the remove (×) button */
601
+ /** Called when the user clicks the remove (×) button
602
+ * @offByDefault */
601
603
  onRemove?: () => void;
602
604
  /** Disable the remove button (renders without × control) */
603
605
  removable?: boolean;
@@ -607,7 +609,8 @@ interface FilterPillProps extends Omit<React__default.HTMLAttributes<HTMLSpanEle
607
609
  clickEvent?: EventEmit<{
608
610
  label: string | number | undefined;
609
611
  }>;
610
- /** Event name dispatched via event bus when the remove (×) button is clicked. Payload: { label } */
612
+ /** Event name dispatched via event bus when the remove (×) button is clicked. Payload: { label }
613
+ * @offByDefault */
611
614
  removeEvent?: EventEmit<{
612
615
  label: string | number | undefined;
613
616
  }>;
@@ -2924,13 +2927,15 @@ interface TraitSlotProps {
2924
2927
  feedback?: 'correct' | 'wrong' | null;
2925
2928
  /** Click handler */
2926
2929
  onClick?: () => void;
2927
- /** Remove handler */
2930
+ /** Remove handler
2931
+ * @offByDefault */
2928
2932
  onRemove?: () => void;
2929
2933
  /** Emits UI:{clickEvent} with { slotNumber } */
2930
2934
  clickEvent?: EventEmit<{
2931
2935
  slotNumber: number;
2932
2936
  }>;
2933
- /** Emits UI:{removeEvent} with { slotNumber } */
2937
+ /** Emits UI:{removeEvent} with { slotNumber }
2938
+ * @offByDefault */
2934
2939
  removeEvent?: EventEmit<{
2935
2940
  slotNumber: number;
2936
2941
  }>;
@@ -303,7 +303,8 @@ interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
303
303
  /** When set, renders a small X button on the right of the badge that
304
304
  * invokes this handler — turns the badge into a removable chip.
305
305
  * Used by the TagInput molecule and other "list of removable values"
306
- * surfaces. */
306
+ * surfaces.
307
+ * @offByDefault */
307
308
  onRemove?: () => void;
308
309
  /** Accessible label for the remove button. Defaults to "Remove". */
309
310
  removeLabel?: string;
@@ -303,7 +303,8 @@ interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
303
303
  /** When set, renders a small X button on the right of the badge that
304
304
  * invokes this handler — turns the badge into a removable chip.
305
305
  * Used by the TagInput molecule and other "list of removable values"
306
- * surfaces. */
306
+ * surfaces.
307
+ * @offByDefault */
307
308
  onRemove?: () => void;
308
309
  /** Accessible label for the remove button. Defaults to "Remove". */
309
310
  removeLabel?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "5.154.0",
3
+ "version": "5.155.0",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -118,11 +118,11 @@
118
118
  "access": "public"
119
119
  },
120
120
  "dependencies": {
121
- "@almadar/core": "^10.64.0",
121
+ "@almadar/core": "^10.65.0",
122
122
  "@almadar/evaluator": "^2.41.0",
123
123
  "@almadar/logger": "^1.11.0",
124
124
  "@almadar/runtime": "^6.56.0",
125
- "@almadar/std": "^16.180.0",
125
+ "@almadar/std": "^16.181.0",
126
126
  "@almadar/syntax": "^1.15.0",
127
127
  "@dnd-kit/core": "^6.3.1",
128
128
  "@dnd-kit/sortable": "^10.0.0",