ionbase-ui 0.75.0 → 0.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/NavItem.d.ts +7 -0
- package/dist/components/NavItem.d.ts.map +1 -1
- package/dist/components/NavItem.js +3 -1
- package/dist/components/NavItem.js.map +1 -1
- package/dist/figma-descriptions.json +68 -68
- package/dist/figma-map.json +11 -3
- package/dist/meta/NavItem.json +17 -3
- package/dist/meta/components.json +18 -4
- package/dist/meta/contrast.json +180 -0
- package/dist/meta/index.json +1 -1
- package/dist/meta/patterns/index.json +1 -1
- package/dist/styles/nav-item.css +37 -2
- package/llms.txt +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,13 @@ interface NavItemOwnProps {
|
|
|
4
4
|
icon?: React.ReactNode;
|
|
5
5
|
/** Figma's `Show Chevron`. Set on a nav item that opens a menu, not a plain link. */
|
|
6
6
|
showChevron?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* The page the user is on. Marks the item `aria-current="page"` and draws
|
|
9
|
+
* the same indicator Tabs' underline does — so a section switcher built from
|
|
10
|
+
* NavItems says where you are, in words for a screen reader and in more than
|
|
11
|
+
* colour for everyone else.
|
|
12
|
+
*/
|
|
13
|
+
isCurrent?: boolean;
|
|
7
14
|
isDisabled?: boolean;
|
|
8
15
|
/**
|
|
9
16
|
* @deprecated Use `isDisabled`. Accepted as an alias for one minor version.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../src/components/NavItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAmBvE,UAAU,eAAe;IACvB,sDAAsD;IACtD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,qFAAqF;IACrF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,YAAY,GAAG,eAAe,GACxC,CACI,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CACtB,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,MAAM,eAAe,CACtB,CAAC,GACF,CAAC;IAAE,IAAI,CAAC,EAAE,SAAS,CAAA;CAAE,GAAG,IAAI,CAC1B,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,MAAM,eAAe,GAAG,MAAM,CAC/B,CAAC,CACL,CAAC;AAEJ;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../src/components/NavItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAmBvE,UAAU,eAAe;IACvB,sDAAsD;IACtD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,qFAAqF;IACrF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,YAAY,GAAG,eAAe,GACxC,CACI,CAAC;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CACtB,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,MAAM,eAAe,CACtB,CAAC,GACF,CAAC;IAAE,IAAI,CAAC,EAAE,SAAS,CAAA;CAAE,GAAG,IAAI,CAC1B,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,MAAM,eAAe,GAAG,MAAM,CAC/B,CAAC,CACL,CAAC;AAEJ;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,OAAO,4GAkHlB,CAAC"}
|
|
@@ -20,7 +20,7 @@ const Chevron = () => (_jsx("svg", { viewBox: "0 0 24 24", fill: "none", "aria-h
|
|
|
20
20
|
* `:focus-visible` rules so the stylesheet still works without React.
|
|
21
21
|
*/
|
|
22
22
|
export const NavItem = forwardRef((props, forwardedRef) => {
|
|
23
|
-
const { icon, showChevron, isDisabled: isDisabledProp, disabled, children, className, href, ...rest } = props;
|
|
23
|
+
const { icon, showChevron, isCurrent, isDisabled: isDisabledProp, disabled, children, className, href, ...rest } = props;
|
|
24
24
|
const isDisabled = resolveDisabled(isDisabledProp, disabled);
|
|
25
25
|
const domRef = useRef(null);
|
|
26
26
|
useImperativeHandle(forwardedRef, () => domRef.current);
|
|
@@ -28,6 +28,7 @@ export const NavItem = forwardRef((props, forwardedRef) => {
|
|
|
28
28
|
const { focusProps, isFocusVisible } = useFocusRing();
|
|
29
29
|
const classNames = [
|
|
30
30
|
'ion-nav-item',
|
|
31
|
+
isCurrent ? 'ion-nav-item--current' : '',
|
|
31
32
|
isDisabled ? 'ion-nav-item--disabled' : '',
|
|
32
33
|
className || '',
|
|
33
34
|
]
|
|
@@ -37,6 +38,7 @@ export const NavItem = forwardRef((props, forwardedRef) => {
|
|
|
37
38
|
'data-hovered': isHovered || undefined,
|
|
38
39
|
'data-focused': isFocusVisible || undefined,
|
|
39
40
|
'data-disabled': isDisabled || undefined,
|
|
41
|
+
'aria-current': isCurrent ? 'page' : undefined,
|
|
40
42
|
};
|
|
41
43
|
const content = (_jsxs(_Fragment, { children: [icon && (_jsx("span", { className: "ion-nav-item__icon", "aria-hidden": "true", children: icon })), children, showChevron && (_jsx("span", { className: "ion-nav-item__chevron", "aria-hidden": "true", children: _jsx(Chevron, {}) }))] }));
|
|
42
44
|
if (href !== undefined) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavItem.js","sourceRoot":"","sources":["../../src/components/NavItem.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD;;iDAEiD;AACjD,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,CACpB,cAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,iBAAa,MAAM,EAAC,SAAS,EAAC,OAAO,YACvE,eACE,CAAC,EAAC,cAAc,EAChB,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,GACE,CACP,CAAC;
|
|
1
|
+
{"version":3,"file":"NavItem.js","sourceRoot":"","sources":["../../src/components/NavItem.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD;;iDAEiD;AACjD,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,CACpB,cAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,iBAAa,MAAM,EAAC,SAAS,EAAC,OAAO,YACvE,eACE,CAAC,EAAC,cAAc,EAChB,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,GACE,CACP,CAAC;AAmCF;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,UAAU,CAG/B,CAAC,KAAK,EAAE,YAAY,EAAE,EAAE;IACxB,MAAM,EACJ,IAAI,EACJ,WAAW,EACX,SAAS,EACT,UAAU,EAAE,cAAc,EAC1B,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,GAAG,IAAI,EACR,GAAG,KAA4C,CAAC;IAEjD,MAAM,UAAU,GAAG,eAAe,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;IAE7D,MAAM,MAAM,GAAG,MAAM,CAAwC,IAAI,CAAC,CAAC;IACnE,mBAAmB,CAAC,YAAY,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAQ,CAAC,CAAC;IAEzD,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC;IAC3D,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,GAAG,YAAY,EAAE,CAAC;IAEtD,MAAM,UAAU,GAAG;QACjB,cAAc;QACd,SAAS,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAAE;QACxC,UAAU,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE;QAC1C,SAAS,IAAI,EAAE;KAChB;SACE,MAAM,CAAC,OAAO,CAAC;SACf,IAAI,CAAC,GAAG,CAAC,CAAC;IAEb,MAAM,eAAe,GAAG;QACtB,cAAc,EAAE,SAAS,IAAI,SAAS;QACtC,cAAc,EAAE,cAAc,IAAI,SAAS;QAC3C,eAAe,EAAE,UAAU,IAAI,SAAS;QACxC,cAAc,EAAE,SAAS,CAAC,CAAC,CAAE,MAAgB,CAAC,CAAC,CAAC,SAAS;KAC1D,CAAC;IAEF,MAAM,OAAO,GAAG,CACd,8BACG,IAAI,IAAI,CACP,eAAM,SAAS,EAAC,oBAAoB,iBAAa,MAAM,YACpD,IAAI,GACA,CACR,EACA,QAAQ,EACR,WAAW,IAAI,CACd,eAAM,SAAS,EAAC,uBAAuB,iBAAa,MAAM,YACxD,KAAC,OAAO,KAAG,GACN,CACR,IACA,CACJ,CAAC;IAEF,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB;;;;;WAKG;QACH,MAAM,EACJ,OAAO,EACP,WAAW,EACX,SAAS,EACT,aAAa,EACb,WAAW,EACX,SAAS,EACT,OAAO,EACP,GAAG,UAAU,EACd,GAAG,IAAqD,CAAC;QAE1D,OAAO,CACL,eACM,UAAU,KACV,CAAC,UAAU;gBACb,CAAC,CAAC,EAAE;gBACJ,CAAC,CAAC;oBACE,OAAO;oBACP,WAAW;oBACX,SAAS;oBACT,aAAa;oBACb,WAAW;oBACX,SAAS;oBACT,OAAO;iBACR,CAAC,KACF,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,KAClC,eAAe,EACnB,GAAG,EAAE,MAAsC,EAC3C,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,mBACpB,UAAU,IAAI,SAAS,EACtC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,EACrC,SAAS,EAAE,UAAU,YAEpB,OAAO,GACN,CACL,CAAC;IACJ,CAAC;IAED,OAAO,CACL,oBACO,IAAsD,KACvD,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,KAClC,eAAe,EACnB,GAAG,EAAE,MAAsC,EAC3C,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,UAAU,EACpB,SAAS,EAAE,UAAU,YAEpB,OAAO,GACD,CACV,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC"}
|
|
@@ -1,342 +1,342 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.76.0",
|
|
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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. 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.
|
|
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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
115
115
|
},
|
|
116
116
|
"1365:2404": {
|
|
117
117
|
"figmaComponent": "Drawer",
|
|
118
118
|
"component": "Drawer",
|
|
119
|
-
"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.
|
|
119
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
120
120
|
},
|
|
121
121
|
"1334:2294": {
|
|
122
122
|
"figmaComponent": "Empty State",
|
|
123
123
|
"component": "EmptyState",
|
|
124
|
-
"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.
|
|
124
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
125
125
|
},
|
|
126
126
|
"1367:2333": {
|
|
127
127
|
"figmaComponent": "File Upload",
|
|
128
128
|
"component": "FileUpload",
|
|
129
|
-
"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.
|
|
129
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
130
130
|
},
|
|
131
131
|
"592:857": {
|
|
132
132
|
"figmaComponent": "Full Card",
|
|
133
133
|
"component": "FullCard",
|
|
134
|
-
"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.
|
|
134
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
135
135
|
},
|
|
136
136
|
"69:335": {
|
|
137
137
|
"figmaComponent": "Header",
|
|
138
138
|
"component": "Header",
|
|
139
|
-
"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.
|
|
139
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
140
140
|
},
|
|
141
141
|
"623:151": {
|
|
142
142
|
"figmaComponent": "Icon Button",
|
|
143
143
|
"component": "Button",
|
|
144
|
-
"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.
|
|
144
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
145
145
|
},
|
|
146
146
|
"80:275": {
|
|
147
147
|
"figmaComponent": "Input",
|
|
148
148
|
"component": "Input",
|
|
149
|
-
"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.
|
|
149
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
150
150
|
},
|
|
151
151
|
"80:372": {
|
|
152
152
|
"figmaComponent": "Input/Phone",
|
|
153
153
|
"component": "PhoneInput",
|
|
154
|
-
"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.
|
|
154
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
155
155
|
},
|
|
156
156
|
"774:1516": {
|
|
157
157
|
"figmaComponent": "Link",
|
|
158
158
|
"component": "Link",
|
|
159
|
-
"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.
|
|
159
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
160
160
|
},
|
|
161
161
|
"52:21369": {
|
|
162
162
|
"figmaComponent": "Logo-Ionbase",
|
|
163
163
|
"component": "Logo",
|
|
164
|
-
"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.
|
|
164
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
165
165
|
},
|
|
166
166
|
"82:306": {
|
|
167
167
|
"figmaComponent": "Menu",
|
|
168
168
|
"component": "Menu",
|
|
169
|
-
"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.
|
|
169
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
170
170
|
},
|
|
171
171
|
"639:2634": {
|
|
172
172
|
"figmaComponent": "Menu Item",
|
|
173
173
|
"component": "MenuItem",
|
|
174
|
-
"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.
|
|
174
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
175
175
|
},
|
|
176
176
|
"792:1537": {
|
|
177
177
|
"figmaComponent": "Modal",
|
|
178
178
|
"component": "Modal",
|
|
179
|
-
"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.
|
|
179
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
180
180
|
},
|
|
181
181
|
"53:13": {
|
|
182
182
|
"figmaComponent": "Nav Item",
|
|
183
183
|
"component": "NavItem",
|
|
184
|
-
"block": "───── CODE · ionbase-ui ─────\nimport { NavItem } from 'ionbase-ui';\n<NavItem>Label</NavItem>\n\nPROPERTIES\n Label → children\n Icon → icon\n Show Chevron → showChevron\n\nNOTES\n State: Default and Hover are CSS and React Aria
|
|
184
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
185
185
|
},
|
|
186
186
|
"1389:473": {
|
|
187
187
|
"figmaComponent": "Number Input",
|
|
188
188
|
"component": "NumberInput",
|
|
189
|
-
"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.
|
|
189
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
190
190
|
},
|
|
191
191
|
"1291:503": {
|
|
192
192
|
"figmaComponent": "Pagination",
|
|
193
193
|
"component": "Pagination",
|
|
194
|
-
"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.
|
|
194
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
195
195
|
},
|
|
196
196
|
"825:1853": {
|
|
197
197
|
"figmaComponent": "Popover",
|
|
198
198
|
"component": "Popover",
|
|
199
|
-
"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.
|
|
199
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
200
200
|
},
|
|
201
201
|
"1344:331": {
|
|
202
202
|
"figmaComponent": "Progress Bar",
|
|
203
203
|
"component": "ProgressBar",
|
|
204
|
-
"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.
|
|
204
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
205
205
|
},
|
|
206
206
|
"1393:387": {
|
|
207
207
|
"figmaComponent": "Prompt Input",
|
|
208
208
|
"component": "PromptInput",
|
|
209
|
-
"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.
|
|
209
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
210
210
|
},
|
|
211
211
|
"89:314": {
|
|
212
212
|
"figmaComponent": "Radio",
|
|
213
213
|
"component": "Radio",
|
|
214
|
-
"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.
|
|
214
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
215
215
|
},
|
|
216
216
|
"1390:435": {
|
|
217
217
|
"figmaComponent": "Segmented Control",
|
|
218
218
|
"component": "SegmentedControl",
|
|
219
|
-
"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.
|
|
219
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
220
220
|
},
|
|
221
221
|
"1390:332": {
|
|
222
222
|
"figmaComponent": "Segmented Control Item",
|
|
223
223
|
"component": "SegmentedControlItem",
|
|
224
|
-
"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.
|
|
224
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
225
225
|
},
|
|
226
226
|
"82:379": {
|
|
227
227
|
"figmaComponent": "Select",
|
|
228
228
|
"component": "Select",
|
|
229
|
-
"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.
|
|
229
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
230
230
|
},
|
|
231
231
|
"1418:260": {
|
|
232
232
|
"figmaComponent": "Setting Row",
|
|
233
233
|
"component": "SettingRow",
|
|
234
|
-
"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.
|
|
234
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
235
235
|
},
|
|
236
236
|
"1396:502": {
|
|
237
237
|
"figmaComponent": "Sidebar",
|
|
238
238
|
"component": "Sidebar",
|
|
239
|
-
"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.
|
|
239
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
240
240
|
},
|
|
241
241
|
"1396:412": {
|
|
242
242
|
"figmaComponent": "Sidebar Item",
|
|
243
243
|
"component": "SidebarItem",
|
|
244
|
-
"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.
|
|
244
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
245
245
|
},
|
|
246
246
|
"1396:501": {
|
|
247
247
|
"figmaComponent": "Sidebar Section",
|
|
248
248
|
"component": "SidebarSection",
|
|
249
|
-
"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.
|
|
249
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
250
250
|
},
|
|
251
251
|
"1345:248": {
|
|
252
252
|
"figmaComponent": "Skeleton",
|
|
253
253
|
"component": "Skeleton",
|
|
254
|
-
"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.
|
|
254
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
255
255
|
},
|
|
256
256
|
"1341:258": {
|
|
257
257
|
"figmaComponent": "Spinner",
|
|
258
258
|
"component": "Spinner",
|
|
259
|
-
"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.
|
|
259
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
260
260
|
},
|
|
261
261
|
"1412:344": {
|
|
262
262
|
"figmaComponent": "Stat Group",
|
|
263
263
|
"component": "StatGroup",
|
|
264
|
-
"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.
|
|
264
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
265
265
|
},
|
|
266
266
|
"1412:343": {
|
|
267
267
|
"figmaComponent": "Stat Tile",
|
|
268
268
|
"component": "StatTile",
|
|
269
|
-
"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.
|
|
269
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
270
270
|
},
|
|
271
271
|
"1391:431": {
|
|
272
272
|
"figmaComponent": "Stepper",
|
|
273
273
|
"component": "Stepper",
|
|
274
|
-
"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.
|
|
274
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
275
275
|
},
|
|
276
276
|
"1391:356": {
|
|
277
277
|
"figmaComponent": "Stepper Step",
|
|
278
278
|
"component": "StepperStep",
|
|
279
|
-
"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.
|
|
279
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
280
280
|
},
|
|
281
281
|
"1164:248": {
|
|
282
282
|
"figmaComponent": "Streaming Text",
|
|
283
283
|
"component": "StreamingText",
|
|
284
|
-
"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.
|
|
284
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
285
285
|
},
|
|
286
286
|
"174:103": {
|
|
287
287
|
"figmaComponent": "Table Cell",
|
|
288
288
|
"component": "TableCell",
|
|
289
|
-
"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.
|
|
289
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
290
290
|
},
|
|
291
291
|
"175:605": {
|
|
292
292
|
"figmaComponent": "Table Row",
|
|
293
293
|
"component": "TableRow",
|
|
294
|
-
"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.
|
|
294
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
295
295
|
},
|
|
296
296
|
"157:126": {
|
|
297
297
|
"figmaComponent": "Tabs",
|
|
298
298
|
"component": "Tabs",
|
|
299
|
-
"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.
|
|
299
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
300
300
|
},
|
|
301
301
|
"156:259": {
|
|
302
302
|
"figmaComponent": "Tabs Item",
|
|
303
303
|
"component": "TabItem",
|
|
304
|
-
"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.
|
|
304
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
305
305
|
},
|
|
306
306
|
"1301:334": {
|
|
307
307
|
"figmaComponent": "Textarea",
|
|
308
308
|
"component": "Textarea",
|
|
309
|
-
"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.
|
|
309
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
310
310
|
},
|
|
311
311
|
"820:1655": {
|
|
312
312
|
"figmaComponent": "Toast",
|
|
313
313
|
"component": "Toast",
|
|
314
|
-
"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.
|
|
314
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
315
315
|
},
|
|
316
316
|
"88:323": {
|
|
317
317
|
"figmaComponent": "Toggle",
|
|
318
318
|
"component": "Toggle",
|
|
319
|
-
"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.
|
|
319
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
320
320
|
},
|
|
321
321
|
"1392:391": {
|
|
322
322
|
"figmaComponent": "Tool Call",
|
|
323
323
|
"component": "ToolCall",
|
|
324
|
-
"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.
|
|
324
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
325
325
|
},
|
|
326
326
|
"801:68": {
|
|
327
327
|
"figmaComponent": "Tooltip",
|
|
328
328
|
"component": "Tooltip",
|
|
329
|
-
"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.
|
|
329
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
330
330
|
},
|
|
331
331
|
"1432:282": {
|
|
332
332
|
"figmaComponent": "Chart Tooltip",
|
|
333
333
|
"component": "ChartTooltip",
|
|
334
|
-
"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.
|
|
334
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
335
335
|
},
|
|
336
336
|
"1432:369": {
|
|
337
337
|
"figmaComponent": "Chart Legend",
|
|
338
338
|
"component": "ChartLegend",
|
|
339
|
-
"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.
|
|
339
|
+
"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.76.0. Edit the code, not this block.\n───── end code ─────"
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
package/dist/figma-map.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "ionbase-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.76.0",
|
|
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.",
|
|
@@ -1151,7 +1151,11 @@
|
|
|
1151
1151
|
"docs": "components/nav-item/index.html.md",
|
|
1152
1152
|
"props": {
|
|
1153
1153
|
"State": {
|
|
1154
|
-
"
|
|
1154
|
+
"prop": "isCurrent",
|
|
1155
|
+
"when": {
|
|
1156
|
+
"Current": true
|
|
1157
|
+
},
|
|
1158
|
+
"note": "Default and Hover are CSS and React Aria useHover, not props."
|
|
1155
1159
|
},
|
|
1156
1160
|
"Label#53:0": {
|
|
1157
1161
|
"prop": "children"
|
|
@@ -3279,7 +3283,11 @@
|
|
|
3279
3283
|
"docs": "components/nav-item/index.html.md",
|
|
3280
3284
|
"props": {
|
|
3281
3285
|
"State": {
|
|
3282
|
-
"
|
|
3286
|
+
"prop": "isCurrent",
|
|
3287
|
+
"when": {
|
|
3288
|
+
"Current": true
|
|
3289
|
+
},
|
|
3290
|
+
"note": "Default and Hover are CSS and React Aria useHover, not props."
|
|
3283
3291
|
},
|
|
3284
3292
|
"Label#53:0": {
|
|
3285
3293
|
"prop": "children"
|
package/dist/meta/NavItem.json
CHANGED
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
"guarantees": [
|
|
32
32
|
"hover state comes from React Aria's pointer-aware `useHover`, so a tap does not stay hovered until the next tap elsewhere",
|
|
33
33
|
"the focus ring shows for keyboard navigation only",
|
|
34
|
-
"the CSS keeps its own `:hover` / `:focus-visible` rules, so the styling survives without React"
|
|
34
|
+
"the CSS keeps its own `:hover` / `:focus-visible` rules, so the styling survives without React",
|
|
35
|
+
"`isCurrent` sets `aria-current=\"page\"`, and the current item is marked by an underline as well as colour, which survives forced-colours mode"
|
|
35
36
|
],
|
|
36
37
|
"requires": [
|
|
37
38
|
"an accessible name — `children`, or `aria-label` on an icon-only item"
|
|
@@ -49,6 +50,10 @@
|
|
|
49
50
|
"dont": "marking the current page with colour only",
|
|
50
51
|
"do": "`aria-current=\"page\"`",
|
|
51
52
|
"why": "a screen-reader user is otherwise never told where they are"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"dont": "marking the current page with a className or colour of your own instead of `isCurrent`",
|
|
56
|
+
"why": "a screen reader hears nothing without `aria-current`, and a colour-only marker fails anyone who cannot see the difference"
|
|
52
57
|
}
|
|
53
58
|
],
|
|
54
59
|
"deprecated": [
|
|
@@ -60,11 +65,13 @@
|
|
|
60
65
|
"stylesheet": "src/styles/nav-item.css",
|
|
61
66
|
"tokens": [
|
|
62
67
|
"--border-focus",
|
|
68
|
+
"--border-primary",
|
|
63
69
|
"--border-width-thick",
|
|
64
70
|
"--font-family-sans",
|
|
65
|
-
"--font-weight-
|
|
71
|
+
"--font-weight-medium",
|
|
66
72
|
"--icon-disabled",
|
|
67
73
|
"--icon-interactive-hover",
|
|
74
|
+
"--icon-primary",
|
|
68
75
|
"--icon-size-sm",
|
|
69
76
|
"--icon-tertiary",
|
|
70
77
|
"--ion-duration-base",
|
|
@@ -72,6 +79,7 @@
|
|
|
72
79
|
"--radius-sm",
|
|
73
80
|
"--spacing-4",
|
|
74
81
|
"--spacing-8",
|
|
82
|
+
"--text-default",
|
|
75
83
|
"--text-disabled",
|
|
76
84
|
"--text-interactive-hover",
|
|
77
85
|
"--text-secondary",
|
|
@@ -91,6 +99,12 @@
|
|
|
91
99
|
"origin": "own",
|
|
92
100
|
"description": "Figma's `Show Chevron`. Set on a nav item that opens a menu, not a plain link."
|
|
93
101
|
},
|
|
102
|
+
"isCurrent": {
|
|
103
|
+
"type": "boolean | undefined",
|
|
104
|
+
"required": false,
|
|
105
|
+
"origin": "own",
|
|
106
|
+
"description": "The page the user is on. Marks the item `aria-current=\"page\"` and draws\nthe same indicator Tabs' underline does — so a section switcher built from\nNavItems says where you are, in words for a screen reader and in more than\ncolour for everyone else."
|
|
107
|
+
},
|
|
94
108
|
"isDisabled": {
|
|
95
109
|
"type": "boolean | undefined",
|
|
96
110
|
"required": false,
|
|
@@ -121,7 +135,7 @@
|
|
|
121
135
|
}
|
|
122
136
|
},
|
|
123
137
|
"propCounts": {
|
|
124
|
-
"own":
|
|
138
|
+
"own": 8,
|
|
125
139
|
"aria": 0,
|
|
126
140
|
"dom": 276,
|
|
127
141
|
"other": 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "ionbase-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.76.0",
|
|
4
4
|
"generated": "by scripts/build-meta.mjs — do not edit; intent lives in meta/*.json",
|
|
5
5
|
"hooks": [
|
|
6
6
|
"useAgentRun",
|
|
@@ -7115,7 +7115,8 @@
|
|
|
7115
7115
|
"guarantees": [
|
|
7116
7116
|
"hover state comes from React Aria's pointer-aware `useHover`, so a tap does not stay hovered until the next tap elsewhere",
|
|
7117
7117
|
"the focus ring shows for keyboard navigation only",
|
|
7118
|
-
"the CSS keeps its own `:hover` / `:focus-visible` rules, so the styling survives without React"
|
|
7118
|
+
"the CSS keeps its own `:hover` / `:focus-visible` rules, so the styling survives without React",
|
|
7119
|
+
"`isCurrent` sets `aria-current=\"page\"`, and the current item is marked by an underline as well as colour, which survives forced-colours mode"
|
|
7119
7120
|
],
|
|
7120
7121
|
"requires": [
|
|
7121
7122
|
"an accessible name — `children`, or `aria-label` on an icon-only item"
|
|
@@ -7133,6 +7134,10 @@
|
|
|
7133
7134
|
"dont": "marking the current page with colour only",
|
|
7134
7135
|
"do": "`aria-current=\"page\"`",
|
|
7135
7136
|
"why": "a screen-reader user is otherwise never told where they are"
|
|
7137
|
+
},
|
|
7138
|
+
{
|
|
7139
|
+
"dont": "marking the current page with a className or colour of your own instead of `isCurrent`",
|
|
7140
|
+
"why": "a screen reader hears nothing without `aria-current`, and a colour-only marker fails anyone who cannot see the difference"
|
|
7136
7141
|
}
|
|
7137
7142
|
],
|
|
7138
7143
|
"deprecated": [
|
|
@@ -7144,11 +7149,13 @@
|
|
|
7144
7149
|
"stylesheet": "src/styles/nav-item.css",
|
|
7145
7150
|
"tokens": [
|
|
7146
7151
|
"--border-focus",
|
|
7152
|
+
"--border-primary",
|
|
7147
7153
|
"--border-width-thick",
|
|
7148
7154
|
"--font-family-sans",
|
|
7149
|
-
"--font-weight-
|
|
7155
|
+
"--font-weight-medium",
|
|
7150
7156
|
"--icon-disabled",
|
|
7151
7157
|
"--icon-interactive-hover",
|
|
7158
|
+
"--icon-primary",
|
|
7152
7159
|
"--icon-size-sm",
|
|
7153
7160
|
"--icon-tertiary",
|
|
7154
7161
|
"--ion-duration-base",
|
|
@@ -7156,6 +7163,7 @@
|
|
|
7156
7163
|
"--radius-sm",
|
|
7157
7164
|
"--spacing-4",
|
|
7158
7165
|
"--spacing-8",
|
|
7166
|
+
"--text-default",
|
|
7159
7167
|
"--text-disabled",
|
|
7160
7168
|
"--text-interactive-hover",
|
|
7161
7169
|
"--text-secondary",
|
|
@@ -7175,6 +7183,12 @@
|
|
|
7175
7183
|
"origin": "own",
|
|
7176
7184
|
"description": "Figma's `Show Chevron`. Set on a nav item that opens a menu, not a plain link."
|
|
7177
7185
|
},
|
|
7186
|
+
"isCurrent": {
|
|
7187
|
+
"type": "boolean | undefined",
|
|
7188
|
+
"required": false,
|
|
7189
|
+
"origin": "own",
|
|
7190
|
+
"description": "The page the user is on. Marks the item `aria-current=\"page\"` and draws\nthe same indicator Tabs' underline does — so a section switcher built from\nNavItems says where you are, in words for a screen reader and in more than\ncolour for everyone else."
|
|
7191
|
+
},
|
|
7178
7192
|
"isDisabled": {
|
|
7179
7193
|
"type": "boolean | undefined",
|
|
7180
7194
|
"required": false,
|
|
@@ -7205,7 +7219,7 @@
|
|
|
7205
7219
|
}
|
|
7206
7220
|
},
|
|
7207
7221
|
"propCounts": {
|
|
7208
|
-
"own":
|
|
7222
|
+
"own": 8,
|
|
7209
7223
|
"aria": 0,
|
|
7210
7224
|
"dom": 276,
|
|
7211
7225
|
"other": 0
|
package/dist/meta/contrast.json
CHANGED
|
@@ -2672,6 +2672,21 @@
|
|
|
2672
2672
|
"ratio": 4.79,
|
|
2673
2673
|
"min": 3
|
|
2674
2674
|
},
|
|
2675
|
+
{
|
|
2676
|
+
"component": "nav-item",
|
|
2677
|
+
"context": "ion-nav-item--current ion-nav-item__icon",
|
|
2678
|
+
"state": "default",
|
|
2679
|
+
"fg": "--icon-primary",
|
|
2680
|
+
"bg": "--surface-muted",
|
|
2681
|
+
"backdrop": null,
|
|
2682
|
+
"kind": "non-text",
|
|
2683
|
+
"ground": "assumed",
|
|
2684
|
+
"mode": "Light",
|
|
2685
|
+
"fgHex": "#1c62e3",
|
|
2686
|
+
"bgHex": "#f0f2f4",
|
|
2687
|
+
"ratio": 4.79,
|
|
2688
|
+
"min": 3
|
|
2689
|
+
},
|
|
2675
2690
|
{
|
|
2676
2691
|
"component": "stepper",
|
|
2677
2692
|
"context": "ion-stepper__step--complete ion-stepper__step--complete",
|
|
@@ -3245,6 +3260,21 @@
|
|
|
3245
3260
|
"ratio": 5.05,
|
|
3246
3261
|
"min": 3
|
|
3247
3262
|
},
|
|
3263
|
+
{
|
|
3264
|
+
"component": "nav-item",
|
|
3265
|
+
"context": "ion-nav-item--current ion-nav-item__icon",
|
|
3266
|
+
"state": "default",
|
|
3267
|
+
"fg": "--icon-primary",
|
|
3268
|
+
"bg": "--surface-page",
|
|
3269
|
+
"backdrop": null,
|
|
3270
|
+
"kind": "non-text",
|
|
3271
|
+
"ground": "assumed",
|
|
3272
|
+
"mode": "Light",
|
|
3273
|
+
"fgHex": "#1c62e3",
|
|
3274
|
+
"bgHex": "#f6f8f9",
|
|
3275
|
+
"ratio": 5.05,
|
|
3276
|
+
"min": 3
|
|
3277
|
+
},
|
|
3248
3278
|
{
|
|
3249
3279
|
"component": "stepper",
|
|
3250
3280
|
"context": "ion-stepper__step--complete ion-stepper__step--complete",
|
|
@@ -3888,6 +3918,21 @@
|
|
|
3888
3918
|
"ratio": 5.38,
|
|
3889
3919
|
"min": 4.5
|
|
3890
3920
|
},
|
|
3921
|
+
{
|
|
3922
|
+
"component": "nav-item",
|
|
3923
|
+
"context": "ion-nav-item--current ion-nav-item__icon",
|
|
3924
|
+
"state": "default",
|
|
3925
|
+
"fg": "--icon-primary",
|
|
3926
|
+
"bg": "--surface-default",
|
|
3927
|
+
"backdrop": null,
|
|
3928
|
+
"kind": "non-text",
|
|
3929
|
+
"ground": "assumed",
|
|
3930
|
+
"mode": "Light",
|
|
3931
|
+
"fgHex": "#1c62e3",
|
|
3932
|
+
"bgHex": "#ffffff",
|
|
3933
|
+
"ratio": 5.38,
|
|
3934
|
+
"min": 3
|
|
3935
|
+
},
|
|
3891
3936
|
{
|
|
3892
3937
|
"component": "stepper",
|
|
3893
3938
|
"context": "ion-stepper__step--complete ion-stepper__step--complete",
|
|
@@ -3988,6 +4033,21 @@
|
|
|
3988
4033
|
"ratio": 5.39,
|
|
3989
4034
|
"min": 3
|
|
3990
4035
|
},
|
|
4036
|
+
{
|
|
4037
|
+
"component": "nav-item",
|
|
4038
|
+
"context": "ion-nav-item--current ion-nav-item__icon",
|
|
4039
|
+
"state": "default",
|
|
4040
|
+
"fg": "--icon-primary",
|
|
4041
|
+
"bg": "--surface-muted",
|
|
4042
|
+
"backdrop": null,
|
|
4043
|
+
"kind": "non-text",
|
|
4044
|
+
"ground": "assumed",
|
|
4045
|
+
"mode": "Dark",
|
|
4046
|
+
"fgHex": "#609cf0",
|
|
4047
|
+
"bgHex": "#1d2735",
|
|
4048
|
+
"ratio": 5.39,
|
|
4049
|
+
"min": 3
|
|
4050
|
+
},
|
|
3991
4051
|
{
|
|
3992
4052
|
"component": "stepper",
|
|
3993
4053
|
"context": "ion-stepper__step--complete ion-stepper__step--complete",
|
|
@@ -5540,6 +5600,21 @@
|
|
|
5540
5600
|
"ratio": 6.31,
|
|
5541
5601
|
"min": 3
|
|
5542
5602
|
},
|
|
5603
|
+
{
|
|
5604
|
+
"component": "nav-item",
|
|
5605
|
+
"context": "ion-nav-item--current ion-nav-item__icon",
|
|
5606
|
+
"state": "default",
|
|
5607
|
+
"fg": "--icon-primary",
|
|
5608
|
+
"bg": "--surface-page",
|
|
5609
|
+
"backdrop": null,
|
|
5610
|
+
"kind": "non-text",
|
|
5611
|
+
"ground": "assumed",
|
|
5612
|
+
"mode": "Dark",
|
|
5613
|
+
"fgHex": "#609cf0",
|
|
5614
|
+
"bgHex": "#131923",
|
|
5615
|
+
"ratio": 6.31,
|
|
5616
|
+
"min": 3
|
|
5617
|
+
},
|
|
5543
5618
|
{
|
|
5544
5619
|
"component": "stepper",
|
|
5545
5620
|
"context": "ion-stepper__step--complete ion-stepper__step--complete",
|
|
@@ -8555,6 +8630,21 @@
|
|
|
8555
8630
|
"ratio": 7.51,
|
|
8556
8631
|
"min": 3
|
|
8557
8632
|
},
|
|
8633
|
+
{
|
|
8634
|
+
"component": "nav-item",
|
|
8635
|
+
"context": "ion-nav-item--current ion-nav-item__icon",
|
|
8636
|
+
"state": "default",
|
|
8637
|
+
"fg": "--icon-primary",
|
|
8638
|
+
"bg": "--surface-default",
|
|
8639
|
+
"backdrop": null,
|
|
8640
|
+
"kind": "non-text",
|
|
8641
|
+
"ground": "assumed",
|
|
8642
|
+
"mode": "Dark",
|
|
8643
|
+
"fgHex": "#609cf0",
|
|
8644
|
+
"bgHex": "#000000",
|
|
8645
|
+
"ratio": 7.51,
|
|
8646
|
+
"min": 3
|
|
8647
|
+
},
|
|
8558
8648
|
{
|
|
8559
8649
|
"component": "stepper",
|
|
8560
8650
|
"context": "ion-stepper__step--complete ion-stepper__step--complete",
|
|
@@ -18352,6 +18442,21 @@
|
|
|
18352
18442
|
"ratio": 14.14,
|
|
18353
18443
|
"min": 3
|
|
18354
18444
|
},
|
|
18445
|
+
{
|
|
18446
|
+
"component": "nav-item",
|
|
18447
|
+
"context": "ion-nav-item--current",
|
|
18448
|
+
"state": "default",
|
|
18449
|
+
"fg": "--text-default",
|
|
18450
|
+
"bg": "--surface-muted",
|
|
18451
|
+
"backdrop": null,
|
|
18452
|
+
"kind": "text",
|
|
18453
|
+
"ground": "assumed",
|
|
18454
|
+
"mode": "Dark",
|
|
18455
|
+
"fgHex": "#f6f8f9",
|
|
18456
|
+
"bgHex": "#1d2735",
|
|
18457
|
+
"ratio": 14.14,
|
|
18458
|
+
"min": 4.5
|
|
18459
|
+
},
|
|
18355
18460
|
{
|
|
18356
18461
|
"component": "nav-item",
|
|
18357
18462
|
"context": "ion-nav-item--disabled",
|
|
@@ -19134,6 +19239,21 @@
|
|
|
19134
19239
|
"ratio": 15.71,
|
|
19135
19240
|
"min": 3
|
|
19136
19241
|
},
|
|
19242
|
+
{
|
|
19243
|
+
"component": "nav-item",
|
|
19244
|
+
"context": "ion-nav-item--current",
|
|
19245
|
+
"state": "default",
|
|
19246
|
+
"fg": "--text-default",
|
|
19247
|
+
"bg": "--surface-muted",
|
|
19248
|
+
"backdrop": null,
|
|
19249
|
+
"kind": "text",
|
|
19250
|
+
"ground": "assumed",
|
|
19251
|
+
"mode": "Light",
|
|
19252
|
+
"fgHex": "#131923",
|
|
19253
|
+
"bgHex": "#f0f2f4",
|
|
19254
|
+
"ratio": 15.71,
|
|
19255
|
+
"min": 4.5
|
|
19256
|
+
},
|
|
19137
19257
|
{
|
|
19138
19258
|
"component": "nav-item",
|
|
19139
19259
|
"context": "ion-nav-item--disabled",
|
|
@@ -21045,6 +21165,36 @@
|
|
|
21045
21165
|
"ratio": 16.55,
|
|
21046
21166
|
"min": 4.5
|
|
21047
21167
|
},
|
|
21168
|
+
{
|
|
21169
|
+
"component": "nav-item",
|
|
21170
|
+
"context": "ion-nav-item--current",
|
|
21171
|
+
"state": "default",
|
|
21172
|
+
"fg": "--text-default",
|
|
21173
|
+
"bg": "--surface-page",
|
|
21174
|
+
"backdrop": null,
|
|
21175
|
+
"kind": "text",
|
|
21176
|
+
"ground": "assumed",
|
|
21177
|
+
"mode": "Light",
|
|
21178
|
+
"fgHex": "#131923",
|
|
21179
|
+
"bgHex": "#f6f8f9",
|
|
21180
|
+
"ratio": 16.55,
|
|
21181
|
+
"min": 4.5
|
|
21182
|
+
},
|
|
21183
|
+
{
|
|
21184
|
+
"component": "nav-item",
|
|
21185
|
+
"context": "ion-nav-item--current",
|
|
21186
|
+
"state": "default",
|
|
21187
|
+
"fg": "--text-default",
|
|
21188
|
+
"bg": "--surface-page",
|
|
21189
|
+
"backdrop": null,
|
|
21190
|
+
"kind": "text",
|
|
21191
|
+
"ground": "assumed",
|
|
21192
|
+
"mode": "Dark",
|
|
21193
|
+
"fgHex": "#f6f8f9",
|
|
21194
|
+
"bgHex": "#131923",
|
|
21195
|
+
"ratio": 16.55,
|
|
21196
|
+
"min": 4.5
|
|
21197
|
+
},
|
|
21048
21198
|
{
|
|
21049
21199
|
"component": "nav-item",
|
|
21050
21200
|
"context": "ion-nav-item--disabled",
|
|
@@ -22082,6 +22232,21 @@
|
|
|
22082
22232
|
"ratio": 17.63,
|
|
22083
22233
|
"min": 4.5
|
|
22084
22234
|
},
|
|
22235
|
+
{
|
|
22236
|
+
"component": "nav-item",
|
|
22237
|
+
"context": "ion-nav-item--current",
|
|
22238
|
+
"state": "default",
|
|
22239
|
+
"fg": "--text-default",
|
|
22240
|
+
"bg": "--surface-default",
|
|
22241
|
+
"backdrop": null,
|
|
22242
|
+
"kind": "text",
|
|
22243
|
+
"ground": "assumed",
|
|
22244
|
+
"mode": "Light",
|
|
22245
|
+
"fgHex": "#131923",
|
|
22246
|
+
"bgHex": "#ffffff",
|
|
22247
|
+
"ratio": 17.63,
|
|
22248
|
+
"min": 4.5
|
|
22249
|
+
},
|
|
22085
22250
|
{
|
|
22086
22251
|
"component": "nav-item",
|
|
22087
22252
|
"context": "ion-nav-item--disabled",
|
|
@@ -22944,6 +23109,21 @@
|
|
|
22944
23109
|
"ratio": 19.71,
|
|
22945
23110
|
"min": 4.5
|
|
22946
23111
|
},
|
|
23112
|
+
{
|
|
23113
|
+
"component": "nav-item",
|
|
23114
|
+
"context": "ion-nav-item--current",
|
|
23115
|
+
"state": "default",
|
|
23116
|
+
"fg": "--text-default",
|
|
23117
|
+
"bg": "--surface-default",
|
|
23118
|
+
"backdrop": null,
|
|
23119
|
+
"kind": "text",
|
|
23120
|
+
"ground": "assumed",
|
|
23121
|
+
"mode": "Dark",
|
|
23122
|
+
"fgHex": "#f6f8f9",
|
|
23123
|
+
"bgHex": "#000000",
|
|
23124
|
+
"ratio": 19.71,
|
|
23125
|
+
"min": 4.5
|
|
23126
|
+
},
|
|
22947
23127
|
{
|
|
22948
23128
|
"component": "nav-item",
|
|
22949
23129
|
"context": "ion-nav-item--disabled",
|
package/dist/meta/index.json
CHANGED
package/dist/styles/nav-item.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Nav Item
|
|
3
3
|
*
|
|
4
|
-
* Measured from Figma `Nav Item` (70:22078)
|
|
4
|
+
* Measured from Figma `Nav Item` (70:22078): Default, Hover and Current.
|
|
5
5
|
*
|
|
6
6
|
* NO BACKGROUND ON HOVER — TEXT AND ICON RECOLOUR ONLY
|
|
7
7
|
*
|
|
@@ -33,7 +33,10 @@
|
|
|
33
33
|
font-family: var(--font-family-sans);
|
|
34
34
|
font-size: var(--type-body-sm);
|
|
35
35
|
line-height: var(--type-body-sm-line-height);
|
|
36
|
-
|
|
36
|
+
|
|
37
|
+
/* Figma binds `font/weight/medium` in every state; this read regular from
|
|
38
|
+
the July package merge until 0.76.0. */
|
|
39
|
+
font-weight: var(--font-weight-medium);
|
|
37
40
|
text-decoration: none;
|
|
38
41
|
cursor: pointer;
|
|
39
42
|
user-select: none;
|
|
@@ -62,6 +65,38 @@
|
|
|
62
65
|
outline-offset: 2px;
|
|
63
66
|
}
|
|
64
67
|
|
|
68
|
+
/*
|
|
69
|
+
* CURRENT — THE TABS UNDERLINE, NOT THE SIDEBAR FILL
|
|
70
|
+
*
|
|
71
|
+
* Sidebar marks its current row with `surface/selected`, but NavItem never
|
|
72
|
+
* fills (see above), so it takes the other current state the system already
|
|
73
|
+
* has: Tabs' underline — `text/default` over a `border-width/thick` rule in
|
|
74
|
+
* `border/primary`. The rule is an inset shadow, not a border, so the current
|
|
75
|
+
* item is exactly as tall as the rest and a nav bar does not jump when the
|
|
76
|
+
* page changes. The weight does not change either, for the same reason.
|
|
77
|
+
*
|
|
78
|
+
* Colour alone would not do: `text/secondary` to `text/default` is a step a
|
|
79
|
+
* reader can miss. The rule is the part that is not colour.
|
|
80
|
+
*/
|
|
81
|
+
.ion-nav-item--current {
|
|
82
|
+
color: var(--text-default);
|
|
83
|
+
box-shadow: inset 0 calc(-1 * var(--border-width-thick)) 0
|
|
84
|
+
var(--border-primary);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.ion-nav-item--current .ion-nav-item__icon {
|
|
88
|
+
color: var(--icon-primary);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Forced colours drop box-shadow, which would erase the indicator entirely. */
|
|
92
|
+
@media (forced-colors: active) {
|
|
93
|
+
.ion-nav-item--current {
|
|
94
|
+
text-decoration: underline;
|
|
95
|
+
text-decoration-thickness: var(--border-width-thick);
|
|
96
|
+
text-underline-offset: var(--spacing-4);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
65
100
|
.ion-nav-item--disabled,
|
|
66
101
|
.ion-nav-item[data-disabled='true'] {
|
|
67
102
|
color: var(--text-disabled);
|
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.
|
|
5
|
+
Version 0.76.0. 75 components.
|
|
6
6
|
|
|
7
7
|
## Read these, in this order
|
|
8
8
|
|