theme.keycloak.v2.admin.resources.assets.DescriptionListTerm-B63BUcYe.js Maven / Gradle / Ivy
import{_ as a,l as r,cd as v}from"./index-C1LIsRX7.js";import*as c from"react";const i={card:"pf-v5-c-card",descriptionList:"pf-v5-c-description-list",descriptionListDescription:"pf-v5-c-description-list__description",descriptionListGroup:"pf-v5-c-description-list__group",descriptionListTerm:"pf-v5-c-description-list__term",descriptionListTermIcon:"pf-v5-c-description-list__term-icon",descriptionListText:"pf-v5-c-description-list__text",modifiers:{inlineGrid:"pf-m-inline-grid",autoColumnWidths:"pf-m-auto-column-widths",autoFit:"pf-m-auto-fit",compact:"pf-m-compact",fluid:"pf-m-fluid",fillColumns:"pf-m-fill-columns",displayLg:"pf-m-display-lg",display_2xl:"pf-m-display-2xl",helpText:"pf-m-help-text","1Col":"pf-m-1-col","2Col":"pf-m-2-col","3Col":"pf-m-3-col",horizontal:"pf-m-horizontal",vertical:"pf-m-vertical","1ColOnSm":"pf-m-1-col-on-sm","2ColOnSm":"pf-m-2-col-on-sm","3ColOnSm":"pf-m-3-col-on-sm",horizontalOnSm:"pf-m-horizontal-on-sm",verticalOnSm:"pf-m-vertical-on-sm","1ColOnMd":"pf-m-1-col-on-md","2ColOnMd":"pf-m-2-col-on-md","3ColOnMd":"pf-m-3-col-on-md",horizontalOnMd:"pf-m-horizontal-on-md",verticalOnMd:"pf-m-vertical-on-md","1ColOnLg":"pf-m-1-col-on-lg","2ColOnLg":"pf-m-2-col-on-lg","3ColOnLg":"pf-m-3-col-on-lg",horizontalOnLg:"pf-m-horizontal-on-lg",verticalOnLg:"pf-m-vertical-on-lg","1ColOnXl":"pf-m-1-col-on-xl","2ColOnXl":"pf-m-2-col-on-xl","3ColOnXl":"pf-m-3-col-on-xl",horizontalOnXl:"pf-m-horizontal-on-xl",verticalOnXl:"pf-m-vertical-on-xl","1ColOn_2xl":"pf-m-1-col-on-2xl","2ColOn_2xl":"pf-m-2-col-on-2xl","3ColOn_2xl":"pf-m-3-col-on-2xl",horizontalOn_2xl:"pf-m-horizontal-on-2xl",verticalOn_2xl:"pf-m-vertical-on-2xl"}},N={name:"--pf-v5-c-description-list--GridTemplateColumns--min",value:"0",var:"var(--pf-v5-c-description-list--GridTemplateColumns--min)"},y={name:"--pf-v5-c-description-list__term--width",value:"12ch",var:"var(--pf-v5-c-description-list__term--width)"},b={name:"--pf-v5-c-description-list--m-horizontal__term--width",value:"fit-content(20ch)",var:"var(--pf-v5-c-description-list--m-horizontal__term--width)"},O=(t,l)=>{const s=l;return Object.keys(s||{}).reduce((o,e)=>e==="default"?Object.assign(Object.assign({},o),{[t]:s[e]}):Object.assign(Object.assign({},o),{[`${t}-on-${e}`]:s[e]}),{})},j=t=>{var{className:l="",children:s=null,isHorizontal:o=!1,isAutoColumnWidths:e,isAutoFit:m,isInlineGrid:_,isCompact:C,isFluid:p,isFillColumns:g,displaySize:d="default",columnModifier:L,autoFitMinModifier:f,termWidth:u,horizontalTermWidthModifier:h,orientation:x,style:n}=t,z=a(t,["className","children","isHorizontal","isAutoColumnWidths","isAutoFit","isInlineGrid","isCompact","isFluid","isFillColumns","displaySize","columnModifier","autoFitMinModifier","termWidth","horizontalTermWidthModifier","orientation","style"]);return m&&f&&(n=Object.assign(Object.assign({},n),O(N.name,f))),u&&(n=Object.assign(Object.assign({},n),{[y.name]:u})),o&&h&&(n=Object.assign(Object.assign({},n),O(b.name,h))),c.createElement("dl",Object.assign({className:r(i.descriptionList,(o||p)&&i.modifiers.horizontal,e&&i.modifiers.autoColumnWidths,m&&i.modifiers.autoFit,v(L,i),v(x,i),_&&i.modifiers.inlineGrid,C&&i.modifiers.compact,p&&i.modifiers.fluid,g&&i.modifiers.fillColumns,d==="lg"&&i.modifiers.displayLg,d==="2xl"&&i.modifiers.display_2xl,l),style:n},z),s)};j.displayName="DescriptionList";const M=t=>{var{children:l=null,className:s}=t,o=a(t,["children","className"]);return c.createElement("dd",Object.assign({className:r(i.descriptionListDescription,s)},o),c.createElement("div",{className:r(i.descriptionListText)},l))};M.displayName="DescriptionListDescription";const T=t=>{var{className:l,children:s}=t,o=a(t,["className","children"]);return c.createElement("div",Object.assign({className:r(i.descriptionListGroup,l)},o),s)};T.displayName="DescriptionListGroup";const D=t=>{var{children:l,className:s,icon:o}=t,e=a(t,["children","className","icon"]);return c.createElement("dt",Object.assign({className:r(i.descriptionListTerm,s)},e),o?c.createElement("span",{className:r(i.descriptionListTermIcon)},o):null,c.createElement("span",{className:r(i.descriptionListText)},l))};D.displayName="DescriptionListTerm";export{j as D,T as a,D as b,M as c};
//# sourceMappingURL=DescriptionListTerm-B63BUcYe.js.map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy