@exponential_app/eui 0.2.1 → 0.3.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.
Files changed (66) hide show
  1. package/catalog/a11y.json +15 -1
  2. package/catalog/core.catalog.json +142 -0
  3. package/catalog/core.schema.json +198 -1
  4. package/catalog/host.json +10 -0
  5. package/catalog/macros.json +541 -1
  6. package/catalog/recipes.json +2 -2
  7. package/catalog/strings.json +5 -0
  8. package/catalog/theme.schema.json +2066 -212
  9. package/conformance/manifest.json +5 -5
  10. package/dist/chunks/{index-gtk2gwsb.js → index-4z7f2bp1.js} +160 -33
  11. package/dist/chunks/{index-gtk2gwsb.js.map → index-4z7f2bp1.js.map} +6 -5
  12. package/dist/chunks/{index-5fmaa0xq.js → index-abcjanhc.js} +629 -3
  13. package/dist/chunks/{index-5fmaa0xq.js.map → index-abcjanhc.js.map} +2 -2
  14. package/dist/chunks/{index-62yzr94z.js → index-dx45asrf.js} +99 -3
  15. package/dist/chunks/{index-62yzr94z.js.map → index-dx45asrf.js.map} +2 -2
  16. package/dist/chunks/{index-bg2jsgjq.js → index-h3zgfghf.js} +304 -6
  17. package/dist/chunks/{index-bg2jsgjq.js.map → index-h3zgfghf.js.map} +2 -2
  18. package/dist/conformance.js +7901 -614
  19. package/dist/conformance.js.map +2 -2
  20. package/dist/entries/prompt.js +2 -2
  21. package/dist/entries/schema.js +2 -2
  22. package/dist/host/index.js +20 -4
  23. package/dist/host/index.js.map +1 -1
  24. package/dist/index.js +35 -5
  25. package/dist/index.js.map +2 -2
  26. package/dist/types/src/catalog.generated.d.ts +23 -3
  27. package/dist/types/src/host/contract.d.ts +17 -0
  28. package/dist/types/src/host/exposes.d.ts +68 -0
  29. package/dist/types/src/host/index.d.ts +1 -0
  30. package/dist/types/src/host/package.d.ts +8 -0
  31. package/dist/types/src/web/primitives/carousel.d.ts +17 -0
  32. package/dist/types/src/web/primitives/index.d.ts +3 -0
  33. package/dist/types/src/web/primitives/mosaic.d.ts +30 -0
  34. package/dist/types/src/web/primitives/outline.d.ts +22 -0
  35. package/dist/web/index.js +8 -2
  36. package/dist/web/index.js.map +4 -4
  37. package/dist/web/primitives/index.js +59 -1
  38. package/dist/web/primitives/index.js.map +6 -3
  39. package/docs/components.generated.json +150 -1
  40. package/docs/package-format.md +56 -1
  41. package/docs/round-6-contract.md +108 -0
  42. package/docs/themes.generated.json +39 -2
  43. package/fixtures/bind-time.json +1464 -0
  44. package/fixtures/catalog-components.json +96 -0
  45. package/fixtures/catalog-macros.json +1159 -48
  46. package/fixtures/conformance-baseline.json +46073 -44448
  47. package/fixtures/conformance-known.json +76 -64
  48. package/fixtures/host-router.json +539 -1
  49. package/fixtures/kitchen-sink.expanded.json +614 -1
  50. package/fixtures/kitchen-sink.json +69 -1
  51. package/fixtures/primitive-specimens.json +3 -0
  52. package/fixtures/prompt-budget.json +14 -14
  53. package/fixtures/specimens.json +122 -0
  54. package/fixtures/theme-recipes.json +4617 -1691
  55. package/fixtures/theme-resolved.json +1154 -2
  56. package/generated/ExponentialUICatalog.generated.kt +13 -13
  57. package/generated/ExponentialUICatalog.generated.swift +13 -13
  58. package/generated/ExponentialUIThemes.generated.kt +7 -7
  59. package/generated/ExponentialUIThemes.generated.swift +7 -7
  60. package/generated/catalog.descriptions.generated.rs +1 -1
  61. package/generated/catalog.generated.rs +18 -18
  62. package/generated/catalog.themes.generated.rs +8 -8
  63. package/generated/core.descriptions.json +96 -0
  64. package/generated/core.runtime.json +86 -0
  65. package/package.json +1 -1
  66. package/themes/neutral.theme.json +288 -0
@@ -14,17 +14,17 @@ pub const STYLE_MEDIA_PATTERN: &str = "^@media \\((min-width|max-width|min-heigh
14
14
  pub const STYLE_TRANSFORM_PATTERN: &str = "^((translate\\(-?\\d+(\\.\\d+)?px, -?\\d+(\\.\\d+)?px\\)|scale\\(-?\\d+(\\.\\d+)?\\)|rotate\\(-?\\d+(\\.\\d+)?deg\\))( (?=\\S)|$))+$";
15
15
  pub const DEFAULT_LOCALE: &str = "en-US";
16
16
  pub const WEEK_START_DEFAULT: &str = "1";
