ku4web-components 6.4.81 → 6.4.82

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/{index-a9159bd6.js → index-a7b6d98c.js} +1 -1
  2. package/dist/cjs/ku4-carousel-controls.cjs.entry.js +2 -2
  3. package/dist/cjs/ku4-carousel-slide.cjs.entry.js +1 -1
  4. package/dist/cjs/ku4-carousel.cjs.entry.js +3 -3
  5. package/dist/cjs/ku4-col.cjs.entry.js +1 -1
  6. package/dist/cjs/ku4-drawer.cjs.entry.js +1 -1
  7. package/dist/cjs/ku4-feature.cjs.entry.js +2 -2
  8. package/dist/cjs/ku4-focus-trap.cjs.entry.js +26 -26
  9. package/dist/cjs/ku4-form.cjs.entry.js +3 -3
  10. package/dist/cjs/ku4-grid.cjs.entry.js +1 -1
  11. package/dist/cjs/ku4-label.cjs.entry.js +2 -2
  12. package/dist/cjs/ku4-mask.cjs.entry.js +2 -2
  13. package/dist/cjs/ku4-modal.cjs.entry.js +3 -3
  14. package/dist/cjs/ku4-panel.cjs.entry.js +1 -1
  15. package/dist/cjs/ku4-preview.cjs.entry.js +14 -43
  16. package/dist/cjs/ku4-tab-list.cjs.entry.js +4 -4
  17. package/dist/cjs/ku4-tab-panel.cjs.entry.js +3 -3
  18. package/dist/cjs/ku4-tab.cjs.entry.js +3 -3
  19. package/dist/cjs/ku4-table.cjs.entry.js +1 -1
  20. package/dist/cjs/ku4-tooltip.cjs.entry.js +2 -2
  21. package/dist/cjs/ku4-validation.cjs.entry.js +2 -2
  22. package/dist/cjs/ku4web-components.cjs.js +8 -103
  23. package/dist/cjs/loader.cjs.js +3 -19
  24. package/dist/cjs/{shadow-css-c44ea13a.js → shadow-css-78860e39.js} +1 -1
  25. package/dist/esm/{index-26cde78a.js → index-81a98b72.js} +1 -1
  26. package/dist/esm/ku4-carousel-controls.entry.js +2 -2
  27. package/dist/esm/ku4-carousel-slide.entry.js +1 -1
  28. package/dist/esm/ku4-carousel.entry.js +3 -3
  29. package/dist/esm/ku4-col.entry.js +1 -1
  30. package/dist/esm/ku4-drawer.entry.js +1 -1
  31. package/dist/esm/ku4-feature.entry.js +2 -2
  32. package/dist/esm/ku4-focus-trap.entry.js +3 -3
  33. package/dist/esm/ku4-form.entry.js +3 -3
  34. package/dist/esm/ku4-grid.entry.js +1 -1
  35. package/dist/esm/ku4-label.entry.js +2 -2
  36. package/dist/esm/ku4-mask.entry.js +2 -2
  37. package/dist/esm/ku4-modal.entry.js +3 -3
  38. package/dist/esm/ku4-panel.entry.js +1 -1
  39. package/dist/esm/ku4-preview.entry.js +5 -34
  40. package/dist/esm/ku4-tab-list.entry.js +4 -4
  41. package/dist/esm/ku4-tab-panel.entry.js +3 -3
  42. package/dist/esm/ku4-tab.entry.js +3 -3
  43. package/dist/esm/ku4-table.entry.js +1 -1
  44. package/dist/esm/ku4-tooltip.entry.js +2 -2
  45. package/dist/esm/ku4-validation.entry.js +2 -2
  46. package/dist/esm/ku4web-components.js +8 -103
  47. package/dist/esm/loader.js +3 -19
  48. package/dist/{ku4web-components/shadow-css-ef431969.js → esm/shadow-css-4d56fa31.js} +1 -1
  49. package/dist/esm-es5/{index-26cde78a.js → index-81a98b72.js} +1 -1
  50. package/dist/esm-es5/ku4-carousel-controls.entry.js +1 -1
  51. package/dist/esm-es5/ku4-carousel-slide.entry.js +1 -1
  52. package/dist/esm-es5/ku4-carousel.entry.js +1 -1
  53. package/dist/esm-es5/ku4-col.entry.js +1 -1
  54. package/dist/esm-es5/ku4-drawer.entry.js +1 -1
  55. package/dist/esm-es5/ku4-feature.entry.js +1 -1
  56. package/dist/esm-es5/ku4-focus-trap.entry.js +1 -1
  57. package/dist/esm-es5/ku4-form.entry.js +1 -1
  58. package/dist/esm-es5/ku4-grid.entry.js +1 -1
  59. package/dist/esm-es5/ku4-label.entry.js +1 -1
  60. package/dist/esm-es5/ku4-mask.entry.js +1 -1
  61. package/dist/esm-es5/ku4-modal.entry.js +1 -1
  62. package/dist/esm-es5/ku4-panel.entry.js +1 -1
  63. package/dist/esm-es5/ku4-preview.entry.js +1 -1
  64. package/dist/esm-es5/ku4-tab-list.entry.js +1 -1
  65. package/dist/esm-es5/ku4-tab-panel.entry.js +1 -1
  66. package/dist/esm-es5/ku4-tab.entry.js +1 -1
  67. package/dist/esm-es5/ku4-table.entry.js +1 -1
  68. package/dist/esm-es5/ku4-tooltip.entry.js +1 -1
  69. package/dist/esm-es5/ku4-validation.entry.js +1 -1
  70. package/dist/esm-es5/ku4web-components.js +1 -1
  71. package/dist/esm-es5/loader.js +1 -1
  72. package/dist/esm-es5/{shadow-css-ef431969.js → shadow-css-4d56fa31.js} +0 -0
  73. package/dist/index.js +1 -1
  74. package/dist/ku4web-components/index.esm.js +0 -1
  75. package/dist/ku4web-components/ku4web-components.css +1 -299
  76. package/dist/ku4web-components/ku4web-components.esm.js +1 -129
  77. package/dist/ku4web-components/ku4web-components.js +1 -1
  78. package/dist/ku4web-components/{p-5d6cf40f.system.entry.js → p-02328d34.system.entry.js} +1 -1
  79. package/dist/ku4web-components/{p-5eb48119.system.entry.js → p-050f184b.system.entry.js} +1 -1
  80. package/dist/ku4web-components/{p-ca547c71.system.entry.js → p-073cefec.system.entry.js} +1 -1
  81. package/dist/ku4web-components/{p-e10de631.entry.js → p-097ba217.entry.js} +1 -1
  82. package/dist/ku4web-components/{p-2a6d5089.entry.js → p-0adeb8e4.entry.js} +1 -1
  83. package/dist/ku4web-components/{p-6d63d17d.entry.js → p-0ce97586.entry.js} +1 -1
  84. package/dist/ku4web-components/p-0f77bef9.system.js +1 -0
  85. package/dist/ku4web-components/{p-0e222607.system.entry.js → p-136e5a03.system.entry.js} +1 -1
  86. package/dist/ku4web-components/{p-2300b0b7.system.entry.js → p-1d5a1caf.system.entry.js} +1 -1
  87. package/dist/ku4web-components/{p-b3bdc458.system.entry.js → p-288482da.system.entry.js} +1 -1
  88. package/dist/ku4web-components/{p-f0e309a9.system.entry.js → p-32e9a8d0.system.entry.js} +1 -1
  89. package/dist/ku4web-components/{p-801fab11.system.entry.js → p-3a0d1ff7.system.entry.js} +1 -1
  90. package/dist/ku4web-components/{p-b60c60e4.entry.js → p-3f147a02.entry.js} +1 -1
  91. package/dist/ku4web-components/{p-8c0cb5c1.entry.js → p-3f2a008c.entry.js} +1 -1
  92. package/dist/ku4web-components/{p-25ca27d4.entry.js → p-3f4082d5.entry.js} +1 -1
  93. package/dist/ku4web-components/{p-94dd5fad.entry.js → p-49275772.entry.js} +1 -1
  94. package/dist/ku4web-components/{p-0cc659d9.system.entry.js → p-524cef27.system.entry.js} +1 -1
  95. package/dist/ku4web-components/{p-64bcfdeb.system.entry.js → p-52d815ab.system.entry.js} +1 -1
  96. package/dist/ku4web-components/{p-92bc6bf1.system.entry.js → p-596beaad.system.entry.js} +1 -1
  97. package/dist/ku4web-components/{p-6f47f245.entry.js → p-5f9d0077.entry.js} +1 -1
  98. package/dist/ku4web-components/{p-993123b6.entry.js → p-5fcea805.entry.js} +1 -1
  99. package/dist/ku4web-components/{p-e6937d21.entry.js → p-61214088.entry.js} +1 -1
  100. package/dist/ku4web-components/{p-57ec7c89.entry.js → p-66b8247f.entry.js} +1 -1
  101. package/dist/ku4web-components/{p-341081d6.system.entry.js → p-6b9e3523.system.entry.js} +1 -1
  102. package/dist/ku4web-components/{p-03d6fb35.system.entry.js → p-6cfd9011.system.entry.js} +1 -1
  103. package/dist/ku4web-components/{p-e29d66a7.system.entry.js → p-7bfc256a.system.entry.js} +1 -1
  104. package/dist/ku4web-components/{p-dc35b1af.entry.js → p-818caf0f.entry.js} +1 -1
  105. package/dist/ku4web-components/{p-df1544c7.entry.js → p-8642aef5.entry.js} +1 -1
  106. package/dist/ku4web-components/{p-b10887b2.js → p-881e100a.js} +0 -0
  107. package/dist/ku4web-components/{p-db493d59.system.entry.js → p-95698618.system.entry.js} +1 -1
  108. package/dist/ku4web-components/{p-e2ae0504.system.js → p-96ec7b4f.system.js} +1 -1
  109. package/dist/ku4web-components/{p-d6f80a73.system.entry.js → p-a0d0c99e.system.entry.js} +1 -1
  110. package/dist/ku4web-components/{p-75161edb.system.entry.js → p-acb43765.system.entry.js} +1 -1
  111. package/dist/ku4web-components/{p-c646a177.entry.js → p-b47bb3d0.entry.js} +1 -1
  112. package/dist/ku4web-components/p-c798faf2.entry.js +1 -0
  113. package/dist/ku4web-components/{p-0c05c4ad.entry.js → p-cd0d0b40.entry.js} +1 -1
  114. package/dist/ku4web-components/{p-deb02b56.entry.js → p-cd4cdcbb.entry.js} +1 -1
  115. package/dist/ku4web-components/{p-c459bbb7.entry.js → p-d17f65a6.entry.js} +1 -1
  116. package/dist/ku4web-components/{p-01ae9e4c.system.entry.js → p-d848909c.system.entry.js} +1 -1
  117. package/dist/ku4web-components/{p-c62c66be.entry.js → p-d8868855.entry.js} +1 -1
  118. package/dist/ku4web-components/{p-0ded083e.js → p-e6b3a708.js} +1 -1
  119. package/dist/ku4web-components/{p-9f1bc248.system.entry.js → p-ea4b32de.system.entry.js} +1 -1
  120. package/dist/ku4web-components/{p-55d15007.entry.js → p-f3fbe1e6.entry.js} +1 -1
  121. package/dist/ku4web-components/{p-6bf18c7c.system.js → p-fbf3ad1e.system.js} +0 -0
  122. package/dist/ku4web-components/{p-6c5699e3.system.entry.js → p-fc0c3bf4.system.entry.js} +1 -1
  123. package/package.json +4 -4
  124. package/dist/cjs/app-globals-3a1e7e63.js +0 -5
  125. package/dist/cjs/css-shim-aaf4fec9.js +0 -6
  126. package/dist/cjs/dom-14886762.js +0 -75
  127. package/dist/cjs/index-652a3cbf.js +0 -14
  128. package/dist/cjs/index-8e9e8864.js +0 -3093
  129. package/dist/cjs/index-c904eb3a.js +0 -10
  130. package/dist/cjs/uid-eb3bec28.js +0 -11
  131. package/dist/collection/capabilities/a11y/aria.js +0 -26
  132. package/dist/collection/capabilities/angular/index.js +0 -24
  133. package/dist/collection/capabilities/decorators/deprecated.js +0 -20
  134. package/dist/collection/capabilities/decorators/index.js +0 -3
  135. package/dist/collection/capabilities/decorators/memoize.js +0 -7
  136. package/dist/collection/capabilities/dom/isFocusable.js +0 -7
  137. package/dist/collection/capabilities/dom/queryFocusable.js +0 -2
  138. package/dist/collection/capabilities/identity/uid.js +0 -6
  139. package/dist/collection/capabilities/mask/index.js +0 -5
  140. package/dist/collection/capabilities/mask/patterns/date.js +0 -40
  141. package/dist/collection/capabilities/mask/patterns/index.js +0 -7
  142. package/dist/collection/capabilities/react/index.js +0 -25
  143. package/dist/collection/capabilities/testing/html.js +0 -14
  144. package/dist/collection/capabilities/testing/styles.js +0 -14
  145. package/dist/collection/capabilities/vue/index.js +0 -28
  146. package/dist/collection/capabilities/vue3/index.js +0 -26
  147. package/dist/collection/collection-manifest.json +0 -31
  148. package/dist/collection/components/ku4-carousel/ku4-carousel.css +0 -221
  149. package/dist/collection/components/ku4-carousel/ku4-carousel.js +0 -362
  150. package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.css +0 -32
  151. package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.js +0 -112
  152. package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.css +0 -3
  153. package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.js +0 -159
  154. package/dist/collection/components/ku4-col/ku4-col.css +0 -601
  155. package/dist/collection/components/ku4-col/ku4-col.js +0 -288
  156. package/dist/collection/components/ku4-drawer/ku4-drawer.css +0 -56
  157. package/dist/collection/components/ku4-drawer/ku4-drawer.js +0 -163
  158. package/dist/collection/components/ku4-feature/ku4-feature.js +0 -70
  159. package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.css +0 -3
  160. package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.js +0 -441
  161. package/dist/collection/components/ku4-form/ku4-form.js +0 -225
  162. package/dist/collection/components/ku4-grid/ku4-grid.css +0 -751
  163. package/dist/collection/components/ku4-grid/ku4-grid.js +0 -408
  164. package/dist/collection/components/ku4-label/ku4-label.css +0 -36
  165. package/dist/collection/components/ku4-label/ku4-label.js +0 -115
  166. package/dist/collection/components/ku4-mask/ku4-mask.css +0 -3
  167. package/dist/collection/components/ku4-mask/ku4-mask.js +0 -458
  168. package/dist/collection/components/ku4-modal/ku4-modal.css +0 -85
  169. package/dist/collection/components/ku4-modal/ku4-modal.js +0 -208
  170. package/dist/collection/components/ku4-panel/ku4-panel.css +0 -14
  171. package/dist/collection/components/ku4-panel/ku4-panel.js +0 -119
  172. package/dist/collection/components/ku4-preview/ku4-preview.css +0 -23
  173. package/dist/collection/components/ku4-preview/ku4-preview.js +0 -266
  174. package/dist/collection/components/ku4-tab/ku4-tab.css +0 -82
  175. package/dist/collection/components/ku4-tab/ku4-tab.js +0 -191
  176. package/dist/collection/components/ku4-tab-list/ku4-tab-list.css +0 -6
  177. package/dist/collection/components/ku4-tab-list/ku4-tab-list.js +0 -118
  178. package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.css +0 -26
  179. package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.js +0 -166
  180. package/dist/collection/components/ku4-table/ku4-table.css +0 -116
  181. package/dist/collection/components/ku4-table/ku4-table.js +0 -120
  182. package/dist/collection/components/ku4-tooltip/ku4-tooltip.css +0 -56
  183. package/dist/collection/components/ku4-tooltip/ku4-tooltip.js +0 -274
  184. package/dist/collection/components/ku4-validation/ku4-validation.css +0 -19
  185. package/dist/collection/components/ku4-validation/ku4-validation.js +0 -364
  186. package/dist/collection/components/ku4-validation/validate.js +0 -14
  187. package/dist/collection/index.js +0 -1
  188. package/dist/collection/security.js +0 -27
  189. package/dist/esm/app-globals-0f993ce5.js +0 -3
  190. package/dist/esm/css-shim-091f949f.js +0 -4
  191. package/dist/esm/dom-a385e381.js +0 -73
  192. package/dist/esm/index-3e1e5aa3.js +0 -3
  193. package/dist/esm/index-516c5188.js +0 -3057
  194. package/dist/esm/index-7ff6e718.js +0 -3
  195. package/dist/esm/shadow-css-ef431969.js +0 -388
  196. package/dist/esm/uid-9dbd7ad0.js +0 -9
  197. package/dist/ku4web-components/app-globals-0f993ce5.js +0 -3
  198. package/dist/ku4web-components/app-globals-497eb362.system.js +0 -1
  199. package/dist/ku4web-components/css-shim-091f949f.js +0 -4
  200. package/dist/ku4web-components/css-shim-c5bffe6b.system.js +0 -1
  201. package/dist/ku4web-components/dom-99eb7b76.system.js +0 -21
  202. package/dist/ku4web-components/dom-a385e381.js +0 -73
  203. package/dist/ku4web-components/index-380cbe3a.system.js +0 -1
  204. package/dist/ku4web-components/index-3e1e5aa3.js +0 -3
  205. package/dist/ku4web-components/index-516c5188.js +0 -3057
  206. package/dist/ku4web-components/index-7d482e8a.system.js +0 -1
  207. package/dist/ku4web-components/index-7ff6e718.js +0 -3
  208. package/dist/ku4web-components/index-fd0c89d0.system.js +0 -1
  209. package/dist/ku4web-components/index.system.js +0 -1
  210. package/dist/ku4web-components/ku4-carousel-controls.entry.js +0 -89
  211. package/dist/ku4web-components/ku4-carousel-controls.system.entry.js +0 -1
  212. package/dist/ku4web-components/ku4-carousel-slide.entry.js +0 -47
  213. package/dist/ku4web-components/ku4-carousel-slide.system.entry.js +0 -1
  214. package/dist/ku4web-components/ku4-carousel.entry.js +0 -168
  215. package/dist/ku4web-components/ku4-carousel.system.entry.js +0 -1
  216. package/dist/ku4web-components/ku4-col.entry.js +0 -75
  217. package/dist/ku4web-components/ku4-col.system.entry.js +0 -1
  218. package/dist/ku4web-components/ku4-drawer.entry.js +0 -35
  219. package/dist/ku4web-components/ku4-drawer.system.entry.js +0 -1
  220. package/dist/ku4web-components/ku4-feature.entry.js +0 -29
  221. package/dist/ku4web-components/ku4-feature.system.entry.js +0 -1
  222. package/dist/ku4web-components/ku4-focus-trap.entry.js +0 -323
  223. package/dist/ku4web-components/ku4-focus-trap.system.entry.js +0 -1
  224. package/dist/ku4web-components/ku4-form.entry.js +0 -112
  225. package/dist/ku4web-components/ku4-form.system.entry.js +0 -1
  226. package/dist/ku4web-components/ku4-grid.entry.js +0 -108
  227. package/dist/ku4web-components/ku4-grid.system.entry.js +0 -1
  228. package/dist/ku4web-components/ku4-label.entry.js +0 -70
  229. package/dist/ku4web-components/ku4-label.system.entry.js +0 -1
  230. package/dist/ku4web-components/ku4-mask.entry.js +0 -342
  231. package/dist/ku4web-components/ku4-mask.system.entry.js +0 -1
  232. package/dist/ku4web-components/ku4-modal.entry.js +0 -75
  233. package/dist/ku4web-components/ku4-modal.system.entry.js +0 -1
  234. package/dist/ku4web-components/ku4-panel.entry.js +0 -49
  235. package/dist/ku4web-components/ku4-panel.system.entry.js +0 -1
  236. package/dist/ku4web-components/ku4-preview.entry.js +0 -128
  237. package/dist/ku4web-components/ku4-preview.system.entry.js +0 -1
  238. package/dist/ku4web-components/ku4-tab-list.entry.js +0 -76
  239. package/dist/ku4web-components/ku4-tab-list.system.entry.js +0 -1
  240. package/dist/ku4web-components/ku4-tab-panel.entry.js +0 -72
  241. package/dist/ku4web-components/ku4-tab-panel.system.entry.js +0 -1
  242. package/dist/ku4web-components/ku4-tab.entry.js +0 -63
  243. package/dist/ku4web-components/ku4-tab.system.entry.js +0 -1
  244. package/dist/ku4web-components/ku4-table.entry.js +0 -79
  245. package/dist/ku4web-components/ku4-table.system.entry.js +0 -1
  246. package/dist/ku4web-components/ku4-tooltip.entry.js +0 -120
  247. package/dist/ku4web-components/ku4-tooltip.system.entry.js +0 -1
  248. package/dist/ku4web-components/ku4-validation.entry.js +0 -162
  249. package/dist/ku4web-components/ku4-validation.system.entry.js +0 -1
  250. package/dist/ku4web-components/ku4web-components.system.js +0 -1
  251. package/dist/ku4web-components/p-019be0a7.entry.js +0 -1
  252. package/dist/ku4web-components/p-e641f14e.system.js +0 -1
  253. package/dist/ku4web-components/shadow-css-27708fdd.system.js +0 -13
  254. package/dist/ku4web-components/uid-9dbd7ad0.js +0 -9
  255. package/dist/ku4web-components/uid-fb867945.system.js +0 -1
