@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.
Files changed (46) hide show
  1. package/dist/build/{p-99cbf79e.js → p-871936f2.js} +1 -1
  2. package/dist/build/p-f6dd0790.entry.js +1 -0
  3. package/dist/build/paperless.esm.js +1 -1
  4. package/dist/cjs/p-button_3.cjs.entry.js +12 -4
  5. package/dist/collection/components/molecules/button/button.component.js +12 -4
  6. package/dist/components/{p-BZNy3k2j.js → p-BPoPHj4v.js} +1 -1
  7. package/dist/components/{p-CYJ2s8gf.js → p-BXFIt2yS.js} +1 -1
  8. package/dist/components/{p-D34oUQRc.js → p-BZID5_mv.js} +1 -1
  9. package/dist/components/{p-Bg73A-l5.js → p-C9T2Zn4W.js} +1 -1
  10. package/dist/components/p-ChrBlvNY.js +1 -0
  11. package/dist/components/{p-DOjiMWKc.js → p-D4W7oN7G.js} +1 -1
  12. package/dist/components/{p-BFvoC7BA.js → p-DGU1kzxy.js} +1 -1
  13. package/dist/components/p-GogOpDaV.js +1 -0
  14. package/dist/components/p-attachment.js +1 -1
  15. package/dist/components/p-button.js +1 -1
  16. package/dist/components/{p-BD5jS81-.js → p-cFwgScsa.js} +1 -1
  17. package/dist/components/p-calendar.js +1 -1
  18. package/dist/components/p-datepicker.js +1 -1
  19. package/dist/components/p-drawer-header.js +1 -1
  20. package/dist/components/p-drawer.js +1 -1
  21. package/dist/components/p-empty-state.js +1 -1
  22. package/dist/components/p-field.js +1 -1
  23. package/dist/components/p-modal-header.js +1 -1
  24. package/dist/components/p-modal.js +1 -1
  25. package/dist/components/p-navbar.js +1 -1
  26. package/dist/components/p-pagination-pages.js +1 -1
  27. package/dist/components/p-pagination.js +1 -1
  28. package/dist/components/p-profile.js +1 -1
  29. package/dist/components/p-select.js +1 -1
  30. package/dist/components/{p-b-xaFyhe.js → p-tM-Y5Y8G.js} +1 -1
  31. package/dist/components/p-table-footer.js +1 -1
  32. package/dist/components/p-table-header.js +1 -1
  33. package/dist/components/p-table.js +1 -1
  34. package/dist/esm/p-button_3.entry.js +12 -4
  35. package/dist/index.html +1 -1
  36. package/dist/paperless/p-f6dd0790.entry.js +1 -0
  37. package/dist/paperless/paperless.esm.js +1 -1
  38. package/dist/sw.js +1 -1
  39. package/dist/sw.js.map +1 -1
  40. package/hydrate/index.js +12 -4
  41. package/hydrate/index.mjs +12 -4
  42. package/package.json +1 -1
  43. package/dist/build/p-c0599b0e.entry.js +0 -1
  44. package/dist/components/p-B4-tGTJs.js +0 -1
  45. package/dist/components/p-CdX4ibSM.js +0 -1
  46. 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: '6148fd7b2aeb9b67cc2434122d84e782366d3d94', class: hostClass }, h(VariableTag, { key: '864bbdc213dede9b0b4252f15e7e2e7351d9b3ee', class: button({
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: '6ef87717783cc48898ab9d49d189b32f4a6583e2', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.icon &&
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: 'b0ca4383ce576b0ed97981b2b01f2989345bd524' }), this.icon &&
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: 'f98643605a4726f4d600fe6b2dc3630f2db9941b', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.loading && h("p-loader", { key: 'df1a3a7f6cf562846220d2ff0f358e6c56e18511', color: loaderColor }))));
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) {