@reqvire-org/ads 0.5.7 → 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design-foundation.mjs +2 -2
- package/dist/design-inputs.mjs +5 -1
- package/dist/emit/foundation-sheet.mjs +2 -0
- package/dist/foundation-macro.d.mts +5 -0
- package/dist/lowering-emitter.mjs +1 -2
- package/dist/lowering-layer.mjs +2 -3
- package/dist/recipe-model.mjs +2 -1
- package/dist/region-lowering.mjs +16 -7
- package/dist/showcase/client.bundle.js +25 -25
- package/dist/showcase/http-client.bundle.js +1 -1
- package/dist/showcase/ui/ui.css +1 -1
- package/dist/showcase/ui/ui.js +1 -1
- package/dist/skills/ads-designer/references/recipes.md +4 -3
- package/dist/skills/ads-import/references/recipes.md +4 -3
- package/dist/skills/ads-port/references/recipes.md +4 -3
- package/docs/CHANGELOG.md +32 -18
- package/docs/GUIDE.md +5 -0
- package/docs/LANGUAGE.md +4 -4
- package/package.json +1 -1
package/dist/showcase/ui/ui.js
CHANGED
|
@@ -162,4 +162,4 @@ var n,t,i,r,u,f,o,e,l,c,a,s,h={},p=[],v=/^m(i|n|o|s|text|space)$/,y=Array.isArra
|
|
|
162
162
|
`,tokens:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m8 2 6 3-6 3-6-3 6-3Zm-6 6 6 3 6-3M2 11l6 3 6-3"/></svg>
|
|
163
163
|
`,warning:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m8 2 7 12H1L8 2Z"/><path d="M8 6v3M8 11v.5"/></svg>
|
|
164
164
|
`}[marks2[phase]]}},void 0,!1,void 0,this)},void 0,!1,void 0,this),u2(Popover,{id:id("status-details"),width:"wide",flush:!0,children:u2("div",{className:"ux-status-details ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1nvpqck",children:[u2("div",{id:id("status"),className:"ux-status-message ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1nvpqck",role:error?"alert":"status","data-error":String(error),"data-error-category":error?failure?.category:void 0,"data-error-code":error?failure?.code:void 0,"data-resource-uri":error?failure?.resourceUri:void 0,children:u2(PreviewMessageContent,{message:text},void 0,!1,void 0,this)},void 0,!1,void 0,this),(warmup||error)&&u2("div",{className:"ux-status-footer ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1b8d50m_1i51wq9 ads-ui-atm_1wf0rum_f0eiw9 ads-ui-atm_h5r38d_f0eiw9 ads-ui-atm_12itgy1_z9e1cl ads-ui-atm_1o7ozsh_z9e1cl ads-ui-atm_1cm89v7_1ohcsmr ads-ui-atm_prxrza_nqa18y ads-ui-atm_18iq3ml_idpfg4 ads-ui-atm_1dwkn0r_glywfm ads-ui-atm_1xg8yzr_idpfg4 ads-ui-atm_9uxezr_glywfm ads-ui-atm_2w1kdk_idpfg4 ads-ui-atm_1hlx6az_glywfm ads-ui-atm_82yulm_1osqo2v ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1p5wnih_idpfg4 ads-ui-atm_1n58fz4_rhlbdi ads-ui-atm_1emi9br_1m800s6 ads-ui-atm_lxedld_1phvqmz ads-ui-atm_1tafpql_el7ql6 ads-ui-atm_3ze007_1mqbmot ads-ui-atm_1tc9uc6_kb7nvz ads-ui-atm_z461fm_kb7nvz ads-ui-atm_17j1bxo_idpfg4 ads-ui-atm_1mp4j1u_idpfg4",children:[warmup&&u2("p",{id:id("warmup-status"),className:"ux-status-warmup",children:warmup},void 0,!1,void 0,this),error&&u2("div",{id:id("preview-error"),className:"preview-retry ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_rlc0ar_h9n0ih ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_ei944y_1osqo2v",children:u2(ToolbarButton,{id:id("retry-preview"),label:"Retry preview",variant:"outlined",onClick:onRetry},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function SpecimenPage({title,description:text,searchable=!1,onSearch,children}){return u2("section",{className:"ux-specimen-page ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_tv4kfj ads-ui-atm_1wnhlda_an4usv ads-ui-atm_1wf0rum_2sml4p ads-ui-atm_h5r38d_2sml4p ads-ui-atm_12itgy1_2sml4p ads-ui-atm_1o7ozsh_2sml4p ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1c8rstr ads-ui-atm_1tf621q_1d7pcef ads-ui-atm_1jm3u9r_el7ql6","aria-label":title,children:[u2("header",{className:"ux-specimen-header ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l",children:[u2("div",{className:"ux-specimen-heading ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_1i51wq9 ads-ui-atm_ei944y_1osqo2v ads-ui-atm_174y7yc_moeofi ads-ui-atm_20ddh5_2iq75o ads-ui-atm_1smpjqa_15wi45 ads-ui-atm_8jreg0_nqa18y ads-ui-atm_jvk9xr_1kw7nm4 ads-ui-atm_cpgr4u_v2br90 ads-ui-atm_1dp00g7_rhlbdi ads-ui-atm_1lo3mq2_1m800s6 ads-ui-atm_1dj1saw_1phvqmz ads-ui-atm_1e4p12g_el7ql6 ads-ui-atm_t0nv0d_hnzbge ads-ui-atm_1hj762t_an4usv ads-ui-atm_rlvj2v_1627y59 ads-ui-atm_fhxb6m_1627y59 ads-ui-atm_5h6ue9_1627y59 ads-ui-atm_w6xhz0_1627y59 ads-ui-atm_1xd67w_usvi9m ads-ui-atm_56koxp_2bgldd ads-ui-atm_1p178b2_jub8wz ads-ui-atm_10qem9s_idpfg4 ads-ui-atm_pzjzfy_1h68f9y ads-ui-atm_1frnja5_dcxj7s ads-ui-atm_1nmshrk_dcxj7s ads-ui-atm_ciimy2_1byhj8 ads-ui-atm_yiuku5_1byhj8 ads-ui-atm_xbefe7_1ohcsmr ads-ui-atm_f5te1_1ohcsmr ads-ui-atm_w5mv8j_1ohcsmr ads-ui-atm_19edguz_1ohcsmr ads-ui-atm_176lrki_evuusw ads-ui-atm_1sws9ke_idpfg4",children:[u2("h1",{className:"ads-ui-atm_1wnhlda_1r1dq30 ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1heflvk ads-ui-atm_1tf621q_1l8tyb9 ads-ui-atm_1jm3u9r_1d1fc98 ads-ui-atm_1imonbj_idpfg4",children:title},void 0,!1,void 0,this),searchable&&u2("input",{className:"ux-specimen-search",type:"search","aria-label":"Find token",placeholder:"Find a token",onInput:(event)=>onSearch?.(event.currentTarget.value)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),text&&u2("p",{className:"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_ei944y_1agt12q ads-ui-atm_1wnhlda_1mqbmot ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_1imonbj_idpfg4",children:text},void 0,!1,void 0,this)]},void 0,!0,void 0,this),u2("div",{className:"ux-specimen-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_tv4kfj","data-slot":"content",children},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function SpecimenSection({title,id,description:text,arrangement="stack",width="full",children}){return u2("section",{className:"ux-specimen-section ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1w0p0wo",id,children:[u2("h2",{className:"ads-ui-atm_1wnhlda_1r1dq30 ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1ye8rbs ads-ui-atm_1tf621q_jnvr1u ads-ui-atm_1jm3u9r_1d1fc98 ads-ui-atm_1imonbj_idpfg4",children:title},void 0,!1,void 0,this),text&&u2("p",{className:"ads-ui-atm_1wnhlda_1mqbmot ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_1imonbj_idpfg4",children:text},void 0,!1,void 0,this),u2("div",{className:arrangement==="row"?width==="full"?"ux-specimen-section-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_v2br90 ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1osqo2v":width==="medium"?"ux-specimen-section-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_v2br90 ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1vbofhn":"ux-specimen-section-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_v2br90 ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1nc88z9":arrangement==="row-center"?width==="full"?"ux-specimen-section-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1osqo2v":width==="medium"?"ux-specimen-section-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1vbofhn":"ux-specimen-section-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1nc88z9":arrangement==="row-end"?width==="full"?"ux-specimen-section-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_h9n0ih ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1osqo2v":width==="medium"?"ux-specimen-section-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_h9n0ih ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1vbofhn":"ux-specimen-section-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_h9n0ih ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1nc88z9":width==="full"?"ux-specimen-section-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_z99rxc":width==="medium"?"ux-specimen-section-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1by8x7b":"ux-specimen-section-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_mt9npp","data-slot":"content",children},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function SpecimenTable({label,columns,rows}){return u2("div",{className:"ads-ui-atm_1p75dy7_1qrv8r3 ads-ui-atm_833615_idpfg4 ads-ui-atm_c9yqdj_rhlbdi ads-ui-atm_1oi4l4i_1m800s6 ads-ui-atm_1aeds48_1phvqmz ads-ui-atm_1nr13m_el7ql6 ads-ui-atm_y60jgy_an4usv ads-ui-atm_1k86d0k_cfaqiv",tabIndex:0,"aria-label":label,children:u2("table",{className:"ux-specimen-table","aria-label":label,children:[u2("thead",{children:u2("tr",{children:columns.map((column)=>u2(TableCell,{role:"column",align:column.align,children:column.label},column.label,!1,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),u2("tbody",{children:rows.map((row)=>u2("tr",{"data-key":row.key,children:columns.map((column,index)=>u2(TableCell,{role:column.rowHeader===!0?"row":"cell",align:column.align,children:column.sample===!0?u2("div",{"data-slot":"sample","data-key":row.key,"aria-hidden":"true"},void 0,!1,void 0,this):row.cells[index]},index,!1,void 0,this))},row.key,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function TableCell({role,align="start",children}){if(role==="column")return u2("th",{scope:"col",className:align==="center"?"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_1wf0rum_5eyon5 ads-ui-atm_h5r38d_5eyon5 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30 ads-ui-atm_1cm89v7_idpfg4 ads-ui-atm_prxrza_glywfm ads-ui-atm_18iq3ml_1ohcsmr ads-ui-atm_1dwkn0r_nqa18y ads-ui-atm_1xg8yzr_idpfg4 ads-ui-atm_9uxezr_glywfm ads-ui-atm_2w1kdk_idpfg4 ads-ui-atm_1hlx6az_glywfm ads-ui-atm_1wnhlda_1mqbmot ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_ut27rk_1h6ojuz ads-ui-atm_n3jkfn_nkobfv":"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_1wf0rum_5eyon5 ads-ui-atm_h5r38d_5eyon5 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30 ads-ui-atm_1cm89v7_idpfg4 ads-ui-atm_prxrza_glywfm ads-ui-atm_18iq3ml_1ohcsmr ads-ui-atm_1dwkn0r_nqa18y ads-ui-atm_1xg8yzr_idpfg4 ads-ui-atm_9uxezr_glywfm ads-ui-atm_2w1kdk_idpfg4 ads-ui-atm_1hlx6az_glywfm ads-ui-atm_1wnhlda_1mqbmot ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_n3jkfn_nkobfv ads-ui-atm_ut27rk_v2br90",children},void 0,!1,void 0,this);if(role==="row")return u2("th",{scope:"row",className:align==="center"?"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_1wf0rum_5eyon5 ads-ui-atm_h5r38d_5eyon5 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30 ads-ui-atm_1cm89v7_idpfg4 ads-ui-atm_prxrza_glywfm ads-ui-atm_18iq3ml_1ohcsmr ads-ui-atm_1dwkn0r_nqa18y ads-ui-atm_1xg8yzr_idpfg4 ads-ui-atm_9uxezr_glywfm ads-ui-atm_2w1kdk_idpfg4 ads-ui-atm_1hlx6az_glywfm ads-ui-atm_1wnhlda_1r1dq30 ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_1d1fc98 ads-ui-atm_ut27rk_1h6ojuz ads-ui-atm_n3jkfn_nkobfv":"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_1wf0rum_5eyon5 ads-ui-atm_h5r38d_5eyon5 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30 ads-ui-atm_1cm89v7_idpfg4 ads-ui-atm_prxrza_glywfm ads-ui-atm_18iq3ml_1ohcsmr ads-ui-atm_1dwkn0r_nqa18y ads-ui-atm_1xg8yzr_idpfg4 ads-ui-atm_9uxezr_glywfm ads-ui-atm_2w1kdk_idpfg4 ads-ui-atm_1hlx6az_glywfm ads-ui-atm_1wnhlda_1r1dq30 ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_1d1fc98 ads-ui-atm_n3jkfn_nkobfv ads-ui-atm_ut27rk_v2br90",children},void 0,!1,void 0,this);return u2("td",{className:align==="center"?"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_1wf0rum_5eyon5 ads-ui-atm_h5r38d_5eyon5 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30 ads-ui-atm_1cm89v7_idpfg4 ads-ui-atm_prxrza_glywfm ads-ui-atm_18iq3ml_1ohcsmr ads-ui-atm_1dwkn0r_nqa18y ads-ui-atm_1xg8yzr_idpfg4 ads-ui-atm_9uxezr_glywfm ads-ui-atm_2w1kdk_idpfg4 ads-ui-atm_1hlx6az_glywfm ads-ui-atm_1wnhlda_an4usv ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_ut27rk_1h6ojuz ads-ui-atm_n3jkfn_nkobfv":"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_1wf0rum_5eyon5 ads-ui-atm_h5r38d_5eyon5 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30 ads-ui-atm_1cm89v7_idpfg4 ads-ui-atm_prxrza_glywfm ads-ui-atm_18iq3ml_1ohcsmr ads-ui-atm_1dwkn0r_nqa18y ads-ui-atm_1xg8yzr_idpfg4 ads-ui-atm_9uxezr_glywfm ads-ui-atm_2w1kdk_idpfg4 ads-ui-atm_1hlx6az_glywfm ads-ui-atm_1wnhlda_an4usv ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_n3jkfn_nkobfv ads-ui-atm_ut27rk_v2br90",children},void 0,!1,void 0,this)}function SpecimenChoices({label,choices,chosen,onChoose}){return u2("div",{className:"ux-specimen-choices ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1osqo2v",role:"group","aria-label":label,children:choices.map((choice)=>u2(ToolbarButton,{label:choice.label,pressed:choice.id===chosen,onClick:()=>onChoose?.(choice.id)},choice.id,!1,void 0,this))},void 0,!1,void 0,this)}var workspaceCompactQuery="(width < 47.5rem)";function WorkspaceRegions({collapsed=!1,capture=!1,headerHidden=!1,viewport="auto",loading=!1,previewLoading=!1,previewBusy=!1,brand,sections,actions:actionItems,navigation,overlays,previewTools,previewToolsHidden=!1,children}){let header=!capture&&!headerHidden,full=collapsed||capture,toolsShown=!capture&&previewTools!==void 0;return u2("div",{id:"workspace",className:"ux-workspace ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_jub8wz ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_1ft0qzd_1bplolx ads-ui-atm_1wnhlda_1wskm3t ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_82yulm_jub8wz ads-ui-atm_b1mxoe_jub8wz ads-ui-atm_9pzzkz_jub8wz ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_1gbo270_kb7nvz ads-ui-atm_19pszo6_kb7nvz ads-ui-atm_1eohyr_1wugsn5 ads-ui-atm_1l4booy_idpfg4","data-loading":String(loading),"data-collapsed":String(collapsed),"data-capture":String(capture),"data-viewport":viewport,"aria-busy":loading,children:[header&&u2("header",{id:"header",className:collapsed===!1?"ux-workspace-header ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_80xbhx_idpfg4 ads-ui-atm_1t3vapq_idpfg4 ads-ui-atm_198vcvx_lbgdkc ads-ui-atm_1mdd4zy_grho7r ads-ui-atm_ei944y_glywfm ads-ui-atm_mrwrxb_1210cad ads-ui-atm_165a258_idpfg4 ads-ui-atm_ndcbtc_idpfg4 ads-ui-atm_1ywdvs7_idpfg4 ads-ui-atm_7bg9zp_107lskt ads-ui-atm_qjzyof_idpfg4 ads-ui-atm_15n9hsn_idpfg4 ads-ui-atm_gpq1w8_idpfg4 ads-ui-atm_4nyljr_q96o5s ads-ui-atm_kivprt_grho7r ads-ui-atm_9vjuy7_glywfm ads-ui-atm_lz7qdd_6s8zn8 ads-ui-atm_134y5xe_1ncjpb7 ads-ui-atm_1bc6r1s_q96o5s ads-ui-atm_1goeq7f_grho7r ads-ui-atm_1besvjn_glywfm ads-ui-atm_1t1wofs_6s8zn8 ads-ui-atm_133rkoe_1ncjpb7 ads-ui-atm_9pzzkz_1nl5zyk ads-ui-atm_1ft0qzd_1bplolx ads-ui-atm_1wnhlda_1wskm3t ads-ui-atm_zzfiyx_yiyuq9":"ux-workspace-header ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_80xbhx_idpfg4 ads-ui-atm_1t3vapq_idpfg4 ads-ui-atm_198vcvx_1i3vle2 ads-ui-atm_1mdd4zy_grho7r ads-ui-atm_ei944y_glywfm ads-ui-atm_mrwrxb_6s8zn8 ads-ui-atm_165a258_idpfg4 ads-ui-atm_ndcbtc_idpfg4 ads-ui-atm_1ywdvs7_idpfg4 ads-ui-atm_7bg9zp_h3ouum ads-ui-atm_qjzyof_idpfg4 ads-ui-atm_15n9hsn_idpfg4 ads-ui-atm_gpq1w8_idpfg4 ads-ui-atm_4nyljr_1i3vle2 ads-ui-atm_kivprt_grho7r ads-ui-atm_9vjuy7_glywfm ads-ui-atm_lz7qdd_6s8zn8 ads-ui-atm_134y5xe_h3ouum ads-ui-atm_1bc6r1s_1i3vle2 ads-ui-atm_1goeq7f_grho7r ads-ui-atm_1besvjn_glywfm ads-ui-atm_1t1wofs_6s8zn8 ads-ui-atm_133rkoe_h3ouum ads-ui-atm_9pzzkz_1nl5zyk ads-ui-atm_1ft0qzd_1bplolx ads-ui-atm_1wnhlda_1wskm3t ads-ui-atm_zzfiyx_yiyuq9",children:[u2("div",{id:"brand",className:collapsed===!1?"ux-workspace-brand ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1b8d50m_tx1for ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_12itgy1_z9e1cl ads-ui-atm_1o7ozsh_z9e1cl ads-ui-atm_1cm89v7_idpfg4 ads-ui-atm_prxrza_glywfm ads-ui-atm_18iq3ml_idpfg4 ads-ui-atm_1dwkn0r_glywfm ads-ui-atm_1xg8yzr_idpfg4 ads-ui-atm_9uxezr_glywfm ads-ui-atm_2w1kdk_1ohcsmr ads-ui-atm_1hlx6az_nqa18y ads-ui-atm_ei944y_1osqo2v":"ux-workspace-brand ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_rlc0ar_1h6ojuz ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1cm89v7_idpfg4 ads-ui-atm_prxrza_glywfm ads-ui-atm_18iq3ml_idpfg4 ads-ui-atm_1dwkn0r_glywfm ads-ui-atm_1xg8yzr_idpfg4 ads-ui-atm_9uxezr_glywfm ads-ui-atm_2w1kdk_1ohcsmr ads-ui-atm_1hlx6az_nqa18y ads-ui-atm_ei944y_1osqo2v",children:brand},void 0,!1,void 0,this),u2("div",{className:collapsed===!1?"ux-workspace-bar ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_rlc0ar_h9n0ih ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_82yulm_1osqo2v ads-ui-atm_c884dg_kb7nvz ads-ui-atm_1gx9sub_kb7nvz ads-ui-atm_vkxp9v_idpfg4 ads-ui-atm_1c77ke4_idpfg4 ads-ui-atm_1mfn7uh_glywfm":"ux-workspace-bar ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_82yulm_1osqo2v ads-ui-atm_c884dg_kb7nvz ads-ui-atm_1gx9sub_kb7nvz ads-ui-atm_vkxp9v_idpfg4 ads-ui-atm_1c77ke4_idpfg4",children:[!loading&&u2("nav",{id:"sections",className:"ux-workspace-sections ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_ei944y_1osqo2v","aria-label":"Showcase sections",children:sections},void 0,!1,void 0,this),u2("div",{className:"ux-workspace-actions ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_1wf0rum_1p59u9q ads-ui-atm_h5r38d_1p59u9q ads-ui-atm_12itgy1_1p59u9q ads-ui-atm_1o7ozsh_1p59u9q ads-ui-atm_ei944y_1osqo2v",children:actionItems},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),overlays,u2("main",{className:full===!1?"ux-workspace-main ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_80xbhx_idpfg4 ads-ui-atm_1t3vapq_idpfg4 ads-ui-atm_61a05l_i47zc9 ads-ui-atm_198vcvx_lbgdkc ads-ui-atm_1mdd4zy_grho7r ads-ui-atm_ei944y_glywfm ads-ui-atm_1xr9v27_1210cad ads-ui-atm_1p86dp8_6s8zn8 ads-ui-atm_f3wayr_idpfg4 ads-ui-atm_mgqw9w_idpfg4 ads-ui-atm_8iopdn_idpfg4 ads-ui-atm_x9z4xg_107lskt ads-ui-atm_1ko645t_6s8zn8 ads-ui-atm_1wohlm_idpfg4 ads-ui-atm_u9g1y7_idpfg4 ads-ui-atm_1orm0qo_idpfg4 ads-ui-atm_4nyljr_q96o5s ads-ui-atm_kivprt_grho7r ads-ui-atm_9vjuy7_glywfm ads-ui-atm_zryume_6s8zn8 ads-ui-atm_1p2n7hl_6s8zn8 ads-ui-atm_1ngmxnq_1ncjpb7 ads-ui-atm_glob4a_6s8zn8 ads-ui-atm_1bc6r1s_q96o5s ads-ui-atm_1goeq7f_grho7r ads-ui-atm_1besvjn_glywfm ads-ui-atm_1ihyz4e_6s8zn8 ads-ui-atm_obg2af_6s8zn8 ads-ui-atm_oqqbrf_1ncjpb7 ads-ui-atm_q7dqah_6s8zn8":"ux-workspace-main ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_80xbhx_idpfg4 ads-ui-atm_1t3vapq_idpfg4 ads-ui-atm_61a05l_i47zc9 ads-ui-atm_198vcvx_vfatus ads-ui-atm_1mdd4zy_grho7r ads-ui-atm_ei944y_glywfm ads-ui-atm_1xr9v27_6s8zn8 ads-ui-atm_1p86dp8_6s8zn8 ads-ui-atm_f3wayr_idpfg4 ads-ui-atm_mgqw9w_idpfg4 ads-ui-atm_8iopdn_idpfg4 ads-ui-atm_x9z4xg_h3ouum ads-ui-atm_1ko645t_6s8zn8 ads-ui-atm_1wohlm_idpfg4 ads-ui-atm_u9g1y7_idpfg4 ads-ui-atm_1orm0qo_idpfg4 ads-ui-atm_4nyljr_vfatus ads-ui-atm_kivprt_grho7r ads-ui-atm_9vjuy7_glywfm ads-ui-atm_zryume_6s8zn8 ads-ui-atm_1p2n7hl_6s8zn8 ads-ui-atm_1ngmxnq_h3ouum ads-ui-atm_glob4a_6s8zn8 ads-ui-atm_1bc6r1s_vfatus ads-ui-atm_1goeq7f_grho7r ads-ui-atm_1besvjn_glywfm ads-ui-atm_1ihyz4e_6s8zn8 ads-ui-atm_obg2af_6s8zn8 ads-ui-atm_oqqbrf_h3ouum ads-ui-atm_q7dqah_6s8zn8 ads-ui-atm_16fs1mr_glywfm",children:[u2("aside",{id:"sidebar",className:"ux-workspace-sidebar ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_1ft0qzd_1bplolx ads-ui-atm_1wnhlda_1wskm3t ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1wf0rum_130efy9 ads-ui-atm_h5r38d_130efy9 ads-ui-atm_12itgy1_130efy9 ads-ui-atm_1o7ozsh_130efy9 ads-ui-atm_1cm89v7_idpfg4 ads-ui-atm_prxrza_glywfm ads-ui-atm_18iq3ml_idpfg4 ads-ui-atm_1dwkn0r_glywfm ads-ui-atm_1xg8yzr_idpfg4 ads-ui-atm_9uxezr_glywfm ads-ui-atm_2w1kdk_1ohcsmr ads-ui-atm_1hlx6az_nqa18y ads-ui-atm_1p75dy7_zryt35 ads-ui-atm_dyjv7d_1wugsn5 ads-ui-atm_u71oqy_idpfg4 ads-ui-atm_34lto2_idpfg4 ads-ui-atm_16mb99s_kb7nvz ads-ui-atm_d5rfph_kb7nvz ads-ui-atm_zvm2xk_1wugsn5",children:u2("div",{className:"ux-workspace-entries",children:navigation},void 0,!1,void 0,this)},void 0,!1,void 0,this),u2("section",{id:"preview-workspace",className:"ux-workspace-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_1ihrj5f_15wbn57 ads-ui-atm_ggmxbo_1pzsloo ads-ui-atm_zlaayd_kb7nvz ads-ui-atm_rcum8a_kb7nvz ads-ui-atm_vx1wsh_1wugsn5 ads-ui-atm_alv8oi_idpfg4","aria-label":"Preview workspace",children:u2("section",{id:"preview",className:viewport==="auto"?"ux-workspace-preview ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_198vcvx_i47zc9 ads-ui-atm_61a05l_i47zc9 ads-ui-atm_1p75dy7_zryt35 ads-ui-atm_1kvw5eg_usvi9m ads-ui-atm_1a3a6t5_idpfg4 ads-ui-atm_1b3y068_1txwivl ads-ui-atm_8r1amv_1bp4okc ads-ui-atm_1hd84vz_1fhbwtr ads-ui-atm_x0no62_1nvpqck ads-ui-atm_1pvzj51_kb7nvz ads-ui-atm_1pirady_kb7nvz ads-ui-atm_kvzleo_kb7nvz ads-ui-atm_1ywdi38_kb7nvz ads-ui-atm_1ik21ae_1wugsn5 ads-ui-atm_fjib8r_idpfg4 ads-ui-atm_3yr383_kb7nvz ads-ui-atm_ugnyxg_kb7nvz":"ux-workspace-preview ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_198vcvx_i47zc9 ads-ui-atm_61a05l_i47zc9 ads-ui-atm_1p75dy7_zryt35 ads-ui-atm_1kvw5eg_usvi9m ads-ui-atm_1a3a6t5_idpfg4 ads-ui-atm_1b3y068_1txwivl ads-ui-atm_8r1amv_1bp4okc ads-ui-atm_1hd84vz_1h6ojuz ads-ui-atm_x0no62_1nvpqck ads-ui-atm_1pvzj51_kb7nvz ads-ui-atm_1pirady_kb7nvz ads-ui-atm_kvzleo_kb7nvz ads-ui-atm_1ywdi38_kb7nvz ads-ui-atm_1ik21ae_1wugsn5 ads-ui-atm_fjib8r_idpfg4 ads-ui-atm_3yr383_kb7nvz ads-ui-atm_ugnyxg_kb7nvz","aria-label":"Preview","aria-busy":previewBusy,children:[u2("div",{className:"ux-workspace-stage",children:[toolsShown&&u2("div",{className:"ux-workspace-preview-tools ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_rlc0ar_h9n0ih ads-ui-atm_1b8d50m_w1d03b ads-ui-atm_1ft0qzd_1bplolx ads-ui-atm_1wnhlda_1wskm3t ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1wf0rum_dxndoj ads-ui-atm_h5r38d_dxndoj ads-ui-atm_12itgy1_1p59u9q ads-ui-atm_1o7ozsh_1p59u9q ads-ui-atm_1cm89v7_idpfg4 ads-ui-atm_prxrza_glywfm ads-ui-atm_18iq3ml_1ohcsmr ads-ui-atm_1dwkn0r_nqa18y ads-ui-atm_1xg8yzr_idpfg4 ads-ui-atm_9uxezr_glywfm ads-ui-atm_2w1kdk_idpfg4 ads-ui-atm_1hlx6az_glywfm ads-ui-atm_ei944y_1osqo2v ads-ui-atm_1vppilz_glywfm",role:"toolbar","aria-label":"Preview tools",hidden:previewToolsHidden,children:previewTools},void 0,!1,void 0,this),u2("div",{id:"frame-slot",className:viewport==="auto"?"ux-workspace-slot":"ux-workspace-slot ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_82yulm_1ytd9ll ads-ui-atm_ei944y_jub8wz",children},void 0,!1,void 0,this)]},void 0,!0,void 0,this),previewLoading&&u2("div",{id:"loader",className:"ux-workspace-loader ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_rlc0ar_1h6ojuz ads-ui-atm_1ft0qzd_1bplolx ads-ui-atm_1wnhlda_1wskm3t ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_ei944y_1osqo2v",role:"status","aria-label":"Loading preview",children:u2("span",{className:"ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_rlc0ar_1h6ojuz ads-ui-atm_833615_idpfg4 ads-ui-atm_1beo7lr_116y0ak ads-ui-atm_1pqp5k3_idpfg4 ads-ui-atm_19naxxx_idpfg4 ads-ui-atm_8ljjzq_1wugsn5 ads-ui-atm_1k2t294_1h6ojuz ads-ui-atm_f5ukuq_1h6ojuz ads-ui-atm_1r7jhu0_igxdd5 ads-ui-atm_1jgkcoi_igxdd5 ads-ui-atm_16g9vdv_1ulexfb ads-ui-atm_nbbu_idpfg4 ads-ui-atm_zek01z_igxdd5 ads-ui-atm_1wqh01x_14k5dlv ads-ui-atm_1yv0dr1_1q9vzh7 ads-ui-atm_8acyy2_1ruaace ads-ui-atm_3d931j_1t1u72n ads-ui-atm_adqfxx_w8wldp ads-ui-atm_wmezde_12ltuzy ads-ui-atm_1d0901v_1i45qpu ads-ui-atm_1mz8a9e_12c5xpv ads-ui-atm_j5moh8_1urp235 ads-ui-atm_1hj7yhf_glywfm ads-ui-atm_1pegtbr_1i1ep1k","aria-busy":"true",children:u2("span",{className:"ux-workspace-spinner","aria-hidden":"true",dangerouslySetInnerHTML:{__html:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke-width="2"><circle cx="12" cy="12" r="11" stroke="var(--asset-track)"/><path d="M12 1a11 11 0 0 1 11 11" stroke="var(--asset-arc)"/></svg>
|
|
165
|
-
`}},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Workspace({viewportAvailable=!0,title="Design system",titleHint,section="tokens",hiddenSections=[],navigationLabel="Entries",navigation=[],previewStatus,guides={available:!1},guideOptions,theme={label:"Use dark theme",next:"dark"},brands,split,comparison=!1,onSection,onEntry,onGroupToggle,onPaneToggle,onViewport,onTheme,onBrand,onSplit,onMinimize,children,...regions}){let collapsed=regions.collapsed===!0,phone=regions.viewport==="phone",branded=brands!==void 0&&brands.names.length>0,splitShown=split?.available===!0,entry=(item)=>u2(NavigationItem,{scenario:item.id,label:item.title,href:item.href,current:item.current,previewState:item.previewState,previewLabel:item.previewLabel,draftLabel:item.draftLabel,draftDescription:item.draftDescription,onClick:(event)=>onEntry?.(item.id,event)},item.id,!1,void 0,this);return u2(WorkspaceRegions,{...regions,viewport:phone&&!comparison?"phone":"auto",brand:u2(M,{children:[!collapsed&&u2("span",{className:"ux-workspace-name ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1b8d50m_tx1for ads-ui-atm_82yulm_jub8wz ads-ui-atm_ei944y_14jszr6 ads-ui-atm_wxd62j_rhlbdi ads-ui-atm_jmuii0_1m800s6 ads-ui-atm_1tjxarl_1phvqmz ads-ui-atm_104xeiq_1d1fc98 ads-ui-atm_16kj8qp_h68d5v ads-ui-atm_1f0tdmb_24x154 ads-ui-atm_163y2ea_1r1dq30 ads-ui-atm_1bug0jb_1q9ccgz ads-ui-atm_56xvpv_h68d5v ads-ui-atm_ghiz1k_24x154 ads-ui-atm_ujci4t_1q9ccgz ads-ui-atm_y4s808_133nmmt ads-ui-atm_mchhpw_1l2sidv ads-ui-atm_1h1x5xm_idpfg4 ads-ui-atm_16qmio2_glywfm",children:[u2(BrandMark,{},void 0,!1,void 0,this),u2("span",{className:"ux-workspace-mark",children:"ADS"},void 0,!1,void 0,this),u2("span",{id:"title",className:"ux-workspace-title",title:titleHint,children:regions.loading?"":title},void 0,!1,void 0,this)]},void 0,!0,void 0,this),u2(ToolbarButton,{id:"pane-toggle",label:collapsed?"Show navigation pane":"Hide navigation pane",iconOnly:!0,icon:"sidebar",expanded:!collapsed,controls:"sidebar",onClick:onPaneToggle},void 0,!1,void 0,this)]},void 0,!0,void 0,this),sections:u2(SectionMenu,{section,hiddenSections,...onSection===void 0?{}:{onSection}},void 0,!1,void 0,this),actions:u2(M,{children:[branded&&u2("select",{id:"brand-select",className:"ux-workspace-brand-select ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_12itgy1_dcxj7s ads-ui-atm_1o7ozsh_dcxj7s ads-ui-atm_9pzzkz_1wdkmbo ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_1be842k_evuusw ads-ui-atm_ei944y_1nb92vq ads-ui-atm_1ft0qzd_hnzbge ads-ui-atm_1wnhlda_1wskm3t ads-ui-atm_snw50q_hnzbge ads-ui-atm_140esw6_hnzbge ads-ui-atm_1fpt21x_hnzbge ads-ui-atm_3v15jc_hnzbge ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_1imonbj_idpfg4 ads-ui-atm_13prmim_nqa18y ads-ui-atm_1shwamd_tlke0l ads-ui-atm_1oyv0s3_1kw7nm4 ads-ui-atm_ut27rk_v2br90 ads-ui-atm_1tgqd35_hnzbge ads-ui-atm_18uqgji_1wskm3t ads-ui-atm_8qy9fs_1627y59 ads-ui-atm_yxpng4_1627y59 ads-ui-atm_1l8puf7_1627y59 ads-ui-atm_ny1oq5_1627y59 ads-ui-atm_1yl5u20_53hpxf","aria-label":"Preview brand",title:brands?.value?`Brand: ${brands.value}`:void 0,value:brands?.value,onChange:(event)=>onBrand?.(event.currentTarget.value),children:(brands?.names??[]).map((name)=>u2("option",{value:name,children:name},name,!1,void 0,this))},void 0,!1,void 0,this),u2(ToolbarButton,{id:"theme",label:theme.label,iconOnly:!0,icon:theme.next==="dark"?"moon":"sun",disabled:theme.disabled,onClick:onTheme},void 0,!1,void 0,this),u2(PreviewStatus,{...previewStatus},void 0,!1,void 0,this),u2(ToolbarButton,{id:"viewport",label:"Phone viewport",iconOnly:!0,icon:"phone",hidden:!viewportAvailable,pressed:phone,controls:"frame-slot",title:phone?"Use available preview width":"Preview at phone width (390 px)",onClick:onViewport},void 0,!1,void 0,this),u2(ToolbarButton,{id:"grid-overlay",label:"Layout guides",iconOnly:!0,icon:"layout",controls:"grid-options",popoverTarget:"grid-options",hidden:!guides.available,enabled:guides.available&&guides.enabled===!0,expanded:guides.open===!0},void 0,!1,void 0,this),u2(ToolbarButton,{id:"minimize",label:"Minimize showcase menu",iconOnly:!0,icon:"chevron-up",onClick:onMinimize},void 0,!1,void 0,this)]},void 0,!0,void 0,this),overlays:u2(GuideOptions,{...guideOptions},void 0,!1,void 0,this),navigation:u2(NavigationMenu,{id:"entries",label:navigationLabel,children:navigation.map((group)=>group.label===void 0?group.entries.map(entry):u2(NavigationGroup,{label:group.label,open:group.open,onToggle:(open)=>onGroupToggle?.(group.key,open),children:group.entries.map(entry)},group.key,!1,void 0,this))},void 0,!1,void 0,this),previewTools:u2(ToolbarButton,{id:"split-view",label:"Split view",iconOnly:!0,icon:"split",pressed:splitShown&&split?.pressed===!0,disabled:!splitShown,hidden:!splitShown,title:split?.title,onClick:onSplit},void 0,!1,void 0,this),previewToolsHidden:!splitShown,children},void 0,!1,void 0,this)}function ControlList({control,onControl}){return u2("div",{className:"ux-scenario-control ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1osqo2v ads-ui-atm_1a4pbg6_rhlbdi ads-ui-atm_dagt1d_1m800s6 ads-ui-atm_1dxy0oa_1phvqmz ads-ui-atm_c69iif_el7ql6 ads-ui-atm_1pwmmps_1mqbmot ads-ui-atm_11b92n4_usvi9m ads-ui-atm_1j9jwx9_1gugb78",children:[u2("span",{className:"ux-scenario-control-name",children:control.prop},void 0,!1,void 0,this),u2("select",{className:"ux-scenario-control-list ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_12itgy1_dcxj7s ads-ui-atm_1o7ozsh_dcxj7s ads-ui-atm_9pzzkz_1wdkmbo ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_1be842k_evuusw ads-ui-atm_ei944y_1nb92vq ads-ui-atm_1ft0qzd_1bplolx ads-ui-atm_1wnhlda_1wskm3t ads-ui-atm_snw50q_1627y59 ads-ui-atm_140esw6_1627y59 ads-ui-atm_1fpt21x_1627y59 ads-ui-atm_3v15jc_1627y59 ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_1imonbj_idpfg4 ads-ui-atm_13prmim_nqa18y ads-ui-atm_1shwamd_tlke0l ads-ui-atm_1oyv0s3_1kw7nm4 ads-ui-atm_ut27rk_v2br90 ads-ui-atm_1yl5u20_53hpxf","aria-label":control.prop,value:control.chosen,onChange:(event)=>onControl?.(control.prop,event.currentTarget.value),children:control.options.map((option)=>u2("option",{value:option,children:option},option,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ControlButtons({control,onControl}){return u2("div",{className:"ux-scenario-control ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1osqo2v ads-ui-atm_1a4pbg6_rhlbdi ads-ui-atm_dagt1d_1m800s6 ads-ui-atm_1dxy0oa_1phvqmz ads-ui-atm_c69iif_el7ql6 ads-ui-atm_1pwmmps_1mqbmot ads-ui-atm_11b92n4_usvi9m ads-ui-atm_1j9jwx9_1gugb78",children:[u2("span",{className:"ux-scenario-control-name",children:control.prop},void 0,!1,void 0,this),u2(SpecimenChoices,{label:control.prop,choices:control.options.map((option)=>({id:option,label:option})),chosen:control.chosen,onChoose:(option)=>onControl?.(control.prop,option)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ScenarioControls({controls,onControl}){return u2("div",{className:"ux-scenario-controls ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_v2br90 ads-ui-atm_1b8d50m_z99rxc",role:"group","aria-label":"Props",children:controls.map((control)=>control.as==="list"?u2(ControlList,{control,onControl},control.prop,!1,void 0,this):u2(ControlButtons,{control,onControl},control.prop,!1,void 0,this))},void 0,!1,void 0,this)}function ShowcaseSettings({controls,onControl}){return u2("aside",{className:"ux-scenario-settings ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_v2br90 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_1ft0qzd_1u3842e ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1wf0rum_5eyon5 ads-ui-atm_h5r38d_5eyon5 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30 ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_9hjmgu_nqa18y ads-ui-atm_b2dvrb_nqa18y ads-ui-atm_b1oj9_nqa18y ads-ui-atm_1b0n3gz_nqa18y ads-ui-atm_f8mqky_rhlbdi ads-ui-atm_10unpe3_1m800s6 ads-ui-atm_1grpm4k_1phvqmz ads-ui-atm_13qj9t6_19dj2kj ads-ui-atm_1bn21k0_1mqbmot","aria-label":"Showcase settings",children:[u2("span",{className:"ux-scenario-settings-caption",children:"Showcase settings · not part of what is shown"},void 0,!1,void 0,this),u2(ScenarioControls,{controls,onControl},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ScenarioPage({title,description,frame="inline",states=[],state,onState,controls=[],onControl,specimens}){let switched=states.length>0,controlled=controls.length>0,many=states.length>3,panel=u2("aside",{className:"ux-scenario-settings ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_v2br90 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_1ft0qzd_1u3842e ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1wf0rum_5eyon5 ads-ui-atm_h5r38d_5eyon5 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30 ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_9hjmgu_nqa18y ads-ui-atm_b2dvrb_nqa18y ads-ui-atm_b1oj9_nqa18y ads-ui-atm_1b0n3gz_nqa18y ads-ui-atm_f8mqky_rhlbdi ads-ui-atm_10unpe3_1m800s6 ads-ui-atm_1grpm4k_1phvqmz ads-ui-atm_13qj9t6_19dj2kj ads-ui-atm_1bn21k0_1mqbmot","aria-label":"Showcase settings",children:[u2("span",{className:"ux-scenario-settings-caption",children:"Showcase settings · not part of what is shown"},void 0,!1,void 0,this),switched&&!many&&u2("div",{className:"ux-scenario-control ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1osqo2v ads-ui-atm_1a4pbg6_rhlbdi ads-ui-atm_dagt1d_1m800s6 ads-ui-atm_1dxy0oa_1phvqmz ads-ui-atm_c69iif_el7ql6 ads-ui-atm_1pwmmps_1mqbmot ads-ui-atm_11b92n4_usvi9m ads-ui-atm_1j9jwx9_1gugb78",children:[u2("span",{className:"ux-scenario-control-name",children:"State"},void 0,!1,void 0,this),u2(SpecimenChoices,{label:"State",choices:states.map((name)=>({id:name,label:name})),chosen:state,onChoose:onState},void 0,!1,void 0,this)]},void 0,!0,void 0,this),switched&&many&&u2(ControlList,{control:{prop:"State",options:states,...state===void 0?{}:{chosen:state},as:"list"},onControl:(_,option)=>onState?.(option)},void 0,!1,void 0,this),controlled&&u2(ScenarioControls,{controls,onControl},void 0,!1,void 0,this)]},void 0,!0,void 0,this),[first]=specimens;if(frame==="screen")return u2("section",{className:"ux-scenario-page ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_jub8wz ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_82yulm_jub8wz ads-ui-atm_b1mxoe_jub8wz ads-ui-atm_9pzzkz_jub8wz ads-ui-atm_37dn98_kb7nvz ads-ui-atm_1t4vcka_kb7nvz ads-ui-atm_10rstk0_1wugsn5 ads-ui-atm_16azfbd_idpfg4","data-frame":"screen","aria-label":title,children:[(switched||controlled)&&u2("div",{className:"ux-scenario-bar ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_1wf0rum_5eyon5 ads-ui-atm_h5r38d_5eyon5 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30",children:panel},void 0,!1,void 0,this),u2("div",{className:"ux-scenario-specimen","data-slot":"specimen","data-frame":"screen","data-key":first?.key??""},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(frame==="phone")return u2(SpecimenPage,{title,description,children:[(switched||controlled)&&panel,u2("div",{className:"ux-scenario-specimen ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_82yulm_1ytd9ll ads-ui-atm_ei944y_jub8wz ads-ui-atm_b1mxoe_1ry41j7 ads-ui-atm_9pzzkz_1ry41j7 ads-ui-atm_1p75dy7_1ffux1g","data-slot":"specimen","data-frame":"phone","data-key":first?.key??""},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return u2(SpecimenPage,{title,description,children:[(switched||controlled)&&panel,specimens.map((specimen)=>u2(SpecimenBlock,{name:specimen.key,title:specimen.title,text:specimen.note,headed:specimen.headed,arrangement:specimen.arrangement,width:specimen.width},specimen.key,!1,void 0,this))]},void 0,!0,void 0,this)}function SpecimenBlock({name,title,text,headed=!1,arrangement,width}){return u2("section",{className:"ux-scenario-section ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1w0p0wo",children:[headed&&u2("div",{className:"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l",children:[title&&u2("h2",{className:"ads-ui-atm_1wnhlda_1r1dq30 ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1ye8rbs ads-ui-atm_1tf621q_jnvr1u ads-ui-atm_1jm3u9r_1d1fc98 ads-ui-atm_1imonbj_idpfg4",children:title},void 0,!1,void 0,this),text&&u2("p",{className:"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_ei944y_1agt12q ads-ui-atm_1wnhlda_1mqbmot ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_1imonbj_idpfg4",children:text},void 0,!1,void 0,this)]},void 0,!0,void 0,this),u2(SpecimenBox,{name,arrangement,width},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function SpecimenBox({name,arrangement="stack",width="content"}){return u2("div",{className:width==="content"?"ux-scenario-measure ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_v2br90 ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_ei944y_1osqo2v":width==="full"?"ux-scenario-measure":width==="medium"?"ux-scenario-measure ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_ei944y_1by8x7b":"ux-scenario-measure ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_ei944y_mt9npp",children:u2("div",{className:arrangement==="row"?"ux-scenario-specimen ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_1wf0rum_46k31b ads-ui-atm_h5r38d_46k31b ads-ui-atm_12itgy1_46k31b ads-ui-atm_1o7ozsh_46k31b ads-ui-atm_ei944y_1osqo2v":arrangement==="stack"?"ux-scenario-specimen ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_1wf0rum_46k31b ads-ui-atm_h5r38d_46k31b ads-ui-atm_12itgy1_46k31b ads-ui-atm_1o7ozsh_46k31b":"ux-scenario-specimen ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_80xbhx_z99rxc ads-ui-atm_1t3vapq_z99rxc ads-ui-atm_198vcvx_1numadt ads-ui-atm_1wf0rum_46k31b ads-ui-atm_h5r38d_46k31b ads-ui-atm_12itgy1_46k31b ads-ui-atm_1o7ozsh_46k31b","data-slot":"specimen","data-key":name},void 0,!1,void 0,this)},void 0,!1,void 0,this)}var inlineNames={fill:"the line",pane:"280px",column:"360px",phone:"390px (phone)",page:"720px"},blockNames={content:"its content",short:"160px",medium:"320px",tall:"560px"};function ScenarioContainer({inline="fill",block="content",label,direction}){return u2("div",{className:inline==="column"?"ux-kit-container ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l ads-ui-atm_82yulm_12rxxdh ads-ui-atm_ei944y_jub8wz":inline==="fill"?"ux-kit-container ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l":inline==="page"?"ux-kit-container ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l ads-ui-atm_82yulm_lylphg ads-ui-atm_ei944y_jub8wz":inline==="pane"?"ux-kit-container ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l ads-ui-atm_82yulm_r9f903 ads-ui-atm_ei944y_jub8wz":"ux-kit-container ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l ads-ui-atm_82yulm_127iok7 ads-ui-atm_ei944y_jub8wz",children:[u2("p",{className:"ads-ui-atm_1wnhlda_1mqbmot ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_1imonbj_idpfg4",children:`${label??"Container"} · ${inlineNames[inline]} × ${blockNames[block]}`},void 0,!1,void 0,this),u2("div",{className:block==="content"?"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_1ihrj5f_15wbn57 ads-ui-atm_ggmxbo_1pzsloo ads-ui-atm_1p75dy7_1ffux1g ads-ui-atm_9pzzkz_idpfg4 ads-ui-atm_13prmim_nqa18y":block==="medium"?"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_b1mxoe_dzmyjm ads-ui-atm_9pzzkz_dzmyjm ads-ui-atm_1ihrj5f_15wbn57 ads-ui-atm_ggmxbo_1pzsloo ads-ui-atm_1p75dy7_1ffux1g ads-ui-atm_13prmim_nqa18y":block==="short"?"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_b1mxoe_p4w8r0 ads-ui-atm_9pzzkz_p4w8r0 ads-ui-atm_1ihrj5f_15wbn57 ads-ui-atm_ggmxbo_1pzsloo ads-ui-atm_1p75dy7_1ffux1g ads-ui-atm_13prmim_nqa18y":"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_b1mxoe_1de26fi ads-ui-atm_9pzzkz_1de26fi ads-ui-atm_1ihrj5f_15wbn57 ads-ui-atm_ggmxbo_1pzsloo ads-ui-atm_1p75dy7_1ffux1g ads-ui-atm_13prmim_nqa18y","data-slot":"content",dir:direction},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function SlotPlaceholder({label,tone="neutral"}){return u2("div",{className:tone==="accent"?"ux-kit-placeholder ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_1wf0rum_z9e1cl ads-ui-atm_h5r38d_z9e1cl ads-ui-atm_12itgy1_z9e1cl ads-ui-atm_1o7ozsh_z9e1cl ads-ui-atm_9pzzkz_19st5cd ads-ui-atm_1ft0qzd_uqc78k ads-ui-atm_1wnhlda_an4usv ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_ut27rk_1h6ojuz":"ux-kit-placeholder ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_1wf0rum_z9e1cl ads-ui-atm_h5r38d_z9e1cl ads-ui-atm_12itgy1_z9e1cl ads-ui-atm_1o7ozsh_z9e1cl ads-ui-atm_9pzzkz_19st5cd ads-ui-atm_1ft0qzd_1ln42kv ads-ui-atm_1wnhlda_1r1dq30 ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_ut27rk_1h6ojuz",children:label},void 0,!1,void 0,this)}function AnchorTrigger({label,expanded,onPress}){return u2(ToolbarButton,{label,variant:"outlined",expanded,onClick:onPress},void 0,!1,void 0,this)}function EventLog({events}){return u2("div",{className:"ux-kit-event-log ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1wf0rum_z9e1cl ads-ui-atm_h5r38d_z9e1cl ads-ui-atm_12itgy1_z9e1cl ads-ui-atm_1o7ozsh_z9e1cl ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_13prmim_nqa18y ads-ui-atm_1eb585x_l6f2xw ads-ui-atm_wql62g_1m800s6 ads-ui-atm_ipbbgu_1phvqmz ads-ui-atm_1fcgz8u_19dj2kj ads-ui-atm_1r12m9e_1r1dq30 ads-ui-atm_1yrm3gv_l6f2xw ads-ui-atm_zbumss_1m800s6 ads-ui-atm_1x4wytz_1phvqmz ads-ui-atm_6wuwh2_el7ql6 ads-ui-atm_1syodo4_1mqbmot ads-ui-atm_1w6etlf_idpfg4 ads-ui-atm_6cl2fl_fg65tv",role:"log","aria-label":"Events",children:events.map((event)=>u2("div",{className:"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1q9ycp6 ads-ui-atm_1b8d50m_10lap3l ads-ui-atm_ei944y_1osqo2v",children:[u2("span",{className:"ux-kit-event-name",children:event.name},void 0,!1,void 0,this),u2("span",{className:"ux-kit-event-detail",children:event.detail},void 0,!1,void 0,this)]},event.key,!0,void 0,this))},void 0,!1,void 0,this)}function CardGroup({title,size="medium",children}){return u2("section",{className:"ux-card-group ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l",children:[u2("h3",{className:"ads-ui-atm_1wnhlda_1mqbmot ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_10of7rf ads-ui-atm_1tf621q_l05n6q ads-ui-atm_1jm3u9r_19dj2kj ads-ui-atm_8ad820_angws6 ads-ui-atm_1imonbj_idpfg4",children:title},void 0,!1,void 0,this),u2("div",{className:size==="full"?"ux-card-group-cards ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1i51wq9":size==="large"?"ux-card-group-cards ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_80xbhx_1i51wq9 ads-ui-atm_1t3vapq_1i51wq9 ads-ui-atm_198vcvx_bgoten":size==="medium"?"ux-card-group-cards ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_80xbhx_1i51wq9 ads-ui-atm_1t3vapq_1i51wq9 ads-ui-atm_198vcvx_1numadt":"ux-card-group-cards ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_80xbhx_1i51wq9 ads-ui-atm_1t3vapq_1i51wq9 ads-ui-atm_198vcvx_1pp8hrc","data-slot":"cards",children},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function SampleCard({eyebrow,name,code=!1,note,bare=!1,id,children}){return u2("article",{className:"ux-sample-card ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_1ft0qzd_1u3842e ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1wf0rum_z9e1cl ads-ui-atm_h5r38d_z9e1cl ads-ui-atm_12itgy1_z9e1cl ads-ui-atm_1o7ozsh_z9e1cl ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_1be842k_2l199o ads-ui-atm_13prmim_nqa18y","data-key":id,children:[!bare&&u2("div",{className:"ux-sample-card-stage ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_rlc0ar_1h6ojuz ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_1ft0qzd_1bplolx ads-ui-atm_1wf0rum_xc0f30 ads-ui-atm_h5r38d_xc0f30 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30 ads-ui-atm_9pzzkz_13u612w ads-ui-atm_1be842k_mrub5a","data-slot":"stage","data-key":id,children},void 0,!1,void 0,this),u2("div",{className:code===!1?"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_w1d03b ads-ui-atm_16gr1xd_rhlbdi ads-ui-atm_1m4bdqs_10of7rf ads-ui-atm_1ahnuei_l05n6q ads-ui-atm_rono60_19dj2kj ads-ui-atm_1ilg8dj_angws6 ads-ui-atm_17kzk17_1mqbmot ads-ui-atm_1kgp43t_idpfg4 ads-ui-atm_12m5cya_rhlbdi ads-ui-atm_1b18ubr_1m800s6 ads-ui-atm_ijc71k_1phvqmz ads-ui-atm_bcsqom_1d1fc98 ads-ui-atm_11m6ris_1r1dq30 ads-ui-atm_1odkxpt_idpfg4 ads-ui-atm_13ewgku_fg65tv ads-ui-atm_1e1hyhx_l6f2xw ads-ui-atm_17eoz8v_1m800s6 ads-ui-atm_13lwy4g_1phvqmz ads-ui-atm_momsab_19dj2kj ads-ui-atm_tchx9x_1r1dq30 ads-ui-atm_1fip98q_idpfg4 ads-ui-atm_1vhw075_fg65tv ads-ui-atm_1cu0w1y_idpfg4 ads-ui-atm_5362v1_rhlbdi ads-ui-atm_k4762h_1m800s6 ads-ui-atm_pff66i_1phvqmz ads-ui-atm_z73dbr_el7ql6 ads-ui-atm_e52eux_1mqbmot ads-ui-atm_plqxni_idpfg4 ads-ui-atm_6099l5_fg65tv":"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_w1d03b ads-ui-atm_16gr1xd_rhlbdi ads-ui-atm_1m4bdqs_10of7rf ads-ui-atm_1ahnuei_l05n6q ads-ui-atm_rono60_19dj2kj ads-ui-atm_1ilg8dj_angws6 ads-ui-atm_17kzk17_1mqbmot ads-ui-atm_12m5cya_rhlbdi ads-ui-atm_1b18ubr_1m800s6 ads-ui-atm_ijc71k_1phvqmz ads-ui-atm_bcsqom_1d1fc98 ads-ui-atm_11m6ris_1r1dq30 ads-ui-atm_1odkxpt_idpfg4 ads-ui-atm_13ewgku_fg65tv ads-ui-atm_89clo1_idpfg4 ads-ui-atm_1e1hyhx_l6f2xw ads-ui-atm_17eoz8v_1m800s6 ads-ui-atm_13lwy4g_1phvqmz ads-ui-atm_momsab_19dj2kj ads-ui-atm_tchx9x_1r1dq30 ads-ui-atm_1fip98q_idpfg4 ads-ui-atm_1vhw075_fg65tv ads-ui-atm_1cu0w1y_idpfg4 ads-ui-atm_5362v1_rhlbdi ads-ui-atm_k4762h_1m800s6 ads-ui-atm_pff66i_1phvqmz ads-ui-atm_z73dbr_el7ql6 ads-ui-atm_e52eux_1mqbmot ads-ui-atm_plqxni_idpfg4 ads-ui-atm_6099l5_fg65tv",children:[eyebrow&&u2("span",{className:"ux-sample-card-eyebrow",children:eyebrow},void 0,!1,void 0,this),u2("h4",{className:code===!1?"ux-sample-card-name ads-ui-atm_1imonbj_idpfg4":"ux-sample-card-code ads-ui-atm_1imonbj_idpfg4",children:name},void 0,!1,void 0,this),note&&u2("p",{className:"ux-sample-card-note ads-ui-atm_1imonbj_idpfg4",children:note},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function GridMiniature({columns,content=!1,label}){let numbers=Array.from({length:columns},(_,index)=>index);return u2("div",{className:"ux-grid-mini ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_b1mxoe_1n4ea0m ads-ui-atm_9pzzkz_1n4ea0m ads-ui-atm_82yulm_1osqo2v",role:"img","aria-label":label,"data-slot":"grid",children:numbers.map((index)=>u2("span",{className:"ux-grid-mini-column ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1cm89v7_idpfg4 ads-ui-atm_18iq3ml_idpfg4 ads-ui-atm_1xg8yzr_1ohcsmr ads-ui-atm_2w1kdk_idpfg4 ads-ui-atm_ei944y_1osqo2v ads-ui-atm_1ft0qzd_xktkfw ads-ui-atm_snw50q_1b6oztu ads-ui-atm_140esw6_1b6oztu ads-ui-atm_1fpt21x_1b6oztu ads-ui-atm_3v15jc_1b6oztu ads-ui-atm_13prmim_nqa18y",children:content&&u2("span",{className:"ux-grid-mini-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_jub8wz ads-ui-atm_82yulm_jub8wz ads-ui-atm_b1mxoe_9aaq3a ads-ui-atm_9pzzkz_9aaq3a ads-ui-atm_1ft0qzd_1ln42kv ads-ui-atm_1wnhlda_1r1dq30","data-slot":"fill"},void 0,!1,void 0,this)},index,!1,void 0,this))},void 0,!1,void 0,this)}function renderWorkspace(container,props){G(u2(Workspace,{...props},void 0,!1,void 0,this),container)}function into(Component){return(container,props)=>G(u2(Component,{...props},void 0,!1,void 0,this),container)}var renderComparison=into(DraftComparison),renderSpecimenPage=into(SpecimenPage),renderSpecimenSections=into(({title,description,choices,sections})=>u2(SpecimenPage,{title,...description===void 0?{}:{description},children:[choices&&u2(SpecimenChoices,{...choices},void 0,!1,void 0,this),sections.map((section)=>u2(SpecimenSection,{title:section.title,...section.id===void 0?{}:{id:section.id},...section.arrangement===void 0?{}:{arrangement:section.arrangement},...section.description===void 0?{}:{description:section.description},children:[section.tables.map((table)=>u2(SpecimenTable,{...table},table.label,!1,void 0,this)),section.more&&u2(ToolbarButton,{label:section.more.label,variant:"outlined",onClick:section.more.onClick},void 0,!1,void 0,this)]},section.key,!0,void 0,this))]},void 0,!0,void 0,this)),renderCardPage=into(({title,description,choices,settings,sections})=>u2(SpecimenPage,{title,...description===void 0?{}:{description},children:[choices&&u2(SpecimenChoices,{...choices},void 0,!1,void 0,this),settings&&u2(ShowcaseSettings,{...settings},void 0,!1,void 0,this),sections.map((section)=>u2(SpecimenSection,{title:section.title,...section.id===void 0?{}:{id:section.id},...section.description===void 0?{}:{description:section.description},children:[section.groups.map((group)=>u2(CardGroup,{title:group.title,...group.size===void 0?{}:{size:group.size},children:group.cards.map(({key,miniature,...card})=>u2(SampleCard,{id:key,...card,children:miniature&&u2(GridMiniature,{...miniature},void 0,!1,void 0,this)},key,!1,void 0,this))},group.key,!1,void 0,this)),section.more&&u2(ToolbarButton,{label:section.more.label,variant:"outlined",onClick:section.more.onClick},void 0,!1,void 0,this)]},section.key,!0,void 0,this))]},void 0,!0,void 0,this)),renderThemeSwatches=into(({themes})=>u2(M,{children:themes.map(({theme,value})=>u2(ThemeSwatch,{theme,value},theme,!1,void 0,this))},void 0,!1,void 0,this)),renderGapSamples=into(({gaps})=>u2(M,{children:gaps.map(({name,value})=>u2(GapSample,{name,value},name,!1,void 0,this))},void 0,!1,void 0,this)),renderArtworkCatalogue=into(ArtworkCatalogue),renderTokenSample=into(TokenSample),renderGridExample=into(GridExample),renderMiniUnitSample=into(MiniUnitSample),renderArtworkSample=into(ArtworkSample),renderAppliedSample=into(AppliedSample),renderMotionSample=into(MotionSample),renderScenarioPage=into(ScenarioPage),renderScenarioContainer=into(ScenarioContainer),renderSlotPlaceholder=into(SlotPlaceholder),renderAnchorTrigger=into(AnchorTrigger),renderEventLog=into(EventLog);function unmount(container){G(null,container)}function previewFrame(props){let holder=document.createElement("div");return G(u2(PreviewFrame,{...props},void 0,!1,void 0,this),holder),holder.firstElementChild}export{presetLayers,previewFrame,renderAnchorTrigger,renderAppliedSample,renderArtworkCatalogue,renderArtworkSample,renderCardPage,renderComparison,renderEventLog,renderGapSamples,renderGridExample,renderMiniUnitSample,renderMotionSample,renderScenarioContainer,renderScenarioPage,renderSlotPlaceholder,renderSpecimenPage,renderSpecimenSections,renderThemeSwatches,renderTokenSample,renderWorkspace,unmount,workspaceCompactQuery};
|
|
165
|
+
`}},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function Workspace({viewportAvailable=!0,title="Design system",titleHint,section="tokens",hiddenSections=[],navigationLabel="Entries",navigation=[],previewStatus,guides={available:!1},guideOptions,theme={label:"Use dark theme",next:"dark"},brands,split,comparison=!1,onSection,onEntry,onGroupToggle,onPaneToggle,onViewport,onTheme,onBrand,onSplit,onMinimize,children,...regions}){let collapsed=regions.collapsed===!0,phone=regions.viewport==="phone",branded=brands!==void 0&&brands.names.length>0,splitShown=split?.available===!0,entry=(item)=>u2(NavigationItem,{scenario:item.id,label:item.title,href:item.href,current:item.current,previewState:item.previewState,previewLabel:item.previewLabel,draftLabel:item.draftLabel,draftDescription:item.draftDescription,onClick:(event)=>onEntry?.(item.id,event)},item.id,!1,void 0,this);return u2(WorkspaceRegions,{...regions,viewport:phone&&!comparison?"phone":"auto",brand:u2(M,{children:[!collapsed&&u2("span",{className:"ux-workspace-name ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1b8d50m_tx1for ads-ui-atm_82yulm_jub8wz ads-ui-atm_ei944y_14jszr6 ads-ui-atm_wxd62j_rhlbdi ads-ui-atm_jmuii0_1m800s6 ads-ui-atm_1tjxarl_1phvqmz ads-ui-atm_104xeiq_1d1fc98 ads-ui-atm_16kj8qp_h68d5v ads-ui-atm_1f0tdmb_24x154 ads-ui-atm_163y2ea_1r1dq30 ads-ui-atm_1bug0jb_1q9ccgz ads-ui-atm_56xvpv_h68d5v ads-ui-atm_ghiz1k_24x154 ads-ui-atm_ujci4t_1q9ccgz ads-ui-atm_y4s808_133nmmt ads-ui-atm_mchhpw_1l2sidv ads-ui-atm_1h1x5xm_idpfg4 ads-ui-atm_16qmio2_glywfm",children:[u2(BrandMark,{},void 0,!1,void 0,this),u2("span",{className:"ux-workspace-mark",children:"ADS"},void 0,!1,void 0,this),u2("span",{id:"title",className:"ux-workspace-title",title:titleHint,children:regions.loading?"":title},void 0,!1,void 0,this)]},void 0,!0,void 0,this),u2(ToolbarButton,{id:"pane-toggle",label:collapsed?"Show navigation pane":"Hide navigation pane",iconOnly:!0,icon:"sidebar",expanded:!collapsed,controls:"sidebar",onClick:onPaneToggle},void 0,!1,void 0,this)]},void 0,!0,void 0,this),sections:u2(SectionMenu,{section,hiddenSections,...onSection===void 0?{}:{onSection}},void 0,!1,void 0,this),actions:u2(M,{children:[branded&&u2("select",{id:"brand-select",className:"ux-workspace-brand-select ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_12itgy1_dcxj7s ads-ui-atm_1o7ozsh_dcxj7s ads-ui-atm_9pzzkz_1wdkmbo ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_1be842k_evuusw ads-ui-atm_ei944y_1nb92vq ads-ui-atm_1ft0qzd_hnzbge ads-ui-atm_1wnhlda_1wskm3t ads-ui-atm_snw50q_hnzbge ads-ui-atm_140esw6_hnzbge ads-ui-atm_1fpt21x_hnzbge ads-ui-atm_3v15jc_hnzbge ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_1imonbj_idpfg4 ads-ui-atm_13prmim_nqa18y ads-ui-atm_1shwamd_tlke0l ads-ui-atm_1oyv0s3_1kw7nm4 ads-ui-atm_ut27rk_v2br90 ads-ui-atm_1tgqd35_hnzbge ads-ui-atm_18uqgji_1wskm3t ads-ui-atm_8qy9fs_1627y59 ads-ui-atm_yxpng4_1627y59 ads-ui-atm_1l8puf7_1627y59 ads-ui-atm_ny1oq5_1627y59 ads-ui-atm_1yl5u20_53hpxf","aria-label":"Preview brand",title:brands?.value?`Brand: ${brands.value}`:void 0,value:brands?.value,onChange:(event)=>onBrand?.(event.currentTarget.value),children:(brands?.names??[]).map((name)=>u2("option",{value:name,children:name},name,!1,void 0,this))},void 0,!1,void 0,this),u2(ToolbarButton,{id:"theme",label:theme.label,iconOnly:!0,icon:theme.next==="dark"?"moon":"sun",disabled:theme.disabled,onClick:onTheme},void 0,!1,void 0,this),u2(PreviewStatus,{...previewStatus},void 0,!1,void 0,this),u2(ToolbarButton,{id:"viewport",label:"Phone viewport",iconOnly:!0,icon:"phone",hidden:!viewportAvailable,pressed:phone,controls:"frame-slot",title:phone?"Use available preview width":"Preview at phone width (390 px)",onClick:onViewport},void 0,!1,void 0,this),u2(ToolbarButton,{id:"grid-overlay",label:"Layout guides",iconOnly:!0,icon:"layout",controls:"grid-options",popoverTarget:"grid-options",hidden:!guides.available,enabled:guides.available&&guides.enabled===!0,expanded:guides.open===!0},void 0,!1,void 0,this),u2(ToolbarButton,{id:"minimize",label:"Minimize showcase menu",iconOnly:!0,icon:"chevron-up",onClick:onMinimize},void 0,!1,void 0,this)]},void 0,!0,void 0,this),overlays:u2(GuideOptions,{...guideOptions},void 0,!1,void 0,this),navigation:u2(NavigationMenu,{id:"entries",label:navigationLabel,children:navigation.map((group)=>group.label===void 0?group.entries.map(entry):u2(NavigationGroup,{label:group.label,open:group.open,onToggle:(open)=>onGroupToggle?.(group.key,open),children:group.entries.map(entry)},group.key,!1,void 0,this))},void 0,!1,void 0,this),previewTools:u2(ToolbarButton,{id:"split-view",label:"Split view",iconOnly:!0,icon:"split",pressed:splitShown&&split?.pressed===!0,disabled:!splitShown,hidden:!splitShown,title:split?.title,onClick:onSplit},void 0,!1,void 0,this),previewToolsHidden:!splitShown,children},void 0,!1,void 0,this)}function ControlList({control,onControl}){return u2("div",{className:"ux-scenario-control ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1osqo2v ads-ui-atm_1a4pbg6_rhlbdi ads-ui-atm_dagt1d_1m800s6 ads-ui-atm_1dxy0oa_1phvqmz ads-ui-atm_c69iif_el7ql6 ads-ui-atm_1pwmmps_1mqbmot ads-ui-atm_11b92n4_usvi9m ads-ui-atm_1j9jwx9_1gugb78",children:[u2("span",{className:"ux-scenario-control-name",children:control.prop},void 0,!1,void 0,this),u2("select",{className:"ux-scenario-control-list ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_12itgy1_dcxj7s ads-ui-atm_1o7ozsh_dcxj7s ads-ui-atm_9pzzkz_1wdkmbo ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_1be842k_evuusw ads-ui-atm_ei944y_1nb92vq ads-ui-atm_1ft0qzd_1bplolx ads-ui-atm_1wnhlda_1wskm3t ads-ui-atm_snw50q_1627y59 ads-ui-atm_140esw6_1627y59 ads-ui-atm_1fpt21x_1627y59 ads-ui-atm_3v15jc_1627y59 ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_1imonbj_idpfg4 ads-ui-atm_13prmim_nqa18y ads-ui-atm_1shwamd_tlke0l ads-ui-atm_1oyv0s3_1kw7nm4 ads-ui-atm_ut27rk_v2br90 ads-ui-atm_1yl5u20_53hpxf","aria-label":control.prop,value:control.chosen,onChange:(event)=>onControl?.(control.prop,event.currentTarget.value),children:control.options.map((option)=>u2("option",{value:option,children:option},option,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ControlButtons({control,onControl}){return u2("div",{className:"ux-scenario-control ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1osqo2v ads-ui-atm_1a4pbg6_rhlbdi ads-ui-atm_dagt1d_1m800s6 ads-ui-atm_1dxy0oa_1phvqmz ads-ui-atm_c69iif_el7ql6 ads-ui-atm_1pwmmps_1mqbmot ads-ui-atm_11b92n4_usvi9m ads-ui-atm_1j9jwx9_1gugb78",children:[u2("span",{className:"ux-scenario-control-name",children:control.prop},void 0,!1,void 0,this),u2(SpecimenChoices,{label:control.prop,choices:control.options.map((option)=>({id:option,label:option})),chosen:control.chosen,onChoose:(option)=>onControl?.(control.prop,option)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ScenarioControls({controls,onControl}){return u2("div",{className:"ux-scenario-controls ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_v2br90 ads-ui-atm_1b8d50m_z99rxc",role:"group","aria-label":"Props",children:controls.map((control)=>control.as==="list"?u2(ControlList,{control,onControl},control.prop,!1,void 0,this):u2(ControlButtons,{control,onControl},control.prop,!1,void 0,this))},void 0,!1,void 0,this)}function ShowcaseSettings({controls,onControl}){return u2("aside",{className:"ux-scenario-settings ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_v2br90 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_1ft0qzd_1u3842e ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1wf0rum_5eyon5 ads-ui-atm_h5r38d_5eyon5 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30 ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_9hjmgu_nqa18y ads-ui-atm_b2dvrb_nqa18y ads-ui-atm_b1oj9_nqa18y ads-ui-atm_1b0n3gz_nqa18y ads-ui-atm_f8mqky_rhlbdi ads-ui-atm_10unpe3_1m800s6 ads-ui-atm_1grpm4k_1phvqmz ads-ui-atm_13qj9t6_19dj2kj ads-ui-atm_1bn21k0_1mqbmot","aria-label":"Showcase settings",children:[u2("span",{className:"ux-scenario-settings-caption",children:"Showcase settings · not part of what is shown"},void 0,!1,void 0,this),u2(ScenarioControls,{controls,onControl},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function ScenarioPage({title,description,frame="inline",states=[],state,onState,controls=[],onControl,specimens}){let switched=states.length>0,controlled=controls.length>0,many=states.length>3,panel=u2("aside",{className:"ux-scenario-settings ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_v2br90 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_1ft0qzd_1u3842e ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1wf0rum_5eyon5 ads-ui-atm_h5r38d_5eyon5 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30 ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_9hjmgu_nqa18y ads-ui-atm_b2dvrb_nqa18y ads-ui-atm_b1oj9_nqa18y ads-ui-atm_1b0n3gz_nqa18y ads-ui-atm_f8mqky_rhlbdi ads-ui-atm_10unpe3_1m800s6 ads-ui-atm_1grpm4k_1phvqmz ads-ui-atm_13qj9t6_19dj2kj ads-ui-atm_1bn21k0_1mqbmot","aria-label":"Showcase settings",children:[u2("span",{className:"ux-scenario-settings-caption",children:"Showcase settings · not part of what is shown"},void 0,!1,void 0,this),switched&&!many&&u2("div",{className:"ux-scenario-control ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_ei944y_1osqo2v ads-ui-atm_1a4pbg6_rhlbdi ads-ui-atm_dagt1d_1m800s6 ads-ui-atm_1dxy0oa_1phvqmz ads-ui-atm_c69iif_el7ql6 ads-ui-atm_1pwmmps_1mqbmot ads-ui-atm_11b92n4_usvi9m ads-ui-atm_1j9jwx9_1gugb78",children:[u2("span",{className:"ux-scenario-control-name",children:"State"},void 0,!1,void 0,this),u2(SpecimenChoices,{label:"State",choices:states.map((name)=>({id:name,label:name})),chosen:state,onChoose:onState},void 0,!1,void 0,this)]},void 0,!0,void 0,this),switched&&many&&u2(ControlList,{control:{prop:"State",options:states,...state===void 0?{}:{chosen:state},as:"list"},onControl:(_,option)=>onState?.(option)},void 0,!1,void 0,this),controlled&&u2(ScenarioControls,{controls,onControl},void 0,!1,void 0,this)]},void 0,!0,void 0,this),[first]=specimens;if(frame==="screen")return u2("section",{className:"ux-scenario-page ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_jub8wz ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_82yulm_jub8wz ads-ui-atm_b1mxoe_jub8wz ads-ui-atm_9pzzkz_jub8wz ads-ui-atm_37dn98_kb7nvz ads-ui-atm_1t4vcka_kb7nvz ads-ui-atm_10rstk0_1wugsn5 ads-ui-atm_16azfbd_idpfg4","data-frame":"screen","aria-label":title,children:[(switched||controlled)&&u2("div",{className:"ux-scenario-bar ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_1wf0rum_5eyon5 ads-ui-atm_h5r38d_5eyon5 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30",children:panel},void 0,!1,void 0,this),u2("div",{className:"ux-scenario-specimen","data-slot":"specimen","data-frame":"screen","data-key":first?.key??""},void 0,!1,void 0,this)]},void 0,!0,void 0,this);if(frame==="phone")return u2(SpecimenPage,{title,description,children:[(switched||controlled)&&panel,u2("div",{className:"ux-scenario-specimen ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_82yulm_1ytd9ll ads-ui-atm_ei944y_jub8wz ads-ui-atm_b1mxoe_1ry41j7 ads-ui-atm_9pzzkz_1ry41j7 ads-ui-atm_1p75dy7_1ffux1g","data-slot":"specimen","data-frame":"phone","data-key":first?.key??""},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return u2(SpecimenPage,{title,description,children:[(switched||controlled)&&panel,specimens.map((specimen)=>u2(SpecimenBlock,{name:specimen.key,title:specimen.title,text:specimen.note,headed:specimen.headed,arrangement:specimen.arrangement,width:specimen.width},specimen.key,!1,void 0,this))]},void 0,!0,void 0,this)}function SpecimenBlock({name,title,text,headed=!1,arrangement,width}){return u2("section",{className:"ux-scenario-section ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1w0p0wo",children:[headed&&u2("div",{className:"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l",children:[title&&u2("h2",{className:"ads-ui-atm_1wnhlda_1r1dq30 ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1ye8rbs ads-ui-atm_1tf621q_jnvr1u ads-ui-atm_1jm3u9r_1d1fc98 ads-ui-atm_1imonbj_idpfg4",children:title},void 0,!1,void 0,this),text&&u2("p",{className:"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_ei944y_1agt12q ads-ui-atm_1wnhlda_1mqbmot ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_1imonbj_idpfg4",children:text},void 0,!1,void 0,this)]},void 0,!0,void 0,this),u2(SpecimenBox,{name,arrangement,width},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function SpecimenBox({name,arrangement="stack",width="content"}){return u2("div",{className:width==="content"?"ux-scenario-measure ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_v2br90 ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_ei944y_1osqo2v":width==="full"?"ux-scenario-measure":width==="medium"?"ux-scenario-measure ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_ei944y_1by8x7b":"ux-scenario-measure ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_ei944y_mt9npp",children:u2("div",{className:arrangement==="row"?"ux-scenario-specimen ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_tkroio_1g80g66 ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_1wf0rum_46k31b ads-ui-atm_h5r38d_46k31b ads-ui-atm_12itgy1_46k31b ads-ui-atm_1o7ozsh_46k31b ads-ui-atm_ei944y_1osqo2v":arrangement==="stack"?"ux-scenario-specimen ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_1wf0rum_46k31b ads-ui-atm_h5r38d_46k31b ads-ui-atm_12itgy1_46k31b ads-ui-atm_1o7ozsh_46k31b":"ux-scenario-specimen ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_80xbhx_z99rxc ads-ui-atm_1t3vapq_z99rxc ads-ui-atm_198vcvx_1numadt ads-ui-atm_1wf0rum_46k31b ads-ui-atm_h5r38d_46k31b ads-ui-atm_12itgy1_46k31b ads-ui-atm_1o7ozsh_46k31b","data-slot":"specimen","data-key":name},void 0,!1,void 0,this)},void 0,!1,void 0,this)}var inlineNames={fill:"the line",pane:"280px",column:"360px",phone:"390px (phone)",page:"720px"},blockNames={content:"its content",short:"160px",medium:"320px",tall:"560px"};function ScenarioContainer({inline="fill",block="content",label,direction}){return u2("div",{className:inline==="column"?"ux-kit-container ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l ads-ui-atm_82yulm_12rxxdh ads-ui-atm_ei944y_jub8wz":inline==="fill"?"ux-kit-container ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l":inline==="page"?"ux-kit-container ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l ads-ui-atm_82yulm_lylphg ads-ui-atm_ei944y_jub8wz":inline==="pane"?"ux-kit-container ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l ads-ui-atm_82yulm_r9f903 ads-ui-atm_ei944y_jub8wz":"ux-kit-container ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l ads-ui-atm_82yulm_127iok7 ads-ui-atm_ei944y_jub8wz",children:[u2("p",{className:"ads-ui-atm_1wnhlda_1mqbmot ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_1imonbj_idpfg4",children:`${label??"Container"} · ${inlineNames[inline]} × ${blockNames[block]}`},void 0,!1,void 0,this),u2("div",{className:block==="content"?"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_1ihrj5f_15wbn57 ads-ui-atm_ggmxbo_1pzsloo ads-ui-atm_13prmim_nqa18y":block==="medium"?"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_b1mxoe_dzmyjm ads-ui-atm_9pzzkz_dzmyjm ads-ui-atm_1ihrj5f_15wbn57 ads-ui-atm_ggmxbo_1pzsloo ads-ui-atm_1p75dy7_1ffux1g ads-ui-atm_13prmim_nqa18y":block==="short"?"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_b1mxoe_p4w8r0 ads-ui-atm_9pzzkz_p4w8r0 ads-ui-atm_1ihrj5f_15wbn57 ads-ui-atm_ggmxbo_1pzsloo ads-ui-atm_1p75dy7_1ffux1g ads-ui-atm_13prmim_nqa18y":"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_b1mxoe_1de26fi ads-ui-atm_9pzzkz_1de26fi ads-ui-atm_1ihrj5f_15wbn57 ads-ui-atm_ggmxbo_1pzsloo ads-ui-atm_1p75dy7_1ffux1g ads-ui-atm_13prmim_nqa18y","data-slot":"content",dir:direction},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function SlotPlaceholder({label,tone="neutral"}){return u2("div",{className:tone==="accent"?"ux-kit-placeholder ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_1wf0rum_z9e1cl ads-ui-atm_h5r38d_z9e1cl ads-ui-atm_12itgy1_z9e1cl ads-ui-atm_1o7ozsh_z9e1cl ads-ui-atm_9pzzkz_19st5cd ads-ui-atm_1ft0qzd_uqc78k ads-ui-atm_1wnhlda_an4usv ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_ut27rk_1h6ojuz":"ux-kit-placeholder ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_1wf0rum_z9e1cl ads-ui-atm_h5r38d_z9e1cl ads-ui-atm_12itgy1_z9e1cl ads-ui-atm_1o7ozsh_z9e1cl ads-ui-atm_9pzzkz_19st5cd ads-ui-atm_1ft0qzd_1ln42kv ads-ui-atm_1wnhlda_1r1dq30 ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_ut27rk_1h6ojuz",children:label},void 0,!1,void 0,this)}function AnchorTrigger({label,expanded,onPress}){return u2(ToolbarButton,{label,variant:"outlined",expanded,onClick:onPress},void 0,!1,void 0,this)}function EventLog({events}){return u2("div",{className:"ux-kit-event-log ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1wf0rum_z9e1cl ads-ui-atm_h5r38d_z9e1cl ads-ui-atm_12itgy1_z9e1cl ads-ui-atm_1o7ozsh_z9e1cl ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_1m800s6 ads-ui-atm_1tf621q_1phvqmz ads-ui-atm_1jm3u9r_el7ql6 ads-ui-atm_13prmim_nqa18y ads-ui-atm_1eb585x_l6f2xw ads-ui-atm_wql62g_1m800s6 ads-ui-atm_ipbbgu_1phvqmz ads-ui-atm_1fcgz8u_19dj2kj ads-ui-atm_1r12m9e_1r1dq30 ads-ui-atm_1yrm3gv_l6f2xw ads-ui-atm_zbumss_1m800s6 ads-ui-atm_1x4wytz_1phvqmz ads-ui-atm_6wuwh2_el7ql6 ads-ui-atm_1syodo4_1mqbmot ads-ui-atm_1w6etlf_idpfg4 ads-ui-atm_6cl2fl_fg65tv",role:"log","aria-label":"Events",children:events.map((event)=>u2("div",{className:"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1q9ycp6 ads-ui-atm_1b8d50m_10lap3l ads-ui-atm_ei944y_1osqo2v",children:[u2("span",{className:"ux-kit-event-name",children:event.name},void 0,!1,void 0,this),u2("span",{className:"ux-kit-event-detail",children:event.detail},void 0,!1,void 0,this)]},event.key,!0,void 0,this))},void 0,!1,void 0,this)}function CardGroup({title,size="medium",children}){return u2("section",{className:"ux-card-group ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_10lap3l",children:[u2("h3",{className:"ads-ui-atm_1wnhlda_1mqbmot ads-ui-atm_1cgskd2_rhlbdi ads-ui-atm_13uplcb_10of7rf ads-ui-atm_1tf621q_l05n6q ads-ui-atm_1jm3u9r_19dj2kj ads-ui-atm_8ad820_angws6 ads-ui-atm_1imonbj_idpfg4",children:title},void 0,!1,void 0,this),u2("div",{className:size==="full"?"ux-card-group-cards ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1i51wq9":size==="large"?"ux-card-group-cards ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_80xbhx_1i51wq9 ads-ui-atm_1t3vapq_1i51wq9 ads-ui-atm_198vcvx_bgoten":size==="medium"?"ux-card-group-cards ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_80xbhx_1i51wq9 ads-ui-atm_1t3vapq_1i51wq9 ads-ui-atm_198vcvx_1numadt":"ux-card-group-cards ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_11p5wf0 ads-ui-atm_80xbhx_1i51wq9 ads-ui-atm_1t3vapq_1i51wq9 ads-ui-atm_198vcvx_1pp8hrc","data-slot":"cards",children},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function SampleCard({eyebrow,name,code=!1,note,bare=!1,id,children}){return u2("article",{className:"ux-sample-card ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_1ft0qzd_1u3842e ads-ui-atm_snw50q_pt45zb ads-ui-atm_140esw6_pt45zb ads-ui-atm_1fpt21x_pt45zb ads-ui-atm_3v15jc_pt45zb ads-ui-atm_1wf0rum_z9e1cl ads-ui-atm_h5r38d_z9e1cl ads-ui-atm_12itgy1_z9e1cl ads-ui-atm_1o7ozsh_z9e1cl ads-ui-atm_rke6hk_1ohcsmr ads-ui-atm_6hwe7p_1ohcsmr ads-ui-atm_1tc06ke_1ohcsmr ads-ui-atm_1o6fuj3_1ohcsmr ads-ui-atm_1be842k_2l199o ads-ui-atm_13prmim_nqa18y","data-key":id,children:[!bare&&u2("div",{className:"ux-sample-card-stage ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_rlc0ar_1h6ojuz ads-ui-atm_1b8d50m_z99rxc ads-ui-atm_1ft0qzd_1bplolx ads-ui-atm_1wf0rum_xc0f30 ads-ui-atm_h5r38d_xc0f30 ads-ui-atm_12itgy1_xc0f30 ads-ui-atm_1o7ozsh_xc0f30 ads-ui-atm_9pzzkz_13u612w ads-ui-atm_1be842k_mrub5a","data-slot":"stage","data-key":id,children},void 0,!1,void 0,this),u2("div",{className:code===!1?"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_w1d03b ads-ui-atm_16gr1xd_rhlbdi ads-ui-atm_1m4bdqs_10of7rf ads-ui-atm_1ahnuei_l05n6q ads-ui-atm_rono60_19dj2kj ads-ui-atm_1ilg8dj_angws6 ads-ui-atm_17kzk17_1mqbmot ads-ui-atm_1kgp43t_idpfg4 ads-ui-atm_12m5cya_rhlbdi ads-ui-atm_1b18ubr_1m800s6 ads-ui-atm_ijc71k_1phvqmz ads-ui-atm_bcsqom_1d1fc98 ads-ui-atm_11m6ris_1r1dq30 ads-ui-atm_1odkxpt_idpfg4 ads-ui-atm_13ewgku_fg65tv ads-ui-atm_1e1hyhx_l6f2xw ads-ui-atm_17eoz8v_1m800s6 ads-ui-atm_13lwy4g_1phvqmz ads-ui-atm_momsab_19dj2kj ads-ui-atm_tchx9x_1r1dq30 ads-ui-atm_1fip98q_idpfg4 ads-ui-atm_1vhw075_fg65tv ads-ui-atm_1cu0w1y_idpfg4 ads-ui-atm_5362v1_rhlbdi ads-ui-atm_k4762h_1m800s6 ads-ui-atm_pff66i_1phvqmz ads-ui-atm_z73dbr_el7ql6 ads-ui-atm_e52eux_1mqbmot ads-ui-atm_plqxni_idpfg4 ads-ui-atm_6099l5_fg65tv":"ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_z7mod2_1bp4okc ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_w1d03b ads-ui-atm_16gr1xd_rhlbdi ads-ui-atm_1m4bdqs_10of7rf ads-ui-atm_1ahnuei_l05n6q ads-ui-atm_rono60_19dj2kj ads-ui-atm_1ilg8dj_angws6 ads-ui-atm_17kzk17_1mqbmot ads-ui-atm_12m5cya_rhlbdi ads-ui-atm_1b18ubr_1m800s6 ads-ui-atm_ijc71k_1phvqmz ads-ui-atm_bcsqom_1d1fc98 ads-ui-atm_11m6ris_1r1dq30 ads-ui-atm_1odkxpt_idpfg4 ads-ui-atm_13ewgku_fg65tv ads-ui-atm_89clo1_idpfg4 ads-ui-atm_1e1hyhx_l6f2xw ads-ui-atm_17eoz8v_1m800s6 ads-ui-atm_13lwy4g_1phvqmz ads-ui-atm_momsab_19dj2kj ads-ui-atm_tchx9x_1r1dq30 ads-ui-atm_1fip98q_idpfg4 ads-ui-atm_1vhw075_fg65tv ads-ui-atm_1cu0w1y_idpfg4 ads-ui-atm_5362v1_rhlbdi ads-ui-atm_k4762h_1m800s6 ads-ui-atm_pff66i_1phvqmz ads-ui-atm_z73dbr_el7ql6 ads-ui-atm_e52eux_1mqbmot ads-ui-atm_plqxni_idpfg4 ads-ui-atm_6099l5_fg65tv",children:[eyebrow&&u2("span",{className:"ux-sample-card-eyebrow",children:eyebrow},void 0,!1,void 0,this),u2("h4",{className:code===!1?"ux-sample-card-name ads-ui-atm_1imonbj_idpfg4":"ux-sample-card-code ads-ui-atm_1imonbj_idpfg4",children:name},void 0,!1,void 0,this),note&&u2("p",{className:"ux-sample-card-note ads-ui-atm_1imonbj_idpfg4",children:note},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function GridMiniature({columns,content=!1,label}){let numbers=Array.from({length:columns},(_,index)=>index);return u2("div",{className:"ux-grid-mini ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_1txwivl ads-ui-atm_ek0mgt_1fhbwtr ads-ui-atm_1b8d50m_1nvpqck ads-ui-atm_b1mxoe_1n4ea0m ads-ui-atm_9pzzkz_1n4ea0m ads-ui-atm_82yulm_1osqo2v",role:"img","aria-label":label,"data-slot":"grid",children:numbers.map((index)=>u2("span",{className:"ux-grid-mini-column ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_idpfg4 ads-ui-atm_krmq3d_116y0ak ads-ui-atm_ek0mgt_1h6ojuz ads-ui-atm_1cm89v7_idpfg4 ads-ui-atm_18iq3ml_idpfg4 ads-ui-atm_1xg8yzr_1ohcsmr ads-ui-atm_2w1kdk_idpfg4 ads-ui-atm_ei944y_1osqo2v ads-ui-atm_1ft0qzd_xktkfw ads-ui-atm_snw50q_1b6oztu ads-ui-atm_140esw6_1b6oztu ads-ui-atm_1fpt21x_1b6oztu ads-ui-atm_3v15jc_1b6oztu ads-ui-atm_13prmim_nqa18y",children:content&&u2("span",{className:"ux-grid-mini-content ads-ui-atm_1jowkr6_usvi9m ads-ui-atm_833615_jub8wz ads-ui-atm_82yulm_jub8wz ads-ui-atm_b1mxoe_9aaq3a ads-ui-atm_9pzzkz_9aaq3a ads-ui-atm_1ft0qzd_1ln42kv ads-ui-atm_1wnhlda_1r1dq30","data-slot":"fill"},void 0,!1,void 0,this)},index,!1,void 0,this))},void 0,!1,void 0,this)}function renderWorkspace(container,props){G(u2(Workspace,{...props},void 0,!1,void 0,this),container)}function into(Component){return(container,props)=>G(u2(Component,{...props},void 0,!1,void 0,this),container)}var renderComparison=into(DraftComparison),renderSpecimenPage=into(SpecimenPage),renderSpecimenSections=into(({title,description,choices,sections})=>u2(SpecimenPage,{title,...description===void 0?{}:{description},children:[choices&&u2(SpecimenChoices,{...choices},void 0,!1,void 0,this),sections.map((section)=>u2(SpecimenSection,{title:section.title,...section.id===void 0?{}:{id:section.id},...section.arrangement===void 0?{}:{arrangement:section.arrangement},...section.description===void 0?{}:{description:section.description},children:[section.tables.map((table)=>u2(SpecimenTable,{...table},table.label,!1,void 0,this)),section.more&&u2(ToolbarButton,{label:section.more.label,variant:"outlined",onClick:section.more.onClick},void 0,!1,void 0,this)]},section.key,!0,void 0,this))]},void 0,!0,void 0,this)),renderCardPage=into(({title,description,choices,settings,sections})=>u2(SpecimenPage,{title,...description===void 0?{}:{description},children:[choices&&u2(SpecimenChoices,{...choices},void 0,!1,void 0,this),settings&&u2(ShowcaseSettings,{...settings},void 0,!1,void 0,this),sections.map((section)=>u2(SpecimenSection,{title:section.title,...section.id===void 0?{}:{id:section.id},...section.description===void 0?{}:{description:section.description},children:[section.groups.map((group)=>u2(CardGroup,{title:group.title,...group.size===void 0?{}:{size:group.size},children:group.cards.map(({key,miniature,...card})=>u2(SampleCard,{id:key,...card,children:miniature&&u2(GridMiniature,{...miniature},void 0,!1,void 0,this)},key,!1,void 0,this))},group.key,!1,void 0,this)),section.more&&u2(ToolbarButton,{label:section.more.label,variant:"outlined",onClick:section.more.onClick},void 0,!1,void 0,this)]},section.key,!0,void 0,this))]},void 0,!0,void 0,this)),renderThemeSwatches=into(({themes})=>u2(M,{children:themes.map(({theme,value})=>u2(ThemeSwatch,{theme,value},theme,!1,void 0,this))},void 0,!1,void 0,this)),renderGapSamples=into(({gaps})=>u2(M,{children:gaps.map(({name,value})=>u2(GapSample,{name,value},name,!1,void 0,this))},void 0,!1,void 0,this)),renderArtworkCatalogue=into(ArtworkCatalogue),renderTokenSample=into(TokenSample),renderGridExample=into(GridExample),renderMiniUnitSample=into(MiniUnitSample),renderArtworkSample=into(ArtworkSample),renderAppliedSample=into(AppliedSample),renderMotionSample=into(MotionSample),renderScenarioPage=into(ScenarioPage),renderScenarioContainer=into(ScenarioContainer),renderSlotPlaceholder=into(SlotPlaceholder),renderAnchorTrigger=into(AnchorTrigger),renderEventLog=into(EventLog);function unmount(container){G(null,container)}function previewFrame(props){let holder=document.createElement("div");return G(u2(PreviewFrame,{...props},void 0,!1,void 0,this),holder),holder.firstElementChild}export{presetLayers,previewFrame,renderAnchorTrigger,renderAppliedSample,renderArtworkCatalogue,renderArtworkSample,renderCardPage,renderComparison,renderEventLog,renderGapSamples,renderGridExample,renderMiniUnitSample,renderMotionSample,renderScenarioContainer,renderScenarioPage,renderSlotPlaceholder,renderSpecimenPage,renderSpecimenSections,renderThemeSwatches,renderTokenSample,renderWorkspace,unmount,workspaceCompactQuery};
|
|
@@ -285,9 +285,10 @@ fragment or a native frame-only element.
|
|
|
285
285
|
- **Distribution and gaps.** `justify: "space-between"` (or `"space-around"`, `"space-evenly"`) puts a row's or
|
|
286
286
|
stack's free space between its items: a logo at the start of a header and its actions at the end. On a wrapping
|
|
287
287
|
`inline` row, `gap` spaces the items and `rowGap` the lines.
|
|
288
|
-
- **Loose flow.**
|
|
289
|
-
|
|
290
|
-
|
|
288
|
+
- **Loose flow.** Write loose content in block flow (no `layout`) with `spaceBefore`/`spaceAfter` on its blocks: each
|
|
289
|
+
is the block's own margin and the browser collapses them, so an item that ends in a paragraph is followed at the
|
|
290
|
+
larger of the list's and the paragraph's space, also when the item's content is another component. `carry: true`
|
|
291
|
+
does the same within one stack-based list and item, but not through a nested component.
|
|
291
292
|
- **Filling parts.** `extent: "fill"` in a stack starts at the part's content and grows into free space, so a
|
|
292
293
|
scrolling body never collapses in a stack sized by its content.
|
|
293
294
|
- **End alignment.** Blocks a stack holds end on one line (`source/end-misaligned`): a painted block by its outer
|
|
@@ -285,9 +285,10 @@ fragment or a native frame-only element.
|
|
|
285
285
|
- **Distribution and gaps.** `justify: "space-between"` (or `"space-around"`, `"space-evenly"`) puts a row's or
|
|
286
286
|
stack's free space between its items: a logo at the start of a header and its actions at the end. On a wrapping
|
|
287
287
|
`inline` row, `gap` spaces the items and `rowGap` the lines.
|
|
288
|
-
- **Loose flow.**
|
|
289
|
-
|
|
290
|
-
|
|
288
|
+
- **Loose flow.** Write loose content in block flow (no `layout`) with `spaceBefore`/`spaceAfter` on its blocks: each
|
|
289
|
+
is the block's own margin and the browser collapses them, so an item that ends in a paragraph is followed at the
|
|
290
|
+
larger of the list's and the paragraph's space, also when the item's content is another component. `carry: true`
|
|
291
|
+
does the same within one stack-based list and item, but not through a nested component.
|
|
291
292
|
- **Filling parts.** `extent: "fill"` in a stack starts at the part's content and grows into free space, so a
|
|
292
293
|
scrolling body never collapses in a stack sized by its content.
|
|
293
294
|
- **End alignment.** Blocks a stack holds end on one line (`source/end-misaligned`): a painted block by its outer
|
|
@@ -285,9 +285,10 @@ fragment or a native frame-only element.
|
|
|
285
285
|
- **Distribution and gaps.** `justify: "space-between"` (or `"space-around"`, `"space-evenly"`) puts a row's or
|
|
286
286
|
stack's free space between its items: a logo at the start of a header and its actions at the end. On a wrapping
|
|
287
287
|
`inline` row, `gap` spaces the items and `rowGap` the lines.
|
|
288
|
-
- **Loose flow.**
|
|
289
|
-
|
|
290
|
-
|
|
288
|
+
- **Loose flow.** Write loose content in block flow (no `layout`) with `spaceBefore`/`spaceAfter` on its blocks: each
|
|
289
|
+
is the block's own margin and the browser collapses them, so an item that ends in a paragraph is followed at the
|
|
290
|
+
larger of the list's and the paragraph's space, also when the item's content is another component. `carry: true`
|
|
291
|
+
does the same within one stack-based list and item, but not through a nested component.
|
|
291
292
|
- **Filling parts.** `extent: "fill"` in a stack starts at the part's content and grows into free space, so a
|
|
292
293
|
scrolling body never collapses in a stack sized by its content.
|
|
293
294
|
- **End alignment.** Blocks a stack holds end on one line (`source/end-misaligned`): a painted block by its outer
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1,53 +1,67 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.5.
|
|
3
|
+
## 0.5.8
|
|
4
4
|
|
|
5
5
|
<!-- ads-local-tests:start -->
|
|
6
6
|
Hot patch: the unit and integration groups; the browser group was not run.
|
|
7
|
-
Local verification: **
|
|
8
|
-
Tested commit: `
|
|
9
|
-
Completed 2026-11-
|
|
7
|
+
Local verification: **1839/1839 passed** with `bun run test:hotpatch`.
|
|
8
|
+
Tested commit: `32f9efc5144ed8588ae938804d32103c5ad3bc1b`; Bun 1.4.4.
|
|
9
|
+
Completed 2026-11-24T08:44:09.098Z (1249 seconds).
|
|
10
10
|
|
|
11
11
|
<!-- ads-local-test-proof
|
|
12
12
|
{
|
|
13
13
|
"schema": 3,
|
|
14
|
-
"version": "0.5.
|
|
15
|
-
"commit": "
|
|
16
|
-
"sourceSha256": "
|
|
14
|
+
"version": "0.5.8",
|
|
15
|
+
"commit": "32f9efc5144ed8588ae938804d32103c5ad3bc1b",
|
|
16
|
+
"sourceSha256": "4502593953123bbbc49e556059e9523171f2bbcced9f4d3079abbac5d5556ee5",
|
|
17
17
|
"command": "bun run test:hotpatch",
|
|
18
18
|
"scope": "hotpatch",
|
|
19
19
|
"result": "pass",
|
|
20
|
-
"tests":
|
|
21
|
-
"pass":
|
|
20
|
+
"tests": 1839,
|
|
21
|
+
"pass": 1839,
|
|
22
22
|
"fail": 0,
|
|
23
23
|
"skipped": 0,
|
|
24
24
|
"groups": [
|
|
25
25
|
{
|
|
26
26
|
"name": "unit",
|
|
27
|
-
"tests":
|
|
28
|
-
"pass":
|
|
27
|
+
"tests": 842,
|
|
28
|
+
"pass": 842,
|
|
29
29
|
"fail": 0,
|
|
30
30
|
"skipped": 0,
|
|
31
|
-
"reportSha256": "
|
|
31
|
+
"reportSha256": "1067d5b51b6957b8cdf915514f476aebdd713260b61bc94d69c69472d164a52c"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"name": "integration",
|
|
35
|
-
"tests":
|
|
36
|
-
"pass":
|
|
35
|
+
"tests": 997,
|
|
36
|
+
"pass": 997,
|
|
37
37
|
"fail": 0,
|
|
38
38
|
"skipped": 0,
|
|
39
|
-
"reportSha256": "
|
|
39
|
+
"reportSha256": "b204499c4ee42a68c362b2dbd68d28ea86f126b885e8cbd7b10539ba136b35ac"
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
42
|
"testOverrides": {},
|
|
43
43
|
"bun": "1.4.4",
|
|
44
|
-
"completedAt": "2026-11-
|
|
45
|
-
"durationMs":
|
|
46
|
-
"logSha256": "
|
|
44
|
+
"completedAt": "2026-11-24T08:44:09.098Z",
|
|
45
|
+
"durationMs": 1248601,
|
|
46
|
+
"logSha256": "3538c9a4327461dbd56c5d672af04f75aef547a3fa710bb9166f84706bfb1389"
|
|
47
47
|
}
|
|
48
48
|
-->
|
|
49
49
|
<!-- ads-local-tests:end -->
|
|
50
50
|
|
|
51
|
+
- **Block flow spaces with collapsing margins.** In a parent without an arrangement, a part's `spaceBefore` and
|
|
52
|
+
`spaceAfter` are its own margins, which the browser collapses: the larger applies where two meet, and a last block's
|
|
53
|
+
space passes out through a list item and a component's root to the next item, as in v2. Loose list items whose
|
|
54
|
+
content is another component keep their 20–24 px (reported as #35); write loose content in block flow. A
|
|
55
|
+
container with padding or a border keeps the space inside it.
|
|
56
|
+
- **Showcase:** a scenario container as tall as its content no longer clips: a selected card's ring or a focus outline
|
|
57
|
+
outside the subject stays whole.
|
|
58
|
+
- **Opening a dialog no longer shifts a page without a scrollbar.** 0.5.6 reserved the scrollbar's room only while
|
|
59
|
+
a modal card was open, which moved a page that had no scrollbar 15 px. A card now reserves nothing; the
|
|
60
|
+
foundation's new `scrollbarGutter: "stable"` keeps the page's scrollbar room at all times, so neither a modal's
|
|
61
|
+
scroll lock nor a page growing a scrollbar shifts anything.
|
|
62
|
+
|
|
63
|
+
## 0.5.7
|
|
64
|
+
|
|
51
65
|
- **A value beside its action no longer breaks words.** In a wrapping row an `extent: "fill"` part keeps its longest
|
|
52
66
|
word: it shrinks beside the other items down to that, and below it the row wraps (the action drops under the text
|
|
53
67
|
on a phone or with enlarged text, and stays beside it on a desktop). Truncating text and parts with their own frame
|
package/docs/GUIDE.md
CHANGED
|
@@ -1014,6 +1014,11 @@ declared order. The first theme and brand are the defaults: the `:root` values
|
|
|
1014
1014
|
of the token sheets. The render audit, capture, the showcase and `ads_status`
|
|
1015
1015
|
read the same declaration. Two optional fields are `true` or omitted:
|
|
1016
1016
|
|
|
1017
|
+
- `scrollbarGutter: "stable"` (a value, not `true`): the page keeps its
|
|
1018
|
+
scrollbar's room at all times (`scrollbar-gutter: stable` on the document),
|
|
1019
|
+
so opening a modal, whose scroll lock hides the scrollbar, shifts nothing,
|
|
1020
|
+
and neither does a page that grows a scrollbar. Without it the browser
|
|
1021
|
+
decides.
|
|
1017
1022
|
- `followSystemTheme: true`: a root without `data-theme` follows the OS colour
|
|
1018
1023
|
scheme. It takes the first light-scheme theme for a light preference and the
|
|
1019
1024
|
first dark-scheme theme for a dark one, so the design system needs one of
|
package/docs/LANGUAGE.md
CHANGED
|
@@ -246,7 +246,7 @@ them all.
|
|
|
246
246
|
| `drawnBy: "<sibling part>"` | region part holding a native control | the native control (a checkbox's `<input>`) is drawn by the named part: `position: absolute`, the drawing part's frame `inlineSize` and `blockSize`, no margin, `opacity: 0`, laid over that part, so it takes no room in the row and pointer and keyboard still reach the real control. Its states still reach the drawing part (`:has(> .input:checked)`) | the named part is not declared right after it, does not show its focus (`focus: { of }`) (`spec/value-invalid`), or its frame states no `inlineSize` or `blockSize` (`profile-field-missing`) |
|
|
247
247
|
| `repeat: true` | region part (not a vector) | nothing of its own: the part's element renders once per item of a list (`tabs.map(…)`), any number of times (at least once when `required`), each instance taking the part's construction (`extent: "fill"` shares the row among them); a repeated `frame: "control"` part neighbours its own next instance, so their hit areas and spacing are checked across the gap | with `drawnBy` or `focus`, or named by another part's (`spec/value-invalid`); without it, a mapped part (`part-missing-or-repeated`) |
|
|
248
248
|
| `kind: "component"` | region part | a public component placed with the part's marker (`<Heading className="ds-content-heading" …/>`), as a grid cell is: its interior is its owner's, so the part states placement only (`required`, `repeat`, `extent`, `at`, `spaceBefore`, `spaceAfter`) | any other field (`spec/field-unsupported`); a forwarded `className` that carries a recipe (`source/foreign-interior`) |
|
|
249
|
-
| `spaceBefore` / `spaceAfter: { slot: "spacing", field }` | part of a `stack`, or of a parent without an arrangement (block flow: a list item that keeps its marker) | the part's own space before it and after it, in place of the gap (`margin-block-start: calc(space - gap)` on the part, or on what follows it)
|
|
249
|
+
| `spaceBefore` / `spaceAfter: { slot: "spacing", field }` | part of a `stack`, or of a parent without an arrangement (block flow: a list item that keeps its marker) | the part's own space before it and after it. In a stack, in place of the gap (`margin-block-start: calc(space - gap)` on the part, or on what follows it), the larger where two meet, the first part flush. In block flow, the part's own `margin-block-start` and `margin-block-end`, which the browser collapses: the larger where two meet, and a last block's space passes out through containers without padding or border (a list item, a component's root) to what follows them, so loose list items whose content is another component keep their space | another parent layout (`space-parent-unsupported`) |
|
|
250
250
|
| `spacing: "<spacing profile>"` | part of a `stack` or block flow | the part's space before and after it from that profile's `spaceBefore` and `spaceAfter` fields, where a flow needs more distances than one spacing profile holds (a heading 44 px above and 14 px below, 24 px after a quote); the same "larger of the two" rule | a profile that states neither field (`profile-field-missing`) |
|
|
251
251
|
| (a `stack` of blocks) | root, part recipe | the blocks a stack holds end on one line: a painted block by its outer edge, an unpainted one where its content ends (frame end padding, a grid's gutter end); one off by more than 1px and at most 64px fails (`source/end-misaligned`); text is not compared | n/a |
|
|
252
252
|
| `carry: true` | `stack` root | loose flow (a list whose items hold paragraphs, code, figures): the stack gives its gap to its children (`--ads-flow-gap`), and its last part's own space after carries out of it between items (`margin-block-end: max(0px, space - gap)`), so on a list and its item the next item starts at the larger of the list's gap and the item's last block's space after; after the last item the list's own space after applies | a root that is not a stack (`space-parent-unsupported`) |
|
|
@@ -717,9 +717,9 @@ recipe({
|
|
|
717
717
|
viewport edge; a block-start card keeps its `edge-gap` from the top and the
|
|
718
718
|
bottom (the margin when it declares none) and the margin at the sides
|
|
719
719
|
(`max-inline-size`, `max-block-size: calc(100dvh - 2 × gap)`), with its
|
|
720
|
-
frame's size within it.
|
|
721
|
-
|
|
722
|
-
|
|
720
|
+
frame's size within it. The scroll lock hides the page's scrollbar; a page
|
|
721
|
+
that should not shift then keeps the scrollbar's room at all times with the
|
|
722
|
+
foundation's `scrollbarGutter: "stable"`. `motion: "fade"`
|
|
723
723
|
fades the card and its backdrop in. A close control in its corner is a layer of a layered part.
|
|
724
724
|
A zoom view that grows an image from its place sets a measured `translate`
|
|
725
725
|
and a measured `scale` (`{ type: "scale", property: "scale" }`, unitless
|