qcobjectsnewapp 2.5.10-ts → 2.5.12-ts

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 (28) hide show
  1. package/package.json +2 -2
  2. package/public/css/components/card.css +1 -1
  3. package/public/css/components/card.css.map +2 -2
  4. package/public/js/config.js +5 -5
  5. package/public/js/config.js.map +3 -3
  6. package/public/js/customWidgets.js +5 -5
  7. package/public/js/customWidgets.js.map +3 -3
  8. package/public/js/init.js +6 -6
  9. package/public/js/init.js.map +3 -3
  10. package/public/js/packages/com.qcobjects.installer.js +13 -13
  11. package/public/js/packages/com.qcobjects.installer.js.map +3 -3
  12. package/public/js/packages/com.qcobjects.services.github.js +5 -5
  13. package/public/js/packages/com.qcobjects.services.github.js.map +3 -3
  14. package/public/js/packages/com.qcobjects.services.newapp.js +5 -5
  15. package/public/js/packages/com.qcobjects.services.newapp.js.map +3 -3
  16. package/public/js/packages/org.quickcorp.custom.components.js +5 -5
  17. package/public/js/packages/org.quickcorp.custom.components.js.map +3 -3
  18. package/public/js/packages/org.quickcorp.custom.controllers.js +13 -13
  19. package/public/js/packages/org.quickcorp.custom.controllers.js.map +3 -3
  20. package/public/js/packages/org.quickcorp.custom.effects.js +5 -5
  21. package/public/js/packages/org.quickcorp.custom.effects.js.map +3 -3
  22. package/public/js/packages/org.quickcorp.custom.js +8 -8
  23. package/public/js/packages/org.quickcorp.custom.js.map +3 -3
  24. package/public/js/packages/org.quickcorp.custom.models.js +5 -5
  25. package/public/js/packages/org.quickcorp.custom.models.js.map +3 -3
  26. package/public/js/packages/org.quickcorp.custom.views.js +5 -5
  27. package/public/js/packages/org.quickcorp.custom.views.js.map +3 -3
  28. package/src/css/components/card.css +42 -15
@@ -14,7 +14,15 @@
14
14
  * Everyone is permitted to copy and distribute verbatim copies of this
15
15
  * license document, but changing it is not allowed.
16
16
  */
17
- .card {
17
+
18
+ /* Selectors are scoped under ":root, :host" so this stylesheet applies whether
19
+ the card is rendered in the document or inside a shadow root:
20
+ :root matches when the sheet is loaded at document level
21
+ :host matches when the sheet is loaded inside a shadow root
22
+ Both appear in the same rule, so neither context discards the other. */
23
+
24
+ :root .card,
25
+ :host .card {
18
26
  box-shadow: rgba(228, 228, 234, 0.22) 0 22px 25px 0, rgba(228, 228, 234, 0.5) 0 9px 23px 0;
19
27
  transition: all 0.3s ease-in-out;
20
28
  width: 100%;
@@ -23,40 +31,54 @@
23
31
  border-radius: 30px;
24
32
  }
25
33
 
26
- .title{
34
+ :root .title,
35
+ :host .title {
27
36
  padding-top: 5px;
28
37
  padding-bottom: 15px;
29
38
  }
30
- .description {
39
+
40
+ :root .description,
41
+ :host .description {
31
42
  padding-top: 15px;
32
43
  padding-bottom: 10px;
33
44
  }
34
45
 
35
- .img, .title, .description {
46
+ :root .img,
47
+ :root .title,
48
+ :root .description,
49
+ :host .img,
50
+ :host .title,
51
+ :host .description {
36
52
  overflow: hidden;
37
53
  }
38
54
 
39
- .card:hover {
55
+ :root .card:hover,
56
+ :host .card:hover {
40
57
  box-shadow: rgba(228, 228, 234, 0.56) 0 22px 32px 0, rgba(228, 228, 234, 0.64) 0 9px 28px 0;
41
58
  }
42
59
 
43
- .card .container {
60
+ :root .card .container,
61
+ :host .card .container {
44
62
  padding: 2px 16px;
45
63
  min-height: 100%;
46
64
  }
47
65
 
48
- .card img, div > div.img {
66
+ :root .card img,
67
+ :root div > div.img,
68
+ :host .card img,
69
+ :host div > div.img {
49
70
  border-radius: 30px 30px 0 0;
50
71
  min-height: 100px;
51
72
  }
52
73
 
53
- #slot-logo::slotted(img) {
74
+ :root #slot-logo::slotted(img),
75
+ :host #slot-logo::slotted(img) {
54
76
  border-radius: 30px 30px 0 0;
55
77
  min-height: 100px;
56
78
  }
57
79
 
58
-
59
- .card button {
80
+ :root .card button,
81
+ :host .card button {
60
82
  border: none;
61
83
  outline: 0;
62
84
  padding: 12px;
@@ -68,11 +90,13 @@
68
90
  font-size: 18px;
69
91
  }
70
92
 
71
- .card button:hover {
93
+ :root .card button:hover,
94
+ :host .card button:hover {
72
95
  opacity: 0.7;
73
96
  }
74
97
 
75
- #slot-card-button::slotted(button) {
98
+ :root #slot-card-button::slotted(button),
99
+ :host #slot-card-button::slotted(button) {
76
100
  border: none;
77
101
  outline: 0;
78
102
  padding: 12px;
@@ -84,15 +108,18 @@
84
108
  font-size: 18px;
85
109
  }
86
110
 
87
- #slot-card-button::slotted(button):hover {
111
+ :root #slot-card-button::slotted(button):hover,
112
+ :host #slot-card-button::slotted(button):hover {
88
113
  opacity: 0.7;
89
114
  }
90
115
 
91
- .card {
116
+ :root .card,
117
+ :host .card {
92
118
  max-height: 1600px;
93
119
  }
94
120
 
95
- #slot-card-description::slotted(div) {
121
+ :root #slot-card-description::slotted(div),
122
+ :host #slot-card-description::slotted(div) {
96
123
  height: 50px;
97
124
  min-height: 50px;
98
125
  max-height: 50px;