@digitalservicebund/ris-ui 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -89,7 +89,7 @@ export default defineNuxtPlugin((nuxtApp) => {
89
89
  Finally, add the styles (e.g. `assets/main.css`):
90
90
 
91
91
  ```css
92
- @import "@digitalservicebund/ris-ui/primevue/style.css";
92
+ @import "@digitalservicebund/ris-ui/style.css";
93
93
  @import "@digitalservicebund/ris-ui/fonts.css";
94
94
 
95
95
  /* Your other CSS */
@@ -104,7 +104,7 @@ With Tailwind CSS v4, the setup has transitioned to a CSS-based configuration, e
104
104
 
105
105
  /* 1. Import Tailwind and RIS UI styles */
106
106
  @import "tailwindcss";
107
- @import "@digitalservicebund/ris-ui/primevue/style.css";
107
+ @import "@digitalservicebund/ris-ui/style.css";
108
108
 
109
109
  /* 2. Source the RIS UI components for Tailwind class generation */
110
110
  @source "../node_modules/@digitalservicebund/ris-ui/dist/**/*.{js,vue,ts}";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=(t,...l)=>String.raw({raw:t},...l),e=x,y={root:({props:t,instance:l})=>{const r=e`relative inline-flex max-w-full cursor-pointer items-center justify-center gap-8 rounded-none text-center outline-hidden focus:outline-4 focus:outline-offset-4 focus:outline-blue-800 active:outline-hidden disabled:cursor-not-allowed disabled:outline-hidden`,o=t.severity??"primary",s=e`bg-blue-800 text-white hover:bg-blue-700 active:bg-blue-500 active:text-blue-800 disabled:bg-gray-400 disabled:text-gray-600`,n=e`border-2 border-blue-800 bg-white text-blue-800 hover:bg-gray-200 focus:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`,i=e`border-2 border-transparent bg-transparent text-blue-800 underline hover:border-gray-500 hover:bg-white focus:border-gray-500 active:border-white active:bg-white disabled:bg-transparent disabled:text-gray-500`,a=t.size??"normal";let u=e`ris-body2-bold h-48 py-4`,c=e`ris-body1-bold h-64 py-4`;return l.hasIcon&&!t.label?(u=e`${u} w-48 px-4`,c=e`${c} w-64 px-4`):(u=e`${u} px-16`,c=e`${c} px-24`),{class:{[r]:!0,[u]:a==="normal",[c]:a==="large",[s]:!t.text&&o==="primary",[n]:!t.text&&o==="secondary",[i]:t.text&&o==="primary"}}},label:({props:t})=>({class:{hidden:!t.label,[e`-order-1`]:t.iconPos==="right"}}),loadingIcon:({props:t})=>{const l=t.size??"normal",r=e`h-[1.34em] w-[1.34em]`,o=e`h-24 w-24`;return{class:{[e`animate-spin`]:!0,[r]:l==="normal",[o]:l==="large"}}}},S={root:{class:e`[&+label]:ris-label1-regular relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:ml-8`},input:{class:e`peer h-full w-full cursor-pointer appearance-none border-2 border-blue-800 bg-white outline-hidden hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus:outline focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800 active:outline-hidden disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-hidden aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none`},box:{class:e`pointer-events-none absolute inset-0 flex items-center justify-center text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800`},icon:{class:e`h-12 w-12`}},k={},M={root:()=>({class:e`ris-label2-regular max-h-[90dvh] w-[95dvw] max-w-[25rem] border-2 border-blue-800 bg-white px-56 py-44 shadow-lg`}),header:{class:e`mb-16 flex`},title:{class:e`ris-label1-bold flex-1`},headerActions:{class:e`flex-none`},pcCloseButton:{root:{class:e`flex h-24 w-24 items-center justify-center p-4 text-blue-800 outline-hidden hover:outline hover:outline-2 hover:outline-gray-500 focus:outline focus:outline-2 focus:outline-gray-500 active:outline-hidden`}},content:{class:e`ris-dialog-content overflow-auto has-[svg:first-child]:flex has-[svg:first-child]:gap-8 [&>svg:first-child]:flex-none`},footer:{class:e`mt-40 flex items-center justify-end gap-12`},mask:{class:e`bg-black/40`}},N={root:()=>({class:{[e`flex flex-col items-center gap-10`]:!0}}),input:()=>({class:"hidden"})},z={root:{class:e`has-[input:read-only]:curser-not-allowed inline-flex items-center gap-4 border-2 border-blue-800 bg-white px-16 py-0 has-[:focus]:outline has-[:focus]:outline-4 has-[:focus]:-outline-offset-4 has-[:focus]:outline-blue-800 has-[:hover]:outline has-[:hover]:outline-4 has-[:hover]:-outline-offset-4 has-[:hover]:outline-blue-800 has-[[aria-invalid]]:border-red-800 has-[[aria-invalid]]:bg-red-200 has-[[aria-invalid]]:outline-red-800 has-[[data-size=large]]:px-24 has-[input:disabled]:border-blue-500 has-[input:disabled]:bg-white has-[input:disabled]:text-blue-500 has-[input:disabled]:outline-hidden has-[input:read-only]:border-blue-300 has-[input:read-only]:bg-blue-300`}},A={root:{class:e`m-0 p-0`}},v=e`[&+small]:ris-label3-regular border-2 border-blue-800 bg-white placeholder:text-gray-800 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus:outline focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden [&+small]:mt-4 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`,p=e`ris-body2-regular h-48 px-16 py-4`,D=e`ris-body1-regular h-64 px-24 py-4`,L=e`ris-body2-regular h-[44px] p-0`,B=e`ris-body1-regular h-[60px] p-0`,F={root:({props:t,parent:l})=>{const r=e`[&[type=password]]:w-full [&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px]`,o=l.instance.$name==="InputGroup",s=e`bg-transparent placeholder:text-gray-900 focus:outline-hidden`,n=e`w-full`;return{class:{[v]:!o,[s]:o,[n]:!!t.fluid,[r]:!0,[p]:(!t.size||t.size==="small")&&!o,[L]:(!t.size||t.size==="small")&&o,[D]:t.size==="large"&&!o,[B]:t.size==="large"&&o},"data-size":t.size??"small"}}},I={root:{class:e`ris-body2-regular bg-white shadow`},list:{class:e`focus-visible:outline-none`},item:({context:t})=>{const l=e`relative h-48 pr-12 pl-16 after:absolute after:right-16 after:-bottom-1 after:left-16 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`,r=e`bg-gray-200 hover:bg-gray-200`;return{class:{[l]:!0,[r]:t.focused}}},itemContent:{class:e`flex h-full items-center py-4`},itemLink:{class:e`flex items-center gap-8`}},T={root:({props:t,instance:l})=>{const r=e`ris-body1-regular border-l-4 px-20 py-14`,o=t.severity??"info",s=e`border-l-green-800 bg-green-200`,n=e`border-l-blue-800 bg-blue-200`,i=e`border-l-yellow-800 bg-yellow-200`,a=e`border-l-red-800 bg-red-200`,u=!!l.$slots.icon,m={success:"var(--ris-icon-success)",info:"var(--ris-icon-info)",warn:"var(--ris-icon-warn)",error:"var(--ris-icon-error)"}[o],w=e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;return{class:{[r]:!0,[s]:o==="success",[n]:o==="info",[i]:o==="warn",[a]:o==="error",[w]:!u},style:{backgroundImage:u?void 0:m}}},content:{class:e`flex items-start gap-8`},text:{class:e`flex-1`},closeButton:({props:t})=>{const l=e`mt-4 inline-flex h-20 w-20 flex-none items-center justify-center rounded-sm p-2 leading-none`,r=t.severity??"info",o=e`text-green-800 hover:bg-green-400 active:bg-green-500`,s=e`text-blue-800 hover:bg-blue-400 active:bg-blue-500`,n=e`text-black hover:bg-yellow-400 active:bg-yellow-500`,i=e`text-red-800 hover:bg-red-400 active:bg-red-500`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="info",[n]:r==="warn",[i]:r==="error"}}}},E={},R={root:{class:e`mx-auto inline-block h-28 w-28 animate-spin`},circle:{class:e`fill-transparent stroke-current stroke-[4px] text-blue-800 [stroke-dasharray:200] [stroke-dashoffset:100]`}},V={root:{class:e`[&+label]:ris-label1-regular relative inline-block h-32 w-32 [&+label]:ml-8`},input:{class:e`peer h-full w-full cursor-pointer appearance-none rounded-full border-2 border-blue-800 bg-white hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus:outline focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800 active:outline-hidden disabled:cursor-not-allowed disabled:border-gray-600 aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`},box:{class:e`pointer-events-none absolute inset-0 flex items-center justify-center text-transparent peer-checked:text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800`},icon:{class:e`h-16 w-16 rounded-full bg-current`}},d=e`w-full`,j={root:({props:t})=>{const l=e`flex border-2 border-blue-800 bg-white placeholder:text-gray-800 focus-within:outline-4 focus-within:-outline-offset-4 focus-within:outline-blue-800 hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden`,r=e`ris-body2-regular h-48 py-4 pr-4 pl-16`;return{class:{[l]:!0,[r]:!0,[d]:!!t.fluid}}},pcInputText:{root:({props:t})=>({class:{[e`focus-visible:outline-hidden`]:!0,[d]:!!t.fluid}})},dropdown:{class:e`absolute inset-y-0 right-16`},option:{class:e`hover:bg-blue-100 data-[p-focus=true]:bg-blue-200`},optionGroup:{class:e`hover:bg-blue-100 data-[p-focus=true]:bg-blue-200`},overlay:{class:e`min-w-288 overflow-auto bg-white px-8 py-12 shadow-md`}},G={root:({props:t})=>{const l=e`ris-body1-regular [&+small]:ris-label3-regular min-h-56 border-2 border-blue-800 bg-white px-14 pt-8 pb-12 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus:outline focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`,r=e`w-full`;return{class:{[l]:!0,[r]:!!t.fluid}}}},P={message:({props:t})=>{var a;const l=e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`,r=(a=t.message)==null?void 0:a.severity,o=e`border-l-green-900 bg-green-200`,s=e`border-l-red-900 bg-red-200`,n=e`border-l-yellow-900 bg-yellow-200`,i=e`border-l-blue-900 bg-blue-200`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="error",[n]:r==="warn",[i]:r==="info"}}},messageContent:{class:e`flex w-full flex-row items-start justify-between gap-10`},messageIcon:({props:t})=>{var a;const l=e`mt-2 h-20 w-20 flex-none shrink-0`,r=((a=t.message)==null?void 0:a.severity)??"info",o=e`text-green-800`,s=e`text-red-800`,n=e`text-black`,i=e`text-blue-800`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="error",[n]:r==="warn",[i]:r==="info"}}},messageText:{class:e`flex-grow text-black`},summary:{class:e`ris-label2-bold`},detail:{class:e`ris-label2-regular`},closeButton:({props:t})=>{var a;const l=e`rounded-sm p-2`,r=((a=t.message)==null?void 0:a.severity)??"info",o=e`hover:bg-green-400`,s=e`hover:bg-red-400`,n=e`hover:bg-yellow-400`,i=e`hover:bg-blue-400`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="error",[n]:r==="warn",[i]:r==="info"}}},closeIcon:{class:e`text-black`}},Z={root:({props:t,state:l})=>{const r=e`ris-body2-regular [&+small]:ris-label3-regular inline-flex h-48 items-center justify-between border-2 bg-white py-4 pr-12 pl-16 [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`,o=e`cursor-pointer border-blue-800`,s=e`focus:outline focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800`,n=e`hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800`,i=e`cursor-not-allowed border-blue-500 text-blue-500 disabled:outline-hidden`,a=e`border-red-800 bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`,u=e`w-full`;return{class:{[r]:!0,[o]:!t.disabled,[s]:l.focused&&!t.disabled,[n]:!t.disabled,[u]:!!t.fluid,[i]:t.disabled,[a]:t.invalid},"aria-invalid":t.invalid?"true":null}},dropdown:{class:e`pl-12`},listContainer:{class:e`overflow-auto shadow-md`},label:{class:e`line-clamp-1 outline-none`},overlay:{class:e`bg-white`},option:({context:t})=>{const l=e`ris-body2-regular relative h-full min-h-48 w-full cursor-pointer px-24 py-16 after:absolute after:right-8 after:-bottom-1 after:left-8 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`,r=e`bg-gray-100`;return{class:{[l]:!0,[r]:t.focused}}}},J={pcInputText:{root:({props:t})=>({class:{[v]:!0,[p]:!0,"w-full":!!t.fluid}})}},C={list:{class:e`m-0 flex list-none flex-wrap items-center p-0 leading-none`},item:{class:e`flex-no-wrap ris-label1-regular my-2 flex items-center break-all`},itemLink:{class:e`inline-flex cursor-pointer items-center text-blue-800 outline-hidden hover:underline focus:outline focus:outline-4 focus:outline-offset-4 focus:outline-blue-800`},separator:{class:e`mx-6 flex items-center text-gray-600`}},b=e`cursor-pointer`,h=e`ris-label2-bold border-l-blue-800 bg-blue-200 text-black hover:bg-blue-300 focus-visible:bg-blue-300`,g=e`hover:bg-blue-200 focus-visible:bg-blue-200`,f=e`focus-visible:outline-none`,H={root:{class:e`text-blue-800`},header:({context:t})=>({class:{[e`group flex h-64 items-center border-l-4 border-transparent py-8 pr-20 pl-10`]:!0,[f]:!0,[b]:!0,[h]:t.active,[g]:!t.active}}),content:{class:e`mt-8 ml-28`},rootList:{class:e`focus-visible:outline-none`},panel:{class:e`focus-visible:outline-none`},itemContent:({context:t})=>{const l=e`group flex h-48 items-center border-l-4 border-transparent py-8 pr-20 pl-10`,r=e`bg-blue-300`,o=e`bg-blue-200`;return{class:{[l]:!0,[r]:t.active&&t.focused,[o]:!t.active&&t.focused,[f]:!0,[b]:!0,[h]:t.active,[g]:!t.active}}}},K={node:{class:e`mb-24 last:mb-0 focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 focus-visible:outline-none [&>ul:first-of-type]:border-l-0`},nodeContent:({context:t})=>{const l=e`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pr-20 pl-10 text-blue-800`,r=e`cursor-pointer select-none`,o=e`focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 focus-visible:outline-none`,s=e`border-l-blue-800 bg-blue-200 text-black`,n=e`hover:bg-blue-200`,i=e`hover:bg-blue-300`;return{class:{[l]:!0,[r]:!0,[s]:t.selected,[n]:!t.selected,[i]:t.selected,[o]:!0}}},nodeToggleButton:({context:t})=>{const l=e`h-20 w-20 justify-center border-0 bg-transparent text-gray-900 outline-none group-hover:text-black hover:text-black`,r=t.leaf?e`hidden`:e`inline-flex`;return{class:{[l]:!0,[r]:t.leaf}}},nodeChildren:()=>{const t=e`m-0 list-none border-l border-gray-600 p-0 pl-36 outline-none [&:not(ul)]:pl-0 [&>ul:first-of-type]:border-0`,l=e`focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 focus-visible:outline-none`;return{class:{[t]:!0,[l]:!0}}},nodeLabel:({context:t})=>{const l=e`group flex w-full flex-col items-start outline-none *:w-full *:outline-none group-hover:text-black [&>*:first-child]:group-hover:underline [&>*:last-child]:group-hover:no-underline`,r=e`text-black [&>*:last-child:is(span)]:text-gray-900`,o=e`[&>*:last-child]:group-hover:text-black`;return{class:{[l]:!0,[r]:t.selected,[o]:t.selected}}}},O={startsWith:"Beginnt mit",contains:"Enthält",notContains:"Enthält nicht",endsWith:"Endet mit",equals:"Gleich",notEquals:"Ungleich",noFilter:"Kein Filter",lt:"Weniger als",lte:"Weniger oder gleich",gt:"Größer als",gte:"Größer oder gleich",dateIs:"Datum ist",dateIsNot:"Datum ist nicht",dateBefore:"Datum ist vor",dateAfter:"Datum ist nach",clear:"Löschen",apply:"Anwenden",matchAll:"Alle erfüllen",matchAny:"Beliebige erfüllen",addRule:"Regel hinzufügen",removeRule:"Regel entfernen",accept:"Ja",reject:"Nein",choose:"Auswählen",upload:"Hochladen",cancel:"Abbrechen",completed:"Abgeschlossen",pending:"Ausstehend",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],chooseYear:"Jahr wählen",chooseMonth:"Monat wählen",chooseDate:"Datum wählen",prevDecade:"Vorheriges Jahrzehnt",nextDecade:"Nächstes Jahrzehnt",prevYear:"Vorheriges Jahr",nextYear:"Nächstes Jahr",prevMonth:"Vorheriger Monat",nextMonth:"Nächster Monat",prevHour:"Vorherige Stunde",nextHour:"Nächste Stunde",prevMinute:"Vorherige Minute",nextMinute:"Nächste Minute",prevSecond:"Vorherige Sekunde",nextSecond:"Nächste Sekunde",am:"vorm.",pm:"nachm.",today:"Heute",weekHeader:"KW",firstDayOfWeek:1,showMonthAfterYear:!1,dateFormat:"dd.mm.yy",weak:"Schwach",medium:"Mittel",strong:"Stark",passwordPrompt:"Passwort eingeben",emptyFilterMessage:"Keine Ergebnisse gefunden",searchMessage:"{0} Ergebnisse verfügbar",selectionMessage:"{0} Elemente ausgewählt",emptySelectionMessage:"Kein Element ausgewählt",emptySearchMessage:"Keine Ergebnisse gefunden",fileChosenMessage:"{0} Dateien",noFileChosenMessage:"Keine Datei ausgewählt",emptyMessage:"Keine Optionen verfügbar",aria:{trueLabel:"Wahr",falseLabel:"Falsch",nullLabel:"Nicht ausgewählt",star:"1 Stern",stars:"{star} Sterne",selectAll:"Alle Elemente ausgewählt",unselectAll:"Alle Elemente abgewählt",close:"Schließen",previous:"Vorherige",next:"Nächste",navigation:"Navigation",scrollTop:"Nach oben scrollen",moveTop:"Nach oben bewegen",moveUp:"Nach oben bewegen",moveDown:"Nach unten bewegen",moveBottom:"Nach unten bewegen",moveToTarget:"Zum Ziel verschieben",moveToSource:"Zur Quelle verschieben",moveAllToTarget:"Alle zum Ziel verschieben",moveAllToSource:"Alle zur Quelle verschieben",pageLabel:"Seite {page}",firstPageLabel:"Erste Seite",lastPageLabel:"Letzte Seite",nextPageLabel:"Nächste Seite",prevPageLabel:"Vorherige Seite",rowsPerPageLabel:"Zeilen pro Seite",jumpToPageDropdownLabel:"Zu Seite springen (Dropdown)",jumpToPageInputLabel:"Zu Seite springen (Eingabe)",selectRow:"Zeile ausgewählt",unselectRow:"Zeile abgewählt",expandRow:"Zeile erweitert",collapseRow:"Zeile reduziert",showFilterMenu:"Filtermenü anzeigen",hideFilterMenu:"Filtermenü ausblenden",filterOperator:"Filteroperator",filterConstraint:"Filterbedingung",editRow:"Zeile bearbeiten",saveEdit:"Bearbeitung speichern",cancelEdit:"Bearbeitung abbrechen",listView:"Listenansicht",gridView:"Gitteransicht",slide:"Folie",slideNumber:"Folie {slideNumber}",zoomImage:"Bild vergrößern",zoomIn:"Vergrößern",zoomOut:"Verkleinern",rotateRight:"Rechts drehen",rotateLeft:"Links drehen",listLabel:"Optionsliste"}},U={button:y,checkbox:S,confirmDialog:k,dialog:M,fileUpload:N,inputGroup:z,inputGroupAddon:A,inputText:F,menu:I,message:T,password:E,progressSpinner:R,radioButton:V,textarea:G,toast:P,autocomplete:j,select:Z,inputMask:J,breadcrumb:C,tree:K,panelmenu:H},W={deDE:O};exports.RisUiLocale=W;exports.RisUiTheme=U;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=(t,...l)=>String.raw({raw:t},...l),e=x,y={root:({props:t,instance:l})=>{const r=e`relative inline-flex max-w-full cursor-pointer items-center justify-center gap-8 rounded-none text-center outline-hidden focus:outline-4 focus:outline-offset-4 focus:outline-blue-800 active:outline-hidden disabled:cursor-not-allowed disabled:outline-hidden`,o=t.severity??"primary",s=e`bg-blue-800 text-white hover:bg-blue-700 active:bg-blue-500 active:text-blue-800 disabled:bg-gray-400 disabled:text-gray-600`,n=e`border-2 border-blue-800 bg-white text-blue-800 hover:bg-gray-200 focus:bg-gray-200 active:border-white active:bg-white disabled:border-blue-500 disabled:text-blue-500 disabled:hover:bg-white`,i=e`border-2 border-transparent bg-transparent text-blue-800 underline hover:border-gray-500 hover:bg-white focus:border-gray-500 active:border-white active:bg-white disabled:bg-transparent disabled:text-gray-500`,a=t.size??"normal";let u=e`ris-body2-bold h-48 py-4`,c=e`ris-body1-bold h-64 py-4`;return l.hasIcon&&!t.label?(u=e`${u} w-48 px-4`,c=e`${c} w-64 px-4`):(u=e`${u} px-16`,c=e`${c} px-24`),{class:{[r]:!0,[u]:a==="normal",[c]:a==="large",[s]:!t.text&&o==="primary",[n]:!t.text&&o==="secondary",[i]:t.text&&o==="primary"}}},label:({props:t})=>({class:{hidden:!t.label,[e`-order-1`]:t.iconPos==="right"}}),loadingIcon:({props:t})=>{const l=t.size??"normal",r=e`h-[1.34em] w-[1.34em]`,o=e`h-24 w-24`;return{class:{[e`animate-spin`]:!0,[r]:l==="normal",[o]:l==="large"}}}},S={root:{class:e`[&+label]:ris-label1-regular relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:ml-8`},input:{class:e`peer h-full w-full cursor-pointer appearance-none border-2 border-blue-800 bg-white outline-hidden hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus:outline focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800 active:outline-hidden disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-hidden aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-none aria-[invalid]:disabled:outline-none`},box:{class:e`pointer-events-none absolute inset-0 flex items-center justify-center text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800`},icon:{class:e`h-12 w-12`}},k={},M={root:()=>({class:e`ris-label2-regular max-h-[90dvh] w-[95dvw] max-w-[25rem] border-2 border-blue-800 bg-white px-56 py-44 shadow-lg`}),header:{class:e`mb-16 flex`},title:{class:e`ris-label1-bold flex-1`},headerActions:{class:e`flex-none`},pcCloseButton:{root:{class:e`flex h-24 w-24 items-center justify-center p-4 text-blue-800 outline-hidden hover:outline hover:outline-2 hover:outline-gray-500 focus:outline focus:outline-2 focus:outline-gray-500 active:outline-hidden`}},content:{class:e`ris-dialog-content overflow-auto has-[svg:first-child]:flex has-[svg:first-child]:gap-8 [&>svg:first-child]:flex-none`},footer:{class:e`mt-40 flex items-center justify-end gap-12`},mask:{class:e`bg-black/40`}},N={root:()=>({class:{[e`flex flex-col items-center gap-10`]:!0}}),input:()=>({class:"hidden"})},z={root:{class:e`has-[input:read-only]:curser-not-allowed inline-flex items-center gap-4 border-2 border-blue-800 bg-white px-16 py-0 has-[:focus]:outline has-[:focus]:outline-4 has-[:focus]:-outline-offset-4 has-[:focus]:outline-blue-800 has-[:hover]:outline has-[:hover]:outline-4 has-[:hover]:-outline-offset-4 has-[:hover]:outline-blue-800 has-[[aria-invalid]]:border-red-800 has-[[aria-invalid]]:bg-red-200 has-[[aria-invalid]]:outline-red-800 has-[[data-size=large]]:px-24 has-[input:disabled]:border-blue-500 has-[input:disabled]:bg-white has-[input:disabled]:text-blue-500 has-[input:disabled]:outline-hidden has-[input:read-only]:border-blue-300 has-[input:read-only]:bg-blue-300`}},A={root:{class:e`m-0 p-0`}},v=e`[&+small]:ris-label3-regular border-2 border-blue-800 bg-white placeholder:text-gray-800 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus:outline focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden [&+small]:mt-4 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`,p=e`ris-body2-regular h-48 px-16 py-4`,D=e`ris-body1-regular h-64 px-24 py-4`,L=e`ris-body2-regular h-[44px] p-0`,B=e`ris-body1-regular h-[60px] p-0`,F={root:({props:t,parent:l})=>{const r=e`[&[type=password]]:w-full [&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px]`,o=l.instance.$name==="InputGroup",s=e`bg-transparent placeholder:text-gray-900 focus:outline-hidden`,n=e`w-full`;return{class:{[v]:!o,[s]:o,[n]:!!t.fluid,[r]:!0,[p]:(!t.size||t.size==="small")&&!o,[L]:(!t.size||t.size==="small")&&o,[D]:t.size==="large"&&!o,[B]:t.size==="large"&&o},"data-size":t.size??"small"}}},I={root:{class:e`ris-body2-regular bg-white shadow`},list:{class:e`focus-visible:outline-none`},item:({context:t})=>{const l=e`relative h-48 pr-12 pl-16 after:absolute after:right-16 after:-bottom-1 after:left-16 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`,r=e`bg-gray-200 hover:bg-gray-200`;return{class:{[l]:!0,[r]:t.focused}}},itemContent:{class:e`flex h-full items-center py-4`},itemLink:{class:e`flex items-center gap-8`}},T={root:({props:t,instance:l})=>{const r=e`ris-body1-regular border-l-4 px-20 py-14`,o=t.severity??"info",s=e`border-l-green-800 bg-green-200`,n=e`border-l-blue-800 bg-blue-200`,i=e`border-l-yellow-800 bg-yellow-200`,a=e`border-l-red-800 bg-red-200`,u=!!l.$slots.icon,m={success:"var(--ris-icon-success)",info:"var(--ris-icon-info)",warn:"var(--ris-icon-warn)",error:"var(--ris-icon-error)"}[o],w=e`bg-[length:20px] bg-[16px_18px] bg-no-repeat pl-44`;return{class:{[r]:!0,[s]:o==="success",[n]:o==="info",[i]:o==="warn",[a]:o==="error",[w]:!u},style:{backgroundImage:u?void 0:m}}},content:{class:e`flex items-start gap-8`},text:{class:e`flex-1`},closeButton:({props:t})=>{const l=e`mt-4 inline-flex h-20 w-20 flex-none items-center justify-center rounded-sm p-2 leading-none`,r=t.severity??"info",o=e`text-green-800 hover:bg-green-400 active:bg-green-500`,s=e`text-blue-800 hover:bg-blue-400 active:bg-blue-500`,n=e`text-black hover:bg-yellow-400 active:bg-yellow-500`,i=e`text-red-800 hover:bg-red-400 active:bg-red-500`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="info",[n]:r==="warn",[i]:r==="error"}}}},E={},R={root:{class:e`mx-auto inline-block h-28 w-28 animate-spin`},circle:{class:e`fill-transparent stroke-current stroke-[4px] text-blue-800 [stroke-dasharray:200] [stroke-dashoffset:100]`}},V={root:{class:e`[&+label]:ris-label1-regular relative inline-block h-32 w-32 [&+label]:ml-8`},input:{class:e`peer h-full w-full cursor-pointer appearance-none rounded-full border-2 border-blue-800 bg-white hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus:outline focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800 active:outline-hidden disabled:cursor-not-allowed disabled:border-gray-600 aria-[invalid]:border-red-800 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`},box:{class:e`pointer-events-none absolute inset-0 flex items-center justify-center text-transparent peer-checked:text-blue-800 peer-disabled:text-gray-600 peer-aria-[invalid]:text-red-800`},icon:{class:e`h-16 w-16 rounded-full bg-current`}},d=e`w-full`,j={root:({props:t})=>{const l=e`flex border-2 border-blue-800 bg-white placeholder:text-gray-800 focus-within:outline-4 focus-within:-outline-offset-4 focus-within:outline-blue-800 hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden`,r=e`ris-body2-regular h-48 py-4 pr-4 pl-16`;return{class:{[l]:!0,[r]:!0,[d]:!!t.fluid}}},pcInputText:{root:({props:t})=>({class:{[e`focus-visible:outline-hidden`]:!0,[d]:!!t.fluid}})},dropdown:{class:e`absolute inset-y-0 right-16`},option:{class:e`hover:bg-blue-100 data-[p-focus=true]:bg-blue-200`},optionGroup:{class:e`hover:bg-blue-100 data-[p-focus=true]:bg-blue-200`},overlay:{class:e`min-w-288 overflow-auto bg-white px-8 py-12 shadow-md`}},G={root:({props:t})=>{const l=e`ris-body1-regular [&+small]:ris-label3-regular min-h-56 border-2 border-blue-800 bg-white px-14 pt-8 pb-12 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800 focus:outline focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800 disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-hidden aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-hidden [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`,r=e`w-full`;return{class:{[l]:!0,[r]:!!t.fluid}}}},P={message:({props:t})=>{var a;const l=e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`,r=(a=t.message)==null?void 0:a.severity,o=e`border-l-green-900 bg-green-200`,s=e`border-l-red-900 bg-red-200`,n=e`border-l-yellow-900 bg-yellow-200`,i=e`border-l-blue-900 bg-blue-200`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="error",[n]:r==="warn",[i]:r==="info"}}},messageContent:{class:e`flex w-full flex-row items-start justify-between gap-10`},messageIcon:({props:t})=>{var a;const l=e`mt-2 h-20 w-20 flex-none shrink-0`,r=((a=t.message)==null?void 0:a.severity)??"info",o=e`text-green-800`,s=e`text-red-800`,n=e`text-black`,i=e`text-blue-800`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="error",[n]:r==="warn",[i]:r==="info"}}},messageText:{class:e`flex-grow text-black`},summary:{class:e`ris-label2-bold`},detail:{class:e`ris-label2-regular`},closeButton:({props:t})=>{var a;const l=e`rounded-sm p-2`,r=((a=t.message)==null?void 0:a.severity)??"info",o=e`hover:bg-green-400`,s=e`hover:bg-red-400`,n=e`hover:bg-yellow-400`,i=e`hover:bg-blue-400`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="error",[n]:r==="warn",[i]:r==="info"}}},closeIcon:{class:e`text-black`}},Z={root:({props:t,state:l})=>{const r=e`ris-body2-regular [&+small]:ris-label3-regular inline-flex h-48 items-center justify-between border-2 bg-white py-4 pr-12 pl-16 [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`,o=e`cursor-pointer border-blue-800`,s=e`has-[:focus]:outline has-[:focus]:outline-4 has-[:focus]:-outline-offset-4 has-[:focus]:outline-blue-800`,n=e`hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800`,i=e`cursor-not-allowed border-blue-500 text-blue-500 disabled:outline-hidden`,a=e`border-red-800 bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`,u=e`w-full`;return{class:{[r]:!0,[o]:!t.disabled,[s]:l.focused&&!t.disabled,[n]:!t.disabled,[u]:!!t.fluid,[i]:t.disabled,[a]:t.invalid},"aria-invalid":t.invalid?"true":null}},dropdown:{class:e`pl-12`},listContainer:{class:e`overflow-auto shadow-md`},label:{class:e`line-clamp-1 outline-none`},overlay:{class:e`bg-white`},option:({context:t})=>{const l=e`ris-body2-regular relative h-full min-h-48 w-full cursor-pointer px-24 py-16 after:absolute after:right-8 after:-bottom-1 after:left-8 after:border-b after:border-gray-300 after:content-[''] last:after:border-b-0 hover:bg-gray-100`,r=e`bg-gray-100`;return{class:{[l]:!0,[r]:t.focused}}}},J={pcInputText:{root:({props:t})=>({class:{[v]:!0,[p]:!0,"w-full":!!t.fluid}})}},C={list:{class:e`m-0 flex list-none flex-wrap items-center p-0 leading-none`},item:{class:e`flex-no-wrap ris-label1-regular my-2 flex items-center break-all`},itemLink:{class:e`inline-flex cursor-pointer items-center text-blue-800 outline-hidden hover:underline focus:outline focus:outline-4 focus:outline-offset-4 focus:outline-blue-800`},separator:{class:e`mx-6 flex items-center text-gray-600`}},b=e`cursor-pointer`,h=e`ris-label2-bold border-l-blue-800 bg-blue-200 text-black hover:bg-blue-300 focus-visible:bg-blue-300`,g=e`hover:bg-blue-200 focus-visible:bg-blue-200`,f=e`focus-visible:outline-none`,H={root:{class:e`text-blue-800`},header:({context:t})=>({class:{[e`group flex h-64 items-center border-l-4 border-transparent py-8 pr-20 pl-10`]:!0,[f]:!0,[b]:!0,[h]:t.active,[g]:!t.active}}),content:{class:e`mt-8 ml-28`},rootList:{class:e`focus-visible:outline-none`},panel:{class:e`focus-visible:outline-none`},itemContent:({context:t})=>{const l=e`group flex h-48 items-center border-l-4 border-transparent py-8 pr-20 pl-10`,r=e`bg-blue-300`,o=e`bg-blue-200`;return{class:{[l]:!0,[r]:t.active&&t.focused,[o]:!t.active&&t.focused,[f]:!0,[b]:!0,[h]:t.active,[g]:!t.active}}}},K={node:{class:e`mb-24 last:mb-0 focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 focus-visible:outline-none [&>ul:first-of-type]:border-l-0`},nodeContent:({context:t})=>{const l=e`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pr-20 pl-10 text-blue-800`,r=e`cursor-pointer select-none`,o=e`focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 focus-visible:outline-none`,s=e`border-l-blue-800 bg-blue-200 text-black`,n=e`hover:bg-blue-200`,i=e`hover:bg-blue-300`;return{class:{[l]:!0,[r]:!0,[s]:t.selected,[n]:!t.selected,[i]:t.selected,[o]:!0}}},nodeToggleButton:({context:t})=>{const l=e`h-20 w-20 justify-center border-0 bg-transparent text-gray-900 outline-none group-hover:text-black hover:text-black`,r=t.leaf?e`hidden`:e`inline-flex`;return{class:{[l]:!0,[r]:t.leaf}}},nodeChildren:()=>{const t=e`m-0 list-none border-l border-gray-600 p-0 pl-36 outline-none [&:not(ul)]:pl-0 [&>ul:first-of-type]:border-0`,l=e`focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 focus-visible:outline-none`;return{class:{[t]:!0,[l]:!0}}},nodeLabel:({context:t})=>{const l=e`group flex w-full flex-col items-start outline-none *:w-full *:outline-none group-hover:text-black [&>*:first-child]:group-hover:underline [&>*:last-child]:group-hover:no-underline`,r=e`text-black [&>*:last-child:is(span)]:text-gray-900`,o=e`[&>*:last-child]:group-hover:text-black`;return{class:{[l]:!0,[r]:t.selected,[o]:t.selected}}}},O={startsWith:"Beginnt mit",contains:"Enthält",notContains:"Enthält nicht",endsWith:"Endet mit",equals:"Gleich",notEquals:"Ungleich",noFilter:"Kein Filter",lt:"Weniger als",lte:"Weniger oder gleich",gt:"Größer als",gte:"Größer oder gleich",dateIs:"Datum ist",dateIsNot:"Datum ist nicht",dateBefore:"Datum ist vor",dateAfter:"Datum ist nach",clear:"Löschen",apply:"Anwenden",matchAll:"Alle erfüllen",matchAny:"Beliebige erfüllen",addRule:"Regel hinzufügen",removeRule:"Regel entfernen",accept:"Ja",reject:"Nein",choose:"Auswählen",upload:"Hochladen",cancel:"Abbrechen",completed:"Abgeschlossen",pending:"Ausstehend",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],chooseYear:"Jahr wählen",chooseMonth:"Monat wählen",chooseDate:"Datum wählen",prevDecade:"Vorheriges Jahrzehnt",nextDecade:"Nächstes Jahrzehnt",prevYear:"Vorheriges Jahr",nextYear:"Nächstes Jahr",prevMonth:"Vorheriger Monat",nextMonth:"Nächster Monat",prevHour:"Vorherige Stunde",nextHour:"Nächste Stunde",prevMinute:"Vorherige Minute",nextMinute:"Nächste Minute",prevSecond:"Vorherige Sekunde",nextSecond:"Nächste Sekunde",am:"vorm.",pm:"nachm.",today:"Heute",weekHeader:"KW",firstDayOfWeek:1,showMonthAfterYear:!1,dateFormat:"dd.mm.yy",weak:"Schwach",medium:"Mittel",strong:"Stark",passwordPrompt:"Passwort eingeben",emptyFilterMessage:"Keine Ergebnisse gefunden",searchMessage:"{0} Ergebnisse verfügbar",selectionMessage:"{0} Elemente ausgewählt",emptySelectionMessage:"Kein Element ausgewählt",emptySearchMessage:"Keine Ergebnisse gefunden",fileChosenMessage:"{0} Dateien",noFileChosenMessage:"Keine Datei ausgewählt",emptyMessage:"Keine Optionen verfügbar",aria:{trueLabel:"Wahr",falseLabel:"Falsch",nullLabel:"Nicht ausgewählt",star:"1 Stern",stars:"{star} Sterne",selectAll:"Alle Elemente ausgewählt",unselectAll:"Alle Elemente abgewählt",close:"Schließen",previous:"Vorherige",next:"Nächste",navigation:"Navigation",scrollTop:"Nach oben scrollen",moveTop:"Nach oben bewegen",moveUp:"Nach oben bewegen",moveDown:"Nach unten bewegen",moveBottom:"Nach unten bewegen",moveToTarget:"Zum Ziel verschieben",moveToSource:"Zur Quelle verschieben",moveAllToTarget:"Alle zum Ziel verschieben",moveAllToSource:"Alle zur Quelle verschieben",pageLabel:"Seite {page}",firstPageLabel:"Erste Seite",lastPageLabel:"Letzte Seite",nextPageLabel:"Nächste Seite",prevPageLabel:"Vorherige Seite",rowsPerPageLabel:"Zeilen pro Seite",jumpToPageDropdownLabel:"Zu Seite springen (Dropdown)",jumpToPageInputLabel:"Zu Seite springen (Eingabe)",selectRow:"Zeile ausgewählt",unselectRow:"Zeile abgewählt",expandRow:"Zeile erweitert",collapseRow:"Zeile reduziert",showFilterMenu:"Filtermenü anzeigen",hideFilterMenu:"Filtermenü ausblenden",filterOperator:"Filteroperator",filterConstraint:"Filterbedingung",editRow:"Zeile bearbeiten",saveEdit:"Bearbeitung speichern",cancelEdit:"Bearbeitung abbrechen",listView:"Listenansicht",gridView:"Gitteransicht",slide:"Folie",slideNumber:"Folie {slideNumber}",zoomImage:"Bild vergrößern",zoomIn:"Vergrößern",zoomOut:"Verkleinern",rotateRight:"Rechts drehen",rotateLeft:"Links drehen",listLabel:"Optionsliste"}},U={button:y,checkbox:S,confirmDialog:k,dialog:M,fileUpload:N,inputGroup:z,inputGroupAddon:A,inputText:F,menu:I,message:T,password:E,progressSpinner:R,radioButton:V,textarea:G,toast:P,autocomplete:j,select:Z,inputMask:J,breadcrumb:C,tree:K,panelmenu:H},W={deDE:O};exports.RisUiLocale=W;exports.RisUiTheme=U;
@@ -290,7 +290,7 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
290
290
  }
291
291
  }, J = {
292
292
  root: ({ props: t, state: l }) => {
293
- const r = e`ris-body2-regular [&+small]:ris-label3-regular inline-flex h-48 items-center justify-between border-2 bg-white py-4 pr-12 pl-16 [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, o = e`cursor-pointer border-blue-800`, s = e`focus:outline focus:outline-4 focus:-outline-offset-4 focus:outline-blue-800`, n = e`hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800`, i = e`cursor-not-allowed border-blue-500 text-blue-500 disabled:outline-hidden`, a = e`border-red-800 bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`, u = e`w-full`;
293
+ const r = e`ris-body2-regular [&+small]:ris-label3-regular inline-flex h-48 items-center justify-between border-2 bg-white py-4 pr-12 pl-16 [&+small]:mt-2 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`, o = e`cursor-pointer border-blue-800`, s = e`has-[:focus]:outline has-[:focus]:outline-4 has-[:focus]:-outline-offset-4 has-[:focus]:outline-blue-800`, n = e`hover:outline hover:outline-4 hover:-outline-offset-4 hover:outline-blue-800`, i = e`cursor-not-allowed border-blue-500 text-blue-500 disabled:outline-hidden`, a = e`border-red-800 bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:active:outline-hidden aria-[invalid]:disabled:outline-hidden`, u = e`w-full`;
294
294
  return {
295
295
  class: {
296
296
  [r]: !0,
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- /*! tailwindcss v4.0.9 | MIT License | https://tailwindcss.com */div[data-pc-section=nodecontent]:has(+ul[data-pc-section=nodechildren] li div[data-pc-section=nodecontent][data-p-selected=true]){border-left-color:var(--color-gray-600,oklch(.446 .03 256.802));background-color:var(--color-gray-100,oklch(.967 .003 264.542))}div[data-pc-section=nodecontent]:has(+ul[data-pc-section=nodechildren] li div[data-pc-section=nodecontent][data-p-selected=true]):hover{background-color:var(--color-blue-200,oklch(.882 .059 254.128))}@theme{ --color-black: #0b0c0c; --color-white: #fff; --color-inherit: inherit; --color-current: currentColor; --color-transparent: transparent; --color-blue-100: #f2f6f8; --color-blue-200: #ecf1f4; --color-blue-300: #dce8ef; --color-blue-400: #ccdbe4; --color-blue-500: #b3c9d6; --color-blue-600: #6693ad; --color-blue-700: #336f91; --color-blue-800: #004b76; --color-blue-900: #003350; --color-gray-100: #f6f7f8; --color-gray-200: #eff2f4; --color-gray-300: #edeef0; --color-gray-400: #dcdee1; --color-gray-500: #cacdd2; --color-gray-600: #b8bdc3; --color-gray-700: #a6acb5; --color-gray-800: #717a88; --color-gray-900: #4e596a; --color-green-100: #e8f7f0; --color-green-200: #ccebdd; --color-green-300: #b0d8c6; --color-green-400: #97ccb4; --color-green-500: #65b491; --color-green-600: #349d6e; --color-green-700: #01854a; --color-green-800: #006538; --color-green-900: #003e22; --color-orange-100: #fef7e8; --color-orange-200: #fae5bb; --color-orange-300: #f9d791; --color-orange-400: #f8c967; --color-orange-500: #f7bb3d; --color-orange-600: #e9aa26; --color-orange-700: #d79815; --color-orange-800: #c18509; --color-orange-900: #ad7500; --color-red-100: #fcf2f5; --color-red-200: #f9e5ec; --color-red-300: #f2ccd8; --color-red-400: #ecb3c5; --color-red-500: #e699b1; --color-red-600: #d9668b; --color-red-700: #c61a50; --color-red-800: #b0243f; --color-red-900: #8e001b; --color-yellow-100: #fefcef; --color-yellow-200: #fff9d2; --color-yellow-300: #f9ec9e; --color-yellow-400: #f7e67d; --color-yellow-500: #f5e05d; --color-yellow-600: #f2dc5d; --color-yellow-700: #e5ce5c; --color-yellow-800: #dac23c; --color-yellow-900: #c3a91e; --spacing-0: 0rem; --spacing-1: .0625rem; --spacing-2: .125rem; --spacing-4: .25rem; --spacing-6: .375rem; --spacing-8: .5rem; --spacing-10: .625rem; --spacing-12: .75rem; --spacing-14: .875rem; --spacing-16: 1rem; --spacing-20: 1.25rem; --spacing-24: 1.5rem; --spacing-28: 1.75rem; --spacing-32: 2rem; --spacing-36: 2.25rem; --spacing-40: 2.5rem; --spacing-44: 2.75rem; --spacing-48: 3rem; --spacing-56: 3.5rem; --spacing-64: 4rem; --spacing-80: 5rem; --spacing-96: 6rem; --spacing-112: 7rem; --spacing-128: 8rem; --spacing-144: 9rem; --spacing-160: 10rem; --spacing-176: 11rem; --spacing-192: 12rem; --spacing-208: 13rem; --spacing-224: 14rem; --spacing-240: 15rem; --spacing-288: 18rem; --spacing-320: 20rem; --spacing-384: 24rem; --font-sans: BundesSansWeb, Calibri, Verdana, Arial, Helvetica, sans-serif; --font-serif: BundesSerifWeb, Georgia, "Times New Roman", serif; --font-condensed: BundesSansCondWeb, Arial Narrow, Arial, sans-serif; }:root{--ris-icon-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 5.99L19.53 19H4.47zM12 2L1 21h22z'/%3E%3Cpath fill='%23000' d='M13 16h-2v2h2zm0-6h-2v5h2z'/%3E%3C/svg%3E");--ris-icon-error: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238E001B' d='M12 5.99L19.53 19H4.47zM12 2L1 21h22z'/%3E%3Cpath fill='%238E001B' d='M13 16h-2v2h2zm0-6h-2v5h2z'/%3E%3C/svg%3E");--ris-icon-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='%23004B76' d='M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8'/%3E%3C/svg%3E");--ris-icon-success: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='%23005E34' d='M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z'/%3E%3C/svg%3E")}body{color:var(--color-black);font-family:var(--font-sans)}::placeholder{font-family:var(--font-sans);font-style:normal}@utility ris-title-regular{font-size: 64px; font-weight: normal; line-height: 1.1875;}@utility ris-heading1-regular{font-size: 48px; font-weight: normal; line-height: 1.2;}@utility ris-heading1-bold{font-size: 48px; font-weight: bold; line-height: 1.2;}@utility ris-heading2-regular{font-size: 32px; font-weight: normal; line-height: 1.1875;}@utility ris-heading2-bold{font-size: 32px; font-weight: bold; line-height: 1.1875;}@utility ris-heading3-regular{font-size: 26px; font-weight: normal; line-height: 1.23;}@utility ris-heading3-bold{font-size: 26px; font-weight: bold; line-height: 1.23;}@utility ris-subhead-regular{font-size: 20px; font-weight: normal; line-height: 1.5;}@utility ris-body1-regular{font-size: 18px; font-weight: normal; line-height: 1.5;}@utility ris-body1-bold{font-size: 18px; font-weight: bold; line-height: 1.5;}@utility ris-body2-regular{font-size: 16px; font-weight: normal; line-height: 1.5;}@utility ris-body2-bold{font-size: 16px; font-weight: bold; line-height: 1.5;}@utility ris-body3-regular{font-size: 14px; font-weight: normal; line-height: 1.5;}@utility ris-body3-bold{font-size: 14px; font-weight: bold; line-height: 1.5;}@utility ris-label1-regular{font-size: 18px; font-weight: normal; line-height: 1.25;}@utility ris-label1-bold{font-size: 18px; font-weight: bold; line-height: 1.25;}@utility ris-label2-regular{font-size: 16px; font-weight: normal; line-height: 1.25;}@utility ris-label2-bold{font-size: 16px; font-weight: bold; line-height: 1.25;}@utility ris-label3-regular{font-size: 14px; font-weight: normal; line-height: 1.25;}@utility ris-label3-bold{font-size: 14px; font-weight: bold; line-height: 1.25;}@utility ris-link1-regular{color: var(--color-blue-800); font-size: 18px; font-weight: normal; line-height: 1.5; text-decoration: underline;}@utility ris-link1-bold{color: var(--color-blue-800); font-size: 18px; font-weight: bold; line-height: 1.5; text-decoration: underline;}@utility ris-link2-regular{color: var(--color-blue-800); font-size: 16px; font-weight: normal; line-height: 1.5; text-decoration: underline;}@utility ris-link2-bold{color: var(--color-blue-800); font-size: 16px; font-weight: bold; line-height: 1.5; text-decoration: underline;}@utility ris-link3-regular{color: var(--color-blue-800); font-size: 14px; font-weight: normal; line-height: 1.5; text-decoration: underline;}@utility ris-link3-bold{color: var(--color-blue-800); font-size: 14px; font-weight: bold; line-height: 1.5; text-decoration: underline;}._truncate_186wk_2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--4da4d868)}
1
+ /*! tailwindcss v4.0.9 | MIT License | https://tailwindcss.com */div[data-pc-section=nodecontent]:has(+ul[data-pc-section=nodechildren] li div[data-pc-section=nodecontent][data-p-selected=true]){border-left-color:var(--color-gray-600,oklch(.446 .03 256.802));background-color:var(--color-gray-100,oklch(.967 .003 264.542))}div[data-pc-section=nodecontent]:has(+ul[data-pc-section=nodechildren] li div[data-pc-section=nodecontent][data-p-selected=true]):hover{background-color:var(--color-blue-200,oklch(.882 .059 254.128))}@theme static{--color-*: initial; --spacing-*: initial; --font-*: initial; --color-black: #0b0c0c; --color-white: #fff; --color-inherit: inherit; --color-current: currentColor; --color-transparent: transparent; --color-blue-100: #f2f6f8; --color-blue-200: #ecf1f4; --color-blue-300: #dce8ef; --color-blue-400: #ccdbe4; --color-blue-500: #b3c9d6; --color-blue-600: #6693ad; --color-blue-700: #336f91; --color-blue-800: #004b76; --color-blue-900: #003350; --color-gray-100: #f6f7f8; --color-gray-200: #eff2f4; --color-gray-300: #edeef0; --color-gray-400: #dcdee1; --color-gray-500: #cacdd2; --color-gray-600: #b8bdc3; --color-gray-700: #a6acb5; --color-gray-800: #717a88; --color-gray-900: #4e596a; --color-green-100: #e8f7f0; --color-green-200: #ccebdd; --color-green-300: #b0d8c6; --color-green-400: #97ccb4; --color-green-500: #65b491; --color-green-600: #349d6e; --color-green-700: #01854a; --color-green-800: #006538; --color-green-900: #003e22; --color-orange-100: #fef7e8; --color-orange-200: #fae5bb; --color-orange-300: #f9d791; --color-orange-400: #f8c967; --color-orange-500: #f7bb3d; --color-orange-600: #e9aa26; --color-orange-700: #d79815; --color-orange-800: #c18509; --color-orange-900: #ad7500; --color-red-100: #fcf2f5; --color-red-200: #f9e5ec; --color-red-300: #f2ccd8; --color-red-400: #ecb3c5; --color-red-500: #e699b1; --color-red-600: #d9668b; --color-red-700: #c61a50; --color-red-800: #b0243f; --color-red-900: #8e001b; --color-yellow-100: #fefcef; --color-yellow-200: #fff9d2; --color-yellow-300: #f9ec9e; --color-yellow-400: #f7e67d; --color-yellow-500: #f5e05d; --color-yellow-600: #f2dc5d; --color-yellow-700: #e5ce5c; --color-yellow-800: #dac23c; --color-yellow-900: #c3a91e; --spacing-0: 0rem; --spacing-1: .0625rem; --spacing-2: .125rem; --spacing-4: .25rem; --spacing-6: .375rem; --spacing-8: .5rem; --spacing-10: .625rem; --spacing-12: .75rem; --spacing-14: .875rem; --spacing-16: 1rem; --spacing-20: 1.25rem; --spacing-24: 1.5rem; --spacing-28: 1.75rem; --spacing-32: 2rem; --spacing-36: 2.25rem; --spacing-40: 2.5rem; --spacing-44: 2.75rem; --spacing-48: 3rem; --spacing-56: 3.5rem; --spacing-64: 4rem; --spacing-80: 5rem; --spacing-96: 6rem; --spacing-112: 7rem; --spacing-128: 8rem; --spacing-144: 9rem; --spacing-160: 10rem; --spacing-176: 11rem; --spacing-192: 12rem; --spacing-208: 13rem; --spacing-224: 14rem; --spacing-240: 15rem; --spacing-288: 18rem; --spacing-320: 20rem; --spacing-384: 24rem; --font-sans: BundesSansWeb,Calibri,Verdana,Arial,Helvetica,sans-serif; --font-serif: BundesSerifWeb,Georgia,"Times New Roman",serif; --font-condensed: BundesSansCondWeb,Arial Narrow,Arial,sans-serif;}@layer base{:root{--ris-icon-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 5.99L19.53 19H4.47zM12 2L1 21h22z'/%3E%3Cpath fill='%23000' d='M13 16h-2v2h2zm0-6h-2v5h2z'/%3E%3C/svg%3E");--ris-icon-error: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238E001B' d='M12 5.99L19.53 19H4.47zM12 2L1 21h22z'/%3E%3Cpath fill='%238E001B' d='M13 16h-2v2h2zm0-6h-2v5h2z'/%3E%3C/svg%3E");--ris-icon-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='%23004B76' d='M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8'/%3E%3C/svg%3E");--ris-icon-success: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3Cpath fill='%23005E34' d='M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z'/%3E%3C/svg%3E")}body{color:var(--color-black);font-family:var(--font-sans)}::placeholder{font-family:var(--font-sans);font-style:normal}}@utility ris-title-regular{font-size: 64px; font-weight: normal; line-height: 1.1875;}@utility ris-heading1-regular{font-size: 48px; font-weight: normal; line-height: 1.2;}@utility ris-heading1-bold{font-size: 48px; font-weight: bold; line-height: 1.2;}@utility ris-heading2-regular{font-size: 32px; font-weight: normal; line-height: 1.1875;}@utility ris-heading2-bold{font-size: 32px; font-weight: bold; line-height: 1.1875;}@utility ris-heading3-regular{font-size: 26px; font-weight: normal; line-height: 1.23;}@utility ris-heading3-bold{font-size: 26px; font-weight: bold; line-height: 1.23;}@utility ris-subhead-regular{font-size: 20px; font-weight: normal; line-height: 1.5;}@utility ris-body1-regular{font-size: 18px; font-weight: normal; line-height: 1.5;}@utility ris-body1-bold{font-size: 18px; font-weight: bold; line-height: 1.5;}@utility ris-body2-regular{font-size: 16px; font-weight: normal; line-height: 1.5;}@utility ris-body2-bold{font-size: 16px; font-weight: bold; line-height: 1.5;}@utility ris-body3-regular{font-size: 14px; font-weight: normal; line-height: 1.5;}@utility ris-body3-bold{font-size: 14px; font-weight: bold; line-height: 1.5;}@utility ris-label1-regular{font-size: 18px; font-weight: normal; line-height: 1.25;}@utility ris-label1-bold{font-size: 18px; font-weight: bold; line-height: 1.25;}@utility ris-label2-regular{font-size: 16px; font-weight: normal; line-height: 1.25;}@utility ris-label2-bold{font-size: 16px; font-weight: bold; line-height: 1.25;}@utility ris-label3-regular{font-size: 14px; font-weight: normal; line-height: 1.25;}@utility ris-label3-bold{font-size: 14px; font-weight: bold; line-height: 1.25;}@utility ris-link1-regular{color: var(--color-blue-800); font-size: 18px; font-weight: normal; line-height: 1.5; text-decoration: underline;}@utility ris-link1-bold{color: var(--color-blue-800); font-size: 18px; font-weight: bold; line-height: 1.5; text-decoration: underline;}@utility ris-link2-regular{color: var(--color-blue-800); font-size: 16px; font-weight: normal; line-height: 1.5; text-decoration: underline;}@utility ris-link2-bold{color: var(--color-blue-800); font-size: 16px; font-weight: bold; line-height: 1.5; text-decoration: underline;}@utility ris-link3-regular{color: var(--color-blue-800); font-size: 14px; font-weight: normal; line-height: 1.5; text-decoration: underline;}@utility ris-link3-bold{color: var(--color-blue-800); font-size: 14px; font-weight: bold; line-height: 1.5; text-decoration: underline;}._truncate_186wk_2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--4da4d868)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitalservicebund/ris-ui",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Component library for NeuRIS",
5
5
  "author": "digitalservicebund",
6
6
  "license": "GPL-3.0-only",
@@ -18,16 +18,13 @@
18
18
  "import": "./dist/primevue/index.js",
19
19
  "require": "./dist/primevue/index.cjs"
20
20
  },
21
- "./primevue/style.css": {
22
- "import": "./dist/style.css"
23
- },
24
- "./tailwind": {
25
- "types": "./dist/tailwind/index.d.ts",
26
- "import": "./dist/tailwind/index.js",
27
- "require": "./dist/tailwind/index.cjs"
21
+ "./style.css": {
22
+ "import": "./dist/style.css",
23
+ "require": "./dist/style.css"
28
24
  },
29
25
  "./fonts.css": {
30
- "import": "./dist/fonts.css"
26
+ "import": "./dist/fonts.css",
27
+ "require": "./dist/style.css"
31
28
  },
32
29
  "./components": {
33
30
  "types": "./dist/components/index.d.ts",
@@ -57,7 +54,7 @@
57
54
  "vue": "^3.0.0"
58
55
  },
59
56
  "devDependencies": {
60
- "@commitlint/config-conventional": "~19.7.1",
57
+ "@commitlint/config-conventional": "~19.8.0",
61
58
  "@digitalservice4germany/angie": "~1.2.0",
62
59
  "@eslint/compat": "~1.2.7",
63
60
  "@eslint/js": "~9.21.0",
@@ -78,7 +75,7 @@
78
75
  "@types/lodash": "~4.17.16",
79
76
  "@vitejs/plugin-vue": "~5.2.1",
80
77
  "@vue/test-utils": "~2.4.6",
81
- "eslint": "~9.21.0",
78
+ "eslint": "~9.22.0",
82
79
  "eslint-config-prettier": "~10.0.2",
83
80
  "eslint-plugin-vue": "~9.32.0",
84
81
  "globals": "~16.0.0",