@leavittsoftware/web 2.27.0 → 2.27.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/web",
3
- "version": "2.27.0",
3
+ "version": "2.27.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "files": [
@@ -40,5 +40,5 @@
40
40
  "url": "https://github.com/LeavittSoftware/titanium-elements/issues"
41
41
  },
42
42
  "homepage": "https://github.com/LeavittSoftware/titanium-elements/#readme",
43
- "gitHead": "f4dc42ba265d1ec213b831834f2a7ae85bf22cba"
43
+ "gitHead": "7a023a67172ba9f62184df98a019cbf5874e44b3"
44
44
  }
@@ -36,7 +36,7 @@ export declare class TitaniumProfilePictureStack extends LitElement {
36
36
  * Used internally by the resize observer to keep track of the max number of people to display in a stack.
37
37
  * @ignore
38
38
  */
39
- autoMax: number;
39
+ private accessor autoMax;
40
40
  updated(changedProperties: PropertyValues<this>): void;
41
41
  static styles: import("lit").CSSResult[];
42
42
  render(): import("lit-html").TemplateResult<1>;
@@ -13,31 +13,19 @@ import '@material/web/icon/icon';
13
13
  *
14
14
  */
15
15
  let TitaniumProfilePictureStack = class TitaniumProfilePictureStack extends LitElement {
16
- constructor() {
17
- super(...arguments);
18
- this.#max_accessor_storage = 5;
19
- this.#enableDirectoryHref_accessor_storage = false;
20
- this.#autoResize_accessor_storage = false;
21
- this.#size_accessor_storage = 30;
22
- /**
23
- * Used internally by the resize observer to keep track of the max number of people to display in a stack.
24
- * @ignore
25
- */
26
- this.autoMax = 0;
27
- }
28
16
  #people_accessor_storage;
29
17
  /**
30
18
  * Array of people to display in a stack.
31
19
  */
32
20
  get people() { return this.#people_accessor_storage; }
33
21
  set people(value) { this.#people_accessor_storage = value; }
34
- #max_accessor_storage;
22
+ #max_accessor_storage = 5;
35
23
  /**
36
24
  * Number to define the max number of people to display in a stack.
37
25
  */
38
26
  get max() { return this.#max_accessor_storage; }
39
27
  set max(value) { this.#max_accessor_storage = value; }
40
- #enableDirectoryHref_accessor_storage;
28
+ #enableDirectoryHref_accessor_storage = false;
41
29
  /**
42
30
  * Enable a link to directory for each person visible in the stack.
43
31
  * This will open a new tab to the directory profile of the person.
@@ -45,18 +33,25 @@ let TitaniumProfilePictureStack = class TitaniumProfilePictureStack extends LitE
45
33
  */
46
34
  get enableDirectoryHref() { return this.#enableDirectoryHref_accessor_storage; }
47
35
  set enableDirectoryHref(value) { this.#enableDirectoryHref_accessor_storage = value; }
48
- #autoResize_accessor_storage;
36
+ #autoResize_accessor_storage = false;
49
37
  /**
50
38
  * Enable auto resizing of the profile picture stack. Setting this will supersede the max property.
51
39
  */
52
40
  get autoResize() { return this.#autoResize_accessor_storage; }
53
41
  set autoResize(value) { this.#autoResize_accessor_storage = value; }
54
- #size_accessor_storage;
42
+ #size_accessor_storage = 30;
55
43
  /**
56
44
  * Size of the profile picture.
57
45
  */
58
46
  get size() { return this.#size_accessor_storage; }
59
47
  set size(value) { this.#size_accessor_storage = value; }
48
+ #autoMax_accessor_storage = 0;
49
+ /**
50
+ * Used internally by the resize observer to keep track of the max number of people to display in a stack.
51
+ * @ignore
52
+ */
53
+ get autoMax() { return this.#autoMax_accessor_storage; }
54
+ set autoMax(value) { this.#autoMax_accessor_storage = value; }
60
55
  #resizeObserver;
61
56
  updated(changedProperties) {
62
57
  if (changedProperties.has('autoResize')) {
@@ -117,7 +112,7 @@ let TitaniumProfilePictureStack = class TitaniumProfilePictureStack extends LitE
117
112
 
118
113
  p {
119
114
  align-self: center;
120
- margin-left: 10px;
115
+ margin-left: 8px;
121
116
  }
122
117
 
123
118
  :host([enable-directory-href]) profile-picture {
@@ -163,7 +158,7 @@ __decorate([
163
158
  ], TitaniumProfilePictureStack.prototype, "size", null);
164
159
  __decorate([
165
160
  state()
166
- ], TitaniumProfilePictureStack.prototype, "autoMax", void 0);
161
+ ], TitaniumProfilePictureStack.prototype, "autoMax", null);
167
162
  TitaniumProfilePictureStack = __decorate([
168
163
  customElement('titanium-profile-picture-stack')
169
164
  ], TitaniumProfilePictureStack);
@@ -1 +1 @@
1
- {"version":3,"file":"profile-picture-stack.js","sourceRoot":"","sources":["profile-picture-stack.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,aAAa,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,OAAO,8DAA8D,CAAC;AACtE,OAAO,yBAAyB,CAAC;AAEjC;;;;;GAKG;AAGI,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,UAAU;IAApD;;QASgC,6BAAc,CAAC,CAAC;QAOqB,6CAA+B,KAAK,CAAC;QAK/C,oCAAsB,KAAK,CAAC;QAKvD,8BAAe,EAAE,CAAC;QAEvD;;;WAGG;QACM,YAAO,GAAW,CAAC,CAAC;IAgG/B,CAAC;IA5HqC,yBAAkD;IAHtF;;OAEG;IACiC,IAAA,MAAM,4CAA4C;IAAlD,IAAA,MAAM,kDAA4C;IAKjD,sBAAgB;IAHrD;;OAEG;IACkC,IAAA,GAAG,yCAAa;IAAhB,IAAA,GAAG,+CAAa;IAOqB,sCAAqC;IAL/G;;;;OAIG;IACuE,IAAA,mBAAmB,yDAAkB;IAArC,IAAA,mBAAmB,+DAAkB;IAK/C,6BAA4B;IAH5F;;OAEG;IAC6D,IAAA,UAAU,gDAAkB;IAA5B,IAAA,UAAU,sDAAkB;IAKvD,uBAAkB;IAHvD;;OAEG;IACkC,IAAA,IAAI,0CAAc;IAAlB,IAAA,IAAI,gDAAc;IAQvD,eAAe,C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