@sankhyalabs/ezui-docs 6.1.0-dev.29 → 6.1.0-dev.30
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.
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
|
|
19
19
|
## Dependencies
|
|
20
20
|
|
|
21
|
+
### Used by
|
|
22
|
+
|
|
23
|
+
- [ez-tile-medium](../ez-tile-medium)
|
|
24
|
+
|
|
21
25
|
### Depends on
|
|
22
26
|
|
|
23
27
|
- [ez-icon](../ez-icon)
|
|
@@ -26,6 +30,7 @@
|
|
|
26
30
|
```mermaid
|
|
27
31
|
graph TD;
|
|
28
32
|
ez-avatar --> ez-icon
|
|
33
|
+
ez-tile-medium --> ez-avatar
|
|
29
34
|
style ez-avatar fill:#f9f,stroke:#333,stroke-width:4px
|
|
30
35
|
```
|
|
31
36
|
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
|
|
20
20
|
## Dependencies
|
|
21
21
|
|
|
22
|
+
### Used by
|
|
23
|
+
|
|
24
|
+
- [ez-tile-medium](../ez-tile-medium)
|
|
25
|
+
|
|
22
26
|
### Depends on
|
|
23
27
|
|
|
24
28
|
- [ez-icon](../ez-icon)
|
|
@@ -27,6 +31,7 @@
|
|
|
27
31
|
```mermaid
|
|
28
32
|
graph TD;
|
|
29
33
|
ez-badge --> ez-icon
|
|
34
|
+
ez-tile-medium --> ez-badge
|
|
30
35
|
style ez-badge fill:#f9f,stroke:#333,stroke-width:4px
|
|
31
36
|
```
|
|
32
37
|
|
|
@@ -54,6 +54,7 @@ Type: `Promise<void>`
|
|
|
54
54
|
- [ez-sidebar-navigator](../ez-sidebar-navigator)
|
|
55
55
|
- [ez-split-item](../ez-split-panel/structure/item)
|
|
56
56
|
- [ez-text-edit](../ez-text-edit)
|
|
57
|
+
- [ez-tile-medium](../ez-tile-medium)
|
|
57
58
|
- [filter-column](../ez-grid/subcomponents)
|
|
58
59
|
|
|
59
60
|
### Depends on
|
|
@@ -74,6 +75,7 @@ graph TD;
|
|
|
74
75
|
ez-sidebar-navigator --> ez-button
|
|
75
76
|
ez-split-item --> ez-button
|
|
76
77
|
ez-text-edit --> ez-button
|
|
78
|
+
ez-tile-medium --> ez-button
|
|
77
79
|
filter-column --> ez-button
|
|
78
80
|
style ez-button fill:#f9f,stroke:#333,stroke-width:4px
|
|
79
81
|
```
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
- [ez-text-area](../ez-text-area)
|
|
46
46
|
- [ez-text-input](../ez-text-input)
|
|
47
47
|
- [ez-tile](../ez-tile)
|
|
48
|
+
- [ez-tile-medium](../ez-tile-medium)
|
|
48
49
|
- [ez-time-input](../ez-time-input)
|
|
49
50
|
- [ez-tree](../ez-tree)
|
|
50
51
|
|
|
@@ -77,6 +78,7 @@ graph TD;
|
|
|
77
78
|
ez-text-area --> ez-icon
|
|
78
79
|
ez-text-input --> ez-icon
|
|
79
80
|
ez-tile --> ez-icon
|
|
81
|
+
ez-tile-medium --> ez-icon
|
|
80
82
|
ez-time-input --> ez-icon
|
|
81
83
|
ez-tree --> ez-icon
|
|
82
84
|
style ez-icon fill:#f9f,stroke:#333,stroke-width:4px
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# ez-tile-medium
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!-- Auto Generated Below -->
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ------------------------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
|
12
|
+
| `avatarProps` | -- | Propriedade utilizada para configurar o avatar, se definida substitui o ícone por um ez-avatar | `{ name?: string; imageSrc?: string; shape?: "circle" \| "square"; }` | `undefined` |
|
|
13
|
+
| `buttonProps` | -- | Define as props que serão passadas para o botão, caso o objeto seja passado, o botão será renderizado. | `{ label: string; enabled?: boolean; mode?: "link" \| "regular" \| "icon" \| "label-icon"; iconName?: string; size?: "small" \| "medium" \| "large" \| "x-small"; onClick: () => void; colors?: { background?: string; backgroundHover?: string; backgroundActive?: string; text?: string; textHover?: string; textActive?: string; }; }` | `undefined` |
|
|
14
|
+
| `color` | `color` | Define a cor tema do componente. | `"default" \| "gray" \| "green" \| "red" \| "yellow"` | `"default"` |
|
|
15
|
+
| `descriptionMaximumLines` | `description-maximum-lines` | Define a quantidade máxima de linhas de texto a serem apresentadas na descrição. Quando a propriedade não é passada, limita a 3 linhas. | `number` | `undefined` |
|
|
16
|
+
| `descriptionText` | `description-text` | Texto a ser apresentado como descrição do componente | `string` | `undefined` |
|
|
17
|
+
| `height` | `height` | Define a altura do componente, sobrescrevendo o padrão de 257px. | `string` | `undefined` |
|
|
18
|
+
| `iconColor` | `icon-color` | Define uma cor customizada para o ícone, dentro da paleta de cores do Design System. Exemplo: "--color--yellow-600" | `string` | `undefined` |
|
|
19
|
+
| `iconName` | `icon-name` | Define o ícone a ser usado da biblioteca de ícones: [ez-icons](https://gilded-nasturtium-6b64dd.netlify.app/docs/components/layout-doc/icons/) | `string` | `undefined` |
|
|
20
|
+
| `smallTitleMaximumLines` | `small-title-maximum-lines` | Define a quantidade máxima de linhas de texto a serem apresentadas no título pequeno. Quando a propriedade não é passada, limita a 1 linha. | `number` | `undefined` |
|
|
21
|
+
| `smallTitleText` | `small-title-text` | Texto a ser apresentado como um título pequeno do componente. | `string` | `undefined` |
|
|
22
|
+
| `tags` | -- | Define as props que serão passadas para as tags, caso um objeto seja passado, a(s) tag(s) será renderizada(s), se limitando a 3 tags. | `{ label: string; color?: string; }[]` | `undefined` |
|
|
23
|
+
| `titleMaximumLines` | `title-maximum-lines` | Define a quantidade máxima de linhas de texto a serem apresentadas no título. Quando a propriedade não é passada, limita a 1 linha. | `number` | `undefined` |
|
|
24
|
+
| `titleText` | `title-text` | Texto a ser apresentado como título do componente. | `string` | `undefined` |
|
|
25
|
+
| `width` | `width` | Define a largura do componente, sobrescrevendo o padrão de 446px. | `string` | `undefined` |
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## Methods
|
|
29
|
+
|
|
30
|
+
### `setButtonBlur() => Promise<void>`
|
|
31
|
+
|
|
32
|
+
Remove o foco do botão.
|
|
33
|
+
|
|
34
|
+
#### Returns
|
|
35
|
+
|
|
36
|
+
Type: `Promise<void>`
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### `setButtonFocus() => Promise<void>`
|
|
41
|
+
|
|
42
|
+
Aplica o foco no botão.
|
|
43
|
+
|
|
44
|
+
#### Returns
|
|
45
|
+
|
|
46
|
+
Type: `Promise<void>`
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
## Dependencies
|
|
52
|
+
|
|
53
|
+
### Depends on
|
|
54
|
+
|
|
55
|
+
- [ez-badge](../ez-badge)
|
|
56
|
+
- [ez-avatar](../ez-avatar)
|
|
57
|
+
- [ez-icon](../ez-icon)
|
|
58
|
+
- [ez-button](../ez-button)
|
|
59
|
+
|
|
60
|
+
### Graph
|
|
61
|
+
```mermaid
|
|
62
|
+
graph TD;
|
|
63
|
+
ez-tile-medium --> ez-badge
|
|
64
|
+
ez-tile-medium --> ez-avatar
|
|
65
|
+
ez-tile-medium --> ez-icon
|
|
66
|
+
ez-tile-medium --> ez-button
|
|
67
|
+
ez-badge --> ez-icon
|
|
68
|
+
ez-avatar --> ez-icon
|
|
69
|
+
ez-button --> ez-icon
|
|
70
|
+
style ez-tile-medium fill:#f9f,stroke:#333,stroke-width:4px
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
----------------------------------------------
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## CSS Variables
|
|
79
|
+
| Variable | Description |
|
|
80
|
+
|-|-|
|
|
81
|
+
| --ez-tile-medium--width | Define a largura do componente. |
|
|
82
|
+
| --ez-tile-medium--height | Define a altura do componente. |
|
|
83
|
+
| --ez-tile-medium--padding | Define a margem do componente. |
|
|
84
|
+
| --ez-tile-medium--border-radius | Define o raio da borda do componente. |
|
|
85
|
+
| --ez-tile-medium--background-color | Define a cor do fundo. |
|
|
86
|
+
| --ez-tile-medium--color | Define a cor do title. |
|
|
87
|
+
| --ez-tile-medium--icon-color | Define a cor do ícone. |
|
|
88
|
+
| --ez-tile-medium--font-family | Define a família da fonte do title. |
|
|
89
|
+
| --ez-tile-medium--header-gap | Define o gap entre a seção de imagem e tags. |
|
|
90
|
+
| --ez-tile-medium--icon-line-height | Define a altura da linha do ícone. |
|
|
91
|
+
| --ez-tile-medium--tag-group-gap | Define o gap entre uma tag e outra. |
|
|
92
|
+
| --ez-tile-medium\_button--background-color | Define a cor de fundo do botão. |
|
|
93
|
+
| --ez-tile-medium\_button--color | Define a cor do label do botão. |
|
|
94
|
+
| --ez-tile-medium\_button--hover--background-color | Define a cor de fundo quando o cursor está sobre o botão. |
|
|
95
|
+
| --ez-tile-medium\_button--hover-color | Define a cor do texto e do ícone quando o cursor está sobre o botão. |
|
|
96
|
+
| --ez-tile-medium\_button--active--background-color | Define a cor do fundo ao ativar o botão. |
|
|
97
|
+
| --ez-tile-medium\_button--active-color | Define a cor do texto e do ícone ao ativar o botão. |
|