@sankhyalabs/ezui 0.0.0-feat-dev-KB-89808.1 → 0.0.0-feat-dev-KB-89808.2

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.
@@ -17,7 +17,7 @@ const EzAvatar = class {
17
17
  this.shape = 'circle';
18
18
  this.isInteractive = false;
19
19
  }
20
- /** Obtém a inicial do nome do usuário */
20
+ /** Obtém a inicial do nome do usuário. */
21
21
  getInitial() {
22
22
  var _a;
23
23
  return ((_a = this.name) === null || _a === void 0 ? void 0 : _a.trim()) ? this.name.charAt(0).toUpperCase() : '';
@@ -9,7 +9,7 @@ export class EzAvatar {
9
9
  this.shape = 'circle';
10
10
  this.isInteractive = false;
11
11
  }
12
- /** Obtém a inicial do nome do usuário */
12
+ /** Obtém a inicial do nome do usuário. */
13
13
  getInitial() {
14
14
  var _a;
15
15
  return ((_a = this.name) === null || _a === void 0 ? void 0 : _a.trim()) ? this.name.charAt(0).toUpperCase() : '';
@@ -62,7 +62,7 @@ export class EzAvatar {
62
62
  "optional": true,
63
63
  "docs": {
64
64
  "tags": [],
65
- "text": "Nome do usu\u00E1rio para exibi\u00E7\u00E3o da inicial"
65
+ "text": "Nome do usu\u00E1rio para exibi\u00E7\u00E3o da inicial."
66
66
  },
67
67
  "attribute": "name",
68
68
  "reflect": true
@@ -79,7 +79,7 @@ export class EzAvatar {
79
79
  "optional": true,
80
80
  "docs": {
81
81
  "tags": [],
82
- "text": "URL da imagem do Avatar"
82
+ "text": "URL da imagem do Avatar."
83
83
  },
84
84
  "attribute": "image-src",
85
85
  "reflect": true
@@ -96,7 +96,7 @@ export class EzAvatar {
96
96
  "optional": false,
97
97
  "docs": {
98
98
  "tags": [],
99
- "text": "Tamanho do avatar (valores permitidos):\n'320x320', '300x300', '280x280', '260x260', '240x240', '220x220', '200x200',\n'180x180', '160x160', '140x140', '120x120', '100x100', '80x80', '60x60'"
99
+ "text": "Tamanho do Avatar (valores permitidos):\n'320x320', '300x300', '280x280', '260x260', '240x240', '220x220', '200x200',\n'180x180', '160x160', '140x140', '120x120', '100x100', '80x80', '60x60'."
100
100
  },
101
101
  "attribute": "size",
102
102
  "reflect": true,
@@ -114,7 +114,7 @@ export class EzAvatar {
114
114
  "optional": false,
115
115
  "docs": {
116
116
  "tags": [],
117
- "text": "Define o formato do Avatar: 'circle' ou 'square'"
117
+ "text": "Define o formato do Avatar: 'circle' ou 'square'."
118
118
  },
119
119
  "attribute": "shape",
120
120
  "reflect": true,
@@ -1454,7 +1454,7 @@ const EzAvatar$1 = class extends HTMLElement$1 {
1454
1454
  this.shape = 'circle';
1455
1455
  this.isInteractive = false;
1456
1456
  }
1457
- /** Obtém a inicial do nome do usuário */
1457
+ /** Obtém a inicial do nome do usuário. */
1458
1458
  getInitial() {
1459
1459
  var _a;
1460
1460
  return ((_a = this.name) === null || _a === void 0 ? void 0 : _a.trim()) ? this.name.charAt(0).toUpperCase() : '';
@@ -13,7 +13,7 @@ const EzAvatar = class {
13
13
  this.shape = 'circle';
14
14
  this.isInteractive = false;
15
15
  }
16
- /** Obtém a inicial do nome do usuário */
16
+ /** Obtém a inicial do nome do usuário. */
17
17
  getInitial() {
18
18
  var _a;
19
19
  return ((_a = this.name) === null || _a === void 0 ? void 0 : _a.trim()) ? this.name.charAt(0).toUpperCase() : '';
@@ -1,21 +1,21 @@
1
1
  export declare class EzAvatar {
2
2
  private readonly DECIMAL_PARSE_BASE;
3
3
  private readonly FONT_SIZE_BASE_CALC;
4
- /** Nome do usuário para exibição da inicial */
4
+ /** Nome do usuário para exibição da inicial. */
5
5
  name?: string;
6
- /** URL da imagem do Avatar */
6
+ /** URL da imagem do Avatar. */
7
7
  imageSrc?: string;
8
8
  /**
9
- * Tamanho do avatar (valores permitidos):
9
+ * Tamanho do Avatar (valores permitidos):
10
10
  * '320x320', '300x300', '280x280', '260x260', '240x240', '220x220', '200x200',
11
- * '180x180', '160x160', '140x140', '120x120', '100x100', '80x80', '60x60'
11
+ * '180x180', '160x160', '140x140', '120x120', '100x100', '80x80', '60x60'.
12
12
  */
13
13
  size: '320' | '300' | '280' | '260' | '240' | '220' | '200' | '180' | '160' | '140' | '120' | '100' | '80' | '60';
14
- /** Define o formato do Avatar: 'circle' ou 'square' */
14
+ /** Define o formato do Avatar: 'circle' ou 'square'. */
15
15
  shape: 'circle' | 'square';
16
16
  /** Se true, o Avatar será interativo. Caso contrário, será estático. */
17
17
  isInteractive: boolean;
18
- /** Obtém a inicial do nome do usuário */
18
+ /** Obtém a inicial do nome do usuário. */
19
19
  private getInitial;
20
20
  private calcFontSize;
21
21
  private getClass;
@@ -139,7 +139,7 @@ export namespace Components {
139
139
  }
140
140
  interface EzAvatar {
141
141
  /**
142
- * URL da imagem do Avatar
142
+ * URL da imagem do Avatar.
143
143
  */
144
144
  "imageSrc"?: string;
145
145
  /**
@@ -147,15 +147,15 @@ export namespace Components {
147
147
  */
148
148
  "isInteractive": boolean;
149
149
  /**
150
- * Nome do usuário para exibição da inicial
150
+ * Nome do usuário para exibição da inicial.
151
151
  */
152
152
  "name"?: string;
153
153
  /**
154
- * Define o formato do Avatar: 'circle' ou 'square'
154
+ * Define o formato do Avatar: 'circle' ou 'square'.
155
155
  */
156
156
  "shape": 'circle' | 'square';
157
157
  /**
158
- * Tamanho do avatar (valores permitidos): '320x320', '300x300', '280x280', '260x260', '240x240', '220x220', '200x200', '180x180', '160x160', '140x140', '120x120', '100x100', '80x80', '60x60'
158
+ * Tamanho do Avatar (valores permitidos): '320x320', '300x300', '280x280', '260x260', '240x240', '220x220', '200x200', '180x180', '160x160', '140x140', '120x120', '100x100', '80x80', '60x60'.
159
159
  */
160
160
  "size": '320' | '300' | '280' | '260' | '240' | '220' | '200' | '180' | '160' | '140' | '120' | '100' | '80' | '60';
161
161
  }
@@ -3224,7 +3224,7 @@ declare namespace LocalJSX {
3224
3224
  }
3225
3225
  interface EzAvatar {
3226
3226
  /**
3227
- * URL da imagem do Avatar
3227
+ * URL da imagem do Avatar.
3228
3228
  */
3229
3229
  "imageSrc"?: string;
3230
3230
  /**
@@ -3232,15 +3232,15 @@ declare namespace LocalJSX {
3232
3232
  */
3233
3233
  "isInteractive"?: boolean;
3234
3234
  /**
3235
- * Nome do usuário para exibição da inicial
3235
+ * Nome do usuário para exibição da inicial.
3236
3236
  */
3237
3237
  "name"?: string;
3238
3238
  /**
3239
- * Define o formato do Avatar: 'circle' ou 'square'
3239
+ * Define o formato do Avatar: 'circle' ou 'square'.
3240
3240
  */
3241
3241
  "shape"?: 'circle' | 'square';
3242
3242
  /**
3243
- * Tamanho do avatar (valores permitidos): '320x320', '300x300', '280x280', '260x260', '240x240', '220x220', '200x200', '180x180', '160x160', '140x140', '120x120', '100x100', '80x80', '60x60'
3243
+ * Tamanho do Avatar (valores permitidos): '320x320', '300x300', '280x280', '260x260', '240x240', '220x220', '200x200', '180x180', '160x160', '140x140', '120x120', '100x100', '80x80', '60x60'.
3244
3244
  */
3245
3245
  "size"?: '320' | '300' | '280' | '260' | '240' | '220' | '200' | '180' | '160' | '140' | '120' | '100' | '80' | '60';
3246
3246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui",
3
- "version": "0.0.0-feat-dev-KB-89808.1",
3
+ "version": "0.0.0-feat-dev-KB-89808.2",
4
4
  "description": "Biblioteca de componentes Sankhya.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/custom-elements/index.js",