q2-tecton-elements 1.18.0 → 1.19.0

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 (255) hide show
  1. package/dist/cjs/click-elsewhere.cjs.entry.js +1 -1
  2. package/dist/cjs/{icons-e2bc9ee9.js → icons-afbdf88a.js} +1 -1
  3. package/dist/cjs/{index-eccd5617.js → index-3518c78c.js} +1 -1
  4. package/dist/cjs/{index-0128397d.js → index-734296a7.js} +476 -271
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/q2-avatar.cjs.entry.js +9 -6
  7. package/dist/cjs/q2-badge_2.cjs.entry.js +46 -7
  8. package/dist/cjs/q2-btn_2.cjs.entry.js +30 -5
  9. package/dist/cjs/q2-calendar.cjs.entry.js +89 -62
  10. package/dist/cjs/q2-card.cjs.entry.js +17 -6
  11. package/dist/cjs/q2-carousel-pane.cjs.entry.js +7 -3
  12. package/dist/cjs/q2-carousel.cjs.entry.js +196 -285
  13. package/dist/cjs/q2-chart-donut.cjs.entry.js +583 -504
  14. package/dist/cjs/q2-checkbox-group.cjs.entry.js +9 -7
  15. package/dist/cjs/q2-checkbox.cjs.entry.js +17 -4
  16. package/dist/cjs/q2-dropdown-item.cjs.entry.js +9 -3
  17. package/dist/cjs/q2-dropdown.cjs.entry.js +16 -5
  18. package/dist/cjs/q2-editable-field.cjs.entry.js +16 -6
  19. package/dist/cjs/q2-icon.cjs.entry.js +6 -4
  20. package/dist/cjs/q2-loading-element.cjs.entry.js +6 -2
  21. package/dist/cjs/q2-loc.cjs.entry.js +5 -3
  22. package/dist/cjs/q2-message.cjs.entry.js +4 -3
  23. package/dist/cjs/q2-month-picker.cjs.entry.js +9 -7
  24. package/dist/cjs/q2-optgroup.cjs.entry.js +6 -5
  25. package/dist/cjs/q2-option-list_2.cjs.entry.js +21 -7
  26. package/dist/cjs/q2-option.cjs.entry.js +12 -2
  27. package/dist/cjs/q2-pagination.cjs.entry.js +11 -3
  28. package/dist/cjs/q2-pill.cjs.entry.js +25 -7
  29. package/dist/cjs/q2-radio-group.cjs.entry.js +13 -6
  30. package/dist/cjs/q2-radio.cjs.entry.js +13 -8
  31. package/dist/cjs/q2-section.cjs.entry.js +9 -4
  32. package/dist/cjs/q2-select.cjs.entry.js +26 -17
  33. package/dist/cjs/q2-stepper-pane.cjs.entry.js +8 -3
  34. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +5 -4
  35. package/dist/cjs/q2-stepper.cjs.entry.js +9 -7
  36. package/dist/cjs/q2-tab-container.cjs.entry.js +14 -9
  37. package/dist/cjs/q2-tab-pane.cjs.entry.js +10 -2
  38. package/dist/cjs/q2-tag.cjs.entry.js +20 -7
  39. package/dist/cjs/q2-tecton-elements.cjs.js +3 -3
  40. package/dist/cjs/q2-textarea.cjs.entry.js +20 -4
  41. package/dist/cjs/q2-tooltip.cjs.entry.js +9 -3
  42. package/dist/cjs/{shapes-c1a60d46.js → shapes-aad2b98f.js} +1 -1
  43. package/dist/cjs/tecton-tab-pane.cjs.entry.js +17 -2
  44. package/dist/collection/collection-manifest.json +2 -2
  45. package/dist/collection/components/click-elsewhere/index.js +18 -17
  46. package/dist/collection/components/q2-avatar/index.js +100 -92
  47. package/dist/collection/components/q2-avatar/styles.css +1 -1
  48. package/dist/collection/components/q2-badge/index.js +119 -111
  49. package/dist/collection/components/q2-badge/styles.css +1 -1
  50. package/dist/collection/components/q2-btn/index.js +349 -322
  51. package/dist/collection/components/q2-btn/styles.css +7 -7
  52. package/dist/collection/components/q2-calendar/index.js +565 -551
  53. package/dist/collection/components/q2-calendar/q2-month-picker.css +1 -1
  54. package/dist/collection/components/q2-calendar/q2-month-picker.js +112 -116
  55. package/dist/collection/components/q2-calendar/styles.css +1 -1
  56. package/dist/collection/components/q2-card/index.js +262 -244
  57. package/dist/collection/components/q2-card/styles.css +9 -2
  58. package/dist/collection/components/q2-carousel/index.js +249 -253
  59. package/dist/collection/components/q2-carousel/styles.css +1 -1
  60. package/dist/collection/components/q2-carousel-pane/index.js +108 -96
  61. package/dist/collection/components/q2-carousel-pane/styles.css +5 -4
  62. package/dist/collection/components/q2-chart-donut/index.js +350 -334
  63. package/dist/collection/components/q2-chart-donut/styles.css +3 -3
  64. package/dist/collection/components/q2-checkbox/index.js +296 -287
  65. package/dist/collection/components/q2-checkbox/styles.css +2 -2
  66. package/dist/collection/components/q2-checkbox-group/index.js +156 -152
  67. package/dist/collection/components/q2-checkbox-group/styles.css +1 -1
  68. package/dist/collection/components/q2-dropdown/index.js +255 -240
  69. package/dist/collection/components/q2-dropdown/styles.css +1 -1
  70. package/dist/collection/components/q2-dropdown-item/index.js +134 -123
  71. package/dist/collection/components/q2-dropdown-item/styles.css +12 -10
  72. package/dist/collection/components/q2-editable-field/index.js +300 -293
  73. package/dist/collection/components/q2-editable-field/styles.css +1 -1
  74. package/dist/collection/components/q2-icon/icons.js +358 -2158
  75. package/dist/collection/components/q2-icon/index.js +59 -49
  76. package/dist/collection/components/q2-icon/styles.css +1 -1
  77. package/dist/collection/components/q2-input/index.js +729 -705
  78. package/dist/collection/components/q2-input/styles.css +2 -2
  79. package/dist/collection/components/q2-loading/index.js +143 -132
  80. package/dist/collection/components/q2-loading/skeleton/q2-loading-element/index.js +85 -74
  81. package/dist/collection/components/q2-loading/skeleton/shapes.js +23 -36
  82. package/dist/collection/components/q2-loading/styles.css +1 -1
  83. package/dist/collection/components/q2-loc/index.js +49 -39
  84. package/dist/collection/components/q2-loc/styles.css +1 -1
  85. package/dist/collection/components/q2-message/index.js +101 -92
  86. package/dist/collection/components/q2-message/styles.css +1 -1
  87. package/dist/collection/components/q2-optgroup/index.js +64 -56
  88. package/dist/collection/components/q2-optgroup/styles.css +1 -1
  89. package/dist/collection/components/q2-option/index.js +244 -229
  90. package/dist/collection/components/q2-option/styles.css +5 -1
  91. package/dist/collection/components/q2-option-list/index.js +291 -270
  92. package/dist/collection/components/q2-option-list/styles.css +1 -1
  93. package/dist/collection/components/q2-pagination/index.js +183 -179
  94. package/dist/collection/components/q2-pagination/styles.css +1 -1
  95. package/dist/collection/components/q2-pill/index.js +260 -208
  96. package/dist/collection/components/q2-pill/styles.css +1 -1
  97. package/dist/collection/components/q2-popover/index.js +169 -151
  98. package/dist/collection/components/q2-popover/styles.css +2 -2
  99. package/dist/collection/components/q2-radio/index.js +233 -224
  100. package/dist/collection/components/q2-radio/styles.css +3 -3
  101. package/dist/collection/components/q2-radio-group/index.js +252 -244
  102. package/dist/collection/components/q2-radio-group/styles.css +1 -1
  103. package/dist/collection/components/q2-section/index.js +134 -125
  104. package/dist/collection/components/q2-section/styles.css +12 -1
  105. package/dist/collection/components/q2-select/index.js +393 -381
  106. package/dist/collection/components/q2-select/styles.css +1 -1
  107. package/dist/collection/components/q2-stepper/index.js +124 -126
  108. package/dist/collection/components/q2-stepper/styles.css +2 -1
  109. package/dist/collection/components/q2-stepper-pane/index.js +165 -149
  110. package/dist/collection/components/q2-stepper-pane/styles.css +1 -1
  111. package/dist/collection/components/q2-stepper-vertical/index.js +86 -85
  112. package/dist/collection/components/q2-stepper-vertical/styles.css +1 -1
  113. package/dist/collection/components/q2-tab-container/index.js +189 -184
  114. package/dist/collection/components/q2-tab-container/styles.css +1 -1
  115. package/dist/collection/components/q2-tab-pane/index.js +185 -166
  116. package/dist/collection/components/q2-tab-pane/styles.css +1 -1
  117. package/dist/collection/components/q2-tag/index.js +168 -116
  118. package/dist/collection/components/q2-tag/styles.css +1 -1
  119. package/dist/collection/components/q2-textarea/index.js +344 -327
  120. package/dist/collection/components/q2-textarea/styles.css +2 -2
  121. package/dist/collection/components/q2-tooltip/index.js +147 -133
  122. package/dist/collection/components/q2-tooltip/styles.css +1 -1
  123. package/dist/collection/components/tecton-tab-pane/index.js +287 -266
  124. package/dist/collection/components/tecton-tab-pane/styles.css +1 -1
  125. package/dist/collection/utils/index.js +2 -6
  126. package/dist/esm/click-elsewhere.entry.js +1 -1
  127. package/dist/esm/{icons-ed54e307.js → icons-78da5dd2.js} +1 -1
  128. package/dist/esm/{index-eac6b89e.js → index-9c591682.js} +1 -1
  129. package/dist/esm/{index-6d5ed7cc.js → index-bb1c8c7f.js} +476 -271
  130. package/dist/esm/loader.js +3 -3
  131. package/dist/esm/polyfills/css-shim.js +1 -1
  132. package/dist/esm/q2-avatar.entry.js +9 -6
  133. package/dist/esm/q2-badge_2.entry.js +46 -7
  134. package/dist/esm/q2-btn_2.entry.js +30 -5
  135. package/dist/esm/q2-calendar.entry.js +89 -62
  136. package/dist/esm/q2-card.entry.js +17 -6
  137. package/dist/esm/q2-carousel-pane.entry.js +7 -3
  138. package/dist/esm/q2-carousel.entry.js +196 -285
  139. package/dist/esm/q2-chart-donut.entry.js +583 -504
  140. package/dist/esm/q2-checkbox-group.entry.js +9 -7
  141. package/dist/esm/q2-checkbox.entry.js +17 -4
  142. package/dist/esm/q2-dropdown-item.entry.js +9 -3
  143. package/dist/esm/q2-dropdown.entry.js +16 -5
  144. package/dist/esm/q2-editable-field.entry.js +16 -6
  145. package/dist/esm/q2-icon.entry.js +6 -4
  146. package/dist/esm/q2-loading-element.entry.js +6 -2
  147. package/dist/esm/q2-loc.entry.js +5 -3
  148. package/dist/esm/q2-message.entry.js +4 -3
  149. package/dist/esm/q2-month-picker.entry.js +9 -7
  150. package/dist/esm/q2-optgroup.entry.js +6 -5
  151. package/dist/esm/q2-option-list_2.entry.js +21 -7
  152. package/dist/esm/q2-option.entry.js +12 -2
  153. package/dist/esm/q2-pagination.entry.js +11 -3
  154. package/dist/esm/q2-pill.entry.js +25 -7
  155. package/dist/esm/q2-radio-group.entry.js +13 -6
  156. package/dist/esm/q2-radio.entry.js +13 -8
  157. package/dist/esm/q2-section.entry.js +9 -4
  158. package/dist/esm/q2-select.entry.js +26 -17
  159. package/dist/esm/q2-stepper-pane.entry.js +8 -3
  160. package/dist/esm/q2-stepper-vertical.entry.js +5 -4
  161. package/dist/esm/q2-stepper.entry.js +9 -7
  162. package/dist/esm/q2-tab-container.entry.js +14 -9
  163. package/dist/esm/q2-tab-pane.entry.js +10 -2
  164. package/dist/esm/q2-tag.entry.js +20 -7
  165. package/dist/esm/q2-tecton-elements.js +3 -3
  166. package/dist/esm/q2-textarea.entry.js +20 -4
  167. package/dist/esm/q2-tooltip.entry.js +9 -3
  168. package/dist/esm/{shapes-c32e3ba2.js → shapes-62b8a431.js} +1 -1
  169. package/dist/esm/tecton-tab-pane.entry.js +17 -2
  170. package/dist/loader/package.json +1 -0
  171. package/dist/q2-tecton-elements/p-0ba564b1.entry.js +1 -0
  172. package/dist/q2-tecton-elements/p-0fad9c5a.entry.js +1 -0
  173. package/dist/q2-tecton-elements/{p-73154834.js → p-13a639cf.js} +1 -1
  174. package/dist/q2-tecton-elements/p-16c11d74.entry.js +1 -0
  175. package/dist/q2-tecton-elements/p-17e0cbf1.entry.js +1 -0
  176. package/dist/q2-tecton-elements/p-18e095af.entry.js +1 -0
  177. package/dist/q2-tecton-elements/p-2c9b1308.entry.js +1 -0
  178. package/dist/q2-tecton-elements/p-2e832e42.entry.js +1 -0
  179. package/dist/q2-tecton-elements/p-315fdb74.entry.js +1 -0
  180. package/dist/q2-tecton-elements/{p-c608e3c9.entry.js → p-444415b5.entry.js} +1 -1
  181. package/dist/q2-tecton-elements/p-4d700630.entry.js +1 -0
  182. package/dist/q2-tecton-elements/p-4f0f45e7.entry.js +1 -0
  183. package/dist/q2-tecton-elements/p-54e792bd.entry.js +1 -0
  184. package/dist/q2-tecton-elements/{p-80014da0.js → p-5e374fbd.js} +1 -1
  185. package/dist/q2-tecton-elements/p-5f064e1e.entry.js +39 -0
  186. package/dist/q2-tecton-elements/p-692f2d09.entry.js +1 -0
  187. package/dist/q2-tecton-elements/p-6e6b5b80.entry.js +1 -0
  188. package/dist/q2-tecton-elements/p-7e8f43d1.entry.js +1 -0
  189. package/dist/q2-tecton-elements/p-8e380edf.entry.js +1 -0
  190. package/dist/q2-tecton-elements/p-926a3e80.js +2 -0
  191. package/dist/q2-tecton-elements/{p-93c00587.js → p-92e1faf8.js} +1 -1
  192. package/dist/q2-tecton-elements/p-9772b15f.entry.js +1 -0
  193. package/dist/q2-tecton-elements/p-97aa8423.entry.js +1 -0
  194. package/dist/q2-tecton-elements/{p-17cffd7d.entry.js → p-a987402e.entry.js} +1 -1
  195. package/dist/q2-tecton-elements/p-aaf42539.entry.js +1 -0
  196. package/dist/q2-tecton-elements/p-ac674c20.entry.js +1 -0
  197. package/dist/q2-tecton-elements/p-b8b00394.entry.js +1 -0
  198. package/dist/q2-tecton-elements/p-c444a60b.entry.js +1 -0
  199. package/dist/q2-tecton-elements/p-c6c489fe.entry.js +1 -0
  200. package/dist/q2-tecton-elements/p-ce015552.entry.js +1 -0
  201. package/dist/q2-tecton-elements/p-d464fccc.entry.js +1 -0
  202. package/dist/q2-tecton-elements/p-de164483.entry.js +1 -0
  203. package/dist/q2-tecton-elements/p-df91e954.entry.js +1 -0
  204. package/dist/q2-tecton-elements/p-e6d26f39.entry.js +1 -0
  205. package/dist/q2-tecton-elements/p-e8e113c2.entry.js +1 -0
  206. package/dist/q2-tecton-elements/p-f1d06917.entry.js +1 -0
  207. package/dist/q2-tecton-elements/p-f800fd1e.entry.js +1 -0
  208. package/dist/q2-tecton-elements/p-fb37e67e.entry.js +1 -0
  209. package/dist/q2-tecton-elements/p-fc134a5d.entry.js +1 -0
  210. package/dist/q2-tecton-elements/p-fe88e979.entry.js +1 -0
  211. package/dist/q2-tecton-elements/p-ffb48ccc.entry.js +1 -0
  212. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  213. package/dist/test/helpers.js +6 -0
  214. package/dist/types/components/q2-pill/index.d.ts +3 -0
  215. package/dist/types/components/q2-tag/index.d.ts +3 -0
  216. package/dist/types/components.d.ts +154 -38
  217. package/dist/types/stencil-public-runtime.d.ts +20 -4
  218. package/dist/types/workspace/workspace/Tecton_tecton-production_master/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +2 -0
  219. package/package.json +6 -6
  220. package/dist/q2-tecton-elements/p-02c1b7fd.entry.js +0 -1
  221. package/dist/q2-tecton-elements/p-04c743f2.entry.js +0 -1
  222. package/dist/q2-tecton-elements/p-07dc509c.entry.js +0 -1
  223. package/dist/q2-tecton-elements/p-12caa479.entry.js +0 -1
  224. package/dist/q2-tecton-elements/p-160dd1c2.entry.js +0 -1
  225. package/dist/q2-tecton-elements/p-1a3de749.entry.js +0 -1
  226. package/dist/q2-tecton-elements/p-2061c3fd.entry.js +0 -1
  227. package/dist/q2-tecton-elements/p-2a217895.entry.js +0 -1
  228. package/dist/q2-tecton-elements/p-2b94ae62.entry.js +0 -1
  229. package/dist/q2-tecton-elements/p-2e54f9a0.entry.js +0 -1
  230. package/dist/q2-tecton-elements/p-375569ff.entry.js +0 -1
  231. package/dist/q2-tecton-elements/p-3766cc6c.entry.js +0 -1
  232. package/dist/q2-tecton-elements/p-3eda2714.entry.js +0 -1
  233. package/dist/q2-tecton-elements/p-421af42d.entry.js +0 -1
  234. package/dist/q2-tecton-elements/p-4c53713d.entry.js +0 -1
  235. package/dist/q2-tecton-elements/p-4fd405f5.entry.js +0 -1
  236. package/dist/q2-tecton-elements/p-509c8924.entry.js +0 -1
  237. package/dist/q2-tecton-elements/p-55dc3dc1.entry.js +0 -1
  238. package/dist/q2-tecton-elements/p-5fffb28a.entry.js +0 -1
  239. package/dist/q2-tecton-elements/p-612e9974.entry.js +0 -1
  240. package/dist/q2-tecton-elements/p-64ca8c59.entry.js +0 -1
  241. package/dist/q2-tecton-elements/p-796c2bb5.entry.js +0 -1
  242. package/dist/q2-tecton-elements/p-86887866.entry.js +0 -1
  243. package/dist/q2-tecton-elements/p-9204c34d.entry.js +0 -1
  244. package/dist/q2-tecton-elements/p-9725d55f.entry.js +0 -1
  245. package/dist/q2-tecton-elements/p-a0fa416d.entry.js +0 -39
  246. package/dist/q2-tecton-elements/p-bd83e8e2.entry.js +0 -1
  247. package/dist/q2-tecton-elements/p-be0f2539.entry.js +0 -1
  248. package/dist/q2-tecton-elements/p-c05b0b55.entry.js +0 -1
  249. package/dist/q2-tecton-elements/p-c5691700.js +0 -1
  250. package/dist/q2-tecton-elements/p-d826d7ad.entry.js +0 -1
  251. package/dist/q2-tecton-elements/p-d9e9340c.entry.js +0 -1
  252. package/dist/q2-tecton-elements/p-e5757895.entry.js +0 -1
  253. package/dist/q2-tecton-elements/p-e68c9ef0.entry.js +0 -1
  254. package/dist/q2-tecton-elements/p-eb33bda4.entry.js +0 -1
  255. package/dist/q2-tecton-elements/p-f319549d.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, Prop, Event, h, Fragment, Listen, Element, State, Watch, } from '@stencil/core';
