@kubex/zinc 1.0.5 → 1.0.7

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 (29) hide show
  1. package/dist/custom-elements.json +302 -16
  2. package/dist/vscode.html-custom-data.json +13 -2
  3. package/dist/web-types.json +43 -5
  4. package/dist/zn.d.ts +81 -40
  5. package/dist/zn.min.js +333 -270
  6. package/package.json +1 -1
  7. package/src/components/bulk-actions/bulk-actions.component.ts +152 -84
  8. package/src/components/bulk-actions/bulk-actions.scss +2 -0
  9. package/src/components/chart/chart.component.ts +14 -12
  10. package/src/components/cols/cols.component.ts +7 -3
  11. package/src/components/cols/cols.scss +22 -14
  12. package/src/components/content-block/content-block.component.ts +164 -30
  13. package/src/components/data-select/data-select.component.ts +51 -10
  14. package/src/components/data-table/data-table.component.ts +58 -38
  15. package/src/components/data-table/data-table.scss +74 -7
  16. package/src/components/data-table-filter/data-table-filter.component.ts +1 -1
  17. package/src/components/editor/modules/attachment/attachment.ts +53 -41
  18. package/src/components/editor/modules/toolbar/toolbar.ts +42 -0
  19. package/src/components/empty-state/empty-state.component.ts +16 -8
  20. package/src/components/icon/icon.component.ts +2 -0
  21. package/src/components/icon/icon.scss +13 -0
  22. package/src/components/inline-edit/inline-edit.component.ts +24 -3
  23. package/src/components/inline-edit/inline-edit.scss +11 -1
  24. package/src/components/item/item.component.ts +11 -3
  25. package/src/components/item/item.scss +14 -19
  26. package/src/components/panel/panel.component.ts +2 -0
  27. package/src/components/panel/panel.scss +6 -0
  28. package/src/components/settings-container/settings-container.scss +11 -4
  29. package/src/components/style/style.component.ts +7 -1
@@ -5,6 +5,7 @@
5
5
  }
6
6
 
7
7
  .container {
8
+ padding-bottom: 30px;
8
9
  }
9
10
 
10
11
  .container--scroll {
@@ -19,7 +20,6 @@
19
20
  width: 100%;
20
21
  overflow: auto;
21
22
  box-sizing: border-box;
22
- padding-bottom: 60px;
23
23
  }
24
24
 
25
25
  .setting-container__dropdown {
@@ -32,6 +32,9 @@
32
32
  background: rgba(var(--zn-panel, 0.8));
33
33
  box-shadow: var(--zn-shadow-small);
34
34
  transition: bottom 0.2s ease;
35
+ opacity: 0.7;
36
+ transition-duration: 0.3s;
37
+ transition-property: opacity;
35
38
 
36
39
  &:hover {
37
40
  background: rgba(var(--zn-panel, 1));
@@ -63,13 +66,17 @@
63
66
  }
64
67
  }
65
68
 
69
+ .setting-container__dropdown[open], .setting-container__dropdown:hover {
70
+ opacity: 1;
71
+ }
72
+
66
73
  .setting-container__dropdown[open] .setting-container__toggle-button::part(icon), .setting-container__toggle-button:hover::part(icon) {
67
74
  color: rgb(var(--zn-primary));
68
75
  cursor: pointer;
69
- transition-duration: 0.8s;
76
+ transition-duration: 0.9s;
70
77
  transition-property: rotate, color;
71
- rotate: 480deg;
72
- transition-timing-function: ease-out;
78
+ rotate: 380deg;
79
+ transition-timing-function: ease-in-out;
73
80
  }
74
81
 
75
82
  zn-button {
@@ -20,6 +20,7 @@ export default class ZnStyle extends ZincElement {
20
20
  @property({type: Boolean}) primary = false;
21
21
  @property({type: Boolean}) accent = false;
22
22
  @property({type: Boolean}) center = false;
23
+ @property() font = '';
23
24
  @property() width = '';
24
25
  @property() height = '';
25
26
  @property() pad = '';
@@ -57,6 +58,12 @@ export default class ZnStyle extends ZincElement {
57
58
  this.classList.toggle('flex-jc', true);
58
59
  }
59
60
 
61
+ if (this.font) {
62
+ if (this.font === 'mono') {
63
+ this.classList.toggle('zn-mono', true);
64
+ }
65
+ }
66
+
60
67
  if (this.width === "f") {
61
68
  this.classList.toggle('w-full', true);
62
69
  }
@@ -158,7 +165,6 @@ export default class ZnStyle extends ZincElement {
158
165
  }
159
166
  }
160
167
 
161
-
162
168
  this.style.display = display;
163
169
  }
164
170