@paperless/core 3.29.2 → 3.29.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{paperless/p-4c7ee2c0.entry.js → build/p-63729fae.entry.js} +1 -1
- package/dist/build/p-e40f349e.entry.js +1 -0
- package/dist/build/{p-6a99c435.js → p-ebb2f3df.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +8 -5
- package/dist/cjs/p-stepper.cjs.entry.js +3 -0
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +8 -5
- package/dist/collection/components/organisms/stepper/stepper.component.js +3 -0
- package/dist/collection/components/organisms/stepper/stepper.stories.js +5 -3
- package/dist/components/p-BLix_gST.js +1 -0
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +8 -5
- package/dist/esm/p-stepper.entry.js +3 -0
- package/dist/index.html +1 -1
- package/dist/{build/p-4c7ee2c0.entry.js → paperless/p-63729fae.entry.js} +1 -1
- package/dist/paperless/p-e40f349e.entry.js +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/organisms/stepper/stepper.stories.d.ts +2 -0
- package/hydrate/index.js +11 -5
- package/hydrate/index.mjs +11 -5
- package/package.json +1 -1
- package/dist/build/p-1a26edba.entry.js +0 -1
- package/dist/components/p-1gDAZ8pd.js +0 -1
- package/dist/paperless/p-1a26edba.entry.js +0 -1
package/hydrate/index.js
CHANGED
|
@@ -100170,6 +100170,9 @@ class Stepper {
|
|
|
100170
100170
|
stepperLine.style.marginTop = `-1rem`;
|
|
100171
100171
|
}
|
|
100172
100172
|
}
|
|
100173
|
+
if (this.direction === 'vertical' && this.variant === 'icon') {
|
|
100174
|
+
stepperLine.style.marginLeft = '1rem';
|
|
100175
|
+
}
|
|
100173
100176
|
stepperLine.style.minHeight = `calc(${totalHeight / 16}rem)`;
|
|
100174
100177
|
}
|
|
100175
100178
|
}
|
|
@@ -100417,21 +100420,24 @@ class StepperItem {
|
|
|
100417
100420
|
*/
|
|
100418
100421
|
active = false;
|
|
100419
100422
|
render() {
|
|
100420
|
-
return (hAsync(ThemedHost, { key: 'f6e0975e555482bb9d7084a04a1d3543a14506c0' }, hAsync("div", { key: '
|
|
100421
|
-
align: this.variant === 'default'
|
|
100423
|
+
return (hAsync(ThemedHost, { key: 'f6e0975e555482bb9d7084a04a1d3543a14506c0' }, hAsync("div", { key: '77d47f4328c4b1742eb777cc7323ef01fd00de20', class: item$1({
|
|
100424
|
+
align: this.variant === 'default' ||
|
|
100425
|
+
(this.variant === 'icon' && this.direction === 'vertical')
|
|
100426
|
+
? this.align
|
|
100427
|
+
: 'center',
|
|
100422
100428
|
contentPosition: this.contentPosition,
|
|
100423
|
-
}) }, hAsync("div", { key: '
|
|
100429
|
+
}) }, hAsync("div", { key: '44f6f1558592d995ee96f064415d65ae957e3345', class: circle$1({
|
|
100424
100430
|
align: this.align,
|
|
100425
100431
|
direction: this.direction,
|
|
100426
100432
|
active: asBoolean(this.active),
|
|
100427
100433
|
finished: asBoolean(this.finished),
|
|
100428
100434
|
variant: this.variant,
|
|
100429
|
-
}) }, this.variant === 'icon' && (this.icon || this.finished) ? (hAsync("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), hAsync("div", { key: '
|
|
100435
|
+
}) }, this.variant === 'icon' && (this.icon || this.finished) ? (hAsync("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), hAsync("div", { key: '8adf57c4546f848c7ae40ed780415bc69362e7b8', class: content$2({
|
|
100430
100436
|
active: asBoolean(this.active),
|
|
100431
100437
|
finished: asBoolean(this.finished),
|
|
100432
100438
|
direction: this.direction,
|
|
100433
100439
|
variant: this.variant,
|
|
100434
|
-
}) }, hAsync("slot", { key: '
|
|
100440
|
+
}) }, hAsync("slot", { key: '361fb845df39f28737e59763bd9507f1af89b75d' })))));
|
|
100435
100441
|
}
|
|
100436
100442
|
static get style() { return stepperItemComponentCss(); }
|
|
100437
100443
|
static get cmpMeta() { return {
|
package/hydrate/index.mjs
CHANGED
|
@@ -100168,6 +100168,9 @@ class Stepper {
|
|
|
100168
100168
|
stepperLine.style.marginTop = `-1rem`;
|
|
100169
100169
|
}
|
|
100170
100170
|
}
|
|
100171
|
+
if (this.direction === 'vertical' && this.variant === 'icon') {
|
|
100172
|
+
stepperLine.style.marginLeft = '1rem';
|
|
100173
|
+
}
|
|
100171
100174
|
stepperLine.style.minHeight = `calc(${totalHeight / 16}rem)`;
|
|
100172
100175
|
}
|
|
100173
100176
|
}
|
|
@@ -100415,21 +100418,24 @@ class StepperItem {
|
|
|
100415
100418
|
*/
|
|
100416
100419
|
active = false;
|
|
100417
100420
|
render() {
|
|
100418
|
-
return (hAsync(ThemedHost, { key: 'f6e0975e555482bb9d7084a04a1d3543a14506c0' }, hAsync("div", { key: '
|
|
100419
|
-
align: this.variant === 'default'
|
|
100421
|
+
return (hAsync(ThemedHost, { key: 'f6e0975e555482bb9d7084a04a1d3543a14506c0' }, hAsync("div", { key: '77d47f4328c4b1742eb777cc7323ef01fd00de20', class: item$1({
|
|
100422
|
+
align: this.variant === 'default' ||
|
|
100423
|
+
(this.variant === 'icon' && this.direction === 'vertical')
|
|
100424
|
+
? this.align
|
|
100425
|
+
: 'center',
|
|
100420
100426
|
contentPosition: this.contentPosition,
|
|
100421
|
-
}) }, hAsync("div", { key: '
|
|
100427
|
+
}) }, hAsync("div", { key: '44f6f1558592d995ee96f064415d65ae957e3345', class: circle$1({
|
|
100422
100428
|
align: this.align,
|
|
100423
100429
|
direction: this.direction,
|
|
100424
100430
|
active: asBoolean(this.active),
|
|
100425
100431
|
finished: asBoolean(this.finished),
|
|
100426
100432
|
variant: this.variant,
|
|
100427
|
-
}) }, this.variant === 'icon' && (this.icon || this.finished) ? (hAsync("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), hAsync("div", { key: '
|
|
100433
|
+
}) }, this.variant === 'icon' && (this.icon || this.finished) ? (hAsync("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), hAsync("div", { key: '8adf57c4546f848c7ae40ed780415bc69362e7b8', class: content$2({
|
|
100428
100434
|
active: asBoolean(this.active),
|
|
100429
100435
|
finished: asBoolean(this.finished),
|
|
100430
100436
|
direction: this.direction,
|
|
100431
100437
|
variant: this.variant,
|
|
100432
|
-
}) }, hAsync("slot", { key: '
|
|
100438
|
+
}) }, hAsync("slot", { key: '361fb845df39f28737e59763bd9507f1af89b75d' })))));
|
|
100433
100439
|
}
|
|
100434
100440
|
static get style() { return stepperItemComponentCss(); }
|
|
100435
100441
|
static get cmpMeta() { return {
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-yFtRjnrU.js";import{c as i}from"./p-CBWjHURv.js";import{T as a}from"./p-CSySY6aC.js";import{a as r}from"./p-C5CTp9IA.js";import"./p-ChV9xqsO.js";import"./p-6XOzWrsN.js";const o=i("flex gap-2",{variants:{align:{start:"items-start",center:"items-center",end:"items-end"},contentPosition:{start:"flex-row-reverse",end:null}}}),n=i(["flex items-center justify-center","text-center text-sm font-medium","rounded-full"],{variants:{align:{start:null,center:null,end:null},direction:{horizontal:null,vertical:null},finished:{true:null,false:null},active:{true:null,false:null},variant:{default:["size-6","border border-solid"],icon:"size-8"}},compoundVariants:[{finished:!1,active:!1,variant:"default",class:["border-indigo-600 bg-indigo-50 text-indigo-600","dark:border-white/15 dark:bg-white/15 dark:text-hurricane-200"]},{active:!0,finished:!1,variant:"default",class:"border-indigo-600 bg-indigo-600 text-white"},{active:!1,finished:!0,variant:"default",class:"border-indigo-600 bg-indigo-600 text-white"},{finished:!1,active:!1,variant:"icon",class:["bg-indigo-100 text-storm-200","dark:bg-white/15 dark:text-hurricane-200"]},{active:!0,finished:!1,variant:"icon",class:"bg-indigo-500 text-storm-500"},{active:!1,finished:!0,variant:"icon",class:"bg-indigo-100 text-indigo-600"},{direction:"vertical",align:"start",class:"mt-5"},{direction:"vertical",align:"end",class:"mb-5"}]}),c=i("mt-[1px] flex-1 text-sm",{variants:{finished:{true:null,false:null},active:{true:null,false:null},direction:{horizontal:null,vertical:null},variant:{default:"font-medium",icon:"font-semibold"}},compoundVariants:[{finished:!1,active:!1,variant:"default",class:"\n text-storm-400\n dark:text-hurricane-200\n "},{active:!0,finished:!1,variant:"default",class:"\n text-storm-500\n dark:text-white\n "},{active:!1,finished:!0,variant:"default",class:"\n text-storm-500\n dark:text-white\n "},{active:!1,variant:"icon",class:"\n text-storm-300\n dark:text-hurricane-200\n "},{active:!0,variant:"icon",class:"\n text-storm-500\n dark:text-white\n "},{direction:"horizontal",active:!1,class:"\n hidden\n desktop-xs:inline-block\n "}]}),d=class{constructor(e){t(this,e)}number=1;icon;direction="horizontal";variant="default";align="center";contentPosition="end";finished=!1;active=!1;render(){return e(a,{key:"f6e0975e555482bb9d7084a04a1d3543a14506c0"},e("div",{key:"83a55a58b2e4cd7654e548a83ee460022076fadd",class:o({align:"default"===this.variant?this.align:"center",contentPosition:this.contentPosition})},e("div",{key:"c4ed8f04cc1543139095c8b5d8df396a4d574be9",class:n({align:this.align,direction:this.direction,active:r(this.active),finished:r(this.finished),variant:this.variant})},"icon"===this.variant&&(this.icon||this.finished)?e("p-icon",{variant:this.finished?"checkmark":this.icon}):this.number),e("div",{key:"6836d3a6900c78d9e398cf54cc90ec9c55e97fa3",class:c({active:r(this.active),finished:r(this.finished),direction:this.direction,variant:this.variant})},e("slot",{key:"34598e124bef3de28a393513adb936e0fc1aba84"}))))}};d.style="*{box-sizing:border-box}.static{position:static}.mb-5{margin-bottom:1.25rem}.mt-5{margin-top:1.25rem}.mt-\\[1px\\]{margin-top:1px}.flex{display:flex}.hidden{display:none}.size-6{height:1.5rem;width:1.5rem}.size-8{height:2rem;width:2rem}.flex-1{flex:1 1 0%}.flex-row-reverse{flex-direction:row-reverse}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-indigo-500{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}@media (min-width:64rem){.desktop-xs\\:inline-block{display:inline-block}}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}";const s=class{constructor(e){t(this,e)}active=!1;direction="horizontal";render(){return e(a,{key:"3822db07a479031ea2ed2b85e964e87c74fcf3a1"})}};s.style=".mx-\\[calc\\(0\\.75rem-1px\\)\\]{margin-left:calc(.75rem - 1px);margin-right:calc(.75rem - 1px)}.block{display:block}.h-\\[1px\\]{height:1px}.min-h-\\[1rem\\]{min-height:1rem}.w-\\[1px\\]{width:1px}.bg-off-white-700{--tw-bg-opacity:1;background-color:rgb(222 219 213/var(--tw-bg-opacity,1))}*{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:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}:host:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}: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}";export{d as p_stepper_item,s as p_stepper_line}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t,p as e,H as i,h as a}from"./p-CySg37XO.js";import{c as r}from"./p-CBWjHURv.js";import{T as o}from"./p-Au2WuEGF.js";import{a as n}from"./p-C5CTp9IA.js";import{d as s}from"./p-gEaqH36V.js";const d=r("flex gap-2",{variants:{align:{start:"items-start",center:"items-center",end:"items-end"},contentPosition:{start:"flex-row-reverse",end:null}}}),c=r(["flex items-center justify-center","text-center text-sm font-medium","rounded-full"],{variants:{align:{start:null,center:null,end:null},direction:{horizontal:null,vertical:null},finished:{true:null,false:null},active:{true:null,false:null},variant:{default:["size-6","border border-solid"],icon:"size-8"}},compoundVariants:[{finished:!1,active:!1,variant:"default",class:["border-indigo-600 bg-indigo-50 text-indigo-600","dark:border-white/15 dark:bg-white/15 dark:text-hurricane-200"]},{active:!0,finished:!1,variant:"default",class:"border-indigo-600 bg-indigo-600 text-white"},{active:!1,finished:!0,variant:"default",class:"border-indigo-600 bg-indigo-600 text-white"},{finished:!1,active:!1,variant:"icon",class:["bg-indigo-100 text-storm-200","dark:bg-white/15 dark:text-hurricane-200"]},{active:!0,finished:!1,variant:"icon",class:"bg-indigo-500 text-storm-500"},{active:!1,finished:!0,variant:"icon",class:"bg-indigo-100 text-indigo-600"},{direction:"vertical",align:"start",class:"mt-5"},{direction:"vertical",align:"end",class:"mb-5"}]}),l=r("mt-[1px] flex-1 text-sm",{variants:{finished:{true:null,false:null},active:{true:null,false:null},direction:{horizontal:null,vertical:null},variant:{default:"font-medium",icon:"font-semibold"}},compoundVariants:[{finished:!1,active:!1,variant:"default",class:"\n text-storm-400\n dark:text-hurricane-200\n "},{active:!0,finished:!1,variant:"default",class:"\n text-storm-500\n dark:text-white\n "},{active:!1,finished:!0,variant:"default",class:"\n text-storm-500\n dark:text-white\n "},{active:!1,variant:"icon",class:"\n text-storm-300\n dark:text-hurricane-200\n "},{active:!0,variant:"icon",class:"\n text-storm-500\n dark:text-white\n "},{direction:"horizontal",active:!1,class:"\n hidden\n desktop-xs:inline-block\n "}]}),h=e(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}number=1;icon;direction="horizontal";variant="default";align="center";contentPosition="end";finished=!1;active=!1;render(){return a(o,{key:"f6e0975e555482bb9d7084a04a1d3543a14506c0"},a("div",{key:"83a55a58b2e4cd7654e548a83ee460022076fadd",class:d({align:"default"===this.variant?this.align:"center",contentPosition:this.contentPosition})},a("div",{key:"c4ed8f04cc1543139095c8b5d8df396a4d574be9",class:c({align:this.align,direction:this.direction,active:n(this.active),finished:n(this.finished),variant:this.variant})},"icon"===this.variant&&(this.icon||this.finished)?a("p-icon",{variant:this.finished?"checkmark":this.icon}):this.number),a("div",{key:"6836d3a6900c78d9e398cf54cc90ec9c55e97fa3",class:l({active:n(this.active),finished:n(this.finished),direction:this.direction,variant:this.variant})},a("slot",{key:"34598e124bef3de28a393513adb936e0fc1aba84"}))))}static get style(){return"*{box-sizing:border-box}.static{position:static}.mb-5{margin-bottom:1.25rem}.mt-5{margin-top:1.25rem}.mt-\\[1px\\]{margin-top:1px}.flex{display:flex}.hidden{display:none}.size-6{height:1.5rem;width:1.5rem}.size-8{height:2rem;width:2rem}.flex-1{flex:1 1 0%}.flex-row-reverse{flex-direction:row-reverse}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-indigo-500{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}@media (min-width:64rem){.desktop-xs\\:inline-block{display:inline-block}}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-stepper-item",{number:[2],icon:[1],direction:[1],variant:[1],align:[1],contentPosition:[1,"content-position"],finished:[4],active:[4]}]);function m(){"undefined"!=typeof customElements&&["p-stepper-item","p-icon"].forEach((e=>{switch(e){case"p-stepper-item":customElements.get(t(e))||customElements.define(t(e),h);break;case"p-icon":customElements.get(t(e))||s()}}))}m();export{h as S,m as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-yFtRjnrU.js";import{c as i}from"./p-CBWjHURv.js";import{T as a}from"./p-CSySY6aC.js";import{a as r}from"./p-C5CTp9IA.js";import"./p-ChV9xqsO.js";import"./p-6XOzWrsN.js";const o=i("flex gap-2",{variants:{align:{start:"items-start",center:"items-center",end:"items-end"},contentPosition:{start:"flex-row-reverse",end:null}}}),n=i(["flex items-center justify-center","text-center text-sm font-medium","rounded-full"],{variants:{align:{start:null,center:null,end:null},direction:{horizontal:null,vertical:null},finished:{true:null,false:null},active:{true:null,false:null},variant:{default:["size-6","border border-solid"],icon:"size-8"}},compoundVariants:[{finished:!1,active:!1,variant:"default",class:["border-indigo-600 bg-indigo-50 text-indigo-600","dark:border-white/15 dark:bg-white/15 dark:text-hurricane-200"]},{active:!0,finished:!1,variant:"default",class:"border-indigo-600 bg-indigo-600 text-white"},{active:!1,finished:!0,variant:"default",class:"border-indigo-600 bg-indigo-600 text-white"},{finished:!1,active:!1,variant:"icon",class:["bg-indigo-100 text-storm-200","dark:bg-white/15 dark:text-hurricane-200"]},{active:!0,finished:!1,variant:"icon",class:"bg-indigo-500 text-storm-500"},{active:!1,finished:!0,variant:"icon",class:"bg-indigo-100 text-indigo-600"},{direction:"vertical",align:"start",class:"mt-5"},{direction:"vertical",align:"end",class:"mb-5"}]}),c=i("mt-[1px] flex-1 text-sm",{variants:{finished:{true:null,false:null},active:{true:null,false:null},direction:{horizontal:null,vertical:null},variant:{default:"font-medium",icon:"font-semibold"}},compoundVariants:[{finished:!1,active:!1,variant:"default",class:"\n text-storm-400\n dark:text-hurricane-200\n "},{active:!0,finished:!1,variant:"default",class:"\n text-storm-500\n dark:text-white\n "},{active:!1,finished:!0,variant:"default",class:"\n text-storm-500\n dark:text-white\n "},{active:!1,variant:"icon",class:"\n text-storm-300\n dark:text-hurricane-200\n "},{active:!0,variant:"icon",class:"\n text-storm-500\n dark:text-white\n "},{direction:"horizontal",active:!1,class:"\n hidden\n desktop-xs:inline-block\n "}]}),d=class{constructor(e){t(this,e)}number=1;icon;direction="horizontal";variant="default";align="center";contentPosition="end";finished=!1;active=!1;render(){return e(a,{key:"f6e0975e555482bb9d7084a04a1d3543a14506c0"},e("div",{key:"83a55a58b2e4cd7654e548a83ee460022076fadd",class:o({align:"default"===this.variant?this.align:"center",contentPosition:this.contentPosition})},e("div",{key:"c4ed8f04cc1543139095c8b5d8df396a4d574be9",class:n({align:this.align,direction:this.direction,active:r(this.active),finished:r(this.finished),variant:this.variant})},"icon"===this.variant&&(this.icon||this.finished)?e("p-icon",{variant:this.finished?"checkmark":this.icon}):this.number),e("div",{key:"6836d3a6900c78d9e398cf54cc90ec9c55e97fa3",class:c({active:r(this.active),finished:r(this.finished),direction:this.direction,variant:this.variant})},e("slot",{key:"34598e124bef3de28a393513adb936e0fc1aba84"}))))}};d.style="*{box-sizing:border-box}.static{position:static}.mb-5{margin-bottom:1.25rem}.mt-5{margin-top:1.25rem}.mt-\\[1px\\]{margin-top:1px}.flex{display:flex}.hidden{display:none}.size-6{height:1.5rem;width:1.5rem}.size-8{height:2rem;width:2rem}.flex-1{flex:1 1 0%}.flex-row-reverse{flex-direction:row-reverse}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-indigo-500{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}@media (min-width:64rem){.desktop-xs\\:inline-block{display:inline-block}}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}";const s=class{constructor(e){t(this,e)}active=!1;direction="horizontal";render(){return e(a,{key:"3822db07a479031ea2ed2b85e964e87c74fcf3a1"})}};s.style=".mx-\\[calc\\(0\\.75rem-1px\\)\\]{margin-left:calc(.75rem - 1px);margin-right:calc(.75rem - 1px)}.block{display:block}.h-\\[1px\\]{height:1px}.min-h-\\[1rem\\]{min-height:1rem}.w-\\[1px\\]{width:1px}.bg-off-white-700{--tw-bg-opacity:1;background-color:rgb(222 219 213/var(--tw-bg-opacity,1))}*{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:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}:host:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}: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}";export{d as p_stepper_item,s as p_stepper_line}
|