1
+ import { h, Fragment, } from '@stencil/core';
2
2
  import { isTouchDevice, overrideFocus, isEventFromElement } from 'src/utils';
3
3
  const SUPPORTED_THEME_COLORS = [
4
4
  'primary',
@@ -20,9 +20,6 @@ const SUPPORTED_THEME_COLORS = [
20
20
  const STOPLIGHT_COLORS = ['info', 'success', 'warning', 'alert'];
21
21
  export class Q2Card {
22
22
  constructor() {
23
- this.isTouch = isTouchDevice();
24
- this.isAutoTouch = false;
25
- this.isAutoSmall = false;
26
23
  this.handleClick = (event) => {
27
24
  if (this.url)
28
25
  return true;
@@ -30,6 +27,20 @@ export class Q2Card {
30
27
  event.stopPropagation();
31
28
  this.click.emit();
32
29
  };
30
+ this.title = undefined;
31
+ this.description = undefined;
32
+ this.avatarName = undefined;
33
+ this.avatarInitials = undefined;
34
+ this.avatarIcon = undefined;
35
+ this.avatarSrc = undefined;
36
+ this.isSmall = undefined;
37
+ this.bar = undefined;
38
+ this.isStatic = undefined;
39
+ this.isTouch = isTouchDevice();
40
+ this.url = undefined;
41
+ this.target = undefined;
42
+ this.isAutoTouch = false;
43
+ this.isAutoSmall = false;
33
44
  }
34
45
  componentWillLoad() {
35
46
  this.checkBar();
@@ -90,14 +101,7 @@ export class Q2Card {
90
101
  }
91
102
  }
92
103
  generateContent() {
93
- return (h(Fragment, null,
94
- this.bar && (h("div", { class: "bar", "test-id": "bar", style: { '--comp-bar-color': this.barColor } })),
95
- this.generateAvatar(),
96
- h("div", { class: "content", "test-id": "contentContainer", ref: e => (this.containerElement = e) },
97
- this.title && h("h3", { "test-id": "title" }, this.title),
98
- this.description && h("p", { "test-id": "description" }, this.description),
99
- h("slot", null)),
100
- this.isTouch && !this.isStatic && (h("q2-icon", { "test-id": "touchIndicator", type: "chevron-right", class: "touch-indicator" }))));
104
+ return (h(Fragment, null, this.bar && (h("div", { class: "bar", "test-id": "bar", style: { '--comp-bar-color': this.barColor } })), this.generateAvatar(), h("div", { class: "content", "test-id": "contentContainer", ref: e => (this.containerElement = e) }, this.title && h("h3", { "test-id": "title" }, this.title), this.description && h("p", { "test-id": "description" }, this.description), h("slot", null)), this.isTouch && !this.isStatic && (h("q2-icon", { "test-id": "touchIndicator", type: "chevron-right", class: "touch-indicator" }))));
101
105
  }
102
106
  generateContainerClasses() {
103
107
  const { isSmall, isAutoSmall, avatarName, avatarInitials, avatarSrc, avatarIcon, isTouch, isAutoTouch, isStatic, } = this;
@@ -124,249 +128,263 @@ export class Q2Card {
124
128
  }
125
129
  static get is() { return "q2-card"; }
126
130
  static get encapsulation() { return "shadow"; }
127
- static get originalStyleUrls() { return {
128
- "$": ["styles.scss"]
129
- }; }
130
- static get styleUrls() { return {
131
- "$": ["styles.css"]
132
- }; }
133
- static get properties() { return {
134
- "title": {
135
- "type": "string",
136
- "mutable": false,
137
- "complexType": {
138
- "original": "string",
139
- "resolved": "string",
140
- "references": {}
141
- },
142
- "required": false,
143
- "optional": false,
144
- "docs": {
145
- "tags": [],
146
- "text": ""
147
- },
148
- "attribute": "title",
149
- "reflect": true
150
- },
151
- "description": {
152
- "type": "string",
153
- "mutable": false,
154
- "complexType": {
155
- "original": "string",
156
- "resolved": "string",
157
- "references": {}
158
- },
159
- "required": false,
160
- "optional": false,
161
- "docs": {
162
- "tags": [],
163
- "text": ""
164
- },
165
- "attribute": "description",
166
- "reflect": true
167
- },
168
- "avatarName": {
169
- "type": "string",
170
- "mutable": false,
171
- "complexType": {
172
- "original": "string",
173
- "resolved": "string",
174
- "references": {}
175
- },
176
- "required": false,
177
- "optional": false,
178
- "docs": {
179
- "tags": [],
180
- "text": ""
181
- },
182
- "attribute": "avatar-name",
183
- "reflect": true
184
- },
185
- "avatarInitials": {
186
- "type": "string",
187
- "mutable": false,
188
- "complexType": {
189
- "original": "string",
190
- "resolved": "string",
191
- "references": {}
192
- },
193
- "required": false,
194
- "optional": false,
195
- "docs": {
196
- "tags": [],
197
- "text": ""
198
- },
199
- "attribute": "avatar-initials",
200
- "reflect": true
201
- },
202
- "avatarIcon": {
203
- "type": "string",
204
- "mutable": false,
205
- "complexType": {
206
- "original": "string",
207
- "resolved": "string",
208
- "references": {}
209
- },
210
- "required": false,
211
- "optional": false,
212
- "docs": {
213
- "tags": [],
214
- "text": ""
215
- },
216
- "attribute": "avatar-icon",
217
- "reflect": true
218
- },
219
- "avatarSrc": {
220
- "type": "string",
221
- "mutable": false,
222
- "complexType": {
223
- "original": "string",
224
- "resolved": "string",
225
- "references": {}
226
- },
227
- "required": false,
228
- "optional": false,
229
- "docs": {
230
- "tags": [],
231
- "text": ""
232
- },
233
- "attribute": "avatar-src",
234
- "reflect": true
235
- },
236
- "isSmall": {
237
- "type": "boolean",
238
- "mutable": false,
239
- "complexType": {
240
- "original": "boolean",
241
- "resolved": "boolean",
242
- "references": {}
243
- },
244
- "required": false,
245
- "optional": false,
246
- "docs": {
247
- "tags": [],
248
- "text": ""
249
- },
250
- "attribute": "is-small",
251
- "reflect": true
252
- },
253
- "bar": {
254
- "type": "string",
255
- "mutable": false,
256
- "complexType": {
257
- "original": "string",
258
- "resolved": "string",
259
- "references": {}
131
+ static get originalStyleUrls() {
132
+ return {
133
+ "$": ["styles.scss"]
134
+ };
135
+ }
136
+ static get styleUrls() {
137
+ return {
138
+ "$": ["styles.css"]
139
+ };
140
+ }
141
+ static get properties() {
142
+ return {
143
+ "title": {
144
+ "type": "string",
145
+ "mutable": false,
146
+ "complexType": {
147
+ "original": "string",
148
+ "resolved": "string",
149
+ "references": {}
150
+ },
151
+ "required": false,
152
+ "optional": false,
153
+ "docs": {
154
+ "tags": [],
155
+ "text": ""
156
+ },
157
+ "attribute": "title",
158
+ "reflect": true
260
159
  },
261
- "required": false,
262
- "optional": false,
263
- "docs": {
264
- "tags": [],
265
- "text": ""
160
+ "description": {
161
+ "type": "string",
162
+ "mutable": false,
163
+ "complexType": {
164
+ "original": "string",
165
+ "resolved": "string",
166
+ "references": {}
167
+ },
168
+ "required": false,
169
+ "optional": false,
170
+ "docs": {
171
+ "tags": [],
172
+ "text": ""
173
+ },
174
+ "attribute": "description",
175
+ "reflect": true
266
176
  },
267
- "attribute": "bar",
268
- "reflect": true
269
- },
270
- "isStatic": {
271
- "type": "boolean",
272
- "mutable": false,
273
- "complexType": {
274
- "original": "boolean",
275
- "resolved": "boolean",
276
- "references": {}
177
+ "avatarName": {
178
+ "type": "string",
179
+ "mutable": false,
180
+ "complexType": {
181
+ "original": "string",
182
+ "resolved": "string",
183
+ "references": {}
184
+ },
185
+ "required": false,
186
+ "optional": false,
187
+ "docs": {
188
+ "tags": [],
189
+ "text": ""
190
+ },
191
+ "attribute": "avatar-name",
192
+ "reflect": true
277
193
  },
278
- "required": false,
279
- "optional": false,
280
- "docs": {
281
- "tags": [],
282
- "text": ""
194
+ "avatarInitials": {
195
+ "type": "string",
196
+ "mutable": false,
197
+ "complexType": {
198
+ "original": "string",
199
+ "resolved": "string",
200
+ "references": {}
201
+ },
202
+ "required": false,
203
+ "optional": false,
204
+ "docs": {
205
+ "tags": [],
206
+ "text": ""
207
+ },
208
+ "attribute": "avatar-initials",
209
+ "reflect": true
283
210
  },
284
- "attribute": "is-static",
285
- "reflect": true
286
- },
287
- "isTouch": {
288
- "type": "boolean",
289
- "mutable": false,
290
- "complexType": {
291
- "original": "boolean",
292
- "resolved": "boolean",
293
- "references": {}
211
+ "avatarIcon": {
212
+ "type": "string",
213
+ "mutable": false,
214
+ "complexType": {
215
+ "original": "string",
216
+ "resolved": "string",
217
+ "references": {}
218
+ },
219
+ "required": false,
220
+ "optional": false,
221
+ "docs": {
222
+ "tags": [],
223
+ "text": ""
224
+ },
225
+ "attribute": "avatar-icon",
226
+ "reflect": true
294
227
  },
295
- "required": false,
296
- "optional": false,
297
- "docs": {
298
- "tags": [],
299
- "text": ""
228
+ "avatarSrc": {
229
+ "type": "string",
230
+ "mutable": false,
231
+ "complexType": {
232
+ "original": "string",
233
+ "resolved": "string",
234
+ "references": {}
235
+ },
236
+ "required": false,
237
+ "optional": false,
238
+ "docs": {
239
+ "tags": [],
240
+ "text": ""
241
+ },
242
+ "attribute": "avatar-src",
243
+ "reflect": true
300
244
  },
301
- "attribute": "is-touch",
302
- "reflect": true,
303
- "defaultValue": "isTouchDevice()"
304
- },
305
- "url": {
306
- "type": "string",
307
- "mutable": false,
308
- "complexType": {
309
- "original": "string",
310
- "resolved": "string",
311
- "references": {}
245
+ "isSmall": {
246
+ "type": "boolean",
247
+ "mutable": false,
248
+ "complexType": {
249
+ "original": "boolean",
250
+ "resolved": "boolean",
251
+ "references": {}
252
+ },
253
+ "required": false,
254
+ "optional": false,
255
+ "docs": {
256
+ "tags": [],
257
+ "text": ""
258
+ },
259
+ "attribute": "is-small",
260
+ "reflect": true
312
261
  },
313
- "required": false,
314
- "optional": false,
315
- "docs": {
316
- "tags": [],
317
- "text": ""
262
+ "bar": {
263
+ "type": "string",
264
+ "mutable": false,
265
+ "complexType": {
266
+ "original": "string",
267
+ "resolved": "string",
268
+ "references": {}
269
+ },
270
+ "required": false,
271
+ "optional": false,
272
+ "docs": {
273
+ "tags": [],
274
+ "text": ""
275
+ },
276
+ "attribute": "bar",
277
+ "reflect": true
318
278
  },
319
- "attribute": "url",
320
- "reflect": true
321
- },
322
- "target": {
323
- "type": "string",
324
- "mutable": false,
325
- "complexType": {
326
- "original": "'_self' | '_blank' | '_parent' | '_top'",
327
- "resolved": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\"",
328
- "references": {}
279
+ "isStatic": {
280
+ "type": "boolean",
281
+ "mutable": false,
282
+ "complexType": {
283
+ "original": "boolean",
284
+ "resolved": "boolean",
285
+ "references": {}
286
+ },
287
+ "required": false,
288
+ "optional": false,
289
+ "docs": {
290
+ "tags": [],
291
+ "text": ""
292
+ },
293
+ "attribute": "is-static",
294
+ "reflect": true
329
295
  },
330
- "required": false,
331
- "optional": false,
332
- "docs": {
333
- "tags": [],
334
- "text": ""
296
+ "isTouch": {
297
+ "type": "boolean",
298
+ "mutable": false,
299
+ "complexType": {
300
+ "original": "boolean",
301
+ "resolved": "boolean",
302
+ "references": {}
303
+ },
304
+ "required": false,
305
+ "optional": false,
306
+ "docs": {
307
+ "tags": [],
308
+ "text": ""
309
+ },
310
+ "attribute": "is-touch",
311
+ "reflect": true,
312
+ "defaultValue": "isTouchDevice()"
335
313
  },
336
- "attribute": "target",
337
- "reflect": true
338
- }
339
- }; }
340
- static get states() { return {
341
- "isAutoTouch": {},
342
- "isAutoSmall": {}
343
- }; }
344
- static get events() { return [{
345
- "method": "click",
346
- "name": "click",
347
- "bubbles": true,
348
- "cancelable": true,
349
- "composed": true,
350
- "docs": {
351
- "tags": [],
352
- "text": ""
314
+ "url": {
315
+ "type": "string",
316
+ "mutable": false,
317
+ "complexType": {
318
+ "original": "string",
319
+ "resolved": "string",
320
+ "references": {}
321
+ },
322
+ "required": false,
323
+ "optional": false,
324
+ "docs": {
325
+ "tags": [],
326
+ "text": ""
327
+ },
328
+ "attribute": "url",
329
+ "reflect": true
353
330
  },
354
- "complexType": {
355
- "original": "any",
356
- "resolved": "any",
357
- "references": {}
331
+ "target": {
332
+ "type": "string",
333
+ "mutable": false,
334
+ "complexType": {
335
+ "original": "'_self' | '_blank' | '_parent' | '_top'",
336
+ "resolved": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\"",
337
+ "references": {}
338
+ },
339
+ "required": false,
340
+ "optional": false,
341
+ "docs": {
342
+ "tags": [],
343
+ "text": ""
344
+ },
345
+ "attribute": "target",
346
+ "reflect": true
358
347
  }
359
- }]; }
348
+ };
349
+ }
350
+ static get states() {
351
+ return {
352
+ "isAutoTouch": {},
353
+ "isAutoSmall": {}
354
+ };
355
+ }
356
+ static get events() {
357
+ return [{
358
+ "method": "click",
359
+ "name": "click",
360
+ "bubbles": true,
361
+ "cancelable": true,
362
+ "composed": true,
363
+ "docs": {
364
+ "tags": [],
365
+ "text": ""
366
+ },
367
+ "complexType": {
368
+ "original": "any",
369
+ "resolved": "any",
370
+ "references": {}
371
+ }
372
+ }];
373
+ }
360
374
  static get elementRef() { return "hostElement"; }
361
- static get watchers() { return [{
362
- "propName": "bar",
363
- "methodName": "checkBar"
364
- }]; }
365
- static get listeners() { return [{
366
- "name": "focus",
367
- "method": "onHostElementFocus",
368
- "target": undefined,
369
- "capture": false,
370
- "passive": false
371
- }]; }
375
+ static get watchers() {
376
+ return [{
377
+ "propName": "bar",
378
+ "methodName": "checkBar"
379
+ }];
380
+ }
381
+ static get listeners() {
382
+ return [{
383
+ "name": "focus",
384
+ "method": "onHostElementFocus",
385
+ "target": undefined,
386
+ "capture": false,
387
+ "passive": false
388
+ }];
389
+ }
372
390
  }
@@ -8,7 +8,7 @@
8
8
 
9
9
  *:focus {
10
10
  outline: none;
11
- box-shadow: var(--const-global-focus, 0 0 0 2px #33b4ff);
11
+ box-shadow: var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #33b4ff #06C);
12
12
  }
13
13
 
14
14
  :host {
@@ -111,11 +111,18 @@ button {
111
111
  box-shadow: var(--tct-card-box-shadow, var(--t-card-box-shadow, var(--app-shadow-2, 0 3px 6px rgba(0, 0, 0, 0.3))));
112
112
  }
113
113
  @media (hover: hover) {
114
+ .container:is(button), .container:is(a) {
115
+ --comp-card-hover-box-shadow: var(--tct-card-hover-box-shadow, var(--t-card-hover-box-shadow, var(--app-shadow-3, 0 4px 12px rgba(0, 0, 0, 0.3))));
116
+ }
114
117
  .container:is(button):hover, .container:is(button):active, .container:is(button):focus, .container:is(a):hover, .container:is(a):active, .container:is(a):focus {
115
118
  color: var(--tct-card-color, var(--t-card-color, var(--t-text, #4d4d4d)));
119
+ box-shadow: var(--const-double-focus-ring);
116
120
  }
117
121
  .container:is(button):hover, .container:is(a):hover {
118
- box-shadow: var(--tct-card-hover-box-shadow, var(--t-card-hover-box-shadow, var(--app-shadow-3, 0 4px 12px rgba(0, 0, 0, 0.3))));
122
+ box-shadow: var(--comp-card-hover-box-shadow);
123
+ }
124
+ .container:is(button):focus:hover, .container:is(a):focus:hover {
125
+ box-shadow: var(--const-double-focus-ring), var(--comp-card-hover-box-shadow);
119
126
  }
120
127
  .container:is(button):active, .container:is(a):active {
121
128
  box-shadow: var(--tct-card-active-box-shadow, var(--t-card-active-box-shadow, var(--app-shadow-1, 0 2px 4px rgba(0, 0, 0, 0.3))));