ionbase-ui 0.81.0 → 0.81.1

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.
@@ -6,7 +6,7 @@ export interface DatePickerProps {
6
6
  label?: React.ReactNode;
7
7
  /** Helper text below the field. */
8
8
  description?: React.ReactNode;
9
- /** Replaces the helper text when `isInvalid` is set. */
9
+ /** Replaces the helper text while the field is invalid — `isInvalid`, or its own bounds check. */
10
10
  errorMessage?: React.ReactNode;
11
11
  isInvalid?: boolean;
12
12
  isDisabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../src/components/DatePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAOtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAchD,MAAM,WAAW,eAAe;IAC9B,wEAAwE;IACxE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,mCAAmC;IACnC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,wDAAwD;IACxD,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4DAA4D;IAC5D,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,oEAAoE;IACpE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3C,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pB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4DAA4D;IAC5D,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACvB,oEAAoE;IACpE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3C,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IAC/C,iEAAiE;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+DAA+D;IAC/D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,WAAW,EACX,YAAY,EACZ,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,IAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,IAAI,EACJ,aAA+B,EAC/B,SAAS,EACT,gBAAgB,EAChB,EAAE,GACH,EAAE,eAAe,qBA2JjB;yBA/Ke,UAAU"}
@@ -73,10 +73,20 @@ export function DatePicker({ label, description, errorMessage, isInvalid, isDisa
73
73
  const buttonRef = useRef(null);
74
74
  const { groupProps, labelProps, fieldProps, buttonProps: triggerProps, dialogProps, calendarProps, descriptionProps, errorMessageProps, } = useDatePicker({ ...ariaProps, id }, state, groupRef);
75
75
  const { buttonProps } = useButton(triggerProps, buttonRef);
76
- const helper = isInvalid && errorMessage ? errorMessage : description;
76
+ /*
77
+ * Invalid is the prop OR the picker's own validation — TimeField's rule.
78
+ * Left to the prop alone, a date before `minValue` or after `maxValue` marked the segments
79
+ * aria-invalid and left the box looking valid. With no `errorMessage`,
80
+ * React Aria's own localized message says what is wrong.
81
+ */
82
+ const { isInvalid: failsValidation, validationErrors } = state.displayValidation;
83
+ const invalid = !!isInvalid || failsValidation;
84
+ const error = errorMessage ??
85
+ (validationErrors.length ? validationErrors.join(' ') : null);
86
+ const helper = invalid && error ? error : description;
77
87
  return (_jsxs("div", { className: [
78
88
  'ion-field',
79
- isInvalid ? 'ion-field--error' : '',
89
+ invalid ? 'ion-field--error' : '',
80
90
  wrapperClassName || '',
81
91
  ]
82
92
  .filter(Boolean)
@@ -88,15 +98,13 @@ export function DatePicker({ label, description, errorMessage, isInvalid, isDisa
88
98
  'ion-input',
89
99
  'ion-date-picker',
90
100
  size !== 'md' ? `ion-input--${size}` : '',
91
- isInvalid ? 'ion-input--invalid' : '',
101
+ invalid ? 'ion-input--invalid' : '',
92
102
  isDisabled ? 'ion-input--disabled' : '',
93
103
  isReadOnly ? 'ion-input--readonly' : '',
94
104
  className || '',
95
105
  ]
96
106
  .filter(Boolean)
97
- .join(' '), "data-open": state.isOpen || undefined, "data-invalid": isInvalid || undefined, "data-disabled": isDisabled || undefined, children: [_jsx(DateField, { ...fieldProps }), name && (_jsx("input", { type: "hidden", name: name, value: state.value ? toIso(state.value) : '' })), _jsx("button", { ...buttonProps, ref: buttonRef, type: "button", "aria-labelledby": undefined, "aria-label": calendarLabel, className: "ion-date-picker__button", children: _jsx(CalendarIcon, {}) })] }), state.isOpen && !isDisabled && !isReadOnly && (_jsx(CalendarPopover, { state: state, triggerRef: groupRef, dialogProps: dialogProps, children: _jsx(SingleCalendar, { ...calendarProps }) })), helper && (_jsx("span", { ...(isInvalid && errorMessage
98
- ? errorMessageProps
99
- : descriptionProps), className: "ion-field__helper", children: helper }))] }));
107
+ .join(' '), "data-open": state.isOpen || undefined, "data-invalid": invalid || undefined, "data-disabled": isDisabled || undefined, children: [_jsx(DateField, { ...fieldProps }), name && (_jsx("input", { type: "hidden", name: name, value: state.value ? toIso(state.value) : '' })), _jsx("button", { ...buttonProps, ref: buttonRef, type: "button", "aria-labelledby": undefined, "aria-label": calendarLabel, className: "ion-date-picker__button", children: _jsx(CalendarIcon, {}) })] }), state.isOpen && !isDisabled && !isReadOnly && (_jsx(CalendarPopover, { state: state, triggerRef: groupRef, dialogProps: dialogProps, children: _jsx(SingleCalendar, { ...calendarProps }) })), helper && (_jsx("span", { ...(invalid && error ? errorMessageProps : descriptionProps), className: "ion-field__helper", children: helper }))] }));
100
108
  }
101
109
  DatePicker.displayName = 'DatePicker';
102
110
  //# sourceMappingURL=DatePicker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.js","sourceRoot":"","sources":["../../src/components/DatePicker.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAKvE,MAAM,YAAY,GAAG,GAAG,EAAE,CAAC,CACzB,cAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,iBAAa,MAAM,EAAC,SAAS,EAAC,OAAO,YAC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,WAAW,EACf,GAAG,EAAE,SAAS,EACd,IAAI,EAAC,QAAQ,qBAOI,SAAS,gBACd,aAAa,EACzB,SAAS,EAAC,yBAAyB,YAEnC,KAAC,YAAY,KAAG,GACT,IACL,EAEL,KAAK,CAAC,MAAM,IAAI,CAAC,UAAU,IAAI,CAAC,UAAU,IAAI,CAC7C,KAAC,eAAe,IACd,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,QAAQ,EACpB,WAAW,EAAE,WAAW,YAExB,KAAC,cAAc,OAAK,aAAa,GAAI,GACrB,CACnB,EAEA,MAAM,IAAI,CACT,kBACM,CAAC,OAAO,IAAI,KAAK,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,gBAAgB,CAAC,EAC7D,SAAS,EAAC,mBAAmB,YAE5B,MAAM,GACF,CACR,IACG,CACP,CAAC;AACJ,CAAC;AAED,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
@@ -30,7 +30,7 @@ export interface DateRangePickerProps {
30
30
  label?: React.ReactNode;
31
31
  /** Helper text below the field. */
32
32
  description?: React.ReactNode;
33
- /** Replaces the helper text when `isInvalid` is set. */
33
+ /** Replaces the helper text while the field is invalid — `isInvalid`, or its own bounds check. */
34
34
  errorMessage?: React.ReactNode;
35
35
  isInvalid?: boolean;
36
36
  isDisabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../src/components/DateRangePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAO/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAErD,2EAA2E;AAC3E,MAAM,WAAW,SAAS;IACxB,oBAAoB;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,+BAA+B;IAC/B,GAAG,EAAE,OAAO,CAAC;CACd;AAED;;GAEG;AACH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AAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAMD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,WAAW,EACX,YAAY,EACZ,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,IAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,OAAO,EACP,aAAiB,EACjB,WAAkB,EAClB,IAAI,EACJ,aAA+B,EAC/B,UAAoB,EACpB,YAAqC,EACrC,SAAS,EACT,gBAAgB,EAChB,EAAE,GACH,EAAE,oBAAoB,qBAuPtB;yBAhRe,eAAe"}
1
+ {"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../src/components/DateRangePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAO/C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAG7C,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAErD,2EAA2E;AAC3E,MAAM,WAAW,SAAS;IACxB,oBAAoB;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,+BAA+B;IAC/B,GAAG,EAAE,OAAO,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd;;;;;;;;OAQG;IACH,KAAK,EAAE,SAAS,GAAG,CAAC,MAAM,SAAS,CAAC,CAAC;CACtC;AAcD,MAAM,WAAW,oBAAoB;IACnC,wEAAwE;IACxE,KAAK,CAAC,EAAE,K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D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,WAAW,EACX,YAAY,EACZ,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,IAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,OAAO,EACP,aAAiB,EACjB,WAAkB,EAClB,IAAI,EACJ,aAA+B,EAC/B,UAAoB,EACpB,YAAqC,EACrC,SAAS,EACT,gBAAgB,EAChB,EAAE,GACH,EAAE,oBAAoB,qBAiQtB;yBA1Re,eAAe"}
@@ -99,7 +99,17 @@ export function DateRangePicker({ label, description, errorMessage, isInvalid, i
99
99
  start: toIso(state.value.start),
100
100
  end: toIso(state.value.end),
101
101
  };
102
- const helper = isInvalid && errorMessage ? errorMessage : description;
102
+ /*
103
+ * Invalid is the prop OR the picker's own validation — TimeField's rule.
104
+ * Left to the prop alone, a date outside `minValue`/`maxValue`, or an end before the start, marked the segments
105
+ * aria-invalid and left the box looking valid. With no `errorMessage`,
106
+ * React Aria's own localized message says what is wrong.
107
+ */
108
+ const { isInvalid: failsValidation, validationErrors } = state.displayValidation;
109
+ const invalid = !!isInvalid || failsValidation;
110
+ const error = errorMessage ??
111
+ (validationErrors.length ? validationErrors.join(' ') : null);
112
+ const helper = invalid && error ? error : description;
103
113
  const rail = resolvedPresets.length ? (_jsx("div", { className: "ion-range-presets", role: "group", "aria-label": presetsLabel, children: resolvedPresets.map((p) => {
104
114
  const isSelected = selectedIso?.start === p.start && selectedIso?.end === p.end;
105
115
  return (_jsx("button", { type: "button", className: "ion-range-presets__item", "aria-pressed": isSelected, "data-selected": isSelected || undefined, onClick: () => {
@@ -127,7 +137,7 @@ export function DateRangePicker({ label, description, errorMessage, isInvalid, i
127
137
  }, children: clearLabel }) })) : null;
128
138
  return (_jsxs("div", { className: [
129
139
  'ion-field',
130
- isInvalid ? 'ion-field--error' : '',
140
+ invalid ? 'ion-field--error' : '',
131
141
  wrapperClassName || '',
132
142
  ]
133
143
  .filter(Boolean)
@@ -138,15 +148,13 @@ export function DateRangePicker({ label, description, errorMessage, isInvalid, i
138
148
  'ion-input',
139
149
  'ion-date-range-picker',
140
150
  size !== 'md' ? `ion-input--${size}` : '',
141
- isInvalid ? 'ion-input--invalid' : '',
151
+ invalid ? 'ion-input--invalid' : '',
142
152
  isDisabled ? 'ion-input--disabled' : '',
143
153
  isReadOnly ? 'ion-input--readonly' : '',
144
154
  className || '',
145
155
  ]
146
156
  .filter(Boolean)
147
- .join(' '), "data-open": state.isOpen || undefined, "data-invalid": isInvalid || undefined, "data-disabled": isDisabled || undefined, children: [_jsx(DateField, { ...startFieldProps }), _jsx("span", { className: "ion-date-range-picker__dash", "aria-hidden": "true", children: "\u2013" }), _jsx(DateField, { ...endFieldProps }), name && (_jsxs(_Fragment, { children: [_jsx("input", { type: "hidden", name: `${name}-start`, value: state.value?.start ? toIso(state.value.start) : '' }), _jsx("input", { type: "hidden", name: `${name}-end`, value: state.value?.end ? toIso(state.value.end) : '' })] })), _jsx("button", { ...buttonProps, ref: buttonRef, type: "button", "aria-labelledby": undefined, "aria-label": calendarLabel, className: "ion-date-range-picker__button", children: _jsx(CalendarIcon, {}) })] }), state.isOpen && !isDisabled && !isReadOnly && (_jsx(CalendarPopover, { state: state, triggerRef: groupRef, dialogProps: dialogProps, className: "ion-calendar-popover--range", children: _jsx(RangeCalendar, { ...calendarProps, visibleMonths: visibleMonths, aside: rail, footer: footer }) })), helper && (_jsx("span", { ...(isInvalid && errorMessage
148
- ? errorMessageProps
149
- : descriptionProps), className: "ion-field__helper", children: helper }))] }));
157
+ .join(' '), "data-open": state.isOpen || undefined, "data-invalid": invalid || undefined, "data-disabled": isDisabled || undefined, children: [_jsx(DateField, { ...startFieldProps }), _jsx("span", { className: "ion-date-range-picker__dash", "aria-hidden": "true", children: "\u2013" }), _jsx(DateField, { ...endFieldProps }), name && (_jsxs(_Fragment, { children: [_jsx("input", { type: "hidden", name: `${name}-start`, value: state.value?.start ? toIso(state.value.start) : '' }), _jsx("input", { type: "hidden", name: `${name}-end`, value: state.value?.end ? toIso(state.value.end) : '' })] })), _jsx("button", { ...buttonProps, ref: buttonRef, type: "button", "aria-labelledby": undefined, "aria-label": calendarLabel, className: "ion-date-range-picker__button", children: _jsx(CalendarIcon, {}) })] }), state.isOpen && !isDisabled && !isReadOnly && (_jsx(CalendarPopover, { state: state, triggerRef: groupRef, dialogProps: dialogProps, className: "ion-calendar-popover--range", children: _jsx(RangeCalendar, { ...calendarProps, visibleMonths: visibleMonths, aside: rail, footer: footer }) })), helper && (_jsx("span", { ...(invalid && error ? errorMessageProps : descriptionProps), className: "ion-field__helper", children: helper }))] }));
150
158
  }
151
159
  DateRangePicker.displayName = 'DateRangePicker';
152
160
  //# sourceMappingURL=DateRangePicker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DateRangePicker.js","sourceRoot":"","sources":["../../src/components/DateRangePicker.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAgCvE,MAAM,YAAY,GAAG,GAAG,EAAE,CAAC,CACzB,cAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,iBAAa,MAAM,EAAC,SAAS,EAAC,OAAO,YACvE,eACE,CAAC,EAAC,6FAA6F,EAC/F,M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AAI,EACX,MAAM,EAAE,MAAM,GACd,GACc,CACnB,EAEA,MAAM,IAAI,CACT,kBACM,CAAC,OAAO,IAAI,KAAK,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,gBAAgB,CAAC,EAC7D,SAAS,EAAC,mBAAmB,YAE5B,MAAM,GACF,CACR,IACG,CACP,CAAC;AACJ,CAAC;AAED,eAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC"}
@@ -10,7 +10,7 @@ export interface TimeFieldProps {
10
10
  'aria-label'?: string;
11
11
  /** Helper text below the field — "In the workspace's timezone". */
12
12
  description?: React.ReactNode;
13
- /** Replaces the helper text when `isInvalid` is set. */
13
+ /** Replaces the helper text while the field is invalid — `isInvalid`, or its own bounds check. */
14
14
  errorMessage?: React.ReactNode;
15
15
  isInvalid?: boolean;
16
16
  isDisabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"TimeField.d.ts","sourceRoot":"","sources":["../../src/components/TimeField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAKzD,OAAO,EAAqB,KAAK,OAAO,EAAE,MAAM,eAAe,CAAC;AAEhE,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC/C,yCAAyC;AACzC,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEhE,MAAM,WAAW,cAAc;IAC7B,wEAAwE;IACxE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mEAAmE;IACnE,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,wDAAwD;IACxD,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAA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H,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,WAAW,EACX,YAAY,EACZ,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,IAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,WAAsB,EACtB,SAAS,EACT,IAAI,EACJ,SAAS,EACT,gBAAgB,EAChB,EAAE,GACH,EAAE,cAAc,qBA4HhB;yBAjJe,SAAS"}
@@ -1,377 +1,377 @@
1
1
  {
2
- "version": "0.81.0",
2
+ "version": "0.81.1",
3
3
  "begin": "───── CODE · ionbase-ui ─────",
4
4
  "end": "───── end code ─────",
5
5
  "blocks": {
6
6
  "1360:267": {
7
7
  "figmaComponent": "Accordion",
8
8
  "component": "Accordion",
9
- "block": "───── CODE · ionbase-ui ─────\nimport { Accordion } from 'ionbase-ui';\n<Accordion />\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/accordion/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
9
+ "block": "───── CODE · ionbase-ui ─────\nimport { Accordion } from 'ionbase-ui';\n<Accordion />\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/accordion/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
10
10
  },
11
11
  "1360:266": {
12
12
  "figmaComponent": "Accordion Item",
13
13
  "component": "AccordionItem",
14
- "block": "───── CODE · ionbase-ui ─────\nimport { AccordionItem } from 'ionbase-ui';\n<AccordionItem id={…} title={…}>Label</AccordionItem>\n\nPROPERTIES\n Title → title\n Content → children\n State → isDisabled (Disabled only)\n\nNOTES\n State: Collapsed and Expanded are the container’s expandedKeys, not the item’s: a static frame cannot own a selection, so the axis is drawn on the item and owned in code by Accordion.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/accordion-item/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
14
+ "block": "───── CODE · ionbase-ui ─────\nimport { AccordionItem } from 'ionbase-ui';\n<AccordionItem id={…} title={…}>Label</AccordionItem>\n\nPROPERTIES\n Title → title\n Content → children\n State → isDisabled (Disabled only)\n\nNOTES\n State: Collapsed and Expanded are the container’s expandedKeys, not the item’s: a static frame cannot own a selection, so the axis is drawn on the item and owned in code by Accordion.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/accordion-item/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
15
15
  },
16
16
  "1162:246": {
17
17
  "figmaComponent": "Agent Activity",
18
18
  "component": "AgentActivity",
19
- "block": "───── CODE · ionbase-ui ─────\nimport { AgentActivity } from 'ionbase-ui';\n<AgentActivity />\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/agent-activity/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
19
+ "block": "───── CODE · ionbase-ui ─────\nimport { AgentActivity } from 'ionbase-ui';\n<AgentActivity />\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/agent-activity/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
20
20
  },
21
21
  "1161:287": {
22
22
  "figmaComponent": "Agent Activity Step",
23
23
  "component": "AgentActivityStep",
24
- "block": "───── CODE · ionbase-ui ─────\nimport { AgentActivityStep } from 'ionbase-ui';\n<AgentActivityStep status=\"pending\">Label</AgentActivityStep>\n\nPROPERTIES\n Status → status: Pending=pending, Active=active, Done=done, Failed=failed, Skipped=skipped\n Label → children\n Detail → detail\n Show Detail → detail\n\nNOTES\n Show Detail: false means detail is omitted\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/agent-activity-step/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
24
+ "block": "───── CODE · ionbase-ui ─────\nimport { AgentActivityStep } from 'ionbase-ui';\n<AgentActivityStep status=\"pending\">Label</AgentActivityStep>\n\nPROPERTIES\n Status → status: Pending=pending, Active=active, Done=done, Failed=failed, Skipped=skipped\n Label → children\n Detail → detail\n Show Detail → detail\n\nNOTES\n Show Detail: false means detail is omitted\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/agent-activity-step/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
25
25
  },
26
26
  "1156:296": {
27
27
  "figmaComponent": "Agent Stop",
28
28
  "component": "AgentStop",
29
- "block": "───── CODE · ionbase-ui ─────\nimport { AgentStop } from 'ionbase-ui';\n<AgentStop size=\"sm\" onStop={…} />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Label → label\n Stopping Label → stoppingLabel\n\nNOTES\n State: Default/Hover are CSS states; Stopping is the drawn form of isStopping\n Focused: drawn focus ring; :focus-visible in code\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/agent-stop/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
29
+ "block": "───── CODE · ionbase-ui ─────\nimport { AgentStop } from 'ionbase-ui';\n<AgentStop size=\"sm\" onStop={…} />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Label → label\n Stopping Label → stoppingLabel\n\nNOTES\n State: Default/Hover are CSS states; Stopping is the drawn form of isStopping\n Focused: drawn focus ring; :focus-visible in code\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/agent-stop/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
30
30
  },
31
31
  "812:1902": {
32
32
  "figmaComponent": "Alert",
33
33
  "component": "Alert",
34
- "block": "───── CODE · ionbase-ui ─────\nimport { Alert } from 'ionbase-ui';\n<Alert intent=\"information\" emphasis=\"subtle\" layout=\"inline\">Label</Alert>\n\nPROPERTIES\n Intent → intent: Neutral=neutral, Primary=primary, Success=success, Warning=warning, Error=error, Information=information\n Emphasis → emphasis: Subtle=subtle, Solid=solid\n Layout → layout: Inline=inline, Banner=banner\n Title → title\n Show Title → title\n Message → children\n Show Icon → hideIcon\n Show Dismiss → onDismiss\n Show Actions → actions\n\nNOTES\n Show Title: false means omit title\n Show Icon: inverted — Figma's Show Icon false is hideIcon true\n Show Dismiss: the dismiss button appears when a handler is passed; there is no boolean\n Show Actions: an absent prop is the switch\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/alert/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
34
+ "block": "───── CODE · ionbase-ui ─────\nimport { Alert } from 'ionbase-ui';\n<Alert intent=\"information\" emphasis=\"subtle\" layout=\"inline\">Label</Alert>\n\nPROPERTIES\n Intent → intent: Neutral=neutral, Primary=primary, Success=success, Warning=warning, Error=error, Information=information\n Emphasis → emphasis: Subtle=subtle, Solid=solid\n Layout → layout: Inline=inline, Banner=banner\n Title → title\n Show Title → title\n Message → children\n Show Icon → hideIcon\n Show Dismiss → onDismiss\n Show Actions → actions\n\nNOTES\n Show Title: false means omit title\n Show Icon: inverted — Figma's Show Icon false is hideIcon true\n Show Dismiss: the dismiss button appears when a handler is passed; there is no boolean\n Show Actions: an absent prop is the switch\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/alert/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
35
35
  },
36
36
  "1160:423": {
37
37
  "figmaComponent": "Approval Gate",
38
38
  "component": "ApprovalGate",
39
- "block": "───── CODE · ionbase-ui ─────\nimport { ApprovalGate } from 'ionbase-ui';\n<ApprovalGate risk=\"low\" status=\"pending\" title={…}>Label</ApprovalGate>\n\nPROPERTIES\n Risk → risk: Low=low, Medium=medium, High=high\n Status → status: Pending=pending, Approved=approved, Rejected=rejected, Expired=expired\n Title → title\n Detail → children\n Show Detail → children\n Reject Label → rejectLabel\n Edit Label → editLabel\n Approve Label → approveLabel\n Show Edit → onEdit\n\nNOTES\n Show Detail: false means no children passed\n Show Edit: the Edit button renders only when onEdit is supplied\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/approval-gate/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
39
+ "block": "───── CODE · ionbase-ui ─────\nimport { ApprovalGate } from 'ionbase-ui';\n<ApprovalGate risk=\"low\" status=\"pending\" title={…}>Label</ApprovalGate>\n\nPROPERTIES\n Risk → risk: Low=low, Medium=medium, High=high\n Status → status: Pending=pending, Approved=approved, Rejected=rejected, Expired=expired\n Title → title\n Detail → children\n Show Detail → children\n Reject Label → rejectLabel\n Edit Label → editLabel\n Approve Label → approveLabel\n Show Edit → onEdit\n\nNOTES\n Show Detail: false means no children passed\n Show Edit: the Edit button renders only when onEdit is supplied\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/approval-gate/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
40
40
  },
41
41
  "74:164": {
42
42
  "figmaComponent": "Avatar",
43
43
  "component": "Avatar",
44
- "block": "───── CODE · ionbase-ui ─────\nimport { Avatar } from 'ionbase-ui';\n<Avatar size=\"lg\" shape=\"circle\" />\n\nPROPERTIES\n Size → size: Mini=mini, Small=sm, Medium=md, Large=lg\n Shape → shape: Circle=circle, Square=square\n Type → src (Image only)\n Initials → initials\n Icon → icon\n Show Ring → ring\n Show Top Indicator → topIndicator\n Show Bottom Indicator → bottomIndicator\n\nNOTES\n Type: code picks by precedence rather than a type prop: src, then initials, then icon. Character means pass initials, Icon means pass icon.\n Show Top Indicator: Figma needs a boolean because the intent lives on the nested Status Indicator instance; code takes the intent itself, so passing one is what shows the mark. The drawn instance is Intent=Primary with its check glyph, which is what `topIndicator=\"primary\"` renders.\n Show Bottom Indicator: As the top indicator — the intent comes from the nested Status Indicator, which a boolean cannot carry. The drawn instance is Intent=Success with no glyph.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/avatar/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
44
+ "block": "───── CODE · ionbase-ui ─────\nimport { Avatar } from 'ionbase-ui';\n<Avatar size=\"lg\" shape=\"circle\" />\n\nPROPERTIES\n Size → size: Mini=mini, Small=sm, Medium=md, Large=lg\n Shape → shape: Circle=circle, Square=square\n Type → src (Image only)\n Initials → initials\n Icon → icon\n Show Ring → ring\n Show Top Indicator → topIndicator\n Show Bottom Indicator → bottomIndicator\n\nNOTES\n Type: code picks by precedence rather than a type prop: src, then initials, then icon. Character means pass initials, Icon means pass icon.\n Show Top Indicator: Figma needs a boolean because the intent lives on the nested Status Indicator instance; code takes the intent itself, so passing one is what shows the mark. The drawn instance is Intent=Primary with its check glyph, which is what `topIndicator=\"primary\"` renders.\n Show Bottom Indicator: As the top indicator — the intent comes from the nested Status Indicator, which a boolean cannot carry. The drawn instance is Intent=Success with no glyph.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/avatar/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
45
45
  },
46
46
  "1054:305": {
47
47
  "figmaComponent": "Avatar Gradient",
48
48
  "component": "AvatarGradient",
49
- "block": "───── CODE · ionbase-ui ─────\nimport { AvatarGradient } from 'ionbase-ui';\n<AvatarGradient size=\"lg\" color=\"slate\" />\n\nPROPERTIES\n Size → size: Mini=mini, Small=sm, Medium=md, Large=lg\n Color → color: Slate=slate, Blue=blue, Violet=violet, Pink=pink, Orange=orange, Green=green, Red=red\n Initials → initials\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/avatar-gradient/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
49
+ "block": "───── CODE · ionbase-ui ─────\nimport { AvatarGradient } from 'ionbase-ui';\n<AvatarGradient size=\"lg\" color=\"slate\" />\n\nPROPERTIES\n Size → size: Mini=mini, Small=sm, Medium=md, Large=lg\n Color → color: Slate=slate, Blue=blue, Violet=violet, Pink=pink, Orange=orange, Green=green, Red=red\n Initials → initials\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/avatar-gradient/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
50
50
  },
51
51
  "74:279": {
52
52
  "figmaComponent": "Avatar Group",
53
53
  "component": "AvatarGroup",
54
- "block": "───── CODE · ionbase-ui ─────\nimport { AvatarGroup } from 'ionbase-ui';\n<AvatarGroup size=\"lg\" shape=\"circle\" />\n\nPROPERTIES\n Size → size: Mini=mini, Small=sm, Medium=md, Large=lg\n Shape → shape: Circle=circle, Square=square\n Show Overflow → max\n Show Avatar 3 → children\n Show Avatar 4 → children\n\nNOTES\n Show Overflow: the +N avatar appears when children exceed max\n Show Avatar 3: Figma needs a boolean per slot; React just renders fewer children\n Show Avatar 4: same\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/avatar-group/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
54
+ "block": "───── CODE · ionbase-ui ─────\nimport { AvatarGroup } from 'ionbase-ui';\n<AvatarGroup size=\"lg\" shape=\"circle\" />\n\nPROPERTIES\n Size → size: Mini=mini, Small=sm, Medium=md, Large=lg\n Shape → shape: Circle=circle, Square=square\n Show Overflow → max\n Show Avatar 3 → children\n Show Avatar 4 → children\n\nNOTES\n Show Overflow: the +N avatar appears when children exceed max\n Show Avatar 3: Figma needs a boolean per slot; React just renders fewer children\n Show Avatar 4: same\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/avatar-group/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
55
55
  },
56
56
  "152:73": {
57
57
  "figmaComponent": "Badge",
58
58
  "component": "Badge",
59
- "block": "───── CODE · ionbase-ui ─────\nimport { Badge } from 'ionbase-ui';\n<Badge intent=\"neutral\" size=\"sm\" shape=\"pill\">Label</Badge>\n\nPROPERTIES\n Intent → intent: Neutral=neutral, Primary=primary, Success=success, Warning=warning, Error=error, Information=information\n Label → children\n Show Label → children\n Show Dot → dot\n Show Icon → icon\n Swap Icon → icon\n Size → size: Small=sm, Medium=md, Large=lg\n Shape → shape: Pill=pill, Rounded=rounded\n\nNOTES\n Show Icon: false means omit icon; dot wins when both are set\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/badge/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
59
+ "block": "───── CODE · ionbase-ui ─────\nimport { Badge } from 'ionbase-ui';\n<Badge intent=\"neutral\" size=\"sm\" shape=\"pill\">Label</Badge>\n\nPROPERTIES\n Intent → intent: Neutral=neutral, Primary=primary, Success=success, Warning=warning, Error=error, Information=information\n Label → children\n Show Label → children\n Show Dot → dot\n Show Icon → icon\n Swap Icon → icon\n Size → size: Small=sm, Medium=md, Large=lg\n Shape → shape: Pill=pill, Rounded=rounded\n\nNOTES\n Show Icon: false means omit icon; dot wins when both are set\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/badge/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
60
60
  },
61
61
  "126:22724": {
62
62
  "figmaComponent": "Border",
63
63
  "component": "Divider",
64
- "block": "───── CODE · ionbase-ui ─────\nimport { Divider } from 'ionbase-ui';\n<Divider orientation=\"vertical\" />\n\nPROPERTIES\n Style → orientation: Horizontal=horizontal, Vertical=vertical\n\nFigma calls it Border; the code component is Divider, because it renders an <hr> and an <hr> is a thematic break rather than an edge.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/divider/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
64
+ "block": "───── CODE · ionbase-ui ─────\nimport { Divider } from 'ionbase-ui';\n<Divider orientation=\"vertical\" />\n\nPROPERTIES\n Style → orientation: Horizontal=horizontal, Vertical=vertical\n\nFigma calls it Border; the code component is Divider, because it renders an <hr> and an <hr> is a thematic break rather than an edge.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/divider/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
65
65
  },
66
66
  "1359:252": {
67
67
  "figmaComponent": "Breadcrumb",
68
68
  "component": "Breadcrumb",
69
- "block": "───── CODE · ionbase-ui ─────\nimport { Breadcrumb } from 'ionbase-ui';\n<Breadcrumb />\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/breadcrumb/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
69
+ "block": "───── CODE · ionbase-ui ─────\nimport { Breadcrumb } from 'ionbase-ui';\n<Breadcrumb />\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/breadcrumb/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
70
70
  },
71
71
  "1359:251": {
72
72
  "figmaComponent": "Breadcrumb Item",
73
73
  "component": "BreadcrumbItem",
74
- "block": "───── CODE · ionbase-ui ─────\nimport { BreadcrumbItem } from 'ionbase-ui';\n<BreadcrumbItem>Label</BreadcrumbItem>\n\nPROPERTIES\n Label → children\n State → isCurrent (Current only)\n\nNOTES\n Show Separator: The separator is a CSS ::before in code and never markup, so it stays out of the accessibility tree — a \"/\" in the DOM is the usual build of this component and the usual defect. Figma has no generated content, so it is drawn as a real text layer and switched off on the first crumb. A drawing convenience with no prop behind it.\n State: Default is the resting link and Hover is CSS. Only Current is a prop, because the last crumb renders as text rather than a link.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/breadcrumb-item/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
74
+ "block": "───── CODE · ionbase-ui ─────\nimport { BreadcrumbItem } from 'ionbase-ui';\n<BreadcrumbItem>Label</BreadcrumbItem>\n\nPROPERTIES\n Label → children\n State → isCurrent (Current only)\n\nNOTES\n Show Separator: The separator is a CSS ::before in code and never markup, so it stays out of the accessibility tree — a \"/\" in the DOM is the usual build of this component and the usual defect. Figma has no generated content, so it is drawn as a real text layer and switched off on the first crumb. A drawing convenience with no prop behind it.\n State: Default is the resting link and Hover is CSS. Only Current is a prop, because the last crumb renders as text rather than a link.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/breadcrumb-item/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
75
75
  },
76
76
  "21:461": {
77
77
  "figmaComponent": "Button",
78
78
  "component": "Button",
79
- "block": "───── CODE · ionbase-ui ─────\nimport { Button } from 'ionbase-ui';\n<Button variant=\"primary-brand\" size=\"sm\">Label</Button>\n\nPROPERTIES\n Type → variant: Primary Brand=primary-brand, Primary Neutral=primary-neutral, Primary Soft=primary-soft, Secondary=secondary, Tertiary=tertiary, Destructive=destructive, Success=success\n Size → size: Small=sm, Medium=md, Large=lg, XLarge=xl\n State → isDisabled (Disabled only)\n Label → children\n Leading Icon → startIcon\n Trailing Icon → endIcon\n Show Leading Icon → startIcon\n Show Trailing Icon → endIcon\n\nNOTES\n State: Default, Hover, Pressed and Focus are CSS and React Aria — :hover, :focus-visible, data-pressed — not props. Only Disabled is one.\n Leading Icon: wrap in Icon; omit Icon's label, the button text names it\n Trailing Icon: same\n Show Leading Icon: an absent prop is the switch — React needs no Show boolean, so false means omit startIcon\n Show Trailing Icon: same\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/button/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
79
+ "block": "───── CODE · ionbase-ui ─────\nimport { Button } from 'ionbase-ui';\n<Button variant=\"primary-brand\" size=\"sm\">Label</Button>\n\nPROPERTIES\n Type → variant: Primary Brand=primary-brand, Primary Neutral=primary-neutral, Primary Soft=primary-soft, Secondary=secondary, Tertiary=tertiary, Destructive=destructive, Success=success\n Size → size: Small=sm, Medium=md, Large=lg, XLarge=xl\n State → isDisabled (Disabled only)\n Label → children\n Leading Icon → startIcon\n Trailing Icon → endIcon\n Show Leading Icon → startIcon\n Show Trailing Icon → endIcon\n\nNOTES\n State: Default, Hover, Pressed and Focus are CSS and React Aria — :hover, :focus-visible, data-pressed — not props. Only Disabled is one.\n Leading Icon: wrap in Icon; omit Icon's label, the button text names it\n Trailing Icon: same\n Show Leading Icon: an absent prop is the switch — React needs no Show boolean, so false means omit startIcon\n Show Trailing Icon: same\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/button/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
80
80
  },
81
81
  "87:350": {
82
82
  "figmaComponent": "Checkbox",
83
83
  "component": "Checkbox",
84
- "block": "───── CODE · ionbase-ui ─────\nimport { Checkbox } from 'ionbase-ui';\n<Checkbox size=\"sm\" intent=\"brand\">Label</Checkbox>\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Color → intent: Brand=brand, Neutral=neutral, Danger=danger\n State → isIndeterminate (Indeterminate, Indeterminate-disabled only)\n Label → children\n Show Label → children\n\nNOTES\n State: Checked is `checked`/`defaultChecked`, and the -disabled halves are isDisabled. One Figma axis, three code props, which is why it is not a single mapping.\n Show Label: false means a bare box — and then aria-label becomes required\n Focused: a drawn focus ring. In code it is :focus-visible, which the browser owns.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/checkbox/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
84
+ "block": "───── CODE · ionbase-ui ─────\nimport { Checkbox } from 'ionbase-ui';\n<Checkbox size=\"sm\" intent=\"brand\">Label</Checkbox>\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Color → intent: Brand=brand, Neutral=neutral, Danger=danger\n State → isIndeterminate (Indeterminate, Indeterminate-disabled only)\n Label → children\n Show Label → children\n\nNOTES\n State: Checked is `checked`/`defaultChecked`, and the -disabled halves are isDisabled. One Figma axis, three code props, which is why it is not a single mapping.\n Show Label: false means a bare box — and then aria-label becomes required\n Focused: a drawn focus ring. In code it is :focus-visible, which the browser owns.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/checkbox/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
85
85
  },
86
86
  "1167:247": {
87
87
  "figmaComponent": "Citation",
88
88
  "component": "Citation",
89
- "block": "───── CODE · ionbase-ui ─────\nimport { Citation } from 'ionbase-ui';\n<Citation index={…} source={…} />\n\nPROPERTIES\n Index → index\n\nNOTES\n State: Default/Hover is :hover in code\n Focused: drawn focus ring; :focus-visible in code\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/citation/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
89
+ "block": "───── CODE · ionbase-ui ─────\nimport { Citation } from 'ionbase-ui';\n<Citation index={…} source={…} />\n\nPROPERTIES\n Index → index\n\nNOTES\n State: Default/Hover is :hover in code\n Focused: drawn focus ring; :focus-visible in code\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/citation/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
90
90
  },
91
91
  "1168:246": {
92
92
  "figmaComponent": "Citation List",
93
93
  "component": "CitationList",
94
- "block": "───── CODE · ionbase-ui ─────\nimport { CitationList } from 'ionbase-ui';\n<CitationList />\n\nPROPERTIES\n Label → label\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/citation-list/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
94
+ "block": "───── CODE · ionbase-ui ─────\nimport { CitationList } from 'ionbase-ui';\n<CitationList />\n\nPROPERTIES\n Label → label\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/citation-list/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
95
95
  },
96
96
  "1168:241": {
97
97
  "figmaComponent": "Citation List Item",
98
98
  "component": "CitationListItem",
99
- "block": "───── CODE · ionbase-ui ─────\nimport { CitationListItem } from 'ionbase-ui';\n<CitationListItem index={…} source={…}>Label</CitationListItem>\n\nPROPERTIES\n Index → index\n Source → source\n Passage → children\n Show Passage → children\n\nNOTES\n Show Passage: false means no children passed\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/citation-list-item/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
99
+ "block": "───── CODE · ionbase-ui ─────\nimport { CitationListItem } from 'ionbase-ui';\n<CitationListItem index={…} source={…}>Label</CitationListItem>\n\nPROPERTIES\n Index → index\n Source → source\n Passage → children\n Show Passage → children\n\nNOTES\n Show Passage: false means no children passed\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/citation-list-item/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
100
100
  },
101
101
  "1370:2359": {
102
102
  "figmaComponent": "Combobox",
103
103
  "component": "Combobox",
104
- "block": "───── CODE · ionbase-ui ─────\nimport { Combobox } from 'ionbase-ui';\n<Combobox size=\"sm\" options={…} label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n Value → placeholder\n\nNOTES\n State: Hover, Focus and Filled are CSS or content; Disabled is isDisabled and Read-only is isReadOnly. The same split Input records, because the field is Input’s box.\n Value: Figma’s text is whatever the field shows. In code that is `placeholder` until something is chosen; after that it is the selected option’s label, which comes from `options`.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/combobox/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
104
+ "block": "───── CODE · ionbase-ui ─────\nimport { Combobox } from 'ionbase-ui';\n<Combobox size=\"sm\" options={…} label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n Value → placeholder\n\nNOTES\n State: Hover, Focus and Filled are CSS or content; Disabled is isDisabled and Read-only is isReadOnly. The same split Input records, because the field is Input’s box.\n Value: Figma’s text is whatever the field shows. In code that is `placeholder` until something is chosen; after that it is the selected option’s label, which comes from `options`.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/combobox/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
105
105
  },
106
106
  "1166:262": {
107
107
  "figmaComponent": "Confidence Indicator",
108
108
  "component": "ConfidenceIndicator",
109
- "block": "───── CODE · ionbase-ui ─────\nimport { ConfidenceIndicator } from 'ionbase-ui';\n<ConfidenceIndicator level=\"low\" basis={…} />\n\nPROPERTIES\n Level → level: Low=low, Medium=medium, High=high\n Basis → basis\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/confidence-indicator/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
109
+ "block": "───── CODE · ionbase-ui ─────\nimport { ConfidenceIndicator } from 'ionbase-ui';\n<ConfidenceIndicator level=\"low\" basis={…} />\n\nPROPERTIES\n Level → level: Low=low, Medium=medium, High=high\n Basis → basis\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/confidence-indicator/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
110
110
  },
111
111
  "1394:536": {
112
112
  "figmaComponent": "Date Picker",
113
113
  "component": "DatePicker",
114
- "block": "───── CODE · ionbase-ui ─────\nimport { DatePicker } from 'ionbase-ui';\n<DatePicker size=\"sm\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n\nNOTES\n State: Hover, Focus and Filled are CSS or content; Disabled is isDisabled and Read-only is isReadOnly — the same split as Input, whose box this is.\n Type: Single is DatePicker; Range is DateRangePicker, which takes the same size and state props. A Figma set maps to one code component, so the range picker is reached through this axis — see codeUnmapped.DateRangePicker.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/date-picker/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
114
+ "block": "───── CODE · ionbase-ui ─────\nimport { DatePicker } from 'ionbase-ui';\n<DatePicker size=\"sm\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n\nNOTES\n State: Hover, Focus and Filled are CSS or content; Disabled is isDisabled and Read-only is isReadOnly — the same split as Input, whose box this is.\n Type: Single is DatePicker; Range is DateRangePicker, which takes the same size and state props. A Figma set maps to one code component, so the range picker is reached through this axis — see codeUnmapped.DateRangePicker.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/date-picker/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
115
115
  },
116
116
  "1453:805": {
117
117
  "figmaComponent": "Time Field",
118
118
  "component": "TimeField",
119
- "block": "───── CODE · ionbase-ui ─────\nimport { TimeField } from 'ionbase-ui';\n<TimeField size=\"sm\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n\nNOTES\n State: Hover, Focus and Filled are CSS or content; Disabled is isDisabled and Read-only is isReadOnly — the same split as Date Picker, whose box this is. The value text shows the reader’s own format; the prop is 24-hour HH:MM\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/time-field/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
119
+ "block": "───── CODE · ionbase-ui ─────\nimport { TimeField } from 'ionbase-ui';\n<TimeField size=\"sm\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n\nNOTES\n State: Hover, Focus and Filled are CSS or content; Disabled is isDisabled and Read-only is isReadOnly — the same split as Date Picker, whose box this is. The value text shows the reader’s own format; the prop is 24-hour HH:MM\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/time-field/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
120
120
  },
121
121
  "1365:2404": {
122
122
  "figmaComponent": "Drawer",
123
123
  "component": "Drawer",
124
- "block": "───── CODE · ionbase-ui ─────\nimport { Drawer } from 'ionbase-ui';\n<Drawer placement=\"start\" size=\"sm\" title={…} />\n\nPROPERTIES\n Placement → placement: Start=start, End=end, Top=top, Bottom=bottom\n Size → size: Small=sm, Medium=md, Large=lg\n Title → title\n Description → description\n Show Description → description\n Show Close → showClose\n Show Footer → footer\n\nNOTES\n Show Description: false means description is omitted\n Show Footer: false means footer is omitted\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/drawer/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
124
+ "block": "───── CODE · ionbase-ui ─────\nimport { Drawer } from 'ionbase-ui';\n<Drawer placement=\"start\" size=\"sm\" title={…} />\n\nPROPERTIES\n Placement → placement: Start=start, End=end, Top=top, Bottom=bottom\n Size → size: Small=sm, Medium=md, Large=lg\n Title → title\n Description → description\n Show Description → description\n Show Close → showClose\n Show Footer → footer\n\nNOTES\n Show Description: false means description is omitted\n Show Footer: false means footer is omitted\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/drawer/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
125
125
  },
126
126
  "1334:2294": {
127
127
  "figmaComponent": "Empty State",
128
128
  "component": "EmptyState",
129
- "block": "───── CODE · ionbase-ui ─────\nimport { EmptyState } from 'ionbase-ui';\n<EmptyState size=\"inline\" reason=\"first-run\" title={…} />\n\nPROPERTIES\n Size → size: Inline=inline, Panel=panel, Page=page\n Reason → reason: No Results=no-results, First Run=first-run, No Access=no-access, Error=error\n Title → title\n Description → description\n Show Description → description\n Show Icon → icon\n Show Actions → action\n\nNOTES\n Show Description: an absent prop is the switch\n Show Icon: the mark renders when a node is passed; there is no boolean, and reason picks the tint rather than the glyph\n Show Actions: the row appears when action or secondaryAction is passed; there is no boolean\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/empty-state/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
129
+ "block": "───── CODE · ionbase-ui ─────\nimport { EmptyState } from 'ionbase-ui';\n<EmptyState size=\"inline\" reason=\"first-run\" title={…} />\n\nPROPERTIES\n Size → size: Inline=inline, Panel=panel, Page=page\n Reason → reason: No Results=no-results, First Run=first-run, No Access=no-access, Error=error\n Title → title\n Description → description\n Show Description → description\n Show Icon → icon\n Show Actions → action\n\nNOTES\n Show Description: an absent prop is the switch\n Show Icon: the mark renders when a node is passed; there is no boolean, and reason picks the tint rather than the glyph\n Show Actions: the row appears when action or secondaryAction is passed; there is no boolean\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/empty-state/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
130
130
  },
131
131
  "1367:2333": {
132
132
  "figmaComponent": "File Upload",
133
133
  "component": "FileUpload",
134
- "block": "───── CODE · ionbase-ui ─────\nimport { FileUpload } from 'ionbase-ui';\n<FileUpload size=\"md\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md\n State → isInvalid (Invalid only)\n Prompt → prompt\n Hint → hint\n Show Hint → hint\n\nNOTES\n State: Hover and Dragging are CSS; Disabled is isDisabled. Dragging has no prop at all — it is a pointer state the browser owns.\n Show Hint: false means hint is omitted\n Icon: The upload glyph is inlined in the component, like Select’s chevron: it is part of the control rather than a slot a caller fills, so there is no prop to swap it. The INSTANCE_SWAP exists so a designer can substitute it in a mock without detaching.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/file-upload/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
134
+ "block": "───── CODE · ionbase-ui ─────\nimport { FileUpload } from 'ionbase-ui';\n<FileUpload size=\"md\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md\n State → isInvalid (Invalid only)\n Prompt → prompt\n Hint → hint\n Show Hint → hint\n\nNOTES\n State: Hover and Dragging are CSS; Disabled is isDisabled. Dragging has no prop at all — it is a pointer state the browser owns.\n Show Hint: false means hint is omitted\n Icon: The upload glyph is inlined in the component, like Select’s chevron: it is part of the control rather than a slot a caller fills, so there is no prop to swap it. The INSTANCE_SWAP exists so a designer can substitute it in a mock without detaching.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/file-upload/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
135
135
  },
136
136
  "1441:294": {
137
137
  "figmaComponent": "Card",
138
138
  "component": "Card",
139
- "block": "───── CODE · ionbase-ui ─────\nimport { Card } from 'ionbase-ui';\n<Card intent=\"default\" />\n\nPROPERTIES\n Intent → intent: Default=default, Danger=danger\n Title → title\n Show Header → title\n Description → description\n Show Description → description\n Action → action\n Show Action → action\n Show Body → children\n\nNOTES\n Show Header: false hides the whole title row. In code, omit title: the card renders a <div> rather than a named <section>, and description goes with it\n Show Description: false means description is omitted\n Action: a standalone Link in the design; a small Button also fits. One control only\n Show Action: false means action is omitted\n Show Body: the body frame is a placeholder; in code the card’s children follow the title row\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/card/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
139
+ "block": "───── CODE · ionbase-ui ─────\nimport { Card } from 'ionbase-ui';\n<Card intent=\"default\" />\n\nPROPERTIES\n Intent → intent: Default=default, Danger=danger\n Title → title\n Show Header → title\n Description → description\n Show Description → description\n Action → action\n Show Action → action\n Show Body → children\n\nNOTES\n Show Header: false hides the whole title row. In code, omit title: the card renders a <div> rather than a named <section>, and description goes with it\n Show Description: false means description is omitted\n Action: a standalone Link in the design; a small Button also fits. One control only\n Show Action: false means action is omitted\n Show Body: the body frame is a placeholder; in code the card’s children follow the title row\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/card/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
140
140
  },
141
141
  "592:857": {
142
142
  "figmaComponent": "Full Card",
143
143
  "component": "FullCard",
144
- "block": "───── CODE · ionbase-ui ─────\nimport { FullCard } from 'ionbase-ui';\n<FullCard alignment=\"right\" headline={…} />\n\nPROPERTIES\n Row Reverse → alignment: True=left, False=right\n Headline → headline\n Description → description\n Show Description → description\n Eyebrow → eyebrow\n Show Eyebrow → eyebrow\n Actions → actions\n Show Actions → actions\n Media → media\n\nNOTES\n Row Reverse: Figma's boolean reverses the row; the code prop names which side the MEDIA sits on\n Media: pass the screenshot itself — the component draws the frame\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/full-card/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
144
+ "block": "───── CODE · ionbase-ui ─────\nimport { FullCard } from 'ionbase-ui';\n<FullCard alignment=\"right\" headline={…} />\n\nPROPERTIES\n Row Reverse → alignment: True=left, False=right\n Headline → headline\n Description → description\n Show Description → description\n Eyebrow → eyebrow\n Show Eyebrow → eyebrow\n Actions → actions\n Show Actions → actions\n Media → media\n\nNOTES\n Row Reverse: Figma's boolean reverses the row; the code prop names which side the MEDIA sits on\n Media: pass the screenshot itself — the component draws the frame\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/full-card/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
145
145
  },
146
146
  "69:335": {
147
147
  "figmaComponent": "Header",
148
148
  "component": "Header",
149
- "block": "───── CODE · ionbase-ui ─────\nimport { Header } from 'ionbase-ui';\n<Header />\n\nPROPERTIES\n Device → open (Mobile-Open, Mobile-Closed only)\n Center Slot → center\n End Slot → end\n Show Center Slot → center\n Show End Slot → end\n\nNOTES\n Device: Figma spells one four-way axis; code splits it in two. Desktop/Tablet/Mobile is a media query the browser already answers, and only Open/Closed is a prop.\n End Slot: a duplicate slot in the Figma component\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/header/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
149
+ "block": "───── CODE · ionbase-ui ─────\nimport { Header } from 'ionbase-ui';\n<Header />\n\nPROPERTIES\n Device → open (Mobile-Open, Mobile-Closed only)\n Center Slot → center\n End Slot → end\n Show Center Slot → center\n Show End Slot → end\n\nNOTES\n Device: Figma spells one four-way axis; code splits it in two. Desktop/Tablet/Mobile is a media query the browser already answers, and only Open/Closed is a prop.\n End Slot: a duplicate slot in the Figma component\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/header/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
150
150
  },
151
151
  "623:151": {
152
152
  "figmaComponent": "Icon Button",
153
153
  "component": "Button",
154
- "block": "───── CODE · ionbase-ui ─────\nimport { Button } from 'ionbase-ui';\n<Button variant=\"primary-brand\" size=\"sm\" aria-label=\"…\" />\n\nPROPERTIES\n Type → variant: Primary Brand=primary-brand, Primary Neutral=primary-neutral, Primary Soft=primary-soft, Secondary=secondary, Tertiary=tertiary, Destructive=destructive, Success=success\n Size → size: Small=sm, Medium=md, Large=lg, XLarge=xl\n State → isDisabled (Disabled only)\n Icon → startIcon\n\nNot a separate component in code: an icon-only Button. It is the one case where aria-label is required, because there is no text to name it.\n\nNOTES\n State: as Button\n Icon: with Icon's own label omitted — the Button's aria-label carries the name\n Shape: Figma draws a square and a circle variant; code has no shape prop. A round icon button is a className, not an API.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/button/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
154
+ "block": "───── CODE · ionbase-ui ─────\nimport { Button } from 'ionbase-ui';\n<Button variant=\"primary-brand\" size=\"sm\" aria-label=\"…\" />\n\nPROPERTIES\n Type → variant: Primary Brand=primary-brand, Primary Neutral=primary-neutral, Primary Soft=primary-soft, Secondary=secondary, Tertiary=tertiary, Destructive=destructive, Success=success\n Size → size: Small=sm, Medium=md, Large=lg, XLarge=xl\n State → isDisabled (Disabled only)\n Icon → startIcon\n\nNot a separate component in code: an icon-only Button. It is the one case where aria-label is required, because there is no text to name it.\n\nNOTES\n State: as Button\n Icon: with Icon's own label omitted — the Button's aria-label carries the name\n Shape: Figma draws a square and a circle variant; code has no shape prop. A round icon button is a className, not an API.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/button/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
155
155
  },
156
156
  "80:275": {
157
157
  "figmaComponent": "Input",
158
158
  "component": "Input",
159
- "block": "───── CODE · ionbase-ui ─────\nimport { Input } from 'ionbase-ui';\n<Input size=\"lg\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n Value → value\n Leading Icon → leadingIcon\n Trailing Icon → trailingIcon\n Show Leading Icon → leadingIcon\n Show Trailing Icon → trailingIcon\n\nNOTES\n State: Hover, Focus and Filled are CSS or content. Disabled is isDisabled, Read-only is isReadOnly — both react-aria props rather than this axis.\n Value: or defaultValue when uncontrolled; Figma's text is placeholder content, not necessarily a value\n Show Leading Icon: false means omit the prop\n Show Trailing Icon: false means omit the prop\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/input/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
159
+ "block": "───── CODE · ionbase-ui ─────\nimport { Input } from 'ionbase-ui';\n<Input size=\"lg\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n Value → value\n Leading Icon → leadingIcon\n Trailing Icon → trailingIcon\n Show Leading Icon → leadingIcon\n Show Trailing Icon → trailingIcon\n\nNOTES\n State: Hover, Focus and Filled are CSS or content. Disabled is isDisabled, Read-only is isReadOnly — both react-aria props rather than this axis.\n Value: or defaultValue when uncontrolled; Figma's text is placeholder content, not necessarily a value\n Show Leading Icon: false means omit the prop\n Show Trailing Icon: false means omit the prop\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/input/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
160
160
  },
161
161
  "80:372": {
162
162
  "figmaComponent": "Input/Phone",
163
163
  "component": "PhoneInput",
164
- "block": "───── CODE · ionbase-ui ─────\nimport { PhoneInput } from 'ionbase-ui';\n<PhoneInput size=\"lg\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Dial Code → dialCode\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/phone-input/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
164
+ "block": "───── CODE · ionbase-ui ─────\nimport { PhoneInput } from 'ionbase-ui';\n<PhoneInput size=\"lg\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Dial Code → dialCode\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/phone-input/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
165
165
  },
166
166
  "774:1516": {
167
167
  "figmaComponent": "Link",
168
168
  "component": "Link",
169
- "block": "───── CODE · ionbase-ui ─────\nimport { Link } from 'ionbase-ui';\n<Link variant=\"inline\">Label</Link>\n\nPROPERTIES\n Type → variant: Inline=inline, Standalone=standalone\n State → isDisabled (Disabled only)\n Label → children\n Leading Icon → startIcon\n Trailing Icon → endIcon\n Show Leading Icon → startIcon\n Show Trailing Icon → endIcon\n\nNOTES\n State: Hover and Focus are CSS; Visited is :visited, which no prop can set\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/link/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
169
+ "block": "───── CODE · ionbase-ui ─────\nimport { Link } from 'ionbase-ui';\n<Link variant=\"inline\">Label</Link>\n\nPROPERTIES\n Type → variant: Inline=inline, Standalone=standalone\n State → isDisabled (Disabled only)\n Label → children\n Leading Icon → startIcon\n Trailing Icon → endIcon\n Show Leading Icon → startIcon\n Show Trailing Icon → endIcon\n\nNOTES\n State: Hover and Focus are CSS; Visited is :visited, which no prop can set\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/link/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
170
170
  },
171
171
  "52:21369": {
172
172
  "figmaComponent": "Logo-Ionbase",
173
173
  "component": "Logo",
174
- "block": "───── CODE · ionbase-ui ─────\nimport { Logo } from 'ionbase-ui';\n<Logo size=\"sm\" wordmark=\"vector\" />\n\nPROPERTIES\n Size → size: Small=sm, Large=lg\n Type → wordmark: Logo=vector, Icon=text\n\nNOTES\n Type: the names invert: Figma's Logo is the serif vector wordmark, Figma's Icon is live Host Grotesk text\n Property: the Name axis renders placeholder text in an unbound colour — leftover debug content, not a real asset. LogoMark covers the no-wordmark case.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/logo/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
174
+ "block": "───── CODE · ionbase-ui ─────\nimport { Logo } from 'ionbase-ui';\n<Logo size=\"sm\" wordmark=\"vector\" />\n\nPROPERTIES\n Size → size: Small=sm, Large=lg\n Type → wordmark: Logo=vector, Icon=text\n\nNOTES\n Type: the names invert: Figma's Logo is the serif vector wordmark, Figma's Icon is live Host Grotesk text\n Property: the Name axis renders placeholder text in an unbound colour — leftover debug content, not a real asset. LogoMark covers the no-wordmark case.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/logo/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
175
175
  },
176
176
  "82:306": {
177
177
  "figmaComponent": "Menu",
178
178
  "component": "Menu",
179
- "block": "───── CODE · ionbase-ui ─────\nimport { Menu } from 'ionbase-ui';\n<Menu />\n\nNOTES\n Type: Single and Multi describe how many items may be selected, which is the caller's state. Menu renders the surface and holds no selection of its own.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/menu/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
179
+ "block": "───── CODE · ionbase-ui ─────\nimport { Menu } from 'ionbase-ui';\n<Menu />\n\nNOTES\n Type: Single and Multi describe how many items may be selected, which is the caller's state. Menu renders the surface and holds no selection of its own.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/menu/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
180
180
  },
181
181
  "639:2634": {
182
182
  "figmaComponent": "Menu Item",
183
183
  "component": "MenuItem",
184
- "block": "───── CODE · ionbase-ui ─────\nimport { MenuItem } from 'ionbase-ui';\n<MenuItem>Label</MenuItem>\n\nPROPERTIES\n Status → isSelected (Selected, Selected Primary only)\n Text → children\n Show Icon → icon\n Select Icon → icon\n\nNOTES\n Status: Hover is CSS. Selected Primary is a second selected styling Figma draws and code does not yet ship.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/menu-item/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
184
+ "block": "───── CODE · ionbase-ui ─────\nimport { MenuItem } from 'ionbase-ui';\n<MenuItem>Label</MenuItem>\n\nPROPERTIES\n Status → isSelected (Selected, Selected Primary only)\n Text → children\n Show Icon → icon\n Select Icon → icon\n\nNOTES\n Status: Hover is CSS. Selected Primary is a second selected styling Figma draws and code does not yet ship.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/menu-item/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
185
185
  },
186
186
  "792:1537": {
187
187
  "figmaComponent": "Modal",
188
188
  "component": "Modal",
189
- "block": "───── CODE · ionbase-ui ─────\nimport { Modal } from 'ionbase-ui';\n<Modal size=\"sm\" align=\"left\" title={…} />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg, Fullscreen=fullscreen\n Align → align: Left=left, Center=center\n Title → title\n Description → description\n Show Description → description\n Show Close → showClose\n Show Body → children\n Show Footer → footer\n Show Media → media\n Media → media\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/modal/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
189
+ "block": "───── CODE · ionbase-ui ─────\nimport { Modal } from 'ionbase-ui';\n<Modal size=\"sm\" align=\"left\" title={…} />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg, Fullscreen=fullscreen\n Align → align: Left=left, Center=center\n Title → title\n Description → description\n Show Description → description\n Show Close → showClose\n Show Body → children\n Show Footer → footer\n Show Media → media\n Media → media\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/modal/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
190
190
  },
191
191
  "53:13": {
192
192
  "figmaComponent": "Nav Item",
193
193
  "component": "NavItem",
194
- "block": "───── CODE · ionbase-ui ─────\nimport { NavItem } from 'ionbase-ui';\n<NavItem>Label</NavItem>\n\nPROPERTIES\n State → isCurrent (Current only)\n Label → children\n Icon → icon\n Show Chevron → showChevron\n\nNOTES\n State: Default and Hover are CSS and React Aria useHover, not props.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/nav-item/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
194
+ "block": "───── CODE · ionbase-ui ─────\nimport { NavItem } from 'ionbase-ui';\n<NavItem>Label</NavItem>\n\nPROPERTIES\n State → isCurrent (Current only)\n Label → children\n Icon → icon\n Show Chevron → showChevron\n\nNOTES\n State: Default and Hover are CSS and React Aria useHover, not props.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/nav-item/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
195
195
  },
196
196
  "1389:473": {
197
197
  "figmaComponent": "Number Input",
198
198
  "component": "NumberInput",
199
- "block": "───── CODE · ionbase-ui ─────\nimport { NumberInput } from 'ionbase-ui';\n<NumberInput size=\"sm\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n Stepper → showStepper\n Value → value\n\nNOTES\n State: Hover, Focus and Filled are CSS or content; Disabled is isDisabled and Read-only is isReadOnly. The same split Input records, because the box is Input’s.\n Value: A number in code; Figma’s text is its formatted display, and the placeholder until one is entered.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/number-input/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
199
+ "block": "───── CODE · ionbase-ui ─────\nimport { NumberInput } from 'ionbase-ui';\n<NumberInput size=\"sm\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n Stepper → showStepper\n Value → value\n\nNOTES\n State: Hover, Focus and Filled are CSS or content; Disabled is isDisabled and Read-only is isReadOnly. The same split Input records, because the box is Input’s.\n Value: A number in code; Figma’s text is its formatted display, and the placeholder until one is entered.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/number-input/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
200
200
  },
201
201
  "1291:503": {
202
202
  "figmaComponent": "Pagination",
203
203
  "component": "Pagination",
204
- "block": "───── CODE · ionbase-ui ─────\nimport { Pagination } from 'ionbase-ui';\n<Pagination type=\"numbered\" size=\"sm\" page={…} pageCount={…} aria-label=\"…\" />\n\nPROPERTIES\n Type → type: Numbered=numbered, Simple=simple\n Size → size: Small=sm, Medium=md, Large=lg\n Show Page Size → showPageSize\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/pagination/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
204
+ "block": "───── CODE · ionbase-ui ─────\nimport { Pagination } from 'ionbase-ui';\n<Pagination type=\"numbered\" size=\"sm\" page={…} pageCount={…} aria-label=\"…\" />\n\nPROPERTIES\n Type → type: Numbered=numbered, Simple=simple\n Size → size: Small=sm, Medium=md, Large=lg\n Show Page Size → showPageSize\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/pagination/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
205
205
  },
206
206
  "825:1853": {
207
207
  "figmaComponent": "Popover",
208
208
  "component": "Popover",
209
- "block": "───── CODE · ionbase-ui ─────\nimport { Popover } from 'ionbase-ui';\n<Popover placement=\"bottom\" size=\"sm\">…</Popover>\n\nPROPERTIES\n Placement → placement: Top=top, Bottom=bottom, Left=left, Right=right\n Size → size: Small=sm, Medium=md, Large=lg\n Title → title\n Show Header → title\n Body → content\n Show Body → content\n Show Close → showClose\n Show Footer → footer\n Show Arrow → hideArrow\n\nNOTES\n Show Arrow: inverted — Show Arrow false is hideArrow true\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/popover/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
209
+ "block": "───── CODE · ionbase-ui ─────\nimport { Popover } from 'ionbase-ui';\n<Popover placement=\"bottom\" size=\"sm\">…</Popover>\n\nPROPERTIES\n Placement → placement: Top=top, Bottom=bottom, Left=left, Right=right\n Size → size: Small=sm, Medium=md, Large=lg\n Title → title\n Show Header → title\n Body → content\n Show Body → content\n Show Close → showClose\n Show Footer → footer\n Show Arrow → hideArrow\n\nNOTES\n Show Arrow: inverted — Show Arrow false is hideArrow true\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/popover/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
210
210
  },
211
211
  "1344:331": {
212
212
  "figmaComponent": "Progress Bar",
213
213
  "component": "ProgressBar",
214
- "block": "───── CODE · ionbase-ui ─────\nimport { ProgressBar } from 'ionbase-ui';\n<ProgressBar intent=\"primary\" size=\"md\" label={…} />\n\nPROPERTIES\n Intent → intent: Primary=primary, Success=success, Warning=warning, Error=error\n Size → size: Small=sm, Medium=md\n Type → value\n Label → label\n Value → valueText\n Show Label → isLabelVisible\n Show Value → isValueVisible\n\nNOTES\n Type: not a prop value. Determinate means `value` was passed; Indeterminate means it was omitted, which is also what drops aria-valuenow. There is no `type` prop in code, and adding one would make the state settable independently of the number it describes\n Value: the Figma text is a sample percentage; in code `valueText` REPLACES the computed percentage and is what a screen reader speaks\n Show Value: bound only on the Determinate variants — an indeterminate bar has no percentage to reveal\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/progress-bar/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
214
+ "block": "───── CODE · ionbase-ui ─────\nimport { ProgressBar } from 'ionbase-ui';\n<ProgressBar intent=\"primary\" size=\"md\" label={…} />\n\nPROPERTIES\n Intent → intent: Primary=primary, Success=success, Warning=warning, Error=error\n Size → size: Small=sm, Medium=md\n Type → value\n Label → label\n Value → valueText\n Show Label → isLabelVisible\n Show Value → isValueVisible\n\nNOTES\n Type: not a prop value. Determinate means `value` was passed; Indeterminate means it was omitted, which is also what drops aria-valuenow. There is no `type` prop in code, and adding one would make the state settable independently of the number it describes\n Value: the Figma text is a sample percentage; in code `valueText` REPLACES the computed percentage and is what a screen reader speaks\n Show Value: bound only on the Determinate variants — an indeterminate bar has no percentage to reveal\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/progress-bar/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
215
215
  },
216
216
  "1393:387": {
217
217
  "figmaComponent": "Prompt Input",
218
218
  "component": "PromptInput",
219
- "block": "───── CODE · ionbase-ui ─────\nimport { PromptInput } from 'ionbase-ui';\n<PromptInput isRunning=\"false\" label={…} />\n\nPROPERTIES\n State → isDisabled (Disabled only)\n Running → isRunning: True=true, False=false\n Value → value\n Show Actions → actions\n\nNOTES\n State: Hover and Focus are CSS. Filled is content — a non-empty value — and is the only state in which send is live.\n Running: with onStop, which is what swaps send for AgentStop\n Value: Figma’s text is whatever the field shows: the placeholder until something is typed, then the value.\n Show Actions: false means actions is omitted; the attach button drawn there is an example, not part of the component\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/prompt-input/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
219
+ "block": "───── CODE · ionbase-ui ─────\nimport { PromptInput } from 'ionbase-ui';\n<PromptInput isRunning=\"false\" label={…} />\n\nPROPERTIES\n State → isDisabled (Disabled only)\n Running → isRunning: True=true, False=false\n Value → value\n Show Actions → actions\n\nNOTES\n State: Hover and Focus are CSS. Filled is content — a non-empty value — and is the only state in which send is live.\n Running: with onStop, which is what swaps send for AgentStop\n Value: Figma’s text is whatever the field shows: the placeholder until something is typed, then the value.\n Show Actions: false means actions is omitted; the attach button drawn there is an example, not part of the component\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/prompt-input/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
220
220
  },
221
221
  "89:314": {
222
222
  "figmaComponent": "Radio",
223
223
  "component": "Radio",
224
- "block": "───── CODE · ionbase-ui ─────\nimport { Radio } from 'ionbase-ui';\n<Radio size=\"lg\" intent=\"brand\" value={…}>Label</Radio>\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Color → intent: Brand=brand, Neutral=neutral, Danger=danger\n Label → children\n Show Label → children\n\nNOTES\n State: Selected/Unselected is the RadioGroup's value, not a prop on the Radio — a radio cannot own its own selection\n Show Label: false means aria-label is required\n Focused: drawn focus ring; :focus-visible in code\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/radio/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
224
+ "block": "───── CODE · ionbase-ui ─────\nimport { Radio } from 'ionbase-ui';\n<Radio size=\"lg\" intent=\"brand\" value={…}>Label</Radio>\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Color → intent: Brand=brand, Neutral=neutral, Danger=danger\n Label → children\n Show Label → children\n\nNOTES\n State: Selected/Unselected is the RadioGroup's value, not a prop on the Radio — a radio cannot own its own selection\n Show Label: false means aria-label is required\n Focused: drawn focus ring; :focus-visible in code\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/radio/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
225
225
  },
226
226
  "1390:435": {
227
227
  "figmaComponent": "Segmented Control",
228
228
  "component": "SegmentedControl",
229
- "block": "───── CODE · ionbase-ui ─────\nimport { SegmentedControl } from 'ionbase-ui';\n<SegmentedControl size=\"sm\" isFullWidth=\"false\" label={…} />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Full Width → isFullWidth: True=true, False=false\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/segmented-control/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
229
+ "block": "───── CODE · ionbase-ui ─────\nimport { SegmentedControl } from 'ionbase-ui';\n<SegmentedControl size=\"sm\" isFullWidth=\"false\" label={…} />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Full Width → isFullWidth: True=true, False=false\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/segmented-control/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
230
230
  },
231
231
  "1390:332": {
232
232
  "figmaComponent": "Segmented Control Item",
233
233
  "component": "SegmentedControlItem",
234
- "block": "───── CODE · ionbase-ui ─────\nimport { SegmentedControlItem } from 'ionbase-ui';\n<SegmentedControlItem value={…}>Label</SegmentedControlItem>\n\nPROPERTIES\n Label → children\n Show Icon → icon\n Icon → icon\n State → isDisabled (Disabled, Selected-Disabled only)\n\nNOTES\n Show Icon: false means icon is omitted\n Size: set on the parent SegmentedControl, not per item\n State: Default and Hover are CSS. Selected is the parent SegmentedControl’s value — the item never owns selection, the same split Tabs Item records.\n Focused: drawn focus ring; :focus-visible in code\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/segmented-control-item/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
234
+ "block": "───── CODE · ionbase-ui ─────\nimport { SegmentedControlItem } from 'ionbase-ui';\n<SegmentedControlItem value={…}>Label</SegmentedControlItem>\n\nPROPERTIES\n Label → children\n Show Icon → icon\n Icon → icon\n State → isDisabled (Disabled, Selected-Disabled only)\n\nNOTES\n Show Icon: false means icon is omitted\n Size: set on the parent SegmentedControl, not per item\n State: Default and Hover are CSS. Selected is the parent SegmentedControl’s value — the item never owns selection, the same split Tabs Item records.\n Focused: drawn focus ring; :focus-visible in code\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/segmented-control-item/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
235
235
  },
236
236
  "82:379": {
237
237
  "figmaComponent": "Select",
238
238
  "component": "Select",
239
- "block": "───── CODE · ionbase-ui ─────\nimport { Select } from 'ionbase-ui';\n<Select size=\"lg\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n Value → placeholder\n\nNOTES\n State: Hover, Focus and Filled are CSS or content; Disabled is isDisabled\n Value: Figma's text is the collapsed display value. In code that is `placeholder` when nothing is chosen; once something is, the label comes from the `options` array.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/select/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
239
+ "block": "───── CODE · ionbase-ui ─────\nimport { Select } from 'ionbase-ui';\n<Select size=\"lg\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n Value → placeholder\n\nNOTES\n State: Hover, Focus and Filled are CSS or content; Disabled is isDisabled\n Value: Figma's text is the collapsed display value. In code that is `placeholder` when nothing is chosen; once something is, the label comes from the `options` array.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/select/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
240
240
  },
241
241
  "1418:260": {
242
242
  "figmaComponent": "Setting Row",
243
243
  "component": "SettingRow",
244
- "block": "───── CODE · ionbase-ui ─────\nimport { SettingRow } from 'ionbase-ui';\n<SettingRow label={…}>…</SettingRow>\n\nPROPERTIES\n Label → label\n Description → description\n Show Description → description\n Control → children\n\nNOTES\n Show Description: false means description is omitted\n Control: the control is the row’s child; in code it is named and described by the row automatically, so turn its own label off in Figma too\n Layout: not a prop: the row stacks below 30rem of its own width through a container query, the same call Header makes for its Device axis\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/setting-row/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
244
+ "block": "───── CODE · ionbase-ui ─────\nimport { SettingRow } from 'ionbase-ui';\n<SettingRow label={…}>…</SettingRow>\n\nPROPERTIES\n Label → label\n Description → description\n Show Description → description\n Control → children\n\nNOTES\n Show Description: false means description is omitted\n Control: the control is the row’s child; in code it is named and described by the row automatically, so turn its own label off in Figma too\n Layout: not a prop: the row stacks below 30rem of its own width through a container query, the same call Header makes for its Device axis\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/setting-row/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
245
245
  },
246
246
  "1396:502": {
247
247
  "figmaComponent": "Sidebar",
248
248
  "component": "Sidebar",
249
- "block": "───── CODE · ionbase-ui ─────\nimport { Sidebar } from 'ionbase-ui';\n<Sidebar label={…} />\n\nPROPERTIES\n Show Header → header\n Show Footer → footer\n\nNOTES\n Show Header: false means header is omitted; the logo drawn there is an example\n Show Footer: false means footer is omitted; the Settings row drawn there is an example\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/sidebar/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
249
+ "block": "───── CODE · ionbase-ui ─────\nimport { Sidebar } from 'ionbase-ui';\n<Sidebar label={…} />\n\nPROPERTIES\n Show Header → header\n Show Footer → footer\n\nNOTES\n Show Header: false means header is omitted; the logo drawn there is an example\n Show Footer: false means footer is omitted; the Settings row drawn there is an example\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/sidebar/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
250
250
  },
251
251
  "1396:412": {
252
252
  "figmaComponent": "Sidebar Item",
253
253
  "component": "SidebarItem",
254
- "block": "───── CODE · ionbase-ui ─────\nimport { SidebarItem } from 'ionbase-ui';\n<SidebarItem isExpanded=\"false\" label={…} />\n\nPROPERTIES\n State → isCurrent (Current, Current-Hover only)\n Has Children → children (True only)\n Expanded → isExpanded: True=true, False=false\n Label → label\n Show Icon → icon\n Icon → icon\n Show Badge → badge\n Badge → badge\n Actions Visible → actions\n\nNOTES\n State: Default and Hover are CSS; Disabled is isDisabled.\n Has Children: True means nested SidebarItems are passed as children; Figma draws them as sibling instances indented 16px.\n Expanded: or defaultExpanded; only meaningful with children\n Show Icon: false means icon is omitted\n Show Badge: false means badge is omitted\n Actions Visible: code renders them always but reveals them on hover and focus (always on touch); Figma shows or hides them\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/sidebar-item/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
254
+ "block": "───── CODE · ionbase-ui ─────\nimport { SidebarItem } from 'ionbase-ui';\n<SidebarItem isExpanded=\"false\" label={…} />\n\nPROPERTIES\n State → isCurrent (Current, Current-Hover only)\n Has Children → children (True only)\n Expanded → isExpanded: True=true, False=false\n Label → label\n Show Icon → icon\n Icon → icon\n Show Badge → badge\n Badge → badge\n Actions Visible → actions\n\nNOTES\n State: Default and Hover are CSS; Disabled is isDisabled.\n Has Children: True means nested SidebarItems are passed as children; Figma draws them as sibling instances indented 16px.\n Expanded: or defaultExpanded; only meaningful with children\n Show Icon: false means icon is omitted\n Show Badge: false means badge is omitted\n Actions Visible: code renders them always but reveals them on hover and focus (always on touch); Figma shows or hides them\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/sidebar-item/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
255
255
  },
256
256
  "1396:501": {
257
257
  "figmaComponent": "Sidebar Section",
258
258
  "component": "SidebarSection",
259
- "block": "───── CODE · ionbase-ui ─────\nimport { SidebarSection } from 'ionbase-ui';\n<SidebarSection isExpanded=\"true\" />\n\nPROPERTIES\n Title → title\n Collapsible → isCollapsible\n Collapsed → isExpanded: False=true, True=false\n Show Actions → actions\n\nNOTES\n Collapsed: the names invert: Figma says Collapsed, code says isExpanded (or defaultExpanded)\n Show Actions: false means actions is omitted\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/sidebar-section/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
259
+ "block": "───── CODE · ionbase-ui ─────\nimport { SidebarSection } from 'ionbase-ui';\n<SidebarSection isExpanded=\"true\" />\n\nPROPERTIES\n Title → title\n Collapsible → isCollapsible\n Collapsed → isExpanded: False=true, True=false\n Show Actions → actions\n\nNOTES\n Collapsed: the names invert: Figma says Collapsed, code says isExpanded (or defaultExpanded)\n Show Actions: false means actions is omitted\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/sidebar-section/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
260
260
  },
261
261
  "1345:248": {
262
262
  "figmaComponent": "Skeleton",
263
263
  "component": "Skeleton",
264
- "block": "───── CODE · ionbase-ui ─────\nimport { Skeleton } from 'ionbase-ui';\n<Skeleton variant=\"text\" />\n\nPROPERTIES\n Variant → variant: Text=text, Circle=circle, Rect=rect\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/skeleton/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
264
+ "block": "───── CODE · ionbase-ui ─────\nimport { Skeleton } from 'ionbase-ui';\n<Skeleton variant=\"text\" />\n\nPROPERTIES\n Variant → variant: Text=text, Circle=circle, Rect=rect\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/skeleton/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
265
265
  },
266
266
  "1341:258": {
267
267
  "figmaComponent": "Spinner",
268
268
  "component": "Spinner",
269
- "block": "───── CODE · ionbase-ui ─────\nimport { Spinner } from 'ionbase-ui';\n<Spinner size=\"md\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Label → label\n Show Label → isLabelVisible\n\nNOTES\n Show Label: controls only whether the label is VISIBLE. The label is announced either way — turning this off in Figma does not remove it from the accessibility tree, and `isDecorative` is the prop that silences the component\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/spinner/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
269
+ "block": "───── CODE · ionbase-ui ─────\nimport { Spinner } from 'ionbase-ui';\n<Spinner size=\"md\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Label → label\n Show Label → isLabelVisible\n\nNOTES\n Show Label: controls only whether the label is VISIBLE. The label is announced either way — turning this off in Figma does not remove it from the accessibility tree, and `isDecorative` is the prop that silences the component\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/spinner/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
270
270
  },
271
271
  "1412:344": {
272
272
  "figmaComponent": "Stat Group",
273
273
  "component": "StatGroup",
274
- "block": "───── CODE · ionbase-ui ─────\nimport { StatGroup } from 'ionbase-ui';\n<StatGroup />\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/stat-group/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
274
+ "block": "───── CODE · ionbase-ui ─────\nimport { StatGroup } from 'ionbase-ui';\n<StatGroup />\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/stat-group/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
275
275
  },
276
276
  "1412:343": {
277
277
  "figmaComponent": "Stat Tile",
278
278
  "component": "StatTile",
279
- "block": "───── CODE · ionbase-ui ─────\nimport { StatTile } from 'ionbase-ui';\n<StatTile isLoading=\"false\" label={…} value={…} />\n\nPROPERTIES\n Label → label\n Value → value\n Comparison → comparison\n State → isLoading: Default=false, Loading=true\n Change → goodWhen (Better Up, Better Down, Worse Up, Worse Down, Neutral Up, Neutral Down only)\n\nNOTES\n Change: Figma draws what the badge SAYS; code derives it from two props. The direction is the sign of `change` (Up is positive), and Better or Worse follows from that and goodWhen — so Worse Up is a rise where down was good. No Change is a `change` that rounds to zero; None is `change` omitted. The badge text itself is computed from `change` and `changeUnit`.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/stat-tile/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
279
+ "block": "───── CODE · ionbase-ui ─────\nimport { StatTile } from 'ionbase-ui';\n<StatTile isLoading=\"false\" label={…} value={…} />\n\nPROPERTIES\n Label → label\n Value → value\n Comparison → comparison\n State → isLoading: Default=false, Loading=true\n Change → goodWhen (Better Up, Better Down, Worse Up, Worse Down, Neutral Up, Neutral Down only)\n\nNOTES\n Change: Figma draws what the badge SAYS; code derives it from two props. The direction is the sign of `change` (Up is positive), and Better or Worse follows from that and goodWhen — so Worse Up is a rise where down was good. No Change is a `change` that rounds to zero; None is `change` omitted. The badge text itself is computed from `change` and `changeUnit`.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/stat-tile/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
280
280
  },
281
281
  "1391:431": {
282
282
  "figmaComponent": "Stepper",
283
283
  "component": "Stepper",
284
- "block": "───── CODE · ionbase-ui ─────\nimport { Stepper } from 'ionbase-ui';\n<Stepper orientation=\"horizontal\" />\n\nPROPERTIES\n Orientation → orientation: Horizontal=horizontal, Vertical=vertical\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/stepper/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
284
+ "block": "───── CODE · ionbase-ui ─────\nimport { Stepper } from 'ionbase-ui';\n<Stepper orientation=\"horizontal\" />\n\nPROPERTIES\n Orientation → orientation: Horizontal=horizontal, Vertical=vertical\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/stepper/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
285
285
  },
286
286
  "1391:356": {
287
287
  "figmaComponent": "Stepper Step",
288
288
  "component": "StepperStep",
289
- "block": "───── CODE · ionbase-ui ─────\nimport { StepperStep } from 'ionbase-ui';\n<StepperStep status=\"incomplete\" isCurrent=\"false\">Label</StepperStep>\n\nPROPERTIES\n Status → status: Incomplete=incomplete, Complete=complete, Error=error\n Current → isCurrent: True=true, False=false\n Label → children\n Description → description\n Show Description → description\n\nNOTES\n Show Description: false means description is omitted\n Number: the step’s position in the list; code numbers steps itself\n Orientation: set on the parent Stepper, not per step — drawn per step only because the connector’s geometry differs\n Show Connector: code draws a connector after every step but the last; Figma needs it switched off by hand on the last instance\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/stepper-step/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
289
+ "block": "───── CODE · ionbase-ui ─────\nimport { StepperStep } from 'ionbase-ui';\n<StepperStep status=\"incomplete\" isCurrent=\"false\">Label</StepperStep>\n\nPROPERTIES\n Status → status: Incomplete=incomplete, Complete=complete, Error=error\n Current → isCurrent: True=true, False=false\n Label → children\n Description → description\n Show Description → description\n\nNOTES\n Show Description: false means description is omitted\n Number: the step’s position in the list; code numbers steps itself\n Orientation: set on the parent Stepper, not per step — drawn per step only because the connector’s geometry differs\n Show Connector: code draws a connector after every step but the last; Figma needs it switched off by hand on the last instance\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/stepper-step/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
290
290
  },
291
291
  "1164:248": {
292
292
  "figmaComponent": "Streaming Text",
293
293
  "component": "StreamingText",
294
- "block": "───── CODE · ionbase-ui ─────\nimport { StreamingText } from 'ionbase-ui';\n<StreamingText isStreaming=\"true\">Label</StreamingText>\n\nPROPERTIES\n Streaming → isStreaming: True=true, False=false\n Text → children\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/streaming-text/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
294
+ "block": "───── CODE · ionbase-ui ─────\nimport { StreamingText } from 'ionbase-ui';\n<StreamingText isStreaming=\"true\">Label</StreamingText>\n\nPROPERTIES\n Streaming → isStreaming: True=true, False=false\n Text → children\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/streaming-text/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
295
295
  },
296
296
  "174:103": {
297
297
  "figmaComponent": "Table Cell",
298
298
  "component": "TableCell",
299
- "block": "───── CODE · ionbase-ui ─────\nimport { TableCell } from 'ionbase-ui';\n<TableCell align=\"leading\" />\n\nPROPERTIES\n Type → header (Header only)\n Align → align: Leading=leading, Trailing=trailing\n Show Divider → showDivider\n Content → children\n Show Content → children\n\nNOTES\n Type: Body is the default <td>\n Density: density is set once on Table and reaches the cell through CSS — a per-cell prop could disagree with its own table\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/table-cell/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
299
+ "block": "───── CODE · ionbase-ui ─────\nimport { TableCell } from 'ionbase-ui';\n<TableCell align=\"leading\" />\n\nPROPERTIES\n Type → header (Header only)\n Align → align: Leading=leading, Trailing=trailing\n Show Divider → showDivider\n Content → children\n Show Content → children\n\nNOTES\n Type: Body is the default <td>\n Density: density is set once on Table and reaches the cell through CSS — a per-cell prop could disagree with its own table\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/table-cell/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
300
300
  },
301
301
  "175:605": {
302
302
  "figmaComponent": "Table Row",
303
303
  "component": "TableRow",
304
- "block": "───── CODE · ionbase-ui ─────\nimport { TableRow } from 'ionbase-ui';\n<TableRow />\n\nPROPERTIES\n State → isSelected (Selected, Selected-Hover only)\n Show Selection → selection\n\nNOTES\n State: Hover is CSS\n Show Selection: takes the Checkbox's own props, not a boolean — a selectable row needs checked/onChange wiring\n Density: set once on Table; see Table Cell\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/table-row/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
304
+ "block": "───── CODE · ionbase-ui ─────\nimport { TableRow } from 'ionbase-ui';\n<TableRow />\n\nPROPERTIES\n State → isSelected (Selected, Selected-Hover only)\n Show Selection → selection\n\nNOTES\n State: Hover is CSS\n Show Selection: takes the Checkbox's own props, not a boolean — a selectable row needs checked/onChange wiring\n Density: set once on Table; see Table Cell\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/table-row/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
305
305
  },
306
306
  "1444:761": {
307
307
  "figmaComponent": "Table Sort Indicator",
308
308
  "component": "TableCell",
309
- "block": "───── CODE · ionbase-ui ─────\nimport { TableCell } from 'ionbase-ui';\n<TableCell sortDirection=\"none\" />\n\nPROPERTIES\n Direction → sortDirection: None=none, Ascending=ascending, Descending=descending\n\nNOTES\n Direction: drawn in a header Cell Text’s Trailing Icon slot; in code the header cell draws it and the label is a button. Set sortDirection on every sortable header and wire onSort, or use useTableSort’s sortProps(column)\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/table-cell/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
309
+ "block": "───── CODE · ionbase-ui ─────\nimport { TableCell } from 'ionbase-ui';\n<TableCell sortDirection=\"none\" />\n\nPROPERTIES\n Direction → sortDirection: None=none, Ascending=ascending, Descending=descending\n\nNOTES\n Direction: drawn in a header Cell Text’s Trailing Icon slot; in code the header cell draws it and the label is a button. Set sortDirection on every sortable header and wire onSort, or use useTableSort’s sortProps(column)\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/table-cell/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
310
310
  },
311
311
  "1448:290": {
312
312
  "figmaComponent": "Tag",
313
313
  "component": "Tag",
314
- "block": "───── CODE · ionbase-ui ─────\nimport { Tag } from 'ionbase-ui';\n<Tag key=\"team:finance\">Team: Finance</Tag>\n\nTag is a collection item and takes no props of its own. Size and removability are set once on the parent TagGroup, so every tag in a group matches.\n\nNOTES\n Label: Tag’s label is its children, a collection prop the TypeScript checker cannot see — see Tag’s contract.\n Show Remove: removability is TagGroup’s onRemove: pass it and every tag in the group shows the button, leave it out and none do\n Size: set once on the parent TagGroup, not per tag\n State: Hover is CSS and Focus is :focus-visible; Disabled is disabledKeys on TagGroup\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/tag/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
314
+ "block": "───── CODE · ionbase-ui ─────\nimport { Tag } from 'ionbase-ui';\n<Tag key=\"team:finance\">Team: Finance</Tag>\n\nTag is a collection item and takes no props of its own. Size and removability are set once on the parent TagGroup, so every tag in a group matches.\n\nNOTES\n Label: Tag’s label is its children, a collection prop the TypeScript checker cannot see — see Tag’s contract.\n Show Remove: removability is TagGroup’s onRemove: pass it and every tag in the group shows the button, leave it out and none do\n Size: set once on the parent TagGroup, not per tag\n State: Hover is CSS and Focus is :focus-visible; Disabled is disabledKeys on TagGroup\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/tag/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
315
315
  },
316
316
  "1448:333": {
317
317
  "figmaComponent": "Tag Group",
318
318
  "component": "TagGroup",
319
- "block": "───── CODE · ionbase-ui ─────\nimport { TagGroup } from 'ionbase-ui';\n<TagGroup size=\"sm\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md\n Label → label\n Show Label → label\n\nNOTES\n Show Label: false means no visible label — pass aria-label instead, the group still needs a name\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/tag-group/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
319
+ "block": "───── CODE · ionbase-ui ─────\nimport { TagGroup } from 'ionbase-ui';\n<TagGroup size=\"sm\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md\n Label → label\n Show Label → label\n\nNOTES\n Show Label: false means no visible label — pass aria-label instead, the group still needs a name\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/tag-group/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
320
320
  },
321
321
  "157:126": {
322
322
  "figmaComponent": "Tabs",
323
323
  "component": "Tabs",
324
- "block": "───── CODE · ionbase-ui ─────\nimport { Tabs } from 'ionbase-ui';\n<Tabs type=\"pill\" orientation=\"horizontal\" aria-label=\"…\" />\n\nPROPERTIES\n Type → type: Pill=pill, Underline=underline\n Orientation → orientation: Horizontal=horizontal, Vertical=vertical\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/tabs/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
324
+ "block": "───── CODE · ionbase-ui ─────\nimport { Tabs } from 'ionbase-ui';\n<Tabs type=\"pill\" orientation=\"horizontal\" aria-label=\"…\" />\n\nPROPERTIES\n Type → type: Pill=pill, Underline=underline\n Orientation → orientation: Horizontal=horizontal, Vertical=vertical\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/tabs/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
325
325
  },
326
326
  "156:259": {
327
327
  "figmaComponent": "Tabs Item",
328
328
  "component": "TabItem",
329
- "block": "───── CODE · ionbase-ui ─────\nimport { TabItem } from 'ionbase-ui';\n<TabItem key=\"billing\" title=\"Billing\">Panel content</TabItem>\n\nTabItem is a collection item and takes no props of its own. Type, Size and State belong to the parent Tabs or to its selection state, which is why almost everything here is ignored rather than mapped.\n\nNOTES\n Label: TabItem's label is its `title` collection prop. It is not a typed prop the TypeScript checker can see, so there is nothing here to verify against — see TabItem's contract.\n Type: set on the parent Tabs, not per item\n Size: set on the parent Tabs, not per item\n State: selection is the Tabs collection's state; Disabled is disabledKeys on Tabs\n Show Label: a tab without a label is a tab that cannot be named\n Show Leading Icon: not yet in the code component\n Leading Icon: not yet in the code component\n Show Trailing: not yet in the code component\n Trailing: not yet in the code component\n Focused: drawn focus ring; :focus-visible in code\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/tab-item/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
329
+ "block": "───── CODE · ionbase-ui ─────\nimport { TabItem } from 'ionbase-ui';\n<TabItem key=\"billing\" title=\"Billing\">Panel content</TabItem>\n\nTabItem is a collection item and takes no props of its own. Type, Size and State belong to the parent Tabs or to its selection state, which is why almost everything here is ignored rather than mapped.\n\nNOTES\n Label: TabItem's label is its `title` collection prop. It is not a typed prop the TypeScript checker can see, so there is nothing here to verify against — see TabItem's contract.\n Type: set on the parent Tabs, not per item\n Size: set on the parent Tabs, not per item\n State: selection is the Tabs collection's state; Disabled is disabledKeys on Tabs\n Show Label: a tab without a label is a tab that cannot be named\n Show Leading Icon: not yet in the code component\n Leading Icon: not yet in the code component\n Show Trailing: not yet in the code component\n Trailing: not yet in the code component\n Focused: drawn focus ring; :focus-visible in code\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/tab-item/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
330
330
  },
331
331
  "1301:334": {
332
332
  "figmaComponent": "Textarea",
333
333
  "component": "Textarea",
334
- "block": "───── CODE · ionbase-ui ─────\nimport { Textarea } from 'ionbase-ui';\n<Textarea size=\"sm\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n Value → value\n\nNOTES\n State: Hover, Focus and Filled are CSS or content; Disabled is isDisabled, Read-only is isReadOnly — both react-aria props, mirroring Input.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/textarea/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
334
+ "block": "───── CODE · ionbase-ui ─────\nimport { Textarea } from 'ionbase-ui';\n<Textarea size=\"sm\" label=\"…\" />\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n State → isInvalid (Invalid only)\n Value → value\n\nNOTES\n State: Hover, Focus and Filled are CSS or content; Disabled is isDisabled, Read-only is isReadOnly — both react-aria props, mirroring Input.\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/textarea/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
335
335
  },
336
336
  "820:1655": {
337
337
  "figmaComponent": "Toast",
338
338
  "component": "Toast",
339
- "block": "───── CODE · ionbase-ui ─────\nimport { Toast } from 'ionbase-ui';\n<Toast intent=\"information\" onDismiss={…} id={…} />\n\nPROPERTIES\n Intent → intent: Neutral=neutral, Primary=primary, Success=success, Warning=warning, Error=error, Information=information\n Title → title\n Show Title → title\n Message → message\n Show Message → message\n Show Action → action\n Show Dismiss → dismissLabel\n\nNOTES\n Show Action: one action only — a second belongs in a Modal\n Show Dismiss: the dismiss control is always rendered; only its label is configurable\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/toast/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
339
+ "block": "───── CODE · ionbase-ui ─────\nimport { Toast } from 'ionbase-ui';\n<Toast intent=\"information\" onDismiss={…} id={…} />\n\nPROPERTIES\n Intent → intent: Neutral=neutral, Primary=primary, Success=success, Warning=warning, Error=error, Information=information\n Title → title\n Show Title → title\n Message → message\n Show Message → message\n Show Action → action\n Show Dismiss → dismissLabel\n\nNOTES\n Show Action: one action only — a second belongs in a Modal\n Show Dismiss: the dismiss control is always rendered; only its label is configurable\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/toast/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
340
340
  },
341
341
  "88:323": {
342
342
  "figmaComponent": "Toggle",
343
343
  "component": "Toggle",
344
- "block": "───── CODE · ionbase-ui ─────\nimport { Toggle } from 'ionbase-ui';\n<Toggle size=\"sm\" intent=\"brand\">Label</Toggle>\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Color → intent: Brand=brand, Neutral=neutral, Danger=danger\n Label → children\n Show Label → children\n\nNOTES\n State: On/Off is `checked`/`defaultChecked` on the underlying input, not a Toggle prop\n Show Label: false means aria-label is required\n Focused: drawn focus ring; :focus-visible in code\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/toggle/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
344
+ "block": "───── CODE · ionbase-ui ─────\nimport { Toggle } from 'ionbase-ui';\n<Toggle size=\"sm\" intent=\"brand\">Label</Toggle>\n\nPROPERTIES\n Size → size: Small=sm, Medium=md, Large=lg\n Color → intent: Brand=brand, Neutral=neutral, Danger=danger\n Label → children\n Show Label → children\n\nNOTES\n State: On/Off is `checked`/`defaultChecked` on the underlying input, not a Toggle prop\n Show Label: false means aria-label is required\n Focused: drawn focus ring; :focus-visible in code\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/toggle/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
345
345
  },
346
346
  "1392:391": {
347
347
  "figmaComponent": "Tool Call",
348
348
  "component": "ToolCall",
349
- "block": "───── CODE · ionbase-ui ─────\nimport { ToolCall } from 'ionbase-ui';\n<ToolCall status=\"pending\" isExpanded=\"false\" title={…} />\n\nPROPERTIES\n Status → status: Pending=pending, Active=active, Done=done, Failed=failed, Skipped=skipped\n Expanded → isExpanded: True=true, False=false\n Title → title\n Name → name\n Show Name → name\n Duration → durationMs\n Show Duration → durationMs\n Error Message → errorMessage\n\nNOTES\n Expanded: or defaultExpanded, uncontrolled\n Show Name: false means name is omitted\n Duration: milliseconds in code; Figma shows the formatted text (“1.2s”, “340ms”)\n Show Duration: false means durationMs is omitted\n Has Details: not a prop: code shows the chevron and makes the header a button when input or output is passed\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/tool-call/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
349
+ "block": "───── CODE · ionbase-ui ─────\nimport { ToolCall } from 'ionbase-ui';\n<ToolCall status=\"pending\" isExpanded=\"false\" title={…} />\n\nPROPERTIES\n Status → status: Pending=pending, Active=active, Done=done, Failed=failed, Skipped=skipped\n Expanded → isExpanded: True=true, False=false\n Title → title\n Name → name\n Show Name → name\n Duration → durationMs\n Show Duration → durationMs\n Error Message → errorMessage\n\nNOTES\n Expanded: or defaultExpanded, uncontrolled\n Show Name: false means name is omitted\n Duration: milliseconds in code; Figma shows the formatted text (“1.2s”, “340ms”)\n Show Duration: false means durationMs is omitted\n Has Details: not a prop: code shows the chevron and makes the header a button when input or output is passed\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/tool-call/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
350
350
  },
351
351
  "801:68": {
352
352
  "figmaComponent": "Tooltip",
353
353
  "component": "Tooltip",
354
- "block": "───── CODE · ionbase-ui ─────\nimport { Tooltip } from 'ionbase-ui';\n<Tooltip placement=\"top\" label={…}>…</Tooltip>\n\nPROPERTIES\n Placement → placement: Top=top, Bottom=bottom, Left=left, Right=right\n Label → label\n Title → title\n Show Title → title\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/tooltip/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
354
+ "block": "───── CODE · ionbase-ui ─────\nimport { Tooltip } from 'ionbase-ui';\n<Tooltip placement=\"top\" label={…}>…</Tooltip>\n\nPROPERTIES\n Placement → placement: Top=top, Bottom=bottom, Left=left, Right=right\n Label → label\n Title → title\n Show Title → title\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/tooltip/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
355
355
  },
356
356
  "1432:282": {
357
357
  "figmaComponent": "Chart Tooltip",
358
358
  "component": "ChartTooltip",
359
- "block": "───── CODE · ionbase-ui ─────\nimport { ChartTooltip } from 'ionbase-ui';\n<ChartTooltip />\n\nPROPERTIES\n Title → title\n Show Row 2 → rows\n Show Row 3 → rows\n\nNOTES\n Show Row 2: true draws a second entry in rows; the row count is the length of the array\n Show Row 3: true draws a third entry in rows\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/chart-tooltip/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
359
+ "block": "───── CODE · ionbase-ui ─────\nimport { ChartTooltip } from 'ionbase-ui';\n<ChartTooltip />\n\nPROPERTIES\n Title → title\n Show Row 2 → rows\n Show Row 3 → rows\n\nNOTES\n Show Row 2: true draws a second entry in rows; the row count is the length of the array\n Show Row 3: true draws a third entry in rows\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/chart-tooltip/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
360
360
  },
361
361
  "1432:369": {
362
362
  "figmaComponent": "Chart Legend",
363
363
  "component": "ChartLegend",
364
- "block": "───── CODE · ionbase-ui ─────\nimport { ChartLegend } from 'ionbase-ui';\n<ChartLegend shape=\"square\" items={…} />\n\nPROPERTIES\n Shape → shape: Square=square, Line=line\n Show Item 3 → items\n\nNOTES\n Show Item 3: true draws a third entry in items; the entry count is the length of the array\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/chart-legend/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
364
+ "block": "───── CODE · ionbase-ui ─────\nimport { ChartLegend } from 'ionbase-ui';\n<ChartLegend shape=\"square\" items={…} />\n\nPROPERTIES\n Shape → shape: Square=square, Line=line\n Show Item 3 → items\n\nNOTES\n Show Item 3: true draws a third entry in items; the entry count is the length of the array\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/chart-legend/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
365
365
  },
366
366
  "1458:368": {
367
367
  "figmaComponent": "Command Palette",
368
368
  "component": "CommandPalette",
369
- "block": "───── CODE · ionbase-ui ─────\nimport { CommandPalette } from 'ionbase-ui';\n<CommandPalette\n commands={[\n { id: 'new-agent', label: 'Create agent', section: 'Actions' },\n { id: 'go-runs', label: 'Go to Runs', section: 'Navigation' },\n ]}\n onAction={(id) => run(id)}\n/>\n\nPROPERTIES\n Placeholder → placeholder\n\nNOTES\n Show Footer: the key hints are always rendered and hidden by CSS below 40rem, where there are no arrow keys to hint at — a viewport's answer, not a prop\n State: Results and Empty are what the query produces against `commands`; the empty text is `emptyLabel`\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/command-palette/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
369
+ "block": "───── CODE · ionbase-ui ─────\nimport { CommandPalette } from 'ionbase-ui';\n<CommandPalette\n commands={[\n { id: 'new-agent', label: 'Create agent', section: 'Actions' },\n { id: 'go-runs', label: 'Go to Runs', section: 'Navigation' },\n ]}\n onAction={(id) => run(id)}\n/>\n\nPROPERTIES\n Placeholder → placeholder\n\nNOTES\n Show Footer: the key hints are always rendered and hidden by CSS below 40rem, where there are no arrow keys to hint at — a viewport's answer, not a prop\n State: Results and Empty are what the query produces against `commands`; the empty text is `emptyLabel`\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/command-palette/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
370
370
  },
371
371
  "1457:242": {
372
372
  "figmaComponent": "Kbd",
373
373
  "component": "Kbd",
374
- "block": "───── CODE · ionbase-ui ─────\nimport { Kbd } from 'ionbase-ui';\n<Kbd shortcut=\"mod+k\" />\n\nPROPERTIES\n Key → children\n\nNOTES\n Key: one Figma Kbd is one key. For a shortcut, use `shortcut=\"mod+k\"` on a single Kbd rather than several: it draws each platform's own keys and names them for a screen reader\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/kbd/index.html.md\nGenerated from ionbase-ui@0.81.0. Edit the code, not this block.\n───── end code ─────"
374
+ "block": "───── CODE · ionbase-ui ─────\nimport { Kbd } from 'ionbase-ui';\n<Kbd shortcut=\"mod+k\" />\n\nPROPERTIES\n Key → children\n\nNOTES\n Key: one Figma Kbd is one key. For a shortcut, use `shortcut=\"mod+k\"` on a single Kbd rather than several: it draws each platform's own keys and names them for a screen reader\n\nFull contract: https://raza-ahmed.github.io/ionbase-design-system/components/kbd/index.html.md\nGenerated from ionbase-ui@0.81.1. Edit the code, not this block.\n───── end code ─────"
375
375
  }
376
376
  }
377
377
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "ionbase-ui",
3
- "version": "0.81.0",
3
+ "version": "0.81.1",
4
4
  "figmaFile": "gaLbGd0QNb1fUl6BjSpfBA",
5
5
  "figmaExported": "2026-09-25",
6
6
  "usage": "Given a Figma node id or component name, look it up here for the React component, its import, and how each Figma property maps onto a real prop. Every mapping is verified against both the Figma export and the TypeScript API on each build.",
@@ -56,7 +56,8 @@
56
56
  "every day cell carries the full date as its accessible name in the reader's own language, so the narrow weekday headers are never load-bearing",
57
57
  "unavailable and disabled days are distinguished visually and in the accessible name, not by colour alone",
58
58
  "today is marked with a dot rather than a ring, so it cannot be mistaken for a second selected day",
59
- "the selected fill and the segment focus box are redeclared under forced-colors, where background-color is discarded"
59
+ "the selected fill and the segment focus box are redeclared under forced-colors, where background-color is discarded",
60
+ "a typed date outside `minValue`/`maxValue` turns the field invalid and names the bound in the reader's own format, without `isInvalid` — the value is kept, not silently clamped"
60
61
  ],
61
62
  "requires": [
62
63
  "`label`, or an `aria-label` when no visible label is rendered",
@@ -164,7 +165,7 @@
164
165
  "type": "React.ReactNode",
165
166
  "required": false,
166
167
  "origin": "own",
167
- "description": "Replaces the helper text when `isInvalid` is set."
168
+ "description": "Replaces the helper text while the field is invalid — `isInvalid`, or its own bounds check."
168
169
  },
169
170
  "isInvalid": {
170
171
  "type": "boolean | undefined",
@@ -49,7 +49,8 @@
49
49
  "preset rows are buttons in a labelled group carrying aria-pressed, so 'which shortcut is active' is answerable without seeing the tint",
50
50
  "the selected preset is marked by weight as well as by background, so it does not rely on colour alone",
51
51
  "range endpoints and the band between them keep their fill under forced-colors, where background-color is otherwise discarded",
52
- "the rail stacks above the grids below 32rem rather than being hidden, because shortcuts matter most on the device where dragging across two months is worst"
52
+ "the rail stacks above the grids below 32rem rather than being hidden, because shortcuts matter most on the device where dragging across two months is worst",
53
+ "a typed date outside `minValue`/`maxValue`, or an end before the start, turns the field invalid with React Aria's localized message, without `isInvalid` — the value is kept, not silently clamped"
53
54
  ],
54
55
  "requires": [
55
56
  "`label`, or an `aria-label` when no visible label is rendered",
@@ -150,7 +151,7 @@
150
151
  "type": "React.ReactNode",
151
152
  "required": false,
152
153
  "origin": "own",
153
- "description": "Replaces the helper text when `isInvalid` is set."
154
+ "description": "Replaces the helper text while the field is invalid — `isInvalid`, or its own bounds check."
154
155
  },
155
156
  "isInvalid": {
156
157
  "type": "boolean | undefined",
@@ -113,7 +113,7 @@
113
113
  "type": "React.ReactNode",
114
114
  "required": false,
115
115
  "origin": "own",
116
- "description": "Replaces the helper text when `isInvalid` is set."
116
+ "description": "Replaces the helper text while the field is invalid — `isInvalid`, or its own bounds check."
117
117
  },
118
118
  "isInvalid": {
119
119
  "type": "boolean | undefined",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "ionbase-ui",
3
- "version": "0.81.0",
3
+ "version": "0.81.1",
4
4
  "generated": "by scripts/build-meta.mjs — do not edit; intent lives in meta/*.json",
5
5
  "hooks": [
6
6
  "useAgentRun",
@@ -4181,7 +4181,8 @@
4181
4181
  "every day cell carries the full date as its accessible name in the reader's own language, so the narrow weekday headers are never load-bearing",
4182
4182
  "unavailable and disabled days are distinguished visually and in the accessible name, not by colour alone",
4183
4183
  "today is marked with a dot rather than a ring, so it cannot be mistaken for a second selected day",
4184
- "the selected fill and the segment focus box are redeclared under forced-colors, where background-color is discarded"
4184
+ "the selected fill and the segment focus box are redeclared under forced-colors, where background-color is discarded",
4185
+ "a typed date outside `minValue`/`maxValue` turns the field invalid and names the bound in the reader's own format, without `isInvalid` — the value is kept, not silently clamped"
4185
4186
  ],
4186
4187
  "requires": [
4187
4188
  "`label`, or an `aria-label` when no visible label is rendered",
@@ -4289,7 +4290,7 @@
4289
4290
  "type": "React.ReactNode",
4290
4291
  "required": false,
4291
4292
  "origin": "own",
4292
- "description": "Replaces the helper text when `isInvalid` is set."
4293
+ "description": "Replaces the helper text while the field is invalid — `isInvalid`, or its own bounds check."
4293
4294
  },
4294
4295
  "isInvalid": {
4295
4296
  "type": "boolean | undefined",
@@ -4444,7 +4445,8 @@
4444
4445
  "preset rows are buttons in a labelled group carrying aria-pressed, so 'which shortcut is active' is answerable without seeing the tint",
4445
4446
  "the selected preset is marked by weight as well as by background, so it does not rely on colour alone",
4446
4447
  "range endpoints and the band between them keep their fill under forced-colors, where background-color is otherwise discarded",
4447
- "the rail stacks above the grids below 32rem rather than being hidden, because shortcuts matter most on the device where dragging across two months is worst"
4448
+ "the rail stacks above the grids below 32rem rather than being hidden, because shortcuts matter most on the device where dragging across two months is worst",
4449
+ "a typed date outside `minValue`/`maxValue`, or an end before the start, turns the field invalid with React Aria's localized message, without `isInvalid` — the value is kept, not silently clamped"
4448
4450
  ],
4449
4451
  "requires": [
4450
4452
  "`label`, or an `aria-label` when no visible label is rendered",
@@ -4545,7 +4547,7 @@
4545
4547
  "type": "React.ReactNode",
4546
4548
  "required": false,
4547
4549
  "origin": "own",
4548
- "description": "Replaces the helper text when `isInvalid` is set."
4550
+ "description": "Replaces the helper text while the field is invalid — `isInvalid`, or its own bounds check."
4549
4551
  },
4550
4552
  "isInvalid": {
4551
4553
  "type": "boolean | undefined",
@@ -13746,7 +13748,7 @@
13746
13748
  "type": "React.ReactNode",
13747
13749
  "required": false,
13748
13750
  "origin": "own",
13749
- "description": "Replaces the helper text when `isInvalid` is set."
13751
+ "description": "Replaces the helper text while the field is invalid — `isInvalid`, or its own bounds check."
13750
13752
  },
13751
13753
  "isInvalid": {
13752
13754
  "type": "boolean | undefined",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "ionbase-ui",
3
- "version": "0.81.0",
3
+ "version": "0.81.1",
4
4
  "usage": "Pick a component here, then read dist/meta/<Name>.json for its full contract.",
5
5
  "hooks": [
6
6
  "useAgentRun",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "ionbase-ui",
3
- "version": "0.81.0",
3
+ "version": "0.81.1",
4
4
  "usage": "A pattern is a documented composition of components, not a component. Read one here, then read the contracts of what it composes.",
5
5
  "patterns": {
6
6
  "AgentRun": {
package/llms.txt CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > IonBase is a React design system for enterprise SaaS, built to be consumed by an agent rather than read by a developer. Every component ships a machine-readable contract carrying the judgement a type signature cannot: when to use it, what to use instead, the anti-patterns, and what it guarantees for accessibility versus what it requires of you.
4
4
 
5
- Version 0.81.0. 81 components.
5
+ Version 0.81.1. 81 components.
6
6
 
7
7
  ## Read these, in this order
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionbase-ui",
3
- "version": "0.81.0",
3
+ "version": "0.81.1",
4
4
  "description": "IonBase Design System — accessible React components, styles and design tokens in one package",
5
5
  "license": "MIT",
6
6
  "type": "module",