@paperless/core 2.3.2 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/build/p-4baac091.entry.js +2 -0
  3. package/dist/build/p-4baac091.entry.js.map +1 -0
  4. package/dist/build/{p-2ab8ffe8.js → p-70183ec0.js} +1 -1
  5. package/dist/{paperless/p-cf1a9710.entry.js → build/p-bd0c7d4c.entry.js} +2 -2
  6. package/dist/{paperless/p-cf1a9710.entry.js.map → build/p-bd0c7d4c.entry.js.map} +1 -1
  7. package/dist/build/p-stepper-item.p-stepper-line.entry.esm.js.map +1 -1
  8. package/dist/build/p-stepper.entry.esm.js.map +1 -1
  9. package/dist/build/paperless.esm.js +1 -1
  10. package/dist/cjs/p-stepper-item.p-stepper-line.entry.cjs.js.map +1 -1
  11. package/dist/cjs/p-stepper-item_2.cjs.entry.js +26 -5
  12. package/dist/cjs/p-stepper-item_2.cjs.entry.js.map +1 -1
  13. package/dist/cjs/p-stepper.cjs.entry.js +10 -4
  14. package/dist/cjs/p-stepper.cjs.entry.js.map +1 -1
  15. package/dist/cjs/p-stepper.entry.cjs.js.map +1 -1
  16. package/dist/collection/components/atoms/stepper/item/stepper-item.component.css +1 -1
  17. package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +25 -4
  18. package/dist/collection/components/atoms/stepper/item/stepper-item.component.js.map +1 -1
  19. package/dist/collection/components/organisms/stepper/stepper.component.js +10 -4
  20. package/dist/collection/components/organisms/stepper/stepper.component.js.map +1 -1
  21. package/dist/components/{p-B4inyr87.js → p-BB_UksC3.js} +28 -7
  22. package/dist/components/p-BB_UksC3.js.map +1 -0
  23. package/dist/components/p-stepper-item.js +1 -1
  24. package/dist/components/p-stepper.js +11 -5
  25. package/dist/components/p-stepper.js.map +1 -1
  26. package/dist/esm/p-stepper-item.p-stepper-line.entry.js.map +1 -1
  27. package/dist/esm/p-stepper-item_2.entry.js +26 -5
  28. package/dist/esm/p-stepper-item_2.entry.js.map +1 -1
  29. package/dist/esm/p-stepper.entry.js +10 -4
  30. package/dist/esm/p-stepper.entry.js.map +1 -1
  31. package/dist/index.html +1 -1
  32. package/dist/paperless/p-4baac091.entry.js +2 -0
  33. package/dist/paperless/p-4baac091.entry.js.map +1 -0
  34. package/dist/{build/p-cf1a9710.entry.js → paperless/p-bd0c7d4c.entry.js} +2 -2
  35. package/dist/{build/p-cf1a9710.entry.js.map → paperless/p-bd0c7d4c.entry.js.map} +1 -1
  36. package/dist/paperless/p-stepper-item.p-stepper-line.entry.esm.js.map +1 -1
  37. package/dist/paperless/p-stepper.entry.esm.js.map +1 -1
  38. package/dist/paperless/paperless.esm.js +1 -1
  39. package/dist/sw.js +1 -1
  40. package/dist/sw.js.map +1 -1
  41. package/package.json +1 -1
  42. package/dist/build/p-ec9a178a.entry.js +0 -2
  43. package/dist/build/p-ec9a178a.entry.js.map +0 -1
  44. package/dist/components/p-B4inyr87.js.map +0 -1
  45. package/dist/paperless/p-ec9a178a.entry.js +0 -2
  46. package/dist/paperless/p-ec9a178a.entry.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"names":["stepperItemComponentCss","item","cva","variants","align","start","center","end","contentPosition","circle","finished","true","false","active","compoundVariants","class","content","direction","horizontal","vertical","StepperItem","number","render","h","key","this","asBoolean","stepperLineComponentCss","StepperLine","Host"],"sources":["src/components/atoms/stepper/item/stepper-item.component.css?tag=p-stepper-item&encapsulation=shadow","src/components/atoms/stepper/item/stepper-item.component.tsx","src/components/atoms/stepper/line/stepper-line.component.css?tag=p-stepper-line&encapsulation=shadow","src/components/atoms/stepper/line/stepper-line.component.tsx"],"sourcesContent":[null,"import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst item = cva('flex gap-2', {\n\tvariants: {\n\t\talign: {\n\t\t\tstart: 'items-start',\n\t\t\tcenter: 'items-center',\n\t\t\tend: 'items-end',\n\t\t},\n\t\tcontentPosition: {\n\t\t\tstart: 'flex-row-reverse',\n\t\t\tend: null,\n\t\t},\n\t},\n});\n\nconst circle = cva(\n\t[\n\t\t'h-6 w-6 flex items-center justify-center',\n\t\t'text-sm text-center font-medium',\n\t\t'border border-solid border-indigo-600',\n\t\t'rounded-full',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tfinished: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tfinished: false,\n\t\t\t\tactive: false,\n\t\t\t\tclass: 'text-indigo-600 bg-indigo-50',\n\t\t\t},\n\t\t\t{\n\t\t\t\tactive: true,\n\t\t\t\tfinished: false,\n\t\t\t\tclass: 'text-white bg-indigo-600',\n\t\t\t},\n\t\t\t{\n\t\t\t\tactive: false,\n\t\t\t\tfinished: true,\n\t\t\t\tclass: 'text-white bg-indigo-600',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst content = cva('text-sm font-medium flex-1 mt-[1px]', {\n\tvariants: {\n\t\tfinished: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t\tactive: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t\tdirection: {\n\t\t\thorizontal: null,\n\t\t\tvertical: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tfinished: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-storm-400',\n\t\t},\n\t\t{\n\t\t\tactive: true,\n\t\t\tfinished: false,\n\t\t\tclass: 'text-storm-500',\n\t\t},\n\t\t{\n\t\t\tactive: false,\n\t\t\tfinished: true,\n\t\t\tclass: 'text-storm-500',\n\t\t},\n\t\t{\n\t\t\tdirection: 'horizontal',\n\t\t\tactive: false,\n\t\t\tclass: 'hidden desktop-xs:inline-block',\n\t\t},\n\t],\n});\n\n@Component({\n\ttag: 'p-stepper-item',\n\tstyleUrl: 'stepper-item.component.css',\n\tshadow: true,\n})\nexport class StepperItem {\n\t/**\n\t * The number of the step\n\t */\n\t@Prop() number: number = 1;\n\n\t/**\n\t * The direction of the item\n\t */\n\t@Prop() direction: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The alignment of the content in case of vertical direction\n\t */\n\t@Prop() align: 'start' | 'center' | 'end' = 'center';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop() contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the step is finished\n\t */\n\t@Prop() finished: boolean = false;\n\n\t/**\n\t * Wether the step is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={item({\n\t\t\t\t\talign: this.align,\n\t\t\t\t\tcontentPosition: this.contentPosition,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<div\n\t\t\t\t\tclass={circle({\n\t\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\t\tfinished: asBoolean(this.finished),\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{this.number}\n\t\t\t\t</div>\n\t\t\t\t<div\n\t\t\t\t\tclass={content({\n\t\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\t\tfinished: asBoolean(this.finished),\n\t\t\t\t\t\tdirection: this.direction,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n",":host {\n\t@apply flex-auto;\n\t@apply block;\n\t@apply bg-off-white-700;\n}\n\n:host([direction='horizontal']) {\n\t@apply h-[1px];\n}\n\n:host([direction='vertical']) {\n\t@apply mx-[calc(0.75rem-1px)] min-h-[1rem] w-[1px];\n}\n\n:host([active='true']),\n:host([active]:not([active='false'])) {\n\t@apply bg-indigo-600;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-line',\n\tstyleUrl: 'stepper-line.component.css',\n\tshadow: true,\n})\nexport class StepperLine {\n\t/**\n\t * Wether the line is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\t/**\n\t * The direction of the stepper line\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'horizontal';\n\n\trender() {\n\t\treturn <Host />;\n\t}\n}\n"],"mappings":"kJAAA,MAAMA,EAA0B,kkDCIhC,MAAMC,EAAOC,EAAI,aAAc,CAC9BC,SAAU,CACTC,MAAO,CACNC,MAAO,cACPC,OAAQ,eACRC,IAAK,aAENC,gBAAiB,CAChBH,MAAO,mBACPE,IAAK,SAKR,MAAME,EAASP,EACd,CACC,2CACA,kCACA,wCACA,gBAED,CACCC,SAAU,CACTO,SAAU,CACTC,KAAM,KACNC,MAAO,MAERC,OAAQ,CACPF,KAAM,KACNC,MAAO,OAGTE,iBAAkB,CACjB,CACCJ,SAAU,MACVG,OAAQ,MACRE,MAAO,gCAER,CACCF,OAAQ,KACRH,SAAU,MACVK,MAAO,4BAER,CACCF,OAAQ,MACRH,SAAU,KACVK,MAAO,+BAMX,MAAMC,EAAUd,EAAI,sCAAuC,CAC1DC,SAAU,CACTO,SAAU,CACTC,KAAM,KACNC,MAAO,MAERC,OAAQ,CACPF,KAAM,KACNC,MAAO,MAERK,UAAW,CACVC,WAAY,KACZC,SAAU,OAGZL,iBAAkB,CACjB,CACCJ,SAAU,MACVG,OAAQ,MACRE,MAAO,kBAER,CACCF,OAAQ,KACRH,SAAU,MACVK,MAAO,kBAER,CACCF,OAAQ,MACRH,SAAU,KACVK,MAAO,kBAER,CACCE,UAAW,aACXJ,OAAQ,MACRE,MAAO,qC,MAUGK,EAAW,M,yBAIfC,OAAiB,EAKjBJ,UAAuC,aAKvCb,MAAoC,SAKpCI,gBAAmC,MAKnCE,SAAoB,MAKpBG,OAAkB,MAE1B,MAAAS,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TMLElement"],"sources":["src/components/atoms/stepper/item/stepper-item.component.css?tag=p-stepper-item&encapsulation=shadow","src/components/atoms/stepper/item/stepper-item.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst item = cva('flex gap-2', {\n\tvariants: {\n\t\talign: {\n\t\t\tstart: 'items-start',\n\t\t\tcenter: 'items-center',\n\t\t\tend: 'items-end',\n\t\t},\n\t\tcontentPosition: {\n\t\t\tstart: 'flex-row-reverse',\n\t\t\tend: null,\n\t\t},\n\t},\n});\n\nconst circle = cva(\n\t[\n\t\t'h-6 w-6 flex items-center justify-center',\n\t\t'text-sm text-center font-medium',\n\t\t'border border-solid border-indigo-600',\n\t\t'rounded-full',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tfinished: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tfinished: false,\n\t\t\t\tactive: false,\n\t\t\t\tclass: 'text-indigo-600 bg-indigo-50',\n\t\t\t},\n\t\t\t{\n\t\t\t\tactive: true,\n\t\t\t\tfinished: false,\n\t\t\t\tclass: 'text-white bg-indigo-600',\n\t\t\t},\n\t\t\t{\n\t\t\t\tactive: false,\n\t\t\t\tfinished: true,\n\t\t\t\tclass: 'text-white bg-indigo-600',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst content = cva('text-sm font-medium flex-1 mt-[1px]', {\n\tvariants: {\n\t\tfinished: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t\tactive: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t\tdirection: {\n\t\t\thorizontal: null,\n\t\t\tvertical: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tfinished: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-storm-400',\n\t\t},\n\t\t{\n\t\t\tactive: true,\n\t\t\tfinished: false,\n\t\t\tclass: 'text-storm-500',\n\t\t},\n\t\t{\n\t\t\tactive: false,\n\t\t\tfinished: true,\n\t\t\tclass: 'text-storm-500',\n\t\t},\n\t\t{\n\t\t\tdirection: 'horizontal',\n\t\t\tactive: false,\n\t\t\tclass: 'hidden desktop-xs:inline-block',\n\t\t},\n\t],\n});\n\n@Component({\n\ttag: 'p-stepper-item',\n\tstyleUrl: 'stepper-item.component.css',\n\tshadow: true,\n})\nexport class StepperItem {\n\t/**\n\t * The number of the step\n\t */\n\t@Prop() number: number = 1;\n\n\t/**\n\t * The direction of the item\n\t */\n\t@Prop() direction: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The alignment of the content in case of vertical direction\n\t */\n\t@Prop() align: 'start' | 'center' | 'end' = 'center';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop() contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the step is finished\n\t */\n\t@Prop() finished: boolean = false;\n\n\t/**\n\t * Wether the step is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={item({\n\t\t\t\t\talign: this.align,\n\t\t\t\t\tcontentPosition: this.contentPosition,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<div\n\t\t\t\t\tclass={circle({\n\t\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\t\tfinished: asBoolean(this.finished),\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{this.number}\n\t\t\t\t</div>\n\t\t\t\t<div\n\t\t\t\t\tclass={content({\n\t\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\t\tfinished: asBoolean(this.finished),\n\t\t\t\t\t\tdirection: this.direction,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -1,2 +0,0 @@
1
- import{r as t,h as i,H as e}from"./p-DhGo7hbh.js";import{c as r}from"./p-CBWjHURv.js";import{a as o}from"./p-C5CTp9IA.js";import"./p-ChV9xqsO.js";const a="*{box-sizing:border-box}.static{position:static!important}.mt-\\[1px\\]{margin-top:1px!important}.flex{display:flex!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.flex-1{flex:1 1 0%!important}.flex-row-reverse{flex-direction:row-reverse!important}.items-start{align-items:flex-start!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-indigo-600{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity,1))!important}.bg-indigo-50{--tw-bg-opacity:1!important;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))!important}.bg-indigo-600{--tw-bg-opacity:1!important;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.text-indigo-600{--tw-text-opacity:1!important;color:rgb(82 138 250/var(--tw-text-opacity,1))!important}.text-storm-400{--tw-text-opacity:1!important;color:rgb(70 75 84/var(--tw-text-opacity,1))!important}.text-storm-500{color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.text-storm-500,.text-white{--tw-text-opacity:1!important}.text-white{color:rgb(255 255 255/var(--tw-text-opacity,1))!important}@media (min-width:64rem){.desktop-xs\\:inline-block{display:inline-block!important}}";const n=r("flex gap-2",{variants:{align:{start:"items-start",center:"items-center",end:"items-end"},contentPosition:{start:"flex-row-reverse",end:null}}});const s=r(["h-6 w-6 flex items-center justify-center","text-sm text-center font-medium","border border-solid border-indigo-600","rounded-full"],{variants:{finished:{true:null,false:null},active:{true:null,false:null}},compoundVariants:[{finished:false,active:false,class:"text-indigo-600 bg-indigo-50"},{active:true,finished:false,class:"text-white bg-indigo-600"},{active:false,finished:true,class:"text-white bg-indigo-600"}]});const c=r("text-sm font-medium flex-1 mt-[1px]",{variants:{finished:{true:null,false:null},active:{true:null,false:null},direction:{horizontal:null,vertical:null}},compoundVariants:[{finished:false,active:false,class:"text-storm-400"},{active:true,finished:false,class:"text-storm-500"},{active:false,finished:true,class:"text-storm-500"},{direction:"horizontal",active:false,class:"hidden desktop-xs:inline-block"}]});const l=class{constructor(i){t(this,i)}number=1;direction="horizontal";align="center";contentPosition="end";finished=false;active=false;render(){return i("div",{key:"3fd869f7506b7254d517134e89d9daa35001cf46",class:n({align:this.align,contentPosition:this.contentPosition})},i("div",{key:"9609e9a660acdbfd6db973373266372f39bb8223",class:s({active:o(this.active),finished:o(this.finished)})},this.number),i("div",{key:"b273741186d17faa16687a1a433a8733c4d0d079",class:c({active:o(this.active),finished:o(this.finished),direction:this.direction})},i("slot",{key:"34a911fa51007c340916f46894cddce7cde05ec2"})))}};l.style=a;const p=".mx-\\[calc\\(0\\.75rem-1px\\)\\]{margin-left:calc(.75rem - 1px)!important;margin-right:calc(.75rem - 1px)!important}.block{display:block!important}.h-\\[1px\\]{height:1px!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-\\[1px\\]{width:1px!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(222 219 213/var(--tw-bg-opacity,1));display:block;flex:1 1 auto}:host([direction=horizontal]){height:1px}:host([direction=vertical]){margin-left:calc(.75rem - 1px);margin-right:calc(.75rem - 1px);min-height:1rem;width:1px}:host([active=true]),:host([active]:not([active=false])){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.static{position:static!important}";const m=class{constructor(i){t(this,i)}active=false;direction="horizontal";render(){return i(e,{key:"acf1fd861383ec672e3d66471cb82af27c2a7496"})}};m.style=p;export{l as p_stepper_item,m as p_stepper_line};
2
- //# sourceMappingURL=p-ec9a178a.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stepperItemComponentCss","item","cva","variants","align","start","center","end","contentPosition","circle","finished","true","false","active","compoundVariants","class","content","direction","horizontal","vertical","StepperItem","number","render","h","key","this","asBoolean","stepperLineComponentCss","StepperLine","Host"],"sources":["src/components/atoms/stepper/item/stepper-item.component.css?tag=p-stepper-item&encapsulation=shadow","src/components/atoms/stepper/item/stepper-item.component.tsx","src/components/atoms/stepper/line/stepper-line.component.css?tag=p-stepper-line&encapsulation=shadow","src/components/atoms/stepper/line/stepper-line.component.tsx"],"sourcesContent":[null,"import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst item = cva('flex gap-2', {\n\tvariants: {\n\t\talign: {\n\t\t\tstart: 'items-start',\n\t\t\tcenter: 'items-center',\n\t\t\tend: 'items-end',\n\t\t},\n\t\tcontentPosition: {\n\t\t\tstart: 'flex-row-reverse',\n\t\t\tend: null,\n\t\t},\n\t},\n});\n\nconst circle = cva(\n\t[\n\t\t'h-6 w-6 flex items-center justify-center',\n\t\t'text-sm text-center font-medium',\n\t\t'border border-solid border-indigo-600',\n\t\t'rounded-full',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tfinished: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tfinished: false,\n\t\t\t\tactive: false,\n\t\t\t\tclass: 'text-indigo-600 bg-indigo-50',\n\t\t\t},\n\t\t\t{\n\t\t\t\tactive: true,\n\t\t\t\tfinished: false,\n\t\t\t\tclass: 'text-white bg-indigo-600',\n\t\t\t},\n\t\t\t{\n\t\t\t\tactive: false,\n\t\t\t\tfinished: true,\n\t\t\t\tclass: 'text-white bg-indigo-600',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst content = cva('text-sm font-medium flex-1 mt-[1px]', {\n\tvariants: {\n\t\tfinished: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t\tactive: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t\tdirection: {\n\t\t\thorizontal: null,\n\t\t\tvertical: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tfinished: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-storm-400',\n\t\t},\n\t\t{\n\t\t\tactive: true,\n\t\t\tfinished: false,\n\t\t\tclass: 'text-storm-500',\n\t\t},\n\t\t{\n\t\t\tactive: false,\n\t\t\tfinished: true,\n\t\t\tclass: 'text-storm-500',\n\t\t},\n\t\t{\n\t\t\tdirection: 'horizontal',\n\t\t\tactive: false,\n\t\t\tclass: 'hidden desktop-xs:inline-block',\n\t\t},\n\t],\n});\n\n@Component({\n\ttag: 'p-stepper-item',\n\tstyleUrl: 'stepper-item.component.css',\n\tshadow: true,\n})\nexport class StepperItem {\n\t/**\n\t * The number of the step\n\t */\n\t@Prop() number: number = 1;\n\n\t/**\n\t * The direction of the item\n\t */\n\t@Prop() direction: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The alignment of the content in case of vertical direction\n\t */\n\t@Prop() align: 'start' | 'center' | 'end' = 'center';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop() contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the step is finished\n\t */\n\t@Prop() finished: boolean = false;\n\n\t/**\n\t * Wether the step is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={item({\n\t\t\t\t\talign: this.align,\n\t\t\t\t\tcontentPosition: this.contentPosition,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<div\n\t\t\t\t\tclass={circle({\n\t\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\t\tfinished: asBoolean(this.finished),\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{this.number}\n\t\t\t\t</div>\n\t\t\t\t<div\n\t\t\t\t\tclass={content({\n\t\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\t\tfinished: asBoolean(this.finished),\n\t\t\t\t\t\tdirection: this.direction,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n",":host {\n\t@apply flex-auto;\n\t@apply block;\n\t@apply bg-off-white-700;\n}\n\n:host([direction='horizontal']) {\n\t@apply h-[1px];\n}\n\n:host([direction='vertical']) {\n\t@apply mx-[calc(0.75rem-1px)] min-h-[1rem] w-[1px];\n}\n\n:host([active='true']),\n:host([active]:not([active='false'])) {\n\t@apply bg-indigo-600;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-line',\n\tstyleUrl: 'stepper-line.component.css',\n\tshadow: true,\n})\nexport class StepperLine {\n\t/**\n\t * Wether the line is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\t/**\n\t * The direction of the stepper line\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'horizontal';\n\n\trender() {\n\t\treturn <Host />;\n\t}\n}\n"],"mappings":"kJAAA,MAAMA,EAA0B,kkDCIhC,MAAMC,EAAOC,EAAI,aAAc,CAC9BC,SAAU,CACTC,MAAO,CACNC,MAAO,cACPC,OAAQ,eACRC,IAAK,aAENC,gBAAiB,CAChBH,MAAO,mBACPE,IAAK,SAKR,MAAME,EAASP,EACd,CACC,2CACA,kCACA,wCACA,gBAED,CACCC,SAAU,CACTO,SAAU,CACTC,KAAM,KACNC,MAAO,MAERC,OAAQ,CACPF,KAAM,KACNC,MAAO,OAGTE,iBAAkB,CACjB,CACCJ,SAAU,MACVG,OAAQ,MACRE,MAAO,gCAER,CACC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