@digitalservicebund/ris-ui 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -24
- package/dist/components/RisAutoComplete/RisAutoComplete.vue.d.ts +6 -15
- package/dist/components/RisCopyableLabel/RisCopyableLabel.vue.d.ts +1 -1
- package/dist/components/RisExpandableText/RisExpandableText.vue.d.ts +72 -16
- package/dist/components/RisGhostButton/RisGhostButton.vue.d.ts +9 -12
- package/dist/components/RisSingleAccordion/RisSingleAccordion.vue.d.ts +37 -13
- package/dist/components/index.cjs +246 -202
- package/dist/components/index.js +3031 -2774
- package/dist/mockServiceWorker.js +1 -1
- package/dist/primevue/index.cjs +1 -1
- package/dist/primevue/index.d.ts +0 -1
- package/dist/primevue/index.js +59 -59
- package/dist/style.css +1 -1
- package/dist/tailwind/index.cjs +1 -1
- package/dist/tailwind/index.d.ts +1 -6
- package/dist/tailwind/index.js +1 -364
- package/package.json +39 -41
@@ -8,7 +8,7 @@
|
|
8
8
|
* - Please do NOT serve this file on production.
|
9
9
|
*/
|
10
10
|
|
11
|
-
const PACKAGE_VERSION = '2.7.
|
11
|
+
const PACKAGE_VERSION = '2.7.3'
|
12
12
|
const INTEGRITY_CHECKSUM = '00729d72e3b82faf54ca8b9621dbb96f'
|
13
13
|
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
|
14
14
|
const activeClientIds = new Set()
|
package/dist/primevue/index.cjs
CHANGED
@@ -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 items-center justify-center gap-8 rounded-none text-center outline-4 outline-offset-4 outline-blue-800 focus:outline active:outline-none disabled:cursor-not-allowed disabled:outline-none`,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`,a=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`,i=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]:i==="normal",[c]:i==="large",[s]:!t.text&&o==="primary",[n]:!t.text&&o==="secondary",[a]: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`relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:ris-label1-regular [&+label]:ml-8`},input:{class:e`peer h-full w-full cursor-pointer appearance-none border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 hover:outline focus:outline active:outline-none disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-none 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-2 outline-gray-500 hover:outline focus:outline active:outline-none`}},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 outline-4 -outline-offset-4 outline-blue-800 has-[[aria-invalid]]:border-red-800 has-[input:disabled]:border-blue-500 has-[input:read-only]:border-blue-300 has-[[aria-invalid]]:bg-red-200 has-[input:disabled]:bg-white has-[input:read-only]:bg-blue-300 has-[[data-size=large]]:px-24 has-[input:disabled]:text-blue-500 has-[input:disabled]:outline-none has-[:focus]:outline has-[:hover]:outline has-[[aria-invalid]]:outline-red-800`}},A={root:{class:e`m-0 p-0`}},p=e`border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 [&+small]:ris-label3-regular placeholder:text-gray-800 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none [&+small]:mt-4 [&+small]:flex [&+small]:items-center [&+small]:gap-4 [&+small]:text-gray-900 [&[aria-invalid="true"]+small]:text-red-900`,m=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]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px] [&[type=password]]:w-full`,o=l.instance.$name==="InputGroup",s=e`bg-transparent placeholder:text-gray-900 focus:outline-none`,n=e`w-full`;return{class:{[p]:!o,[s]:o,[n]:!!t.fluid,[r]:!0,[m]:(!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 pl-16 pr-12 after:absolute after:-bottom-1 after:left-16 after:right-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`,a=e`border-l-yellow-800 bg-yellow-200`,i=e`border-l-red-800 bg-red-200`,u=!!l.$slots.icon,v={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",[a]:o==="warn",[i]:o==="error",[w]:!u},style:{backgroundImage:u?void 0:v}}},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`,a=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",[a]: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`relative inline-block h-32 w-32 [&+label]:ris-label1-regular [&+label]:ml-8`},input:{class:e`peer h-full w-full cursor-pointer appearance-none rounded-full border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 hover:outline focus:outline active:outline-none disabled:cursor-not-allowed disabled:border-gray-600 disabled:outline-none 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-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`}},b=e`w-full`,j={root:({props:t})=>{const l=e`flex border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-800 focus-within:outline hover:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none`,r=e`ris-body2-regular h-48 py-4 pl-16 pr-4`;return{class:{[l]:!0,[r]:!0,[b]:!!t.fluid}}},pcInput:{root:({props:t})=>({class:{[e`focus-visible:outline-none`]:!0,[b]:!!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`max-h-56 min-w-288 overflow-auto bg-white px-8 py-12 shadow-md`}},G={root:({props:t})=>{const l=e`ris-body1-regular min-h-56 border-2 border-blue-800 bg-white px-14 pb-12 pt-8 outline-4 -outline-offset-4 outline-blue-800 [&+small]:ris-label3-regular placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none [&+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 i;const l=e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`,r=(i=t.message)==null?void 0:i.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`,a=e`border-l-blue-900 bg-blue-200`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="error",[n]:r==="warn",[a]:r==="info"}}},messageContent:{class:e`flex w-full flex-row items-start justify-between gap-10`},messageIcon:({props:t})=>{var i;const l=e`mt-2 h-20 w-20 flex-none shrink-0`,r=((i=t.message)==null?void 0:i.severity)??"info",o=e`text-green-800`,s=e`text-red-800`,n=e`text-black`,a=e`text-blue-800`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="error",[n]:r==="warn",[a]: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 i;const l=e`rounded-sm p-2`,r=((i=t.message)==null?void 0:i.severity)??"info",o=e`hover:bg-green-400`,s=e`hover:bg-red-400`,n=e`hover:bg-yellow-400`,a=e`hover:bg-blue-400`;return{class:{[l]:!0,[o]:r==="success",[s]:r==="error",[n]:r==="warn",[a]:r==="info"}}},closeIcon:{class:e`text-black`}},Z={root:({props:t,state:l})=>{const r=e`ris-body2-regular inline-flex h-48 items-center justify-between border-2 bg-white py-4 pl-16 pr-12 outline-4 -outline-offset-4 [&+small]:ris-label3-regular [&+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 outline-blue-800`,s=e`outline`,n=e`hover:outline`,a=e`cursor-not-allowed border-blue-500 text-blue-500`,i=e`border-red-800 bg-red-200 outline-red-800`,u=e`w-full`;return{class:{[r]:!0,[o]:!t.disabled,[s]:l.focused&&!t.disabled,[n]:!t.disabled,[u]:!!t.fluid,[a]:t.disabled,[i]: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:-bottom-1 after:left-8 after:right-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:{[p]:!0,[m]:!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-4 outline-offset-4 outline-blue-800 hover:underline focus:outline`},separator:{class:e`mx-6 flex items-center text-gray-600`}},d=e`cursor-pointer`,g=e`ris-label2-bold border-l-blue-800 bg-blue-200 text-black hover:bg-blue-300 focus-visible:bg-blue-300`,h=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 pl-10 pr-20`]:!0,[f]:!0,[d]:!0,[g]:t.active,[h]:!t.active}}),content:{class:e`ml-28 mt-8`},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 pl-10 pr-20`,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,[d]:!0,[g]:t.active,[h]:!t.active}}}},K={node:{class:e`mb-24 last:mb-0 focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800 [&>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 pl-10 pr-20 text-blue-800`,r=e`cursor-pointer select-none`,o=e`focus-visible:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`,s=e`border-l-blue-800 bg-blue-200 text-black`,n=e`hover:bg-blue-200`,a=e`hover:bg-blue-300`;return{class:{[l]:!0,[r]:!0,[s]:t.selected,[n]:!t.selected,[a]:t.selected,[o]:!0}}},nodeToggleButton:({context:t})=>{const l=e`inline-flex h-20 w-20 justify-center border-0 bg-transparent text-gray-900 outline-none hover:text-black group-hover:text-black`,r=e`hidden`;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-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800`;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`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;
|
package/dist/primevue/index.d.ts
CHANGED
package/dist/primevue/index.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
2
2
|
root: ({ props: t, instance: l }) => {
|
3
|
-
const r = e`relative inline-flex max-w-full items-center justify-center gap-8 rounded-none text-center outline-4 outline-offset-4 outline-blue-800
|
3
|
+
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";
|
4
4
|
let u = e`ris-body2-bold h-48 py-4`, c = e`ris-body1-bold h-64 py-4`;
|
5
5
|
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`), {
|
6
6
|
class: {
|
7
7
|
[r]: !0,
|
8
|
-
[u]:
|
9
|
-
[c]:
|
8
|
+
[u]: a === "normal",
|
9
|
+
[c]: a === "large",
|
10
10
|
[s]: !t.text && o === "primary",
|
11
11
|
[n]: !t.text && o === "secondary",
|
12
|
-
[
|
12
|
+
[i]: t.text && o === "primary"
|
13
13
|
}
|
14
14
|
};
|
15
15
|
},
|
@@ -31,10 +31,10 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
31
31
|
}
|
32
32
|
}, k = {
|
33
33
|
root: {
|
34
|
-
class: e`relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:
|
34
|
+
class: e`[&+label]:ris-label1-regular relative inline-block h-24 min-h-24 w-24 min-w-24 [&+label]:ml-8`
|
35
35
|
},
|
36
36
|
input: {
|
37
|
-
class: e`peer h-full w-full cursor-pointer appearance-none border-2 border-blue-800 bg-white outline-4
|
37
|
+
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`
|
38
38
|
},
|
39
39
|
box: {
|
40
40
|
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`
|
@@ -59,7 +59,7 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
59
59
|
},
|
60
60
|
pcCloseButton: {
|
61
61
|
root: {
|
62
|
-
class: e`flex h-24 w-24 items-center justify-center p-4 text-blue-800 outline-2 outline-gray-500
|
62
|
+
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`
|
63
63
|
}
|
64
64
|
},
|
65
65
|
content: {
|
@@ -87,22 +87,22 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
87
87
|
})
|
88
88
|
}, z = {
|
89
89
|
root: {
|
90
|
-
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 outline-4 -outline-offset-4 outline-blue-800 has-[[
|
90
|
+
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`
|
91
91
|
}
|
92
92
|
}, A = {
|
93
93
|
root: {
|
94
94
|
class: e`m-0 p-0`
|
95
95
|
}
|
96
|
-
},
|
96
|
+
}, 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`, B = e`ris-body2-regular h-[44px] p-0`, L = e`ris-body1-regular h-[60px] p-0`, F = {
|
97
97
|
root: ({ props: t, parent: l }) => {
|
98
|
-
const r = e`[&[type=password]:not(:placeholder-shown)]:text-[28px] [&[type=password]:not(:placeholder-shown)]:tracking-[4px]
|
98
|
+
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`;
|
99
99
|
return {
|
100
100
|
class: {
|
101
|
-
[
|
101
|
+
[v]: !o,
|
102
102
|
[s]: o,
|
103
103
|
[n]: !!t.fluid,
|
104
104
|
[r]: !0,
|
105
|
-
[
|
105
|
+
[p]: (!t.size || t.size === "small") && !o,
|
106
106
|
[B]: (!t.size || t.size === "small") && o,
|
107
107
|
[D]: t.size === "large" && !o,
|
108
108
|
[L]: t.size === "large" && o
|
@@ -118,7 +118,7 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
118
118
|
class: e`focus-visible:outline-none`
|
119
119
|
},
|
120
120
|
item: ({ context: t }) => {
|
121
|
-
const l = e`relative h-48 pl-16
|
121
|
+
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`;
|
122
122
|
return {
|
123
123
|
class: {
|
124
124
|
[l]: !0,
|
@@ -134,7 +134,7 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
134
134
|
}
|
135
135
|
}, T = {
|
136
136
|
root: ({ props: t, instance: l }) => {
|
137
|
-
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`,
|
137
|
+
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 = {
|
138
138
|
success: "var(--ris-icon-success)",
|
139
139
|
info: "var(--ris-icon-info)",
|
140
140
|
warn: "var(--ris-icon-warn)",
|
@@ -145,12 +145,12 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
145
145
|
[r]: !0,
|
146
146
|
[s]: o === "success",
|
147
147
|
[n]: o === "info",
|
148
|
-
[
|
149
|
-
[
|
148
|
+
[i]: o === "warn",
|
149
|
+
[a]: o === "error",
|
150
150
|
[w]: !u
|
151
151
|
},
|
152
152
|
style: {
|
153
|
-
backgroundImage: u ? void 0 :
|
153
|
+
backgroundImage: u ? void 0 : m
|
154
154
|
}
|
155
155
|
};
|
156
156
|
},
|
@@ -161,14 +161,14 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
161
161
|
class: e`flex-1`
|
162
162
|
},
|
163
163
|
closeButton: ({ props: t }) => {
|
164
|
-
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`,
|
164
|
+
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`;
|
165
165
|
return {
|
166
166
|
class: {
|
167
167
|
[l]: !0,
|
168
168
|
[o]: r === "success",
|
169
169
|
[s]: r === "info",
|
170
170
|
[n]: r === "warn",
|
171
|
-
[
|
171
|
+
[i]: r === "error"
|
172
172
|
}
|
173
173
|
};
|
174
174
|
}
|
@@ -183,10 +183,10 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
183
183
|
}
|
184
184
|
}, G = {
|
185
185
|
root: {
|
186
|
-
class: e`relative inline-block h-32 w-32 [&+label]:
|
186
|
+
class: e`[&+label]:ris-label1-regular relative inline-block h-32 w-32 [&+label]:ml-8`
|
187
187
|
},
|
188
188
|
input: {
|
189
|
-
class: e`peer h-full w-full cursor-pointer appearance-none rounded-full border-2 border-blue-800 bg-white outline-4
|
189
|
+
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`
|
190
190
|
},
|
191
191
|
box: {
|
192
192
|
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`
|
@@ -194,22 +194,22 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
194
194
|
icon: {
|
195
195
|
class: e`h-16 w-16 rounded-full bg-current`
|
196
196
|
}
|
197
|
-
},
|
197
|
+
}, d = e`w-full`, R = {
|
198
198
|
root: ({ props: t }) => {
|
199
|
-
const l = e`flex border-2 border-blue-800 bg-white outline-4 -outline-offset-4 outline-blue-800
|
199
|
+
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`;
|
200
200
|
return {
|
201
201
|
class: {
|
202
202
|
[l]: !0,
|
203
203
|
[r]: !0,
|
204
|
-
[
|
204
|
+
[d]: !!t.fluid
|
205
205
|
}
|
206
206
|
};
|
207
207
|
},
|
208
|
-
|
208
|
+
pcInputText: {
|
209
209
|
root: ({ props: t }) => ({
|
210
210
|
class: {
|
211
|
-
[e`focus-visible:outline-
|
212
|
-
[
|
211
|
+
[e`focus-visible:outline-hidden`]: !0,
|
212
|
+
[d]: !!t.fluid
|
213
213
|
}
|
214
214
|
})
|
215
215
|
},
|
@@ -221,11 +221,11 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
221
221
|
class: e`hover:bg-blue-100 data-[p-focus=true]:bg-blue-200`
|
222
222
|
},
|
223
223
|
overlay: {
|
224
|
-
class: e`
|
224
|
+
class: e`min-w-288 overflow-auto bg-white px-8 py-12 shadow-md`
|
225
225
|
}
|
226
226
|
}, Z = {
|
227
227
|
root: ({ props: t }) => {
|
228
|
-
const l = e`ris-body1-regular min-h-56 border-2 border-blue-800 bg-white px-14
|
228
|
+
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`;
|
229
229
|
return {
|
230
230
|
class: {
|
231
231
|
[l]: !0,
|
@@ -235,15 +235,15 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
235
235
|
}
|
236
236
|
}, j = {
|
237
237
|
message: ({ props: t }) => {
|
238
|
-
var
|
239
|
-
const l = e`mb-8 flex w-full flex-row items-center gap-8 border-l-4 p-16`, r = (
|
238
|
+
var a;
|
239
|
+
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`;
|
240
240
|
return {
|
241
241
|
class: {
|
242
242
|
[l]: !0,
|
243
243
|
[o]: r === "success",
|
244
244
|
[s]: r === "error",
|
245
245
|
[n]: r === "warn",
|
246
|
-
[
|
246
|
+
[i]: r === "info"
|
247
247
|
}
|
248
248
|
};
|
249
249
|
},
|
@@ -251,15 +251,15 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
251
251
|
class: e`flex w-full flex-row items-start justify-between gap-10`
|
252
252
|
},
|
253
253
|
messageIcon: ({ props: t }) => {
|
254
|
-
var
|
255
|
-
const l = e`mt-2 h-20 w-20 flex-none shrink-0`, r = ((
|
254
|
+
var a;
|
255
|
+
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`;
|
256
256
|
return {
|
257
257
|
class: {
|
258
258
|
[l]: !0,
|
259
259
|
[o]: r === "success",
|
260
260
|
[s]: r === "error",
|
261
261
|
[n]: r === "warn",
|
262
|
-
[
|
262
|
+
[i]: r === "info"
|
263
263
|
}
|
264
264
|
};
|
265
265
|
},
|
@@ -273,15 +273,15 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
273
273
|
class: e`ris-label2-regular`
|
274
274
|
},
|
275
275
|
closeButton: ({ props: t }) => {
|
276
|
-
var
|
277
|
-
const l = e`rounded-sm p-2`, r = ((
|
276
|
+
var a;
|
277
|
+
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`;
|
278
278
|
return {
|
279
279
|
class: {
|
280
280
|
[l]: !0,
|
281
281
|
[o]: r === "success",
|
282
282
|
[s]: r === "error",
|
283
283
|
[n]: r === "warn",
|
284
|
-
[
|
284
|
+
[i]: r === "info"
|
285
285
|
}
|
286
286
|
};
|
287
287
|
},
|
@@ -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 inline-flex h-48 items-center justify-between border-2 bg-white py-4
|
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`;
|
294
294
|
return {
|
295
295
|
class: {
|
296
296
|
[r]: !0,
|
@@ -298,8 +298,8 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
298
298
|
[s]: l.focused && !t.disabled,
|
299
299
|
[n]: !t.disabled,
|
300
300
|
[u]: !!t.fluid,
|
301
|
-
[
|
302
|
-
[
|
301
|
+
[i]: t.disabled,
|
302
|
+
[a]: t.invalid
|
303
303
|
},
|
304
304
|
"aria-invalid": t.invalid ? "true" : null
|
305
305
|
};
|
@@ -317,7 +317,7 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
317
317
|
class: e`bg-white`
|
318
318
|
},
|
319
319
|
option: ({ context: t }) => {
|
320
|
-
const l = e`ris-body2-regular relative h-full min-h-48 w-full cursor-pointer px-24 py-16 after:absolute after:-bottom-1 after:left-8 after:
|
320
|
+
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`;
|
321
321
|
return {
|
322
322
|
class: {
|
323
323
|
[l]: !0,
|
@@ -329,8 +329,8 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
329
329
|
pcInputText: {
|
330
330
|
root: ({ props: t }) => ({
|
331
331
|
class: {
|
332
|
+
[v]: !0,
|
332
333
|
[p]: !0,
|
333
|
-
[m]: !0,
|
334
334
|
"w-full": !!t.fluid
|
335
335
|
}
|
336
336
|
})
|
@@ -343,26 +343,26 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
343
343
|
class: e`flex-no-wrap ris-label1-regular my-2 flex items-center break-all`
|
344
344
|
},
|
345
345
|
itemLink: {
|
346
|
-
class: e`inline-flex cursor-pointer items-center text-blue-800 outline-4 outline-offset-4 outline-blue-800
|
346
|
+
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`
|
347
347
|
},
|
348
348
|
separator: {
|
349
349
|
class: e`mx-6 flex items-center text-gray-600`
|
350
350
|
}
|
351
|
-
},
|
351
|
+
}, 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 = {
|
352
352
|
root: {
|
353
353
|
class: e`text-blue-800`
|
354
354
|
},
|
355
355
|
header: ({ context: t }) => ({
|
356
356
|
class: {
|
357
|
-
[e`group flex h-64 items-center border-l-4 border-transparent py-8 pl-10
|
357
|
+
[e`group flex h-64 items-center border-l-4 border-transparent py-8 pr-20 pl-10`]: !0,
|
358
358
|
[f]: !0,
|
359
|
-
[
|
360
|
-
[
|
361
|
-
[
|
359
|
+
[b]: !0,
|
360
|
+
[h]: t.active,
|
361
|
+
[g]: !t.active
|
362
362
|
}
|
363
363
|
}),
|
364
364
|
content: {
|
365
|
-
class: e`ml-28
|
365
|
+
class: e`mt-8 ml-28`
|
366
366
|
},
|
367
367
|
rootList: {
|
368
368
|
class: e`focus-visible:outline-none`
|
@@ -371,38 +371,38 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
371
371
|
class: e`focus-visible:outline-none`
|
372
372
|
},
|
373
373
|
itemContent: ({ context: t }) => {
|
374
|
-
const l = e`group flex h-48 items-center border-l-4 border-transparent py-8 pl-10
|
374
|
+
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`;
|
375
375
|
return {
|
376
376
|
class: {
|
377
377
|
[l]: !0,
|
378
378
|
[r]: t.active && t.focused,
|
379
379
|
[o]: !t.active && t.focused,
|
380
380
|
[f]: !0,
|
381
|
-
[
|
382
|
-
[
|
383
|
-
[
|
381
|
+
[b]: !0,
|
382
|
+
[h]: t.active,
|
383
|
+
[g]: !t.active
|
384
384
|
}
|
385
385
|
};
|
386
386
|
}
|
387
387
|
}, K = {
|
388
388
|
node: {
|
389
|
-
class: e`mb-24 last:mb-0 focus-visible:outline-
|
389
|
+
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`
|
390
390
|
},
|
391
391
|
nodeContent: ({ context: t }) => {
|
392
|
-
const l = e`group ris-label2-bold flex w-full border-l-4 border-transparent py-10 pl-10
|
392
|
+
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`;
|
393
393
|
return {
|
394
394
|
class: {
|
395
395
|
[l]: !0,
|
396
396
|
[r]: !0,
|
397
397
|
[s]: t.selected,
|
398
398
|
[n]: !t.selected,
|
399
|
-
[
|
399
|
+
[i]: t.selected,
|
400
400
|
[o]: !0
|
401
401
|
}
|
402
402
|
};
|
403
403
|
},
|
404
404
|
nodeToggleButton: ({ context: t }) => {
|
405
|
-
const l = e`
|
405
|
+
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`;
|
406
406
|
return {
|
407
407
|
class: {
|
408
408
|
[l]: !0,
|
@@ -411,7 +411,7 @@ const x = (t, ...l) => String.raw({ raw: t }, ...l), e = x, y = {
|
|
411
411
|
};
|
412
412
|
},
|
413
413
|
nodeChildren: () => {
|
414
|
-
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-
|
414
|
+
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`;
|
415
415
|
return {
|
416
416
|
class: {
|
417
417
|
[t]: !0,
|
package/dist/style.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
: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")}
|
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)}
|
package/dist/tailwind/index.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
package/dist/tailwind/index.d.ts
CHANGED
@@ -1,6 +1 @@
|
|
1
|
-
import
|
2
|
-
export declare const RisUiPreset: typeof angieTokens;
|
3
|
-
export declare const RisUiPlugin: {
|
4
|
-
handler: import("tailwindcss/types/config").PluginCreator;
|
5
|
-
config?: Partial<import("tailwindcss/types/config").Config>;
|
6
|
-
};
|
1
|
+
import "./global.css";
|