@@ -1,288 +0,0 @@
1
- import { Component, Host, Prop, h } from '@stencil/core';
2
- /**
3
- * @description ku4-col
4
- */
5
- export class Ku4Col {
6
- constructor() {
7
- /**
8
- * Start position of column at extra-small (optional).
9
- */
10
- this.startXs = 0;
11
- /**
12
- * Number of columns to span left and right at extra-small (optional).
13
- */
14
- this.spanXs = 1;
15
- }
16
- get startClass() {
17
- const { startXs, startSm, startMd, startLg } = this;
18
- const value = [];
19
- if (startXs && !Number.isNaN(startXs)) {
20
- value.push(`start-xs-${startXs}`);
21
- }
22
- if (startSm && !Number.isNaN(startSm)) {
23
- value.push(`start-sm-${startSm}`);
24
- }
25
- if (startMd && !Number.isNaN(startMd)) {
26
- value.push(`start-md-${startMd}`);
27
- }
28
- if (startLg && !Number.isNaN(startLg)) {
29
- value.push(`start-lg-${startLg}`);
30
- }
31
- return value.join(' ');
32
- }
33
- get spanClass() {
34
- const { spanXs, spanSm, spanMd, spanLg } = this;
35
- const value = [];
36
- if (spanXs && !Number.isNaN(spanXs)) {
37
- value.push(`span-xs-${spanXs}`);
38
- }
39
- if (spanSm && !Number.isNaN(spanSm)) {
40
- value.push(`span-sm-${spanSm}`);
41
- }
42
- if (spanMd && !Number.isNaN(spanMd)) {
43
- value.push(`span-md-${spanMd}`);
44
- }
45
- if (spanLg && !Number.isNaN(spanLg)) {
46
- value.push(`span-lg-${spanLg}`);
47
- }
48
- return value.join(' ');
49
- }
50
- get orderClass() {
51
- const { orderXs, orderSm, orderMd, orderLg } = this;
52
- const value = [];
53
- if (orderXs && !Number.isNaN(orderXs)) {
54
- value.push(`order-xs-${orderXs}`);
55
- }
56
- if (orderSm && !Number.isNaN(orderSm)) {
57
- value.push(`order-sm-${orderSm}`);
58
- }
59
- if (orderMd && !Number.isNaN(orderMd)) {
60
- value.push(`order-md-${orderMd}`);
61
- }
62
- if (orderLg && !Number.isNaN(orderLg)) {
63
- value.push(`order-lg-${orderLg}`);
64
- }
65
- return value.join(' ');
66
- }
67
- render() {
68
- const { startClass, spanClass, orderClass } = this;
69
- return (h(Host, { class: `${startClass} ${spanClass} ${orderClass}` },
70
- h("slot", null)));
71
- }
72
- static get is() { return "ku4-col"; }
73
- static get encapsulation() { return "shadow"; }
74
- static get originalStyleUrls() { return {
75
- "$": ["ku4-col.scss"]
76
- }; }
77
- static get styleUrls() { return {
78
- "$": ["ku4-col.css"]
79
- }; }
80
- static get properties() { return {
81
- "startXs": {
82
- "type": "number",
83
- "mutable": false,
84
- "complexType": {
85
- "original": "0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16",
86
- "resolved": "0 | 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
87
- "references": {}
88
- },
89
- "required": false,
90
- "optional": false,
91
- "docs": {
92
- "tags": [],
93
- "text": "Start position of column at extra-small (optional)."
94
- },
95
- "attribute": "start-xs",
96
- "reflect": false,
97
- "defaultValue": "0"
98
- },
99
- "startSm": {
100
- "type": "number",
101
- "mutable": false,
102
- "complexType": {
103
- "original": "0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16",
104
- "resolved": "0 | 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
105
- "references": {}
106
- },
107
- "required": false,
108
- "optional": false,
109
- "docs": {
110
- "tags": [],
111
- "text": "Start position of column at small (optional)."
112
- },
113
- "attribute": "start-sm",
114
- "reflect": false
115
- },
116
- "startMd": {
117
- "type": "number",
118
- "mutable": false,
119
- "complexType": {
120
- "original": "0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16",
121
- "resolved": "0 | 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
122
- "references": {}
123
- },
124
- "required": false,
125
- "optional": false,
126
- "docs": {
127
- "tags": [],
128
- "text": "Start position of column at medium (optional)."
129
- },
130
- "attribute": "start-md",
131
- "reflect": false
132
- },
133
- "startLg": {
134
- "type": "number",
135
- "mutable": false,
136
- "complexType": {
137
- "original": "0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16",
138
- "resolved": "0 | 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
139
- "references": {}
140
- },
141
- "required": false,
142
- "optional": false,
143
- "docs": {
144
- "tags": [],
145
- "text": "Start position of column at large (optional)."
146
- },
147
- "attribute": "start-lg",
148
- "reflect": false
149
- },
150
- "spanXs": {
151
- "type": "number",
152
- "mutable": false,
153
- "complexType": {
154
- "original": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16",
155
- "resolved": "1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
156
- "references": {}
157
- },
158
- "required": false,
159
- "optional": false,
160
- "docs": {
161
- "tags": [],
162
- "text": "Number of columns to span left and right at extra-small (optional)."
163
- },
164
- "attribute": "span-xs",
165
- "reflect": false,
166
- "defaultValue": "1"
167
- },
168
- "spanSm": {
169
- "type": "number",
170
- "mutable": false,
171
- "complexType": {
172
- "original": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16",
173
- "resolved": "1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
174
- "references": {}
175
- },
176
- "required": false,
177
- "optional": false,
178
- "docs": {
179
- "tags": [],
180
- "text": "Number of columns to span left and right at extra-small (optional)."
181
- },
182
- "attribute": "span-sm",
183
- "reflect": false
184
- },
185
- "spanMd": {
186
- "type": "number",
187
- "mutable": false,
188
- "complexType": {
189
- "original": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16",
190
- "resolved": "1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
191
- "references": {}
192
- },
193
- "required": false,
194
- "optional": false,
195
- "docs": {
196
- "tags": [],
197
- "text": "Number of columns to span left and right at medium (optional)."
198
- },
199
- "attribute": "span-md",
200
- "reflect": false
201
- },
202
- "spanLg": {
203
- "type": "number",
204
- "mutable": false,
205
- "complexType": {
206
- "original": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16",
207
- "resolved": "1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
208
- "references": {}
209
- },
210
- "required": false,
211
- "optional": false,
212
- "docs": {
213
- "tags": [],
214
- "text": "Number of columns to span left and right at large (optional)."
215
- },
216
- "attribute": "span-lg",
217
- "reflect": false
218
- },
219
- "orderXs": {
220
- "type": "number",
221
- "mutable": false,
222
- "complexType": {
223
- "original": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16",
224
- "resolved": "1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
225
- "references": {}
226
- },
227
- "required": false,
228
- "optional": false,
229
- "docs": {
230
- "tags": [],
231
- "text": "Order of column at extra-small (optional)."
232
- },
233
- "attribute": "order-xs",
234
- "reflect": false
235
- },
236
- "orderSm": {
237
- "type": "number",
238
- "mutable": false,
239
- "complexType": {
240
- "original": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16",
241
- "resolved": "1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
242
- "references": {}
243
- },
244
- "required": false,
245
- "optional": false,
246
- "docs": {
247
- "tags": [],
248
- "text": "Order of column at small (optional)."
249
- },
250
- "attribute": "order-sm",
251
- "reflect": false
252
- },
253
- "orderMd": {
254
- "type": "number",
255
- "mutable": false,
256
- "complexType": {
257
- "original": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16",
258
- "resolved": "1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
259
- "references": {}
260
- },
261
- "required": false,
262
- "optional": false,
263
- "docs": {
264
- "tags": [],
265
- "text": "Order of column at medium (optional)."
266
- },
267
- "attribute": "order-md",
268
- "reflect": false
269
- },
270
- "orderLg": {
271
- "type": "number",
272
- "mutable": false,
273
- "complexType": {
274
- "original": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16",
275
- "resolved": "1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
276
- "references": {}
277
- },
278
- "required": false,
279
- "optional": false,
280
- "docs": {
281
- "tags": [],
282
- "text": "Order of column at large (optional)."
283
- },
284
- "attribute": "order-lg",
285
- "reflect": false
286
- }
287
- }; }
288
- }
@@ -1,56 +0,0 @@
1
- :host {
2
- position: fixed;
3
- box-sizing: border-box;
4
- overflow: hidden;
5
- z-index: 1;
6
- }
7
-
8
- :host([top]),
9
- :host([bottom]) {
10
- width: 100%;
11
- height: 0;
12
- transition: height 0.4s;
13
- }
14
-
15
- :host([left]),
16
- :host([right]) {
17
- width: 0;
18
- height: 100%;
19
- transition: width 0.4s;
20
- }
21
-
22
- :host([top][open]),
23
- :host([bottom][open]) {
24
- height: 100%;
25
- }
26
-
27
- :host([left][open]),
28
- :host([right][open]) {
29
- width: 100%;
30
- }
31
-
32
- :host([top][open=false]),
33
- :host([bottom][open=false]) {
34
- height: 0;
35
- }
36
-
37
- :host([left][open=false]),
38
- :host([right][open=false]) {
39
- width: 0;
40
- }
41
-
42
- :host([top]),
43
- :host([left]) {
44
- top: 0;
45
- left: 0;
46
- }
47
-
48
- :host([bottom]) {
49
- left: 0;
50
- bottom: 0;
51
- }
52
-
53
- :host([right]) {
54
- right: 0;
55
- bottom: 0;
56
- }
@@ -1,163 +0,0 @@
1
- import { Component, Prop, Method, Host, h } from '@stencil/core';
2
- /**
3
- * @description ku4-drawer
4
- */
5
- export class Ku4Drawer {
6
- constructor() {
7
- /**
8
- * Open size of this drawer (any valid CSS width or height value)
9
- */
10
- this.size = '20%';
11
- }
12
- /**
13
- * Toggle drawer
14
- */
15
- async toggle() {
16
- this.open = !this.open;
17
- }
18
- get sizeValue() {
19
- const { bottom, top, right, size } = this;
20
- switch (true) {
21
- case bottom: return { 'max-height': size };
22
- case top: return { 'max-height': size };
23
- case right: return { 'max-width': size };
24
- default: return { 'max-width': size };
25
- }
26
- }
27
- render() {
28
- const { sizeValue, open } = this;
29
- return (h(Host, { style: sizeValue, "aria-hidden": open ? 'false' : 'true' },
30
- h("slot", null)));
31
- }
32
- static get is() { return "ku4-drawer"; }
33
- static get encapsulation() { return "shadow"; }
34
- static get originalStyleUrls() { return {
35
- "$": ["ku4-drawer.scss"]
36
- }; }
37
- static get styleUrls() { return {
38
- "$": ["ku4-drawer.css"]
39
- }; }
40
- static get properties() { return {
41
- "bottom": {
42
- "type": "boolean",
43
- "mutable": false,
44
- "complexType": {
45
- "original": "boolean",
46
- "resolved": "boolean",
47
- "references": {}
48
- },
49
- "required": false,
50
- "optional": false,
51
- "docs": {
52
- "tags": [],
53
- "text": "Pin drawer to bottom"
54
- },
55
- "attribute": "bottom",
56
- "reflect": true
57
- },
58
- "left": {
59
- "type": "boolean",
60
- "mutable": false,
61
- "complexType": {
62
- "original": "boolean",
63
- "resolved": "boolean",
64
- "references": {}
65
- },
66
- "required": false,
67
- "optional": false,
68
- "docs": {
69
- "tags": [],
70
- "text": "Pin drawer to left"
71
- },
72
- "attribute": "left",
73
- "reflect": true
74
- },
75
- "right": {
76
- "type": "boolean",
77
- "mutable": false,
78
- "complexType": {
79
- "original": "boolean",
80
- "resolved": "boolean",
81
- "references": {}
82
- },
83
- "required": false,
84
- "optional": false,
85
- "docs": {
86
- "tags": [],
87
- "text": "Pin drawer to right"
88
- },
89
- "attribute": "right",
90
- "reflect": true
91
- },
92
- "top": {
93
- "type": "boolean",
94
- "mutable": false,
95
- "complexType": {
96
- "original": "boolean",
97
- "resolved": "boolean",
98
- "references": {}
99
- },
100
- "required": false,
101
- "optional": false,
102
- "docs": {
103
- "tags": [],
104
- "text": "Pin drawer to top"
105
- },
106
- "attribute": "top",
107
- "reflect": true
108
- },
109
- "size": {
110
- "type": "string",
111
- "mutable": false,
112
- "complexType": {
113
- "original": "string",
114
- "resolved": "string",
115
- "references": {}
116
- },
117
- "required": false,
118
- "optional": false,
119
- "docs": {
120
- "tags": [],
121
- "text": "Open size of this drawer (any valid CSS width or height value)"
122
- },
123
- "attribute": "size",
124
- "reflect": false,
125
- "defaultValue": "'20%'"
126
- },
127
- "open": {
128
- "type": "boolean",
129
- "mutable": true,
130
- "complexType": {
131
- "original": "boolean",
132
- "resolved": "boolean",
133
- "references": {}
134
- },
135
- "required": false,
136
- "optional": false,
137
- "docs": {
138
- "tags": [],
139
- "text": "Display drawer"
140
- },
141
- "attribute": "open",
142
- "reflect": true
143
- }
144
- }; }
145
- static get methods() { return {
146
- "toggle": {
147
- "complexType": {
148
- "signature": "() => Promise<void>",
149
- "parameters": [],
150
- "references": {
151
- "Promise": {
152
- "location": "global"
153
- }
154
- },
155
- "return": "Promise<void>"
156
- },
157
- "docs": {
158
- "text": "Toggle drawer",
159
- "tags": []
160
- }
161
- }
162
- }; }
163
- }
@@ -1,70 +0,0 @@
1
- import { Component, Element, Host, Prop, State, h } from '@stencil/core';
2
- import { Assert } from 'ku4es-kernel';
3
- /**
4
- * @description ku4-feature
5
- */
6
- export class Ku4Feature {
7
- constructor() {
8
- /**
9
- * A function or method that returns a boolean.
10
- * A return value of true will turn on the this
11
- * feature. (optional)
12
- */
13
- this.policy = '';
14
- this.enabled = false;
15
- const policy = this.policy.trim();
16
- this.featurePolicy = Assert.isNullOrEmpty(policy)
17
- ? () => false
18
- : new Function((/^return/.test(policy) ? policy : `return ${policy}`));
19
- }
20
- componentWillLoad() {
21
- const { on, featurePolicy } = this;
22
- on || featurePolicy.call(this.host)
23
- ? this.render = () => h("slot", null)
24
- : this.host.parentNode.removeChild(this.host);
25
- }
26
- render() { return h(Host, null); }
27
- static get is() { return "ku4-feature"; }
28
- static get encapsulation() { return "shadow"; }
29
- static get properties() { return {
30
- "on": {
31
- "type": "boolean",
32
- "mutable": false,
33
- "complexType": {
34
- "original": "boolean",
35
- "resolved": "boolean",
36
- "references": {}
37
- },
38
- "required": false,
39
- "optional": false,
40
- "docs": {
41
- "tags": [],
42
- "text": "Will display when true. This takes precedence\nover any passed policy. (optional)"
43
- },
44
- "attribute": "on",
45
- "reflect": false
46
- },
47
- "policy": {
48
- "type": "string",
49
- "mutable": false,
50
- "complexType": {
51
- "original": "string",
52
- "resolved": "string",
53
- "references": {}
54
- },
55
- "required": false,
56
- "optional": false,
57
- "docs": {
58
- "tags": [],
59
- "text": "A function or method that returns a boolean.\nA return value of true will turn on the this\nfeature. (optional)"
60
- },
61
- "attribute": "policy",
62
- "reflect": false,
63
- "defaultValue": "''"
64
- }
65
- }; }
66
- static get states() { return {
67
- "enabled": {}
68
- }; }
69
- static get elementRef() { return "host"; }
70
- }
@@ -1,3 +0,0 @@
1
- :host {
2
- position: static;
3
- }