@paperless/core 3.19.5 → 3.19.6
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/build/{p-99cbf79e.js → p-871936f2.js} +1 -1
- package/dist/build/p-f6dd0790.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +12 -4
- package/dist/collection/components/molecules/button/button.component.js +12 -4
- package/dist/components/{p-BZNy3k2j.js → p-BPoPHj4v.js} +1 -1
- package/dist/components/{p-CYJ2s8gf.js → p-BXFIt2yS.js} +1 -1
- package/dist/components/{p-D34oUQRc.js → p-BZID5_mv.js} +1 -1
- package/dist/components/{p-Bg73A-l5.js → p-C9T2Zn4W.js} +1 -1
- package/dist/components/p-ChrBlvNY.js +1 -0
- package/dist/components/{p-DOjiMWKc.js → p-D4W7oN7G.js} +1 -1
- package/dist/components/{p-BFvoC7BA.js → p-DGU1kzxy.js} +1 -1
- package/dist/components/p-GogOpDaV.js +1 -0
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/{p-BD5jS81-.js → p-cFwgScsa.js} +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-modal-header.js +1 -1
- package/dist/components/p-modal.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/{p-b-xaFyhe.js → p-tM-Y5Y8G.js} +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/esm/p-button_3.entry.js +12 -4
- package/dist/index.html +1 -1
- package/dist/paperless/p-f6dd0790.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/hydrate/index.js +12 -4
- package/hydrate/index.mjs +12 -4
- package/package.json +1 -1
- package/dist/build/p-c0599b0e.entry.js +0 -1
- package/dist/components/p-B4-tGTJs.js +0 -1
- package/dist/components/p-CdX4ibSM.js +0 -1
- package/dist/paperless/p-c0599b0e.entry.js +0 -1
|
@@ -114,6 +114,10 @@ const button = cva([
|
|
|
114
114
|
true: 'justify-center',
|
|
115
115
|
false: 'w-inherit py-1',
|
|
116
116
|
},
|
|
117
|
+
hasChevron: {
|
|
118
|
+
true: null,
|
|
119
|
+
false: null,
|
|
120
|
+
},
|
|
117
121
|
underline: {
|
|
118
122
|
true: 'underline',
|
|
119
123
|
false: 'no-underline',
|
|
@@ -324,16 +328,19 @@ const button = cva([
|
|
|
324
328
|
{
|
|
325
329
|
size: 'sm',
|
|
326
330
|
iconOnly: true,
|
|
331
|
+
hasChevron: false,
|
|
327
332
|
class: 'w-6',
|
|
328
333
|
},
|
|
329
334
|
{
|
|
330
335
|
size: 'base',
|
|
331
336
|
iconOnly: true,
|
|
337
|
+
hasChevron: false,
|
|
332
338
|
class: 'w-8',
|
|
333
339
|
},
|
|
334
340
|
{
|
|
335
341
|
size: 'lg',
|
|
336
342
|
iconOnly: true,
|
|
343
|
+
hasChevron: false,
|
|
337
344
|
class: 'w-10',
|
|
338
345
|
},
|
|
339
346
|
],
|
|
@@ -579,24 +586,25 @@ export class Button {
|
|
|
579
586
|
: 'button';
|
|
580
587
|
const hostClass = cn('p-button inline-block', this.class);
|
|
581
588
|
const active = asBoolean(this.active) || hostClass?.includes('active');
|
|
582
|
-
return (h(ThemedHost, { key: '
|
|
589
|
+
return (h(ThemedHost, { key: '3d2e21ba8385599c81fb2a6c15df5fd346ee17cf', class: hostClass }, h(VariableTag, { key: 'd629af41ed9d53c1f8072b18d3de665347b4abc2', class: button({
|
|
583
590
|
variant: this.variant,
|
|
584
591
|
size: this.size,
|
|
585
592
|
loading: asBoolean(this.loading),
|
|
586
593
|
disabled: asBoolean(this.disabled),
|
|
587
594
|
buttonGroupPosition: this.buttonGroupPosition,
|
|
588
595
|
iconOnly: asBoolean(this.iconOnly),
|
|
596
|
+
hasChevron: !!this.chevron,
|
|
589
597
|
active,
|
|
590
598
|
error: asBoolean(this.error),
|
|
591
599
|
underline: asBoolean(this.underline) && VariableTag === 'a',
|
|
592
|
-
}), disabled: asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '
|
|
600
|
+
}), disabled: asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '2383f5eb28f5e44be43efb36879d92ae99ecaacf', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.icon &&
|
|
593
601
|
this.iconPosition === 'start' &&
|
|
594
602
|
!(this.iconOnly && this.loading) &&
|
|
595
|
-
this._getIcon(), this.label ?? h("slot", { key: '
|
|
603
|
+
this._getIcon(), this.label ?? h("slot", { key: '162ff2a9a9dd1e7938a21a1c0a2eab02eb8d90be' }), this.icon &&
|
|
596
604
|
this.iconPosition === 'end' &&
|
|
597
605
|
!this.loading &&
|
|
598
606
|
!this.chevron &&
|
|
599
|
-
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '
|
|
607
|
+
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: 'bcdc2a0fa24d1c0213ab7d22a09814cbdf428d14', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.loading && h("p-loader", { key: 'afb9613187bb7700d0e948b78e57905ce13cdd1f', color: loaderColor }))));
|
|
600
608
|
}
|
|
601
609
|
handleClick(ev) {
|
|
602
610
|
if (this.loading || this.disabled) {
|