17
- pub const COMPONENT_NAMES: &[&str] = &["Box", "Stack", "Grid", "Card", "Separator", "List", "Resizable", "ScrollArea", "Sidebar", "SplitView", "AppBar", "Page", "Toolbar", "Section", "Group", "Text", "Heading", "Markdown", "CodeBlock", "Kbd", "Label", "Image", "Icon", "Video", "AudioPlayer", "Avatar", "QrCode", "Carousel", "Tabs", "Segmented", "Accordion", "Collapsible", "Trace", "TraceItem", "Plan", "Pagination", "Breadcrumb", "Stepper", "Dialog", "Drawer", "DockCard", "AlertDialog", "Popover", "Tooltip", "Menu", "Toast", "Badge", "Alert", "Chip", "EmptyState", "Progress", "Meter", "Ring", "Spinner", "Skeleton", "VoiceWave", "CallSurface", "Table", "Chart", "Sparkline", "StatTile", "Button", "Link", "Toggle", "Form", "FieldGroup", "FormActions", "Input", "Textarea", "NumberField", "Checkbox", "Radio", "ChoiceTiles", "Switch", "Slider", "Rating", "Select", "SearchList", "ChipInput", "DatePicker", "DateRangePicker", "TimePicker", "FileUpload", "QrScanner", "Composer", "Row", "MessageBubble", "TreeGuides", "Unknown"];
18
- pub const COMPONENT_KINDS: &[&str] = &["native", "macro", "macro", "macro", "macro", "native", "native", "macro", "macro", "macro", "macro", "macro", "macro", "macro", "macro", "native", "macro", "native", "native", "macro", "macro", "native", "native", "native", "native", "native", "native", "native", "native", "native", "native", "macro", "macro", "macro", "macro", "macro", "macro", "macro", "native", "native", "macro", "macro", "native", "native", "native", "native", "macro", "macro", "macro", "macro", "macro", "macro", "native", "native", "native", "native", "macro", "native", "native", "macro", "macro", "native", "native", "native", "native", "macro", "macro", "native", "native", "native", "native", "native", "native", "native", "native", "macro", "native", "native", "native", "native", "native", "native", "native", "native", "native", "macro", "macro", "native", "native"];
19
- pub const COMPONENT_GROUPS: &[&str] = &["layout", "layout", "layout", "layout", "layout", "layout", "layout", "layout", "layout", "layout", "layout", "layout", "layout", "list", "list", "text", "text", "text", "text", "text", "text", "media", "media", "media", "media", "media", "media", "media", "navigation", "navigation", "navigation", "navigation", "list", "list", "list", "navigation", "navigation", "navigation", "overlay", "overlay", "overlay", "overlay", "overlay", "overlay", "overlay", "overlay", "feedback", "feedback", "feedback", "feedback", "feedback", "feedback", "feedback", "feedback", "feedback", "feedback", "media", "data", "data", "data", "data", "action", "action", "action", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "list", "list", "list", "feedback"];
20
- pub const COMPONENT_CHILDREN: &[&str] = &["many", "many", "many", "many", "none", "many", "many", "many", "many", "many", "none", "many", "many", "many", "many", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "many", "many", "none", "many", "many", "many", "many", "none", "none", "none", "none", "many", "many", "many", "many", "many", "many", "one", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "one", "none", "none", "none", "none", "none", "one", "none", "none", "many", "many", "many", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none"];
21
- pub const COMPONENT_PROPS: &[&str] = &["style,pressable", "direction,gap,align,justify,wrap,style", "columns,gap,style", "title,description,padded,style", "orientation", "direction,gap,divided,sectionBy,stickyHeaders,style", "direction,sizes,panels,handle,style", "direction,maxHeight,style", "side,width,collapseBelow,collapsed", "open,width", "title,subtitle,back", "title,subtitle,back,padded", "gap", "title,caption,count,icon,collapsible,open,tint,tree,loading,style", "title,footer", "text,variant,align,lines,tone,shimmer,live,style", "text,level", "text,lines,style", "code,language,title,lineNumbers,wrap,copyable,highlight,maxLines,variant,size", "keys", "text,for,required", "src,alt,fit,width,height,aspectRatio,fallback,loading,focalX,focalY,style", "name,size,tone,label", "src,poster,durationMs,autoplay,aspectRatio,style", "src,title,durationMs", "name,src,size,seed", "value,size,level,label", "page,loop,indicators", "tabs,value,fill,closable,addable", "items,type,value,variant,size,fill,orientation", "items,type,value", "title,open,count", "size", "title,icon,description,status,size,collapsible,open", "title,description,steps,state,progress,approveLabel,declineLabel,stopLabel", "totalPages,page", "items", "steps,current,orientation", "title,description,open,dismissible", "title,description,open,side,dismissible,dragToDismiss", "label,title,caption,meta,icon,tone,open", "title,description,confirmLabel,cancelLabel,destructive,open", "open,side,openOn", "content,side", "label,icon,items,openOn", "title,description,type,open,duration,actionLabel,dismissible", "text,variant,icon", "title,message,type", "label,shape,selected,tone,dot,icon,image,detail,removable,pressable", "icon,title,description,actionLabel,size", "value,max,label,tone", "segments,max,label,value", "value,size,tone,label", "size,label", "width,height,rounded,rows,rowHeight,dot", "activity,variant,level,bands,size,label", "name,avatar,state,activity,level,bands,status,caption,muted,speaker", "columns,rows,rowKey,sort,selectable,selected,caption,emptyText,striped,density,stickyHeader", "kind,categories,series,title,height,xLabel,yLabel,min,max,showAxes,showGrid,showLegend,showValues", "values,tone,height", "label,value,delta,tone,trend", "label,icon,variant,size,disabled,loading,pendingLabel,submit,hold,holdingLabel", "label,href,external", "label,icon,pressed,variant,size", "name,disabled,busy,summary", "columns", "submit,cancel,destructive", "label,name,type,placeholder,value,disabled,checks,validateOn", "label,name,placeholder,rows,autosize,maxRows,value,disabled,checks,validateOn", "label,name,value,min,max,step,precision,unit,placeholder,disabled,checks,validateOn", "label,name,checked,disabled,checks", "label,name,options,value,orientation,checks", "name,options,type,value,columns,disabled,checks", "label,name,checked,description,disabled", "label,min,max,step,value", "value,max,readOnly,size", "label,name,options,source,placeholder,value,multiple,searchable,emptyText,disabled,checks,validateOn", "items,query,placeholder,value,emptyText,maxRows,showCount", "label,name,values,suggestions,placeholder,max,disabled,checks", "label,name,value,min,max,placeholder,firstDayOfWeek", "label,name,start,end,min,max,placeholder,firstDayOfWeek", "label,name,value,min,max,step,placeholder,disabled", "label,name,accept,multiple,maxSize,files,hint,disabled", "hint,formats,label,disabled", "placeholder,value,submitLabel,attachments,busy", "title,identifier,subtitle,meta,value,placeholder,icon,chevron,selected,density,surface,pressable,depth", "text,side,time,status,author", "depth,elbowAt,tee,passThrough", "component,catalogId"];
22
- pub const COMPONENT_EVENTS: &[&str] = &["press", "", "", "", "", "", "change", "", "", "back", "back", "back", "", "change", "", "", "", "", "", "", "", "", "", "", "", "", "", "change", "change,close,new", "change", "change", "change", "", "change", "approve,decline,stop", "change", "select", "", "change", "change", "press,change", "confirm,cancel,change", "change", "", "select", "dismiss,action,change", "", "", "press,remove", "press", "", "", "", "", "", "", "mute,speaker,hangUp", "sort,select,rowPress", "", "", "", "press,holdStart,holdEnd,holdCancel", "press", "change", "submit,invalid,change", "", "cancel", "change,submit,focus,blur", "change,focus,blur", "change,submit,focus,blur", "change", "change", "change", "change", "change", "change", "change,search", "search,select", "change,add,remove", "change", "change", "change", "upload,remove", "scanned", "submit,change,stop", "press", "", "", ""];
23
- pub const COMPONENT_SLOTS: &[&str] = &["", "", "", "", "", "section", "", "", "sidebar", "list", "leading,trailing", "leading,trailing", "trailing", "leading,trailing", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "trigger,footer", "trigger,footer", "footer", "trigger", "trigger", "", "", "", "", "", "leading", "", "", "", "", "", "", "", "", "*", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "leading,trailing", "attachment", "", ""];
24
- pub const COMPONENT_SPECIMEN_IDS: &[&str] = &["exponential-ui-box", "exponential-ui-stack", "exponential-ui-grid", "exponential-ui-card", "exponential-ui-separator", "exponential-ui-list", "exponential-ui-resizable", "exponential-ui-scroll-area", "exponential-ui-sidebar", "exponential-ui-split-view", "exponential-ui-app-bar", "exponential-ui-page", "exponential-ui-toolbar", "exponential-ui-section", "exponential-ui-group", "exponential-ui-text", "exponential-ui-heading", "exponential-ui-markdown", "exponential-ui-code-block", "exponential-ui-kbd", "exponential-ui-label", "exponential-ui-image", "exponential-ui-icon", "exponential-ui-video", "exponential-ui-audio-player", "exponential-ui-avatar", "exponential-ui-qr-code", "exponential-ui-carousel", "exponential-ui-tabs", "exponential-ui-segmented", "exponential-ui-accordion", "exponential-ui-collapsible", "exponential-ui-trace", "exponential-ui-trace-item", "exponential-ui-plan", "exponential-ui-pagination", "exponential-ui-breadcrumb", "exponential-ui-stepper", "exponential-ui-dialog", "exponential-ui-drawer", "exponential-ui-dock-card", "exponential-ui-alert-dialog", "exponential-ui-popover", "exponential-ui-tooltip", "exponential-ui-menu", "exponential-ui-toast", "exponential-ui-badge", "exponential-ui-alert", "exponential-ui-chip", "exponential-ui-empty-state", "exponential-ui-progress", "exponential-ui-meter", "exponential-ui-ring", "exponential-ui-spinner", "exponential-ui-skeleton", "exponential-ui-voice-wave", "exponential-ui-call-surface", "exponential-ui-table", "exponential-ui-chart", "exponential-ui-sparkline", "exponential-ui-stat-tile", "exponential-ui-button", "exponential-ui-link", "exponential-ui-toggle", "exponential-ui-form", "exponential-ui-field-group", "exponential-ui-form-actions", "exponential-ui-input", "exponential-ui-textarea", "exponential-ui-number-field", "exponential-ui-checkbox", "exponential-ui-radio", "exponential-ui-choice-tiles", "exponential-ui-switch", "exponential-ui-slider", "exponential-ui-rating", "exponential-ui-select", "exponential-ui-search-list", "exponential-ui-chip-input", "exponential-ui-date-picker", "exponential-ui-date-range-picker", "exponential-ui-time-picker", "exponential-ui-file-upload", "exponential-ui-qr-scanner", "exponential-ui-composer", "exponential-ui-row", "exponential-ui-message-bubble", "exponential-ui-tree-guides", "exponential-ui-unknown"];
25
- pub const LITE_COMPONENTS: &[&str] = &["Box", "Stack", "Grid", "Card", "Separator", "List", "Resizable", "ScrollArea", "Sidebar", "SplitView", "AppBar", "Page", "Toolbar", "Section", "Group", "Text", "Heading", "Markdown", "CodeBlock", "Kbd", "Label", "Icon", "Avatar", "Tabs", "Segmented", "Collapsible", "Trace", "TraceItem", "Plan", "Breadcrumb", "Stepper", "Badge", "Alert", "Chip", "EmptyState", "Progress", "Meter", "Ring", "Skeleton", "StatTile", "Button", "Link", "Form", "FieldGroup", "FormActions", "Input", "Textarea", "NumberField", "Checkbox", "Switch", "Rating", "Select", "SearchList", "ChipInput", "DatePicker", "DateRangePicker", "TimePicker", "FileUpload", "Composer", "Row", "MessageBubble"];
17
+ pub const COMPONENT_NAMES: &[&str] = &["Box", "Stack", "Grid", "Card", "Separator", "List", "Resizable", "ScrollArea", "Sidebar", "SplitView", "AppBar", "Page", "Toolbar", "Section", "Group", "Text", "Heading", "Markdown", "CodeBlock", "Kbd", "Label", "Image", "Icon", "Video", "AudioPlayer", "Avatar", "QrCode", "Carousel", "Mosaic", "Tabs", "Segmented", "Accordion", "Collapsible", "Trace", "TraceItem", "Plan", "Pagination", "Breadcrumb", "Outline", "Stepper", "Dialog", "Drawer", "DockCard", "AlertDialog", "Popover", "Tooltip", "Menu", "Toast", "Badge", "Alert", "Chip", "EmptyState", "Progress", "Meter", "Ring", "Spinner", "Skeleton", "VoiceWave", "CallSurface", "Table", "Chart", "Sparkline", "StatTile", "Button", "Link", "Toggle", "Form", "FieldGroup", "FormActions", "Input", "Textarea", "NumberField", "Checkbox", "Radio", "ChoiceTiles", "Switch", "Slider", "Rating", "Select", "SearchList", "ChipInput", "DatePicker", "DateRangePicker", "TimePicker", "FileUpload", "QrScanner", "Composer", "Row", "MessageBubble", "TreeGuides", "Unknown"];
18
+ pub const COMPONENT_KINDS: &[&str] = &["native", "macro", "macro", "macro", "macro", "native", "native", "macro", "macro", "macro", "macro", "macro", "macro", "macro", "macro", "native", "macro", "native", "native", "macro", "macro", "native", "native", "native", "native", "native", "native", "native", "macro", "native", "native", "native", "macro", "macro", "macro", "macro", "macro", "macro", "macro", "macro", "native", "native", "macro", "macro", "native", "native", "native", "native", "macro", "macro", "macro", "macro", "macro", "macro", "native", "native", "native", "native", "macro", "native", "native", "macro", "macro", "native", "native", "native", "native", "macro", "macro", "native", "native", "native", "native", "native", "native", "native", "native", "macro", "native", "native", "native", "native", "native", "native", "native", "native", "native", "macro", "macro", "native", "native"];
19
+ pub const COMPONENT_GROUPS: &[&str] = &["layout", "layout", "layout", "layout", "layout", "layout", "layout", "layout", "layout", "layout", "layout", "layout", "layout", "list", "list", "text", "text", "text", "text", "text", "text", "media", "media", "media", "media", "media", "media", "media", "media", "navigation", "navigation", "navigation", "navigation", "list", "list", "list", "navigation", "navigation", "navigation", "navigation", "overlay", "overlay", "overlay", "overlay", "overlay", "overlay", "overlay", "overlay", "feedback", "feedback", "feedback", "feedback", "feedback", "feedback", "feedback", "feedback", "feedback", "feedback", "media", "data", "data", "data", "data", "action", "action", "action", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "input", "list", "list", "list", "feedback"];
20
+ pub const COMPONENT_CHILDREN: &[&str] = &["many", "many", "many", "many", "none", "many", "many", "many", "many", "many", "none", "many", "many", "many", "many", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "many", "none", "many", "none", "many", "many", "many", "many", "none", "none", "none", "none", "none", "many", "many", "many", "many", "many", "many", "one", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "one", "none", "none", "none", "none", "none", "one", "none", "none", "many", "many", "many", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none"];
21
+ pub const COMPONENT_PROPS: &[&str] = &["style,pressable", "direction,gap,align,justify,wrap,style", "columns,gap,style", "title,description,padded,style", "orientation", "direction,gap,divided,sectionBy,stickyHeaders,style", "direction,sizes,panels,handle,style", "direction,maxHeight,style", "side,width,collapseBelow,collapsed", "open,width", "title,subtitle,back", "title,subtitle,back,padded", "gap", "title,caption,count,icon,collapsible,open,tint,tree,loading,style", "title,footer", "text,variant,align,lines,tone,shimmer,live,style", "text,level", "text,lines,style", "code,language,title,lineNumbers,wrap,copyable,highlight,maxLines,variant,size", "keys", "text,for,required", "src,alt,fit,width,height,aspectRatio,fallback,loading,focalX,focalY,style", "name,size,tone,label", "src,poster,durationMs,autoplay,aspectRatio,style", "src,title,durationMs", "name,src,size,seed", "value,size,level,label", "page,loop,indicators,counter,thumbnails", "pictures,label", "tabs,value,fill,closable,addable", "items,type,value,variant,size,fill,orientation", "items,type,value", "title,open,count", "size", "title,icon,description,status,size,collapsible,open", "title,description,steps,state,progress,approveLabel,declineLabel,stopLabel", "totalPages,page", "items", "items,value,caption", "steps,current,orientation", "title,description,open,dismissible", "title,description,open,side,dismissible,dragToDismiss", "label,title,caption,meta,icon,tone,open", "title,description,confirmLabel,cancelLabel,destructive,open", "open,side,openOn", "content,side", "label,icon,items,openOn", "title,description,type,open,duration,actionLabel,dismissible", "text,variant,icon", "title,message,type", "label,shape,selected,tone,dot,icon,image,detail,removable,pressable", "icon,title,description,actionLabel,size", "value,max,label,tone", "segments,max,label,value", "value,size,tone,label", "size,label", "width,height,rounded,rows,rowHeight,dot", "activity,variant,level,bands,size,label", "name,avatar,state,activity,level,bands,status,caption,muted,speaker", "columns,rows,rowKey,sort,selectable,selected,caption,emptyText,striped,density,stickyHeader", "kind,categories,series,title,height,xLabel,yLabel,min,max,showAxes,showGrid,showLegend,showValues", "values,tone,height", "label,value,delta,tone,trend", "label,icon,variant,size,disabled,loading,pendingLabel,submit,hold,holdingLabel", "label,href,external", "label,icon,pressed,variant,size", "name,disabled,busy,summary", "columns", "submit,cancel,destructive", "label,name,type,placeholder,value,disabled,checks,validateOn", "label,name,placeholder,rows,autosize,maxRows,value,disabled,checks,validateOn", "label,name,value,min,max,step,precision,unit,placeholder,disabled,checks,validateOn", "label,name,checked,disabled,checks", "label,name,options,value,orientation,checks", "name,options,type,value,columns,disabled,checks", "label,name,checked,description,disabled", "label,min,max,step,value", "value,max,readOnly,size", "label,name,options,source,placeholder,value,multiple,searchable,emptyText,disabled,checks,validateOn", "items,query,placeholder,value,emptyText,maxRows,showCount", "label,name,values,suggestions,placeholder,max,disabled,checks", "label,name,value,min,max,placeholder,firstDayOfWeek", "label,name,start,end,min,max,placeholder,firstDayOfWeek", "label,name,value,min,max,step,placeholder,disabled", "label,name,accept,multiple,maxSize,files,hint,disabled", "hint,formats,label,disabled", "placeholder,value,submitLabel,attachments,busy", "title,identifier,subtitle,meta,value,placeholder,icon,chevron,selected,density,surface,pressable,depth", "text,side,time,status,author", "depth,elbowAt,tee,passThrough", "component,catalogId"];
22
+ pub const COMPONENT_EVENTS: &[&str] = &["press", "", "", "", "", "", "change", "", "", "back", "back", "back", "", "change", "", "", "", "", "", "", "", "", "", "", "", "", "", "change", "select", "change,close,new", "change", "change", "change", "", "change", "approve,decline,stop", "change", "select", "select", "", "change", "change", "press,change", "confirm,cancel,change", "change", "", "select", "dismiss,action,change", "", "", "press,remove", "press", "", "", "", "", "", "", "mute,speaker,hangUp", "sort,select,rowPress", "", "", "", "press,holdStart,holdEnd,holdCancel", "press", "change", "submit,invalid,change", "", "cancel", "change,submit,focus,blur", "change,focus,blur", "change,submit,focus,blur", "change", "change", "change", "change", "change", "change", "change,search", "search,select", "change,add,remove", "change", "change", "change", "upload,remove", "scanned", "submit,change,stop", "press", "", "", ""];
23
+ pub const COMPONENT_SLOTS: &[&str] = &["", "", "", "", "", "section", "", "", "sidebar", "list", "leading,trailing", "leading,trailing", "trailing", "leading,trailing", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "trigger,footer", "trigger,footer", "footer", "trigger", "trigger", "", "", "", "", "", "leading", "", "", "", "", "", "", "", "", "*", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "leading,trailing", "attachment", "", ""];
24
+ pub const COMPONENT_SPECIMEN_IDS: &[&str] = &["exponential-ui-box", "exponential-ui-stack", "exponential-ui-grid", "exponential-ui-card", "exponential-ui-separator", "exponential-ui-list", "exponential-ui-resizable", "exponential-ui-scroll-area", "exponential-ui-sidebar", "exponential-ui-split-view", "exponential-ui-app-bar", "exponential-ui-page", "exponential-ui-toolbar", "exponential-ui-section", "exponential-ui-group", "exponential-ui-text", "exponential-ui-heading", "exponential-ui-markdown", "exponential-ui-code-block", "exponential-ui-kbd", "exponential-ui-label", "exponential-ui-image", "exponential-ui-icon", "exponential-ui-video", "exponential-ui-audio-player", "exponential-ui-avatar", "exponential-ui-qr-code", "exponential-ui-carousel", "exponential-ui-mosaic", "exponential-ui-tabs", "exponential-ui-segmented", "exponential-ui-accordion", "exponential-ui-collapsible", "exponential-ui-trace", "exponential-ui-trace-item", "exponential-ui-plan", "exponential-ui-pagination", "exponential-ui-breadcrumb", "exponential-ui-outline", "exponential-ui-stepper", "exponential-ui-dialog", "exponential-ui-drawer", "exponential-ui-dock-card", "exponential-ui-alert-dialog", "exponential-ui-popover", "exponential-ui-tooltip", "exponential-ui-menu", "exponential-ui-toast", "exponential-ui-badge", "exponential-ui-alert", "exponential-ui-chip", "exponential-ui-empty-state", "exponential-ui-progress", "exponential-ui-meter", "exponential-ui-ring", "exponential-ui-spinner", "exponential-ui-skeleton", "exponential-ui-voice-wave", "exponential-ui-call-surface", "exponential-ui-table", "exponential-ui-chart", "exponential-ui-sparkline", "exponential-ui-stat-tile", "exponential-ui-button", "exponential-ui-link", "exponential-ui-toggle", "exponential-ui-form", "exponential-ui-field-group", "exponential-ui-form-actions", "exponential-ui-input", "exponential-ui-textarea", "exponential-ui-number-field", "exponential-ui-checkbox", "exponential-ui-radio", "exponential-ui-choice-tiles", "exponential-ui-switch", "exponential-ui-slider", "exponential-ui-rating", "exponential-ui-select", "exponential-ui-search-list", "exponential-ui-chip-input", "exponential-ui-date-picker", "exponential-ui-date-range-picker", "exponential-ui-time-picker", "exponential-ui-file-upload", "exponential-ui-qr-scanner", "exponential-ui-composer", "exponential-ui-row", "exponential-ui-message-bubble", "exponential-ui-tree-guides", "exponential-ui-unknown"];
25
+ pub const LITE_COMPONENTS: &[&str] = &["Box", "Stack", "Grid", "Card", "Separator", "List", "Resizable", "ScrollArea", "Sidebar", "SplitView", "AppBar", "Page", "Toolbar", "Section", "Group", "Text", "Heading", "Markdown", "CodeBlock", "Kbd", "Label", "Icon", "Avatar", "Tabs", "Segmented", "Collapsible", "Trace", "TraceItem", "Plan", "Breadcrumb", "Outline", "Stepper", "Badge", "Alert", "Chip", "EmptyState", "Progress", "Meter", "Ring", "Skeleton", "StatTile", "Button", "Link", "Form", "FieldGroup", "FormActions", "Input", "Textarea", "NumberField", "Checkbox", "Switch", "Rating", "Select", "SearchList", "ChipInput", "DatePicker", "DateRangePicker", "TimePicker", "FileUpload", "Composer", "Row", "MessageBubble"];
26
26
  pub const NATIVE_COMPONENTS: &[&str] = &["Box", "List", "Resizable", "Text", "Markdown", "CodeBlock", "Image", "Icon", "Video", "AudioPlayer", "Avatar", "QrCode", "Carousel", "Tabs", "Segmented", "Accordion", "Dialog", "Drawer", "Popover", "Tooltip", "Menu", "Toast", "Ring", "Spinner", "Skeleton", "VoiceWave", "Table", "Chart", "Button", "Link", "Toggle", "Form", "Input", "Textarea", "NumberField", "Checkbox", "Radio", "ChoiceTiles", "Switch", "Slider", "Select", "SearchList", "ChipInput", "DatePicker", "DateRangePicker", "TimePicker", "FileUpload", "QrScanner", "Composer", "TreeGuides", "Unknown"];
27
- pub const MACRO_COMPONENTS: &[&str] = &["Stack", "Grid", "Card", "Separator", "ScrollArea", "Sidebar", "SplitView", "AppBar", "Page", "Toolbar", "Section", "Group", "Heading", "Kbd", "Label", "Collapsible", "Trace", "TraceItem", "Plan", "Pagination", "Breadcrumb", "Stepper", "DockCard", "AlertDialog", "Badge", "Alert", "Chip", "EmptyState", "Progress", "Meter", "CallSurface", "Sparkline", "StatTile", "FieldGroup", "FormActions", "Rating", "Row", "MessageBubble"];
27
+ pub const MACRO_COMPONENTS: &[&str] = &["Stack", "Grid", "Card", "Separator", "ScrollArea", "Sidebar", "SplitView", "AppBar", "Page", "Toolbar", "Section", "Group", "Heading", "Kbd", "Label", "Mosaic", "Collapsible", "Trace", "TraceItem", "Plan", "Pagination", "Breadcrumb", "Outline", "Stepper", "DockCard", "AlertDialog", "Badge", "Alert", "Chip", "EmptyState", "Progress", "Meter", "CallSurface", "Sparkline", "StatTile", "FieldGroup", "FormActions", "Rating", "Row", "MessageBubble"];
28
28
  pub const ENUM_NAMES: &[&str] = &["variant", "size", "tone", "gap", "align", "justify", "textVariant", "headingLevel", "imageFit", "orientation", "side", "inputType", "validateOn", "alertType", "controlSize", "spinnerSize", "tabClosable", "groupType", "rowChevron", "rowSurface", "chipShape", "density", "listDirection", "chartKind", "segmentedVariant", "liveTone", "menuItemKind", "openOn", "menuOpenOn", "live", "selectable", "cellType", "sortDirection", "imageLoading", "scrollDirection", "collapseBelow", "codeLanguage", "codeToken", "codeBlockVariant", "codeBlockSize", "traceStatus", "traceSize", "voiceWaveActivity", "voiceWaveSize", "messageSide", "messageStatus", "callState", "voiceWaveVariant", "qrLevel", "planState"];
29
29
  pub const ENUM_VALUES: &[&str] = &["default|secondary|outline|ghost|destructive|link", "sm|default|lg|icon", "neutral|primary|success|warning|danger|info", "none|xs|sm|md|lg|xl", "start|center|end|stretch", "start|center|end|between|around|evenly", "body|caption|muted|lead|code|label|title", "h1|h2|h3|h4", "contain|cover|fill|none|scaleDown", "horizontal|vertical", "top|right|bottom|left", "text|email|password|number|search|url|tel", "change|blur|submit", "info|success|warning|error", "sm|default|lg", "xs|sm|default|lg", "none|hover|always", "single|multiple", "none|right|selector", "flat|card", "pill|rect", "default|compact", "vertical|horizontal", "bar|stackedBar|line|area|pie|donut|sparkline", "segmented|toggles|outline|bar", "live|attention|done|unread|idle|muted", "item|checkbox|separator|label|submenu", "press|hover", "press|contextmenu", "off|polite|assertive", "none|single|multiple", "text|number|date|boolean|badge|slot|currency|percent|relativeTime", "asc|desc", "lazy|eager", "vertical|horizontal|both", "never|sm|md|lg|xl", "plain|json|js|ts|tsx|rust|swift|kotlin|python|bash|html|css|sql|yaml|markdown|ansi", "plain|keyword|string|number|comment|punctuation|operator|type|function|property|tag|attribute|success|warning|error", "default|destructive", "default|sm", "running|error|pending|done|skipped", "default|sm", "idle|listening|thinking|speaking|muted", "sm|md|lg|xl", "in|out", "sending|sent|read", "ringing|connecting|talking|ended", "ring|bars", "L|M|Q|H", "proposed|running|done|declined"];
30
30
  pub const TOKEN_GROUPS: &[&str] = &["color", "spacing", "radius", "type.size", "type.lineHeight", "type.weight", "type.family", "control", "shadow", "opacity", "border", "motion", "breakpoint", "ease", "density", "blur", "scale"];
@@ -36,8 +36,8 @@ pub const STYLE_LAYOUT_EFFECT_KEYS: &[&str] = &["borderWidth", "borderTopWidth",
36
36
  pub const FUNCTION_NAMES: &[&str] = &["required", "regex", "length", "numeric", "email", "formatString", "formatNumber", "formatCurrency", "formatDate", "pluralize", "openUrl", "and", "or", "not", "percent", "add", "sub", "eq", "lt", "clamp", "cond", "fallback", "concat", "coalesce", "text", "map", "len", "fill", "set", "formatPercent", "formatRelativeTime", "filter", "bind"];
37
37
  pub const CORE_FUNCTION_NAMES: &[&str] = &["percent", "add", "sub", "eq", "lt", "clamp", "cond", "fallback", "concat", "coalesce", "text", "map", "len", "fill", "set", "formatPercent", "formatRelativeTime", "filter", "bind"];
38
38
  pub const BIND_FUNCTION_NAMES: &[&str] = &["and", "or", "not", "required", "percent", "add", "sub", "eq", "lt", "clamp", "cond", "fallback", "concat", "coalesce", "text", "map", "len", "fill", "filter", "formatPercent", "formatRelativeTime", "formatNumber", "formatCurrency", "formatDate", "pluralize"];
39
- pub const STRING_IDS: &[&str] = &["back", "breadcrumb", "browse", "cameraUnavailable", "cancel", "carousel", "chartSummary", "choose", "clear", "close", "closeTab", "codeBlock", "collapse", "confirm", "copied", "copy", "decrement", "dialog", "dismiss", "dropFiles", "endCall", "expand", "fileTooLarge", "fileTooLargeNamed", "increment", "invalidFields", "invalidValue", "loading", "menu", "message", "more", "mute", "newTab", "next", "nextMonth", "no", "noResults", "optional", "pageOf", "pagination", "previous", "previousMonth", "ratingStar", "ratingValue", "read", "remove", "removeItem", "required", "resize", "scanQrCode", "search", "selectAll", "selectedCount", "selectRow", "send", "sending", "sent", "showLess", "showMore", "slide", "sortAscending", "sortByAscending", "sortByDescending", "sortDescending", "sparklineSummary", "speaker", "speakerOff", "stepCurrent", "stepDone", "stepUpcoming", "stop", "submit", "table", "today", "unknownComponent", "unmute", "unsupportedFile", "unsupportedFileNamed", "yes"];
40
- pub const STRING_DEFAULTS: &[&str] = &["Back", "Breadcrumb", "Browse", "Camera unavailable", "Cancel", "Carousel", "Chart of {series}, values from {min} to {max}", "Choose", "Clear", "Close", "Close {name}", "Code", "Collapse", "Confirm", "Copied", "Copy", "Decrease", "Dialog", "Dismiss", "Drop files here", "End call", "Expand", "File too large", "{name}: File too large", "Increase", "Check the highlighted fields", "Invalid value", "Loading", "Menu", "Message", "More", "Mute", "New tab", "Next", "Next month", "No", "No results", "Optional", "Page {page} of {total}", "Pagination", "Previous", "Previous month", "{value} of {max}", "Rated {value} of {max}", "Read", "Remove", "Remove {name}", "Required", "Resize", "Scan a QR code", "Search…", "Select all", "{count} selected", "Select row", "Send", "Sending", "Sent", "Show less", "Show more", "Slide", "Sort ascending", "{name}: Sort ascending", "{name}: Sort descending", "Sort descending", "Trend from {first} to {last}, low {min}, high {max}", "Speaker", "Speaker off", "Step {step} of {total}: {label}, current", "Step {step} of {total}: {label}, completed", "Step {step} of {total}: {label}", "Stop", "Submit", "Table", "Today", "Unknown component", "Unmute", "Unsupported file", "{name}: Unsupported file", "Yes"];
39
+ pub const STRING_IDS: &[&str] = &["back", "breadcrumb", "browse", "cameraUnavailable", "cancel", "carousel", "chartSummary", "choose", "clear", "close", "closeTab", "codeBlock", "collapse", "confirm", "copied", "copy", "decrement", "dialog", "dismiss", "dropFiles", "endCall", "expand", "fileTooLarge", "fileTooLargeNamed", "increment", "invalidFields", "invalidValue", "loading", "menu", "message", "more", "morePictures", "morePicturesLabel", "mute", "newTab", "next", "nextMonth", "no", "noResults", "optional", "outline", "outlineRow", "pageCounter", "pageOf", "pagination", "previous", "previousMonth", "ratingStar", "ratingValue", "read", "remove", "removeItem", "required", "resize", "scanQrCode", "search", "selectAll", "selectedCount", "selectRow", "send", "sending", "sent", "showLess", "showMore", "slide", "sortAscending", "sortByAscending", "sortByDescending", "sortDescending", "sparklineSummary", "speaker", "speakerOff", "stepCurrent", "stepDone", "stepUpcoming", "stop", "submit", "table", "today", "unknownComponent", "unmute", "unsupportedFile", "unsupportedFileNamed", "yes"];
40
+ pub const STRING_DEFAULTS: &[&str] = &["Back", "Breadcrumb", "Browse", "Camera unavailable", "Cancel", "Carousel", "Chart of {series}, values from {min} to {max}", "Choose", "Clear", "Close", "Close {name}", "Code", "Collapse", "Confirm", "Copied", "Copy", "Decrease", "Dialog", "Dismiss", "Drop files here", "End call", "Expand", "File too large", "{name}: File too large", "Increase", "Check the highlighted fields", "Invalid value", "Loading", "Menu", "Message", "More", "+{count}", "{alt}, {count} more", "Mute", "New tab", "Next", "Next month", "No", "No results", "Optional", "Outline", "{title}, {count}", "{page} / {total}", "Page {page} of {total}", "Pagination", "Previous", "Previous month", "{value} of {max}", "Rated {value} of {max}", "Read", "Remove", "Remove {name}", "Required", "Resize", "Scan a QR code", "Search…", "Select all", "{count} selected", "Select row", "Send", "Sending", "Sent", "Show less", "Show more", "Slide", "Sort ascending", "{name}: Sort ascending", "{name}: Sort descending", "Sort descending", "Trend from {first} to {last}, low {min}, high {max}", "Speaker", "Speaker off", "Step {step} of {total}: {label}, current", "Step {step} of {total}: {label}, completed", "Step {step} of {total}: {label}", "Stop", "Submit", "Table", "Today", "Unknown component", "Unmute", "Unsupported file", "{name}: Unsupported file", "Yes"];
41
41
  pub const CODE_LANGUAGE_NAMES: &[&str] = &["plain", "json", "js", "ts", "tsx", "rust", "swift", "kotlin", "python", "bash", "html", "css", "sql", "yaml", "markdown", "ansi"];
42
42
  pub const BUILTIN_ICON_SLOTS: &[&str] = &["Accordion.trigger", "Carousel.previous", "Carousel.next", "Checkbox.check", "ChipInput.remove", "CodeBlock.copy", "CodeBlock.copied", "Composer.attachment", "Composer.send", "Composer.stop", "DatePicker.trigger", "DatePicker.previousMonth", "DatePicker.nextMonth", "DateRangePicker.trigger", "Dialog.close", "Menu.check", "Menu.submenuIndicator", "FileUpload.icon", "FileUpload.file", "FileUpload.remove", "Image.fallback", "NumberField.decrement", "NumberField.increment", "Select.trigger", "Select.search", "Select.check", "SearchList.search", "SearchList.check", "Table.sortIcon.asc", "Table.sortIcon.desc", "Tabs.close", "Tabs.new", "TimePicker.trigger", "Toast.close", "Toast.icon.info", "Toast.icon.success", "Toast.icon.warning", "Toast.icon.error", "Unknown.root"];
43
43
  pub const BUILTIN_ICON_NAMES: &[&str] = &["ui-chevron-down", "ui-chevron-left", "ui-chevron-right", "ui-check", "ui-close", "ui-copy", "ui-check", "ui-attach", "ui-send", "ui-stop", "calendar", "ui-chevron-left", "ui-chevron-right", "calendar", "ui-close", "ui-check", "ui-chevron-right", "upload", "ui-file", "ui-close", "ui-icon-placeholder", "ui-minus", "ui-add", "ui-selector", "search", "ui-check", "search", "ui-check", "ui-chevron-up", "ui-chevron-down", "ui-close", "ui-add", "ui-clock", "ui-close", "ui-info", "ui-success", "ui-warning", "ui-error", "ui-warning"];
@@ -62,19 +62,19 @@ pub const LAYOUT_CONSTANT_NAMES: &[&str] = &["windowThreshold", "windowOverscan"
62
62
  pub const LAYOUT_CONSTANT_VALUES: &[&str] = &["50", "5", "10", "10", "8", "160", "320", "1.7777778", "14", "3", "1", "150", "1600", "0.45", "0.9", "0.6", "24"];
63
63
  pub const LIMIT_NAMES: &[&str] = &["maxComponents", "maxDepth", "maxMessageBytes", "maxTemplateItems", "maxPointerBytes", "maxPointerSegments"];
64
64
  pub const LIMIT_VALUES: &[&str] = &["20000", "48", "4194304", "10000", "1024", "64"];
65
- pub const COMPONENT_LITE: &[bool] = &[true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false, true, false, false, true, false, false, true, true, false, true, true, true, true, false, true, true, false, false, false, false, false, false, false, false, true, true, true, true, true, true, true, false, true, false, false, false, false, false, true, true, true, false, true, true, true, true, true, true, true, false, false, true, false, true, true, true, true, true, true, true, true, false, true, true, true, false, false];
65
+ pub const COMPONENT_LITE: &[bool] = &[true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false, true, false, false, true, false, false, false, true, true, false, true, true, true, true, false, true, true, true, false, false, false, false, false, false, false, false, true, true, true, true, true, true, true, false, true, false, false, false, false, false, true, true, true, false, true, true, true, true, true, true, true, false, false, true, false, true, true, true, true, true, true, true, true, false, true, true, true, false, false];
66
66
  /// The Icon prop's vocabulary (packages/icons/icons.json at generate time).
67
67
  pub const ICON_NAMES: &[&str] = &["a-large-small", "action-chat", "action-create", "action-default", "action-repository", "action-run", "action-suggestion", "activity", "anchor", "app-editor-chat", "archive", "archive-restore", "arrow-down", "arrow-down-left", "arrow-left", "arrow-left-right", "arrow-right", "arrow-up-right", "at-sign", "atom", "audio-lines", "auth-passkey", "award", "ban", "bell", "bell-off", "bold", "book-open", "bookmark", "bot", "boxes", "braces", "brain", "briefcase", "brush-cleaning", "bug", "building", "building-2", "calculator", "calendar", "calendar-days", "call-end", "call-incoming", "call-mute", "call-speaker", "call-speaker-off", "call-unmute", "camera", "car", "chart-line", "check", "check-check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "chevrons-up-down", "circle", "circle-arrow-up", "circle-check", "circle-dashed", "circle-dot", "circle-question-mark", "circle-slash", "circle-stop", "circle-user", "circle-x", "clipboard-list", "clock", "cloud", "code", "coding-assistant", "coding-command", "coding-compact", "coding-diff", "coding-ended", "coding-in-review", "coding-needs-input", "coding-plan", "coding-running", "coding-stop", "coding-subagent", "coding-tool", "coffee", "compass", "computer", "copy", "corner-down-right", "cpu", "credit-card", "crown", "database", "download", "droplet", "dumbbell", "ear", "editor-bold", "editor-clear-formatting", "editor-code", "editor-emoji", "editor-heading-1", "editor-heading-2", "editor-heading-3", "editor-image", "editor-issue-ref", "editor-italic", "editor-link", "editor-list", "editor-list-ordered", "editor-list-todo", "editor-mention", "editor-quote", "editor-strikethrough", "editor-text", "editor-text-format", "editor-unlink", "ellipsis", "ellipsis-vertical", "event-assignee-changed", "event-board-moved", "event-estimate-changed", "event-label-added", "event-label-removed", "event-priority-changed", "event-relation-added", "event-relation-removed", "event-status-changed", "event-title-changed", "external-link", "eye", "eye-off", "fast-forward", "file", "file-diff", "file-pen-line", "file-text", "fingerprint", "flag", "flame", "flask-conical", "fold-vertical", "folder", "folder-kanban", "folder-open", "gamepad-2", "gauge", "gem", "gift", "git-branch", "git-merge", "git-pull-request", "github", "globe", "graduation-cap", "guide-changes", "hammer", "hand", "hard-drive", "hash", "heading-1", "heading-2", "heading-3", "headphones", "heart", "heart-off", "history", "hourglass", "house", "image", "images", "inbox", "info", "italic", "key", "landmark", "laptop", "layers", "layers-2", "layout-grid", "leaf", "lightbulb", "link", "link-2", "list", "list-checks", "list-end", "list-ordered", "list-todo", "list-tree", "loader-circle", "lock", "lock-open", "log-in", "log-out", "mail", "mail-open", "map", "map-pin", "maximize-2", "media-fast-forward", "media-rewind", "media-skip-next", "media-skip-previous", "media-volume-down", "media-volume-mute", "media-volume-off", "media-volume-up", "megaphone", "menu", "message-circle", "message-square", "message-square-plus", "message-square-reply", "mic", "mic-off", "microscope", "minimize-2", "minus", "monitor", "monitor-off", "moon", "mountain", "move", "music", "nav-account", "nav-actions", "nav-admin", "nav-apps", "nav-boards", "nav-changelog", "nav-computer", "nav-create-issue", "nav-devices", "nav-drafts", "nav-files", "nav-getting-started", "nav-inbox", "nav-issues", "nav-my-issues", "nav-notifications", "nav-rail-collapse", "nav-rail-expand", "nav-report-bug", "nav-search", "nav-settings", "nav-sign-out", "nav-source-control", "nav-team-switcher", "nav-terminal", "nav-threads", "newspaper", "notification-agent-message", "notification-issue-assigned", "notification-issue-comment", "notification-issue-created", "notification-issue-mention", "notification-issue-status-changed", "notification-mark-read", "notification-mute", "notification-pr-merged", "notification-pr-opened", "notification-reporter-reply", "notification-session-blocked", "os-apple", "os-linux", "os-windows", "package", "paintbrush", "palette", "panel-left-close", "panel-left-open", "paperclip", "pause", "pen-tool", "pencil", "phone", "phone-incoming", "phone-off", "pin", "pin-off", "plane", "play", "plug", "plus", "pr-batch", "pr-closed", "pr-draft", "pr-merged", "pr-open", "pr-stack", "printer", "priority-high", "priority-low", "priority-medium", "priority-none", "priority-urgent", "progress-1-4", "progress-1-5", "progress-2-4", "progress-2-5", "progress-3-4", "progress-3-5", "progress-4-5", "puzzle", "qr-code", "quote", "refresh-cw", "relation-blocked-by", "relation-blocks", "relation-duplicate", "relation-parent", "relation-related", "relation-section", "relation-sub-issue", "remove-formatting", "repeat", "rewind", "rocket", "rotate-ccw", "run-pause", "run-resume", "sc-push", "scale", "scan-line", "search", "search-x", "send", "server", "session-shell", "session-tree", "settings", "settings-about", "settings-account", "settings-agents", "settings-api", "settings-billing", "settings-boards", "settings-general", "settings-import", "settings-issues", "settings-labels", "settings-licenses", "settings-local-repos", "settings-mcp", "settings-members", "settings-notifications", "settings-rate", "settings-repositories", "settings-servers", "settings-sessions", "settings-statuses", "settings-storage", "settings-sync", "settings-tools", "settings-voice", "settings-widget", "share-2", "shield", "shield-check", "shield-question-mark", "shopping-bag", "shopping-cart", "signal-high", "signal-low", "signal-medium", "skip-back", "skip-forward", "sliders-horizontal", "smartphone", "smile", "sparkles", "square", "square-check", "square-kanban", "square-minus", "square-pen", "square-slash", "square-terminal", "star", "star-half", "star-off", "status-backlog", "status-cancelled", "status-done", "status-duplicate", "status-in-progress", "status-in-review", "status-todo", "stethoscope", "store", "strikethrough", "sun", "support-open", "support-resolved", "tag", "target", "terminal", "thread-stories", "tool-script", "trace-background", "trace-chevron", "trace-completed", "trace-edit", "trace-failed", "trace-fetch", "trace-read", "trace-reasoning", "trace-search", "trace-subagent", "trace-task-done", "trace-task-pending", "trace-task-running", "trace-terminal", "trace-todo", "trace-tool", "trash-2", "tree-pine", "triangle-alert", "trigger-event", "trigger-schedule", "trophy", "truck", "type", "ui-add", "ui-agent-source", "ui-archive", "ui-arrow-down", "ui-arrow-right", "ui-assignee", "ui-attach", "ui-avatar-placeholder", "ui-back", "ui-branch", "ui-check", "ui-checklist", "ui-chevron-down", "ui-chevron-left", "ui-chevron-right", "ui-chevron-up", "ui-clean", "ui-clear", "ui-clock", "ui-close", "ui-cloud", "ui-copy", "ui-delete", "ui-delete-account", "ui-device", "ui-device-default", "ui-device-offline", "ui-dock-side", "ui-docs", "ui-download", "ui-due-date", "ui-edit", "ui-empty-search", "ui-error", "ui-estimate", "ui-external-link", "ui-favorite-off", "ui-file", "ui-float", "ui-folder", "ui-folder-open", "ui-fullscreen", "ui-fullscreen-exit", "ui-github", "ui-help", "ui-hide", "ui-history", "ui-hold", "ui-icon-placeholder", "ui-indeterminate", "ui-info", "ui-invite", "ui-issue", "ui-link", "ui-loading", "ui-mail", "ui-mark-read", "ui-mark-unread", "ui-mcp", "ui-member", "ui-menu", "ui-minus", "ui-more", "ui-more-vertical", "ui-offline", "ui-organization", "ui-owner", "ui-permission", "ui-pin", "ui-print", "ui-private", "ui-properties", "ui-qr-code", "ui-queued", "ui-read", "ui-redock", "ui-refresh", "ui-remove-member", "ui-repeat", "ui-repository", "ui-scan", "ui-selected", "ui-selector", "ui-send", "ui-server", "ui-share", "ui-sign-in", "ui-sign-out", "ui-staging", "ui-star-half", "ui-star-off", "ui-stop", "ui-submit", "ui-subscribe", "ui-success", "ui-swap", "ui-team", "ui-unarchive", "ui-unassigned", "ui-undo", "ui-undock", "ui-unlock", "ui-unpin", "ui-unselected", "ui-unsubscribe", "ui-update", "ui-usage", "ui-warning", "ui-watch", "ui-widget", "undo-2", "unlink", "upload", "user", "user-minus", "user-plus", "user-x", "users", "video", "voice-call", "voice-level", "volume-1", "volume-2", "volume-off", "volume-x", "wallet", "wifi-off", "work-faces", "work-results", "workflow", "wrench", "x", "zap"];
68
68
  /// The catalog source files, embedded (minified, `$comment`s dropped); parse once at startup.
69
- pub const CORE_CATALOG_JSON: &str = r####"{"id":"https://ui.exponential.at/catalogs/core/v1","liteId":"https://ui.exponential.at/catalogs/core-lite/v1","name":"Exponential UI core","version":"1","unknownComponent":"Unknown","enums":{"variant":["default","secondary","outline","ghost","destructive","link"],"size":["sm","default","lg","icon"],"tone":["neutral","primary","success","warning","danger","info"],"gap":["none","xs","sm","md","lg","xl"],"align":["start","center","end","stretch"],"justify":["start","center","end","between","around","evenly"],"textVariant":["body","caption","muted","lead","code","label","title"],"headingLevel":["h1","h2","h3","h4"],"imageFit":["contain","cover","fill","none","scaleDown"],"orientation":["horizontal","vertical"],"side":["top","right","bottom","left"],"inputType":["text","email","password","number","search","url","tel"],"validateOn":["change","blur","submit"],"alertType":["info","success","warning","error"],"controlSize":["sm","default","lg"],"spinnerSize":["xs","sm","default","lg"],"tabClosable":["none","hover","always"],"groupType":["single","multiple"],"rowChevron":["none","right","selector"],"rowSurface":["flat","card"],"chipShape":["pill","rect"],"density":["default","compact"],"listDirection":["vertical","horizontal"],"chartKind":["bar","stackedBar","line","area","pie","donut","sparkline"],"segmentedVariant":["segmented","toggles","outline","bar"],"liveTone":["live","attention","done","unread","idle","muted"],"menuItemKind":["item","checkbox","separator","label","submenu"],"openOn":["press","hover"],"menuOpenOn":["press","contextmenu"],"live":["off","polite","assertive"],"selectable":["none","single","multiple"],"cellType":["text","number","date","boolean","badge","slot","currency","percent","relativeTime"],"sortDirection":["asc","desc"],"imageLoading":["lazy","eager"],"scrollDirection":["vertical","horizontal","both"],"collapseBelow":["never","sm","md","lg","xl"],"codeLanguage":["plain","json","js","ts","tsx","rust","swift","kotlin","python","bash","html","css","sql","yaml","markdown","ansi"],"codeToken":["plain","keyword","string","number","comment","punctuation","operator","type","function","property","tag","attribute","success","warning","error"],"codeBlockVariant":["default","destructive"],"codeBlockSize":["default","sm"],"traceStatus":["running","error","pending","done","skipped"],"traceSize":["default","sm"],"voiceWaveActivity":["idle","listening","thinking","speaking","muted"],"voiceWaveSize":["sm","md","lg","xl"],"messageSide":["in","out"],"messageStatus":["sending","sent","read"],"callState":["ringing","connecting","talking","ended"],"voiceWaveVariant":["ring","bars"],"qrLevel":["L","M","Q","H"],"planState":["proposed","running","done","declined"]},"defs":{"option":{"properties":{"label":{"type":"string","required":true,"bindable":true},"value":{"type":"string","required":true},"icon":{"type":"icon"},"disabled":{"type":"boolean"},"description":{"type":"string"},"image":{"type":"url"},"count":{"type":"number","bindable":true}}},"check":{"properties":{"condition":{"type":"boolean","required":true,"bindable":true},"message":{"type":"string","required":true}}},"tab":{"properties":{"label":{"type":"string","required":true,"bindable":true},"value":{"type":"string","required":true},"icon":{"type":"icon"},"count":{"type":"number"}}},"menuItem":{"properties":{"label":{"type":"string"},"value":{"type":"string"},"kind":{"type":"enum","enum":"menuItemKind","default":"item"},"icon":{"type":"icon"},"shortcut":{"type":"string"},"checked":{"type":"boolean","bindable":true},"destructive":{"type":"boolean"},"disabled":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","shape":"menuItem"},"bindable":true},"searchable":{"type":"boolean"},"placeholder":{"type":"string"}}},"searchItem":{"properties":{"label":{"type":"string","required":true,"bindable":true},"value":{"type":"string","required":true},"icon":{"type":"icon"},"identifier":{"type":"string"},"disabled":{"type":"boolean"}}},"accordionItem":{"properties":{"title":{"type":"string","required":true,"bindable":true},"value":{"type":"string","required":true},"count":{"type":"number"}}},"segment":{"properties":{"value":{"type":"number","required":true},"tone":{"type":"enum","enum":"tone"},"label":{"type":"string"}}},"series":{"properties":{"name":{"type":"string","required":true},"values":{"type":"array","items":{"type":"number"},"required":true},"tone":{"type":"enum","enum":"tone"}}},"pageItem":{"properties":{"title":{"type":"string"}}},"step":{"properties":{"label":{"type":"string","required":true},"description":{"type":"string"}}},"column":{"properties":{"key":{"type":"string","required":true},"label":{"type":"string","required":true},"type":{"type":"enum","enum":"cellType","default":"text"},"slot":{"type":"string"},"width":{"type":"number"},"align":{"type":"enum","values":["start","center","end"],"default":"start"},"sortable":{"type":"boolean","default":false},"currency":{"type":"string"},"decimals":{"type":"number"}}},"sort":{"properties":{"key":{"type":"string","required":true},"direction":{"type":"enum","enum":"sortDirection","required":true}}},"panel":{"properties":{"min":{"type":"number"},"max":{"type":"number"},"collapsible":{"type":"boolean"}}},"file":{"properties":{"name":{"type":"string","required":true},"size":{"type":"number"},"type":{"type":"string"},"url":{"type":"url"}}},"planStep":{"properties":{"title":{"type":"string","required":true},"detail":{"type":"string"},"icon":{"type":"icon"},"status":{"type":"enum","enum":"traceStatus"}}}},"functions":{"names":["required","regex","length","numeric","email","formatString","formatNumber","formatCurrency","formatDate","pluralize","openUrl","and","or","not","percent","add","sub","eq","lt","clamp","cond","fallback","concat","coalesce","text","map","len","fill","set","formatPercent","formatRelativeTime","filter","bind"],"core":{"percent":{"args":{"value":"number","max":"number"},"returns":"string"},"add":{"args":{"a":"number","b":"number"},"returns":"number"},"sub":{"args":{"a":"number","b":"number"},"returns":"number"},"eq":{"args":{"a":"any","b":"any"},"returns":"boolean"},"lt":{"args":{"a":"number","b":"number"},"returns":"boolean"},"clamp":{"args":{"value":"number","min":"number","max":"number"},"returns":"number"},"cond":{"args":{"if":"any","then":"any","else":"any"},"returns":"any"},"fallback":{"args":{"value":"any","default":"any"},"returns":"any"},"concat":{"args":{"values":"array"},"returns":"string"},"coalesce":{"args":{"values":"array"},"returns":"any"},"text":{"args":{"value":"any"},"returns":"string"},"map":{"args":{"value":"any","cases":"object","default":"any"},"returns":"any"},"len":{"args":{"value":"any"},"returns":"number"},"fill":{"args":{"template":"string","params":"object"},"returns":"string"},"set":{"args":{"path":"string","value":"any"},"returns":"void"},"formatPercent":{"args":{"value":"number","decimals":"number"},"returns":"string"},"formatRelativeTime":{"args":{"value":"any","now":"any"},"returns":"string"},"filter":{"args":{"items":"array","query":"string","fields":"array","where":"object"},"returns":"array"},"bind":{"args":{"path":"string","source":"string","params":"object"},"returns":"void"}},"basic":{"required":{"args":{"value":"any"},"returns":"boolean"},"regex":{"args":{"value":"string","pattern":"string"},"returns":"boolean"},"length":{"args":{"value":"string","min":"number","max":"number"},"returns":"boolean"},"numeric":{"args":{"value":"number","min":"number","max":"number"},"returns":"boolean"},"email":{"args":{"value":"string"},"returns":"boolean"},"formatString":{"args":{"value":"string"},"returns":"string"},"formatNumber":{"args":{"value":"number","decimals":"number","grouping":"boolean"},"returns":"string"},"formatCurrency":{"args":{"value":"number","currency":"string","decimals":"number","grouping":"boolean"},"returns":"string"},"formatDate":{"args":{"value":"any","format":"string"},"returns":"string"},"pluralize":{"args":{"value":"number","zero":"string","one":"string","two":"string","few":"string","many":"string","other":"string"},"returns":"string"},"openUrl":{"args":{"url":"string"},"returns":"void"},"and":{"args":{"values":"array"},"returns":"boolean"},"or":{"args":{"values":"array"},"returns":"boolean"},"not":{"args":{"value":"any"},"returns":"boolean"}}},"builtinIcons":{"Accordion.trigger":"ui-chevron-down","Carousel.previous":"ui-chevron-left","Carousel.next":"ui-chevron-right","Checkbox.check":"ui-check","ChipInput.remove":"ui-close","CodeBlock.copy":"ui-copy","CodeBlock.copied":"ui-check","Composer.attachment":"ui-attach","Composer.send":"ui-send","Composer.stop":"ui-stop","DatePicker.trigger":"calendar","DatePicker.previousMonth":"ui-chevron-left","DatePicker.nextMonth":"ui-chevron-right","DateRangePicker.trigger":"calendar","Dialog.close":"ui-close","Menu.check":"ui-check","Menu.submenuIndicator":"ui-chevron-right","FileUpload.icon":"upload","FileUpload.file":"ui-file","FileUpload.remove":"ui-close","Image.fallback":"ui-icon-placeholder","NumberField.decrement":"ui-minus","NumberField.increment":"ui-add","Select.trigger":"ui-selector","Select.search":"search","Select.check":"ui-check","SearchList.search":"search","SearchList.check":"ui-check","Table.sortIcon.asc":"ui-chevron-up","Table.sortIcon.desc":"ui-chevron-down","Tabs.close":"ui-close","Tabs.new":"ui-add","TimePicker.trigger":"ui-clock","Toast.close":"ui-close","Toast.icon.info":"ui-info","Toast.icon.success":"ui-success","Toast.icon.warning":"ui-warning","Toast.icon.error":"ui-error","Unknown.root":"ui-warning"},"components":{"Box":{"kind":"native","group":"layout","lite":true,"children":"many","props":{"style":{"type":"style"},"pressable":{"type":"boolean"}},"events":["press"]},"Stack":{"kind":"macro","group":"layout","lite":true,"children":"many","props":{"direction":{"type":"enum","enum":"orientation","default":"vertical","responsive":true,"bindable":true},"gap":{"type":"enum","enum":"gap","default":"md","responsive":true},"align":{"type":"enum","enum":"align","responsive":true,"bindable":true},"justify":{"type":"enum","enum":"justify","default":"start","responsive":true,"bindable":true},"wrap":{"type":"boolean","default":false,"responsive":true},"style":{"type":"style"}}},"Grid":{"kind":"macro","group":"layout","lite":true,"children":"many","props":{"columns":{"type":"number","default":2,"responsive":true},"gap":{"type":"enum","enum":"gap","default":"md","responsive":true},"style":{"type":"style"}}},"Card":{"kind":"macro","group":"layout","lite":true,"children":"many","props":{"title":{"type":"string"},"description":{"type":"string"},"padded":{"type":"boolean","default":true},"style":{"type":"style"}}},"Separator":{"kind":"macro","group":"layout","lite":true,"children":"none","props":{"orientation":{"type":"enum","enum":"orientation","default":"horizontal"}}},"List":{"kind":"native","group":"layout","lite":true,"children":"many","slots":["section"],"slotScope":"row","props":{"direction":{"type":"enum","enum":"listDirection","default":"vertical"},"gap":{"type":"enum","enum":"gap","default":"none"},"divided":{"type":"boolean","default":false},"sectionBy":{"type":"string"},"stickyHeaders":{"type":"boolean","default":false},"style":{"type":"style"}}},"Resizable":{"kind":"native","group":"layout","lite":true,"children":"many","props":{"direction":{"type":"enum","enum":"orientation","default":"horizontal","responsive":true},"sizes":{"type":"array","items":{"type":"number"},"bindable":true},"panels":{"type":"array","items":{"type":"object","shape":"panel"}},"handle":{"type":"boolean","default":false},"style":{"type":"style"}},"events":["change"]},"ScrollArea":{"kind":"macro","group":"layout","lite":true,"children":"many","props":{"direction":{"type":"enum","enum":"scrollDirection","default":"vertical"},"maxHeight":{"type":"number"},"style":{"type":"style"}}},"Sidebar":{"kind":"macro","group":"layout","lite":true,"children":"many","slots":["sidebar"],"props":{"side":{"type":"enum","values":["left","right"],"default":"left"},"width":{"type":"number","default":240},"collapseBelow":{"type":"enum","enum":"collapseBelow","default":"md"},"collapsed":{"type":"boolean","default":false,"bindable":true}}},"SplitView":{"kind":"macro","group":"layout","lite":true,"children":"many","slots":["list"],"props":{"open":{"type":"boolean","default":false,"bindable":true},"width":{"type":"number","default":320}},"events":["back"]},"AppBar":{"kind":"macro","group":"layout","lite":true,"children":"none","slots":["leading","trailing"],"props":{"title":{"type":"string","required":true,"bindable":true},"subtitle":{"type":"string","bindable":true},"back":{"type":"boolean","default":false}},"events":["back"]},"Page":{"kind":"macro","group":"layout","lite":true,"children":"many","slots":["leading","trailing"],"props":{"title":{"type":"string","required":true,"bindable":true},"subtitle":{"type":"string","bindable":true},"back":{"type":"boolean","default":false},"padded":{"type":"boolean","default":true}},"events":["back"]},"Toolbar":{"kind":"macro","group":"layout","lite":true,"children":"many","slots":["trailing"],"props":{"gap":{"type":"enum","enum":"gap","default":"sm"}}},"Section":{"kind":"macro","group":"list","lite":true,"children":"many","slots":["leading","trailing"],"props":{"title":{"type":"string","bindable":true},"caption":{"type":"string","bindable":true},"count":{"type":"number","bindable":true},"icon":{"type":"icon"},"collapsible":{"type":"boolean","default":false},"open":{"type":"boolean","default":true,"bindable":true},"tint":{"type":"enum","enum":"tone","default":"neutral"},"tree":{"type":"boolean","default":false},"loading":{"type":"boolean","default":false,"bindable":true},"style":{"type":"style"}},"events":["change"]},"Group":{"kind":"macro","group":"list","lite":true,"children":"many","props":{"title":{"type":"string"},"footer":{"type":"string"}}},"Text":{"kind":"native","group":"text","lite":true,"children":"none","props":{"text":{"type":"string","required":true,"bindable":true},"variant":{"type":"enum","enum":"textVariant","default":"body"},"align":{"type":"enum","values":["start","center","end"]},"lines":{"type":"number"},"tone":{"type":"enum","enum":"tone"},"shimmer":{"type":"boolean","default":false},"live":{"type":"enum","enum":"live","default":"off"},"style":{"type":"style"}}},"Heading":{"kind":"macro","group":"text","lite":true,"children":"none","props":{"text":{"type":"string","required":true,"bindable":true},"level":{"type":"enum","enum":"headingLevel","default":"h2"}}},"Markdown":{"kind":"native","group":"text","lite":true,"children":"none","props":{"text":{"type":"markdown","required":true,"bindable":true},"lines":{"type":"number"},"style":{"type":"style"}}},"CodeBlock":{"kind":"native","group":"text","lite":true,"children":"none","props":{"code":{"type":"string","required":true,"bindable":true},"language":{"type":"enum","enum":"codeLanguage","default":"plain"},"title":{"type":"string"},"lineNumbers":{"type":"boolean","default":false},"wrap":{"type":"boolean","default":false},"copyable":{"type":"boolean","default":true},"highlight":{"type":"array","items":{"type":"number"}},"maxLines":{"type":"number"},"variant":{"type":"enum","enum":"codeBlockVariant","default":"default","bindable":true},"size":{"type":"enum","enum":"codeBlockSize","default":"default"}}},"Kbd":{"kind":"macro","group":"text","lite":true,"children":"none","props":{"keys":{"type":"string","required":true}}},"Label":{"kind":"macro","group":"text","lite":true,"children":"none","props":{"text":{"type":"string","required":true,"bindable":true},"for":{"type":"string"},"required":{"type":"boolean","default":false}}},"Image":{"kind":"native","group":"media","lite":false,"children":"none","props":{"src":{"type":"url","bindable":true},"alt":{"type":"string","required":true,"bindable":true},"fit":{"type":"enum","enum":"imageFit","default":"cover"},"width":{"type":"number"},"height":{"type":"number"},"aspectRatio":{"type":"number"},"fallback":{"type":"icon"},"loading":{"type":"enum","enum":"imageLoading","default":"lazy"},"focalX":{"type":"number"},"focalY":{"type":"number"},"style":{"type":"style"}}},"Icon":{"kind":"native","group":"media","lite":true,"children":"none","props":{"name":{"type":"icon","required":true,"bindable":true},"size":{"type":"enum","enum":"controlSize","default":"default"},"tone":{"type":"enum","enum":"tone","bindable":true},"label":{"type":"string"}}},"Video":{"kind":"native","group":"media","lite":false,"children":"none","props":{"src":{"type":"url","required":true,"bindable":true},"poster":{"type":"url"},"durationMs":{"type":"number"},"autoplay":{"type":"boolean","default":false},"aspectRatio":{"type":"number","default":1.7777778},"style":{"type":"style"}}},"AudioPlayer":{"kind":"native","group":"media","lite":false,"children":"none","props":{"src":{"type":"url","required":true,"bindable":true},"title":{"type":"string"},"durationMs":{"type":"number"}}},"Avatar":{"kind":"native","group":"media","lite":true,"children":"none","props":{"name":{"type":"string","required":true,"bindable":true},"src":{"type":"url","bindable":true},"size":{"type":"enum","enum":"controlSize","default":"default"},"seed":{"type":"string"}}},"QrCode":{"kind":"native","group":"media","lite":false,"children":"none","props":{"value":{"type":"string","required":true,"bindable":true},"size":{"type":"number","default":160},"level":{"type":"enum","enum":"qrLevel","default":"M"},"label":{"type":"string"}}},"Carousel":{"kind":"native","group":"media","lite":false,"children":"many","props":{"page":{"type":"number","default":0,"bindable":true},"loop":{"type":"boolean","default":false},"indicators":{"type":"boolean","default":true}},"events":["change"]},"Tabs":{"kind":"native","group":"navigation","lite":true,"children":"many","props":{"tabs":{"type":"array","items":{"type":"object","shape":"tab"},"required":true},"value":{"type":"string","bindable":true},"fill":{"type":"boolean","default":false},"closable":{"type":"enum","enum":"tabClosable","default":"none"},"addable":{"type":"boolean","default":false}},"events":["change","close","new"]},"Segmented":{"kind":"native","group":"navigation","lite":true,"children":"none","props":{"items":{"type":"array","items":{"type":"object","shape":"option"},"required":true},"type":{"type":"enum","enum":"groupType","default":"single"},"value":{"type":"string","bindable":true},"variant":{"type":"enum","enum":"segmentedVariant","default":"segmented"},"size":{"type":"enum","enum":"controlSize","default":"default"},"fill":{"type":"boolean","default":false},"orientation":{"type":"enum","enum":"orientation","default":"horizontal"}},"events":["change"]},"Accordion":{"kind":"native","group":"navigation","lite":false,"children":"many","props":{"items":{"type":"array","items":{"type":"object","shape":"accordionItem"},"required":true},"type":{"type":"enum","enum":"groupType","default":"single"},"value":{"type":"string","bindable":true}},"events":["change"]},"Collapsible":{"kind":"macro","group":"navigation","lite":true,"children":"many","props":{"title":{"type":"string","required":true},"open":{"type":"boolean","default":false,"bindable":true},"count":{"type":"number"}},"events":["change"]},"Trace":{"kind":"macro","group":"list","lite":true,"children":"many","props":{"size":{"type":"enum","enum":"traceSize","default":"default"}}},"TraceItem":{"kind":"macro","group":"list","lite":true,"children":"many","props":{"title":{"type":"string","required":true,"bindable":true},"icon":{"type":"icon"},"description":{"type":"string"},"status":{"type":"enum","enum":"traceStatus"},"size":{"type":"enum","enum":"traceSize","default":"default"},"collapsible":{"type":"boolean","default":false},"open":{"type":"boolean","default":false,"bindable":true}},"events":["change"]},"Plan":{"kind":"macro","group":"list","lite":true,"children":"none","props":{"title":{"type":"string","required":true,"bindable":true},"description":{"type":"string","bindable":true},"steps":{"type":"array","items":{"type":"object","shape":"planStep"}},"state":{"type":"enum","enum":"planState","default":"proposed","bindable":true},"progress":{"type":"number","bindable":true},"approveLabel":{"type":"string","default":"$string.yes"},"declineLabel":{"type":"string","default":"$string.no"},"stopLabel":{"type":"string","default":"$string.stop"}},"events":["approve","decline","stop"]},"Pagination":{"kind":"macro","group":"navigation","lite":false,"children":"none","props":{"totalPages":{"type":"number","required":true},"page":{"type":"number","default":1,"bindable":true}},"events":["change"]},"Breadcrumb":{"kind":"macro","group":"navigation","lite":true,"children":"none","props":{"items":{"type":"array","items":{"type":"object","shape":"option"},"required":true}},"events":["select"]},"Stepper":{"kind":"macro","group":"navigation","lite":true,"children":"none","props":{"steps":{"type":"array","items":{"type":"object","shape":"step"},"required":true},"current":{"type":"number","default":0,"bindable":true},"orientation":{"type":"enum","enum":"orientation","default":"horizontal"}}},"Dialog":{"kind":"native","group":"overlay","lite":false,"children":"many","slots":["trigger","footer"],"props":{"title":{"type":"string"},"description":{"type":"string"},"open":{"type":"boolean","default":false,"bindable":true},"dismissible":{"type":"boolean","default":true}},"events":["change"]},"Drawer":{"kind":"native","group":"overlay","lite":false,"children":"many","slots":["trigger","footer"],"props":{"title":{"type":"string"},"description":{"type":"string"},"open":{"type":"boolean","default":false,"bindable":true},"side":{"type":"enum","enum":"side","default":"bottom","responsive":true},"dismissible":{"type":"boolean","default":true},"dragToDismiss":{"type":"boolean","default":true}},"events":["change"]},"DockCard":{"kind":"macro","group":"overlay","lite":false,"children":"many","slots":["footer"],"props":{"label":{"type":"string","required":true,"bindable":true},"title":{"type":"string","required":true,"bindable":true},"caption":{"type":"string","bindable":true},"meta":{"type":"string","bindable":true},"icon":{"type":"icon"},"tone":{"type":"enum","enum":"tone","default":"neutral"},"open":{"type":"boolean","default":false,"bindable":true}},"events":["press","change"]},"AlertDialog":{"kind":"macro","group":"overlay","lite":false,"children":"many","slots":["trigger"],"props":{"title":{"type":"string","required":true},"description":{"type":"string"},"confirmLabel":{"type":"string","default":"$string.confirm"},"cancelLabel":{"type":"string","default":"$string.cancel"},"destructive":{"type":"boolean","default":false},"open":{"type":"boolean","default":false,"bindable":true}},"events":["confirm","cancel","change"]},"Popover":{"kind":"native","group":"overlay","lite":false,"children":"many","slots":["trigger"],"props":{"open":{"type":"boolean","default":false,"bindable":true},"side":{"type":"enum","enum":"side","default":"bottom"},"openOn":{"type":"enum","enum":"openOn","default":"press"}},"events":["change"]},"Tooltip":{"kind":"native","group":"overlay","lite":false,"children":"many","props":{"content":{"type":"string","required":true},"side":{"type":"enum","enum":"side","default":"top"}}},"Menu":{"kind":"native","group":"overlay","lite":false,"children":"one","props":{"label":{"type":"string"},"icon":{"type":"icon"},"items":{"type":"array","items":{"type":"object","shape":"menuItem"},"required":true},"openOn":{"type":"enum","enum":"menuOpenOn","default":"press"}},"events":["select"]},"Toast":{"kind":"native","group":"overlay","lite":false,"children":"none","props":{"title":{"type":"string","required":true,"bindable":true},"description":{"type":"string","bindable":true},"type":{"type":"enum","enum":"alertType","default":"info"},"open":{"type":"boolean","default":true,"bindable":true},"duration":{"type":"number","default":5000},"actionLabel":{"type":"string"},"dismissible":{"type":"boolean","default":true}},"events":["dismiss","action","change"]},"Badge":{"kind":"macro","group":"feedback","lite":true,"children":"none","props":{"text":{"type":"string","required":true,"bindable":true},"variant":{"type":"enum","enum":"variant","default":"default","bindable":true},"icon":{"type":"icon"}}},"Alert":{"kind":"macro","group":"feedback","lite":true,"children":"none","props":{"title":{"type":"string","required":true},"message":{"type":"string"},"type":{"type":"enum","enum":"alertType","default":"info"}}},"Chip":{"kind":"macro","group":"feedback","lite":true,"children":"none","slots":["leading"],"props":{"label":{"type":"string","required":true,"bindable":true},"shape":{"type":"enum","enum":"chipShape","default":"pill"},"selected":{"type":"boolean","default":false},"tone":{"type":"enum","enum":"tone","default":"neutral","bindable":true},"dot":{"type":"color"},"icon":{"type":"icon"},"image":{"type":"url"},"detail":{"type":"string"},"removable":{"type":"boolean","default":false},"pressable":{"type":"boolean","default":false}},"events":["press","remove"]},"EmptyState":{"kind":"macro","group":"feedback","lite":true,"children":"none","props":{"icon":{"type":"icon","required":true},"title":{"type":"string","required":true},"description":{"type":"string"},"actionLabel":{"type":"string"},"size":{"type":"enum","values":["page","list"],"default":"page"}},"events":["press"]},"Progress":{"kind":"macro","group":"feedback","lite":true,"children":"none","props":{"value":{"type":"number","required":true,"bindable":true},"max":{"type":"number","default":100},"label":{"type":"string"},"tone":{"type":"enum","enum":"tone","default":"primary"}}},"Meter":{"kind":"macro","group":"feedback","lite":true,"children":"none","props":{"segments":{"type":"array","items":{"type":"object","shape":"segment"},"required":true},"max":{"type":"number","default":100},"label":{"type":"string"},"value":{"type":"string"}}},"Ring":{"kind":"native","group":"feedback","lite":true,"children":"none","props":{"value":{"type":"number","required":true,"bindable":true},"size":{"type":"enum","enum":"controlSize","default":"default"},"tone":{"type":"enum","enum":"tone","default":"primary"},"label":{"type":"string"}}},"Spinner":{"kind":"native","group":"feedback","lite":false,"children":"none","props":{"size":{"type":"enum","enum":"spinnerSize","default":"default"},"label":{"type":"string"}}},"Skeleton":{"kind":"native","group":"feedback","lite":true,"children":"none","props":{"width":{"type":"string"},"height":{"type":"string"},"rounded":{"type":"boolean","default":false},"rows":{"type":"number"},"rowHeight":{"type":"number"},"dot":{"type":"boolean","default":true}}},"VoiceWave":{"kind":"native","group":"feedback","lite":false,"children":"one","props":{"activity":{"type":"enum","enum":"voiceWaveActivity","default":"idle","bindable":true},"variant":{"type":"enum","enum":"voiceWaveVariant","default":"ring"},"level":{"type":"number","default":0,"bindable":true},"bands":{"type":"array","items":{"type":"number"},"bindable":true},"size":{"type":"enum","enum":"voiceWaveSize","default":"md"},"label":{"type":"string"}}},"CallSurface":{"kind":"macro","group":"media","lite":false,"children":"none","props":{"name":{"type":"string","required":true,"bindable":true},"avatar":{"type":"url","bindable":true},"state":{"type":"enum","enum":"callState","default":"talking","bindable":true},"activity":{"type":"enum","enum":"voiceWaveActivity","default":"speaking","bindable":true},"level":{"type":"number","bindable":true},"bands":{"type":"array","items":{"type":"number"},"bindable":true},"status":{"type":"string","bindable":true},"caption":{"type":"string","bindable":true},"muted":{"type":"boolean","default":false,"bindable":true},"speaker":{"type":"boolean","bindable":true}},"events":["mute","speaker","hangUp"]},"Table":{"kind":"native","group":"data","lite":false,"children":"none","slots":["*"],"slotScope":"row","props":{"columns":{"type":"array","items":{"type":"object","shape":"column"},"required":true},"rows":{"type":"array","items":{"type":"object"},"required":true,"bindable":true},"rowKey":{"type":"string","default":"id"},"sort":{"type":"object","shape":"sort","bindable":true},"selectable":{"type":"enum","enum":"selectable","default":"none"},"selected":{"type":"array","items":{"type":"string"},"bindable":true},"caption":{"type":"string"},"emptyText":{"type":"string","default":"$string.noResults"},"striped":{"type":"boolean","default":false},"density":{"type":"enum","enum":"density","default":"default"},"stickyHeader":{"type":"boolean","default":false}},"events":["sort","select","rowPress"]},"Chart":{"kind":"native","group":"data","lite":false,"children":"none","props":{"kind":{"type":"enum","enum":"chartKind","required":true},"categories":{"type":"array","items":{"type":"string"},"bindable":true},"series":{"type":"array","items":{"type":"object","shape":"series"},"required":true,"bindable":true},"title":{"type":"string"},"height":{"type":"number","default":200},"xLabel":{"type":"string"},"yLabel":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"showAxes":{"type":"boolean","default":true},"showGrid":{"type":"boolean","default":true},"showLegend":{"type":"boolean","default":true},"showValues":{"type":"boolean","default":false}}},"Sparkline":{"kind":"macro","group":"data","lite":false,"children":"none","props":{"values":{"type":"array","items":{"type":"number"},"required":true,"bindable":true},"tone":{"type":"enum","enum":"tone","default":"primary"},"height":{"type":"number","default":24}}},"StatTile":{"kind":"macro","group":"data","lite":true,"children":"none","props":{"label":{"type":"string","required":true,"bindable":true},"value":{"type":"string","required":true,"bindable":true},"delta":{"type":"string","bindable":true},"tone":{"type":"enum","enum":"tone","default":"neutral","bindable":true},"trend":{"type":"array","items":{"type":"number"},"bindable":true}}},"Button":{"kind":"native","group":"action","lite":true,"children":"one","props":{"label":{"type":"string","bindable":true},"icon":{"type":"icon","bindable":true},"variant":{"type":"enum","enum":"variant","default":"default"},"size":{"type":"enum","enum":"size","default":"default"},"disabled":{"type":"boolean","default":false,"bindable":true},"loading":{"type":"boolean","default":false},"pendingLabel":{"type":"string"},"submit":{"type":"boolean","default":false},"hold":{"type":"boolean","default":false},"holdingLabel":{"type":"string"}},"events":["press","holdStart","holdEnd","holdCancel"]},"Link":{"kind":"native","group":"action","lite":true,"children":"none","props":{"label":{"type":"string","required":true,"bindable":true},"href":{"type":"url"},"external":{"type":"boolean","default":false}},"events":["press"]},"Toggle":{"kind":"native","group":"action","lite":false,"children":"none","props":{"label":{"type":"string","required":true},"icon":{"type":"icon"},"pressed":{"type":"boolean","default":false,"bindable":true},"variant":{"type":"enum","values":["default","outline"],"default":"default"},"size":{"type":"enum","enum":"controlSize","default":"default"}},"events":["change"]},"Form":{"kind":"native","group":"input","lite":true,"children":"many","props":{"name":{"type":"string","required":true},"disabled":{"type":"boolean","default":false,"bindable":true},"busy":{"type":"boolean","default":false,"bindable":true},"summary":{"type":"boolean","default":false}},"events":["submit","invalid","change"]},"FieldGroup":{"kind":"macro","group":"input","lite":true,"children":"many","props":{"columns":{"type":"number","default":2}}},"FormActions":{"kind":"macro","group":"input","lite":true,"children":"many","props":{"submit":{"type":"string","required":true,"bindable":true},"cancel":{"type":"boolean","default":false},"destructive":{"type":"boolean","default":false}},"events":["cancel"]},"Input":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string","required":true},"name":{"type":"string","required":true},"type":{"type":"enum","enum":"inputType","default":"text"},"placeholder":{"type":"string"},"value":{"type":"string","bindable":true},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}},"validateOn":{"type":"enum","enum":"validateOn","default":"blur"}},"events":["change","submit","focus","blur"]},"Textarea":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string","required":true},"name":{"type":"string","required":true},"placeholder":{"type":"string"},"rows":{"type":"number","default":3},"autosize":{"type":"boolean","default":false},"maxRows":{"type":"number"},"value":{"type":"string","bindable":true},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}},"validateOn":{"type":"enum","enum":"validateOn","default":"blur"}},"events":["change","focus","blur"]},"NumberField":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string","required":true},"name":{"type":"string","required":true},"value":{"type":"number","bindable":true},"min":{"type":"number"},"max":{"type":"number"},"step":{"type":"number","default":1},"precision":{"type":"number"},"unit":{"type":"string"},"placeholder":{"type":"string"},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}},"validateOn":{"type":"enum","enum":"validateOn","default":"blur"}},"events":["change","submit","focus","blur"]},"Checkbox":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string","required":true,"bindable":true},"name":{"type":"string","required":true},"checked":{"type":"boolean","default":false,"bindable":true},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}}},"events":["change"]},"Radio":{"kind":"native","group":"input","lite":false,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"options":{"type":"array","items":{"type":"object","shape":"option"},"required":true},"value":{"type":"string","bindable":true},"orientation":{"type":"enum","enum":"orientation","default":"vertical"},"checks":{"type":"array","items":{"type":"object","shape":"check"}}},"events":["change"]},"ChoiceTiles":{"kind":"native","group":"input","lite":false,"children":"none","props":{"name":{"type":"string","required":true},"options":{"type":"array","items":{"type":"object","shape":"option"},"required":true},"type":{"type":"enum","enum":"groupType","default":"single"},"value":{"type":"string","bindable":true},"columns":{"type":"number","default":2},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}}},"events":["change"]},"Switch":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string","required":true,"bindable":true},"name":{"type":"string","required":true},"checked":{"type":"boolean","default":false,"bindable":true},"description":{"type":"string"},"disabled":{"type":"boolean","default":false}},"events":["change"]},"Slider":{"kind":"native","group":"input","lite":false,"children":"none","props":{"label":{"type":"string"},"min":{"type":"number","default":0,"bindable":true},"max":{"type":"number","required":true,"bindable":true},"step":{"type":"number","default":1},"value":{"type":"number","bindable":true}},"events":["change"]},"Rating":{"kind":"macro","group":"input","lite":true,"children":"none","props":{"value":{"type":"number","default":0,"bindable":true},"max":{"type":"number","default":5,"minimum":1,"maximum":100},"readOnly":{"type":"boolean","default":false},"size":{"type":"enum","enum":"controlSize","default":"default"}},"events":["change"]},"Select":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"options":{"type":"array","items":{"type":"object","shape":"option"},"bindable":true},"source":{"type":"string"},"placeholder":{"type":"string"},"value":{"type":"string","bindable":true},"multiple":{"type":"boolean","default":false},"searchable":{"type":"boolean","default":false},"emptyText":{"type":"string","default":"$string.noResults"},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}},"validateOn":{"type":"enum","enum":"validateOn","default":"change"}},"events":["change","search"]},"SearchList":{"kind":"native","group":"input","lite":true,"children":"none","props":{"items":{"type":"array","items":{"type":"object","shape":"searchItem"},"required":true,"bindable":true},"query":{"type":"string","bindable":true},"placeholder":{"type":"string","default":"$string.search"},"value":{"type":"string","bindable":true},"emptyText":{"type":"string","default":"$string.noResults"},"maxRows":{"type":"number","default":8},"showCount":{"type":"boolean","default":true}},"events":["search","select"]},"ChipInput":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"values":{"type":"array","items":{"type":"string"},"bindable":true},"suggestions":{"type":"array","items":{"type":"object","shape":"option"},"bindable":true},"placeholder":{"type":"string"},"max":{"type":"number"},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}}},"events":["change","add","remove"]},"DatePicker":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"value":{"type":"date","bindable":true},"min":{"type":"date"},"max":{"type":"date"},"placeholder":{"type":"string"},"firstDayOfWeek":{"type":"number"}},"events":["change"]},"DateRangePicker":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"start":{"type":"date","bindable":true},"end":{"type":"date","bindable":true},"min":{"type":"date"},"max":{"type":"date"},"placeholder":{"type":"string"},"firstDayOfWeek":{"type":"number"}},"events":["change"]},"TimePicker":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"value":{"type":"string","bindable":true},"min":{"type":"string"},"max":{"type":"string"},"step":{"type":"number","default":15},"placeholder":{"type":"string"},"disabled":{"type":"boolean","default":false}},"events":["change"]},"FileUpload":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"accept":{"type":"string"},"multiple":{"type":"boolean","default":false},"maxSize":{"type":"number"},"files":{"type":"array","items":{"type":"object","shape":"file"},"bindable":true},"hint":{"type":"string"},"disabled":{"type":"boolean","default":false}},"events":["upload","remove"]},"QrScanner":{"kind":"native","group":"input","lite":false,"children":"none","props":{"hint":{"type":"string","bindable":true},"formats":{"type":"array","items":{"type":"string"},"default":["qr"]},"label":{"type":"string","default":"$string.scanQrCode"},"disabled":{"type":"boolean","default":false}},"events":["scanned"]},"Composer":{"kind":"native","group":"input","lite":true,"children":"none","props":{"placeholder":{"type":"string"},"value":{"type":"string","bindable":true},"submitLabel":{"type":"string","default":"$string.send"},"attachments":{"type":"boolean","default":false},"busy":{"type":"boolean","default":false}},"events":["submit","change","stop"]},"Row":{"kind":"macro","group":"list","lite":true,"children":"none","slots":["leading","trailing"],"props":{"title":{"type":"string","required":true,"bindable":true},"identifier":{"type":"string","bindable":true},"subtitle":{"type":"string","bindable":true},"meta":{"type":"string","bindable":true},"value":{"type":"string","bindable":true},"placeholder":{"type":"string"},"icon":{"type":"icon","bindable":true},"chevron":{"type":"enum","enum":"rowChevron","default":"none","bindable":true},"selected":{"type":"boolean","default":false,"bindable":true},"density":{"type":"enum","enum":"density","default":"default"},"surface":{"type":"enum","enum":"rowSurface","default":"flat"},"pressable":{"type":"boolean","default":false},"depth":{"type":"number","default":0}},"events":["press"]},"MessageBubble":{"kind":"macro","group":"list","lite":true,"children":"none","slots":["attachment"],"props":{"text":{"type":"markdown","required":true,"bindable":true},"side":{"type":"enum","enum":"messageSide","default":"in"},"time":{"type":"string","bindable":true},"status":{"type":"enum","enum":"messageStatus","bindable":true},"author":{"type":"string","bindable":true}}},"TreeGuides":{"kind":"native","group":"list","lite":true,"children":"none","hidden":true,"props":{"depth":{"type":"number","required":true},"elbowAt":{"type":"number"},"tee":{"type":"boolean","default":false},"passThrough":{"type":"array","items":{"type":"number"}}}},"Unknown":{"kind":"native","group":"feedback","lite":true,"children":"none","hidden":true,"props":{"component":{"type":"string","required":true},"catalogId":{"type":"string"}}}}}"####;
70
- pub const MACROS_JSON: &str = r####"{"macros":{"Stack":{"recipeProps":[],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":{"$map":{"from":"props.direction","cases":{"horizontal":"row"},"default":"column"}},"flexWrap":{"$cond":["props.wrap","wrap","nowrap"]},"gap":"$spacing.{props.gap|md}","alignItems":{"$coalesce":["{props.align}",{"$map":{"from":"props.direction","cases":{"horizontal":"center"},"default":"stretch"}}]},"justifyContent":{"$map":{"from":"props.justify","cases":{"between":"space-between","around":"space-around","evenly":"space-evenly"},"default":"{props.justify|start}"}}},"children":["$children"]}},"Grid":{"recipeProps":[],"root":{"part":"root","component":"Box","style":{"display":"grid","gridTemplateColumns":"repeat({props.columns|2}, minmax(0, 1fr))","gap":"$spacing.{props.gap|md}"},"children":["$children"]}},"Card":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":"{props.title}"},"style":{"display":"flex","flexDirection":"column","borderRadius":"$radius.xl","overflow":"hidden"},"children":[{"part":"header","component":"Box","$any":["props.title","props.description"],"style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","paddingTop":"$spacing.lg","paddingHorizontal":"$spacing.lg"},"children":[{"part":"title","component":"Text","$if":"props.title","props":{"text":"{props.title}","variant":"title"}},{"part":"description","component":"Text","$if":"props.description","props":{"text":"{props.description}","variant":"muted"}}]},{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.md","padding":{"$map":{"from":"props.padded","cases":{"false":"$spacing.none"},"default":"$spacing.lg"}}},"children":["$children"]}]}},"Separator":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"separator"},"style":{"alignSelf":"stretch","flexShrink":0,"width":{"$map":{"from":"props.orientation","cases":{"vertical":1},"default":"auto"}},"height":{"$map":{"from":"props.orientation","cases":{"vertical":"auto"},"default":1}}}}},"Section":{"recipeProps":["tint","tree","open","collapsible"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.sm"},"children":[{"part":"header","component":"Box","$if":["props.title",{"$not":"props.collapsible"}],"$a11y":{"role":"heading","level":3},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm","height":"$control.row","paddingHorizontal":"$spacing.md","borderRadius":"$radius.md"},"children":[{"part":"chevron","component":"Icon","$if":"props.collapsible","props":{"name":"ui-chevron-right","size":"sm","tone":"neutral"}},"$slot:leading",{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm"}},{"part":"title","component":"Text","props":{"text":"{props.title}","variant":"label","lines":1},"style":{"flexShrink":1,"minWidth":0}},{"part":"caption","component":"Text","$if":"props.caption","props":{"text":"{props.caption}","variant":"muted","lines":1},"style":{"flexShrink":1,"minWidth":0}},{"part":"loading","component":"Spinner","$if":"props.loading","props":{"size":"xs","label":"$string.loading"}},{"part":"count","component":"Text","$if":"props.count","props":{"text":{"$text":"props.count"},"variant":"muted"}},{"part":"spacer","component":"Box","style":{"flexGrow":1,"minWidth":0}},"$slot:trailing"]},{"part":"header","component":"Box","$if":["props.title","props.collapsible"],"$a11y":{"role":"button","expanded":"{props.open|true}"},"props":{"pressable":true},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm","height":"$control.row","paddingHorizontal":"$spacing.md","borderRadius":"$radius.md"},"$on":{"press":"change"},"$context":{"open":{"$not":"props.open|true"}},"$set":{"press":{"prop":"open","value":{"$not":"props.open|true"}}},"children":[{"part":"chevron","component":"Icon","$if":"props.collapsible","props":{"name":"ui-chevron-right","size":"sm","tone":"neutral"}},"$slot:leading",{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm"}},{"part":"title","component":"Text","props":{"text":"{props.title}","variant":"label","lines":1},"style":{"flexShrink":1,"minWidth":0}},{"part":"caption","component":"Text","$if":"props.caption","props":{"text":"{props.caption}","variant":"muted","lines":1},"style":{"flexShrink":1,"minWidth":0}},{"part":"loading","component":"Spinner","$if":"props.loading","props":{"size":"xs","label":"$string.loading"}},{"part":"count","component":"Text","$if":"props.count","props":{"text":{"$text":"props.count"},"variant":"muted"}},{"part":"spacer","component":"Box","style":{"flexGrow":1,"minWidth":0}},"$slot:trailing"]},{"part":"body","component":"List","$if":"props.open|true","$a11y":{"role":{"$cond":["props.tree","tree","list"]}},"props":{"divided":true,"gap":"none","style":"{props.style}"},"children":["$children"]}]}},"Group":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":"{props.title}","description":"{props.footer}"},"style":{"display":"flex","flexDirection":"column","gap":"$spacing.xs"},"children":[{"part":"title","component":"Text","$if":"props.title","props":{"text":"{props.title}","variant":"label"},"style":{"paddingHorizontal":"$spacing.md"}},{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","borderRadius":"$radius.lg","overflow":"hidden"},"children":["$children"]},{"part":"footer","component":"Text","$if":"props.footer","props":{"text":"{props.footer}","variant":"muted"},"style":{"paddingHorizontal":"$spacing.md"}}]}},"Heading":{"recipeProps":["level"],"root":{"part":"root","component":"Text","$a11y":{"role":"heading","level":{"$map":{"from":"props.level","cases":{"h1":1,"h2":2,"h3":3,"h4":4},"default":2}}},"props":{"text":"{props.text}","variant":"title"}}},"Collapsible":{"recipeProps":[],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xs"},"children":[{"part":"trigger","component":"Box","$a11y":{"role":"button","expanded":"{props.open|false}"},"props":{"pressable":true},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm","minHeight":"$control.row","paddingHorizontal":"$spacing.sm","borderRadius":"$radius.md"},"$recipe":{"open":"{props.open|false}"},"$on":{"press":"change"},"$context":{"open":"{!props.open}"},"$set":{"press":{"prop":"open","value":"{!props.open}"}},"children":[{"part":"chevron","component":"Icon","props":{"name":"ui-chevron-right","size":"sm","tone":"neutral"},"$recipe":{"open":"{props.open|false}"}},{"part":"title","component":"Text","props":{"text":"{props.title}","variant":"label","lines":1},"style":{"flexGrow":1,"minWidth":0}},{"part":"count","component":"Text","$if":"props.count","props":{"text":{"$text":"props.count"},"variant":"muted"}}]},{"part":"body","component":"Box","$if":"props.open","style":{"display":"flex","flexDirection":"column","gap":"$spacing.md","paddingHorizontal":"$spacing.sm"},"children":["$children"]}]}},"Trace":{"recipeProps":["size"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"column","gap":{"$map":{"from":"props.size","cases":{"sm":6},"default":8}},"minWidth":0},"children":["$children"]}},"TraceItem":{"recipeProps":["status","size","collapsible","open"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"column","minWidth":0},"children":[{"part":"line","component":"Box","$if":{"$not":"props.collapsible"},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":{"$map":{"from":"props.size","cases":{"sm":6},"default":8}},"minHeight":{"$map":{"from":"props.size","cases":{"sm":18},"default":20}},"alignSelf":"flex-start","maxWidth":"100%","minWidth":0,"borderRadius":"$radius.md"},"children":[{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm"},"style":{"width":{"$map":{"from":"props.size","cases":{"sm":14},"default":16}},"height":{"$map":{"from":"props.size","cases":{"sm":14},"default":16}},"flexShrink":0}},{"part":"title","component":"Text","props":{"text":"{props.title}","lines":1,"shimmer":{"$eq":["{props.status}","running"]}},"style":{"flexShrink":1,"minWidth":0,"fontSize":{"$map":{"from":"props.size","cases":{"sm":12},"default":14}},"lineHeight":{"$map":{"from":"props.size","cases":{"sm":18},"default":20}}}},{"part":"description","component":"Text","$if":"props.description","props":{"text":"{props.description}","lines":1},"style":{"flexShrink":0,"fontSize":{"$map":{"from":"props.size","cases":{"sm":12},"default":14}},"lineHeight":{"$map":{"from":"props.size","cases":{"sm":18},"default":20}}}}]},{"part":"line","component":"Box","$if":"props.collapsible","$a11y":{"role":"button","expanded":"{props.open|false}"},"props":{"pressable":true},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":{"$map":{"from":"props.size","cases":{"sm":6},"default":8}},"minHeight":{"$map":{"from":"props.size","cases":{"sm":18},"default":20}},"alignSelf":"flex-start","maxWidth":"100%","minWidth":0,"borderRadius":"$radius.md"},"$on":{"press":"change"},"$context":{"open":"{!props.open}"},"$set":{"press":{"prop":"open","value":"{!props.open}"}},"children":[{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm"},"style":{"width":{"$map":{"from":"props.size","cases":{"sm":14},"default":16}},"height":{"$map":{"from":"props.size","cases":{"sm":14},"default":16}},"flexShrink":0}},{"part":"title","component":"Text","props":{"text":"{props.title}","lines":1,"shimmer":{"$eq":["{props.status}","running"]}},"style":{"flexShrink":1,"minWidth":0,"fontSize":{"$map":{"from":"props.size","cases":{"sm":12},"default":14}},"lineHeight":{"$map":{"from":"props.size","cases":{"sm":18},"default":20}}}},{"part":"description","component":"Text","$if":"props.description","props":{"text":"{props.description}","lines":1},"style":{"flexShrink":0,"fontSize":{"$map":{"from":"props.size","cases":{"sm":12},"default":14}},"lineHeight":{"$map":{"from":"props.size","cases":{"sm":18},"default":20}}}},{"part":"chevron","component":"Icon","props":{"name":"trace-chevron","size":"sm"},"$recipe":{"open":"{props.open|false}"},"style":{"width":{"$map":{"from":"props.size","cases":{"sm":14},"default":16}},"height":{"$map":{"from":"props.size","cases":{"sm":14},"default":16}},"flexShrink":0,"marginLeft":{"$map":{"from":"props.size","cases":{"sm":-2},"default":-4}}}}]},{"part":"content","component":"Box","$if":["props.collapsible","props.open"],"style":{"display":"flex","flexDirection":"column","gap":{"$map":{"from":"props.size","cases":{"sm":6},"default":8}},"minWidth":0,"marginTop":{"$map":{"from":"props.size","cases":{"sm":6},"default":8}},"marginBottom":{"$map":{"from":"props.size","cases":{"sm":4},"default":4}},"marginLeft":{"$map":{"from":"props.size","cases":{"sm":6},"default":7}},"borderLeftWidth":1,"paddingLeft":{"$map":{"from":"props.size","cases":{"sm":13},"default":16}},"paddingRight":{"$map":{"from":"props.size","cases":{"sm":4},"default":4}}},"children":["$children"]}]}},"Pagination":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"navigation","label":"$string.pagination"},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm"},"children":[{"part":"prev","component":"Button","props":{"icon":"ui-chevron-left","variant":"outline","size":"icon","label":"$string.previous","disabled":{"$not":{"$lt":[1,"{props.page|1}"]}}},"$on":{"press":"change"},"$context":{"page":{"$clamp":[{"$add":["{props.page|1}",-1]},1,"{props.totalPages}"]}},"$set":{"press":{"prop":"page","value":{"$clamp":[{"$add":["{props.page|1}",-1]},1,"{props.totalPages}"]}}}},{"part":"label","component":"Text","props":{"text":"{props.page|1} / {props.totalPages}","variant":"muted"},"$a11y":{"role":"status","label":{"$fill":["$string.pageOf",{"page":"{props.page|1}","total":"{props.totalPages}"}]}}},{"part":"next","component":"Button","props":{"icon":"ui-chevron-right","variant":"outline","size":"icon","label":"$string.next","disabled":{"$not":{"$lt":["{props.page|1}","{props.totalPages}"]}}},"$on":{"press":"change"},"$context":{"page":{"$clamp":[{"$add":["{props.page|1}",1]},1,"{props.totalPages}"]}},"$set":{"press":{"prop":"page","value":{"$clamp":[{"$add":["{props.page|1}",1]},1,"{props.totalPages}"]}}}}]}},"Badge":{"recipeProps":["variant"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.xxs","height":"$control.badge","paddingHorizontal":"$spacing.sm","borderRadius":"$radius.full","alignSelf":"flex-start"},"children":[{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm"}},{"part":"label","component":"Text","props":{"text":"{props.text}","variant":"caption","lines":1}}]}},"Alert":{"recipeProps":["type"],"root":{"part":"root","component":"Box","$a11y":{"role":{"$map":{"from":"props.type","cases":{"warning":"alert","error":"alert"},"default":"status"}}},"style":{"display":"flex","flexDirection":"row","alignItems":"flex-start","gap":"$spacing.sm","padding":"$spacing.md","borderRadius":"$radius.lg"},"children":[{"part":"icon","component":"Icon","props":{"name":{"$map":{"from":"props.type","cases":{"success":"ui-success","warning":"ui-warning","error":"ui-error"},"default":"ui-info"}},"size":"sm","tone":{"$map":{"from":"props.type","cases":{"success":"success","warning":"warning","error":"danger"},"default":"info"}}}},{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","flexGrow":1,"minWidth":0},"children":[{"part":"title","component":"Text","props":{"text":"{props.title}","variant":"label"}},{"part":"message","component":"Text","$if":"props.message","props":{"text":"{props.message}","variant":"muted"}}]}]}},"Chip":{"recipeProps":["shape","selected","tone"],"root":{"part":"root","component":"Box","$a11y":{"role":{"$cond":["props.pressable","button","none"]},"pressed":{"$cond":["props.pressable","{props.selected|false}"]}},"props":{"pressable":"{props.pressable|false}"},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.xs","paddingHorizontal":"$spacing.sm","alignSelf":"flex-start","height":{"$map":{"from":"props.shape","cases":{"rect":"$control.chip"},"default":"$control.pill"}},"borderRadius":{"$map":{"from":"props.shape","cases":{"rect":"$radius.md"},"default":"$radius.full"}}},"children":["$slot:leading",{"part":"dot","component":"Box","$if":"props.dot","style":{"width":8,"height":8,"borderRadius":"$radius.full","backgroundColor":"{props.dot}","flexShrink":0}},{"part":"image","component":"Image","$if":"props.image","props":{"src":"{props.image}","alt":"{props.label}","width":16,"height":16,"fit":"cover"},"style":{"borderRadius":"$radius.full"}},{"part":"icon","component":"Icon","$if":["props.icon","!props.image"],"props":{"name":"{props.icon}","size":"sm"}},{"part":"label","component":"Text","props":{"text":"{props.label}","variant":"caption","lines":1}},{"part":"detail","component":"Text","$if":"props.detail","props":{"text":"{props.detail}","variant":"muted","lines":1}},{"part":"remove","component":"Button","$if":"props.removable","props":{"icon":"ui-close","variant":"ghost","size":"icon","label":"$string.remove"},"$on":{"press":"remove"}}]}},"EmptyState":{"recipeProps":["size"],"root":{"part":"root","component":"Box","$a11y":{"role":"status"},"style":{"display":"flex","flexDirection":"column","alignItems":"center","gap":{"$map":{"from":"props.size","cases":{"list":"$spacing.xs"},"default":"$spacing.md"}},"paddingVertical":{"$map":{"from":"props.size","cases":{"list":"$spacing.xl"},"default":"$spacing.xl3"}},"paddingHorizontal":{"$map":{"from":"props.size","cases":{"list":"$spacing.md"},"default":"$spacing.xl"}}},"children":[{"part":"disc","component":"Box","$if":{"$not":{"$eq":["{props.size|page}","list"]}},"style":{"display":"flex","alignItems":"center","justifyContent":"center","width":48,"height":48,"borderRadius":"$radius.full","flexShrink":0},"children":[{"part":"icon","component":"Icon","props":{"name":"{props.icon}","size":"lg","tone":"neutral"}}]},{"part":"icon","component":"Icon","$if":{"$eq":["{props.size|page}","list"]},"props":{"name":"{props.icon}","size":"default","tone":"neutral"}},{"part":"title","component":"Text","props":{"text":"{props.title}","variant":{"$map":{"from":"props.size","cases":{"list":"muted"},"default":"title"}},"align":"center"}},{"part":"description","component":"Text","$if":["props.description",{"$not":{"$eq":["{props.size|page}","list"]}}],"props":{"text":"{props.description}","variant":"muted","align":"center"}},{"part":"action","component":"Button","$if":["props.actionLabel",{"$not":{"$eq":["{props.size|page}","list"]}}],"props":{"label":"{props.actionLabel}","variant":"outline"},"$on":{"press":"press"}}]}},"Progress":{"recipeProps":["tone"],"root":{"part":"root","component":"Box","$a11y":{"role":"progressbar","label":"{props.label}","valueNow":"{props.value}","valueMin":0,"valueMax":"{props.max|100}"},"style":{"display":"flex","flexDirection":"column","gap":"$spacing.xs","width":"100%"},"children":[{"part":"label","component":"Text","$if":"props.label","props":{"text":"{props.label}","variant":"caption"}},{"part":"track","component":"Box","style":{"height":"$control.progress","borderRadius":"$radius.full","overflow":"hidden","width":"100%"},"children":[{"part":"fill","component":"Box","style":{"height":"100%","width":{"$percent":["{props.value}","{props.max|100}"]},"borderRadius":"$radius.full"}}]}]}},"Meter":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"meter","label":"{props.label}"},"style":{"display":"flex","flexDirection":"column","gap":"$spacing.xs","width":"100%"},"children":[{"part":"header","component":"Box","$any":["props.label","props.value"],"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm"},"children":[{"part":"label","component":"Text","$if":"props.label","props":{"text":"{props.label}","variant":"caption"},"style":{"flexGrow":1,"minWidth":0}},{"part":"value","component":"Text","$if":"props.value","props":{"text":"{props.value}","variant":"muted"}}]},{"part":"track","component":"Box","style":{"display":"flex","flexDirection":"row","height":"$control.meter","borderRadius":"$radius.full","overflow":"hidden","width":"100%"},"children":[{"part":"segment","component":"Box","$each":"props.segments","$as":"item","style":{"height":"100%","width":{"$percent":["{item.value}","{props.max|100}"]}},"$recipe":{"tone":"{item.tone|neutral}"}}]}]}},"Row":{"recipeProps":["selected","density","surface","depth"],"root":{"part":"root","component":"Box","$a11y":{"role":{"$cond":["props.pressable","button","none"]},"selected":{"$cond":["props.pressable","{props.selected|false}"]}},"props":{"pressable":"{props.pressable|false}"},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm","minHeight":{"$map":{"from":"props.density","cases":{"compact":"$control.rowCompact"},"default":"$control.row"}},"paddingHorizontal":"$spacing.md","borderRadius":{"$map":{"from":"props.surface","cases":{"card":"$radius.lg"},"default":"$radius.md"}}},"children":[{"part":"guides","component":"TreeGuides","$if":{"$lt":[0,"{props.depth|0}"]},"props":{"depth":"{props.depth}"}},"$slot:leading",{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm"}},{"part":"identifier","component":"Text","$if":"props.identifier","props":{"text":"{props.identifier}","variant":"code","lines":1},"style":{"flexShrink":0}},{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","flexGrow":1,"minWidth":0,"paddingVertical":{"$map":{"from":"props.surface","cases":{"card":"$spacing.md"},"default":"$spacing.xs"}}},"children":[{"part":"title","component":"Text","props":{"text":"{props.title}","variant":"body","lines":1}},{"part":"subtitle","component":"Text","$if":"props.subtitle","props":{"text":"{props.subtitle}","variant":"muted","lines":1}}]},{"part":"meta","component":"Text","$if":"props.meta","props":{"text":"{props.meta}","variant":"muted","lines":1}},{"part":"value","component":"Text","$any":["props.value","props.placeholder"],"props":{"text":{"$coalesce":["{props.value}","{props.placeholder}"]},"variant":{"$cond":["props.value","body","muted"]},"lines":1,"align":"end"}},"$slot:trailing",{"part":"chevron","component":"Icon","$if":{"$not":{"$eq":["{props.chevron|none}","none"]}},"props":{"name":{"$map":{"from":"props.chevron","cases":{"selector":"ui-selector"},"default":"ui-chevron-right"}},"size":"sm","tone":"neutral"}}]}},"ScrollArea":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"region"},"style":{"display":"flex","flexDirection":{"$map":{"from":"props.direction","cases":{"horizontal":"row"},"default":"column"}},"overflowX":{"$map":{"from":"props.direction","cases":{"horizontal":"auto","both":"auto"},"default":"hidden"}},"overflowY":{"$map":{"from":"props.direction","cases":{"vertical":"auto","both":"auto"},"default":"hidden"}},"minWidth":0,"minHeight":0,"maxHeight":"{props.maxHeight}"},"children":["$children"]}},"Sidebar":{"recipeProps":["side"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":{"$map":{"from":"props.side","cases":{"right":"row-reverse"},"default":"row"}},"alignItems":"stretch","width":"100%","minHeight":0},"children":[{"part":"sidebar","component":"Box","$if":"!props.collapsed","$a11y":{"role":"navigation"},"style":{"display":"flex","flexDirection":"column","width":"{props.width|240}","flexShrink":0,"minHeight":0,"@media (max-width: $breakpoint.{props.collapseBelow|md})":{"$cond":[{"$not":{"$eq":["{props.collapseBelow|md}","never"]}},{"display":"none"}]}},"children":["$slot:sidebar"]},{"part":"main","component":"Box","$a11y":{"role":"main"},"style":{"display":"flex","flexDirection":"column","flexGrow":1,"minWidth":0,"minHeight":0},"children":["$children"]}]}},"AppBar":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"banner"},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm","height":"$control.appBar","paddingHorizontal":"$spacing.md","width":"100%"},"children":[{"part":"back","component":"Button","$if":"props.back","props":{"icon":"ui-back","variant":"ghost","size":"icon","label":"$string.back"},"$on":{"press":"back"}},"$slot:leading",{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","flexGrow":1,"minWidth":0},"children":[{"part":"title","component":"Text","props":{"text":"{props.title}","variant":"title","lines":1},"$a11y":{"role":"heading","level":1}},{"part":"subtitle","component":"Text","$if":"props.subtitle","props":{"text":"{props.subtitle}","variant":"muted","lines":1}}]},"$slot:trailing"]}},"Kbd":{"recipeProps":[],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"center","height":"$control.badge","paddingHorizontal":"$spacing.xs","borderRadius":"$radius.sm","alignSelf":"flex-start"},"children":[{"part":"label","component":"Text","props":{"text":"{props.keys}","variant":"code","lines":1}}]}},"Label":{"recipeProps":["required"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.xxs"},"children":[{"part":"text","component":"Text","props":{"text":"{props.text}","variant":"label"}},{"part":"mark","component":"Text","$if":"props.required","props":{"text":"*","variant":"label","tone":"danger"}}]}},"Breadcrumb":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"navigation","label":"$string.breadcrumb"},"style":{"display":"flex","flexDirection":"row","alignItems":"center","flexWrap":"wrap","gap":"$spacing.xs"},"children":[{"part":"item","component":"Box","$each":"props.items","$as":"item","style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.xs"},"$recipe":{"current":{"$eq":["{index}",{"$sub":["{len(props.items)}",1]}]}},"children":[{"part":"separator","component":"Icon","$if":{"$lt":[0,"{index}"]},"props":{"name":"ui-chevron-right","size":"sm","tone":"neutral"},"$a11y":{"hidden":true}},{"part":"link","component":"Button","$if":{"$not":{"$eq":["{index}",{"$sub":["{len(props.items)}",1]}]}},"props":{"label":"{item.label}","icon":"{item.icon}","variant":"link","size":"sm"},"$on":{"press":"select"},"$context":{"value":"{item.value}"}},{"part":"current","component":"Text","$if":{"$eq":["{index}",{"$sub":["{len(props.items)}",1]}]},"props":{"text":"{item.label}","variant":"label","lines":1},"$a11y":{"current":"page"}}]}]}},"Stepper":{"recipeProps":["orientation"],"root":{"part":"root","component":"Box","$a11y":{"role":"list"},"style":{"display":"flex","flexDirection":{"$map":{"from":"props.orientation","cases":{"vertical":"column"},"default":"row"}},"alignItems":{"$map":{"from":"props.orientation","cases":{"vertical":"stretch"},"default":"flex-start"}},"gap":"$spacing.md","width":"100%"},"children":[{"part":"step","component":"Box","$each":"props.steps","$as":"step","style":{"display":"flex","flexDirection":{"$map":{"from":"props.orientation","cases":{"vertical":"row"},"default":"column"}},"alignItems":{"$map":{"from":"props.orientation","cases":{"vertical":"flex-start"},"default":"center"}},"gap":"$spacing.xs","flexGrow":1,"flexBasis":0,"minWidth":0},"$recipe":{"status":{"$cond":[{"$lt":["{index}","{props.current|0}"]},"done",{"$cond":[{"$eq":["{index}","{props.current|0}"]},"current","upcoming"]}]}},"$a11y":{"role":"listitem","current":{"$cond":[{"$eq":["{index}","{props.current|0}"]},"step",false]},"label":{"$fill":[{"$cond":[{"$lt":["{index}","{props.current|0}"]},"$string.stepDone",{"$cond":[{"$eq":["{index}","{props.current|0}"]},"$string.stepCurrent","$string.stepUpcoming"]}]},{"step":{"$add":["{index}",1]},"total":"{len(props.steps)}","label":"{step.label}"}]}},"children":[{"part":"marker","component":"Box","$a11y":{"hidden":true},"style":{"display":"flex","alignItems":"center","justifyContent":"center","width":"$control.iconLg","height":"$control.iconLg","borderRadius":"$radius.full","flexShrink":0},"$recipe":{"status":{"$cond":[{"$lt":["{index}","{props.current|0}"]},"done",{"$cond":[{"$eq":["{index}","{props.current|0}"]},"current","upcoming"]}]}},"children":[{"part":"check","component":"Icon","$if":{"$lt":["{index}","{props.current|0}"]},"props":{"name":"ui-check","size":"sm"}},{"part":"number","component":"Text","$if":{"$not":{"$lt":["{index}","{props.current|0}"]}},"props":{"text":{"$text":{"$add":["{index}",1]}},"variant":"caption"},"$recipe":{"status":{"$cond":[{"$eq":["{index}","{props.current|0}"]},"current","upcoming"]}}}]},{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","minWidth":0},"children":[{"part":"label","component":"Text","props":{"text":"{step.label}","variant":"label","lines":1},"$recipe":{"status":{"$cond":[{"$lt":["{index}","{props.current|0}"]},"done",{"$cond":[{"$eq":["{index}","{props.current|0}"]},"current","upcoming"]}]}}},{"part":"description","component":"Text","$if":"step.description","props":{"text":"{step.description}","variant":"muted","lines":2}}]}]}]}},"Rating":{"recipeProps":["size","readOnly"],"root":{"part":"root","component":"Box","$a11y":{"role":{"$cond":["props.readOnly","img","group"]},"label":{"$cond":["props.readOnly",{"$fill":["$string.ratingValue",{"value":"{props.value|0}","max":"{props.max|5}"}]}]}},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.xxs","alignSelf":"flex-start"},"children":[{"part":"star","component":"Box","$each":"range(props.max|5)","$as":"star","props":{"pressable":{"$not":"props.readOnly"}},"style":{"display":"flex","alignItems":"center","justifyContent":"center"},"$recipe":{"filled":{"$lt":["{index}","{props.value|0}"]}},"$a11y":{"role":{"$cond":["props.readOnly","hidden","button"]},"label":{"$fill":["$string.ratingStar",{"value":{"$add":["{index}",1]},"max":"{props.max|5}"}]},"pressed":{"$eq":[{"$add":["{index}",1]},"{props.value|0}"]}},"$on":{"press":"change"},"$context":{"value":{"$add":["{index}",1]}},"$set":{"press":{"prop":"value","value":{"$add":["{index}",1]}}},"children":[{"part":"icon","component":"Icon","props":{"name":"star","size":"{props.size|default}"},"$recipe":{"filled":{"$lt":["{index}","{props.value|0}"]}}}]}]}},"AlertDialog":{"recipeProps":["destructive"],"root":{"part":"root","component":"Dialog","$a11y":{"role":"alertdialog"},"props":{"title":"{props.title}","description":"{props.description}","open":"{props.open|false}","dismissible":false},"slots":{"trigger":"$slot:trigger","footer":{"part":"footer","component":"Box","style":{"display":"flex","flexDirection":"row","justifyContent":"flex-end","flexWrap":"wrap","gap":"$spacing.sm"},"children":[{"part":"cancel","component":"Button","props":{"label":"{props.cancelLabel|$string.cancel}","variant":"outline"},"$a11y":{"autoFocus":true},"$on":{"press":"cancel"},"$set":{"press":{"prop":"open","value":false}}},{"part":"confirm","component":"Button","props":{"label":"{props.confirmLabel|$string.confirm}","variant":{"$cond":["props.destructive","destructive","default"]}},"$on":{"press":"confirm"},"$set":{"press":{"prop":"open","value":false}}}]}},"$on":{"change":"change"},"children":["$children"]}},"DockCard":{"recipeProps":["tone"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"column"},"children":[{"part":"trigger","component":"Box","$a11y":{"role":"button","label":"{props.label}: {props.title}"},"props":{"pressable":true},"style":{"display":"flex","flexDirection":"row","alignItems":"flex-start","gap":"$spacing.sm","padding":"$spacing.md","borderRadius":"$radius.xl"},"$on":{"press":"press"},"$set":{"press":{"prop":"open","value":true}},"children":[{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm","tone":"{props.tone|neutral}"},"style":{"flexShrink":0}},{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","flexGrow":1,"minWidth":0},"children":[{"part":"header","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm"},"children":[{"part":"label","component":"Text","props":{"text":"{props.label}","variant":"caption","tone":"{props.tone|neutral}","lines":1}},{"part":"caption","component":"Text","$if":"props.caption","props":{"text":"{props.caption}","variant":"muted","lines":1},"style":{"flexShrink":1,"minWidth":0}},{"part":"spacer","component":"Box","style":{"flexGrow":1,"minWidth":0}},{"part":"meta","component":"Text","$if":"props.meta","props":{"text":"{props.meta}","variant":"muted","lines":1}}]},{"part":"row","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm"},"children":[{"part":"title","component":"Text","props":{"text":"{props.title}","lines":1},"style":{"flexGrow":1,"minWidth":0}},{"part":"chevron","component":"Icon","props":{"name":"ui-chevron-right","size":"sm","tone":"neutral"}}]}]}]},{"part":"sheet","component":"Drawer","props":{"title":"{props.label}","description":"{props.caption}","open":"{props.open|false}","side":"bottom"},"slots":{"footer":"$slot:footer"},"$on":{"change":"change"},"children":["$children"]}]}},"Sparkline":{"recipeProps":["tone"],"root":{"part":"root","component":"Chart","props":{"kind":"sparkline","series":[{"name":"","values":"{props.values}","tone":"{props.tone|primary}"}],"height":"{props.height|24}","showAxes":false,"showGrid":false,"showLegend":false},"style":{"width":"100%"}}},"Page":{"recipeProps":[],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"column","flexGrow":1,"minHeight":0,"width":"100%"},"children":[{"part":"header","component":"AppBar","props":{"title":"{props.title}","subtitle":"{props.subtitle}","back":"{props.back|false}"},"slots":{"leading":"$slot:leading","trailing":"$slot:trailing"},"$on":{"back":"back"}},{"part":"body","component":"Box","$a11y":{"role":"main"},"style":{"display":"flex","flexDirection":"column","flexGrow":1,"minHeight":0,"overflowY":"auto","gap":"$spacing.lg","padding":{"$map":{"from":"props.padded","cases":{"false":"$spacing.none"},"default":"$spacing.lg"}}},"children":["$children"]}]}},"Toolbar":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group"},"style":{"display":"flex","flexDirection":"row","flexWrap":"wrap","alignItems":"flex-end","gap":"$spacing.{props.gap|sm}","width":"100%"},"children":["$children",{"part":"spacer","component":"Box","style":{"flexGrow":1,"minWidth":0}},"$slot:trailing"]}},"SplitView":{"recipeProps":[],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"stretch","width":"100%","flexGrow":1,"minHeight":0},"children":[{"part":"list","component":"Box","$a11y":{"role":"navigation"},"style":{"display":"flex","flexDirection":"column","width":"{props.width|320}","flexShrink":0,"minHeight":0,"overflowY":"auto","@media (max-width: $breakpoint.md)":{"width":"100%","flexShrink":1,"display":{"$cond":["props.open","none","flex"]}}},"children":["$slot:list"]},{"part":"divider","component":"Separator","props":{"orientation":"vertical"},"style":{"@media (max-width: $breakpoint.md)":{"display":"none"}}},{"part":"detail","component":"Box","$a11y":{"role":"main"},"style":{"display":"flex","flexDirection":"column","flexGrow":1,"minWidth":0,"minHeight":0,"@media (max-width: $breakpoint.md)":{"display":{"$cond":["props.open","flex","none"]}}},"children":[{"part":"backBar","component":"Box","style":{"display":"none","flexDirection":"row","alignItems":"center","height":"$control.appBar","paddingHorizontal":"$spacing.sm","@media (max-width: $breakpoint.md)":{"display":"flex"}},"children":[{"part":"back","component":"Button","props":{"icon":"ui-back","variant":"ghost","size":"icon","label":"$string.back"},"$on":{"press":"back"},"$set":{"press":{"prop":"open","value":false}}}]},"$children"]}]}},"FieldGroup":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group"},"style":{"display":"grid","gridTemplateColumns":"repeat(1, minmax(0, 1fr))","gap":"$spacing.md","alignItems":"start","@media (min-width: $breakpoint.md)":{"gridTemplateColumns":"repeat({props.columns|2}, minmax(0, 1fr))"}},"children":["$children"]}},"FormActions":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group"},"style":{"display":"flex","flexDirection":"row","flexWrap":"wrap","justifyContent":"flex-end","alignItems":"center","gap":"$spacing.sm","width":"100%"},"children":["$children",{"part":"cancel","component":"Button","$if":"props.cancel","props":{"label":"$string.cancel","variant":"outline"},"$on":{"press":"cancel"}},{"part":"submit","component":"Button","props":{"label":"{props.submit}","variant":{"$cond":["props.destructive","destructive","default"]},"submit":true}}]}},"StatTile":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":"{props.label}"},"style":{"display":"flex","flexDirection":"column","minWidth":0},"children":[{"part":"card","component":"Card","children":[{"part":"header","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm"},"children":[{"part":"label","component":"Text","props":{"text":"{props.label}","variant":"muted","lines":1},"style":{"flexGrow":1,"flexShrink":1,"minWidth":0}},{"part":"delta","component":"Text","$if":"props.delta","props":{"text":"{props.delta}","variant":"caption","tone":"{props.tone|neutral}"}}]},{"part":"value","component":"Text","props":{"text":"{props.value}","variant":"title","lines":1}},{"part":"trend","component":"Sparkline","$if":"props.trend","props":{"values":"{props.trend}","height":32}}]}]}},"CallSurface":{"recipeProps":["state","muted"],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":"{props.name}"},"style":{"display":"flex","flexDirection":"column","alignItems":"center","width":"100%","height":"100%","minHeight":0,"paddingHorizontal":"$spacing.xl","paddingTop":"$spacing.xl3","paddingBottom":"$spacing.xl3"},"children":[{"part":"head","component":"Box","style":{"display":"flex","flexDirection":"column","alignItems":"center","width":"100%","maxWidth":384,"minWidth":0},"children":[{"part":"wave","component":"VoiceWave","props":{"activity":{"$cond":["props.muted","muted",{"$map":{"from":"props.state","cases":{"ringing":"thinking","connecting":"thinking","ended":"idle"},"default":"{props.activity|speaking}"}}]},"level":"{props.level}","bands":"{props.bands}","size":"xl"},"$a11y":{"hidden":true},"children":[{"part":"avatar","component":"Avatar","props":{"name":"{props.name}","src":"{props.avatar}","size":"lg"}}]},{"part":"name","component":"Text","$a11y":{"role":"heading","level":2},"props":{"text":"{props.name}","variant":"title","align":"center","lines":1},"style":{"marginTop":"$spacing.sm","maxWidth":"100%"}},{"part":"status","component":"Text","$if":"props.status","props":{"text":"{props.status}","variant":"muted","align":"center","lines":1},"style":{"marginTop":"$spacing.xs"}},{"part":"caption","component":"Text","$if":"props.caption","props":{"text":"{props.caption}","align":"center","lines":4,"live":"polite"},"style":{"marginTop":"$spacing.xl2","maxWidth":"100%"}}]},{"part":"spacer","component":"Box","style":{"flexGrow":1,"minHeight":"$spacing.xl"}},{"part":"controls","component":"Box","style":{"display":"flex","flexDirection":"row","justifyContent":"center","alignItems":"flex-start","gap":32},"children":[{"part":"muteTip","component":"Tooltip","$if":{"$not":{"$eq":["{props.state|talking}","ringing"]}},"props":{"content":{"$cond":["props.muted","$string.unmute","$string.mute"]}},"children":[{"part":"mute","component":"Button","props":{"variant":"secondary","size":"icon"},"$a11y":{"label":{"$cond":["props.muted","$string.unmute","$string.mute"]}},"style":{"width":56,"height":56,"borderRadius":"$radius.full","flexShrink":0},"$on":{"press":"mute"},"$context":{"muted":"{!props.muted}"},"$set":{"press":{"prop":"muted","value":"{!props.muted}"}},"children":[{"part":"muteIcon","component":"Icon","props":{"name":{"$cond":["props.muted","call-unmute","call-mute"]},"size":"lg"}}]}]},{"part":"speakerTip","component":"Tooltip","$if":[{"$not":{"$eq":["{props.state|talking}","ringing"]}},{"$not":{"$eq":["{props.speaker|none}","none"]}}],"props":{"content":{"$cond":["props.speaker","$string.speaker","$string.speakerOff"]}},"children":[{"part":"speaker","component":"Button","props":{"variant":"secondary","size":"icon"},"$a11y":{"label":{"$cond":["props.speaker","$string.speaker","$string.speakerOff"]}},"style":{"width":56,"height":56,"borderRadius":"$radius.full","flexShrink":0},"$on":{"press":"speaker"},"$context":{"speaker":"{!props.speaker}"},"$set":{"press":{"prop":"speaker","value":"{!props.speaker}"}},"children":[{"part":"speakerIcon","component":"Icon","props":{"name":{"$cond":["props.speaker","call-speaker","call-speaker-off"]},"size":"lg"}}]}]},{"part":"endTip","component":"Tooltip","$if":{"$not":{"$eq":["{props.state|talking}","ringing"]}},"props":{"content":"$string.endCall"},"children":[{"part":"end","component":"Button","props":{"variant":"destructive","size":"icon"},"$a11y":{"label":"$string.endCall"},"style":{"width":56,"height":56,"borderRadius":"$radius.full","flexShrink":0},"$on":{"press":"hangUp"},"children":[{"part":"endIcon","component":"Icon","props":{"name":"call-end","size":"lg"}}]}]},{"part":"cancel","component":"Box","$if":{"$eq":["{props.state|talking}","ringing"]},"style":{"display":"flex","flexDirection":"column","alignItems":"center","gap":"$spacing.xs"},"children":[{"part":"end","component":"Button","props":{"variant":"destructive","size":"icon"},"$a11y":{"label":"$string.cancel"},"style":{"width":56,"height":56,"borderRadius":"$radius.full","flexShrink":0},"$on":{"press":"hangUp"},"children":[{"part":"endIcon","component":"Icon","props":{"name":"call-end","size":"lg"}}]},{"part":"cancelLabel","component":"Text","props":{"text":"$string.cancel","variant":"caption"},"$a11y":{"hidden":true}}]}]}]}},"MessageBubble":{"recipeProps":["side","status"],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":{"$coalesce":["{props.author}","{props.time}"]}},"style":{"display":"flex","flexDirection":"column","alignItems":{"$map":{"from":"props.side","cases":{"out":"flex-end"},"default":"flex-start"}},"width":"100%","minWidth":0},"children":[{"part":"bubble","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","maxWidth":"80%","minWidth":0,"paddingHorizontal":"$spacing.md","paddingVertical":"$spacing.sm","borderRadius":"$radius.xl","borderTopLeftRadius":{"$map":{"from":"props.side","cases":{"out":"$radius.xl"},"default":6}}},"children":[{"part":"author","component":"Text","$if":["props.author",{"$not":{"$eq":["{props.side|in}","out"]}}],"props":{"text":"{props.author}","variant":"caption","lines":1}},"$slot:attachment",{"part":"text","component":"Markdown","props":{"text":"{props.text}"}},{"part":"footer","component":"Box","$any":["props.time","props.status"],"style":{"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"flex-end","alignSelf":"flex-end","gap":"$spacing.xs"},"children":[{"part":"time","component":"Text","$if":"props.time","props":{"text":"{props.time}","variant":"caption","lines":1}},{"part":"status","component":"Icon","$if":["props.status",{"$eq":["{props.side|in}","out"]}],"props":{"name":{"$map":{"from":"props.status","cases":{"sending":"ui-clock","sent":"ui-check","read":"ui-read"},"default":"ui-check"}},"size":"sm","label":{"$map":{"from":"props.status","cases":{"sending":"$string.sending","sent":"$string.sent","read":"$string.read"},"default":"$string.sent"}}},"style":{"width":14,"height":14,"flexShrink":0}}]}]}]}},"Plan":{"recipeProps":["state"],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":"{props.title}"},"style":{"display":"flex","flexDirection":"column","minWidth":0},"children":[{"part":"card","component":"Card","children":[{"part":"header","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","minWidth":0},"children":[{"part":"title","component":"Heading","props":{"text":"{props.title}","level":"h3"}},{"part":"description","component":"Text","$if":"props.description","props":{"text":"{props.description}","variant":"muted"}}]},{"part":"steps","component":"Trace","$if":"props.steps","children":[{"part":"step","component":"TraceItem","$each":"props.steps","$as":"step","props":{"title":"{step.title}","icon":"{step.icon}","description":"{step.detail}","status":"{step.status}"}}]},{"part":"footer","component":"Box","$if":{"$eq":["{props.state|proposed}","proposed"]},"style":{"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"flex-end","flexWrap":"wrap","gap":"$spacing.sm"},"children":[{"part":"decline","component":"Button","props":{"label":"{props.declineLabel|$string.no}","variant":"outline"},"$on":{"press":"decline"}},{"part":"approve","component":"Button","props":{"label":"{props.approveLabel|$string.yes}","icon":"ui-check","variant":"default"},"$on":{"press":"approve"}}]},{"part":"running","component":"Box","$if":{"$eq":["{props.state|proposed}","running"]},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.md"},"children":[{"part":"progress","component":"Progress","props":{"value":"{props.progress|0}","max":1,"tone":"primary"},"style":{"flexGrow":1,"flexShrink":1,"flexBasis":0,"minWidth":0}},{"part":"stop","component":"Button","props":{"label":"{props.stopLabel|$string.stop}","icon":"ui-stop","variant":"destructive"},"$on":{"press":"stop"}}]}]}]}}}}"####;
69
+ pub const CORE_CATALOG_JSON: &str = r####"{"id":"https://ui.exponential.at/catalogs/core/v1","liteId":"https://ui.exponential.at/catalogs/core-lite/v1","name":"Exponential UI core","version":"1","unknownComponent":"Unknown","enums":{"variant":["default","secondary","outline","ghost","destructive","link"],"size":["sm","default","lg","icon"],"tone":["neutral","primary","success","warning","danger","info"],"gap":["none","xs","sm","md","lg","xl"],"align":["start","center","end","stretch"],"justify":["start","center","end","between","around","evenly"],"textVariant":["body","caption","muted","lead","code","label","title"],"headingLevel":["h1","h2","h3","h4"],"imageFit":["contain","cover","fill","none","scaleDown"],"orientation":["horizontal","vertical"],"side":["top","right","bottom","left"],"inputType":["text","email","password","number","search","url","tel"],"validateOn":["change","blur","submit"],"alertType":["info","success","warning","error"],"controlSize":["sm","default","lg"],"spinnerSize":["xs","sm","default","lg"],"tabClosable":["none","hover","always"],"groupType":["single","multiple"],"rowChevron":["none","right","selector"],"rowSurface":["flat","card"],"chipShape":["pill","rect"],"density":["default","compact"],"listDirection":["vertical","horizontal"],"chartKind":["bar","stackedBar","line","area","pie","donut","sparkline"],"segmentedVariant":["segmented","toggles","outline","bar"],"liveTone":["live","attention","done","unread","idle","muted"],"menuItemKind":["item","checkbox","separator","label","submenu"],"openOn":["press","hover"],"menuOpenOn":["press","contextmenu"],"live":["off","polite","assertive"],"selectable":["none","single","multiple"],"cellType":["text","number","date","boolean","badge","slot","currency","percent","relativeTime"],"sortDirection":["asc","desc"],"imageLoading":["lazy","eager"],"scrollDirection":["vertical","horizontal","both"],"collapseBelow":["never","sm","md","lg","xl"],"codeLanguage":["plain","json","js","ts","tsx","rust","swift","kotlin","python","bash","html","css","sql","yaml","markdown","ansi"],"codeToken":["plain","keyword","string","number","comment","punctuation","operator","type","function","property","tag","attribute","success","warning","error"],"codeBlockVariant":["default","destructive"],"codeBlockSize":["default","sm"],"traceStatus":["running","error","pending","done","skipped"],"traceSize":["default","sm"],"voiceWaveActivity":["idle","listening","thinking","speaking","muted"],"voiceWaveSize":["sm","md","lg","xl"],"messageSide":["in","out"],"messageStatus":["sending","sent","read"],"callState":["ringing","connecting","talking","ended"],"voiceWaveVariant":["ring","bars"],"qrLevel":["L","M","Q","H"],"planState":["proposed","running","done","declined"]},"defs":{"option":{"properties":{"label":{"type":"string","required":true,"bindable":true},"value":{"type":"string","required":true},"icon":{"type":"icon"},"disabled":{"type":"boolean"},"description":{"type":"string"},"image":{"type":"url"},"count":{"type":"number","bindable":true}}},"check":{"properties":{"condition":{"type":"boolean","required":true,"bindable":true},"message":{"type":"string","required":true}}},"tab":{"properties":{"label":{"type":"string","required":true,"bindable":true},"value":{"type":"string","required":true},"icon":{"type":"icon"},"count":{"type":"number"}}},"menuItem":{"properties":{"label":{"type":"string"},"value":{"type":"string"},"kind":{"type":"enum","enum":"menuItemKind","default":"item"},"icon":{"type":"icon"},"shortcut":{"type":"string"},"checked":{"type":"boolean","bindable":true},"destructive":{"type":"boolean"},"disabled":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","shape":"menuItem"},"bindable":true},"searchable":{"type":"boolean"},"placeholder":{"type":"string"}}},"searchItem":{"properties":{"label":{"type":"string","required":true,"bindable":true},"value":{"type":"string","required":true},"icon":{"type":"icon"},"identifier":{"type":"string"},"disabled":{"type":"boolean"}}},"accordionItem":{"properties":{"title":{"type":"string","required":true,"bindable":true},"value":{"type":"string","required":true},"count":{"type":"number"}}},"segment":{"properties":{"value":{"type":"number","required":true},"tone":{"type":"enum","enum":"tone"},"label":{"type":"string"}}},"series":{"properties":{"name":{"type":"string","required":true},"values":{"type":"array","items":{"type":"number"},"required":true},"tone":{"type":"enum","enum":"tone"}}},"pageItem":{"properties":{"title":{"type":"string"}}},"step":{"properties":{"label":{"type":"string","required":true},"description":{"type":"string"}}},"column":{"properties":{"key":{"type":"string","required":true},"label":{"type":"string","required":true},"type":{"type":"enum","enum":"cellType","default":"text"},"slot":{"type":"string"},"width":{"type":"number"},"align":{"type":"enum","values":["start","center","end"],"default":"start"},"sortable":{"type":"boolean","default":false},"currency":{"type":"string"},"decimals":{"type":"number"}}},"sort":{"properties":{"key":{"type":"string","required":true},"direction":{"type":"enum","enum":"sortDirection","required":true}}},"panel":{"properties":{"min":{"type":"number"},"max":{"type":"number"},"collapsible":{"type":"boolean"}}},"file":{"properties":{"name":{"type":"string","required":true},"size":{"type":"number"},"type":{"type":"string"},"url":{"type":"url"}}},"planStep":{"properties":{"title":{"type":"string","required":true},"detail":{"type":"string"},"icon":{"type":"icon"},"status":{"type":"enum","enum":"traceStatus"}}},"outlineItem":{"properties":{"id":{"type":"string","required":true},"title":{"type":"string","required":true,"bindable":true},"count":{"type":"number","bindable":true}}},"picture":{"properties":{"src":{"type":"url","required":true},"alt":{"type":"string"}}}},"functions":{"names":["required","regex","length","numeric","email","formatString","formatNumber","formatCurrency","formatDate","pluralize","openUrl","and","or","not","percent","add","sub","eq","lt","clamp","cond","fallback","concat","coalesce","text","map","len","fill","set","formatPercent","formatRelativeTime","filter","bind"],"core":{"percent":{"args":{"value":"number","max":"number"},"returns":"string"},"add":{"args":{"a":"number","b":"number"},"returns":"number"},"sub":{"args":{"a":"number","b":"number"},"returns":"number"},"eq":{"args":{"a":"any","b":"any"},"returns":"boolean"},"lt":{"args":{"a":"number","b":"number"},"returns":"boolean"},"clamp":{"args":{"value":"number","min":"number","max":"number"},"returns":"number"},"cond":{"args":{"if":"any","then":"any","else":"any"},"returns":"any"},"fallback":{"args":{"value":"any","default":"any"},"returns":"any"},"concat":{"args":{"values":"array"},"returns":"string"},"coalesce":{"args":{"values":"array"},"returns":"any"},"text":{"args":{"value":"any"},"returns":"string"},"map":{"args":{"value":"any","cases":"object","default":"any"},"returns":"any"},"len":{"args":{"value":"any"},"returns":"number"},"fill":{"args":{"template":"string","params":"object"},"returns":"string"},"set":{"args":{"path":"string","value":"any"},"returns":"void"},"formatPercent":{"args":{"value":"number","decimals":"number"},"returns":"string"},"formatRelativeTime":{"args":{"value":"any","now":"any"},"returns":"string"},"filter":{"args":{"items":"array","query":"string","fields":"array","where":"object"},"returns":"array"},"bind":{"args":{"path":"string","source":"string","params":"object"},"returns":"void"}},"basic":{"required":{"args":{"value":"any"},"returns":"boolean"},"regex":{"args":{"value":"string","pattern":"string"},"returns":"boolean"},"length":{"args":{"value":"string","min":"number","max":"number"},"returns":"boolean"},"numeric":{"args":{"value":"number","min":"number","max":"number"},"returns":"boolean"},"email":{"args":{"value":"string"},"returns":"boolean"},"formatString":{"args":{"value":"string"},"returns":"string"},"formatNumber":{"args":{"value":"number","decimals":"number","grouping":"boolean"},"returns":"string"},"formatCurrency":{"args":{"value":"number","currency":"string","decimals":"number","grouping":"boolean"},"returns":"string"},"formatDate":{"args":{"value":"any","format":"string"},"returns":"string"},"pluralize":{"args":{"value":"number","zero":"string","one":"string","two":"string","few":"string","many":"string","other":"string"},"returns":"string"},"openUrl":{"args":{"url":"string"},"returns":"void"},"and":{"args":{"values":"array"},"returns":"boolean"},"or":{"args":{"values":"array"},"returns":"boolean"},"not":{"args":{"value":"any"},"returns":"boolean"}}},"builtinIcons":{"Accordion.trigger":"ui-chevron-down","Carousel.previous":"ui-chevron-left","Carousel.next":"ui-chevron-right","Checkbox.check":"ui-check","ChipInput.remove":"ui-close","CodeBlock.copy":"ui-copy","CodeBlock.copied":"ui-check","Composer.attachment":"ui-attach","Composer.send":"ui-send","Composer.stop":"ui-stop","DatePicker.trigger":"calendar","DatePicker.previousMonth":"ui-chevron-left","DatePicker.nextMonth":"ui-chevron-right","DateRangePicker.trigger":"calendar","Dialog.close":"ui-close","Menu.check":"ui-check","Menu.submenuIndicator":"ui-chevron-right","FileUpload.icon":"upload","FileUpload.file":"ui-file","FileUpload.remove":"ui-close","Image.fallback":"ui-icon-placeholder","NumberField.decrement":"ui-minus","NumberField.increment":"ui-add","Select.trigger":"ui-selector","Select.search":"search","Select.check":"ui-check","SearchList.search":"search","SearchList.check":"ui-check","Table.sortIcon.asc":"ui-chevron-up","Table.sortIcon.desc":"ui-chevron-down","Tabs.close":"ui-close","Tabs.new":"ui-add","TimePicker.trigger":"ui-clock","Toast.close":"ui-close","Toast.icon.info":"ui-info","Toast.icon.success":"ui-success","Toast.icon.warning":"ui-warning","Toast.icon.error":"ui-error","Unknown.root":"ui-warning"},"components":{"Box":{"kind":"native","group":"layout","lite":true,"children":"many","props":{"style":{"type":"style"},"pressable":{"type":"boolean"}},"events":["press"]},"Stack":{"kind":"macro","group":"layout","lite":true,"children":"many","props":{"direction":{"type":"enum","enum":"orientation","default":"vertical","responsive":true,"bindable":true},"gap":{"type":"enum","enum":"gap","default":"md","responsive":true},"align":{"type":"enum","enum":"align","responsive":true,"bindable":true},"justify":{"type":"enum","enum":"justify","default":"start","responsive":true,"bindable":true},"wrap":{"type":"boolean","default":false,"responsive":true},"style":{"type":"style"}}},"Grid":{"kind":"macro","group":"layout","lite":true,"children":"many","props":{"columns":{"type":"number","default":2,"responsive":true},"gap":{"type":"enum","enum":"gap","default":"md","responsive":true},"style":{"type":"style"}}},"Card":{"kind":"macro","group":"layout","lite":true,"children":"many","props":{"title":{"type":"string"},"description":{"type":"string"},"padded":{"type":"boolean","default":true},"style":{"type":"style"}}},"Separator":{"kind":"macro","group":"layout","lite":true,"children":"none","props":{"orientation":{"type":"enum","enum":"orientation","default":"horizontal"}}},"List":{"kind":"native","group":"layout","lite":true,"children":"many","slots":["section"],"slotScope":"row","props":{"direction":{"type":"enum","enum":"listDirection","default":"vertical"},"gap":{"type":"enum","enum":"gap","default":"none"},"divided":{"type":"boolean","default":false},"sectionBy":{"type":"string"},"stickyHeaders":{"type":"boolean","default":false},"style":{"type":"style"}}},"Resizable":{"kind":"native","group":"layout","lite":true,"children":"many","props":{"direction":{"type":"enum","enum":"orientation","default":"horizontal","responsive":true},"sizes":{"type":"array","items":{"type":"number"},"bindable":true},"panels":{"type":"array","items":{"type":"object","shape":"panel"}},"handle":{"type":"boolean","default":false},"style":{"type":"style"}},"events":["change"]},"ScrollArea":{"kind":"macro","group":"layout","lite":true,"children":"many","props":{"direction":{"type":"enum","enum":"scrollDirection","default":"vertical"},"maxHeight":{"type":"number"},"style":{"type":"style"}}},"Sidebar":{"kind":"macro","group":"layout","lite":true,"children":"many","slots":["sidebar"],"props":{"side":{"type":"enum","values":["left","right"],"default":"left"},"width":{"type":"number","default":240},"collapseBelow":{"type":"enum","enum":"collapseBelow","default":"md"},"collapsed":{"type":"boolean","default":false,"bindable":true}}},"SplitView":{"kind":"macro","group":"layout","lite":true,"children":"many","slots":["list"],"props":{"open":{"type":"boolean","default":false,"bindable":true},"width":{"type":"number","default":320}},"events":["back"]},"AppBar":{"kind":"macro","group":"layout","lite":true,"children":"none","slots":["leading","trailing"],"props":{"title":{"type":"string","required":true,"bindable":true},"subtitle":{"type":"string","bindable":true},"back":{"type":"boolean","default":false}},"events":["back"]},"Page":{"kind":"macro","group":"layout","lite":true,"children":"many","slots":["leading","trailing"],"props":{"title":{"type":"string","required":true,"bindable":true},"subtitle":{"type":"string","bindable":true},"back":{"type":"boolean","default":false},"padded":{"type":"boolean","default":true}},"events":["back"]},"Toolbar":{"kind":"macro","group":"layout","lite":true,"children":"many","slots":["trailing"],"props":{"gap":{"type":"enum","enum":"gap","default":"sm"}}},"Section":{"kind":"macro","group":"list","lite":true,"children":"many","slots":["leading","trailing"],"props":{"title":{"type":"string","bindable":true},"caption":{"type":"string","bindable":true},"count":{"type":"number","bindable":true},"icon":{"type":"icon"},"collapsible":{"type":"boolean","default":false},"open":{"type":"boolean","default":true,"bindable":true},"tint":{"type":"enum","enum":"tone","default":"neutral"},"tree":{"type":"boolean","default":false},"loading":{"type":"boolean","default":false,"bindable":true},"style":{"type":"style"}},"events":["change"]},"Group":{"kind":"macro","group":"list","lite":true,"children":"many","props":{"title":{"type":"string"},"footer":{"type":"string"}}},"Text":{"kind":"native","group":"text","lite":true,"children":"none","props":{"text":{"type":"string","required":true,"bindable":true},"variant":{"type":"enum","enum":"textVariant","default":"body"},"align":{"type":"enum","values":["start","center","end"]},"lines":{"type":"number"},"tone":{"type":"enum","enum":"tone"},"shimmer":{"type":"boolean","default":false},"live":{"type":"enum","enum":"live","default":"off"},"style":{"type":"style"}}},"Heading":{"kind":"macro","group":"text","lite":true,"children":"none","props":{"text":{"type":"string","required":true,"bindable":true},"level":{"type":"enum","enum":"headingLevel","default":"h2"}}},"Markdown":{"kind":"native","group":"text","lite":true,"children":"none","props":{"text":{"type":"markdown","required":true,"bindable":true},"lines":{"type":"number"},"style":{"type":"style"}}},"CodeBlock":{"kind":"native","group":"text","lite":true,"children":"none","props":{"code":{"type":"string","required":true,"bindable":true},"language":{"type":"enum","enum":"codeLanguage","default":"plain"},"title":{"type":"string"},"lineNumbers":{"type":"boolean","default":false},"wrap":{"type":"boolean","default":false},"copyable":{"type":"boolean","default":true},"highlight":{"type":"array","items":{"type":"number"}},"maxLines":{"type":"number"},"variant":{"type":"enum","enum":"codeBlockVariant","default":"default","bindable":true},"size":{"type":"enum","enum":"codeBlockSize","default":"default"}}},"Kbd":{"kind":"macro","group":"text","lite":true,"children":"none","props":{"keys":{"type":"string","required":true}}},"Label":{"kind":"macro","group":"text","lite":true,"children":"none","props":{"text":{"type":"string","required":true,"bindable":true},"for":{"type":"string"},"required":{"type":"boolean","default":false}}},"Image":{"kind":"native","group":"media","lite":false,"children":"none","props":{"src":{"type":"url","bindable":true},"alt":{"type":"string","required":true,"bindable":true},"fit":{"type":"enum","enum":"imageFit","default":"cover"},"width":{"type":"number"},"height":{"type":"number"},"aspectRatio":{"type":"number"},"fallback":{"type":"icon"},"loading":{"type":"enum","enum":"imageLoading","default":"lazy"},"focalX":{"type":"number"},"focalY":{"type":"number"},"style":{"type":"style"}}},"Icon":{"kind":"native","group":"media","lite":true,"children":"none","props":{"name":{"type":"icon","required":true,"bindable":true},"size":{"type":"enum","enum":"controlSize","default":"default"},"tone":{"type":"enum","enum":"tone","bindable":true},"label":{"type":"string"}}},"Video":{"kind":"native","group":"media","lite":false,"children":"none","props":{"src":{"type":"url","required":true,"bindable":true},"poster":{"type":"url"},"durationMs":{"type":"number"},"autoplay":{"type":"boolean","default":false},"aspectRatio":{"type":"number","default":1.7777778},"style":{"type":"style"}}},"AudioPlayer":{"kind":"native","group":"media","lite":false,"children":"none","props":{"src":{"type":"url","required":true,"bindable":true},"title":{"type":"string"},"durationMs":{"type":"number"}}},"Avatar":{"kind":"native","group":"media","lite":true,"children":"none","props":{"name":{"type":"string","required":true,"bindable":true},"src":{"type":"url","bindable":true},"size":{"type":"enum","enum":"controlSize","default":"default"},"seed":{"type":"string"}}},"QrCode":{"kind":"native","group":"media","lite":false,"children":"none","props":{"value":{"type":"string","required":true,"bindable":true},"size":{"type":"number","default":160},"level":{"type":"enum","enum":"qrLevel","default":"M"},"label":{"type":"string"}}},"Carousel":{"kind":"native","group":"media","lite":false,"children":"many","props":{"page":{"type":"number","default":0,"bindable":true},"loop":{"type":"boolean","default":false},"indicators":{"type":"boolean","default":true},"counter":{"type":"boolean","default":false},"thumbnails":{"type":"array","items":{"type":"url"}}},"events":["change"]},"Mosaic":{"kind":"macro","group":"media","lite":false,"children":"none","props":{"pictures":{"type":"array","items":{"type":"object","shape":"picture"},"required":true},"label":{"type":"string"}},"events":["select"]},"Tabs":{"kind":"native","group":"navigation","lite":true,"children":"many","props":{"tabs":{"type":"array","items":{"type":"object","shape":"tab"},"required":true},"value":{"type":"string","bindable":true},"fill":{"type":"boolean","default":false},"closable":{"type":"enum","enum":"tabClosable","default":"none"},"addable":{"type":"boolean","default":false}},"events":["change","close","new"]},"Segmented":{"kind":"native","group":"navigation","lite":true,"children":"none","props":{"items":{"type":"array","items":{"type":"object","shape":"option"},"required":true},"type":{"type":"enum","enum":"groupType","default":"single"},"value":{"type":"string","bindable":true},"variant":{"type":"enum","enum":"segmentedVariant","default":"segmented"},"size":{"type":"enum","enum":"controlSize","default":"default"},"fill":{"type":"boolean","default":false},"orientation":{"type":"enum","enum":"orientation","default":"horizontal"}},"events":["change"]},"Accordion":{"kind":"native","group":"navigation","lite":false,"children":"many","props":{"items":{"type":"array","items":{"type":"object","shape":"accordionItem"},"required":true},"type":{"type":"enum","enum":"groupType","default":"single"},"value":{"type":"string","bindable":true}},"events":["change"]},"Collapsible":{"kind":"macro","group":"navigation","lite":true,"children":"many","props":{"title":{"type":"string","required":true},"open":{"type":"boolean","default":false,"bindable":true},"count":{"type":"number"}},"events":["change"]},"Trace":{"kind":"macro","group":"list","lite":true,"children":"many","props":{"size":{"type":"enum","enum":"traceSize","default":"default"}}},"TraceItem":{"kind":"macro","group":"list","lite":true,"children":"many","props":{"title":{"type":"string","required":true,"bindable":true},"icon":{"type":"icon"},"description":{"type":"string"},"status":{"type":"enum","enum":"traceStatus"},"size":{"type":"enum","enum":"traceSize","default":"default"},"collapsible":{"type":"boolean","default":false},"open":{"type":"boolean","default":false,"bindable":true}},"events":["change"]},"Plan":{"kind":"macro","group":"list","lite":true,"children":"none","props":{"title":{"type":"string","required":true,"bindable":true},"description":{"type":"string","bindable":true},"steps":{"type":"array","items":{"type":"object","shape":"planStep"}},"state":{"type":"enum","enum":"planState","default":"proposed","bindable":true},"progress":{"type":"number","bindable":true},"approveLabel":{"type":"string","default":"$string.yes"},"declineLabel":{"type":"string","default":"$string.no"},"stopLabel":{"type":"string","default":"$string.stop"}},"events":["approve","decline","stop"]},"Pagination":{"kind":"macro","group":"navigation","lite":false,"children":"none","props":{"totalPages":{"type":"number","required":true},"page":{"type":"number","default":1,"bindable":true}},"events":["change"]},"Breadcrumb":{"kind":"macro","group":"navigation","lite":true,"children":"none","props":{"items":{"type":"array","items":{"type":"object","shape":"option"},"required":true}},"events":["select"]},"Outline":{"kind":"macro","group":"navigation","lite":true,"children":"none","props":{"items":{"type":"array","items":{"type":"object","shape":"outlineItem"},"required":true},"value":{"type":"string","bindable":true},"caption":{"type":"string"}},"events":["select"]},"Stepper":{"kind":"macro","group":"navigation","lite":true,"children":"none","props":{"steps":{"type":"array","items":{"type":"object","shape":"step"},"required":true},"current":{"type":"number","default":0,"bindable":true},"orientation":{"type":"enum","enum":"orientation","default":"horizontal"}}},"Dialog":{"kind":"native","group":"overlay","lite":false,"children":"many","slots":["trigger","footer"],"props":{"title":{"type":"string"},"description":{"type":"string"},"open":{"type":"boolean","default":false,"bindable":true},"dismissible":{"type":"boolean","default":true}},"events":["change"]},"Drawer":{"kind":"native","group":"overlay","lite":false,"children":"many","slots":["trigger","footer"],"props":{"title":{"type":"string"},"description":{"type":"string"},"open":{"type":"boolean","default":false,"bindable":true},"side":{"type":"enum","enum":"side","default":"bottom","responsive":true},"dismissible":{"type":"boolean","default":true},"dragToDismiss":{"type":"boolean","default":true}},"events":["change"]},"DockCard":{"kind":"macro","group":"overlay","lite":false,"children":"many","slots":["footer"],"props":{"label":{"type":"string","required":true,"bindable":true},"title":{"type":"string","required":true,"bindable":true},"caption":{"type":"string","bindable":true},"meta":{"type":"string","bindable":true},"icon":{"type":"icon"},"tone":{"type":"enum","enum":"tone","default":"neutral"},"open":{"type":"boolean","default":false,"bindable":true}},"events":["press","change"]},"AlertDialog":{"kind":"macro","group":"overlay","lite":false,"children":"many","slots":["trigger"],"props":{"title":{"type":"string","required":true},"description":{"type":"string"},"confirmLabel":{"type":"string","default":"$string.confirm"},"cancelLabel":{"type":"string","default":"$string.cancel"},"destructive":{"type":"boolean","default":false},"open":{"type":"boolean","default":false,"bindable":true}},"events":["confirm","cancel","change"]},"Popover":{"kind":"native","group":"overlay","lite":false,"children":"many","slots":["trigger"],"props":{"open":{"type":"boolean","default":false,"bindable":true},"side":{"type":"enum","enum":"side","default":"bottom"},"openOn":{"type":"enum","enum":"openOn","default":"press"}},"events":["change"]},"Tooltip":{"kind":"native","group":"overlay","lite":false,"children":"many","props":{"content":{"type":"string","required":true},"side":{"type":"enum","enum":"side","default":"top"}}},"Menu":{"kind":"native","group":"overlay","lite":false,"children":"one","props":{"label":{"type":"string"},"icon":{"type":"icon"},"items":{"type":"array","items":{"type":"object","shape":"menuItem"},"required":true},"openOn":{"type":"enum","enum":"menuOpenOn","default":"press"}},"events":["select"]},"Toast":{"kind":"native","group":"overlay","lite":false,"children":"none","props":{"title":{"type":"string","required":true,"bindable":true},"description":{"type":"string","bindable":true},"type":{"type":"enum","enum":"alertType","default":"info"},"open":{"type":"boolean","default":true,"bindable":true},"duration":{"type":"number","default":5000},"actionLabel":{"type":"string"},"dismissible":{"type":"boolean","default":true}},"events":["dismiss","action","change"]},"Badge":{"kind":"macro","group":"feedback","lite":true,"children":"none","props":{"text":{"type":"string","required":true,"bindable":true},"variant":{"type":"enum","enum":"variant","default":"default","bindable":true},"icon":{"type":"icon"}}},"Alert":{"kind":"macro","group":"feedback","lite":true,"children":"none","props":{"title":{"type":"string","required":true},"message":{"type":"string"},"type":{"type":"enum","enum":"alertType","default":"info"}}},"Chip":{"kind":"macro","group":"feedback","lite":true,"children":"none","slots":["leading"],"props":{"label":{"type":"string","required":true,"bindable":true},"shape":{"type":"enum","enum":"chipShape","default":"pill"},"selected":{"type":"boolean","default":false},"tone":{"type":"enum","enum":"tone","default":"neutral","bindable":true},"dot":{"type":"color"},"icon":{"type":"icon"},"image":{"type":"url"},"detail":{"type":"string"},"removable":{"type":"boolean","default":false},"pressable":{"type":"boolean","default":false}},"events":["press","remove"]},"EmptyState":{"kind":"macro","group":"feedback","lite":true,"children":"none","props":{"icon":{"type":"icon","required":true},"title":{"type":"string","required":true},"description":{"type":"string"},"actionLabel":{"type":"string"},"size":{"type":"enum","values":["page","list"],"default":"page"}},"events":["press"]},"Progress":{"kind":"macro","group":"feedback","lite":true,"children":"none","props":{"value":{"type":"number","required":true,"bindable":true},"max":{"type":"number","default":100},"label":{"type":"string"},"tone":{"type":"enum","enum":"tone","default":"primary"}}},"Meter":{"kind":"macro","group":"feedback","lite":true,"children":"none","props":{"segments":{"type":"array","items":{"type":"object","shape":"segment"},"required":true},"max":{"type":"number","default":100},"label":{"type":"string"},"value":{"type":"string"}}},"Ring":{"kind":"native","group":"feedback","lite":true,"children":"none","props":{"value":{"type":"number","required":true,"bindable":true},"size":{"type":"enum","enum":"controlSize","default":"default"},"tone":{"type":"enum","enum":"tone","default":"primary"},"label":{"type":"string"}}},"Spinner":{"kind":"native","group":"feedback","lite":false,"children":"none","props":{"size":{"type":"enum","enum":"spinnerSize","default":"default"},"label":{"type":"string"}}},"Skeleton":{"kind":"native","group":"feedback","lite":true,"children":"none","props":{"width":{"type":"string"},"height":{"type":"string"},"rounded":{"type":"boolean","default":false},"rows":{"type":"number"},"rowHeight":{"type":"number"},"dot":{"type":"boolean","default":true}}},"VoiceWave":{"kind":"native","group":"feedback","lite":false,"children":"one","props":{"activity":{"type":"enum","enum":"voiceWaveActivity","default":"idle","bindable":true},"variant":{"type":"enum","enum":"voiceWaveVariant","default":"ring"},"level":{"type":"number","default":0,"bindable":true},"bands":{"type":"array","items":{"type":"number"},"bindable":true},"size":{"type":"enum","enum":"voiceWaveSize","default":"md"},"label":{"type":"string"}}},"CallSurface":{"kind":"macro","group":"media","lite":false,"children":"none","props":{"name":{"type":"string","required":true,"bindable":true},"avatar":{"type":"url","bindable":true},"state":{"type":"enum","enum":"callState","default":"talking","bindable":true},"activity":{"type":"enum","enum":"voiceWaveActivity","default":"speaking","bindable":true},"level":{"type":"number","bindable":true},"bands":{"type":"array","items":{"type":"number"},"bindable":true},"status":{"type":"string","bindable":true},"caption":{"type":"string","bindable":true},"muted":{"type":"boolean","default":false,"bindable":true},"speaker":{"type":"boolean","bindable":true}},"events":["mute","speaker","hangUp"]},"Table":{"kind":"native","group":"data","lite":false,"children":"none","slots":["*"],"slotScope":"row","props":{"columns":{"type":"array","items":{"type":"object","shape":"column"},"required":true},"rows":{"type":"array","items":{"type":"object"},"required":true,"bindable":true},"rowKey":{"type":"string","default":"id"},"sort":{"type":"object","shape":"sort","bindable":true},"selectable":{"type":"enum","enum":"selectable","default":"none"},"selected":{"type":"array","items":{"type":"string"},"bindable":true},"caption":{"type":"string"},"emptyText":{"type":"string","default":"$string.noResults"},"striped":{"type":"boolean","default":false},"density":{"type":"enum","enum":"density","default":"default"},"stickyHeader":{"type":"boolean","default":false}},"events":["sort","select","rowPress"]},"Chart":{"kind":"native","group":"data","lite":false,"children":"none","props":{"kind":{"type":"enum","enum":"chartKind","required":true},"categories":{"type":"array","items":{"type":"string"},"bindable":true},"series":{"type":"array","items":{"type":"object","shape":"series"},"required":true,"bindable":true},"title":{"type":"string"},"height":{"type":"number","default":200},"xLabel":{"type":"string"},"yLabel":{"type":"string"},"min":{"type":"number"},"max":{"type":"number"},"showAxes":{"type":"boolean","default":true},"showGrid":{"type":"boolean","default":true},"showLegend":{"type":"boolean","default":true},"showValues":{"type":"boolean","default":false}}},"Sparkline":{"kind":"macro","group":"data","lite":false,"children":"none","props":{"values":{"type":"array","items":{"type":"number"},"required":true,"bindable":true},"tone":{"type":"enum","enum":"tone","default":"primary"},"height":{"type":"number","default":24}}},"StatTile":{"kind":"macro","group":"data","lite":true,"children":"none","props":{"label":{"type":"string","required":true,"bindable":true},"value":{"type":"string","required":true,"bindable":true},"delta":{"type":"string","bindable":true},"tone":{"type":"enum","enum":"tone","default":"neutral","bindable":true},"trend":{"type":"array","items":{"type":"number"},"bindable":true}}},"Button":{"kind":"native","group":"action","lite":true,"children":"one","props":{"label":{"type":"string","bindable":true},"icon":{"type":"icon","bindable":true},"variant":{"type":"enum","enum":"variant","default":"default"},"size":{"type":"enum","enum":"size","default":"default"},"disabled":{"type":"boolean","default":false,"bindable":true},"loading":{"type":"boolean","default":false},"pendingLabel":{"type":"string"},"submit":{"type":"boolean","default":false},"hold":{"type":"boolean","default":false},"holdingLabel":{"type":"string"}},"events":["press","holdStart","holdEnd","holdCancel"]},"Link":{"kind":"native","group":"action","lite":true,"children":"none","props":{"label":{"type":"string","required":true,"bindable":true},"href":{"type":"url"},"external":{"type":"boolean","default":false}},"events":["press"]},"Toggle":{"kind":"native","group":"action","lite":false,"children":"none","props":{"label":{"type":"string","required":true},"icon":{"type":"icon"},"pressed":{"type":"boolean","default":false,"bindable":true},"variant":{"type":"enum","values":["default","outline"],"default":"default"},"size":{"type":"enum","enum":"controlSize","default":"default"}},"events":["change"]},"Form":{"kind":"native","group":"input","lite":true,"children":"many","props":{"name":{"type":"string","required":true},"disabled":{"type":"boolean","default":false,"bindable":true},"busy":{"type":"boolean","default":false,"bindable":true},"summary":{"type":"boolean","default":false}},"events":["submit","invalid","change"]},"FieldGroup":{"kind":"macro","group":"input","lite":true,"children":"many","props":{"columns":{"type":"number","default":2}}},"FormActions":{"kind":"macro","group":"input","lite":true,"children":"many","props":{"submit":{"type":"string","required":true,"bindable":true},"cancel":{"type":"boolean","default":false},"destructive":{"type":"boolean","default":false}},"events":["cancel"]},"Input":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string","required":true},"name":{"type":"string","required":true},"type":{"type":"enum","enum":"inputType","default":"text"},"placeholder":{"type":"string"},"value":{"type":"string","bindable":true},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}},"validateOn":{"type":"enum","enum":"validateOn","default":"blur"}},"events":["change","submit","focus","blur"]},"Textarea":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string","required":true},"name":{"type":"string","required":true},"placeholder":{"type":"string"},"rows":{"type":"number","default":3},"autosize":{"type":"boolean","default":false},"maxRows":{"type":"number"},"value":{"type":"string","bindable":true},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}},"validateOn":{"type":"enum","enum":"validateOn","default":"blur"}},"events":["change","focus","blur"]},"NumberField":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string","required":true},"name":{"type":"string","required":true},"value":{"type":"number","bindable":true},"min":{"type":"number"},"max":{"type":"number"},"step":{"type":"number","default":1},"precision":{"type":"number"},"unit":{"type":"string"},"placeholder":{"type":"string"},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}},"validateOn":{"type":"enum","enum":"validateOn","default":"blur"}},"events":["change","submit","focus","blur"]},"Checkbox":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string","required":true,"bindable":true},"name":{"type":"string","required":true},"checked":{"type":"boolean","default":false,"bindable":true},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}}},"events":["change"]},"Radio":{"kind":"native","group":"input","lite":false,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"options":{"type":"array","items":{"type":"object","shape":"option"},"required":true},"value":{"type":"string","bindable":true},"orientation":{"type":"enum","enum":"orientation","default":"vertical"},"checks":{"type":"array","items":{"type":"object","shape":"check"}}},"events":["change"]},"ChoiceTiles":{"kind":"native","group":"input","lite":false,"children":"none","props":{"name":{"type":"string","required":true},"options":{"type":"array","items":{"type":"object","shape":"option"},"required":true},"type":{"type":"enum","enum":"groupType","default":"single"},"value":{"type":"string","bindable":true},"columns":{"type":"number","default":2},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}}},"events":["change"]},"Switch":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string","required":true,"bindable":true},"name":{"type":"string","required":true},"checked":{"type":"boolean","default":false,"bindable":true},"description":{"type":"string"},"disabled":{"type":"boolean","default":false}},"events":["change"]},"Slider":{"kind":"native","group":"input","lite":false,"children":"none","props":{"label":{"type":"string"},"min":{"type":"number","default":0,"bindable":true},"max":{"type":"number","required":true,"bindable":true},"step":{"type":"number","default":1},"value":{"type":"number","bindable":true}},"events":["change"]},"Rating":{"kind":"macro","group":"input","lite":true,"children":"none","props":{"value":{"type":"number","default":0,"bindable":true},"max":{"type":"number","default":5,"minimum":1,"maximum":100},"readOnly":{"type":"boolean","default":false},"size":{"type":"enum","enum":"controlSize","default":"default"}},"events":["change"]},"Select":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"options":{"type":"array","items":{"type":"object","shape":"option"},"bindable":true},"source":{"type":"string"},"placeholder":{"type":"string"},"value":{"type":"string","bindable":true},"multiple":{"type":"boolean","default":false},"searchable":{"type":"boolean","default":false},"emptyText":{"type":"string","default":"$string.noResults"},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}},"validateOn":{"type":"enum","enum":"validateOn","default":"change"}},"events":["change","search"]},"SearchList":{"kind":"native","group":"input","lite":true,"children":"none","props":{"items":{"type":"array","items":{"type":"object","shape":"searchItem"},"required":true,"bindable":true},"query":{"type":"string","bindable":true},"placeholder":{"type":"string","default":"$string.search"},"value":{"type":"string","bindable":true},"emptyText":{"type":"string","default":"$string.noResults"},"maxRows":{"type":"number","default":8},"showCount":{"type":"boolean","default":true}},"events":["search","select"]},"ChipInput":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"values":{"type":"array","items":{"type":"string"},"bindable":true},"suggestions":{"type":"array","items":{"type":"object","shape":"option"},"bindable":true},"placeholder":{"type":"string"},"max":{"type":"number"},"disabled":{"type":"boolean","default":false},"checks":{"type":"array","items":{"type":"object","shape":"check"}}},"events":["change","add","remove"]},"DatePicker":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"value":{"type":"date","bindable":true},"min":{"type":"date"},"max":{"type":"date"},"placeholder":{"type":"string"},"firstDayOfWeek":{"type":"number"}},"events":["change"]},"DateRangePicker":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"start":{"type":"date","bindable":true},"end":{"type":"date","bindable":true},"min":{"type":"date"},"max":{"type":"date"},"placeholder":{"type":"string"},"firstDayOfWeek":{"type":"number"}},"events":["change"]},"TimePicker":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"value":{"type":"string","bindable":true},"min":{"type":"string"},"max":{"type":"string"},"step":{"type":"number","default":15},"placeholder":{"type":"string"},"disabled":{"type":"boolean","default":false}},"events":["change"]},"FileUpload":{"kind":"native","group":"input","lite":true,"children":"none","props":{"label":{"type":"string"},"name":{"type":"string","required":true},"accept":{"type":"string"},"multiple":{"type":"boolean","default":false},"maxSize":{"type":"number"},"files":{"type":"array","items":{"type":"object","shape":"file"},"bindable":true},"hint":{"type":"string"},"disabled":{"type":"boolean","default":false}},"events":["upload","remove"]},"QrScanner":{"kind":"native","group":"input","lite":false,"children":"none","props":{"hint":{"type":"string","bindable":true},"formats":{"type":"array","items":{"type":"string"},"default":["qr"]},"label":{"type":"string","default":"$string.scanQrCode"},"disabled":{"type":"boolean","default":false}},"events":["scanned"]},"Composer":{"kind":"native","group":"input","lite":true,"children":"none","props":{"placeholder":{"type":"string"},"value":{"type":"string","bindable":true},"submitLabel":{"type":"string","default":"$string.send"},"attachments":{"type":"boolean","default":false},"busy":{"type":"boolean","default":false}},"events":["submit","change","stop"]},"Row":{"kind":"macro","group":"list","lite":true,"children":"none","slots":["leading","trailing"],"props":{"title":{"type":"string","required":true,"bindable":true},"identifier":{"type":"string","bindable":true},"subtitle":{"type":"string","bindable":true},"meta":{"type":"string","bindable":true},"value":{"type":"string","bindable":true},"placeholder":{"type":"string"},"icon":{"type":"icon","bindable":true},"chevron":{"type":"enum","enum":"rowChevron","default":"none","bindable":true},"selected":{"type":"boolean","default":false,"bindable":true},"density":{"type":"enum","enum":"density","default":"default"},"surface":{"type":"enum","enum":"rowSurface","default":"flat"},"pressable":{"type":"boolean","default":false},"depth":{"type":"number","default":0}},"events":["press"]},"MessageBubble":{"kind":"macro","group":"list","lite":true,"children":"none","slots":["attachment"],"props":{"text":{"type":"markdown","required":true,"bindable":true},"side":{"type":"enum","enum":"messageSide","default":"in"},"time":{"type":"string","bindable":true},"status":{"type":"enum","enum":"messageStatus","bindable":true},"author":{"type":"string","bindable":true}}},"TreeGuides":{"kind":"native","group":"list","lite":true,"children":"none","hidden":true,"props":{"depth":{"type":"number","required":true},"elbowAt":{"type":"number"},"tee":{"type":"boolean","default":false},"passThrough":{"type":"array","items":{"type":"number"}}}},"Unknown":{"kind":"native","group":"feedback","lite":true,"children":"none","hidden":true,"props":{"component":{"type":"string","required":true},"catalogId":{"type":"string"}}}}}"####;
70
+ pub const MACROS_JSON: &str = r####"{"macros":{"Stack":{"recipeProps":[],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":{"$map":{"from":"props.direction","cases":{"horizontal":"row"},"default":"column"}},"flexWrap":{"$cond":["props.wrap","wrap","nowrap"]},"gap":"$spacing.{props.gap|md}","alignItems":{"$coalesce":["{props.align}",{"$map":{"from":"props.direction","cases":{"horizontal":"center"},"default":"stretch"}}]},"justifyContent":{"$map":{"from":"props.justify","cases":{"between":"space-between","around":"space-around","evenly":"space-evenly"},"default":"{props.justify|start}"}}},"children":["$children"]}},"Grid":{"recipeProps":[],"root":{"part":"root","component":"Box","style":{"display":"grid","gridTemplateColumns":"repeat({props.columns|2}, minmax(0, 1fr))","gap":"$spacing.{props.gap|md}"},"children":["$children"]}},"Card":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":"{props.title}"},"style":{"display":"flex","flexDirection":"column","borderRadius":"$radius.xl","overflow":"hidden"},"children":[{"part":"header","component":"Box","$any":["props.title","props.description"],"style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","paddingTop":"$spacing.lg","paddingHorizontal":"$spacing.lg"},"children":[{"part":"title","component":"Text","$if":"props.title","props":{"text":"{props.title}","variant":"title"}},{"part":"description","component":"Text","$if":"props.description","props":{"text":"{props.description}","variant":"muted"}}]},{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.md","padding":{"$map":{"from":"props.padded","cases":{"false":"$spacing.none"},"default":"$spacing.lg"}}},"children":["$children"]}]}},"Separator":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"separator"},"style":{"alignSelf":"stretch","flexShrink":0,"width":{"$map":{"from":"props.orientation","cases":{"vertical":1},"default":"auto"}},"height":{"$map":{"from":"props.orientation","cases":{"vertical":"auto"},"default":1}}}}},"Section":{"recipeProps":["tint","tree","open","collapsible"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.sm"},"children":[{"part":"header","component":"Box","$if":["props.title",{"$not":"props.collapsible"}],"$a11y":{"role":"heading","level":3},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm","height":"$control.row","paddingHorizontal":"$spacing.md","borderRadius":"$radius.md"},"children":[{"part":"chevron","component":"Icon","$if":"props.collapsible","props":{"name":"ui-chevron-right","size":"sm","tone":"neutral"}},"$slot:leading",{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm"}},{"part":"title","component":"Text","props":{"text":"{props.title}","variant":"label","lines":1},"style":{"flexShrink":1,"minWidth":0}},{"part":"caption","component":"Text","$if":"props.caption","props":{"text":"{props.caption}","variant":"muted","lines":1},"style":{"flexShrink":1,"minWidth":0}},{"part":"loading","component":"Spinner","$if":"props.loading","props":{"size":"xs","label":"$string.loading"}},{"part":"count","component":"Text","$if":"props.count","props":{"text":{"$text":"props.count"},"variant":"muted"}},{"part":"spacer","component":"Box","style":{"flexGrow":1,"minWidth":0}},"$slot:trailing"]},{"part":"header","component":"Box","$if":["props.title","props.collapsible"],"$a11y":{"role":"button","expanded":"{props.open|true}"},"props":{"pressable":true},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm","height":"$control.row","paddingHorizontal":"$spacing.md","borderRadius":"$radius.md"},"$on":{"press":"change"},"$context":{"open":{"$not":"props.open|true"}},"$set":{"press":{"prop":"open","value":{"$not":"props.open|true"}}},"children":[{"part":"chevron","component":"Icon","$if":"props.collapsible","props":{"name":"ui-chevron-right","size":"sm","tone":"neutral"}},"$slot:leading",{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm"}},{"part":"title","component":"Text","props":{"text":"{props.title}","variant":"label","lines":1},"style":{"flexShrink":1,"minWidth":0}},{"part":"caption","component":"Text","$if":"props.caption","props":{"text":"{props.caption}","variant":"muted","lines":1},"style":{"flexShrink":1,"minWidth":0}},{"part":"loading","component":"Spinner","$if":"props.loading","props":{"size":"xs","label":"$string.loading"}},{"part":"count","component":"Text","$if":"props.count","props":{"text":{"$text":"props.count"},"variant":"muted"}},{"part":"spacer","component":"Box","style":{"flexGrow":1,"minWidth":0}},"$slot:trailing"]},{"part":"body","component":"List","$if":"props.open|true","$a11y":{"role":{"$cond":["props.tree","tree","list"]}},"props":{"divided":true,"gap":"none","style":"{props.style}"},"children":["$children"]}]}},"Group":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":"{props.title}","description":"{props.footer}"},"style":{"display":"flex","flexDirection":"column","gap":"$spacing.xs"},"children":[{"part":"title","component":"Text","$if":"props.title","props":{"text":"{props.title}","variant":"label"},"style":{"paddingHorizontal":"$spacing.md"}},{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","borderRadius":"$radius.lg","overflow":"hidden"},"children":["$children"]},{"part":"footer","component":"Text","$if":"props.footer","props":{"text":"{props.footer}","variant":"muted"},"style":{"paddingHorizontal":"$spacing.md"}}]}},"Heading":{"recipeProps":["level"],"root":{"part":"root","component":"Text","$a11y":{"role":"heading","level":{"$map":{"from":"props.level","cases":{"h1":1,"h2":2,"h3":3,"h4":4},"default":2}}},"props":{"text":"{props.text}","variant":"title"}}},"Collapsible":{"recipeProps":[],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xs"},"children":[{"part":"trigger","component":"Box","$a11y":{"role":"button","expanded":"{props.open|false}"},"props":{"pressable":true},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm","minHeight":"$control.row","paddingHorizontal":"$spacing.sm","borderRadius":"$radius.md"},"$recipe":{"open":"{props.open|false}"},"$on":{"press":"change"},"$context":{"open":"{!props.open}"},"$set":{"press":{"prop":"open","value":"{!props.open}"}},"children":[{"part":"chevron","component":"Icon","props":{"name":"ui-chevron-right","size":"sm","tone":"neutral"},"$recipe":{"open":"{props.open|false}"}},{"part":"title","component":"Text","props":{"text":"{props.title}","variant":"label","lines":1},"style":{"flexGrow":1,"minWidth":0}},{"part":"count","component":"Text","$if":"props.count","props":{"text":{"$text":"props.count"},"variant":"muted"}}]},{"part":"body","component":"Box","$if":"props.open","style":{"display":"flex","flexDirection":"column","gap":"$spacing.md","paddingHorizontal":"$spacing.sm"},"children":["$children"]}]}},"Trace":{"recipeProps":["size"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"column","gap":{"$map":{"from":"props.size","cases":{"sm":6},"default":8}},"minWidth":0},"children":["$children"]}},"TraceItem":{"recipeProps":["status","size","collapsible","open"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"column","minWidth":0},"children":[{"part":"line","component":"Box","$if":{"$not":"props.collapsible"},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":{"$map":{"from":"props.size","cases":{"sm":6},"default":8}},"minHeight":{"$map":{"from":"props.size","cases":{"sm":18},"default":20}},"alignSelf":"flex-start","maxWidth":"100%","minWidth":0,"borderRadius":"$radius.md"},"children":[{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm"},"style":{"width":{"$map":{"from":"props.size","cases":{"sm":14},"default":16}},"height":{"$map":{"from":"props.size","cases":{"sm":14},"default":16}},"flexShrink":0}},{"part":"title","component":"Text","props":{"text":"{props.title}","lines":1,"shimmer":{"$eq":["{props.status}","running"]}},"style":{"flexShrink":1,"minWidth":0,"fontSize":{"$map":{"from":"props.size","cases":{"sm":12},"default":14}},"lineHeight":{"$map":{"from":"props.size","cases":{"sm":18},"default":20}}}},{"part":"description","component":"Text","$if":"props.description","props":{"text":"{props.description}","lines":1},"style":{"flexShrink":0,"fontSize":{"$map":{"from":"props.size","cases":{"sm":12},"default":14}},"lineHeight":{"$map":{"from":"props.size","cases":{"sm":18},"default":20}}}}]},{"part":"line","component":"Box","$if":"props.collapsible","$a11y":{"role":"button","expanded":"{props.open|false}"},"props":{"pressable":true},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":{"$map":{"from":"props.size","cases":{"sm":6},"default":8}},"minHeight":{"$map":{"from":"props.size","cases":{"sm":18},"default":20}},"alignSelf":"flex-start","maxWidth":"100%","minWidth":0,"borderRadius":"$radius.md"},"$on":{"press":"change"},"$context":{"open":"{!props.open}"},"$set":{"press":{"prop":"open","value":"{!props.open}"}},"children":[{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm"},"style":{"width":{"$map":{"from":"props.size","cases":{"sm":14},"default":16}},"height":{"$map":{"from":"props.size","cases":{"sm":14},"default":16}},"flexShrink":0}},{"part":"title","component":"Text","props":{"text":"{props.title}","lines":1,"shimmer":{"$eq":["{props.status}","running"]}},"style":{"flexShrink":1,"minWidth":0,"fontSize":{"$map":{"from":"props.size","cases":{"sm":12},"default":14}},"lineHeight":{"$map":{"from":"props.size","cases":{"sm":18},"default":20}}}},{"part":"description","component":"Text","$if":"props.description","props":{"text":"{props.description}","lines":1},"style":{"flexShrink":0,"fontSize":{"$map":{"from":"props.size","cases":{"sm":12},"default":14}},"lineHeight":{"$map":{"from":"props.size","cases":{"sm":18},"default":20}}}},{"part":"chevron","component":"Icon","props":{"name":"trace-chevron","size":"sm"},"$recipe":{"open":"{props.open|false}"},"style":{"width":{"$map":{"from":"props.size","cases":{"sm":14},"default":16}},"height":{"$map":{"from":"props.size","cases":{"sm":14},"default":16}},"flexShrink":0,"marginLeft":{"$map":{"from":"props.size","cases":{"sm":-2},"default":-4}}}}]},{"part":"content","component":"Box","$if":["props.collapsible","props.open"],"style":{"display":"flex","flexDirection":"column","gap":{"$map":{"from":"props.size","cases":{"sm":6},"default":8}},"minWidth":0,"marginTop":{"$map":{"from":"props.size","cases":{"sm":6},"default":8}},"marginBottom":{"$map":{"from":"props.size","cases":{"sm":4},"default":4}},"marginLeft":{"$map":{"from":"props.size","cases":{"sm":6},"default":7}},"borderLeftWidth":1,"paddingLeft":{"$map":{"from":"props.size","cases":{"sm":13},"default":16}},"paddingRight":{"$map":{"from":"props.size","cases":{"sm":4},"default":4}}},"children":["$children"]}]}},"Pagination":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"navigation","label":"$string.pagination"},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm"},"children":[{"part":"prev","component":"Button","props":{"icon":"ui-chevron-left","variant":"outline","size":"icon","label":"$string.previous","disabled":{"$not":{"$lt":[1,"{props.page|1}"]}}},"$on":{"press":"change"},"$context":{"page":{"$clamp":[{"$add":["{props.page|1}",-1]},1,"{props.totalPages}"]}},"$set":{"press":{"prop":"page","value":{"$clamp":[{"$add":["{props.page|1}",-1]},1,"{props.totalPages}"]}}}},{"part":"label","component":"Text","props":{"text":"{props.page|1} / {props.totalPages}","variant":"muted"},"$a11y":{"role":"status","label":{"$fill":["$string.pageOf",{"page":"{props.page|1}","total":"{props.totalPages}"}]}}},{"part":"next","component":"Button","props":{"icon":"ui-chevron-right","variant":"outline","size":"icon","label":"$string.next","disabled":{"$not":{"$lt":["{props.page|1}","{props.totalPages}"]}}},"$on":{"press":"change"},"$context":{"page":{"$clamp":[{"$add":["{props.page|1}",1]},1,"{props.totalPages}"]}},"$set":{"press":{"prop":"page","value":{"$clamp":[{"$add":["{props.page|1}",1]},1,"{props.totalPages}"]}}}}]}},"Badge":{"recipeProps":["variant"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.xxs","height":"$control.badge","paddingHorizontal":"$spacing.sm","borderRadius":"$radius.full","alignSelf":"flex-start"},"children":[{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm"}},{"part":"label","component":"Text","props":{"text":"{props.text}","variant":"caption","lines":1}}]}},"Alert":{"recipeProps":["type"],"root":{"part":"root","component":"Box","$a11y":{"role":{"$map":{"from":"props.type","cases":{"warning":"alert","error":"alert"},"default":"status"}}},"style":{"display":"flex","flexDirection":"row","alignItems":"flex-start","gap":"$spacing.sm","padding":"$spacing.md","borderRadius":"$radius.lg"},"children":[{"part":"icon","component":"Icon","props":{"name":{"$map":{"from":"props.type","cases":{"success":"ui-success","warning":"ui-warning","error":"ui-error"},"default":"ui-info"}},"size":"sm","tone":{"$map":{"from":"props.type","cases":{"success":"success","warning":"warning","error":"danger"},"default":"info"}}}},{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","flexGrow":1,"minWidth":0},"children":[{"part":"title","component":"Text","props":{"text":"{props.title}","variant":"label"}},{"part":"message","component":"Text","$if":"props.message","props":{"text":"{props.message}","variant":"muted"}}]}]}},"Chip":{"recipeProps":["shape","selected","tone"],"root":{"part":"root","component":"Box","$a11y":{"role":{"$cond":["props.pressable","button","none"]},"pressed":{"$cond":["props.pressable","{props.selected|false}"]}},"props":{"pressable":"{props.pressable|false}"},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.xs","paddingHorizontal":"$spacing.sm","alignSelf":"flex-start","height":{"$map":{"from":"props.shape","cases":{"rect":"$control.chip"},"default":"$control.pill"}},"borderRadius":{"$map":{"from":"props.shape","cases":{"rect":"$radius.md"},"default":"$radius.full"}}},"children":["$slot:leading",{"part":"dot","component":"Box","$if":"props.dot","style":{"width":8,"height":8,"borderRadius":"$radius.full","backgroundColor":"{props.dot}","flexShrink":0}},{"part":"image","component":"Image","$if":"props.image","props":{"src":"{props.image}","alt":"{props.label}","width":16,"height":16,"fit":"cover"},"style":{"borderRadius":"$radius.full"}},{"part":"icon","component":"Icon","$if":["props.icon","!props.image"],"props":{"name":"{props.icon}","size":"sm"}},{"part":"label","component":"Text","props":{"text":"{props.label}","variant":"caption","lines":1}},{"part":"detail","component":"Text","$if":"props.detail","props":{"text":"{props.detail}","variant":"muted","lines":1}},{"part":"remove","component":"Button","$if":"props.removable","props":{"icon":"ui-close","variant":"ghost","size":"icon","label":"$string.remove"},"$on":{"press":"remove"}}]}},"EmptyState":{"recipeProps":["size"],"root":{"part":"root","component":"Box","$a11y":{"role":"status"},"style":{"display":"flex","flexDirection":"column","alignItems":"center","gap":{"$map":{"from":"props.size","cases":{"list":"$spacing.xs"},"default":"$spacing.md"}},"paddingVertical":{"$map":{"from":"props.size","cases":{"list":"$spacing.xl"},"default":"$spacing.xl3"}},"paddingHorizontal":{"$map":{"from":"props.size","cases":{"list":"$spacing.md"},"default":"$spacing.xl"}}},"children":[{"part":"disc","component":"Box","$if":{"$not":{"$eq":["{props.size|page}","list"]}},"style":{"display":"flex","alignItems":"center","justifyContent":"center","width":48,"height":48,"borderRadius":"$radius.full","flexShrink":0},"children":[{"part":"icon","component":"Icon","props":{"name":"{props.icon}","size":"lg","tone":"neutral"}}]},{"part":"icon","component":"Icon","$if":{"$eq":["{props.size|page}","list"]},"props":{"name":"{props.icon}","size":"default","tone":"neutral"}},{"part":"title","component":"Text","props":{"text":"{props.title}","variant":{"$map":{"from":"props.size","cases":{"list":"muted"},"default":"title"}},"align":"center"}},{"part":"description","component":"Text","$if":["props.description",{"$not":{"$eq":["{props.size|page}","list"]}}],"props":{"text":"{props.description}","variant":"muted","align":"center"}},{"part":"action","component":"Button","$if":["props.actionLabel",{"$not":{"$eq":["{props.size|page}","list"]}}],"props":{"label":"{props.actionLabel}","variant":"outline"},"$on":{"press":"press"}}]}},"Progress":{"recipeProps":["tone"],"root":{"part":"root","component":"Box","$a11y":{"role":"progressbar","label":"{props.label}","valueNow":"{props.value}","valueMin":0,"valueMax":"{props.max|100}"},"style":{"display":"flex","flexDirection":"column","gap":"$spacing.xs","width":"100%"},"children":[{"part":"label","component":"Text","$if":"props.label","props":{"text":"{props.label}","variant":"caption"}},{"part":"track","component":"Box","style":{"height":"$control.progress","borderRadius":"$radius.full","overflow":"hidden","width":"100%"},"children":[{"part":"fill","component":"Box","style":{"height":"100%","width":{"$percent":["{props.value}","{props.max|100}"]},"borderRadius":"$radius.full"}}]}]}},"Meter":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"meter","label":"{props.label}"},"style":{"display":"flex","flexDirection":"column","gap":"$spacing.xs","width":"100%"},"children":[{"part":"header","component":"Box","$any":["props.label","props.value"],"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm"},"children":[{"part":"label","component":"Text","$if":"props.label","props":{"text":"{props.label}","variant":"caption"},"style":{"flexGrow":1,"minWidth":0}},{"part":"value","component":"Text","$if":"props.value","props":{"text":"{props.value}","variant":"muted"}}]},{"part":"track","component":"Box","style":{"display":"flex","flexDirection":"row","height":"$control.meter","borderRadius":"$radius.full","overflow":"hidden","width":"100%"},"children":[{"part":"segment","component":"Box","$each":"props.segments","$as":"item","style":{"height":"100%","width":{"$percent":["{item.value}","{props.max|100}"]}},"$recipe":{"tone":"{item.tone|neutral}"}}]}]}},"Row":{"recipeProps":["selected","density","surface","depth"],"root":{"part":"root","component":"Box","$a11y":{"role":{"$cond":["props.pressable","button","none"]},"selected":{"$cond":["props.pressable","{props.selected|false}"]}},"props":{"pressable":"{props.pressable|false}"},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm","minHeight":{"$map":{"from":"props.density","cases":{"compact":"$control.rowCompact"},"default":"$control.row"}},"paddingHorizontal":"$spacing.md","borderRadius":{"$map":{"from":"props.surface","cases":{"card":"$radius.lg"},"default":"$radius.md"}}},"children":[{"part":"guides","component":"TreeGuides","$if":{"$lt":[0,"{props.depth|0}"]},"props":{"depth":"{props.depth}"}},"$slot:leading",{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm"}},{"part":"identifier","component":"Text","$if":"props.identifier","props":{"text":"{props.identifier}","variant":"code","lines":1},"style":{"flexShrink":0}},{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","flexGrow":1,"minWidth":0,"paddingVertical":{"$map":{"from":"props.surface","cases":{"card":"$spacing.md"},"default":"$spacing.xs"}}},"children":[{"part":"title","component":"Text","props":{"text":"{props.title}","variant":"body","lines":1}},{"part":"subtitle","component":"Text","$if":"props.subtitle","props":{"text":"{props.subtitle}","variant":"muted","lines":1}}]},{"part":"meta","component":"Text","$if":"props.meta","props":{"text":"{props.meta}","variant":"muted","lines":1}},{"part":"value","component":"Text","$any":["props.value","props.placeholder"],"props":{"text":{"$coalesce":["{props.value}","{props.placeholder}"]},"variant":{"$cond":["props.value","body","muted"]},"lines":1,"align":"end"}},"$slot:trailing",{"part":"chevron","component":"Icon","$if":{"$not":{"$eq":["{props.chevron|none}","none"]}},"props":{"name":{"$map":{"from":"props.chevron","cases":{"selector":"ui-selector"},"default":"ui-chevron-right"}},"size":"sm","tone":"neutral"}}]}},"ScrollArea":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"region"},"style":{"display":"flex","flexDirection":{"$map":{"from":"props.direction","cases":{"horizontal":"row"},"default":"column"}},"overflowX":{"$map":{"from":"props.direction","cases":{"horizontal":"auto","both":"auto"},"default":"hidden"}},"overflowY":{"$map":{"from":"props.direction","cases":{"vertical":"auto","both":"auto"},"default":"hidden"}},"minWidth":0,"minHeight":0,"maxHeight":"{props.maxHeight}"},"children":["$children"]}},"Sidebar":{"recipeProps":["side"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":{"$map":{"from":"props.side","cases":{"right":"row-reverse"},"default":"row"}},"alignItems":"stretch","width":"100%","minHeight":0},"children":[{"part":"sidebar","component":"Box","$if":"!props.collapsed","$a11y":{"role":"navigation"},"style":{"display":"flex","flexDirection":"column","width":"{props.width|240}","flexShrink":0,"minHeight":0,"@media (max-width: $breakpoint.{props.collapseBelow|md})":{"$cond":[{"$not":{"$eq":["{props.collapseBelow|md}","never"]}},{"display":"none"}]}},"children":["$slot:sidebar"]},{"part":"main","component":"Box","$a11y":{"role":"main"},"style":{"display":"flex","flexDirection":"column","flexGrow":1,"minWidth":0,"minHeight":0},"children":["$children"]}]}},"AppBar":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"banner"},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm","height":"$control.appBar","paddingHorizontal":"$spacing.md","width":"100%"},"children":[{"part":"back","component":"Button","$if":"props.back","props":{"icon":"ui-back","variant":"ghost","size":"icon","label":"$string.back"},"$on":{"press":"back"}},"$slot:leading",{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","flexGrow":1,"minWidth":0},"children":[{"part":"title","component":"Text","props":{"text":"{props.title}","variant":"title","lines":1},"$a11y":{"role":"heading","level":1}},{"part":"subtitle","component":"Text","$if":"props.subtitle","props":{"text":"{props.subtitle}","variant":"muted","lines":1}}]},"$slot:trailing"]}},"Kbd":{"recipeProps":[],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"center","height":"$control.badge","paddingHorizontal":"$spacing.xs","borderRadius":"$radius.sm","alignSelf":"flex-start"},"children":[{"part":"label","component":"Text","props":{"text":"{props.keys}","variant":"code","lines":1}}]}},"Label":{"recipeProps":["required"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.xxs"},"children":[{"part":"text","component":"Text","props":{"text":"{props.text}","variant":"label"}},{"part":"mark","component":"Text","$if":"props.required","props":{"text":"*","variant":"label","tone":"danger"}}]}},"Breadcrumb":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"navigation","label":"$string.breadcrumb"},"style":{"display":"flex","flexDirection":"row","alignItems":"center","flexWrap":"wrap","gap":"$spacing.xs"},"children":[{"part":"item","component":"Box","$each":"props.items","$as":"item","style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.xs"},"$recipe":{"current":{"$eq":["{index}",{"$sub":["{len(props.items)}",1]}]}},"children":[{"part":"separator","component":"Icon","$if":{"$lt":[0,"{index}"]},"props":{"name":"ui-chevron-right","size":"sm","tone":"neutral"},"$a11y":{"hidden":true}},{"part":"link","component":"Button","$if":{"$not":{"$eq":["{index}",{"$sub":["{len(props.items)}",1]}]}},"props":{"label":"{item.label}","icon":"{item.icon}","variant":"link","size":"sm"},"$on":{"press":"select"},"$context":{"value":"{item.value}"}},{"part":"current","component":"Text","$if":{"$eq":["{index}",{"$sub":["{len(props.items)}",1]}]},"props":{"text":"{item.label}","variant":"label","lines":1},"$a11y":{"current":"page"}}]}]}},"Outline":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"navigation","label":"{props.caption|$string.outline}"},"style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","minWidth":0},"children":[{"part":"caption","component":"Text","$if":"props.caption","props":{"text":"{props.caption}","variant":"caption","lines":1},"$a11y":{"hidden":true}},{"part":"row","component":"Box","$each":"props.items","$as":"item","props":{"pressable":true},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.xs","position":"relative","height":"$control.rowCompact","paddingHorizontal":"$spacing.sm","minWidth":0,"overflow":"hidden","cursor":"pointer"},"$recipe":{"active":{"$eq":["{item.id}","{props.value}"]}},"$a11y":{"role":"link","label":{"$cond":["item.count",{"$fill":["$string.outlineRow",{"title":"{item.title}","count":"{item.count}"}]},"{item.title}"]},"current":{"$cond":[{"$eq":["{item.id}","{props.value}"]},"location",false]}},"$on":{"press":"select"},"$context":{"id":"{item.id}"},"$set":{"press":{"prop":"value","value":"{item.id}"}},"children":[{"part":"bar","component":"Box","$if":{"$eq":["{item.id}","{props.value}"]},"$a11y":{"hidden":true},"style":{"position":"absolute","insetInlineStart":0,"top":0,"bottom":0,"width":2}},{"part":"title","component":"Text","props":{"text":"{item.title}","lines":1},"$recipe":{"active":{"$eq":["{item.id}","{props.value}"]}},"style":{"flexGrow":1,"flexShrink":1,"flexBasis":0,"minWidth":0}},{"part":"count","component":"Text","$if":"item.count","props":{"text":"· {item.count}","variant":"caption","lines":1},"$a11y":{"hidden":true},"style":{"flexShrink":0}}]}]}},"Stepper":{"recipeProps":["orientation"],"root":{"part":"root","component":"Box","$a11y":{"role":"list"},"style":{"display":"flex","flexDirection":{"$map":{"from":"props.orientation","cases":{"vertical":"column"},"default":"row"}},"alignItems":{"$map":{"from":"props.orientation","cases":{"vertical":"stretch"},"default":"flex-start"}},"gap":"$spacing.md","width":"100%"},"children":[{"part":"step","component":"Box","$each":"props.steps","$as":"step","style":{"display":"flex","flexDirection":{"$map":{"from":"props.orientation","cases":{"vertical":"row"},"default":"column"}},"alignItems":{"$map":{"from":"props.orientation","cases":{"vertical":"flex-start"},"default":"center"}},"gap":"$spacing.xs","flexGrow":1,"flexBasis":0,"minWidth":0},"$recipe":{"status":{"$cond":[{"$lt":["{index}","{props.current|0}"]},"done",{"$cond":[{"$eq":["{index}","{props.current|0}"]},"current","upcoming"]}]}},"$a11y":{"role":"listitem","current":{"$cond":[{"$eq":["{index}","{props.current|0}"]},"step",false]},"label":{"$fill":[{"$cond":[{"$lt":["{index}","{props.current|0}"]},"$string.stepDone",{"$cond":[{"$eq":["{index}","{props.current|0}"]},"$string.stepCurrent","$string.stepUpcoming"]}]},{"step":{"$add":["{index}",1]},"total":"{len(props.steps)}","label":"{step.label}"}]}},"children":[{"part":"marker","component":"Box","$a11y":{"hidden":true},"style":{"display":"flex","alignItems":"center","justifyContent":"center","width":"$control.iconLg","height":"$control.iconLg","borderRadius":"$radius.full","flexShrink":0},"$recipe":{"status":{"$cond":[{"$lt":["{index}","{props.current|0}"]},"done",{"$cond":[{"$eq":["{index}","{props.current|0}"]},"current","upcoming"]}]}},"children":[{"part":"check","component":"Icon","$if":{"$lt":["{index}","{props.current|0}"]},"props":{"name":"ui-check","size":"sm"}},{"part":"number","component":"Text","$if":{"$not":{"$lt":["{index}","{props.current|0}"]}},"props":{"text":{"$text":{"$add":["{index}",1]}},"variant":"caption"},"$recipe":{"status":{"$cond":[{"$eq":["{index}","{props.current|0}"]},"current","upcoming"]}}}]},{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","minWidth":0},"children":[{"part":"label","component":"Text","props":{"text":"{step.label}","variant":"label","lines":1},"$recipe":{"status":{"$cond":[{"$lt":["{index}","{props.current|0}"]},"done",{"$cond":[{"$eq":["{index}","{props.current|0}"]},"current","upcoming"]}]}}},{"part":"description","component":"Text","$if":"step.description","props":{"text":"{step.description}","variant":"muted","lines":2}}]}]}]}},"Rating":{"recipeProps":["size","readOnly"],"root":{"part":"root","component":"Box","$a11y":{"role":{"$cond":["props.readOnly","img","group"]},"label":{"$cond":["props.readOnly",{"$fill":["$string.ratingValue",{"value":"{props.value|0}","max":"{props.max|5}"}]}]}},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.xxs","alignSelf":"flex-start"},"children":[{"part":"star","component":"Box","$each":"range(props.max|5)","$as":"star","props":{"pressable":{"$not":"props.readOnly"}},"style":{"display":"flex","alignItems":"center","justifyContent":"center"},"$recipe":{"filled":{"$lt":["{index}","{props.value|0}"]}},"$a11y":{"role":{"$cond":["props.readOnly","hidden","button"]},"label":{"$fill":["$string.ratingStar",{"value":{"$add":["{index}",1]},"max":"{props.max|5}"}]},"pressed":{"$eq":[{"$add":["{index}",1]},"{props.value|0}"]}},"$on":{"press":"change"},"$context":{"value":{"$add":["{index}",1]}},"$set":{"press":{"prop":"value","value":{"$add":["{index}",1]}}},"children":[{"part":"icon","component":"Icon","props":{"name":"star","size":"{props.size|default}"},"$recipe":{"filled":{"$lt":["{index}","{props.value|0}"]}}}]}]}},"AlertDialog":{"recipeProps":["destructive"],"root":{"part":"root","component":"Dialog","$a11y":{"role":"alertdialog"},"props":{"title":"{props.title}","description":"{props.description}","open":"{props.open|false}","dismissible":false},"slots":{"trigger":"$slot:trigger","footer":{"part":"footer","component":"Box","style":{"display":"flex","flexDirection":"row","justifyContent":"flex-end","flexWrap":"wrap","gap":"$spacing.sm"},"children":[{"part":"cancel","component":"Button","props":{"label":"{props.cancelLabel|$string.cancel}","variant":"outline"},"$a11y":{"autoFocus":true},"$on":{"press":"cancel"},"$set":{"press":{"prop":"open","value":false}}},{"part":"confirm","component":"Button","props":{"label":"{props.confirmLabel|$string.confirm}","variant":{"$cond":["props.destructive","destructive","default"]}},"$on":{"press":"confirm"},"$set":{"press":{"prop":"open","value":false}}}]}},"$on":{"change":"change"},"children":["$children"]}},"DockCard":{"recipeProps":["tone"],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"column"},"children":[{"part":"trigger","component":"Box","$a11y":{"role":"button","label":"{props.label}: {props.title}"},"props":{"pressable":true},"style":{"display":"flex","flexDirection":"row","alignItems":"flex-start","gap":"$spacing.sm","padding":"$spacing.md","borderRadius":"$radius.xl"},"$on":{"press":"press"},"$set":{"press":{"prop":"open","value":true}},"children":[{"part":"icon","component":"Icon","$if":"props.icon","props":{"name":"{props.icon}","size":"sm","tone":"{props.tone|neutral}"},"style":{"flexShrink":0}},{"part":"body","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","flexGrow":1,"minWidth":0},"children":[{"part":"header","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm"},"children":[{"part":"label","component":"Text","props":{"text":"{props.label}","variant":"caption","tone":"{props.tone|neutral}","lines":1}},{"part":"caption","component":"Text","$if":"props.caption","props":{"text":"{props.caption}","variant":"muted","lines":1},"style":{"flexShrink":1,"minWidth":0}},{"part":"spacer","component":"Box","style":{"flexGrow":1,"minWidth":0}},{"part":"meta","component":"Text","$if":"props.meta","props":{"text":"{props.meta}","variant":"muted","lines":1}}]},{"part":"row","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm"},"children":[{"part":"title","component":"Text","props":{"text":"{props.title}","lines":1},"style":{"flexGrow":1,"minWidth":0}},{"part":"chevron","component":"Icon","props":{"name":"ui-chevron-right","size":"sm","tone":"neutral"}}]}]}]},{"part":"sheet","component":"Drawer","props":{"title":"{props.label}","description":"{props.caption}","open":"{props.open|false}","side":"bottom"},"slots":{"footer":"$slot:footer"},"$on":{"change":"change"},"children":["$children"]}]}},"Sparkline":{"recipeProps":["tone"],"root":{"part":"root","component":"Chart","props":{"kind":"sparkline","series":[{"name":"","values":"{props.values}","tone":"{props.tone|primary}"}],"height":"{props.height|24}","showAxes":false,"showGrid":false,"showLegend":false},"style":{"width":"100%"}}},"Page":{"recipeProps":[],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"column","flexGrow":1,"minHeight":0,"width":"100%"},"children":[{"part":"header","component":"AppBar","props":{"title":"{props.title}","subtitle":"{props.subtitle}","back":"{props.back|false}"},"slots":{"leading":"$slot:leading","trailing":"$slot:trailing"},"$on":{"back":"back"}},{"part":"body","component":"Box","$a11y":{"role":"main"},"style":{"display":"flex","flexDirection":"column","flexGrow":1,"minHeight":0,"overflowY":"auto","gap":"$spacing.lg","padding":{"$map":{"from":"props.padded","cases":{"false":"$spacing.none"},"default":"$spacing.lg"}}},"children":["$children"]}]}},"Toolbar":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group"},"style":{"display":"flex","flexDirection":"row","flexWrap":"wrap","alignItems":"flex-end","gap":"$spacing.{props.gap|sm}","width":"100%"},"children":["$children",{"part":"spacer","component":"Box","style":{"flexGrow":1,"minWidth":0}},"$slot:trailing"]}},"SplitView":{"recipeProps":[],"root":{"part":"root","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"stretch","width":"100%","flexGrow":1,"minHeight":0},"children":[{"part":"list","component":"Box","$a11y":{"role":"navigation"},"style":{"display":"flex","flexDirection":"column","width":"{props.width|320}","flexShrink":0,"minHeight":0,"overflowY":"auto","@media (max-width: $breakpoint.md)":{"width":"100%","flexShrink":1,"display":{"$cond":["props.open","none","flex"]}}},"children":["$slot:list"]},{"part":"divider","component":"Separator","props":{"orientation":"vertical"},"style":{"@media (max-width: $breakpoint.md)":{"display":"none"}}},{"part":"detail","component":"Box","$a11y":{"role":"main"},"style":{"display":"flex","flexDirection":"column","flexGrow":1,"minWidth":0,"minHeight":0,"@media (max-width: $breakpoint.md)":{"display":{"$cond":["props.open","flex","none"]}}},"children":[{"part":"backBar","component":"Box","style":{"display":"none","flexDirection":"row","alignItems":"center","height":"$control.appBar","paddingHorizontal":"$spacing.sm","@media (max-width: $breakpoint.md)":{"display":"flex"}},"children":[{"part":"back","component":"Button","props":{"icon":"ui-back","variant":"ghost","size":"icon","label":"$string.back"},"$on":{"press":"back"},"$set":{"press":{"prop":"open","value":false}}}]},"$children"]}]}},"FieldGroup":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group"},"style":{"display":"grid","gridTemplateColumns":"repeat(1, minmax(0, 1fr))","gap":"$spacing.md","alignItems":"start","@media (min-width: $breakpoint.md)":{"gridTemplateColumns":"repeat({props.columns|2}, minmax(0, 1fr))"}},"children":["$children"]}},"FormActions":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group"},"style":{"display":"flex","flexDirection":"row","flexWrap":"wrap","justifyContent":"flex-end","alignItems":"center","gap":"$spacing.sm","width":"100%"},"children":["$children",{"part":"cancel","component":"Button","$if":"props.cancel","props":{"label":"$string.cancel","variant":"outline"},"$on":{"press":"cancel"}},{"part":"submit","component":"Button","props":{"label":"{props.submit}","variant":{"$cond":["props.destructive","destructive","default"]},"submit":true}}]}},"StatTile":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":"{props.label}"},"style":{"display":"flex","flexDirection":"column","minWidth":0},"children":[{"part":"card","component":"Card","children":[{"part":"header","component":"Box","style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.sm"},"children":[{"part":"label","component":"Text","props":{"text":"{props.label}","variant":"muted","lines":1},"style":{"flexGrow":1,"flexShrink":1,"minWidth":0}},{"part":"delta","component":"Text","$if":"props.delta","props":{"text":"{props.delta}","variant":"caption","tone":"{props.tone|neutral}"}}]},{"part":"value","component":"Text","props":{"text":"{props.value}","variant":"title","lines":1}},{"part":"trend","component":"Sparkline","$if":"props.trend","props":{"values":"{props.trend}","height":32}}]}]}},"CallSurface":{"recipeProps":["state","muted"],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":"{props.name}"},"style":{"display":"flex","flexDirection":"column","alignItems":"center","width":"100%","height":"100%","minHeight":0,"paddingHorizontal":"$spacing.xl","paddingTop":"$spacing.xl3","paddingBottom":"$spacing.xl3"},"children":[{"part":"head","component":"Box","style":{"display":"flex","flexDirection":"column","alignItems":"center","width":"100%","maxWidth":384,"minWidth":0},"children":[{"part":"wave","component":"VoiceWave","props":{"activity":{"$cond":["props.muted","muted",{"$map":{"from":"props.state","cases":{"ringing":"thinking","connecting":"thinking","ended":"idle"},"default":"{props.activity|speaking}"}}]},"level":"{props.level}","bands":"{props.bands}","size":"xl"},"$a11y":{"hidden":true},"children":[{"part":"avatar","component":"Avatar","props":{"name":"{props.name}","src":"{props.avatar}","size":"lg"}}]},{"part":"name","component":"Text","$a11y":{"role":"heading","level":2},"props":{"text":"{props.name}","variant":"title","align":"center","lines":1},"style":{"marginTop":"$spacing.sm","maxWidth":"100%"}},{"part":"status","component":"Text","$if":"props.status","props":{"text":"{props.status}","variant":"muted","align":"center","lines":1},"style":{"marginTop":"$spacing.xs"}},{"part":"caption","component":"Text","$if":"props.caption","props":{"text":"{props.caption}","align":"center","lines":4,"live":"polite"},"style":{"marginTop":"$spacing.xl2","maxWidth":"100%"}}]},{"part":"spacer","component":"Box","style":{"flexGrow":1,"minHeight":"$spacing.xl"}},{"part":"controls","component":"Box","style":{"display":"flex","flexDirection":"row","justifyContent":"center","alignItems":"flex-start","gap":32},"children":[{"part":"muteTip","component":"Tooltip","$if":{"$not":{"$eq":["{props.state|talking}","ringing"]}},"props":{"content":{"$cond":["props.muted","$string.unmute","$string.mute"]}},"children":[{"part":"mute","component":"Button","props":{"variant":"secondary","size":"icon"},"$a11y":{"label":{"$cond":["props.muted","$string.unmute","$string.mute"]}},"style":{"width":56,"height":56,"borderRadius":"$radius.full","flexShrink":0},"$on":{"press":"mute"},"$context":{"muted":"{!props.muted}"},"$set":{"press":{"prop":"muted","value":"{!props.muted}"}},"children":[{"part":"muteIcon","component":"Icon","props":{"name":{"$cond":["props.muted","call-unmute","call-mute"]},"size":"lg"}}]}]},{"part":"speakerTip","component":"Tooltip","$if":[{"$not":{"$eq":["{props.state|talking}","ringing"]}},{"$not":{"$eq":["{props.speaker|none}","none"]}}],"props":{"content":{"$cond":["props.speaker","$string.speaker","$string.speakerOff"]}},"children":[{"part":"speaker","component":"Button","props":{"variant":"secondary","size":"icon"},"$a11y":{"label":{"$cond":["props.speaker","$string.speaker","$string.speakerOff"]}},"style":{"width":56,"height":56,"borderRadius":"$radius.full","flexShrink":0},"$on":{"press":"speaker"},"$context":{"speaker":"{!props.speaker}"},"$set":{"press":{"prop":"speaker","value":"{!props.speaker}"}},"children":[{"part":"speakerIcon","component":"Icon","props":{"name":{"$cond":["props.speaker","call-speaker","call-speaker-off"]},"size":"lg"}}]}]},{"part":"endTip","component":"Tooltip","$if":{"$not":{"$eq":["{props.state|talking}","ringing"]}},"props":{"content":"$string.endCall"},"children":[{"part":"end","component":"Button","props":{"variant":"destructive","size":"icon"},"$a11y":{"label":"$string.endCall"},"style":{"width":56,"height":56,"borderRadius":"$radius.full","flexShrink":0},"$on":{"press":"hangUp"},"children":[{"part":"endIcon","component":"Icon","props":{"name":"call-end","size":"lg"}}]}]},{"part":"cancel","component":"Box","$if":{"$eq":["{props.state|talking}","ringing"]},"style":{"display":"flex","flexDirection":"column","alignItems":"center","gap":"$spacing.xs"},"children":[{"part":"end","component":"Button","props":{"variant":"destructive","size":"icon"},"$a11y":{"label":"$string.cancel"},"style":{"width":56,"height":56,"borderRadius":"$radius.full","flexShrink":0},"$on":{"press":"hangUp"},"children":[{"part":"endIcon","component":"Icon","props":{"name":"call-end","size":"lg"}}]},{"part":"cancelLabel","component":"Text","props":{"text":"$string.cancel","variant":"caption"},"$a11y":{"hidden":true}}]}]}]}},"MessageBubble":{"recipeProps":["side","status"],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":{"$coalesce":["{props.author}","{props.time}"]}},"style":{"display":"flex","flexDirection":"column","alignItems":{"$map":{"from":"props.side","cases":{"out":"flex-end"},"default":"flex-start"}},"width":"100%","minWidth":0},"children":[{"part":"bubble","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","maxWidth":"80%","minWidth":0,"paddingHorizontal":"$spacing.md","paddingVertical":"$spacing.sm","borderRadius":"$radius.xl","borderTopLeftRadius":{"$map":{"from":"props.side","cases":{"out":"$radius.xl"},"default":6}}},"children":[{"part":"author","component":"Text","$if":["props.author",{"$not":{"$eq":["{props.side|in}","out"]}}],"props":{"text":"{props.author}","variant":"caption","lines":1}},"$slot:attachment",{"part":"text","component":"Markdown","props":{"text":"{props.text}"}},{"part":"footer","component":"Box","$any":["props.time","props.status"],"style":{"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"flex-end","alignSelf":"flex-end","gap":"$spacing.xs"},"children":[{"part":"time","component":"Text","$if":"props.time","props":{"text":"{props.time}","variant":"caption","lines":1}},{"part":"status","component":"Icon","$if":["props.status",{"$eq":["{props.side|in}","out"]}],"props":{"name":{"$map":{"from":"props.status","cases":{"sending":"ui-clock","sent":"ui-check","read":"ui-read"},"default":"ui-check"}},"size":"sm","label":{"$map":{"from":"props.status","cases":{"sending":"$string.sending","sent":"$string.sent","read":"$string.read"},"default":"$string.sent"}}},"style":{"width":14,"height":14,"flexShrink":0}}]}]}]}},"Plan":{"recipeProps":["state"],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":"{props.title}"},"style":{"display":"flex","flexDirection":"column","minWidth":0},"children":[{"part":"card","component":"Card","children":[{"part":"header","component":"Box","style":{"display":"flex","flexDirection":"column","gap":"$spacing.xxs","minWidth":0},"children":[{"part":"title","component":"Heading","props":{"text":"{props.title}","level":"h3"}},{"part":"description","component":"Text","$if":"props.description","props":{"text":"{props.description}","variant":"muted"}}]},{"part":"steps","component":"Trace","$if":"props.steps","children":[{"part":"step","component":"TraceItem","$each":"props.steps","$as":"step","props":{"title":"{step.title}","icon":"{step.icon}","description":"{step.detail}","status":"{step.status}"}}]},{"part":"footer","component":"Box","$if":{"$eq":["{props.state|proposed}","proposed"]},"style":{"display":"flex","flexDirection":"row","alignItems":"center","justifyContent":"flex-end","flexWrap":"wrap","gap":"$spacing.sm"},"children":[{"part":"decline","component":"Button","props":{"label":"{props.declineLabel|$string.no}","variant":"outline"},"$on":{"press":"decline"}},{"part":"approve","component":"Button","props":{"label":"{props.approveLabel|$string.yes}","icon":"ui-check","variant":"default"},"$on":{"press":"approve"}}]},{"part":"running","component":"Box","$if":{"$eq":["{props.state|proposed}","running"]},"style":{"display":"flex","flexDirection":"row","alignItems":"center","gap":"$spacing.md"},"children":[{"part":"progress","component":"Progress","props":{"value":"{props.progress|0}","max":1,"tone":"primary"},"style":{"flexGrow":1,"flexShrink":1,"flexBasis":0,"minWidth":0}},{"part":"stop","component":"Button","props":{"label":"{props.stopLabel|$string.stop}","icon":"ui-stop","variant":"destructive"},"$on":{"press":"stop"}}]}]}]}},"Mosaic":{"recipeProps":[],"root":{"part":"root","component":"Box","$a11y":{"role":"group","label":"{props.label}"},"style":{"display":"flex","flexDirection":"row","width":"100%","aspectRatio":1.6,"minWidth":0},"children":[{"part":"lead","component":"Box","$if":"props.pictures.0","props":{"pressable":true},"style":{"position":"relative","overflow":"hidden","minWidth":0,"minHeight":0,"cursor":"pointer","flexGrow":{"$cond":[{"$lt":[2,"{len(props.pictures)}"]},0,1]},"flexShrink":{"$cond":[{"$lt":[2,"{len(props.pictures)}"]},0,1]},"flexBasis":{"$cond":[{"$lt":[2,"{len(props.pictures)}"]},"60%",0]},"height":"100%"},"$recipe":{"size":{"$cond":[{"$lt":[2,"{len(props.pictures)}"]},"large",{"$cond":[{"$lt":[1,"{len(props.pictures)}"]},"half","large"]}]}},"$a11y":{"role":"button","label":"{props.pictures.0.alt}"},"$on":{"press":"select"},"$context":{"index":0},"children":[{"part":"image","component":"Image","props":{"src":"{props.pictures.0.src}","alt":"{props.pictures.0.alt}","fit":"cover"},"$a11y":{"hidden":true},"style":{"position":"absolute","inset":0,"width":"100%","height":"100%"}}]},{"part":"pair","component":"Box","$if":[{"$eq":["{len(props.pictures)}",2]}],"props":{"pressable":true},"style":{"position":"relative","overflow":"hidden","minWidth":0,"minHeight":0,"cursor":"pointer","flexGrow":1,"flexShrink":1,"flexBasis":0,"height":"100%"},"$recipe":{"size":"half"},"$a11y":{"role":"button","label":"{props.pictures.1.alt}"},"$on":{"press":"select"},"$context":{"index":1},"children":[{"part":"image","component":"Image","props":{"src":"{props.pictures.1.src}","alt":"{props.pictures.1.alt}","fit":"cover"},"$a11y":{"hidden":true},"style":{"position":"absolute","inset":0,"width":"100%","height":"100%"}}]},{"part":"side","component":"Box","$if":{"$lt":[2,"{len(props.pictures)}"]},"style":{"display":"flex","flexDirection":"column","flexGrow":1,"flexShrink":1,"flexBasis":0,"minWidth":0,"height":"100%"},"children":[{"part":"top","component":"Box","$if":"props.pictures.1","props":{"pressable":true},"style":{"position":"relative","overflow":"hidden","minWidth":0,"minHeight":0,"cursor":"pointer","flexGrow":1,"flexShrink":1,"flexBasis":0,"width":"100%"},"$recipe":{"size":"small"},"$a11y":{"role":"button","label":"{props.pictures.1.alt}"},"$on":{"press":"select"},"$context":{"index":1},"children":[{"part":"image","component":"Image","props":{"src":"{props.pictures.1.src}","alt":"{props.pictures.1.alt}","fit":"cover"},"$a11y":{"hidden":true},"style":{"position":"absolute","inset":0,"width":"100%","height":"100%"}}]},{"part":"bottom","component":"Box","$if":"props.pictures.2","props":{"pressable":true},"style":{"position":"relative","overflow":"hidden","minWidth":0,"minHeight":0,"cursor":"pointer","flexGrow":1,"flexShrink":1,"flexBasis":0,"width":"100%"},"$recipe":{"size":"small"},"$a11y":{"role":"button","label":{"$cond":[{"$lt":[3,"{len(props.pictures)}"]},{"$fill":["$string.morePicturesLabel",{"alt":"{props.pictures.2.alt}","count":{"$sub":["{len(props.pictures)}",3]}}]},"{props.pictures.2.alt}"]}},"$on":{"press":"select"},"$context":{"index":2},"children":[{"part":"image","component":"Image","props":{"src":"{props.pictures.2.src}","alt":"{props.pictures.2.alt}","fit":"cover"},"$a11y":{"hidden":true},"style":{"position":"absolute","inset":0,"width":"100%","height":"100%"}},{"part":"more","component":"Box","$if":{"$lt":[3,"{len(props.pictures)}"]},"$a11y":{"hidden":true},"style":{"position":"absolute","inset":0,"display":"flex","alignItems":"center","justifyContent":"center"},"children":[{"part":"moreLabel","component":"Text","props":{"text":{"$fill":["$string.morePictures",{"count":{"$sub":["{len(props.pictures)}",3]}}]},"lines":1}}]}]}]}]}}}}"####;
71
71
  pub const BASIC_MAP_JSON: &str = r####"{"from":"https://a2ui.org/specification/v0_9/basic_catalog.json","to":"https://ui.exponential.at/catalogs/core/v1","version":"v0.9","placeholderIcon":"ui-icon-placeholder","components":{"Text":{"to":"Text","props":{"text":"text"},"transform":"textVariant"},"Image":{"to":"Image","props":{"src":"url","alt":{"from":"description","default":""},"fit":{"from":"fit","default":"cover"}},"transform":"imageVariant"},"Icon":{"to":"Icon","props":{},"transform":"iconName"},"Video":{"to":"Video","props":{"src":"url"}},"AudioPlayer":{"to":"AudioPlayer","props":{"src":"url","title":"description"}},"Row":{"to":"Stack","children":"children","props":{"direction":{"const":"horizontal"},"justify":{"from":"justify","map":{"spaceBetween":"between","spaceAround":"around","spaceEvenly":"evenly","stretch":"start"},"default":"start"},"align":{"from":"align","default":"stretch"},"gap":{"const":"sm"}}},"Column":{"to":"Stack","children":"children","props":{"direction":{"const":"vertical"},"justify":{"from":"justify","map":{"spaceBetween":"between","spaceAround":"around","spaceEvenly":"evenly","stretch":"start"},"default":"start"},"align":{"from":"align","default":"stretch"},"gap":{"const":"sm"}}},"List":{"to":"List","children":"children","props":{"direction":{"from":"direction","default":"vertical"},"gap":{"const":"sm"}}},"Card":{"to":"Card","children":"child","props":{}},"Tabs":{"to":"Tabs","props":{},"transform":"tabs"},"Modal":{"to":"Dialog","props":{},"transform":"modal"},"Divider":{"to":"Separator","props":{"orientation":{"from":"axis","default":"horizontal"}}},"Button":{"to":"Button","props":{"variant":{"from":"variant","map":{"primary":"default","default":"secondary","borderless":"ghost"},"default":"secondary"}},"transform":"buttonChild"},"TextField":{"to":"Input","props":{"label":"label","value":"value","checks":"checks"},"transform":"textField"},"CheckBox":{"to":"Checkbox","props":{"label":"label","checked":"value","checks":"checks"},"transform":"fieldName"},"ChoicePicker":{"to":"Radio","props":{"label":"label","options":"options","checks":"checks"},"transform":"choicePicker"},"Slider":{"to":"Slider","props":{"label":"label","min":{"from":"min","default":0},"max":"max","value":"value"}},"DateTimeInput":{"to":"DatePicker","props":{"label":"label","value":"value","min":"min","max":"max"},"transform":"fieldName"}},"transforms":{"textVariant":"variant h1..h4 → Heading{level}; h5 → Text{variant: label}; caption → Text{variant: caption}; body or absent → Text{variant: body}.","imageVariant":"variant avatar → Avatar{src: url, name: description}; icon → style width/height 24; smallFeature → style width/height 120; mediumFeature or absent → style width 100%, aspectRatio 1.7777778; largeFeature → the same; header → style width 100%, aspectRatio 3.","iconName":"name string → icons[name] (null or absent → placeholderIcon); name {path} (a custom glyph) → placeholderIcon.","tabs":"tabs[i] → props.tabs[i] = {label: title, value: child id}; children = the tab child ids in order; value = the first tab's child id.","modal":"trigger → slots.trigger; content → children[0]; props.open = false.","buttonChild":"child Text → props.label = its text (the Text node is consumed); child Icon → props.icon = the mapped icon name (consumed); any other child → children[0]; action → on.press (an A2UI Action verbatim); size icon when icon and no label.","textField":"name = id; variant longText → Textarea{label, value, checks}; number → Input{type: number}; obscured → Input{type: password}; shortText or absent → Input{type: text}; validationRegexp → one more check {condition: {call: regex, args: {value: {path: <the value binding's path, or the id>}, pattern}}, message: 'Invalid value'}.","fieldName":"name = id.","choicePicker":"name = id; options keep label/value; value (a list) → the first entry for single choice, comma-joined for multiple; filterable → Select{searchable: true, multiple: variant == multipleSelection}; else displayStyle chips → Segmented{type: single|multiple by variant, variant: outline, items: options}; else variant multipleSelection → Select{multiple: true}; else → Radio."},"icons":{"accountCircle":"ui-assignee","add":"ui-add","arrowBack":"ui-back","arrowForward":"ui-arrow-right","attachFile":"ui-attach","calendarToday":"calendar","call":"phone","camera":"camera","check":"ui-check","close":"ui-close","delete":"ui-delete","download":"ui-download","edit":"ui-edit","event":"ui-due-date","error":"ui-error","fastForward":"media-fast-forward","favorite":"heart","favoriteOff":"ui-favorite-off","folder":"ui-folder","help":"ui-help","home":"house","info":"ui-info","locationOn":"map-pin","lock":"ui-private","lockOpen":"ui-unlock","mail":"ui-mail","menu":"ui-menu","moreVert":"ui-more-vertical","moreHoriz":"ui-more","notificationsOff":"ui-unsubscribe","notifications":"ui-subscribe","pause":"run-pause","payment":"credit-card","person":"ui-avatar-placeholder","phone":"smartphone","photo":"image","play":"action-run","print":"ui-print","refresh":"ui-refresh","rewind":"media-rewind","search":"nav-search","send":"ui-send","settings":"nav-settings","share":"ui-share","shoppingCart":"shopping-cart","skipNext":"media-skip-next","skipPrevious":"media-skip-previous","star":"star","starHalf":"ui-star-half","starOff":"ui-star-off","stop":"ui-stop","upload":"sc-push","visibility":"ui-watch","visibilityOff":"ui-hide","volumeDown":"media-volume-down","volumeMute":"media-volume-mute","volumeOff":"media-volume-off","volumeUp":"media-volume-up","warning":"ui-warning"},"functions":{"required":"required","regex":"regex","length":"length","numeric":"numeric","email":"email","formatString":"formatString","formatNumber":"formatNumber","formatCurrency":"formatCurrency","formatDate":"formatDate","pluralize":"pluralize","openUrl":"openUrl","and":"and","or":"or","not":"not"}}"####;
72
- pub const RECIPES_JSON: &str = r####"{"states":["hover","pressed","focus","disabled","checked","open","selected","invalid","dragover"],"keys":["backgroundColor","color","borderColor","borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius","borderStyle","padding","paddingHorizontal","paddingVertical","gap","width","height","minWidth","minHeight","fontSize","fontWeight","lineHeight","fontFamily","letterSpacing","textDecoration","textTransform","fontStyle","boxShadow","opacity","transition","transitionEasing","transform","backdropBlur","animation","native"],"native":{"Box":{"parts":["root"],"props":["pressable"]},"List":{"parts":["root","divider","section"],"props":["direction","divided","stickyHeaders"]},"Resizable":{"parts":["root","panel","handle","grip"],"props":["direction","handle"]},"Text":{"parts":["root"],"props":["variant","tone"]},"Markdown":{"parts":["root","paragraph","heading","link","code","codeBlock","quote","table","listItem"],"props":[]},"Image":{"parts":["root","fallback"],"props":["fit"]},"Icon":{"parts":["root"],"props":["size","tone"]},"Video":{"parts":["root","controls","poster"],"props":["autoplay"]},"AudioPlayer":{"parts":["root","controls","track"],"props":[]},"Avatar":{"parts":["root","image","fallback"],"props":["size"]},"QrCode":{"parts":["root","plate","module","label"],"props":["level"]},"Carousel":{"parts":["root","page","indicator","controls","previous","next"],"props":["loop","indicators"]},"Tabs":{"parts":["root","list","tab","indicator","content","close","new"],"props":["fill","closable","addable"]},"Segmented":{"parts":["root","item","icon","label","badge"],"props":["type","variant","size","fill","orientation"]},"Accordion":{"parts":["root","item","trigger","content","count"],"props":["type"]},"Dialog":{"parts":["overlay","content","title","description","footer","close"],"props":["dismissible"]},"Drawer":{"parts":["overlay","content","handle","title","description","footer"],"props":["side","dismissible"]},"Popover":{"parts":["content","arrow"],"props":["side","openOn"]},"Tooltip":{"parts":["content","arrow","anchor"],"props":["side"]},"Menu":{"parts":["trigger","content","item","separator","label","shortcut","check","submenuIndicator","head","search","count","list","empty","fade"],"props":["openOn"]},"Toast":{"parts":["root","icon","title","description","action","close"],"props":["type"]},"Ring":{"parts":["root","track","fill","label"],"props":["size","tone"]},"Spinner":{"parts":["root"],"props":["size"]},"Skeleton":{"parts":["root","row","dot","bar"],"props":["rounded","dot"]},"VoiceWave":{"parts":["root","outer","mid","inner","child","bar"],"props":["activity","size","variant"]},"Chart":{"parts":["root","title","axis","grid","legend","tooltip","valueLabel"],"props":["kind"]},"Table":{"parts":["root","caption","header","headerCell","sortIcon","row","cell","checkbox","empty","body"],"props":["selectable","striped","density","stickyHeader","align"]},"Button":{"parts":["root","icon","label","spinner"],"props":["variant","size","disabled","loading"]},"Link":{"parts":["root"],"props":["external"]},"Toggle":{"parts":["root","icon","label"],"props":["variant","size","pressed"]},"Form":{"parts":["root","summary"],"props":["disabled","busy"]},"Input":{"parts":["root","label","field","placeholder","description","error"],"props":["type","disabled"]},"Textarea":{"parts":["root","label","field","placeholder","description","error"],"props":["disabled"]},"NumberField":{"parts":["root","label","field","decrement","increment","unit","description","error","input"],"props":["disabled"]},"Checkbox":{"parts":["root","box","check","label","description"],"props":["checked","disabled"]},"Radio":{"parts":["root","item","dot","label","items"],"props":["orientation"]},"ChoiceTiles":{"parts":["root","tile","picture","label","description"],"props":["type","columns"]},"Switch":{"parts":["root","track","thumb","label","description","body"],"props":["checked","disabled"]},"Slider":{"parts":["root","track","range","thumb","label","value","header"],"props":[]},"Select":{"parts":["root","label","trigger","placeholder","content","search","item","check","empty"],"props":["multiple","searchable","disabled"]},"SearchList":{"parts":["root","head","search","count","list","item","icon","identifier","label","check","empty","fade"],"props":[]},"ChipInput":{"parts":["root","label","field","chip","chipLabel","remove","placeholder","description","error","input"],"props":["disabled"]},"DatePicker":{"parts":["root","label","trigger","calendar","day"],"props":[]},"DateRangePicker":{"parts":["root","label","trigger","calendar","day","range"],"props":[]},"TimePicker":{"parts":["root","label","trigger","placeholder","list","item"],"props":["disabled"]},"FileUpload":{"parts":["root","label","dropzone","icon","hint","file","fileName","fileMeta","remove","description","error","title","browse","fileIcon"],"props":["multiple","disabled"]},"QrScanner":{"parts":["root","viewfinder","feed","corner","scanLine","placeholder","placeholderIcon","hint"],"props":["disabled"]},"CodeBlock":{"parts":["root","header","title","copy","gutter","line","lineNumber","token","body","code"],"props":["lineNumbers","wrap","kind","variant","size"]},"Composer":{"parts":["root","field","placeholder","attachment","send"],"props":["attachments","busy"]},"TreeGuides":{"parts":["root","line"],"props":["tee"]},"Unknown":{"parts":["root","label"],"props":[]}}}"####;
72
+ pub const RECIPES_JSON: &str = r####"{"states":["hover","pressed","focus","disabled","checked","open","selected","invalid","dragover"],"keys":["backgroundColor","color","borderColor","borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius","borderStyle","padding","paddingHorizontal","paddingVertical","gap","width","height","minWidth","minHeight","fontSize","fontWeight","lineHeight","fontFamily","letterSpacing","textDecoration","textTransform","fontStyle","boxShadow","opacity","transition","transitionEasing","transform","backdropBlur","animation","native"],"native":{"Box":{"parts":["root"],"props":["pressable"]},"List":{"parts":["root","divider","section"],"props":["direction","divided","stickyHeaders"]},"Resizable":{"parts":["root","panel","handle","grip"],"props":["direction","handle"]},"Text":{"parts":["root"],"props":["variant","tone"]},"Markdown":{"parts":["root","paragraph","heading","link","code","codeBlock","quote","table","listItem"],"props":[]},"Image":{"parts":["root","fallback"],"props":["fit"]},"Icon":{"parts":["root"],"props":["size","tone"]},"Video":{"parts":["root","controls","poster"],"props":["autoplay"]},"AudioPlayer":{"parts":["root","controls","track"],"props":[]},"Avatar":{"parts":["root","image","fallback"],"props":["size"]},"QrCode":{"parts":["root","plate","module","label"],"props":["level"]},"Carousel":{"parts":["root","page","indicator","controls","previous","next","counter","thumbnails","thumbnail"],"props":["loop","indicators","counter"]},"Tabs":{"parts":["root","list","tab","indicator","content","close","new"],"props":["fill","closable","addable"]},"Segmented":{"parts":["root","item","icon","label","badge"],"props":["type","variant","size","fill","orientation"]},"Accordion":{"parts":["root","item","trigger","content","count"],"props":["type"]},"Dialog":{"parts":["overlay","content","title","description","footer","close"],"props":["dismissible"]},"Drawer":{"parts":["overlay","content","handle","title","description","footer"],"props":["side","dismissible"]},"Popover":{"parts":["content","arrow"],"props":["side","openOn"]},"Tooltip":{"parts":["content","arrow","anchor"],"props":["side"]},"Menu":{"parts":["trigger","content","item","separator","label","shortcut","check","submenuIndicator","head","search","count","list","empty","fade"],"props":["openOn"]},"Toast":{"parts":["root","icon","title","description","action","close"],"props":["type"]},"Ring":{"parts":["root","track","fill","label"],"props":["size","tone"]},"Spinner":{"parts":["root"],"props":["size"]},"Skeleton":{"parts":["root","row","dot","bar"],"props":["rounded","dot"]},"VoiceWave":{"parts":["root","outer","mid","inner","child","bar"],"props":["activity","size","variant"]},"Chart":{"parts":["root","title","axis","grid","legend","tooltip","valueLabel"],"props":["kind"]},"Table":{"parts":["root","caption","header","headerCell","sortIcon","row","cell","checkbox","empty","body"],"props":["selectable","striped","density","stickyHeader","align"]},"Button":{"parts":["root","icon","label","spinner"],"props":["variant","size","disabled","loading"]},"Link":{"parts":["root"],"props":["external"]},"Toggle":{"parts":["root","icon","label"],"props":["variant","size","pressed"]},"Form":{"parts":["root","summary"],"props":["disabled","busy"]},"Input":{"parts":["root","label","field","placeholder","description","error"],"props":["type","disabled"]},"Textarea":{"parts":["root","label","field","placeholder","description","error"],"props":["disabled"]},"NumberField":{"parts":["root","label","field","decrement","increment","unit","description","error","input"],"props":["disabled"]},"Checkbox":{"parts":["root","box","check","label","description"],"props":["checked","disabled"]},"Radio":{"parts":["root","item","dot","label","items"],"props":["orientation"]},"ChoiceTiles":{"parts":["root","tile","picture","label","description"],"props":["type","columns"]},"Switch":{"parts":["root","track","thumb","label","description","body"],"props":["checked","disabled"]},"Slider":{"parts":["root","track","range","thumb","label","value","header"],"props":[]},"Select":{"parts":["root","label","trigger","placeholder","content","search","item","check","empty"],"props":["multiple","searchable","disabled"]},"SearchList":{"parts":["root","head","search","count","list","item","icon","identifier","label","check","empty","fade"],"props":[]},"ChipInput":{"parts":["root","label","field","chip","chipLabel","remove","placeholder","description","error","input"],"props":["disabled"]},"DatePicker":{"parts":["root","label","trigger","calendar","day"],"props":[]},"DateRangePicker":{"parts":["root","label","trigger","calendar","day","range"],"props":[]},"TimePicker":{"parts":["root","label","trigger","placeholder","list","item"],"props":["disabled"]},"FileUpload":{"parts":["root","label","dropzone","icon","hint","file","fileName","fileMeta","remove","description","error","title","browse","fileIcon"],"props":["multiple","disabled"]},"QrScanner":{"parts":["root","viewfinder","feed","corner","scanLine","placeholder","placeholderIcon","hint"],"props":["disabled"]},"CodeBlock":{"parts":["root","header","title","copy","gutter","line","lineNumber","token","body","code"],"props":["lineNumbers","wrap","kind","variant","size"]},"Composer":{"parts":["root","field","placeholder","attachment","send"],"props":["attachments","busy"]},"TreeGuides":{"parts":["root","line"],"props":["tee"]},"Unknown":{"parts":["root","label"],"props":[]}}}"####;
73
73
  pub const STYLE_JSON: &str = r####"{"layout":{"display":{"enum":["flex","grid","block","none"]},"flexDirection":{"enum":["row","column","row-reverse","column-reverse"]},"flexWrap":{"enum":["nowrap","wrap","wrap-reverse"]},"justifyContent":{"enum":["flex-start","flex-end","start","end","center","stretch","space-between","space-around","space-evenly"]},"alignItems":{"enum":["flex-start","flex-end","start","end","center","stretch","baseline"]},"alignContent":{"enum":["flex-start","flex-end","start","end","center","stretch","space-between","space-around","space-evenly"]},"alignSelf":{"enum":["flex-start","flex-end","start","end","center","stretch","baseline"]},"justifySelf":{"enum":["flex-start","flex-end","start","end","center","stretch","baseline"]},"flexGrow":{"type":"number"},"flexShrink":{"type":"number"},"flexBasis":{"type":"length"},"gap":{"type":"length"},"rowGap":{"type":"length"},"columnGap":{"type":"length"},"direction":{"enum":["ltr","rtl"]},"overflow":{"enum":["visible","hidden","clip","scroll","auto"]},"overflowX":{"enum":["visible","hidden","clip","scroll","auto"]},"overflowY":{"enum":["visible","hidden","clip","scroll","auto"]},"width":{"type":"length"},"height":{"type":"length"},"minWidth":{"type":"length"},"minHeight":{"type":"length"},"maxWidth":{"type":"length"},"maxHeight":{"type":"length"},"aspectRatio":{"type":"ratio"},"position":{"enum":["relative","absolute","sticky"]},"top":{"type":"length"},"right":{"type":"length"},"bottom":{"type":"length"},"left":{"type":"length"},"inset":{"type":"length"},"insetInlineStart":{"type":"length"},"insetInlineEnd":{"type":"length"},"insetBlockStart":{"type":"length"},"insetBlockEnd":{"type":"length"},"padding":{"type":"length"},"paddingTop":{"type":"length"},"paddingRight":{"type":"length"},"paddingBottom":{"type":"length"},"paddingLeft":{"type":"length"},"paddingHorizontal":{"type":"length"},"paddingVertical":{"type":"length"},"paddingInlineStart":{"type":"length"},"paddingInlineEnd":{"type":"length"},"margin":{"type":"length"},"marginTop":{"type":"length"},"marginRight":{"type":"length"},"marginBottom":{"type":"length"},"marginLeft":{"type":"length"},"marginHorizontal":{"type":"length"},"marginVertical":{"type":"length"},"marginInlineStart":{"type":"length"},"marginInlineEnd":{"type":"length"},"gridTemplateColumns":{"type":"tracks"},"gridTemplateRows":{"type":"tracks"},"gridTemplateAreas":{"type":"areas"},"gridArea":{"type":"string"},"gridColumn":{"type":"string"},"gridRow":{"type":"string"}},"visual":{"backgroundColor":{"type":"color"},"backgroundGradient":{"type":"gradient"},"color":{"type":"color"},"borderWidth":{"type":"number","layoutEffect":true},"borderTopWidth":{"type":"number","layoutEffect":true},"borderRightWidth":{"type":"number","layoutEffect":true},"borderBottomWidth":{"type":"number","layoutEffect":true},"borderLeftWidth":{"type":"number","layoutEffect":true},"borderColor":{"type":"color"},"borderStyle":{"enum":["solid","dashed","dotted"]},"borderRadius":{"type":"length"},"borderTopLeftRadius":{"type":"length"},"borderTopRightRadius":{"type":"length"},"borderBottomRightRadius":{"type":"length"},"borderBottomLeftRadius":{"type":"length"},"opacity":{"type":"number"},"boxShadow":{"type":"token","group":"shadow"},"fontSize":{"type":"length"},"fontWeight":{"enum":[300,400,500,600,700,800]},"lineHeight":{"type":"length"},"letterSpacing":{"type":"length"},"textAlign":{"enum":["left","right","center","start","end","justify"]},"textDecoration":{"enum":["none","underline","line-through"]},"textTransform":{"enum":["none","uppercase","lowercase","capitalize"]},"fontStyle":{"enum":["normal","italic"]},"fontFamily":{"type":"token","group":"type.family"},"transition":{"type":"token","group":"motion"},"transitionEasing":{"type":"token","group":"ease"},"transform":{"type":"transform"},"visibility":{"enum":["visible","hidden"]},"pointerEvents":{"enum":["auto","none"]},"userSelect":{"enum":["auto","none","text"]},"cursor":{"enum":["auto","default","pointer","text","not-allowed","grab","grabbing","move","col-resize","row-resize"]},"backdropBlur":{"type":"token","group":"blur"},"animation":{"enum":["pulse","spin","fade-in","slide-in-up","slide-in-down","slide-in-left","slide-in-right","shimmer"]},"animationDuration":{"type":"token","group":"motion"}},"animations":{"pulse":{"duration":"$motion.slow","factor":7,"easing":"$ease.standard","iterations":"infinite","rest":0,"keyframes":[{"offset":0,"opacity":1},{"offset":0.5,"opacity":0.5},{"offset":1,"opacity":1}]},"spin":{"duration":"$motion.slow","factor":4,"easing":"linear","iterations":"infinite","rest":0,"keyframes":[{"offset":0,"rotate":0},{"offset":1,"rotate":360}]},"fade-in":{"duration":"$motion.standard","factor":1,"easing":"$ease.decelerate","iterations":1,"rest":1,"keyframes":[{"offset":0,"opacity":0},{"offset":1,"opacity":1}]},"slide-in-up":{"duration":"$motion.standard","factor":1,"easing":"$ease.decelerate","iterations":1,"rest":1,"keyframes":[{"offset":0,"opacity":0,"translateY":8},{"offset":1,"opacity":1,"translateY":0}]},"slide-in-down":{"duration":"$motion.standard","factor":1,"easing":"$ease.decelerate","iterations":1,"rest":1,"keyframes":[{"offset":0,"opacity":0,"translateY":-8},{"offset":1,"opacity":1,"translateY":0}]},"slide-in-left":{"duration":"$motion.standard","factor":1,"easing":"$ease.decelerate","iterations":1,"rest":1,"keyframes":[{"offset":0,"opacity":0,"translateX":8},{"offset":1,"opacity":1,"translateX":0}]},"slide-in-right":{"duration":"$motion.standard","factor":1,"easing":"$ease.decelerate","iterations":1,"rest":1,"keyframes":[{"offset":0,"opacity":0,"translateX":-8},{"offset":1,"opacity":1,"translateX":0}]},"shimmer":{"duration":"$motion.slow","factor":5,"easing":"linear","iterations":"infinite","rest":0,"keyframes":[{"offset":0,"band":-1},{"offset":1,"band":1}],"band":{"color":"$color.background","stops":[{"offset":0,"alpha":0},{"offset":0.5,"alpha":0.5},{"offset":1,"alpha":0}]}}},"conditions":{"media":"^@media \\((min-width|max-width|min-height|max-height): (\\d+(\\.\\d+)?px|\\$breakpoint\\.[a-zA-Z0-9]+)\\)$|^@media \\(orientation: (portrait|landscape)\\)$|^@media \\(hover: (hover|none)\\)$|^@media \\(prefers-reduced-motion: (reduce|no-preference)\\)$","states":[":hover",":focus-visible",":pressed"],"transform":"^((translate\\(-?\\d+(\\.\\d+)?px, -?\\d+(\\.\\d+)?px\\)|scale\\(-?\\d+(\\.\\d+)?\\)|rotate\\(-?\\d+(\\.\\d+)?deg\\))( (?=\\S)|$))+$"},"textShimmer":{"durationMs":2000,"angleDeg":20,"spreadPx":60,"highlightLightnessMin":0.8,"highlightLightnessBoost":0.4,"highlightAlphaBoost":0.4,"lightAlphaFactor":0.2},"voiceWave":{"steps":120,"radius":[0.33,0.3,0.26],"harmonics":[[11,17,23],[9,15,21],[7,13]],"phase0":[0.4,1.9,3.1],"ringAmp":[1,0.85,0.45],"ampBase":2,"ampLevel":6,"thinkingAmp":2.5,"phaseSpeed":0.9,"fillAlpha":[0.1,0.1,0.15],"strokeAlpha":[0.7,0.8,0.4],"strokeWidth":[1.5,1.5,1],"childScale":0.3,"childScaleLarge":0.22,"maxBands":8,"bars":{"count":20,"minFraction":0.12,"envelope":0.5,"shapeFreq":1.7,"shapeBase":0.35,"sizes":{"sm":{"height":16,"barWidth":2,"gap":2},"md":{"height":24,"barWidth":3,"gap":3},"lg":{"height":40,"barWidth":4,"gap":4},"xl":{"height":56,"barWidth":5,"gap":5}}}},"qrCode":{"quietZone":4,"labelGap":8,"maxValueBytes":2953},"qrScanner":{"maxWidth":280,"aspectRatio":1,"cornerLength":24,"cornerStroke":3,"feedAlpha":0.06,"scanLineHeight":2,"scanLineInset":16,"sweepMs":2000,"hintGap":12,"placeholderIcon":"ui-scan","placeholderIconSize":32}}"####;
74
74
  pub const TOKENS_JSON: &str = r####"{"color":["background","foreground","card","cardForeground","popover","popoverForeground","primary","primaryForeground","secondary","secondaryForeground","muted","mutedForeground","accent","accentForeground","destructive","destructiveForeground","success","successForeground","warning","warningForeground","info","infoForeground","border","input","ring","chart1","chart2","chart3","chart4","chart5","chart6","chart7","chart8"],"spacing":["none","xxs","xs","sm","md","lg","xl","xl2","xl3"],"radius":["none","sm","md","lg","xl","xl2","xl3","full"],"type":{"size":["xs","sm","base","lg","xl","xl2","xl3"],"lineHeight":["xs","sm","base","lg","xl","xl2","xl3"],"weight":["regular","medium","semibold","bold"],"family":["sans","mono","serif"]},"control":["buttonSm","buttonMd","buttonLg","buttonIcon","input","textarea","row","rowCompact","pill","badge","chip","toggle","switch","checkbox","slider","progress","meter","avatarSm","avatarMd","avatarLg","iconSm","iconMd","iconLg","hairline","appBar","tabBar","toast"],"shadow":["none","sm","md","lg","xl"],"opacity":["primary","secondary","tertiary","quaternary","disabled"],"border":["none","hairline","thick"],"motion":["fast","standard","slow"],"breakpoint":["sm","md","lg","xl"],"ease":["standard","decelerate","accelerate"],"density":["compact","comfortable"],"blur":["sm","md","lg","xl"],"scale":["press","popoverFrom"]}"####;
75
- pub const STRINGS_JSON: &str = r####"{"strings":{"back":"Back","breadcrumb":"Breadcrumb","browse":"Browse","cameraUnavailable":"Camera unavailable","cancel":"Cancel","carousel":"Carousel","chartSummary":"Chart of {series}, values from {min} to {max}","choose":"Choose","clear":"Clear","close":"Close","closeTab":"Close {name}","codeBlock":"Code","collapse":"Collapse","confirm":"Confirm","copied":"Copied","copy":"Copy","decrement":"Decrease","dialog":"Dialog","dismiss":"Dismiss","dropFiles":"Drop files here","endCall":"End call","expand":"Expand","fileTooLarge":"File too large","fileTooLargeNamed":"{name}: File too large","increment":"Increase","invalidFields":"Check the highlighted fields","invalidValue":"Invalid value","loading":"Loading","menu":"Menu","message":"Message","more":"More","mute":"Mute","newTab":"New tab","next":"Next","nextMonth":"Next month","no":"No","noResults":"No results","optional":"Optional","pageOf":"Page {page} of {total}","pagination":"Pagination","previous":"Previous","previousMonth":"Previous month","ratingStar":"{value} of {max}","ratingValue":"Rated {value} of {max}","read":"Read","remove":"Remove","removeItem":"Remove {name}","required":"Required","resize":"Resize","scanQrCode":"Scan a QR code","search":"Search…","selectAll":"Select all","selectedCount":"{count} selected","selectRow":"Select row","send":"Send","sending":"Sending","sent":"Sent","showLess":"Show less","showMore":"Show more","slide":"Slide","sortAscending":"Sort ascending","sortByAscending":"{name}: Sort ascending","sortByDescending":"{name}: Sort descending","sortDescending":"Sort descending","sparklineSummary":"Trend from {first} to {last}, low {min}, high {max}","speaker":"Speaker","speakerOff":"Speaker off","stepCurrent":"Step {step} of {total}: {label}, current","stepDone":"Step {step} of {total}: {label}, completed","stepUpcoming":"Step {step} of {total}: {label}","stop":"Stop","submit":"Submit","table":"Table","today":"Today","unknownComponent":"Unknown component","unmute":"Unmute","unsupportedFile":"Unsupported file","unsupportedFileNamed":"{name}: Unsupported file","yes":"Yes"}}"####;
75
+ pub const STRINGS_JSON: &str = r####"{"strings":{"back":"Back","breadcrumb":"Breadcrumb","browse":"Browse","cameraUnavailable":"Camera unavailable","cancel":"Cancel","carousel":"Carousel","chartSummary":"Chart of {series}, values from {min} to {max}","choose":"Choose","clear":"Clear","close":"Close","closeTab":"Close {name}","codeBlock":"Code","collapse":"Collapse","confirm":"Confirm","copied":"Copied","copy":"Copy","decrement":"Decrease","dialog":"Dialog","dismiss":"Dismiss","dropFiles":"Drop files here","endCall":"End call","expand":"Expand","fileTooLarge":"File too large","fileTooLargeNamed":"{name}: File too large","increment":"Increase","invalidFields":"Check the highlighted fields","invalidValue":"Invalid value","loading":"Loading","menu":"Menu","message":"Message","more":"More","morePictures":"+{count}","morePicturesLabel":"{alt}, {count} more","mute":"Mute","newTab":"New tab","next":"Next","nextMonth":"Next month","no":"No","noResults":"No results","optional":"Optional","outline":"Outline","outlineRow":"{title}, {count}","pageCounter":"{page} / {total}","pageOf":"Page {page} of {total}","pagination":"Pagination","previous":"Previous","previousMonth":"Previous month","ratingStar":"{value} of {max}","ratingValue":"Rated {value} of {max}","read":"Read","remove":"Remove","removeItem":"Remove {name}","required":"Required","resize":"Resize","scanQrCode":"Scan a QR code","search":"Search…","selectAll":"Select all","selectedCount":"{count} selected","selectRow":"Select row","send":"Send","sending":"Sending","sent":"Sent","showLess":"Show less","showMore":"Show more","slide":"Slide","sortAscending":"Sort ascending","sortByAscending":"{name}: Sort ascending","sortByDescending":"{name}: Sort descending","sortDescending":"Sort descending","sparklineSummary":"Trend from {first} to {last}, low {min}, high {max}","speaker":"Speaker","speakerOff":"Speaker off","stepCurrent":"Step {step} of {total}: {label}, current","stepDone":"Step {step} of {total}: {label}, completed","stepUpcoming":"Step {step} of {total}: {label}","stop":"Stop","submit":"Submit","table":"Table","today":"Today","unknownComponent":"Unknown component","unmute":"Unmute","unsupportedFile":"Unsupported file","unsupportedFileNamed":"{name}: Unsupported file","yes":"Yes"}}"####;
76
76
  pub const LOCALE_JSON: &str = r####"{"default":"en-US","weekStart":{"default":1,"regions":{"0":["AG","AS","BD","BR","BS","BT","BW","BZ","CA","CN","CO","DM","DO","ET","GT","GU","HK","HN","ID","IL","IN","JM","JP","KE","KH","KR","LA","MH","MM","MO","MT","MX","MZ","NI","NP","PA","PE","PH","PK","PR","PT","PY","SA","SG","SV","TH","TT","TW","UM","US","VE","VI","WS","YE","ZA","ZW"],"5":["MV"],"6":["AE","AF","BH","DJ","DZ","EG","IQ","IR","JO","KW","LY","OM","QA","SD","SY"]}},"likelyRegion":{"af":"ZA","am":"ET","ar":"EG","az":"AZ","be":"BY","bg":"BG","bn":"BD","bs":"BA","ca":"ES","ckb":"IQ","cs":"CZ","cy":"GB","da":"DK","de":"DE","dv":"MV","el":"GR","en":"US","es":"ES","et":"EE","eu":"ES","fa":"IR","fi":"FI","fil":"PH","fr":"FR","ga":"IE","gl":"ES","gu":"IN","ha":"NG","he":"IL","hi":"IN","hr":"HR","hu":"HU","hy":"AM","id":"ID","ig":"NG","is":"IS","it":"IT","ja":"JP","jv":"ID","ka":"GE","kk":"KZ","km":"KH","kn":"IN","ko":"KR","ku":"TR","ky":"KG","lo":"LA","lt":"LT","lv":"LV","mk":"MK","ml":"IN","mn":"MN","mr":"IN","ms":"MY","mt":"MT","my":"MM","nb":"NO","ne":"NP","nl":"NL","nn":"NO","no":"NO","or":"IN","pa":"IN","pl":"PL","ps":"AF","pt":"BR","ro":"RO","ru":"RU","sd":"PK","si":"LK","sk":"SK","sl":"SI","so":"SO","sq":"AL","sr":"RS","sv":"SE","sw":"TZ","ta":"IN","te":"IN","th":"TH","tl":"PH","tr":"TR","ug":"CN","uk":"UA","ur":"PK","uz":"UZ","vi":"VN","yi":"001","yo":"NG","zh":"CN","zu":"ZA"},"languageAliases":{"in":"id","iw":"he","ji":"yi","jw":"jv","mo":"ro","tl":"fil"},"rtl":["ar","ckb","dv","fa","he","ps","sd","ug","ur","yi"],"rtlMirroredIcons":["ui-back","ui-chevron-left","ui-chevron-right","ui-arrow-right","ui-send","ui-undo","ui-external-link","arrow-left","arrow-right","chevron-left","chevron-right","send","undo-2","external-link"],"englishFallback":{"months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayPeriods":["AM","PM"],"currencyPrefix":{"USD":"$","EUR":"€","GBP":"£","JPY":"¥","CNY":"CN¥","INR":"₹","KRW":"₩","CAD":"CA$","AUD":"A$","MXN":"MX$","BRL":"R$","ILS":"₪","NZD":"NZ$","HKD":"HK$","TWD":"NT$","VND":"₫","PHP":"₱","XAF":"FCFA ","XOF":"F CFA "},"currencyDigits":{"JPY":0,"KRW":0,"VND":0,"CLP":0,"ISK":0,"UGX":0,"PYG":0,"XAF":0,"XOF":0,"BHD":3,"IQD":3,"JOD":3,"KWD":3,"OMR":3,"TND":3},"relative":{"units":{"second":["second","seconds"],"minute":["minute","minutes"],"hour":["hour","hours"],"day":["day","days"],"week":["week","weeks"],"month":["month","months"],"year":["year","years"]},"auto":{"second":{"0":"now"},"day":{"1":"tomorrow","-1":"yesterday"},"week":{"1":"next week","-1":"last week"},"month":{"1":"next month","-1":"last month"},"year":{"1":"next year","-1":"last year"}},"past":"{value} {unit} ago","future":"in {value} {unit}"},"unknownCurrency":"{code} ","datePatterns":{"short":"M/d/yy","medium":"MMM d, y","long":"MMMM d, y","full":"EEEE, MMMM d, y"},"timePattern":"h:mm a","dateTimeJoin":{"short":"{date}, {time}","medium":"{date}, {time}","long":"{date} at {time}","full":"{date} at {time}"}}}"####;
77
77
  pub const CODE_JSON: &str = r####"{"defaults":{"operators":"+-*/%=&|<>!?^~:@#","punctuation":"()[]{},.;"},"languages":{"plain":{"plain":true},"json":{"strings":["\""],"keywords":["true","false","null"],"keyStrings":true},"js":{"lineComment":["//"],"blockComment":[["/*","*/"]],"strings":["\"","'","`"],"multiline":["`"],"types":"capitalized","keywords":["async","await","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","if","import","in","instanceof","let","new","null","of","return","static","super","switch","this","throw","true","try","typeof","undefined","var","void","while","with","yield"]},"ts":{"lineComment":["//"],"blockComment":[["/*","*/"]],"strings":["\"","'","`"],"multiline":["`"],"types":"capitalized","typeNames":["any","bigint","boolean","never","number","object","string","symbol","unknown"],"keywords":["abstract","as","async","await","break","case","catch","class","const","continue","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","if","implements","import","in","infer","instanceof","interface","is","keyof","let","namespace","new","null","of","private","protected","public","readonly","return","satisfies","static","super","switch","this","throw","true","try","type","typeof","undefined","var","void","while","yield"]},"tsx":{"lineComment":["//"],"blockComment":[["/*","*/"]],"strings":["\"","'","`"],"multiline":["`"],"types":"capitalized","typeNames":["any","bigint","boolean","never","number","object","string","symbol","unknown"],"keywords":["abstract","as","async","await","break","case","catch","class","const","continue","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","if","implements","import","in","infer","instanceof","interface","is","keyof","let","namespace","new","null","of","private","protected","public","readonly","return","satisfies","static","super","switch","this","throw","true","try","type","typeof","undefined","var","void","while","yield"]},"rust":{"lineComment":["//"],"blockComment":[["/*","*/"]],"strings":["\""],"multiline":["\""],"types":"capitalized","typeNames":["bool","char","f32","f64","i8","i16","i32","i64","i128","isize","str","u8","u16","u32","u64","u128","usize"],"keywords":["as","async","await","break","const","continue","crate","dyn","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","Self","static","struct","super","trait","true","type","unsafe","use","where","while"]},"swift":{"lineComment":["//"],"blockComment":[["/*","*/"]],"strings":["\""],"types":"capitalized","keywords":["any","as","associatedtype","async","await","break","case","catch","class","continue","default","defer","do","else","enum","extension","fallthrough","false","for","func","guard","if","import","in","init","inout","internal","is","let","nil","private","protocol","public","repeat","rethrows","return","self","Self","some","static","struct","subscript","super","switch","throw","throws","true","try","typealias","var","where","while"]},"kotlin":{"lineComment":["//"],"blockComment":[["/*","*/"]],"strings":["\"","'"],"types":"capitalized","keywords":["as","break","by","catch","class","companion","constructor","continue","data","do","else","enum","false","finally","for","fun","if","import","in","init","interface","internal","is","lateinit","null","object","open","override","package","private","protected","public","return","sealed","super","suspend","this","throw","true","try","typealias","val","var","when","while"]},"python":{"lineComment":["#"],"strings":["\"","'"],"types":"capitalized","keywords":["False","None","True","and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal","not","or","pass","raise","return","self","try","while","with","yield"]},"bash":{"lineComment":["#"],"strings":["\"","'"],"multiline":["\"","'"],"keywords":["case","do","done","echo","elif","else","esac","exit","export","fi","for","function","if","in","local","readonly","return","then","until","while"]},"html":{"markup":true,"blockComment":[["<!--","-->"]],"strings":["\"","'"],"numbers":false},"css":{"blockComment":[["/*","*/"]],"strings":["\"","'"],"identExtra":"-@","keyIdents":true,"operators":"+*/%=&|<>!?^~:#","keywords":["@container","@font-face","@import","@keyframes","@layer","@media","@supports","auto","important","inherit","initial","none","unset"]},"sql":{"lineComment":["--"],"blockComment":[["/*","*/"]],"strings":["'","\""],"caseInsensitive":true,"keywords":["all","alter","and","as","asc","between","by","case","create","default","delete","desc","distinct","drop","else","end","exists","foreign","from","group","having","in","index","inner","insert","into","is","join","key","left","like","limit","not","null","offset","on","or","order","outer","primary","references","returning","right","select","set","table","then","union","update","values","when","where","with"]},"yaml":{"lineComment":["#"],"strings":["\"","'"],"keyIdents":true,"identExtra":"-","keywords":["true","false","null","yes","no"]},"markdown":{"lineKinds":{"#":"keyword",">":"comment"},"strings":["`"],"numbers":false,"operators":"","punctuation":""},"ansi":{"ansi":true,"numbers":false,"operators":"","punctuation":"","lineKinds":{"$ ":"comment","> ":"comment","BUILD SUCCESSFUL":"success","BUILD FAILED":"error","PASS ":"success","FAIL ":"error","FAILED":"error","(pass)":"success","(fail)":"error","test result: ok":"success","test result: FAILED":"error","error:":"error","error[":"error","Error:":"error","warning:":"warning","✓":"success","✔":"success","✗":"error","✘":"error"}}}}"####;
78
- pub const A11Y_JSON: &str = r####"{"roles":["alert","alertdialog","banner","button","checkbox","combobox","dialog","document","form","group","heading","hidden","img","link","list","listitem","main","menu","meter","navigation","none","progressbar","radio","radiogroup","region","separator","slider","spinbutton","status","switch","tablist","table","text","textbox","tooltip","tree","treeitem"],"rules":["Every interactive node is reachable by Tab in reading order (tree order; a node's resolved `direction` flips its rows) and shows a focus ring only for keyboard focus (`:focus-visible`, recipe state `focus`).","A field's label, description and every error are linked to it (aria-labelledby / aria-describedby, contentDescription, accessibilityLabel/Hint); an error has the id `<node id>.error`.","`visible: false` removes the node from the accessibility tree; `visibility: hidden` hides it too; `display: none` likewise.","Icon-only buttons and standalone Icons take their `label` (or `accessibility.label`) as the accessible name; decorative icons are hidden.","`accessibility.label`/`description` on any node override the computed name/description.","Animations honour reduced motion: with `prefers-reduced-motion: reduce` transitions run at 0 ms, the Spinner/Skeleton shimmer stops and every style `animation` shows its rest keyframe.","Text and accessible names follow the NODE's direction (an inner `direction` box included): reading order, `textAlign` start/end and the bidi paragraph direction."],"commands":{"focus":{"args":["id"],"description":"Moves keyboard focus to the node with this id (the first focusable descendant of a non-focusable node); ignored when it is not rendered."},"announce":{"args":["text","live"],"description":"Speaks the text through the platform's live region (`polite` waits, `assertive` interrupts) without showing anything."},"scrollIntoView":{"args":["id"],"description":"Scrolls the nearest scrolling ancestor (List, ScrollArea, the surface) so the node is visible."},"scrollToIndex":{"args":["id","index","align"],"description":"Scrolls the List or Table `id` so its item (data index, before any local sort) is in view: `align` start | center | end | nearest (default), the pinned section header subtracted; a windowed list renders it first (src/list.ts scrollOffsetForIndex)."}},"components":{"Box":{"role":"none","notes":"group (button when pressable). A pressable Box is a button.","keys":["Enter, Space: press (pressable only)"]},"Stack":{"role":"none","notes":"none (layout only)","keys":[]},"Grid":{"role":"none","notes":"none (layout only)","keys":[]},"Card":{"role":"group","notes":"group labelled by its title","keys":[]},"Separator":{"role":"separator","notes":"separator","keys":[]},"ScrollArea":{"role":"region","notes":"region (scrollable, focusable when it overflows)","keys":["Arrow keys, PageUp/PageDown, Home/End scroll while focused"]},"Section":{"role":"group","notes":"group; the header a heading (level 3) with the caption and count in its name, or a button with aria-expanded when collapsible; the rows a list (a tree when `tree`) of listitems","keys":["Enter, Space: fold when collapsible"]},"Group":{"role":"group","notes":"group labelled by its title, described by its footer","keys":[]},"Heading":{"role":"heading","notes":"heading (level from h1–h4)","keys":[]},"Kbd":{"role":"text","notes":"text (the shortcut spelled out)","keys":[]},"Label":{"role":"text","notes":"label of the control named by `for`","keys":["Pressing it focuses that control"]},"Badge":{"role":"text","notes":"text (status)","keys":[]},"Alert":{"role":"alert","notes":"alert for warning/error, status otherwise. alert for warning/error, status otherwise ($a11y).","keys":[]},"EmptyState":{"role":"status","notes":"status; the action = button","keys":["Enter, Space on the action"]},"Progress":{"role":"progressbar","notes":"progressbar (valuenow/valuemax, labelled by its label)","keys":[]},"Meter":{"role":"meter","notes":"meter (value of max, labelled by its label)","keys":[]},"Sparkline":{"role":"img","notes":"img with a generated summary (first, last, min, max). The Chart painter names it with `sparklineSummary` (first, last, min, max).","keys":[]},"List":{"role":"list","notes":"list; each item a listitem with its position in the WHOLE list (aria-setsize/posinset, also when windowed); a section header is a heading (level 3) and stays first in reading order while pinned","keys":["Tab moves through the rows' controls; the list itself is one scroll region"]},"Resizable":{"role":"group","notes":"group; each handle a focusable separator (aria-orientation = the line's, valuenow = the size of the panel before it, valuemin/max = its limits, controls = that panel), named `$string.resize`","keys":["Arrow keys on a handle: move it on screen by 10 points (Left/Right horizontal, Up/Down vertical; rtl: ArrowRight shrinks the first panel)","Home / End: the panel before the handle to its min / max","Enter: collapse or reopen a collapsible panel"]},"Text":{"role":"text","notes":"text (a live region when `live` is not off)","keys":[]},"Markdown":{"role":"document","notes":"document fragment (headings, lists, links, tables keep their roles)","keys":["Tab moves through the links"]},"CodeBlock":{"role":"region","notes":"region (code), copy = button","keys":["Tab reaches the copy button; Enter, Space: copy and announce `copied`"]},"Image":{"role":"img","notes":"img (alt = name; decorative when alt is empty)","keys":[]},"Icon":{"role":"img","notes":"img when labelled, hidden otherwise","keys":[]},"Video":{"role":"group","notes":"video with the platform's controls","keys":["Space: play/pause; ArrowLeft/ArrowRight: seek 5 s"]},"AudioPlayer":{"role":"group","notes":"audio with the platform's controls","keys":["Space: play/pause; ArrowLeft/ArrowRight: seek 5 s"]},"Avatar":{"role":"img","notes":"img (name)","keys":[]},"QrCode":{"role":"img","notes":"img named by `label`; without a label the code is decorative (hidden); never focusable","keys":[]},"Carousel":{"role":"region","notes":"region, roledescription carousel; each page a group `page i of n`","keys":["ArrowLeft/ArrowRight: previous/next page while focus is inside","Home/End: first/last page"]},"Tabs":{"role":"tablist","notes":"tablist / tab / tabpanel","keys":["Roving tab stop on the tabs","ArrowLeft/ArrowRight: previous/next tab, activating it (wraps)","Home/End: first/last tab","Tab: into the active panel","Each close glyph (labelled `closeTab`, revealed by keyboard focus too) is a button after its tab; the + button (labelled `newTab`) follows the last tab"]},"Segmented":{"role":"radiogroup","notes":"radiogroup (single) or toolbar of toggle buttons (multiple); `bar` = navigation of buttons, the selected one aria-current=page; `orientation: vertical` swaps the arrow keys to ArrowUp/ArrowDown; a `count` reads after the item label","keys":["Roving tab stop","ArrowLeft/ArrowRight (ArrowUp/ArrowDown): move focus (wraps)","Home/End: first/last","Space, Enter: toggle the focused item"]},"Accordion":{"role":"group","notes":"headers = buttons with aria-expanded controlling regions","keys":["Enter, Space: toggle the focused section","ArrowDown/ArrowUp: next/previous header","Home/End: first/last header"]},"Dialog":{"role":"dialog","notes":"dialog (modal)","keys":["Opening moves focus to the first focusable child (else the dialog)","Tab cycles inside the dialog (focus trap)","Escape: close when dismissible","Closing returns focus to the trigger"]},"Drawer":{"role":"dialog","notes":"dialog (modal)","keys":["As Dialog; a swipe toward the edge closes when dragToDismiss"]},"DockCard":{"role":"button","notes":"trigger = button named `label: title` ($a11y); the sheet is a Drawer (dialog, modal).","keys":["Enter, Space: open the sheet","As Drawer once open"]},"Popover":{"role":"dialog","notes":"dialog (non-modal)","keys":["Enter, Space on the trigger: open","Escape: close and return focus to the trigger","openOn hover also opens on trigger focus"]},"Tooltip":{"role":"tooltip","notes":"tooltip describing its anchor","keys":["Shows on hover AND keyboard focus of the anchor (after the platform delay); Escape hides"]},"Menu":{"role":"menu","notes":"menu / menuitem / menuitemcheckbox / group / separator; `openOn: contextmenu` opens at the pointer","keys":["Enter, Space, ArrowDown on the trigger: open on the first item; ArrowUp: open on the last","Shift+F10 or the Menu key on the focused child (contextmenu): open at the child","ArrowDown/ArrowUp: next/previous item (wraps, skips disabled)","Home/End: first/last item","Enter, Space: run the item (a checkbox item toggles and stays open)","ArrowRight on a submenu: open it; ArrowLeft or Escape inside: close it","A searchable submenu opens with its filter input focused: typing filters, ArrowDown/ArrowUp move the active row, Enter picks it, ArrowLeft with the caret at the start or Escape closes it","Escape: close and return focus to the trigger","Typing a letter: the next item starting with it"]},"Toast":{"role":"status","notes":"status (polite); alert (assertive) for type error","keys":["Never takes focus on appear; Tab reaches its action and close","Escape on a focused toast: dismiss","Hover or focus pauses the duration timer"]},"Ring":{"role":"progressbar","notes":"progressbar (value 0..1 as percent)","keys":[]},"Spinner":{"role":"progressbar","notes":"progressbar (indeterminate) labelled `loading` by default","keys":[]},"VoiceWave":{"role":"img","notes":"img named by `label` (with the activity appended, e.g. `Voice, listening`); decorative (hidden) without a label; never focusable","keys":[]},"CallSurface":{"role":"group","notes":"group labelled by `name`; the wave is hidden, the caption a polite live region; mute and speaker are toggle buttons (aria-pressed), every round button labelled by its tooltip text","keys":["Tab reaches mute, speaker, end in order","Enter, Space: press"]},"Skeleton":{"role":"hidden","notes":"hidden (the parent announces busy)","keys":[]},"Table":{"role":"table","notes":"table (grid when selectable): columnheader with aria-sort, row with aria-selected","keys":["Enter, Space on a sortable header: cycle the sort (asc, desc)","Space on a row checkbox: toggle the row; on the header checkbox: select all","Enter on a focused row: rowPress","Tab moves through headers, checkboxes and cell controls"]},"Chart":{"role":"img","notes":"img with a generated summary (kind, series, ranges); a data table fallback for screen readers. The painter names it with `chartSummary` (series, min, max) and offers a data table fallback.","keys":["ArrowLeft/ArrowRight while focused: move the tooltip between categories"]},"Button":{"role":"button","notes":"button (aria-busy while loading); `hold`: still a button, Space/Enter key-down starts the hold, key-up ends it, Escape or blur cancels it","keys":["Enter, Space: press","A `submit` button submits the enclosing Form"]},"Link":{"role":"link","notes":"link","keys":["Enter: open / press"]},"Toggle":{"role":"button","notes":"button with aria-pressed","keys":["Enter, Space: toggle"]},"Form":{"role":"form","notes":"form","keys":["Enter in a single-line field: submit","A failed submit focuses the first invalid field and announces `invalidFields`"]},"Input":{"role":"textbox","notes":"textbox","keys":["Enter: submit (fires `submit`, submits the Form)"]},"Textarea":{"role":"textbox","notes":"textbox (multiline)","keys":["Enter: newline"]},"NumberField":{"role":"spinbutton","notes":"spinbutton (valuemin/valuemax/valuenow)","keys":["ArrowUp/ArrowDown: ± step (Shift: ×10)","PageUp/PageDown: ± 10 steps","Home/End: min/max","Enter or blur: commit and clamp"]},"Checkbox":{"role":"checkbox","notes":"checkbox","keys":["Space: toggle"]},"Radio":{"role":"radiogroup","notes":"radiogroup / radio","keys":["Roving tab stop on the checked option","ArrowDown/ArrowRight: next option, selecting it (wraps)","ArrowUp/ArrowLeft: previous option"]},"ChoiceTiles":{"role":"radiogroup","notes":"radiogroup of radio tiles (single) or a group of checkbox tiles (multiple); the picture is decorative, the label names the tile","keys":["Roving tab stop on the picked tile (the first when none)","ArrowRight/ArrowLeft, ArrowDown/ArrowUp: move focus (wraps); single: picks","Space, Enter: toggle the focused tile"]},"Switch":{"role":"switch","notes":"switch; the label (and description) first, the switch at the end; the whole row toggles","keys":["Space, Enter: toggle"]},"Slider":{"role":"slider","notes":"slider","keys":["ArrowRight/ArrowUp: + step; ArrowLeft/ArrowDown: - step","PageUp/PageDown: ± 10 steps","Home/End: min/max"]},"Select":{"role":"combobox","notes":"combobox + listbox / option","keys":["Enter, Space, ArrowDown: open on the selected option","ArrowDown/ArrowUp: move the active option; Home/End: first/last","Enter: choose (multiple: toggle and stay open)","Escape: close without change","Typing: jump to the next matching option; with `searchable`, typing filters, focus stays in the search field and arrows move the active option (aria-activedescendant)"]},"SearchList":{"role":"combobox","notes":"combobox (the input) controlling a listbox of options; the highlighted row = aria-activedescendant, the count a polite status","keys":["Focus stays in the input","ArrowDown/ArrowUp: move the highlighted row (no wrap, no animation)","Enter or Tab: pick the highlighted row (fires `select`)","Typing: filters; the top row is highlighted again"]},"ChipInput":{"role":"textbox","notes":"textbox with a list of removable chips","keys":["Enter or comma: add the typed entry","Backspace in an empty field: focus the last chip, again: remove it","ArrowLeft/ArrowRight: move between chips; Delete, Backspace: remove the focused chip","ArrowDown: open the suggestions (as Select)"]},"DatePicker":{"role":"combobox","notes":"combobox opening a dialog with a grid of days","keys":["Enter, Space, ArrowDown: open on the selected (else today's) day","Arrow keys: ± 1 day / ± 1 week","PageUp/PageDown: previous/next month (Shift: year)","Home/End: start/end of the week (locale week start)","Enter, Space: choose; Escape: close"]},"DateRangePicker":{"role":"combobox","notes":"as DatePicker; the second choice ends the range","keys":["As DatePicker; the first Enter sets the start, the second the end"]},"TimePicker":{"role":"combobox","notes":"combobox + listbox","keys":["As Select; typing `HH:mm` into the field commits on Enter or blur"]},"FileUpload":{"role":"button","notes":"button (the drop zone) + a list of files with remove buttons","keys":["Enter, Space on the drop zone: open the file picker","Tab reaches each file's remove button"]},"QrScanner":{"role":"img","notes":"img named by `label` (default `scanQrCode`); a decoded value is announced politely; without a host camera the label reads `cameraUnavailable`","keys":["None: scanning needs no key; the host's camera permission prompt is the platform's"]},"Composer":{"role":"textbox","notes":"textbox (multiline) + send button","keys":["Enter: submit; Shift+Enter: newline","Escape while busy: stop"]},"TreeGuides":{"role":"hidden","notes":"hidden (decorative; a Row part)","keys":[]},"Unknown":{"role":"group","notes":"group labelled `unknownComponent`","keys":[]},"Collapsible":{"role":"group","notes":"trigger = button with aria-expanded. The trigger is a button with aria-expanded = open ($a11y).","keys":["Enter, Space: toggle"]},"Pagination":{"role":"navigation","notes":"navigation of two buttons and a status. Labelled `pagination`; previous/next buttons and a status labelled `pageOf` ($a11y).","keys":["Enter, Space on previous/next"]},"Breadcrumb":{"role":"navigation","notes":"navigation (breadcrumb); the last item aria-current=page. Labelled `breadcrumb`; the last item aria-current=page ($a11y).","keys":["Tab through the links; Enter: select"]},"Stepper":{"role":"list","notes":"list; the current step aria-current=step. Each step a listitem labelled `stepDone`/`stepCurrent`/`stepUpcoming`; the current one aria-current=step ($a11y).","keys":[]},"Rating":{"role":"group","notes":"A group of star buttons: each labelled `ratingStar` (\"3 of 5\"), the chosen one aria-pressed; read-only stars leave the tree and the group is an img labelled `ratingValue` ($a11y).","keys":["Tab through the stars; Enter, Space: rate"]},"AlertDialog":{"role":"alertdialog","notes":"alertdialog. The cancel button takes focus on open (`autoFocus`, $a11y).","keys":["Opening focuses the cancel button","Escape: cancel; clicks outside are ignored"]},"Sidebar":{"role":"none","notes":"navigation landmark (the sidebar slot) beside main. Layout only; its `sidebar` part is a navigation landmark, its `main` part the main landmark ($a11y).","keys":[]},"AppBar":{"role":"banner","notes":"banner (heading level 1 = the title). The title is heading level 1; the back button is labelled `back` ($a11y).","keys":["Enter, Space on back"]},"Row":{"role":"button","notes":"button (aria-selected when selected) when pressable, a group of its texts otherwise ($a11y); the guides are decorative","keys":["Enter, Space: press (pressable only)"]},"MessageBubble":{"role":"group","notes":"group labelled by `author`, else `time`; the delivery icon is labelled `sending`/`sent`/`read`","keys":[]},"Trace":{"role":"none","notes":"Layout only: a column of TraceItem lines.","keys":[]},"TraceItem":{"role":"group","notes":"A collapsible line is a button with aria-expanded = open ($a11y); a plain line is text; the icon is decorative.","keys":["Enter, Space: toggle (collapsible only)"]},"Plan":{"role":"group","notes":"group labelled by `title`; the steps are TraceItem lines; the progress bar is a progressbar","keys":["Tab reaches Decline, Approve (proposed) or Stop (running)"]},"Chip":{"role":"button","notes":"button with aria-pressed (= selected) when pressable, text otherwise ($a11y); remove = button labelled `remove`","keys":["Enter, Space: press; Delete, Backspace: remove when removable"]},"Page":{"role":"none","notes":"Layout only: its header is the AppBar (banner, the title heading level 1), its body the main landmark ($a11y).","keys":["Enter, Space on back"]},"Toolbar":{"role":"group","notes":"group of controls in reading order; the trailing action last","keys":[]},"SplitView":{"role":"none","notes":"Layout only: the `list` part is a navigation landmark, the `detail` part the main landmark; the phone back button is labelled `back` ($a11y).","keys":["Enter, Space on back"]},"FieldGroup":{"role":"group","notes":"group of fields; each field keeps its own label","keys":[]},"FormActions":{"role":"group","notes":"group: Cancel, then the submit (the last in focus order)","keys":["Enter, Space on a button"]},"StatTile":{"role":"group","notes":"group labelled by its label; the sparkline is an img with the generated summary","keys":[]}}}"####;
78
+ pub const A11Y_JSON: &str = r####"{"roles":["alert","alertdialog","banner","button","checkbox","combobox","dialog","document","form","group","heading","hidden","img","link","list","listitem","main","menu","meter","navigation","none","progressbar","radio","radiogroup","region","separator","slider","spinbutton","status","switch","tablist","table","text","textbox","tooltip","tree","treeitem"],"rules":["Every interactive node is reachable by Tab in reading order (tree order; a node's resolved `direction` flips its rows) and shows a focus ring only for keyboard focus (`:focus-visible`, recipe state `focus`).","A field's label, description and every error are linked to it (aria-labelledby / aria-describedby, contentDescription, accessibilityLabel/Hint); an error has the id `<node id>.error`.","`visible: false` removes the node from the accessibility tree; `visibility: hidden` hides it too; `display: none` likewise.","Icon-only buttons and standalone Icons take their `label` (or `accessibility.label`) as the accessible name; decorative icons are hidden.","`accessibility.label`/`description` on any node override the computed name/description.","Animations honour reduced motion: with `prefers-reduced-motion: reduce` transitions run at 0 ms, the Spinner/Skeleton shimmer stops and every style `animation` shows its rest keyframe.","Text and accessible names follow the NODE's direction (an inner `direction` box included): reading order, `textAlign` start/end and the bidi paragraph direction."],"commands":{"focus":{"args":["id"],"description":"Moves keyboard focus to the node with this id (the first focusable descendant of a non-focusable node); ignored when it is not rendered."},"announce":{"args":["text","live"],"description":"Speaks the text through the platform's live region (`polite` waits, `assertive` interrupts) without showing anything."},"scrollIntoView":{"args":["id"],"description":"Scrolls the nearest scrolling ancestor (List, ScrollArea, the surface) so the node is visible."},"scrollToIndex":{"args":["id","index","align"],"description":"Scrolls the List or Table `id` so its item (data index, before any local sort) is in view: `align` start | center | end | nearest (default), the pinned section header subtracted; a windowed list renders it first (src/list.ts scrollOffsetForIndex)."}},"components":{"Box":{"role":"none","notes":"group (button when pressable). A pressable Box is a button.","keys":["Enter, Space: press (pressable only)"]},"Stack":{"role":"none","notes":"none (layout only)","keys":[]},"Grid":{"role":"none","notes":"none (layout only)","keys":[]},"Card":{"role":"group","notes":"group labelled by its title","keys":[]},"Separator":{"role":"separator","notes":"separator","keys":[]},"ScrollArea":{"role":"region","notes":"region (scrollable, focusable when it overflows)","keys":["Arrow keys, PageUp/PageDown, Home/End scroll while focused"]},"Section":{"role":"group","notes":"group; the header a heading (level 3) with the caption and count in its name, or a button with aria-expanded when collapsible; the rows a list (a tree when `tree`) of listitems","keys":["Enter, Space: fold when collapsible"]},"Group":{"role":"group","notes":"group labelled by its title, described by its footer","keys":[]},"Heading":{"role":"heading","notes":"heading (level from h1–h4)","keys":[]},"Kbd":{"role":"text","notes":"text (the shortcut spelled out)","keys":[]},"Label":{"role":"text","notes":"label of the control named by `for`","keys":["Pressing it focuses that control"]},"Badge":{"role":"text","notes":"text (status)","keys":[]},"Alert":{"role":"alert","notes":"alert for warning/error, status otherwise. alert for warning/error, status otherwise ($a11y).","keys":[]},"EmptyState":{"role":"status","notes":"status; the action = button","keys":["Enter, Space on the action"]},"Progress":{"role":"progressbar","notes":"progressbar (valuenow/valuemax, labelled by its label)","keys":[]},"Meter":{"role":"meter","notes":"meter (value of max, labelled by its label)","keys":[]},"Sparkline":{"role":"img","notes":"img with a generated summary (first, last, min, max). The Chart painter names it with `sparklineSummary` (first, last, min, max).","keys":[]},"List":{"role":"list","notes":"list; each item a listitem with its position in the WHOLE list (aria-setsize/posinset, also when windowed); a section header is a heading (level 3) and stays first in reading order while pinned","keys":["Tab moves through the rows' controls; the list itself is one scroll region"]},"Resizable":{"role":"group","notes":"group; each handle a focusable separator (aria-orientation = the line's, valuenow = the size of the panel before it, valuemin/max = its limits, controls = that panel), named `$string.resize`","keys":["Arrow keys on a handle: move it on screen by 10 points (Left/Right horizontal, Up/Down vertical; rtl: ArrowRight shrinks the first panel)","Home / End: the panel before the handle to its min / max","Enter: collapse or reopen a collapsible panel"]},"Text":{"role":"text","notes":"text (a live region when `live` is not off)","keys":[]},"Markdown":{"role":"document","notes":"document fragment (headings, lists, links, tables keep their roles)","keys":["Tab moves through the links"]},"CodeBlock":{"role":"region","notes":"region (code), copy = button","keys":["Tab reaches the copy button; Enter, Space: copy and announce `copied`"]},"Image":{"role":"img","notes":"img (alt = name; decorative when alt is empty)","keys":[]},"Icon":{"role":"img","notes":"img when labelled, hidden otherwise","keys":[]},"Video":{"role":"group","notes":"video with the platform's controls","keys":["Space: play/pause; ArrowLeft/ArrowRight: seek 5 s"]},"AudioPlayer":{"role":"group","notes":"audio with the platform's controls","keys":["Space: play/pause; ArrowLeft/ArrowRight: seek 5 s"]},"Avatar":{"role":"img","notes":"img (name)","keys":[]},"QrCode":{"role":"img","notes":"img named by `label`; without a label the code is decorative (hidden); never focusable","keys":[]},"Carousel":{"role":"region","notes":"region, roledescription carousel; each page a group `page i of n`; the counter `$string.pageCounter` is hidden (each page already says page i of n); each thumbnail a button `page i of n`, aria-current on the current one","keys":["ArrowLeft/ArrowRight: previous/next page while focus is inside","Home/End: first/last page"]},"Mosaic":{"role":"group","notes":"group labelled `label`; each tile a button named its picture's `alt`; the `+N` tile reads `alt` then `+N` ($string.morePictures).","keys":["Tab through the tiles; Enter, Space: select"]},"Tabs":{"role":"tablist","notes":"tablist / tab / tabpanel","keys":["Roving tab stop on the tabs","ArrowLeft/ArrowRight: previous/next tab, activating it (wraps)","Home/End: first/last tab","Tab: into the active panel","Each close glyph (labelled `closeTab`, revealed by keyboard focus too) is a button after its tab; the + button (labelled `newTab`) follows the last tab"]},"Segmented":{"role":"radiogroup","notes":"radiogroup (single) or toolbar of toggle buttons (multiple); `bar` = navigation of buttons, the selected one aria-current=page; `orientation: vertical` swaps the arrow keys to ArrowUp/ArrowDown; a `count` reads after the item label","keys":["Roving tab stop","ArrowLeft/ArrowRight (ArrowUp/ArrowDown): move focus (wraps)","Home/End: first/last","Space, Enter: toggle the focused item"]},"Accordion":{"role":"group","notes":"headers = buttons with aria-expanded controlling regions","keys":["Enter, Space: toggle the focused section","ArrowDown/ArrowUp: next/previous header","Home/End: first/last header"]},"Dialog":{"role":"dialog","notes":"dialog (modal)","keys":["Opening moves focus to the first focusable child (else the dialog)","Tab cycles inside the dialog (focus trap)","Escape: close when dismissible","Closing returns focus to the trigger"]},"Drawer":{"role":"dialog","notes":"dialog (modal)","keys":["As Dialog; a swipe toward the edge closes when dragToDismiss"]},"DockCard":{"role":"button","notes":"trigger = button named `label: title` ($a11y); the sheet is a Drawer (dialog, modal).","keys":["Enter, Space: open the sheet","As Drawer once open"]},"Popover":{"role":"dialog","notes":"dialog (non-modal)","keys":["Enter, Space on the trigger: open","Escape: close and return focus to the trigger","openOn hover also opens on trigger focus"]},"Tooltip":{"role":"tooltip","notes":"tooltip describing its anchor","keys":["Shows on hover AND keyboard focus of the anchor (after the platform delay); Escape hides"]},"Menu":{"role":"menu","notes":"menu / menuitem / menuitemcheckbox / group / separator; `openOn: contextmenu` opens at the pointer","keys":["Enter, Space, ArrowDown on the trigger: open on the first item; ArrowUp: open on the last","Shift+F10 or the Menu key on the focused child (contextmenu): open at the child","ArrowDown/ArrowUp: next/previous item (wraps, skips disabled)","Home/End: first/last item","Enter, Space: run the item (a checkbox item toggles and stays open)","ArrowRight on a submenu: open it; ArrowLeft or Escape inside: close it","A searchable submenu opens with its filter input focused: typing filters, ArrowDown/ArrowUp move the active row, Enter picks it, ArrowLeft with the caret at the start or Escape closes it","Escape: close and return focus to the trigger","Typing a letter: the next item starting with it"]},"Toast":{"role":"status","notes":"status (polite); alert (assertive) for type error","keys":["Never takes focus on appear; Tab reaches its action and close","Escape on a focused toast: dismiss","Hover or focus pauses the duration timer"]},"Ring":{"role":"progressbar","notes":"progressbar (value 0..1 as percent)","keys":[]},"Spinner":{"role":"progressbar","notes":"progressbar (indeterminate) labelled `loading` by default","keys":[]},"VoiceWave":{"role":"img","notes":"img named by `label` (with the activity appended, e.g. `Voice, listening`); decorative (hidden) without a label; never focusable","keys":[]},"CallSurface":{"role":"group","notes":"group labelled by `name`; the wave is hidden, the caption a polite live region; mute and speaker are toggle buttons (aria-pressed), every round button labelled by its tooltip text","keys":["Tab reaches mute, speaker, end in order","Enter, Space: press"]},"Skeleton":{"role":"hidden","notes":"hidden (the parent announces busy)","keys":[]},"Table":{"role":"table","notes":"table (grid when selectable): columnheader with aria-sort, row with aria-selected","keys":["Enter, Space on a sortable header: cycle the sort (asc, desc)","Space on a row checkbox: toggle the row; on the header checkbox: select all","Enter on a focused row: rowPress","Tab moves through headers, checkboxes and cell controls"]},"Chart":{"role":"img","notes":"img with a generated summary (kind, series, ranges); a data table fallback for screen readers. The painter names it with `chartSummary` (series, min, max) and offers a data table fallback.","keys":["ArrowLeft/ArrowRight while focused: move the tooltip between categories"]},"Button":{"role":"button","notes":"button (aria-busy while loading); `hold`: still a button, Space/Enter key-down starts the hold, key-up ends it, Escape or blur cancels it","keys":["Enter, Space: press","A `submit` button submits the enclosing Form"]},"Link":{"role":"link","notes":"link","keys":["Enter: open / press"]},"Toggle":{"role":"button","notes":"button with aria-pressed","keys":["Enter, Space: toggle"]},"Form":{"role":"form","notes":"form","keys":["Enter in a single-line field: submit","A failed submit focuses the first invalid field and announces `invalidFields`"]},"Input":{"role":"textbox","notes":"textbox","keys":["Enter: submit (fires `submit`, submits the Form)"]},"Textarea":{"role":"textbox","notes":"textbox (multiline)","keys":["Enter: newline"]},"NumberField":{"role":"spinbutton","notes":"spinbutton (valuemin/valuemax/valuenow)","keys":["ArrowUp/ArrowDown: ± step (Shift: ×10)","PageUp/PageDown: ± 10 steps","Home/End: min/max","Enter or blur: commit and clamp"]},"Checkbox":{"role":"checkbox","notes":"checkbox","keys":["Space: toggle"]},"Radio":{"role":"radiogroup","notes":"radiogroup / radio","keys":["Roving tab stop on the checked option","ArrowDown/ArrowRight: next option, selecting it (wraps)","ArrowUp/ArrowLeft: previous option"]},"ChoiceTiles":{"role":"radiogroup","notes":"radiogroup of radio tiles (single) or a group of checkbox tiles (multiple); the picture is decorative, the label names the tile","keys":["Roving tab stop on the picked tile (the first when none)","ArrowRight/ArrowLeft, ArrowDown/ArrowUp: move focus (wraps); single: picks","Space, Enter: toggle the focused tile"]},"Switch":{"role":"switch","notes":"switch; the label (and description) first, the switch at the end; the whole row toggles","keys":["Space, Enter: toggle"]},"Slider":{"role":"slider","notes":"slider","keys":["ArrowRight/ArrowUp: + step; ArrowLeft/ArrowDown: - step","PageUp/PageDown: ± 10 steps","Home/End: min/max"]},"Select":{"role":"combobox","notes":"combobox + listbox / option","keys":["Enter, Space, ArrowDown: open on the selected option","ArrowDown/ArrowUp: move the active option; Home/End: first/last","Enter: choose (multiple: toggle and stay open)","Escape: close without change","Typing: jump to the next matching option; with `searchable`, typing filters, focus stays in the search field and arrows move the active option (aria-activedescendant)"]},"SearchList":{"role":"combobox","notes":"combobox (the input) controlling a listbox of options; the highlighted row = aria-activedescendant, the count a polite status","keys":["Focus stays in the input","ArrowDown/ArrowUp: move the highlighted row (no wrap, no animation)","Enter or Tab: pick the highlighted row (fires `select`)","Typing: filters; the top row is highlighted again"]},"ChipInput":{"role":"textbox","notes":"textbox with a list of removable chips","keys":["Enter or comma: add the typed entry","Backspace in an empty field: focus the last chip, again: remove it","ArrowLeft/ArrowRight: move between chips; Delete, Backspace: remove the focused chip","ArrowDown: open the suggestions (as Select)"]},"DatePicker":{"role":"combobox","notes":"combobox opening a dialog with a grid of days","keys":["Enter, Space, ArrowDown: open on the selected (else today's) day","Arrow keys: ± 1 day / ± 1 week","PageUp/PageDown: previous/next month (Shift: year)","Home/End: start/end of the week (locale week start)","Enter, Space: choose; Escape: close"]},"DateRangePicker":{"role":"combobox","notes":"as DatePicker; the second choice ends the range","keys":["As DatePicker; the first Enter sets the start, the second the end"]},"TimePicker":{"role":"combobox","notes":"combobox + listbox","keys":["As Select; typing `HH:mm` into the field commits on Enter or blur"]},"FileUpload":{"role":"button","notes":"button (the drop zone) + a list of files with remove buttons","keys":["Enter, Space on the drop zone: open the file picker","Tab reaches each file's remove button"]},"QrScanner":{"role":"img","notes":"img named by `label` (default `scanQrCode`); a decoded value is announced politely; without a host camera the label reads `cameraUnavailable`","keys":["None: scanning needs no key; the host's camera permission prompt is the platform's"]},"Composer":{"role":"textbox","notes":"textbox (multiline) + send button","keys":["Enter: submit; Shift+Enter: newline","Escape while busy: stop"]},"TreeGuides":{"role":"hidden","notes":"hidden (decorative; a Row part)","keys":[]},"Unknown":{"role":"group","notes":"group labelled `unknownComponent`","keys":[]},"Collapsible":{"role":"group","notes":"trigger = button with aria-expanded. The trigger is a button with aria-expanded = open ($a11y).","keys":["Enter, Space: toggle"]},"Pagination":{"role":"navigation","notes":"navigation of two buttons and a status. Labelled `pagination`; previous/next buttons and a status labelled `pageOf` ($a11y).","keys":["Enter, Space on previous/next"]},"Breadcrumb":{"role":"navigation","notes":"navigation (breadcrumb); the last item aria-current=page. Labelled `breadcrumb`; the last item aria-current=page ($a11y).","keys":["Tab through the links; Enter: select"]},"Outline":{"role":"navigation","notes":"navigation labelled by `caption`; each row a link (aria-current=location on the active row) named `title` then the count; press fires `select {id}`.","keys":["Tab through the rows; Enter, Space: select"]},"Stepper":{"role":"list","notes":"list; the current step aria-current=step. Each step a listitem labelled `stepDone`/`stepCurrent`/`stepUpcoming`; the current one aria-current=step ($a11y).","keys":[]},"Rating":{"role":"group","notes":"A group of star buttons: each labelled `ratingStar` (\"3 of 5\"), the chosen one aria-pressed; read-only stars leave the tree and the group is an img labelled `ratingValue` ($a11y).","keys":["Tab through the stars; Enter, Space: rate"]},"AlertDialog":{"role":"alertdialog","notes":"alertdialog. The cancel button takes focus on open (`autoFocus`, $a11y).","keys":["Opening focuses the cancel button","Escape: cancel; clicks outside are ignored"]},"Sidebar":{"role":"none","notes":"navigation landmark (the sidebar slot) beside main. Layout only; its `sidebar` part is a navigation landmark, its `main` part the main landmark ($a11y).","keys":[]},"AppBar":{"role":"banner","notes":"banner (heading level 1 = the title). The title is heading level 1; the back button is labelled `back` ($a11y).","keys":["Enter, Space on back"]},"Row":{"role":"button","notes":"button (aria-selected when selected) when pressable, a group of its texts otherwise ($a11y); the guides are decorative","keys":["Enter, Space: press (pressable only)"]},"MessageBubble":{"role":"group","notes":"group labelled by `author`, else `time`; the delivery icon is labelled `sending`/`sent`/`read`","keys":[]},"Trace":{"role":"none","notes":"Layout only: a column of TraceItem lines.","keys":[]},"TraceItem":{"role":"group","notes":"A collapsible line is a button with aria-expanded = open ($a11y); a plain line is text; the icon is decorative.","keys":["Enter, Space: toggle (collapsible only)"]},"Plan":{"role":"group","notes":"group labelled by `title`; the steps are TraceItem lines; the progress bar is a progressbar","keys":["Tab reaches Decline, Approve (proposed) or Stop (running)"]},"Chip":{"role":"button","notes":"button with aria-pressed (= selected) when pressable, text otherwise ($a11y); remove = button labelled `remove`","keys":["Enter, Space: press; Delete, Backspace: remove when removable"]},"Page":{"role":"none","notes":"Layout only: its header is the AppBar (banner, the title heading level 1), its body the main landmark ($a11y).","keys":["Enter, Space on back"]},"Toolbar":{"role":"group","notes":"group of controls in reading order; the trailing action last","keys":[]},"SplitView":{"role":"none","notes":"Layout only: the `list` part is a navigation landmark, the `detail` part the main landmark; the phone back button is labelled `back` ($a11y).","keys":["Enter, Space on back"]},"FieldGroup":{"role":"group","notes":"group of fields; each field keeps its own label","keys":[]},"FormActions":{"role":"group","notes":"group: Cancel, then the submit (the last in focus order)","keys":["Enter, Space on a button"]},"StatTile":{"role":"group","notes":"group labelled by its label; the sparkline is an img with the generated summary","keys":[]}}}"####;
79
79
  pub const LAYOUT_JSON: &str = r####"{"windowThreshold":50,"windowOverscan":5,"resizeStep":10,"panelMin":10,"resizeHandleHit":8,"fieldIntrinsicWidth":160,"mediaIntrinsicWidth":320,"mediaAspectRatio":1.7777778,"treeGuideColumn":14,"treeGuideRadius":3,"treeGuideBridge":1,"pendingDelayMs":150,"skeletonPulseMs":1600,"skeletonOpacityLow":0.45,"skeletonOpacityHigh":0.9,"skeletonReducedOpacity":0.6,"searchListFade":24}"####;
80
80
  pub const LIMITS_JSON: &str = r####"{"maxComponents":20000,"maxDepth":48,"maxMessageBytes":4194304,"maxTemplateItems":10000,"maxPointerBytes":1024,"maxPointerSegments":64}"####;