@usecapsule/core-components 3.0.0 → 3.0.1-dev.1
Sign up to get free protection for your applications and to get access to all the features.
- package/css/capsule-core.css +83 -14
- package/css/capsule-core.css.map +1 -1
- package/dist/capsule/capsule.esm.js +1 -1
- package/dist/capsule/capsule.esm.js.map +1 -1
- package/dist/capsule/index.esm.js +1 -1
- package/dist/capsule/index.esm.js.map +1 -1
- package/dist/capsule/{p-0d0a0037.entry.js → p-127ac658.entry.js} +2 -2
- package/dist/capsule/{p-0d0a0037.entry.js.map → p-127ac658.entry.js.map} +1 -1
- package/dist/capsule/p-39584a7b.entry.js +2 -0
- package/dist/capsule/p-39584a7b.entry.js.map +1 -0
- package/dist/capsule/p-69756614.entry.js +10 -0
- package/dist/capsule/{p-d28b96ba.entry.js.map → p-69756614.entry.js.map} +1 -1
- package/dist/capsule/p-73398222.entry.js +2 -0
- package/dist/capsule/{p-fcead80b.entry.js.map → p-73398222.entry.js.map} +1 -1
- package/dist/capsule/p-8de15b15.entry.js +29 -0
- package/dist/capsule/p-8de15b15.entry.js.map +1 -0
- package/dist/capsule/p-97c33636.js +3 -0
- package/dist/capsule/p-97c33636.js.map +1 -0
- package/dist/capsule/p-f2393be6.js +2 -0
- package/dist/capsule/p-f2393be6.js.map +1 -0
- package/dist/capsule/p-f72482c3.entry.js +2 -0
- package/dist/capsule/{p-ad14a817.entry.js.map → p-f72482c3.entry.js.map} +1 -1
- package/dist/capsule/{p-fa078837.entry.js → p-fd26ce6e.entry.js} +2 -2
- package/dist/capsule/{p-fa078837.entry.js.map → p-fd26ce6e.entry.js.map} +1 -1
- package/dist/cjs/capsule.cjs.js +10 -10
- package/dist/cjs/capsule.cjs.js.map +1 -1
- package/dist/cjs/{constants-0869a780.js → constants-9b1b01bb.js} +3 -3
- package/dist/cjs/{constants-0869a780.js.map → constants-9b1b01bb.js.map} +1 -1
- package/dist/cjs/{cpsl-alert_29.cjs.entry.js → cpsl-alert_33.cjs.entry.js} +608 -95
- package/dist/cjs/cpsl-alert_33.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-animation.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-col.cjs.entry.js +2 -2
- package/dist/cjs/cpsl-grid.cjs.entry.js +3 -3
- package/dist/cjs/cpsl-info-box.cjs.entry.js +3 -3
- package/dist/cjs/cpsl-info-box.cjs.entry.js.map +1 -1
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js +55 -0
- package/dist/cjs/cpsl-modal-v2.cjs.entry.js.map +1 -0
- package/dist/cjs/cpsl-row.cjs.entry.js +2 -2
- package/dist/cjs/index-5293d431.js +1414 -0
- package/dist/cjs/index-5293d431.js.map +1 -0
- package/dist/cjs/index.cjs.js +16 -4
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/icons/brush.svg +3 -0
- package/dist/collection/assets/icons/chevron-up.svg +2 -2
- package/dist/collection/assets/icons/close.svg +3 -4
- package/dist/collection/assets/icons/cube.svg +3 -0
- package/dist/collection/assets/icons/file.svg +3 -0
- package/dist/collection/assets/icons/image.svg +3 -0
- package/dist/collection/assets/icons/index.js +10 -1
- package/dist/collection/assets/icons/index.js.map +1 -1
- package/dist/collection/assets/icons/lightning-01.svg +3 -0
- package/dist/collection/assets/icons/lightning.svg +2 -2
- package/dist/collection/assets/icons/menu.svg +3 -0
- package/dist/collection/assets/icons/refresh.svg +3 -0
- package/dist/collection/assets/icons/stars.svg +4 -0
- package/dist/collection/assets/icons/x.svg +3 -0
- package/dist/collection/collection-manifest.json +7 -2
- package/dist/collection/components/cpsl-alert/cpsl-alert.js +2 -2
- package/dist/collection/components/cpsl-alert/cpsl-alert.js.map +1 -1
- package/dist/collection/components/cpsl-animation/cpsl-animation.js +1 -1
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js +20 -4
- package/dist/collection/components/cpsl-app-bar/cpsl-app-bar.js.map +1 -1
- package/dist/collection/components/cpsl-avatar/cpsl-avatar.js +1 -1
- package/dist/collection/components/cpsl-button/cpsl-button.css +113 -17
- package/dist/collection/components/cpsl-button/cpsl-button.js +63 -7
- package/dist/collection/components/cpsl-button/cpsl-button.js.map +1 -1
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.css +1 -0
- package/dist/collection/components/cpsl-button-group/cpsl-button-group.js +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.css +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.js +1 -1
- package/dist/collection/components/cpsl-card/cpsl-card.js.map +1 -1
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.css +2 -2
- package/dist/collection/components/cpsl-checkbox/cpsl-checkbox.js +1 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.css +1 -1
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js +2 -2
- package/dist/collection/components/cpsl-code-input/cpsl-code-input.js.map +1 -1
- package/dist/collection/components/cpsl-col/cpsl-col.js +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.css +1 -1
- package/dist/collection/components/cpsl-divider/cpsl-divider.js +1 -1
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js +84 -11
- package/dist/collection/components/cpsl-drawer/cpsl-drawer.js.map +1 -1
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js +1 -1
- package/dist/collection/components/cpsl-dropdown/cpsl-dropdown.js.map +1 -1
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.css +210 -0
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js +406 -0
- package/dist/collection/components/cpsl-file-upload/cpsl-file-upload.js.map +1 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js +29 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js +37 -0
- package/dist/collection/components/cpsl-file-upload/test/cpsl-file-upload.spec.js.map +1 -0
- package/dist/collection/components/cpsl-grid/cpsl-grid.js +2 -2
- package/dist/collection/components/cpsl-icon/cpsl-icon.js +2 -2
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.css +1 -1
- package/dist/collection/components/cpsl-info-box/cpsl-info-box.js +1 -1
- package/dist/collection/components/cpsl-input/cpsl-input.css +7 -6
- package/dist/collection/components/cpsl-input/cpsl-input.js +3 -8
- package/dist/collection/components/cpsl-input/cpsl-input.js.map +1 -1
- package/dist/collection/components/cpsl-modal/cpsl-modal.css +4 -4
- package/dist/collection/components/cpsl-modal/cpsl-modal.js +1 -0
- package/dist/collection/components/cpsl-modal/cpsl-modal.js.map +1 -1
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.css +91 -0
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js +224 -0
- package/dist/collection/components/cpsl-modal-v2/cpsl-modal-v2.js.map +1 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js +29 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js +37 -0
- package/dist/collection/components/cpsl-modal-v2/test/cpsl-modal-v2.spec.js.map +1 -0
- package/dist/collection/components/cpsl-nav-button-group/cpsl-nav-button-group.js +1 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.css +1 -1
- package/dist/collection/components/cpsl-overlay/cpsl-overlay.js +1 -1
- package/dist/collection/components/cpsl-pagination/cpsl-pagination.js +1 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.css +1 -1
- package/dist/collection/components/cpsl-pill/cpsl-pill.js +1 -1
- package/dist/collection/components/cpsl-popover/cpsl-popover.css +98 -0
- package/dist/collection/components/cpsl-popover/cpsl-popover.js +470 -0
- package/dist/collection/components/cpsl-popover/cpsl-popover.js.map +1 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js +29 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js +37 -0
- package/dist/collection/components/cpsl-popover/test/cpsl-popover.spec.js.map +1 -0
- package/dist/collection/components/cpsl-progress-indicator/cpsl-progress-indicator.css +3 -3
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.css +1 -1
- package/dist/collection/components/cpsl-qr-code/cpsl-qr-code.js +1 -1
- package/dist/collection/components/cpsl-radio/cpsl-radio.css +2 -2
- package/dist/collection/components/cpsl-radio/cpsl-radio.js +1 -1
- package/dist/collection/components/cpsl-row/cpsl-row.js +1 -1
- package/dist/collection/components/cpsl-select/cpsl-select.css +227 -0
- package/dist/collection/components/cpsl-select/cpsl-select.js +393 -0
- package/dist/collection/components/cpsl-select/cpsl-select.js.map +1 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js +29 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js +37 -0
- package/dist/collection/components/cpsl-select/test/cpsl-select.spec.js.map +1 -0
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.css +104 -0
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js +85 -0
- package/dist/collection/components/cpsl-select-item/cpsl-select-item.js.map +1 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js +29 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.e2e.js.map +1 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js +37 -0
- package/dist/collection/components/cpsl-select-item/test/cpsl-select-item.spec.js.map +1 -0
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.css +3 -3
- package/dist/collection/components/cpsl-slide-button/cpsl-slide-button.js +3 -3
- package/dist/collection/components/cpsl-spinner/cpsl-spinner.js +2 -2
- package/dist/collection/components/cpsl-switch/cpsl-switch.css +4 -4
- package/dist/collection/components/cpsl-switch/cpsl-switch.js +1 -1
- package/dist/collection/components/cpsl-tab/cpsl-tab.js +1 -1
- package/dist/collection/components/cpsl-table/cpsl-table.css +25 -64
- package/dist/collection/components/cpsl-table/cpsl-table.js +1 -63
- package/dist/collection/components/cpsl-table/cpsl-table.js.map +1 -1
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.css +2 -2
- package/dist/collection/components/cpsl-tabs/cpsl-tabs.js +1 -1
- package/dist/collection/components/cpsl-text/cpsl-text.css +4 -0
- package/dist/collection/components/cpsl-text/cpsl-text.js +5 -4
- package/dist/collection/components/cpsl-text/cpsl-text.js.map +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.css +1 -1
- package/dist/collection/components/cpsl-tile-button/cpsl-tile-button.js +2 -2
- package/dist/collection/constants.js +2 -2
- package/dist/collection/constants.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/interface.js.map +1 -1
- package/dist/collection/utils/theme/generateBorderRadii.js +4 -0
- package/dist/collection/utils/theme/generateBorderRadii.js.map +1 -1
- package/dist/collection/utils/theme/generatePalette.js +11 -3
- package/dist/collection/utils/theme/generatePalette.js.map +1 -1
- package/dist/esm/capsule.js +11 -11
- package/dist/esm/capsule.js.map +1 -1
- package/dist/esm/{constants-6acf4ea8.js → constants-fce138fa.js} +3 -3
- package/dist/esm/{constants-6acf4ea8.js.map → constants-fce138fa.js.map} +1 -1
- package/dist/esm/{cpsl-alert_29.entry.js → cpsl-alert_33.entry.js} +605 -96
- package/dist/esm/cpsl-alert_33.entry.js.map +1 -0
- package/dist/esm/cpsl-animation.entry.js +2 -2
- package/dist/esm/cpsl-col.entry.js +2 -2
- package/dist/esm/cpsl-grid.entry.js +3 -3
- package/dist/esm/cpsl-info-box.entry.js +3 -3
- package/dist/esm/cpsl-info-box.entry.js.map +1 -1
- package/dist/esm/cpsl-modal-v2.entry.js +51 -0
- package/dist/esm/cpsl-modal-v2.entry.js.map +1 -0
- package/dist/esm/cpsl-row.entry.js +2 -2
- package/dist/esm/index-97ed6ec1.js +1383 -0
- package/dist/esm/index-97ed6ec1.js.map +1 -0
- package/dist/esm/index.js +16 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/loader/cdn.js +1 -3
- package/dist/loader/index.cjs.js +1 -3
- package/dist/loader/index.es2017.js +1 -3
- package/dist/loader/index.js +1 -3
- package/dist/types/assets/icons/index.d.ts +9 -0
- package/dist/types/components/cpsl-app-bar/cpsl-app-bar.d.ts +1 -0
- package/dist/types/components/cpsl-button/cpsl-button.d.ts +4 -1
- package/dist/types/components/cpsl-drawer/cpsl-drawer.d.ts +10 -1
- package/dist/types/components/cpsl-file-upload/cpsl-file-upload.d.ts +34 -0
- package/dist/types/components/cpsl-input/cpsl-input.d.ts +1 -1
- package/dist/types/components/cpsl-modal-v2/cpsl-modal-v2.d.ts +17 -0
- package/dist/types/components/cpsl-popover/cpsl-popover.d.ts +33 -0
- package/dist/types/components/cpsl-select/cpsl-select.d.ts +35 -0
- package/dist/types/components/cpsl-select-item/cpsl-select-item.d.ts +8 -0
- package/dist/types/components/cpsl-table/cpsl-table.d.ts +0 -3
- package/dist/types/components/cpsl-text/cpsl-text.d.ts +1 -1
- package/dist/types/components.d.ts +580 -28
- package/dist/types/constants.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/interface.d.ts +44 -0
- package/dist/types/stencil-public-runtime.d.ts +3 -8
- package/package.json +2 -3
- package/dist/capsule/p-4d8e4d86.entry.js +0 -29
- package/dist/capsule/p-4d8e4d86.entry.js.map +0 -1
- package/dist/capsule/p-86e48e61.js +0 -3
- package/dist/capsule/p-86e48e61.js.map +0 -1
- package/dist/capsule/p-ad14a817.entry.js +0 -2
- package/dist/capsule/p-b6b38e73.js +0 -2
- package/dist/capsule/p-b6b38e73.js.map +0 -1
- package/dist/capsule/p-d28b96ba.entry.js +0 -10
- package/dist/capsule/p-fcead80b.entry.js +0 -2
- package/dist/cjs/cpsl-alert_29.cjs.entry.js.map +0 -1
- package/dist/cjs/index-5733071e.js +0 -2020
- package/dist/cjs/index-5733071e.js.map +0 -1
- package/dist/collection/components/cpsl-table/table-interface.js +0 -2
- package/dist/collection/components/cpsl-table/table-interface.js.map +0 -1
- package/dist/esm/cpsl-alert_29.entry.js.map +0 -1
- package/dist/esm/index-8fe9f35e.js +0 -1990
- package/dist/esm/index-8fe9f35e.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/types/components/cpsl-table/table-interface.d.ts +0 -19
@@ -0,0 +1,37 @@
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
+
function fulfilled(value) { try {
|
5
|
+
step(generator.next(value));
|
6
|
+
}
|
7
|
+
catch (e) {
|
8
|
+
reject(e);
|
9
|
+
} }
|
10
|
+
function rejected(value) { try {
|
11
|
+
step(generator["throw"](value));
|
12
|
+
}
|
13
|
+
catch (e) {
|
14
|
+
reject(e);
|
15
|
+
} }
|
16
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
17
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
18
|
+
});
|
19
|
+
};
|
20
|
+
import { newSpecPage } from "@stencil/core/testing";
|
21
|
+
import { CpslSelect } from "../cpsl-select";
|
22
|
+
describe('cpsl-select', () => {
|
23
|
+
it('renders', () => __awaiter(void 0, void 0, void 0, function* () {
|
24
|
+
const page = yield newSpecPage({
|
25
|
+
components: [CpslSelect],
|
26
|
+
html: `<cpsl-select></cpsl-select>`,
|
27
|
+
});
|
28
|
+
expect(page.root).toEqualHtml(`
|
29
|
+
<cpsl-select>
|
30
|
+
<mock:shadow-root>
|
31
|
+
<slot></slot>
|
32
|
+
</mock:shadow-root>
|
33
|
+
</cpsl-select>
|
34
|
+
`);
|
35
|
+
}));
|
36
|
+
});
|
37
|
+
//# sourceMappingURL=cpsl-select.spec.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cpsl-select.spec.js","sourceRoot":"","sources":["../../../../../src/components/cpsl-select/test/cpsl-select.spec.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,SAAS,EAAE,GAAS,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,UAAU,CAAC;YACxB,IAAI,EAAE,6BAA6B;SACpC,CAAC,CAAC;QACH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;KAM7B,CAAC,CAAC;IACL,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from '@stencil/core/testing';\nimport { CpslSelect } from '../cpsl-select';\n\ndescribe('cpsl-select', () => {\n it('renders', async () => {\n const page = await newSpecPage({\n components: [CpslSelect],\n html: `<cpsl-select></cpsl-select>`,\n });\n expect(page.root).toEqualHtml(`\n <cpsl-select>\n <mock:shadow-root>\n <slot></slot>\n </mock:shadow-root>\n </cpsl-select>\n `);\n });\n});\n"]}
|
@@ -0,0 +1,104 @@
|
|
1
|
+
/**
|
2
|
+
* Convert a font size to a dynamic font size.
|
3
|
+
* Fonts that participate in Dynamic Type should use
|
4
|
+
* dynamic font sizes.
|
5
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
6
|
+
* @param unit (optional) - The unit to convert to. Use this if you want to
|
7
|
+
* convert to a unit other than $baselineUnit.
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* Convert a font size to a dynamic font size but impose
|
11
|
+
* a maximum font size.
|
12
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
13
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
14
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
15
|
+
* convert to a unit other than $baselineUnit.
|
16
|
+
*/
|
17
|
+
/**
|
18
|
+
* Convert a font size to a dynamic font size but impose
|
19
|
+
* a minimum font size.
|
20
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
21
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
22
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
23
|
+
* convert to a unit other than $baselineUnit.
|
24
|
+
*/
|
25
|
+
/**
|
26
|
+
* Convert a font size to a dynamic font size but impose
|
27
|
+
* maximum and minimum font sizes.
|
28
|
+
* @param size - The initial font size including the unit (i.e. px or pt)
|
29
|
+
* @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
|
30
|
+
* @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
|
31
|
+
* @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
|
32
|
+
* convert to a unit other than $baselineUnit.
|
33
|
+
*/
|
34
|
+
/**
|
35
|
+
* A heuristic that applies CSS to tablet
|
36
|
+
* viewports.
|
37
|
+
*
|
38
|
+
* Usage:
|
39
|
+
* @include tablet-viewport() {
|
40
|
+
* :host {
|
41
|
+
* background-color: green;
|
42
|
+
* }
|
43
|
+
* }
|
44
|
+
*/
|
45
|
+
/**
|
46
|
+
* A heuristic that applies CSS to mobile
|
47
|
+
* viewports (i.e. phones, not tablets).
|
48
|
+
*
|
49
|
+
* Usage:
|
50
|
+
* @include mobile-viewport() {
|
51
|
+
* :host {
|
52
|
+
* background-color: blue;
|
53
|
+
* }
|
54
|
+
* }
|
55
|
+
*/
|
56
|
+
:host {
|
57
|
+
--container-background-color: var(--cpsl-color-select-surface-default);
|
58
|
+
--container-hover-background-color: var(--cpsl-color-select-surface-hover);
|
59
|
+
--container-border-color: var(--cpsl-color-select-dropdown-border);
|
60
|
+
--container-border-width: 1px;
|
61
|
+
--container-padding-start: 16px;
|
62
|
+
--container-padding-end: 16px;
|
63
|
+
--container-padding-top: 16px;
|
64
|
+
--container-padding-bottom: 16px;
|
65
|
+
display: block;
|
66
|
+
font-family: var(--cpsl-font-family, inherit);
|
67
|
+
cursor: pointer;
|
68
|
+
}
|
69
|
+
|
70
|
+
.container {
|
71
|
+
-webkit-padding-start: var(--container-padding-start);
|
72
|
+
padding-inline-start: var(--container-padding-start);
|
73
|
+
-webkit-padding-end: var(--container-padding-end);
|
74
|
+
padding-inline-end: var(--container-padding-end);
|
75
|
+
padding-top: var(--container-padding-top);
|
76
|
+
padding-bottom: var(--container-padding-bottom);
|
77
|
+
background-color: var(--container-background-color);
|
78
|
+
border-style: solid;
|
79
|
+
border-width: 0px;
|
80
|
+
border-bottom-width: var(--container-border-width);
|
81
|
+
border-color: var(--container-border-color);
|
82
|
+
height: 100%;
|
83
|
+
display: flex;
|
84
|
+
align-items: center;
|
85
|
+
}
|
86
|
+
.container:hover {
|
87
|
+
background-color: var(--container-hover-background-color);
|
88
|
+
}
|
89
|
+
|
90
|
+
.selected {
|
91
|
+
background-color: var(--container-hover-background-color);
|
92
|
+
}
|
93
|
+
|
94
|
+
:host(.in-select-box) {
|
95
|
+
--container-background-color: transparent;
|
96
|
+
--container-hover-background-color: transparent;
|
97
|
+
--container-border-width: 0px;
|
98
|
+
--container-padding-start: 0px;
|
99
|
+
--container-padding-end: 0px;
|
100
|
+
--container-padding-top: 0px;
|
101
|
+
--container-padding-bottom: 0px;
|
102
|
+
flex: 1;
|
103
|
+
height: 100%;
|
104
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
2
|
+
export class CpslSelectItem {
|
3
|
+
constructor() {
|
4
|
+
this.handleItemClick = () => {
|
5
|
+
this.cpslSelectItemClick.emit(this.value);
|
6
|
+
};
|
7
|
+
this.selected = undefined;
|
8
|
+
this.value = undefined;
|
9
|
+
}
|
10
|
+
render() {
|
11
|
+
return (h(Host, { key: 'd85478b3b2eaa5c99ba1f3dbc0e3aae6d368540c' }, h("div", { key: '6066108863ef8440f79732e94a7849c06fe8cd5b', class: { container: true, selected: this.selected }, onClick: this.handleItemClick }, h("slot", { key: '857ce8891d6ae250e48e4af417e596b2a99fedb7' }))));
|
12
|
+
}
|
13
|
+
static get is() { return "cpsl-select-item"; }
|
14
|
+
static get encapsulation() { return "shadow"; }
|
15
|
+
static get originalStyleUrls() {
|
16
|
+
return {
|
17
|
+
"$": ["cpsl-select-item.scss"]
|
18
|
+
};
|
19
|
+
}
|
20
|
+
static get styleUrls() {
|
21
|
+
return {
|
22
|
+
"$": ["cpsl-select-item.css"]
|
23
|
+
};
|
24
|
+
}
|
25
|
+
static get properties() {
|
26
|
+
return {
|
27
|
+
"selected": {
|
28
|
+
"type": "boolean",
|
29
|
+
"mutable": false,
|
30
|
+
"complexType": {
|
31
|
+
"original": "boolean",
|
32
|
+
"resolved": "boolean",
|
33
|
+
"references": {}
|
34
|
+
},
|
35
|
+
"required": false,
|
36
|
+
"optional": true,
|
37
|
+
"docs": {
|
38
|
+
"tags": [],
|
39
|
+
"text": "Whether the item is selected or not."
|
40
|
+
},
|
41
|
+
"attribute": "selected",
|
42
|
+
"reflect": false
|
43
|
+
},
|
44
|
+
"value": {
|
45
|
+
"type": "string",
|
46
|
+
"mutable": false,
|
47
|
+
"complexType": {
|
48
|
+
"original": "string",
|
49
|
+
"resolved": "string",
|
50
|
+
"references": {}
|
51
|
+
},
|
52
|
+
"required": false,
|
53
|
+
"optional": false,
|
54
|
+
"docs": {
|
55
|
+
"tags": [],
|
56
|
+
"text": "Value of the item."
|
57
|
+
},
|
58
|
+
"attribute": "value",
|
59
|
+
"reflect": false
|
60
|
+
}
|
61
|
+
};
|
62
|
+
}
|
63
|
+
static get events() {
|
64
|
+
return [{
|
65
|
+
"method": "cpslSelectItemClick",
|
66
|
+
"name": "cpslSelectItemClick",
|
67
|
+
"bubbles": true,
|
68
|
+
"cancelable": true,
|
69
|
+
"composed": true,
|
70
|
+
"docs": {
|
71
|
+
"tags": [{
|
72
|
+
"name": "internal",
|
73
|
+
"text": undefined
|
74
|
+
}],
|
75
|
+
"text": "Called when item is clicked."
|
76
|
+
},
|
77
|
+
"complexType": {
|
78
|
+
"original": "string",
|
79
|
+
"resolved": "string",
|
80
|
+
"references": {}
|
81
|
+
}
|
82
|
+
}];
|
83
|
+
}
|
84
|
+
}
|
85
|
+
//# sourceMappingURL=cpsl-select-item.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cpsl-select-item.js","sourceRoot":"","sources":["../../../../src/components/cpsl-select-item/cpsl-select-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAgB,MAAM,eAAe,CAAC;AAO9E,MAAM,OAAO,cAAc;;QAiBjB,oBAAe,GAAG,GAAG,EAAE;YAC7B,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC5C,CAAC,CAAC;;;;IAEF,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,4DAAK,KAAK,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,eAAe;gBACrF,8DAAa,CACT,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, Event, h, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'cpsl-select-item',\n styleUrl: 'cpsl-select-item.scss',\n shadow: true,\n})\nexport class CpslSelectItem {\n /**\n * Whether the item is selected or not.\n */\n @Prop() selected?: boolean;\n\n /**\n * Value of the item.\n */\n @Prop() value: string;\n\n /**\n * Called when item is clicked.\n * @internal\n */\n @Event() cpslSelectItemClick: EventEmitter<string>;\n\n private handleItemClick = () => {\n this.cpslSelectItemClick.emit(this.value);\n };\n\n render() {\n return (\n <Host>\n <div class={{ container: true, selected: this.selected }} onClick={this.handleItemClick}>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
+
function fulfilled(value) { try {
|
5
|
+
step(generator.next(value));
|
6
|
+
}
|
7
|
+
catch (e) {
|
8
|
+
reject(e);
|
9
|
+
} }
|
10
|
+
function rejected(value) { try {
|
11
|
+
step(generator["throw"](value));
|
12
|
+
}
|
13
|
+
catch (e) {
|
14
|
+
reject(e);
|
15
|
+
} }
|
16
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
17
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
18
|
+
});
|
19
|
+
};
|
20
|
+
import { newE2EPage } from "@stencil/core/testing";
|
21
|
+
describe('cpsl-select-item', () => {
|
22
|
+
it('renders', () => __awaiter(void 0, void 0, void 0, function* () {
|
23
|
+
const page = yield newE2EPage();
|
24
|
+
yield page.setContent('<cpsl-select-item></cpsl-select-item>');
|
25
|
+
const element = yield page.find('cpsl-select-item');
|
26
|
+
expect(element).toHaveClass('hydrated');
|
27
|
+
}));
|
28
|
+
});
|
29
|
+
//# sourceMappingURL=cpsl-select-item.e2e.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cpsl-select-item.e2e.js","sourceRoot":"","sources":["../../../../../src/components/cpsl-select-item/test/cpsl-select-item.e2e.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,EAAE,CAAC,SAAS,EAAE,GAAS,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;QAChC,MAAM,IAAI,CAAC,UAAU,CAAC,uCAAuC,CAAC,CAAC;QAE/D,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;QACpD,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAC1C,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from '@stencil/core/testing';\n\ndescribe('cpsl-select-item', () => {\n it('renders', async () => {\n const page = await newE2EPage();\n await page.setContent('<cpsl-select-item></cpsl-select-item>');\n\n const element = await page.find('cpsl-select-item');\n expect(element).toHaveClass('hydrated');\n });\n});\n"]}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
4
|
+
function fulfilled(value) { try {
|
5
|
+
step(generator.next(value));
|
6
|
+
}
|
7
|
+
catch (e) {
|
8
|
+
reject(e);
|
9
|
+
} }
|
10
|
+
function rejected(value) { try {
|
11
|
+
step(generator["throw"](value));
|
12
|
+
}
|
13
|
+
catch (e) {
|
14
|
+
reject(e);
|
15
|
+
} }
|
16
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
17
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
18
|
+
});
|
19
|
+
};
|
20
|
+
import { newSpecPage } from "@stencil/core/testing";
|
21
|
+
import { CpslSelectItem } from "../cpsl-select-item";
|
22
|
+
describe('cpsl-select-item', () => {
|
23
|
+
it('renders', () => __awaiter(void 0, void 0, void 0, function* () {
|
24
|
+
const page = yield newSpecPage({
|
25
|
+
components: [CpslSelectItem],
|
26
|
+
html: `<cpsl-select-item></cpsl-select-item>`,
|
27
|
+
});
|
28
|
+
expect(page.root).toEqualHtml(`
|
29
|
+
<cpsl-select-item>
|
30
|
+
<mock:shadow-root>
|
31
|
+
<slot></slot>
|
32
|
+
</mock:shadow-root>
|
33
|
+
</cpsl-select-item>
|
34
|
+
`);
|
35
|
+
}));
|
36
|
+
});
|
37
|
+
//# sourceMappingURL=cpsl-select-item.spec.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"cpsl-select-item.spec.js","sourceRoot":"","sources":["../../../../../src/components/cpsl-select-item/test/cpsl-select-item.spec.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,EAAE,CAAC,SAAS,EAAE,GAAS,EAAE;QACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,cAAc,CAAC;YAC5B,IAAI,EAAE,uCAAuC;SAC9C,CAAC,CAAC;QACH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;KAM7B,CAAC,CAAC;IACL,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from '@stencil/core/testing';\nimport { CpslSelectItem } from '../cpsl-select-item';\n\ndescribe('cpsl-select-item', () => {\n it('renders', async () => {\n const page = await newSpecPage({\n components: [CpslSelectItem],\n html: `<cpsl-select-item></cpsl-select-item>`,\n });\n expect(page.root).toEqualHtml(`\n <cpsl-select-item>\n <mock:shadow-root>\n <slot></slot>\n </mock:shadow-root>\n </cpsl-select-item>\n `);\n });\n});\n"]}
|
@@ -101,13 +101,13 @@
|
|
101
101
|
}
|
102
102
|
|
103
103
|
.start-slider-container-background {
|
104
|
-
background
|
104
|
+
background: var(--slider-container-start-background-color);
|
105
105
|
border-color: var(--slider-container-start-border-color);
|
106
106
|
opacity: 100%;
|
107
107
|
}
|
108
108
|
|
109
109
|
.end-slider-container-background {
|
110
|
-
background
|
110
|
+
background: var(--slider-container-end-background-color);
|
111
111
|
border-color: var(--slider-container-end-border-color);
|
112
112
|
opacity: 0%;
|
113
113
|
}
|
@@ -160,7 +160,7 @@
|
|
160
160
|
height: calc(var(--slider-container-height) - 4px);
|
161
161
|
width: calc(var(--slider-container-height) - 4px);
|
162
162
|
color: var(--slider-color);
|
163
|
-
background
|
163
|
+
background: var(--slider-background-color);
|
164
164
|
border-width: var(--slider-border-width);
|
165
165
|
border-style: solid;
|
166
166
|
border-color: var(--slider-border-color);
|
@@ -114,7 +114,7 @@ export class CpslSlideButton {
|
|
114
114
|
return this.el.shadowRoot.getElementById('end-icon');
|
115
115
|
}
|
116
116
|
render() {
|
117
|
-
return (h(Host, { key: '
|
117
|
+
return (h(Host, { key: '3596eacfceeab7bff0c45c7993480367d3981d5d' }, h("div", { key: 'c1ea3019d349361d4c60e5754be9c8ff77ade08b', id: "slider-container", class: "slider-container" }, h("div", { key: '49b34608c2315629006d7fc2f56bd8f4658a70e7', id: "start-slider-container-background", class: { 'start-slider-container-background': true, 'slider-container-background': true } }), h("div", { key: '013654d1ab70af8220908d25d19ac16e31f81441', id: "end-slider-container-background", class: { 'end-slider-container-background': true, 'slider-container-background': true } }), h("div", { key: 'f09c57e5150fc41dfece17b8d0d869d8acd2326e', id: "slider", class: { slider: true, disabled: this.disabled } }, h("cpsl-icon", { key: '869f90456a9989e468d2b16d4995253615a40cef', id: "start-icon", class: { 'start-icon': true, 'icon': true }, icon: this.startIcon }), h("cpsl-icon", { key: 'fcc96741040125aa98357e7ab46e13da46a780d2', id: "end-icon", class: { 'end-icon': true, 'icon': true }, icon: this.endIcon })), h("span", { key: '56d9ebc90c1fcdfd0976574a60be0c4af0d8590d', id: "start-text", class: { 'start-text': true, 'disabled': this.disabled } }, this.startText), h("span", { key: '6f8e10b9ed8738b899279be1e599b3fcd38a894d', id: "end-text", class: "end-text" }, this.endText))));
|
118
118
|
}
|
119
119
|
static get is() { return "cpsl-slide-button"; }
|
120
120
|
static get encapsulation() { return "shadow"; }
|
@@ -152,7 +152,7 @@ export class CpslSlideButton {
|
|
152
152
|
"mutable": false,
|
153
153
|
"complexType": {
|
154
154
|
"original": "IconType",
|
155
|
-
"resolved": "\"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BQ2\" | \"BQ3\" | \"BR\" | \"BS\" | \"BT\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CD2\" | \"CF\" | \"CH\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DS\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB2\" | \"GB\" | \"GD\" | \"GE\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GQ\" | \"GR\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SE\" | \"SG\" | \"SI\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WS\" | \"YE\" | \"ZA\" | \"ZM\" | \"ZW\" | \"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"checkCircle\" | \"check\" | \"chevronUp\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"decentBrand\" | \"decent\" | \"discordBrand\" | \"discord\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"earth\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"figmaBrand\" | \"figma\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"home\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"lightning\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"rampNetworkBrand\" | \"rampNetwork\" | \"redditBrand\" | \"reddit\" | \"settings\" | \"signalBrand\" | \"signal\" | \"snapchatBrand\" | \"snapchat\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"youtubeBrand\" | \"youtube\"",
|
155
|
+
"resolved": "\"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BQ2\" | \"BQ3\" | \"BR\" | \"BS\" | \"BT\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CD2\" | \"CF\" | \"CH\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DS\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB2\" | \"GB\" | \"GD\" | \"GE\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GQ\" | \"GR\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SE\" | \"SG\" | \"SI\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WS\" | \"YE\" | \"ZA\" | \"ZM\" | \"ZW\" | \"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"brush\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"checkCircle\" | \"check\" | \"chevronUp\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"cube\" | \"decentBrand\" | \"decent\" | \"discordBrand\" | \"discord\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"earth\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"figmaBrand\" | \"figma\" | \"file\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"home\" | \"image\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"lightning01\" | \"lightning\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"menu\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"rampNetworkBrand\" | \"rampNetwork\" | \"redditBrand\" | \"reddit\" | \"refresh\" | \"settings\" | \"signalBrand\" | \"signal\" | \"snapchatBrand\" | \"snapchat\" | \"stars\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"x\" | \"youtubeBrand\" | \"youtube\"",
|
156
156
|
"references": {
|
157
157
|
"IconType": {
|
158
158
|
"location": "import",
|
@@ -192,7 +192,7 @@ export class CpslSlideButton {
|
|
192
192
|
"mutable": false,
|
193
193
|
"complexType": {
|
194
194
|
"original": "IconType",
|
195
|
-
"resolved": "\"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BQ2\" | \"BQ3\" | \"BR\" | \"BS\" | \"BT\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CD2\" | \"CF\" | \"CH\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DS\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB2\" | \"GB\" | \"GD\" | \"GE\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GQ\" | \"GR\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SE\" | \"SG\" | \"SI\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WS\" | \"YE\" | \"ZA\" | \"ZM\" | \"ZW\" | \"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"checkCircle\" | \"check\" | \"chevronUp\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"decentBrand\" | \"decent\" | \"discordBrand\" | \"discord\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"earth\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"figmaBrand\" | \"figma\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"home\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"lightning\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"rampNetworkBrand\" | \"rampNetwork\" | \"redditBrand\" | \"reddit\" | \"settings\" | \"signalBrand\" | \"signal\" | \"snapchatBrand\" | \"snapchat\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"youtubeBrand\" | \"youtube\"",
|
195
|
+
"resolved": "\"AD\" | \"AE\" | \"AF\" | \"AG\" | \"AI\" | \"AL\" | \"AM\" | \"AO\" | \"AR\" | \"AS\" | \"AT\" | \"AU\" | \"AW\" | \"AX\" | \"AZ\" | \"BA\" | \"BB\" | \"BD\" | \"BE\" | \"BF\" | \"BG\" | \"BH\" | \"BI\" | \"BJ\" | \"BL\" | \"BM\" | \"BN\" | \"BO\" | \"BQ\" | \"BQ2\" | \"BQ3\" | \"BR\" | \"BS\" | \"BT\" | \"BW\" | \"BY\" | \"BZ\" | \"CA\" | \"CC\" | \"CD\" | \"CD2\" | \"CF\" | \"CH\" | \"CK\" | \"CL\" | \"CM\" | \"CN\" | \"CO\" | \"CR\" | \"CU\" | \"CW\" | \"CX\" | \"CY\" | \"CZ\" | \"DE\" | \"DJ\" | \"DK\" | \"DM\" | \"DO\" | \"DS\" | \"DZ\" | \"EC\" | \"EE\" | \"EG\" | \"EH\" | \"ER\" | \"ES\" | \"ET\" | \"FI\" | \"FJ\" | \"FK\" | \"FM\" | \"FO\" | \"FR\" | \"GA\" | \"GB2\" | \"GB\" | \"GD\" | \"GE\" | \"GG\" | \"GH\" | \"GI\" | \"GL\" | \"GM\" | \"GN\" | \"GQ\" | \"GR\" | \"GT\" | \"GU\" | \"GW\" | \"GY\" | \"HK\" | \"HN\" | \"HR\" | \"HT\" | \"HU\" | \"ID\" | \"IE\" | \"IL\" | \"IM\" | \"IN\" | \"IO\" | \"IQ\" | \"IR\" | \"IS\" | \"IT\" | \"JE\" | \"JM\" | \"JO\" | \"JP\" | \"KE\" | \"KG\" | \"KH\" | \"KI\" | \"KM\" | \"KN\" | \"KP\" | \"KR\" | \"KW\" | \"KY\" | \"KZ\" | \"LA\" | \"LB\" | \"LC\" | \"LI\" | \"LK\" | \"LR\" | \"LS\" | \"LT\" | \"LU\" | \"LV\" | \"LY\" | \"MA\" | \"MC\" | \"MD\" | \"ME\" | \"MG\" | \"MH\" | \"MK\" | \"ML\" | \"MM\" | \"MN\" | \"MO\" | \"MP\" | \"MQ\" | \"MR\" | \"MS\" | \"MT\" | \"MU\" | \"MV\" | \"MW\" | \"MX\" | \"MY\" | \"MZ\" | \"NA\" | \"NE\" | \"NF\" | \"NG\" | \"NI\" | \"NL\" | \"NO\" | \"NP\" | \"NR\" | \"NU\" | \"NZ\" | \"OM\" | \"PA\" | \"PE\" | \"PF\" | \"PG\" | \"PH\" | \"PK\" | \"PL\" | \"PN\" | \"PR\" | \"PS\" | \"PT\" | \"PW\" | \"PY\" | \"QA\" | \"RO\" | \"RS\" | \"RU\" | \"RW\" | \"SA\" | \"SB\" | \"SC\" | \"SE\" | \"SG\" | \"SI\" | \"SK\" | \"SL\" | \"SM\" | \"SN\" | \"SO\" | \"SR\" | \"SS\" | \"ST\" | \"SV\" | \"SX\" | \"SY\" | \"SZ\" | \"TC\" | \"TD\" | \"TG\" | \"TH\" | \"TJ\" | \"TK\" | \"TL\" | \"TM\" | \"TN\" | \"TO\" | \"TR\" | \"TT\" | \"TV\" | \"TW\" | \"TZ\" | \"UA\" | \"UG\" | \"US\" | \"UY\" | \"UZ\" | \"VC\" | \"VE\" | \"VG\" | \"VI\" | \"VN\" | \"VU\" | \"WS\" | \"YE\" | \"ZA\" | \"ZM\" | \"ZW\" | \"alertCircle\" | \"angelListBrand\" | \"angelList\" | \"appleBrand\" | \"apple\" | \"arrowNarrow\" | \"arrow\" | \"backupKit\" | \"brush\" | \"capsuleLogo\" | \"capsuleRingsDark\" | \"capsuleRings\" | \"capsule\" | \"checkCircle\" | \"check\" | \"chevronUp\" | \"clock\" | \"close\" | \"clubhouseBrand\" | \"clubhouse\" | \"copy\" | \"cube\" | \"decentBrand\" | \"decent\" | \"discordBrand\" | \"discord\" | \"downloadCloud\" | \"dribbbleBrand\" | \"dribbble\" | \"earth\" | \"eyeOff\" | \"eye\" | \"facebookBrand\" | \"facebook\" | \"figmaBrand\" | \"figma\" | \"file\" | \"githubBrand\" | \"github\" | \"googleBrand\" | \"google\" | \"helpCircle\" | \"heroEmail\" | \"heroLock\" | \"heroPasskey\" | \"heroPhone\" | \"heroWallet\" | \"home\" | \"image\" | \"infoCircle\" | \"instagramBrand\" | \"instagram\" | \"key\" | \"lightning01\" | \"lightning\" | \"linkedinBrand\" | \"linkedin\" | \"mail\" | \"menu\" | \"moreLoginOptions\" | \"phone\" | \"pintrestBrand\" | \"pintrest\" | \"plusCircle\" | \"rampNetworkBrand\" | \"rampNetwork\" | \"redditBrand\" | \"reddit\" | \"refresh\" | \"settings\" | \"signalBrand\" | \"signal\" | \"snapchatBrand\" | \"snapchat\" | \"stars\" | \"telegramBrand\" | \"telegram\" | \"tikTokBrand\" | \"tikTok\" | \"tumblrBrand\" | \"tumblr\" | \"twitterBrand\" | \"twitter\" | \"wallet\" | \"x\" | \"youtubeBrand\" | \"youtube\"",
|
196
196
|
"references": {
|
197
197
|
"IconType": {
|
198
198
|
"location": "import",
|
@@ -5,13 +5,13 @@ export class CpslSpinner {
|
|
5
5
|
this.speed = 1;
|
6
6
|
}
|
7
7
|
render() {
|
8
|
-
return (h(Host, { key: '
|
8
|
+
return (h(Host, { key: '79425e262154e53691240dec1033910e693c1eaf', style: {
|
9
9
|
'height': `${this.size}px`,
|
10
10
|
'width': `${this.size}px`,
|
11
11
|
'animation': `spin ${this.speed}s linear infinite`,
|
12
12
|
'-webkit-animation': `spin ${this.speed}s linear infinite`,
|
13
13
|
'-moz-animation': `spin ${this.speed}s linear infinite`,
|
14
|
-
} }, h("svg", { key: '
|
14
|
+
} }, h("svg", { key: 'b212d3552fcae69b2e5538bc93c3a016444e9326', height: this.size, width: this.size, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 54 54", fill: "none" }, h("path", { key: '1801af097635352fb4ca20917a11bd66e5fe5543', d: "M43.1586 17C39.8082 11.5978 33.8243 8 27 8C16.5066 8 8 16.5066 8 27C8 37.4934 16.5066 46 27 46C33.8242 46 39.8082 42.4022 43.1586 37", "stroke-width": "6", "stroke-linecap": "round" }), h("circle", { key: '1f54bfa6fae3ee4ed705e6442c8eba29d857406f', cx: "45", cy: "27", r: "5" }))));
|
15
15
|
}
|
16
16
|
static get is() { return "cpsl-spinner"; }
|
17
17
|
static get encapsulation() { return "shadow"; }
|
@@ -87,19 +87,19 @@ span.container {
|
|
87
87
|
height: 100%;
|
88
88
|
padding: var(--container-padding);
|
89
89
|
border-radius: var(--container-border-radius);
|
90
|
-
background
|
90
|
+
background: var(--container-background-color-default);
|
91
91
|
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.08) inset;
|
92
92
|
transition: all 0.15s ease-in-out;
|
93
93
|
}
|
94
94
|
span.container.checked {
|
95
|
-
background
|
95
|
+
background: var(--container-background-color-checked);
|
96
96
|
box-shadow: none;
|
97
97
|
}
|
98
98
|
|
99
99
|
span.thumb {
|
100
100
|
display: inline-block;
|
101
101
|
position: relative;
|
102
|
-
background
|
102
|
+
background: var(--thumb-background-color-default);
|
103
103
|
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
|
104
104
|
height: var(--thumb-size);
|
105
105
|
width: var(--thumb-size);
|
@@ -109,7 +109,7 @@ span.thumb {
|
|
109
109
|
transition: all 0.15s ease-in-out;
|
110
110
|
}
|
111
111
|
span.thumb.checked {
|
112
|
-
background
|
112
|
+
background: var(--thumb-background-color-checked);
|
113
113
|
left: 100%;
|
114
114
|
transform: translateX(-100%);
|
115
115
|
}
|
@@ -7,7 +7,7 @@ export class CpslSwitch {
|
|
7
7
|
this.checked = undefined;
|
8
8
|
}
|
9
9
|
render() {
|
10
|
-
return (h(Host, { key: '
|
10
|
+
return (h(Host, { key: '522bcdfa156531915323f64b620d9207f9006c5b' }, h("input", { key: '2062a1c2d6b412d92e7da8c509a7e26c48fe7cd9', type: "checkbox", checked: this.checked }), h("span", { key: '58d096cdfd809bdb52294ea70a263a58f99971c7', onClick: this.handleSwitchClick, class: { container: true, checked: this.checked } }, h("span", { key: '15b702eb45d8fe3d61d6f2313cc291cd62fbd3c7', class: { thumb: true, checked: this.checked } }))));
|
11
11
|
}
|
12
12
|
static get is() { return "cpsl-switch"; }
|
13
13
|
static get encapsulation() { return "shadow"; }
|
@@ -21,7 +21,7 @@ export class CpslTab {
|
|
21
21
|
}
|
22
22
|
}
|
23
23
|
render() {
|
24
|
-
return (h(Host, { key: '
|
24
|
+
return (h(Host, { key: '7421ddd0b946411ae0d4415b02d878affbe0ac94', onClick: this.onTabClicked }, h("div", { key: '94a73eac12e6cb326879f4ff8d7bb9977745201f', class: { 'tab-container': true } }, h("slot", { key: '504138d77b041b165448ed5d8027546087852023' }))));
|
25
25
|
}
|
26
26
|
static get is() { return "cpsl-tab"; }
|
27
27
|
static get encapsulation() { return "shadow"; }
|
@@ -54,7 +54,6 @@
|
|
54
54
|
* }
|
55
55
|
*/
|
56
56
|
:host {
|
57
|
-
--container-background-radius: var(--cpsl-border-radius-table-container);
|
58
57
|
--container-border-radius: var(--cpsl-border-radius-table-container);
|
59
58
|
--container-border-color: var(--cpsl-color-background-16);
|
60
59
|
--container-background-color: var(--cpsl-color-background-0);
|
@@ -63,14 +62,14 @@
|
|
63
62
|
--container-header-padding-bottom: 24px;
|
64
63
|
--container-header-padding-start: 24px;
|
65
64
|
--container-header-padding-end: 24px;
|
66
|
-
--container-
|
67
|
-
--container-
|
68
|
-
--container-no-content-padding-start: 24px;
|
69
|
-
--container-no-content-padding-end: 24px;
|
65
|
+
--container-header-border-width: 1px;
|
66
|
+
--container-header-border-color: var(--cpsl-color-background-16);
|
70
67
|
--container-footer-padding-top: 16px;
|
71
68
|
--container-footer-padding-bottom: 16px;
|
72
69
|
--container-footer-padding-start: 24px;
|
73
70
|
--container-footer-padding-end: 24px;
|
71
|
+
--container-footer-border-width: 1px;
|
72
|
+
--container-footer-border-color: var(--cpsl-color-background-8);
|
74
73
|
--table-header-padding-top: 16px;
|
75
74
|
--table-header-padding-bottom: 16px;
|
76
75
|
--table-header-padding-start: 24px;
|
@@ -84,51 +83,34 @@
|
|
84
83
|
--table-content-padding-end: 24px;
|
85
84
|
--table-content-border-color: var(--cpsl-color-background-8);
|
86
85
|
--table-content-border-width: 1px;
|
87
|
-
display:
|
86
|
+
display: block;
|
88
87
|
}
|
89
88
|
|
90
|
-
|
89
|
+
:host cpsl-card {
|
90
|
+
height: 100%;
|
91
|
+
--card-padding-top: 0px;
|
92
|
+
--card-padding-bottom: 0px;
|
93
|
+
--card-padding-start: 0px;
|
94
|
+
--card-padding-end: 0px;
|
95
|
+
--card-border-width: var(--container-border-width);
|
96
|
+
--card-border-color: var(--container-border-color);
|
97
|
+
--card-border-radius: var(--container-border-radius);
|
98
|
+
--card-background-color: var(--container-background-color);
|
99
|
+
}
|
100
|
+
:host cpsl-card::part(card-container) {
|
101
|
+
height: 100%;
|
91
102
|
display: flex;
|
92
103
|
flex-direction: column;
|
93
|
-
flex: 1;
|
94
|
-
overflow: hidden;
|
95
|
-
border-radius: var(--container-border-radius);
|
96
|
-
border: var(--container-border-width) solid var(--container-border-color);
|
97
|
-
background-color: var(--container-background-color);
|
98
104
|
}
|
99
105
|
|
100
|
-
.
|
106
|
+
.content {
|
107
|
+
flex: 1;
|
101
108
|
overflow: auto;
|
102
109
|
}
|
103
110
|
|
104
|
-
.table {
|
105
|
-
|
106
|
-
|
107
|
-
border-collapse: collapse;
|
108
|
-
}
|
109
|
-
.table th {
|
110
|
-
-webkit-padding-start: var(--table-header-padding-start);
|
111
|
-
padding-inline-start: var(--table-header-padding-start);
|
112
|
-
-webkit-padding-end: var(--table-header-padding-end);
|
113
|
-
padding-inline-end: var(--table-header-padding-end);
|
114
|
-
padding-top: var(--table-header-padding-top);
|
115
|
-
padding-bottom: var(--table-header-padding-bottom);
|
116
|
-
background-color: var(--table-header-background-color);
|
117
|
-
border-bottom: var(--table-header-border-width) solid var(--table-header-border-color);
|
118
|
-
}
|
119
|
-
.table td {
|
120
|
-
-webkit-padding-start: var(--table-content-padding-start);
|
121
|
-
padding-inline-start: var(--table-content-padding-start);
|
122
|
-
-webkit-padding-end: var(--table-content-padding-end);
|
123
|
-
padding-inline-end: var(--table-content-padding-end);
|
124
|
-
padding-top: var(--table-content-padding-top);
|
125
|
-
padding-bottom: var(--table-content-padding-bottom);
|
126
|
-
}
|
127
|
-
.table tr {
|
128
|
-
border-bottom: var(--table-content-border-width) solid var(--table-content-border-color);
|
129
|
-
}
|
130
|
-
.table tr:last-child {
|
131
|
-
border-bottom: none;
|
111
|
+
.table-wrapper {
|
112
|
+
overflow: auto;
|
113
|
+
height: 100%;
|
132
114
|
}
|
133
115
|
|
134
116
|
.container-header {
|
@@ -139,7 +121,7 @@
|
|
139
121
|
padding-inline-end: var(--container-header-padding-end);
|
140
122
|
padding-top: var(--container-header-padding-top);
|
141
123
|
padding-bottom: var(--container-header-padding-bottom);
|
142
|
-
border-bottom: var(--
|
124
|
+
border-bottom: var(--container-header-border-width) solid var(--container-header-border-color);
|
143
125
|
}
|
144
126
|
|
145
127
|
.container-footer {
|
@@ -150,30 +132,9 @@
|
|
150
132
|
padding-inline-end: var(--container-footer-padding-end);
|
151
133
|
padding-top: var(--container-footer-padding-top);
|
152
134
|
padding-bottom: var(--container-footer-padding-bottom);
|
153
|
-
border-top: var(--
|
154
|
-
}
|
155
|
-
|
156
|
-
.container-no-content {
|
157
|
-
-webkit-padding-start: var(--container-no-content-padding-start);
|
158
|
-
padding-inline-start: var(--container-no-content-padding-start);
|
159
|
-
-webkit-padding-end: var(--container-no-content-padding-end);
|
160
|
-
padding-inline-end: var(--container-no-content-padding-end);
|
161
|
-
padding-top: var(--container-no-content-padding-top);
|
162
|
-
padding-bottom: var(--container-no-content-padding-bottom);
|
135
|
+
border-top: var(--container-footer-border-width) solid var(--container-footer-border-color);
|
163
136
|
}
|
164
137
|
|
165
138
|
.shown {
|
166
139
|
display: block;
|
167
|
-
}
|
168
|
-
|
169
|
-
.text-left {
|
170
|
-
text-align: left;
|
171
|
-
}
|
172
|
-
|
173
|
-
.text-center {
|
174
|
-
text-align: center;
|
175
|
-
}
|
176
|
-
|
177
|
-
.text-right {
|
178
|
-
text-align: right;
|
179
140
|
}
|