@paperless/core 2.0.1-beta.212 → 2.0.1-beta.214

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 (49) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{paperless/p-e13d4801.entry.js → build/p-4fee80b8.entry.js} +2 -2
  3. package/dist/build/p-4fee80b8.entry.js.map +1 -0
  4. package/dist/build/p-d66074fb.entry.js +2 -0
  5. package/dist/build/p-d66074fb.entry.js.map +1 -0
  6. package/dist/build/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
  7. package/dist/build/{p-2adbed2c.js → p-f835be85.js} +1 -1
  8. package/dist/build/p-label.entry.esm.js.map +1 -1
  9. package/dist/build/paperless.esm.js +1 -1
  10. package/dist/cjs/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.cjs.js.map +1 -1
  11. package/dist/cjs/p-empty-state_9.cjs.entry.js +10 -5
  12. package/dist/cjs/p-empty-state_9.cjs.entry.js.map +1 -1
  13. package/dist/cjs/p-label.cjs.entry.js +3 -3
  14. package/dist/cjs/p-label.cjs.entry.js.map +1 -1
  15. package/dist/cjs/p-label.entry.cjs.js.map +1 -1
  16. package/dist/collection/components/molecules/label/label.component.js +3 -3
  17. package/dist/collection/components/molecules/label/label.component.js.map +1 -1
  18. package/dist/collection/components/molecules/table/footer/table-footer.component.js +10 -5
  19. package/dist/collection/components/molecules/table/footer/table-footer.component.js.map +1 -1
  20. package/dist/components/{p-Bp1thCw3.js → p-DG_ErDCc.js} +12 -7
  21. package/dist/components/p-DG_ErDCc.js.map +1 -0
  22. package/dist/components/p-label.js +3 -3
  23. package/dist/components/p-label.js.map +1 -1
  24. package/dist/components/p-table-footer.js +1 -1
  25. package/dist/components/p-table.js +1 -1
  26. package/dist/esm/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.js.map +1 -1
  27. package/dist/esm/p-empty-state_9.entry.js +10 -5
  28. package/dist/esm/p-empty-state_9.entry.js.map +1 -1
  29. package/dist/esm/p-label.entry.js +3 -3
  30. package/dist/esm/p-label.entry.js.map +1 -1
  31. package/dist/index.html +1 -1
  32. package/dist/{build/p-e13d4801.entry.js → paperless/p-4fee80b8.entry.js} +2 -2
  33. package/dist/paperless/p-4fee80b8.entry.js.map +1 -0
  34. package/dist/paperless/p-d66074fb.entry.js +2 -0
  35. package/dist/paperless/p-d66074fb.entry.js.map +1 -0
  36. package/dist/paperless/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
  37. package/dist/paperless/p-label.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/dist/types/components/molecules/table/footer/table-footer.component.d.ts +2 -1
  42. package/package.json +1 -1
  43. package/dist/build/p-a6fb3a0e.entry.js +0 -2
  44. package/dist/build/p-a6fb3a0e.entry.js.map +0 -1
  45. package/dist/build/p-e13d4801.entry.js.map +0 -1
  46. package/dist/components/p-Bp1thCw3.js.map +0 -1
  47. package/dist/paperless/p-a6fb3a0e.entry.js +0 -2
  48. package/dist/paperless/p-a6fb3a0e.entry.js.map +0 -1
  49. package/dist/paperless/p-e13d4801.entry.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"names":["labelComponentCss","label","cva","variants","variant","positive","biased","negative","neutral","unavailable","iconOnly","false","true","keepMobileContent","compoundVariants","class","Label","icon","iconFlip","iconRotate","render","h","key","this","flip","rotate","cn","hidden"],"sources":["src/components/molecules/label/label.component.css?tag=p-label&encapsulation=shadow","src/components/molecules/label/label.component.tsx"],"sourcesContent":[null,"import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { RotateOptions } from '../../../types';\nimport { cn } from '../../../utils/cn';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\n\nconst label = cva(\n\t['flex items-center justify-center gap-2', 'h-6 rounded-full font-medium'],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tpositive: 'bg-positive-green-100 text-positive-green-800',\n\t\t\t\tbiased: 'bg-amber-100 text-amber-800',\n\t\t\t\tnegative: 'bg-negative-red-100 text-negative-red-800',\n\t\t\t\tneutral: 'bg-supportive-lilac-200 text-supportive-lilac-900',\n\t\t\t\tunavailable: 'bg-white-700 text-dark-teal-800',\n\t\t\t},\n\t\t\ticonOnly: {\n\t\t\t\tfalse: 'px-2',\n\t\t\t\ttrue: 'p-2 w-6',\n\t\t\t},\n\t\t\tkeepMobileContent: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tkeepMobileContent: false,\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'p-2 w-6 desktop-xs:w-auto desktop-xs:py-0',\n\t\t\t},\n\t\t],\n\t}\n);\n\n@Component({\n\ttag: 'p-label',\n\tstyleUrl: 'label.component.css',\n\tshadow: true,\n})\nexport class Label {\n\t/**\n\t * Variant of the label\n\t */\n\t@Prop({ reflect: true }) variant:\n\t\t| 'positive'\n\t\t| 'biased'\n\t\t| 'negative'\n\t\t| 'neutral'\n\t\t| 'unavailable' = 'neutral';\n\n\t/**\n\t * Wether to only show the icon\n\t */\n\t@Prop({ reflect: true }) iconOnly: boolean = false;\n\n\t/**\n\t * Icon to show on the label\n\t */\n\t@Prop({ reflect: true }) icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Wether to keep the content on mobile\n\t */\n\t@Prop({ reflect: true }) keepMobileContent: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={label({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\ticonOnly: this.iconOnly,\n\t\t\t\t\tkeepMobileContent: this.keepMobileContent,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{this.icon && (\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tclass='flex-shrink-0'\n\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{!this.iconOnly && (\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={cn(\n\t\t\t\t\t\t\t'flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm',\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\thidden: !this.keepMobileContent,\n\t\t\t\t\t\t\t\t'desktop-xs:block': !this.keepMobileContent,\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n}\n"],"mappings":"2IAAA,MAAMA,EAAoB,y/DCM1B,MAAMC,EAAQC,EACb,CAAC,yCAA0C,gCAC3C,CACCC,SAAU,CACTC,QAAS,CACRC,SAAU,gDACVC,OAAQ,+BACRC,SAAU,4CACVC,QAAS,oDACTC,YAAa,mCAEdC,SAAU,CACTC,MAAO,OACPC,KAAM,WAEPC,kBAAmB,CAClBF,MAAO,KACPC,KAAM,OAGRE,iBAAkB,CACjB,CACCD,kBAAmB,MACnBH,SAAU,MACVK,MAAO,gD,MAWEC,EAAK,M,yBAIQZ,QAKN,UAKMM,SAAoB,MAKpBO,KAKjBC,SAKAC,WAKiBN,kBAA6B,MAEtD,MAAAO,GACC,OACCC,EAAA,OAAAC,IAAA,2CACCP,MAAOd,EAAM,CACZG,QAASmB,KAAKnB,QACdM,SAAUa,KAAKb,SACfG,kBAAmBU,KAAKV,qBAGxBU,KAAKN,MACLI,EAAA,UAAAC,IAAA,2CACCP,MAAM,gBACNX,QAASmB,KAAKN,KACdO,KAAMD,KAAKL,SACXO,OAAQF,KAAKJ,cAIbI,KAAKb,UACNW,EACC,OAAAC,IAAA,2CAAAP,MAAOW,EACN,iEACA,CACCC,QAASJ,KAAKV,kBACd,oBAAqBU,KAAKV,qBAI5BQ,EAAA,QAAAC,IAAA,8C","ignoreList":[]}