@paperless/core 0.1.0-alpha.120 → 0.1.0-alpha.123
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/CHANGELOG.md +33 -0
- package/dist/build/p-42277d1e.entry.js +1 -0
- package/dist/{paperless/p-bc5c0fa9.entry.js → build/p-4deee897.entry.js} +1 -1
- package/dist/build/p-a9e333cc.entry.js +1 -0
- package/dist/build/p-da0ed897.entry.js +1 -0
- package/dist/build/p-e8be2ac2.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index-9d3b51c9.js +8 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +46 -0
- package/dist/cjs/p-button_3.cjs.entry.js +1 -1
- package/dist/cjs/{p-avatar_2.cjs.entry.js → p-dropdown.cjs.entry.js} +0 -38
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-profile.cjs.entry.js +8 -5
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar.component.css +1 -1
- package/dist/collection/components/atoms/avatar/avatar.component.js +4 -2
- package/dist/collection/components/atoms/button/button.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/loader/loader.component.css +1 -1
- package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +1 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -1
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -1
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
- package/dist/collection/components/molecules/profile/profile.component.css +1 -1
- package/dist/collection/components/molecules/profile/profile.component.js +8 -5
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
- package/dist/components/loader.component.js +1 -1
- package/dist/components/p-avatar.js +60 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-profile.js +9 -12
- package/dist/esm/index-9062156b.js +8 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-avatar.entry.js +42 -0
- package/dist/esm/p-button_3.entry.js +1 -1
- package/dist/esm/{p-avatar_2.entry.js → p-dropdown.entry.js} +2 -39
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-profile.entry.js +8 -5
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-42277d1e.entry.js +1 -0
- package/dist/{build/p-bc5c0fa9.entry.js → paperless/p-4deee897.entry.js} +1 -1
- package/dist/paperless/p-a9e333cc.entry.js +1 -0
- package/dist/paperless/p-da0ed897.entry.js +1 -0
- package/dist/paperless/p-e8be2ac2.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/atoms/avatar/avatar.component.d.ts +2 -1
- package/dist/types/components/molecules/profile/profile.component.d.ts +2 -1
- package/package.json +1 -1
- package/dist/build/p-7947115e.entry.js +0 -1
- package/dist/build/p-b645e414.entry.js +0 -1
- package/dist/build/p-ce33c9a2.entry.js +0 -1
- package/dist/components/avatar.component.js +0 -60
- package/dist/paperless/p-7947115e.entry.js +0 -1
- package/dist/paperless/p-b645e414.entry.js +0 -1
- package/dist/paperless/p-ce33c9a2.entry.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 0.1.0-alpha.123 (2022-09-09)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **Molecules/Profile:** Update avatar correctly instead of regenerate ([1ee3de2](https://github.com/ionic-team/stencil-component-starter/commit/1ee3de265628bb76cd09b9d83c4a89a01801cefc))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# 0.1.0-alpha.122 (2022-09-09)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **Atoms/Avatar:** Add temporary console.logs ([254669c](https://github.com/ionic-team/stencil-component-starter/commit/254669ceb675533c839a5ba70a36319baddbc00d))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# 0.1.0-alpha.121 (2022-09-09)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* **Atoms/Avatar:** Add temporary console.logs ([ffd7f39](https://github.com/ionic-team/stencil-component-starter/commit/ffd7f39ce77d9c0c66992b3d9d978eb508d7bcef))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
# 0.1.0-alpha.120 (2022-09-09)
|
|
7
40
|
|
|
8
41
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as o,H as e,g as r}from"./p-bc7e8cc4.js";const i=class{constructor(o){t(this,o),this.variant="user",this.size="small",this._dropdownOpen=!1}componentWillRender(){this._updateAvatar()}render(){const t=!!this._el.querySelector('[slot="dropdown"]'),r=this._getContent(t);return o(e,{class:`p-profile ${t&&"has-dropdown"} ${this._dropdownOpen&&"active"}`},t?o("p-dropdown",{class:"w-full min-w-0",strategy:"absolute",placement:"user"===this.variant?"top-end":"bottom-end",onIsOpen:t=>this._dropdownOpen=t.detail},r,o("div",{slot:"items"},o("slot",{name:"dropdown"}))):r)}_getContent(t){return o("div",{class:"content",slot:"trigger"},o("slot",{name:"avatar"}),o("div",{class:"name"},o("slot",{name:"title"}),o("slot",{name:"subtitle"})),t&&this._getIcon())}_updateAvatar(){var t,o;const e=this._el.querySelector('p-avatar[slot="avatar"]');e&&(e.variant=null!==(t=this.variant)&&void 0!==t?t:e.variant,e.size=null!==(o=this.size)&&void 0!==o?o:null==e?void 0:e.size)}_getIcon(){return o("p-icon",{class:"ml-auto",variant:"company"===this.variant?"chevron":"more"})}get _el(){return r(this)}};i.style=".static{position:static!important}.absolute{position:absolute!important}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.h-\\[3\\.125rem\\]{height:3.125rem!important}.h-\\[4\\.125rem\\]{height:4.125rem!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-3{gap:.75rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.p-2{padding:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}*{box-sizing:border-box}:host{display:flex}:host .content{align-items:center;display:flex;gap:.75rem;width:100%}:host .content .name{display:flex;flex-direction:column;justify-content:center;overflow:hidden}:host .content .name>:first-child{--tw-text-opacity:1;color:rgb(39 40 56/var(--tw-text-opacity));font-size:.875rem;font-weight:600;line-height:1.25rem}:host .content .name>:nth-child(2){--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem}:host .content .name ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([size=small]){height:2rem}:host([size=medium]){height:3.125rem}:host([size=large]){height:4rem}:host(.has-dropdown){cursor:pointer}:host(.has-dropdown) .content{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-radius:.25rem;border-style:solid!important;border-width:1px!important;padding:.5rem}:host(.has-dropdown[size=small]){height:3rem}:host(.has-dropdown[size=medium]){height:4.125rem}:host(.has-dropdown[size=large]){height:5rem}:host(.active) .content,:host(.has-dropdown:hover) .content{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13);--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:host(.active) .content p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}";export{i as p_profile}
|