ku4web-components 6.4.84 → 6.4.88
Sign up to get free protection for your applications and to get access to all the features.
- package/angular/index.js +1 -1
- package/angular/index.mjs +1 -1
- package/dist/cjs/index-57e2cfa5.js +10 -0
- package/dist/cjs/{index-a7b6d98c.js → index-845c56d4.js} +1 -1
- package/dist/cjs/ku4-carousel-controls.cjs.entry.js +3 -3
- package/dist/cjs/ku4-carousel-slide.cjs.entry.js +1 -1
- package/dist/cjs/ku4-carousel.cjs.entry.js +3 -3
- package/dist/cjs/ku4-col.cjs.entry.js +1 -1
- package/dist/cjs/ku4-drawer.cjs.entry.js +1 -1
- package/dist/cjs/ku4-feature.cjs.entry.js +2 -2
- package/dist/cjs/ku4-focus-trap.cjs.entry.js +37 -37
- package/dist/cjs/ku4-form.cjs.entry.js +3 -3
- package/dist/cjs/ku4-grid.cjs.entry.js +1 -1
- package/dist/cjs/ku4-label.cjs.entry.js +2 -2
- package/dist/cjs/ku4-mask.cjs.entry.js +3 -3
- package/dist/cjs/ku4-modal.cjs.entry.js +9 -4
- package/dist/cjs/ku4-panel.cjs.entry.js +1 -1
- package/dist/cjs/ku4-preview.cjs.entry.js +14 -43
- package/dist/cjs/ku4-tab-list.cjs.entry.js +4 -4
- package/dist/cjs/ku4-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/ku4-tab.cjs.entry.js +3 -3
- package/dist/cjs/ku4-table.cjs.entry.js +1 -1
- package/dist/cjs/ku4-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ku4-validation.cjs.entry.js +2 -2
- package/dist/cjs/ku4web-components.cjs.js +8 -103
- package/dist/cjs/loader.cjs.js +3 -19
- package/dist/cjs/{shadow-css-78860e39.js → shadow-css-546083ef.js} +1 -1
- package/dist/esm/{index-81a98b72.js → index-45c399b0.js} +1 -1
- package/dist/esm/index-f9890388.js +3 -0
- package/dist/esm/ku4-carousel-controls.entry.js +3 -3
- package/dist/esm/ku4-carousel-slide.entry.js +1 -1
- package/dist/esm/ku4-carousel.entry.js +3 -3
- package/dist/esm/ku4-col.entry.js +1 -1
- package/dist/esm/ku4-drawer.entry.js +1 -1
- package/dist/esm/ku4-feature.entry.js +2 -2
- package/dist/esm/ku4-focus-trap.entry.js +14 -14
- package/dist/esm/ku4-form.entry.js +3 -3
- package/dist/esm/ku4-grid.entry.js +1 -1
- package/dist/esm/ku4-label.entry.js +2 -2
- package/dist/esm/ku4-mask.entry.js +3 -3
- package/dist/esm/ku4-modal.entry.js +9 -4
- package/dist/esm/ku4-panel.entry.js +1 -1
- package/dist/esm/ku4-preview.entry.js +5 -34
- package/dist/esm/ku4-tab-list.entry.js +4 -4
- package/dist/esm/ku4-tab-panel.entry.js +3 -3
- package/dist/esm/ku4-tab.entry.js +3 -3
- package/dist/esm/ku4-table.entry.js +1 -1
- package/dist/esm/ku4-tooltip.entry.js +2 -2
- package/dist/esm/ku4-validation.entry.js +2 -2
- package/dist/esm/ku4web-components.js +8 -103
- package/dist/esm/loader.js +3 -19
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/{ku4web-components/shadow-css-4d56fa31.js → esm/shadow-css-dfa0587f.js} +1 -1
- package/dist/esm-es5/{index-81a98b72.js → index-45c399b0.js} +1 -1
- package/dist/esm-es5/{index-316624d1.js → index-f9890388.js} +1 -1
- package/dist/esm-es5/ku4-carousel-controls.entry.js +1 -1
- package/dist/esm-es5/ku4-carousel-slide.entry.js +1 -1
- package/dist/esm-es5/ku4-carousel.entry.js +1 -1
- package/dist/esm-es5/ku4-col.entry.js +1 -1
- package/dist/esm-es5/ku4-drawer.entry.js +1 -1
- package/dist/esm-es5/ku4-feature.entry.js +1 -1
- package/dist/esm-es5/ku4-focus-trap.entry.js +1 -1
- package/dist/esm-es5/ku4-form.entry.js +1 -1
- package/dist/esm-es5/ku4-grid.entry.js +1 -1
- package/dist/esm-es5/ku4-label.entry.js +1 -1
- package/dist/esm-es5/ku4-mask.entry.js +1 -1
- package/dist/esm-es5/ku4-modal.entry.js +1 -1
- package/dist/esm-es5/ku4-panel.entry.js +1 -1
- package/dist/esm-es5/ku4-preview.entry.js +1 -1
- package/dist/esm-es5/ku4-tab-list.entry.js +1 -1
- package/dist/esm-es5/ku4-tab-panel.entry.js +1 -1
- package/dist/esm-es5/ku4-tab.entry.js +1 -1
- package/dist/esm-es5/ku4-table.entry.js +1 -1
- package/dist/esm-es5/ku4-tooltip.entry.js +1 -1
- package/dist/esm-es5/ku4-validation.entry.js +1 -1
- package/dist/esm-es5/ku4web-components.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{shadow-css-4d56fa31.js → shadow-css-dfa0587f.js} +0 -0
- package/dist/index.js +1 -1
- package/dist/ku4web-components/index.esm.js +0 -1
- package/dist/ku4web-components/ku4web-components.css +1 -299
- package/dist/ku4web-components/ku4web-components.esm.js +1 -129
- package/dist/ku4web-components/ku4web-components.js +1 -1
- package/dist/ku4web-components/{p-6a5a7d81.entry.js → p-005353c6.entry.js} +1 -1
- package/dist/ku4web-components/{p-66b8247f.entry.js → p-09f09ad6.entry.js} +1 -1
- package/dist/ku4web-components/{p-6b9e3523.system.entry.js → p-09f10910.system.entry.js} +1 -1
- package/dist/ku4web-components/p-11652204.entry.js +1 -0
- package/dist/ku4web-components/{p-c96a424d.entry.js → p-1380f375.entry.js} +1 -1
- package/dist/ku4web-components/p-16f6027a.js +1 -0
- package/dist/ku4web-components/{p-8427534d.system.entry.js → p-1cdd4c7f.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-61214088.entry.js → p-1fbc37de.entry.js} +1 -1
- package/dist/ku4web-components/{p-96b69344.entry.js → p-20d3e65d.entry.js} +1 -1
- package/dist/ku4web-components/{p-6cfd9011.system.entry.js → p-24bf4b99.system.entry.js} +1 -1
- package/dist/ku4web-components/p-2da41fcc.entry.js +1 -0
- package/dist/ku4web-components/p-371ff218.entry.js +1 -0
- package/dist/ku4web-components/{p-7bfc256a.system.entry.js → p-3b70ff65.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-e6b3a708.js → p-42dd73f2.js} +1 -1
- package/dist/ku4web-components/{p-0f03feb6.system.entry.js → p-4d4d3cc4.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-073cefec.system.entry.js → p-53605e68.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-91aa94d4.system.entry.js → p-5a6bad52.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-881e100a.js → p-5e796581.js} +0 -0
- package/dist/ku4web-components/{p-10198308.system.entry.js → p-689b87db.system.entry.js} +1 -1
- package/dist/ku4web-components/p-6dad23e0.entry.js +1 -0
- package/dist/ku4web-components/{p-f3aedfdb.system.entry.js → p-72066e9d.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-f3fbe1e6.entry.js → p-72219668.entry.js} +1 -1
- package/dist/ku4web-components/{p-2b3bb150.system.entry.js → p-774dbc9e.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-96eccb13.system.entry.js → p-782336cd.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-96ec7b4f.system.js → p-829fb4ce.system.js} +1 -1
- package/dist/ku4web-components/{p-9d241b2a.entry.js → p-8583d382.entry.js} +1 -1
- package/dist/ku4web-components/{p-99854682.system.entry.js → p-895853ef.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-fbf3ad1e.system.js → p-8b2d8a2a.system.js} +0 -0
- package/dist/ku4web-components/{p-ecf7b1be.system.entry.js → p-97d806d2.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-288482da.system.entry.js → p-9ba0f967.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-bd251367.entry.js → p-a0dc0327.entry.js} +1 -1
- package/dist/ku4web-components/{p-6a40ccaa.entry.js → p-a5f54bc0.entry.js} +1 -1
- package/dist/ku4web-components/{p-d848909c.system.entry.js → p-a61f7c42.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-47dc2714.entry.js → p-abcf4c43.entry.js} +1 -1
- package/dist/ku4web-components/{p-7ed66688.system.entry.js → p-b02eb970.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-9bf34cc7.system.entry.js → p-bd83ef31.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-c4479d3b.system.entry.js → p-d57468ab.system.entry.js} +1 -1
- package/dist/ku4web-components/p-d66b1c43.system.js +1 -0
- package/dist/ku4web-components/{p-579ff41b.system.entry.js → p-e550fd09.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-3f2a008c.entry.js → p-e8d5dcce.entry.js} +1 -1
- package/dist/ku4web-components/p-eace33d2.system.entry.js +1 -0
- package/dist/ku4web-components/{p-320e2fe0.entry.js → p-ecf06d64.entry.js} +1 -1
- package/dist/ku4web-components/{p-5eadf115.entry.js → p-edfa2aea.entry.js} +1 -1
- package/dist/ku4web-components/{p-c798faf2.entry.js → p-f2a603c3.entry.js} +1 -1
- package/dist/ku4web-components/p-f6b9d36e.entry.js +1 -0
- package/dist/ku4web-components/{p-a352f533.system.js → p-f8a2bf9b.system.js} +1 -1
- package/dist/ku4web-components/{p-3f147a02.entry.js → p-fd6bcdde.entry.js} +1 -1
- package/dist/types/components/ku4-modal/ku4-modal.d.ts +5 -0
- package/dist/types/components.d.ts +10 -2
- package/package.json +31 -31
- package/react/index.js +1 -1
- package/react/index.mjs +1 -1
- package/vue/index.js +1 -1
- package/vue/index.mjs +1 -1
- package/vue3/index.js +1 -1
- package/vue3/index.mjs +1 -1
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/css-shim-6ca600c2.js +0 -6
- package/dist/cjs/dom-8d415461.js +0 -75
- package/dist/cjs/index-517c4086.js +0 -14
- package/dist/cjs/index-a530dbc9.js +0 -10
- package/dist/cjs/index-c904eb3a.js +0 -10
- package/dist/cjs/index-ca4336bd.js +0 -3093
- package/dist/cjs/uid-8ec2f63e.js +0 -11
- package/dist/collection/capabilities/a11y/aria.js +0 -26
- package/dist/collection/capabilities/angular/index.js +0 -24
- package/dist/collection/capabilities/decorators/deprecated.js +0 -20
- package/dist/collection/capabilities/decorators/index.js +0 -3
- package/dist/collection/capabilities/decorators/memoize.js +0 -7
- package/dist/collection/capabilities/dom/isFocusable.js +0 -7
- package/dist/collection/capabilities/dom/queryFocusable.js +0 -2
- package/dist/collection/capabilities/identity/uid.js +0 -6
- package/dist/collection/capabilities/mask/index.js +0 -5
- package/dist/collection/capabilities/mask/patterns/date.js +0 -40
- package/dist/collection/capabilities/mask/patterns/index.js +0 -7
- package/dist/collection/capabilities/react/index.js +0 -25
- package/dist/collection/capabilities/testing/html.js +0 -14
- package/dist/collection/capabilities/testing/styles.js +0 -14
- package/dist/collection/capabilities/vue/index.js +0 -28
- package/dist/collection/capabilities/vue3/index.js +0 -26
- package/dist/collection/collection-manifest.json +0 -31
- package/dist/collection/components/ku4-carousel/ku4-carousel.css +0 -221
- package/dist/collection/components/ku4-carousel/ku4-carousel.js +0 -369
- package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.css +0 -32
- package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.js +0 -112
- package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.css +0 -3
- package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.js +0 -159
- package/dist/collection/components/ku4-col/ku4-col.css +0 -601
- package/dist/collection/components/ku4-col/ku4-col.js +0 -288
- package/dist/collection/components/ku4-drawer/ku4-drawer.css +0 -56
- package/dist/collection/components/ku4-drawer/ku4-drawer.js +0 -163
- package/dist/collection/components/ku4-feature/ku4-feature.js +0 -70
- package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.css +0 -3
- package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.js +0 -441
- package/dist/collection/components/ku4-form/ku4-form.js +0 -225
- package/dist/collection/components/ku4-grid/ku4-grid.css +0 -751
- package/dist/collection/components/ku4-grid/ku4-grid.js +0 -408
- package/dist/collection/components/ku4-label/ku4-label.css +0 -36
- package/dist/collection/components/ku4-label/ku4-label.js +0 -115
- package/dist/collection/components/ku4-mask/ku4-mask.css +0 -3
- package/dist/collection/components/ku4-mask/ku4-mask.js +0 -458
- package/dist/collection/components/ku4-modal/ku4-modal.css +0 -85
- package/dist/collection/components/ku4-modal/ku4-modal.js +0 -208
- package/dist/collection/components/ku4-panel/ku4-panel.css +0 -14
- package/dist/collection/components/ku4-panel/ku4-panel.js +0 -119
- package/dist/collection/components/ku4-preview/ku4-preview.css +0 -23
- package/dist/collection/components/ku4-preview/ku4-preview.js +0 -266
- package/dist/collection/components/ku4-tab/ku4-tab.css +0 -82
- package/dist/collection/components/ku4-tab/ku4-tab.js +0 -191
- package/dist/collection/components/ku4-tab-list/ku4-tab-list.css +0 -6
- package/dist/collection/components/ku4-tab-list/ku4-tab-list.js +0 -118
- package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.css +0 -26
- package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.js +0 -166
- package/dist/collection/components/ku4-table/ku4-table.css +0 -116
- package/dist/collection/components/ku4-table/ku4-table.js +0 -120
- package/dist/collection/components/ku4-tooltip/ku4-tooltip.css +0 -56
- package/dist/collection/components/ku4-tooltip/ku4-tooltip.js +0 -274
- package/dist/collection/components/ku4-validation/ku4-validation.css +0 -19
- package/dist/collection/components/ku4-validation/ku4-validation.js +0 -364
- package/dist/collection/components/ku4-validation/validate.js +0 -14
- package/dist/collection/index.js +0 -1
- package/dist/collection/security.js +0 -27
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/css-shim-e6dd2538.js +0 -4
- package/dist/esm/dom-7fc649b0.js +0 -73
- package/dist/esm/index-135dacad.js +0 -3
- package/dist/esm/index-316624d1.js +0 -3
- package/dist/esm/index-7fe386de.js +0 -3057
- package/dist/esm/index-7ff6e718.js +0 -3
- package/dist/esm/shadow-css-4d56fa31.js +0 -388
- package/dist/esm/uid-a7ff854d.js +0 -9
- package/dist/ku4web-components/app-globals-0f993ce5.js +0 -3
- package/dist/ku4web-components/app-globals-497eb362.system.js +0 -1
- package/dist/ku4web-components/css-shim-b6eec689.system.js +0 -1
- package/dist/ku4web-components/css-shim-e6dd2538.js +0 -4
- package/dist/ku4web-components/dom-7fc649b0.js +0 -73
- package/dist/ku4web-components/dom-88962da0.system.js +0 -21
- package/dist/ku4web-components/index-135dacad.js +0 -3
- package/dist/ku4web-components/index-5029fd1f.system.js +0 -1
- package/dist/ku4web-components/index-7d482e8a.system.js +0 -1
- package/dist/ku4web-components/index-7fe386de.js +0 -3057
- package/dist/ku4web-components/index-7ff6e718.js +0 -3
- package/dist/ku4web-components/index-dcd9a8a7.system.js +0 -1
- package/dist/ku4web-components/index.system.js +0 -1
- package/dist/ku4web-components/ku4-carousel-controls.entry.js +0 -89
- package/dist/ku4web-components/ku4-carousel-controls.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-carousel-slide.entry.js +0 -47
- package/dist/ku4web-components/ku4-carousel-slide.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-carousel.entry.js +0 -175
- package/dist/ku4web-components/ku4-carousel.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-col.entry.js +0 -75
- package/dist/ku4web-components/ku4-col.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-drawer.entry.js +0 -35
- package/dist/ku4web-components/ku4-drawer.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-feature.entry.js +0 -29
- package/dist/ku4web-components/ku4-feature.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-focus-trap.entry.js +0 -323
- package/dist/ku4web-components/ku4-focus-trap.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-form.entry.js +0 -112
- package/dist/ku4web-components/ku4-form.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-grid.entry.js +0 -108
- package/dist/ku4web-components/ku4-grid.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-label.entry.js +0 -70
- package/dist/ku4web-components/ku4-label.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-mask.entry.js +0 -342
- package/dist/ku4web-components/ku4-mask.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-modal.entry.js +0 -75
- package/dist/ku4web-components/ku4-modal.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-panel.entry.js +0 -49
- package/dist/ku4web-components/ku4-panel.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-preview.entry.js +0 -128
- package/dist/ku4web-components/ku4-preview.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-tab-list.entry.js +0 -76
- package/dist/ku4web-components/ku4-tab-list.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-tab-panel.entry.js +0 -72
- package/dist/ku4web-components/ku4-tab-panel.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-tab.entry.js +0 -63
- package/dist/ku4web-components/ku4-tab.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-table.entry.js +0 -79
- package/dist/ku4web-components/ku4-table.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-tooltip.entry.js +0 -120
- package/dist/ku4web-components/ku4-tooltip.system.entry.js +0 -1
- package/dist/ku4web-components/ku4-validation.entry.js +0 -162
- package/dist/ku4web-components/ku4-validation.system.entry.js +0 -1
- package/dist/ku4web-components/ku4web-components.system.js +0 -1
- package/dist/ku4web-components/p-0f77bef9.system.js +0 -1
- package/dist/ku4web-components/p-171182e4.entry.js +0 -1
- package/dist/ku4web-components/p-7e69d158.entry.js +0 -1
- package/dist/ku4web-components/p-9da3612f.entry.js +0 -1
- package/dist/ku4web-components/p-b3c3b463.entry.js +0 -1
- package/dist/ku4web-components/p-b3c3d932.entry.js +0 -1
- package/dist/ku4web-components/p-ba9edd72.js +0 -1
- package/dist/ku4web-components/p-e356b3c1.system.entry.js +0 -1
- package/dist/ku4web-components/shadow-css-d0426811.system.js +0 -13
- package/dist/ku4web-components/uid-3373ce49.system.js +0 -1
- package/dist/ku4web-components/uid-a7ff854d.js +0 -9
@@ -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
|
-
}
|