@gov-design-system-ce/components 0.0.12 → 0.0.13
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.
- package/dist/cjs/{constants-e175be18.js → constants-0883e74c.js} +2 -2
- package/dist/cjs/constants-0883e74c.js.map +1 -0
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/gov-accordion-item.cjs.entry.js +11 -7
- package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gov-app.cjs.entry.js +25 -5
- package/dist/cjs/gov-app.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +2 -32
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-icon.cjs.entry.js +1 -1
- package/dist/cjs/gov-tiles.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/gov-accordion/constants.js +1 -1
- package/dist/collection/components/gov-accordion/constants.js.map +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion-item.js +39 -17
- package/dist/collection/components/gov-accordion/gov-accordion-item.js.map +1 -1
- package/dist/collection/components/gov-accordion/gov-accordion.js +1 -1
- package/dist/collection/components/gov-breadcrumbs/constants.js +0 -4
- package/dist/collection/components/gov-breadcrumbs/constants.js.map +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +26 -16
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +2 -81
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
- package/dist/collection/components/gov-tile/container/constants.js.map +1 -0
- package/dist/collection/components/{gov-tiles → gov-tile/container}/gov-tiles.js +2 -2
- package/dist/collection/components/gov-tile/container/gov-tiles.js.map +1 -0
- package/dist/collection/pages/Breadcrumbs.js +25 -5
- package/dist/collection/pages/Breadcrumbs.js.map +1 -1
- package/dist/components/constants.js +1 -1
- package/dist/components/constants.js.map +1 -1
- package/dist/components/gov-accordion-item.js +12 -6
- package/dist/components/gov-accordion-item.js.map +1 -1
- package/dist/components/gov-accordion.js +1 -0
- package/dist/components/gov-accordion.js.map +1 -1
- package/dist/components/gov-alert.js +1 -0
- package/dist/components/gov-alert.js.map +1 -1
- package/dist/components/gov-app.js +26 -5
- package/dist/components/gov-app.js.map +1 -1
- package/dist/components/gov-attachments-item2.js +1 -0
- package/dist/components/gov-attachments-item2.js.map +1 -1
- package/dist/components/gov-attachments2.js +1 -0
- package/dist/components/gov-attachments2.js.map +1 -1
- package/dist/components/gov-backdrop2.js +1 -0
- package/dist/components/gov-backdrop2.js.map +1 -1
- package/dist/components/gov-badge2.js +1 -0
- package/dist/components/gov-badge2.js.map +1 -1
- package/dist/components/gov-breadcrumbs.js +6 -51
- package/dist/components/gov-breadcrumbs.js.map +1 -1
- package/dist/components/gov-button2.js +1 -0
- package/dist/components/gov-button2.js.map +1 -1
- package/dist/components/gov-card.js +1 -0
- package/dist/components/gov-card.js.map +1 -1
- package/dist/components/gov-container.js +1 -0
- package/dist/components/gov-container.js.map +1 -1
- package/dist/components/gov-cookiebar.js +1 -0
- package/dist/components/gov-cookiebar.js.map +1 -1
- package/dist/components/gov-empty.js +1 -0
- package/dist/components/gov-empty.js.map +1 -1
- package/dist/components/gov-error-code.js +1 -0
- package/dist/components/gov-error-code.js.map +1 -1
- package/dist/components/gov-form-autocomplete2.js +1 -0
- package/dist/components/gov-form-autocomplete2.js.map +1 -1
- package/dist/components/gov-form-checkbox.js +1 -0
- package/dist/components/gov-form-checkbox.js.map +1 -1
- package/dist/components/gov-form-control.js +1 -0
- package/dist/components/gov-form-control.js.map +1 -1
- package/dist/components/gov-form-file.js +1 -0
- package/dist/components/gov-form-file.js.map +1 -1
- package/dist/components/gov-form-group.js +1 -0
- package/dist/components/gov-form-group.js.map +1 -1
- package/dist/components/gov-form-input2.js +1 -0
- package/dist/components/gov-form-input2.js.map +1 -1
- package/dist/components/gov-form-label.js +1 -0
- package/dist/components/gov-form-label.js.map +1 -1
- package/dist/components/gov-form-message2.js +1 -0
- package/dist/components/gov-form-message2.js.map +1 -1
- package/dist/components/gov-form-multi-select.js +1 -0
- package/dist/components/gov-form-multi-select.js.map +1 -1
- package/dist/components/gov-form-password-power.js +1 -0
- package/dist/components/gov-form-password-power.js.map +1 -1
- package/dist/components/gov-form-radio.js +1 -0
- package/dist/components/gov-form-radio.js.map +1 -1
- package/dist/components/gov-form-search.js +1 -0
- package/dist/components/gov-form-search.js.map +1 -1
- package/dist/components/gov-form-select2.js +1 -0
- package/dist/components/gov-form-select2.js.map +1 -1
- package/dist/components/gov-form-switch.js +1 -0
- package/dist/components/gov-form-switch.js.map +1 -1
- package/dist/components/gov-grid-item.js +1 -0
- package/dist/components/gov-grid-item.js.map +1 -1
- package/dist/components/gov-grid.js +1 -0
- package/dist/components/gov-grid.js.map +1 -1
- package/dist/components/gov-icon2.js +2 -1
- package/dist/components/gov-icon2.js.map +1 -1
- package/dist/components/gov-layout-column.js +1 -0
- package/dist/components/gov-layout-column.js.map +1 -1
- package/dist/components/gov-layout.js +1 -0
- package/dist/components/gov-layout.js.map +1 -1
- package/dist/components/gov-loading.js +1 -0
- package/dist/components/gov-loading.js.map +1 -1
- package/dist/components/gov-message.js +1 -0
- package/dist/components/gov-message.js.map +1 -1
- package/dist/components/gov-modal.js +1 -0
- package/dist/components/gov-modal.js.map +1 -1
- package/dist/components/gov-nav-item.js +1 -0
- package/dist/components/gov-nav-item.js.map +1 -1
- package/dist/components/gov-nav.js +1 -0
- package/dist/components/gov-nav.js.map +1 -1
- package/dist/components/gov-pagination.js +1 -0
- package/dist/components/gov-pagination.js.map +1 -1
- package/dist/components/gov-prompt.js +1 -0
- package/dist/components/gov-prompt.js.map +1 -1
- package/dist/components/gov-side-nav-item.js +1 -0
- package/dist/components/gov-side-nav-item.js.map +1 -1
- package/dist/components/gov-side-nav.js +1 -0
- package/dist/components/gov-side-nav.js.map +1 -1
- package/dist/components/gov-spacer.js +1 -0
- package/dist/components/gov-spacer.js.map +1 -1
- package/dist/components/gov-statsbar-item.js +1 -0
- package/dist/components/gov-statsbar-item.js.map +1 -1
- package/dist/components/gov-statsbar.js +1 -0
- package/dist/components/gov-statsbar.js.map +1 -1
- package/dist/components/gov-stepper-item.js +1 -0
- package/dist/components/gov-stepper-item.js.map +1 -1
- package/dist/components/gov-stepper.js +1 -0
- package/dist/components/gov-stepper.js.map +1 -1
- package/dist/components/gov-tabs-item.js +1 -0
- package/dist/components/gov-tabs-item.js.map +1 -1
- package/dist/components/gov-tabs.js +1 -0
- package/dist/components/gov-tabs.js.map +1 -1
- package/dist/components/gov-tile.js +1 -0
- package/dist/components/gov-tile.js.map +1 -1
- package/dist/components/gov-tiles.js +1 -0
- package/dist/components/gov-tiles.js.map +1 -1
- package/dist/components/gov-toast.js +1 -0
- package/dist/components/gov-toast.js.map +1 -1
- package/dist/components/gov-tooltip-content.js +1 -0
- package/dist/components/gov-tooltip-content.js.map +1 -1
- package/dist/components/gov-tooltip.js +1 -0
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizzard-item.js +1 -0
- package/dist/components/gov-wizzard-item.js.map +1 -1
- package/dist/components/gov-wizzard.js +1 -0
- package/dist/components/gov-wizzard.js.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/core/core.css +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-7ac5f119.entry.js → p-5b2e8e04.entry.js} +2 -2
- package/dist/core/p-5b2e8e04.entry.js.map +1 -0
- package/dist/core/{p-43811261.entry.js → p-7670f834.entry.js} +2 -2
- package/dist/core/p-7670f834.entry.js.map +1 -0
- package/dist/core/{p-613d8ed8.entry.js → p-7684f6d0.entry.js} +2 -2
- package/dist/core/p-99155ec0.entry.js.map +1 -1
- package/dist/core/p-a5d69694.js +2 -0
- package/dist/core/p-a5d69694.js.map +1 -0
- package/dist/core/p-b308500e.entry.js +2 -0
- package/dist/core/p-b308500e.entry.js.map +1 -0
- package/dist/core/{p-02c1b4db.entry.js → p-f48fd266.entry.js} +2 -2
- package/dist/custom-elements/index.js +1 -1
- package/dist/custom-elements/index.js.map +1 -1
- package/dist/esm/{constants-14a7ba8e.js → constants-ab132d9c.js} +2 -2
- package/dist/esm/constants-ab132d9c.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/gov-accordion-item.entry.js +11 -7
- package/dist/esm/gov-accordion-item.entry.js.map +1 -1
- package/dist/esm/gov-accordion.entry.js +1 -1
- package/dist/esm/gov-app.entry.js +25 -5
- package/dist/esm/gov-app.entry.js.map +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +3 -33
- package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/gov-icon.entry.js +1 -1
- package/dist/esm/gov-tiles.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/hydrate/index.js +40 -49
- package/dist/stencil.config.js +5 -0
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/components/gov-accordion/constants.d.ts +1 -1
- package/dist/types/components/gov-accordion/gov-accordion-item.d.ts +8 -4
- package/dist/types/components/gov-breadcrumbs/constants.d.ts +0 -4
- package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +0 -14
- package/dist/types/components/gov-button/constants.d.ts +1 -1
- package/dist/types/components/gov-form/checkbox/constants.d.ts +1 -1
- package/dist/types/components/gov-form/group/constants.d.ts +1 -1
- package/dist/types/components/gov-form/label/constants.d.ts +1 -1
- package/dist/types/components/gov-form/radio/constants.d.ts +1 -1
- package/dist/types/components/gov-form/switch/constants.d.ts +1 -1
- package/dist/types/components/gov-spacer/constants.d.ts +1 -1
- package/dist/types/components/gov-stepper/constants.d.ts +1 -1
- package/dist/types/components/gov-wizzard/constants.d.ts +1 -1
- package/dist/types/components.d.ts +10 -14
- package/package.json +1 -1
- package/dist/cjs/constants-e175be18.js.map +0 -1
- package/dist/collection/components/gov-tiles/constants.js.map +0 -1
- package/dist/collection/components/gov-tiles/gov-tiles.js.map +0 -1
- package/dist/core/p-0284b5e2.js +0 -2
- package/dist/core/p-0284b5e2.js.map +0 -1
- package/dist/core/p-43811261.entry.js.map +0 -1
- package/dist/core/p-7ac5f119.entry.js.map +0 -1
- package/dist/core/p-bd560ffc.entry.js +0 -2
- package/dist/core/p-bd560ffc.entry.js.map +0 -1
- package/dist/esm/constants-14a7ba8e.js.map +0 -1
- /package/dist/collection/components/{gov-tiles → gov-tile/container}/constants.js +0 -0
- /package/dist/collection/components/{gov-tiles → gov-tile/container}/gov-tiles.css +0 -0
- /package/dist/core/{p-613d8ed8.entry.js.map → p-7684f6d0.entry.js.map} +0 -0
- /package/dist/core/{p-02c1b4db.entry.js.map → p-f48fd266.entry.js.map} +0 -0
- /package/dist/types/components/{gov-tiles → gov-tile/container}/constants.d.ts +0 -0
- /package/dist/types/components/{gov-tiles → gov-tile/container}/gov-tiles.d.ts +0 -0
|
@@ -2,34 +2,26 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
|
|
|
2
2
|
import { v as validateWcagLabel } from './wcag-3792d4bb.js';
|
|
3
3
|
import { c as canValidateWcagOnRender } from './win-9c8460bb.js';
|
|
4
4
|
import { d as delay } from './utils-c057a3fa.js';
|
|
5
|
-
import { g as govHost
|
|
5
|
+
import { g as govHost } from './template-10332292.js';
|
|
6
6
|
import './gov.log-af905420.js';
|
|
7
7
|
import './string.utils-f268fc6b.js';
|
|
8
8
|
|
|
9
9
|
const BreadcrumbsClass = {
|
|
10
10
|
root: 'gov-breadcrumbs',
|
|
11
|
-
arrow: 'gov-breadcrumbs__arrow',
|
|
12
|
-
list: 'gov-breadcrumbs__list',
|
|
13
|
-
item: 'gov-breadcrumbs__item',
|
|
14
|
-
button: 'gov-breadcrumbs__button',
|
|
15
11
|
};
|
|
16
12
|
|
|
17
|
-
const govBreadcrumbsCss = ".gov-
|
|
13
|
+
const govBreadcrumbsCss = ".gov-breadcrumbs ul{margin:0;padding:0}.gov-breadcrumbs li{margin:0;padding:0;background:none}.gov-breadcrumbs li::before{display:none}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}.gov-breadcrumbs ul{position:relative;display:flex;width:100%;padding-bottom:0.3125rem;overflow-x:auto}.gov-breadcrumbs li{display:flex;justify-content:flex-start;align-items:center;white-space:nowrap}.gov-breadcrumbs button{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);padding:0;border:none;background:none;color:var(--gov-breadcrumbs-link-color, var(--gov-color-primary));text-decoration:underline}.gov-breadcrumbs button:hover{text-decoration:none}.gov-breadcrumbs .gov-icon{width:0.625rem;height:0.625rem;margin:0rem 1rem;color:var(--gov-breadcrumbs-arrow-color, var(--gov-color-secondary-600))}";
|
|
18
14
|
|
|
19
15
|
const GovBreadcrumbs = class {
|
|
20
16
|
constructor(hostRef) {
|
|
21
17
|
registerInstance(this, hostRef);
|
|
22
18
|
this.govChange = createEvent(this, "gov-change", 7);
|
|
23
|
-
this.isExpandedState = undefined;
|
|
24
19
|
this.collapsible = false;
|
|
25
20
|
this.isExpanded = false;
|
|
26
21
|
this.wcagLabel = undefined;
|
|
27
22
|
this.wcagLabelledBy = undefined;
|
|
28
23
|
this.h = govHost(this.host);
|
|
29
24
|
}
|
|
30
|
-
emmitChange() {
|
|
31
|
-
this.govChange.emit({ open: this.isExpandedState, element: this.host });
|
|
32
|
-
}
|
|
33
25
|
async componentDidRender() {
|
|
34
26
|
if (canValidateWcagOnRender()) {
|
|
35
27
|
await delay(500);
|
|
@@ -37,29 +29,7 @@ const GovBreadcrumbs = class {
|
|
|
37
29
|
}
|
|
38
30
|
}
|
|
39
31
|
render() {
|
|
40
|
-
|
|
41
|
-
return (h(Host, { class: this.h.classes(BreadcrumbsClass.root), collapsible: this.collapsible }, h("nav", { "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy }, h("ul", { class: BreadcrumbsClass.list }, h("li", { class: BreadcrumbsClass.item }, h("a", { href: "#", class: "gov-link" }, "Dom\u016F"), h("gov-icon", { class: BreadcrumbsClass.arrow, name: "chevron-right" })), h("li", { class: BreadcrumbsClass.item }, h("a", { href: "#", class: "gov-link" }, "Kam d\u00E1l"), h("gov-icon", { class: BreadcrumbsClass.arrow, name: "chevron-right" })), h("li", { class: BreadcrumbsClass.item }, h("a", { href: "#", class: "gov-link" }, "\u010Cesk\u00FD eGovernment"), h("gov-icon", { class: BreadcrumbsClass.arrow, name: "chevron-right" })), h("li", { class: BreadcrumbsClass.item }, h("strong", null, "Czech POINT")))), this.collapsible && (h("gov-button", { "aria-expanded": booleanString(isExpandedState), class: BreadcrumbsClass.button, variant: "primary", size: "s", inverse: true }, h("gov-icon", { slot: "left-icon", name: "chevron-down", onClick: () => this.toggle() })))));
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Opening the Breadcrumbs
|
|
45
|
-
*/
|
|
46
|
-
async open() {
|
|
47
|
-
this.isExpandedState = true;
|
|
48
|
-
this.emmitChange();
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Closing the Breadcrumbs
|
|
52
|
-
*/
|
|
53
|
-
async close() {
|
|
54
|
-
this.isExpandedState = false;
|
|
55
|
-
this.emmitChange();
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Breadcrumbs switch
|
|
59
|
-
*/
|
|
60
|
-
async toggle() {
|
|
61
|
-
this.isExpandedState = !this.isExpandedState;
|
|
62
|
-
this.emmitChange();
|
|
32
|
+
return (h(Host, { class: this.h.classes(BreadcrumbsClass.root) }, h("nav", { "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy }, h("slot", null))));
|
|
63
33
|
}
|
|
64
34
|
/**
|
|
65
35
|
* Validate the WCAG attributes of the component
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"gov-breadcrumbs.entry.js","mappings":";;;;;;;;AAAO,MAAM,gBAAgB,GAAG;EAC/B,IAAI,EAAE,iBAAiB;
|
|
1
|
+
{"file":"gov-breadcrumbs.entry.js","mappings":";;;;;;;;AAAO,MAAM,gBAAgB,GAAG;EAC/B,IAAI,EAAE,iBAAiB;CACvB;;ACFD,MAAM,iBAAiB,GAAG,khCAAkhC;;MCa/hC,cAAc;EAG1B;;;uBAQwC,KAAK;sBAIsB,KAAK;;;IAXvE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC3B;EAyBD,MAAM,kBAAkB;IACvB,IAAI,uBAAuB,EAAE,EAAE;MAC9B,MAAM,KAAK,CAAC,GAAG,CAAC,CAAA;MAChB,MAAM,IAAI,CAAC,YAAY,EAAE,CAAA;KACzB;GACD;EAED,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,IACjD,yBAAiB,IAAI,CAAC,SAAS,qBAAmB,IAAI,CAAC,cAAc,IACpE,eAAO,CACF,CACA,EACP;GACD;;;;EAOD,MAAM,YAAY;IACjB,iBAAiB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAA;GAC7E;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-breadcrumbs/constants.ts","../../../packages/core/src/components/gov-breadcrumbs/gov-breadcrumbs.scss?tag=gov-breadcrumbs","../../../packages/core/src/components/gov-breadcrumbs/gov-breadcrumbs.tsx"],"sourcesContent":["export const BreadcrumbsClass = {\n\troot: 'gov-breadcrumbs',\n}\n","/*\n * Pagination\n */\n\n$class: \".gov-breadcrumbs\";\n\n#{$class} {\n\tul {\n\t\t@extend %reset-ul;\n\t\t@include base(flex);\n\t\tpadding-bottom: rem-calc(5);\n\t\toverflow-x: auto;\n\t}\n\tli {\n\t\t@extend %reset-ul-li;\n\t\tdisplay: flex;\n\t\tjustify-content: flex-start;\n\t\talign-items: center;\n\t\twhite-space: nowrap;\n\t}\n\tbutton {\n\t\t@include typography($font-size-m);\n\t\tpadding: 0;\n\t\tborder: none;\n\t\tbackground: none;\n\t\tcolor: $breadcrumbs-link-color;\n\t\ttext-decoration: underline;\n\t\t&:hover {\n\t\t\ttext-decoration: none;\n\t\t}\n\t}\n\t& .gov-icon {\n\t\twidth: rem-calc(10);\n\t\theight: rem-calc(10);\n\t\tmargin: rem-calc(0 16px);\n\t\tcolor: $breadcrumbs-arrow-color;\n\t}\n}\n","import { Component, Element, h, Host, Method, Prop, Event, EventEmitter } from '@stencil/core'\nimport { BreadcrumbsClass } from './constants'\nimport { validateWcagLabel } from '../../helpers/Validate/wcag'\nimport { canValidateWcagOnRender } from '../../helpers/Dom/win'\nimport { delay } from '../../utils/utils'\nimport { GovBreadcrumbsChangeEvent } from './gov-breadcrumbs.d'\nimport { govHost } from '../../helpers/Dom/template'\nimport { GovHost } from '../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-breadcrumbs',\n\tstyleUrl: 'gov-breadcrumbs.scss',\n})\nexport class GovBreadcrumbs {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() readonly host: HTMLGovBreadcrumbsElement\n\t/**\n\t * Defines wether the components can be collapsible when element doesn't fit in one row.\n\t */\n\t@Prop() readonly collapsible: boolean = false\n\t/**\n\t * Defines whether the breadcrumbs are open or closed by default\n\t */\n\t@Prop({ attribute: 'is-expanded' }) readonly isExpanded: boolean = false\n\t/**\n\t * Adds accessible label for the pagination that is only shown for screen readers.\n\t */\n\t@Prop({ attribute: 'wcag-label' }) readonly wcagLabel: string\n\t/**\n\t * Indicates the id of a component that labels the pagination.\n\t */\n\t@Prop({ attribute: 'wcag-labelded-by' }) readonly wcagLabelledBy: string\n\n\t/**\n\t * Called when the Breadrumbs state changes\n\t */\n\t@Event({ eventName: 'gov-change' }) govChange: EventEmitter<GovBreadcrumbsChangeEvent>\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(BreadcrumbsClass.root)}>\n\t\t\t\t<nav aria-label={this.wcagLabel} aria-labelledby={this.wcagLabelledBy}>\n\t\t\t\t\t<slot/>\n\t\t\t\t</nav>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, BreadcrumbsClass.root)\n\t}\n}\n"],"version":3}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"gov-tiles.entry.js","mappings":";;;AAAO,MAAM,UAAU,GAAG;EACzB,IAAI,EAAE,WAAW;CACjB;;ACFD,MAAM,WAAW,GAAG,4zDAA4zD;;MCUn0D,QAAQ;EAGpB;;mBAMmC,CAAC;oBAI2B,KAAK;IATnE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC3B;EAYD,IAAI,UAAU;IACb,OAAO,cAAc,CAAC,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,UAAU,CAAC,IAAI,GAAG,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;GAChG;EAED,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,IAC3C,eAAQ,CACF,EACP;GACD;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-
|
|
1
|
+
{"file":"gov-tiles.entry.js","mappings":";;;AAAO,MAAM,UAAU,GAAG;EACzB,IAAI,EAAE,WAAW;CACjB;;ACFD,MAAM,WAAW,GAAG,4zDAA4zD;;MCUn0D,QAAQ;EAGpB;;mBAMmC,CAAC;oBAI2B,KAAK;IATnE,IAAI,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;GAC3B;EAYD,IAAI,UAAU;IACb,OAAO,cAAc,CAAC,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,UAAU,CAAC,IAAI,GAAG,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAA;GAChG;EAED,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,IAC3C,eAAQ,CACF,EACP;GACD;;;;;;;","names":[],"sources":["../../../packages/core/src/components/gov-tile/container/constants.ts","../../../packages/core/src/components/gov-tile/container/gov-tiles.scss?tag=gov-tiles","../../../packages/core/src/components/gov-tile/container/gov-tiles.tsx"],"sourcesContent":["export const TilesClass = {\n\troot: 'gov-tiles',\n}\n","/*\n * Tiles\n */\n\n$class: \".gov-tiles\";\n$line-width: rem-calc(1);\n\n@mixin grid-lines($i) {\n\tgrid-template-columns: repeat(#{$i}, 1fr);\n\t& > * {\n\t\tborder-width: $line-width $line-width $line-width 0;\n\t\t&:nth-child(-n + #{$i + 1}) {\n\t\t\tborder-top-width: 0;\n\t\t}\n\t\t&:nth-child(#{$i}n + #{$i}) {\n\t\t\tborder-right-width: 0;\n\t\t}\n\t}\n}\n\n#{$class} {\n\toverflow: hidden;\n\t& > * {\n\t\tmargin: 0 calc($line-width * -1) calc($line-width * -1) 0;\n\t\tborder: $line-width solid $tiles-border-color;\n\t\tborder-width: 0 0 $line-width;\n\t\t&:last-child {\n\t\t\tborder-bottom-width: 0;\n\t\t}\n\t}\n\t&[no-border] {\n\t\t& > * {\n\t\t\tborder: none;\n\t\t}\n\t}\n\n\t// VARIANTS\n\t@include mq($from: md) {\n\t\tdisplay: grid;\n\t\t&--x2 {\n\t\t\t@include grid-lines(2);\n\t\t}\n\t\t@include mq($until: lg) {\n\t\t\t&--x3,\n\t\t\t&--x4 {\n\t\t\t\t@include grid-lines(2);\n\t\t\t}\n\t\t}\n\t}\n\t@include mq($from: lg) {\n\t\t&--x3 {\n\t\t\t@include grid-lines(3);\n\t\t}\n\t\t@include mq($until: xl) {\n\t\t\t&--x4 {\n\t\t\t\t@include grid-lines(3);\n\t\t\t}\n\t\t}\n\t}\n\t@include mq($from: xl) {\n\t\t&--x4 {\n\t\t\t@include grid-lines(4);\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core'\nimport { TilesClass } from './constants'\nimport { prepareClasses } from '../../../helpers/Dom/template'\nimport { govHost } from '../../../helpers/Dom/template'\nimport { GovHost } from '../../../helpers/Dom/template.types'\n\n@Component({\n\ttag: 'gov-tiles',\n\tstyleUrl: 'gov-tiles.scss',\n})\nexport class GovTiles {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\t/**\n\t * Number of columns between 1-4\n\t */\n\t@Prop() readonly columns: number = 3\n\t/**\n\t * Tiles border\n\t */\n\t@Prop({ attribute: 'no-border' }) readonly noBorder: boolean = false\n\n\t@Element() host: HTMLGovTilesElement\n\n\tget classNames(): string {\n\t\treturn prepareClasses([TilesClass.root, this.columns && TilesClass.root + '--x' + this.columns])\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={this.h.classes(this.classNames)}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
package/dist/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy(JSON.parse("[[\"gov-form-file\",[[4,\"gov-form-file\",{\"expanded\":[4],\"required\":[4],\"disabled\":[4],\"displayAttachments\":[4,\"display-attachments\"],\"name\":[1],\"accept\":[1],\"maxFileSize\":[2,\"max-file-size\"],\"identifier\":[1],\"invalid\":[4],\"errorSize\":[1,\"error-size\"],\"errorAccept\":[1,\"error-accept\"],\"attachmentsLabel\":[1,\"attachments-label\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagRemoveLabel\":[1,\"wcag-remove-label\"],\"wcagAttachmentsLabel\":[1,\"wcag-attachments-label\"],\"files\":[32],\"validateWcag\":[64]}]]],[\"gov-form-multi-select\",[[4,\"gov-form-multi-select\",{\"identifier\":[1],\"placeholder\":[1],\"variant\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"value\":[32],\"selectedOptions\":[32],\"setFocus\":[64],\"setValue\":[64],\"getInstance\":[64],\"validateWcag\":[64]}]]],[\"gov-modal\",[[4,\"gov-modal\",{\"open\":[4],\"label\":[1],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"wcaglabelledBy\":[1,\"wcag-labelled-by\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagCloseLabelledBy\":[1,\"wcag-close-labelled-by\"],\"modalVisible\":[32],\"show\":[64],\"hide\":[64],\"validateWcag\":[64]}]]],[\"gov-pagination\",[[0,\"gov-pagination\",{\"type\":[1],\"current\":[2],\"total\":[2],\"inverse\":[4],\"size\":[1],\"variant\":[1],\"pageSize\":[2,\"page-size\"],\"maxPages\":[2,\"max-pages\"],\"link\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagSelectLabel\":[1,\"wcag-select-label\"],\"wcagPageLabel\":[1,\"wcag-page-label\"],\"pagination\":[32],\"validateWcag\":[64]}]]],[\"gov-prompt\",[[4,\"gov-prompt\",{\"open\":[4],\"label\":[1],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"wcaglabelledBy\":[1,\"wcag-labelled-by\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagCloseLabelledBy\":[1,\"wcag-close-labelled-by\"],\"modalVisible\":[32],\"show\":[64],\"hide\":[64],\"validateWcag\":[64]}]]],[\"gov-tabs\",[[4,\"gov-tabs\",{\"type\":[1],\"variant\":[1],\"orientation\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagSelectLabel\":[1,\"wcag-select-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"controller\":[32],\"focusIndex\":[32],\"compactControls\":[32],\"refresh\":[64],\"currentTab\":[64],\"setActiveTab\":[64],\"validateWcag\":[64]}]]],[\"gov-alert\",[[4,\"gov-alert\",{\"variant\":[1],\"inverse\":[4],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"closable\":[4]}]]],[\"gov-breadcrumbs\",[[0,\"gov-breadcrumbs\",{\"collapsible\":[4],\"isExpanded\":[4,\"is-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelded-by\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"validateWcag\":[64]}]]],[\"gov-loading\",[[4,\"gov-loading\",{\"loading\":[4]}]]],[\"gov-side-nav-item\",[[4,\"gov-side-nav-item\",{\"inverse\":[4],\"compact\":[4],\"identifier\":[1],\"count\":[4],\"label\":[1],\"disabled\":[4],\"href\":[1],\"isExpanded\":[4,\"is-expanded\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-toast\",[[4,\"gov-toast\",{\"variant\":[1],\"gravity\":[1],\"position\":[1],\"type\":[1],\"time\":[2],\"closeLabel\":[1,\"close-label\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"destroy\":[64]}]]],[\"gov-accordion-item\",[[4,\"gov-accordion-item\",{\"variant\":[1],\"identifier\":[1],\"size\":[1],\"label\":[1],\"annotation\":[1],\"disabled\":[4],\"isExpanded\":[4,\"is-expanded\"],\"triggerTag\":[1,\"trigger-tag\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-card\",[[4,\"gov-card\",{\"promotion\":[4],\"label\":[1],\"collapsible\":[4],\"expanded\":[4],\"headlineTag\":[1,\"headline-tag\"],\"wcagTriggerLabel\":[1,\"wcag-trigger-label\"],\"wcagTriggerLabelledBy\":[1,\"wcag-trigger-labelled-by\"],\"isExpanded\":[32],\"open\":[64],\"close\":[64],\"validateWcag\":[64]}]]],[\"gov-form-checkbox\",[[4,\"gov-form-checkbox\",{\"value\":[1],\"checked\":[516],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"noLabel\":[4,\"no-label\"],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"isChecked\":[32],\"validateWcag\":[64]}]]],[\"gov-tile\",[[4,\"gov-tile\",{\"promotion\":[4],\"href\":[1],\"name\":[1]}]]],[\"gov-wizzard-item\",[[4,\"gov-wizzard-item\",{\"variant\":[1],\"size\":[1],\"identifier\":[1],\"collapsible\":[4],\"annotation\":[1],\"label\":[1],\"disabled\":[4],\"isExpanded\":[4,\"is-expanded\"],\"labelTag\":[1,\"label-tag\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-accordion\",[[4,\"gov-accordion\",{\"size\":[1],\"variant\":[1],\"noBorder\":[4,\"no-border\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-app\",[[0,\"gov-app\"]]],[\"gov-container\",[[4,\"gov-container\",{\"slottedChildren\":[64]}]]],[\"gov-cookiebar\",[[4,\"gov-cookiebar\"]]],[\"gov-empty\",[[4,\"gov-empty\"]]],[\"gov-error-code\",[[4,\"gov-error-code\"]]],[\"gov-form-control\",[[4,\"gov-form-control\",{\"gap\":[1],\"identifier\":[1],\"invalid\":[4],\"disabled\":[4],\"success\":[4],\"fieldset\":[4],\"size\":[1]}]]],[\"gov-form-group\",[[4,\"gov-form-group\",{\"gap\":[1]}]]],[\"gov-form-label\",[[4,\"gov-form-label\",{\"identifier\":[1],\"size\":[1],\"required\":[4],\"legend\":[4]}]]],[\"gov-form-password-power\",[[4,\"gov-form-password-power\",{\"power\":[2]}]]],[\"gov-form-radio\",[[4,\"gov-form-radio\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[516],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"isChecked\":[32],\"validateWcag\":[64]}]]],[\"gov-form-search\",[[4,\"gov-form-search\"]]],[\"gov-form-switch\",[[4,\"gov-form-switch\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[516],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"isChecked\":[32],\"validateWcag\":[64]}]]],[\"gov-grid\",[[4,\"gov-grid\",{\"alignX\":[1,\"align-x\"],\"alignY\":[1,\"align-y\"]}]]],[\"gov-grid-item\",[[4,\"gov-grid-item\",{\"size\":[1],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]}]]],[\"gov-layout\",[[4,\"gov-layout\",{\"type\":[1],\"variant\":[1],\"inverse\":[4]}]]],[\"gov-layout-column\",[[4,\"gov-layout-column\"]]],[\"gov-message\",[[4,\"gov-message\",{\"variant\":[1]}]]],[\"gov-nav\",[[4,\"gov-nav\",{\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-nav-item\",[[4,\"gov-nav-item\",{\"href\":[1],\"isExpandedState\":[32]}]]],[\"gov-side-nav\",[[4,\"gov-side-nav\",{\"inverse\":[4],\"compact\":[4],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-spacer\",[[0,\"gov-spacer\",{\"size\":[1],\"breakpoint\":[1]}]]],[\"gov-statsbar\",[[4,\"gov-statsbar\",{\"iconPosition\":[1,\"icon-position\"],\"variant\":[1]}]]],[\"gov-statsbar-item\",[[4,\"gov-statsbar-item\",{\"iconPosition\":[1,\"icon-position\"]}]]],[\"gov-stepper\",[[4,\"gov-stepper\",{\"size\":[1]}]]],[\"gov-stepper-item\",[[4,\"gov-stepper-item\",{\"variant\":[1],\"size\":[1],\"identifier\":[1],\"label\":[1],\"annotation\":[1],\"triggerTag\":[1,\"trigger-tag\"],\"isExpandedState\":[32],\"currentState\":[64]}]]],[\"gov-tabs-item\",[[4,\"gov-tabs-item\",{\"identifier\":[1],\"triggerIdentifier\":[1,\"trigger-identifier\"],\"label\":[1],\"default\":[4],\"isActive\":[32],\"getIdentifier\":[64],\"getTriggerIdentifier\":[64],\"setActiveStatus\":[64]}]]],[\"gov-tiles\",[[4,\"gov-tiles\",{\"columns\":[2],\"noBorder\":[4,\"no-border\"]}]]],[\"gov-tooltip\",[[4,\"gov-tooltip\",{\"variant\":[1],\"size\":[1],\"position\":[1],\"message\":[1],\"identifier\":[1],\"icon\":[4],\"show\":[64],\"hide\":[64]}]]],[\"gov-tooltip-content\",[[4,\"gov-tooltip-content\",{\"isVisible\":[4,\"is-visible\"]}]]],[\"gov-wizzard\",[[4,\"gov-wizzard\",{\"size\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-icon\",[[0,\"gov-icon\",{\"name\":[1],\"type\":[1],\"iconData\":[32],\"visible\":[32],\"error\":[32]}]]],[\"gov-form-input\",[[4,\"gov-form-input\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"success\":[4],\"size\":[1],\"name\":[1],\"multiline\":[4],\"rows\":[2],\"cols\":[2],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"minlength\":[2],\"maxlength\":[2],\"autocomplete\":[4],\"autocorrect\":[4],\"type\":[1],\"inputType\":[1,\"input-type\"],\"role\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"wcagAutocomplete\":[1,\"wcag-autocomplete\"],\"wcagExpanded\":[4,\"wcag-expanded\"],\"focused\":[32],\"setFocus\":[64],\"setValue\":[64],\"clearValue\":[64],\"getInstance\":[64],\"validateWcag\":[64]}]]],[\"gov-form-autocomplete\",[[4,\"gov-form-autocomplete\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"success\":[4],\"size\":[1],\"nameKey\":[1,\"name-key\"],\"name\":[1],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"invalid\":[4],\"minlength\":[2],\"maxlength\":[2],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"processing\":[32],\"arrowCounter\":[32],\"list\":[32],\"setFocus\":[64],\"clearValue\":[64],\"setSearchCallback\":[64],\"setTemplateResolver\":[64]}]]],[\"gov-form-select\",[[4,\"gov-form-select\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"wcagActiveDescendant\":[1,\"wcag-active-descendant\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"setFocus\":[64],\"setValue\":[64],\"getInstance\":[64],\"validateWcag\":[64]}]]],[\"gov-badge\",[[4,\"gov-badge\",{\"inverse\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"size\":[1],\"type\":[1],\"tag\":[1],\"variant\":[1],\"wcagLabel\":[1,\"wcag-label\"]}]]],[\"gov-attachments_3\",[[4,\"gov-attachments-item\",{\"wcagRemoveLabel\":[1,\"wcag-remove-label\"],\"wcagRemoveLabelledBy\":[1,\"wcag-remove-labelled-by\"],\"validateWcag\":[64]}],[4,\"gov-attachments\",{\"label\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"validateWcag\":[64]}],[4,\"gov-form-message\",{\"variant\":[1],\"identifier\":[64]}]]],[\"gov-backdrop\",[[0,\"gov-backdrop\",{\"inverse\":[4],\"visible\":[4],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-button\",[[4,\"gov-button\",{\"variant\":[513],\"size\":[513],\"type\":[513],\"expanded\":[4],\"inverse\":[4],\"name\":[1],\"disabled\":[516],\"nativeType\":[1,\"native-type\"],\"href\":[1],\"target\":[1],\"download\":[4],\"hreflang\":[1],\"referrerpolicy\":[1],\"rel\":[1],\"loading\":[1],\"focusable\":[4],\"identifier\":[1],\"wcagActiveDescendant\":[1,\"wcag-active-descendant\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagDescription\":[1,\"wcag-description\"],\"wcagDetails\":[1,\"wcag-details\"],\"wcagExpanded\":[4,\"wcag-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"wcagHasPopup\":[1,\"wcag-has-popup\"],\"wcagPressed\":[1,\"wcag-pressed\"],\"wcagCurrent\":[1,\"wcag-current\"],\"isPressed\":[32],\"setFocus\":[64],\"validateWcag\":[64]}]]]]"), options);
|
|
13
|
+
return bootstrapLazy(JSON.parse("[[\"gov-form-file\",[[4,\"gov-form-file\",{\"expanded\":[4],\"required\":[4],\"disabled\":[4],\"displayAttachments\":[4,\"display-attachments\"],\"name\":[1],\"accept\":[1],\"maxFileSize\":[2,\"max-file-size\"],\"identifier\":[1],\"invalid\":[4],\"errorSize\":[1,\"error-size\"],\"errorAccept\":[1,\"error-accept\"],\"attachmentsLabel\":[1,\"attachments-label\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagRemoveLabel\":[1,\"wcag-remove-label\"],\"wcagAttachmentsLabel\":[1,\"wcag-attachments-label\"],\"files\":[32],\"validateWcag\":[64]}]]],[\"gov-form-multi-select\",[[4,\"gov-form-multi-select\",{\"identifier\":[1],\"placeholder\":[1],\"variant\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"value\":[32],\"selectedOptions\":[32],\"setFocus\":[64],\"setValue\":[64],\"getInstance\":[64],\"validateWcag\":[64]}]]],[\"gov-modal\",[[4,\"gov-modal\",{\"open\":[4],\"label\":[1],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"wcaglabelledBy\":[1,\"wcag-labelled-by\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagCloseLabelledBy\":[1,\"wcag-close-labelled-by\"],\"modalVisible\":[32],\"show\":[64],\"hide\":[64],\"validateWcag\":[64]}]]],[\"gov-pagination\",[[0,\"gov-pagination\",{\"type\":[1],\"current\":[2],\"total\":[2],\"inverse\":[4],\"size\":[1],\"variant\":[1],\"pageSize\":[2,\"page-size\"],\"maxPages\":[2,\"max-pages\"],\"link\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagSelectLabel\":[1,\"wcag-select-label\"],\"wcagPageLabel\":[1,\"wcag-page-label\"],\"pagination\":[32],\"validateWcag\":[64]}]]],[\"gov-prompt\",[[4,\"gov-prompt\",{\"open\":[4],\"label\":[1],\"role\":[1],\"labelTag\":[1,\"label-tag\"],\"wcaglabelledBy\":[1,\"wcag-labelled-by\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"wcagCloseLabelledBy\":[1,\"wcag-close-labelled-by\"],\"modalVisible\":[32],\"show\":[64],\"hide\":[64],\"validateWcag\":[64]}]]],[\"gov-tabs\",[[4,\"gov-tabs\",{\"type\":[1],\"variant\":[1],\"orientation\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagSelectLabel\":[1,\"wcag-select-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"controller\":[32],\"focusIndex\":[32],\"compactControls\":[32],\"refresh\":[64],\"currentTab\":[64],\"setActiveTab\":[64],\"validateWcag\":[64]}]]],[\"gov-alert\",[[4,\"gov-alert\",{\"variant\":[1],\"inverse\":[4],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"closable\":[4]}]]],[\"gov-loading\",[[4,\"gov-loading\",{\"loading\":[4]}]]],[\"gov-side-nav-item\",[[4,\"gov-side-nav-item\",{\"inverse\":[4],\"compact\":[4],\"identifier\":[1],\"count\":[4],\"label\":[1],\"disabled\":[4],\"href\":[1],\"isExpanded\":[4,\"is-expanded\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-toast\",[[4,\"gov-toast\",{\"variant\":[1],\"gravity\":[1],\"position\":[1],\"type\":[1],\"time\":[2],\"closeLabel\":[1,\"close-label\"],\"wcagCloseLabel\":[1,\"wcag-close-label\"],\"destroy\":[64]}]]],[\"gov-accordion-item\",[[4,\"gov-accordion-item\",{\"variant\":[1],\"identifier\":[1],\"size\":[1],\"label\":[1],\"annotation\":[1],\"disabled\":[4],\"isExpanded\":[4,\"is-expanded\"],\"triggerTag\":[1,\"trigger-tag\"],\"noBorder\":[4,\"no-border\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-card\",[[4,\"gov-card\",{\"promotion\":[4],\"label\":[1],\"collapsible\":[4],\"expanded\":[4],\"headlineTag\":[1,\"headline-tag\"],\"wcagTriggerLabel\":[1,\"wcag-trigger-label\"],\"wcagTriggerLabelledBy\":[1,\"wcag-trigger-labelled-by\"],\"isExpanded\":[32],\"open\":[64],\"close\":[64],\"validateWcag\":[64]}]]],[\"gov-form-checkbox\",[[4,\"gov-form-checkbox\",{\"value\":[1],\"checked\":[516],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"noLabel\":[4,\"no-label\"],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"isChecked\":[32],\"validateWcag\":[64]}]]],[\"gov-tile\",[[4,\"gov-tile\",{\"promotion\":[4],\"href\":[1],\"name\":[1]}]]],[\"gov-wizzard-item\",[[4,\"gov-wizzard-item\",{\"variant\":[1],\"size\":[1],\"identifier\":[1],\"collapsible\":[4],\"annotation\":[1],\"label\":[1],\"disabled\":[4],\"isExpanded\":[4,\"is-expanded\"],\"labelTag\":[1,\"label-tag\"],\"isExpandedState\":[32],\"open\":[64],\"close\":[64],\"toggle\":[64],\"currentState\":[64]}]]],[\"gov-accordion\",[[4,\"gov-accordion\",{\"size\":[1],\"variant\":[1],\"noBorder\":[4,\"no-border\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-app\",[[0,\"gov-app\"]]],[\"gov-breadcrumbs\",[[4,\"gov-breadcrumbs\",{\"collapsible\":[4],\"isExpanded\":[4,\"is-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelded-by\"],\"validateWcag\":[64]}]]],[\"gov-container\",[[4,\"gov-container\",{\"slottedChildren\":[64]}]]],[\"gov-cookiebar\",[[4,\"gov-cookiebar\"]]],[\"gov-empty\",[[4,\"gov-empty\"]]],[\"gov-error-code\",[[4,\"gov-error-code\"]]],[\"gov-form-control\",[[4,\"gov-form-control\",{\"gap\":[1],\"identifier\":[1],\"invalid\":[4],\"disabled\":[4],\"success\":[4],\"fieldset\":[4],\"size\":[1]}]]],[\"gov-form-group\",[[4,\"gov-form-group\",{\"gap\":[1]}]]],[\"gov-form-label\",[[4,\"gov-form-label\",{\"identifier\":[1],\"size\":[1],\"required\":[4],\"legend\":[4]}]]],[\"gov-form-password-power\",[[4,\"gov-form-password-power\",{\"power\":[2]}]]],[\"gov-form-radio\",[[4,\"gov-form-radio\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[516],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"isChecked\":[32],\"validateWcag\":[64]}]]],[\"gov-form-search\",[[4,\"gov-form-search\"]]],[\"gov-form-switch\",[[4,\"gov-form-switch\",{\"value\":[1],\"noLabel\":[4,\"no-label\"],\"checked\":[516],\"required\":[4],\"disabled\":[4],\"name\":[1],\"size\":[1],\"identifier\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"isChecked\":[32],\"validateWcag\":[64]}]]],[\"gov-grid\",[[4,\"gov-grid\",{\"alignX\":[1,\"align-x\"],\"alignY\":[1,\"align-y\"]}]]],[\"gov-grid-item\",[[4,\"gov-grid-item\",{\"size\":[1],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]}]]],[\"gov-layout\",[[4,\"gov-layout\",{\"type\":[1],\"variant\":[1],\"inverse\":[4]}]]],[\"gov-layout-column\",[[4,\"gov-layout-column\"]]],[\"gov-message\",[[4,\"gov-message\",{\"variant\":[1]}]]],[\"gov-nav\",[[4,\"gov-nav\",{\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-nav-item\",[[4,\"gov-nav-item\",{\"href\":[1],\"isExpandedState\":[32]}]]],[\"gov-side-nav\",[[4,\"gov-side-nav\",{\"inverse\":[4],\"compact\":[4],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-spacer\",[[0,\"gov-spacer\",{\"size\":[1],\"breakpoint\":[1]}]]],[\"gov-statsbar\",[[4,\"gov-statsbar\",{\"iconPosition\":[1,\"icon-position\"],\"variant\":[1]}]]],[\"gov-statsbar-item\",[[4,\"gov-statsbar-item\",{\"iconPosition\":[1,\"icon-position\"]}]]],[\"gov-stepper\",[[4,\"gov-stepper\",{\"size\":[1]}]]],[\"gov-stepper-item\",[[4,\"gov-stepper-item\",{\"variant\":[1],\"size\":[1],\"identifier\":[1],\"label\":[1],\"annotation\":[1],\"triggerTag\":[1,\"trigger-tag\"],\"isExpandedState\":[32],\"currentState\":[64]}]]],[\"gov-tabs-item\",[[4,\"gov-tabs-item\",{\"identifier\":[1],\"triggerIdentifier\":[1,\"trigger-identifier\"],\"label\":[1],\"default\":[4],\"isActive\":[32],\"getIdentifier\":[64],\"getTriggerIdentifier\":[64],\"setActiveStatus\":[64]}]]],[\"gov-tiles\",[[4,\"gov-tiles\",{\"columns\":[2],\"noBorder\":[4,\"no-border\"]}]]],[\"gov-tooltip\",[[4,\"gov-tooltip\",{\"variant\":[1],\"size\":[1],\"position\":[1],\"message\":[1],\"identifier\":[1],\"icon\":[4],\"show\":[64],\"hide\":[64]}]]],[\"gov-tooltip-content\",[[4,\"gov-tooltip-content\",{\"isVisible\":[4,\"is-visible\"]}]]],[\"gov-wizzard\",[[4,\"gov-wizzard\",{\"size\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-icon\",[[0,\"gov-icon\",{\"name\":[1],\"type\":[1],\"iconData\":[32],\"visible\":[32],\"error\":[32]}]]],[\"gov-form-input\",[[4,\"gov-form-input\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"success\":[4],\"size\":[1],\"name\":[1],\"multiline\":[4],\"rows\":[2],\"cols\":[2],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"minlength\":[2],\"maxlength\":[2],\"autocomplete\":[4],\"autocorrect\":[4],\"type\":[1],\"inputType\":[1,\"input-type\"],\"role\":[1],\"invalid\":[4],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"wcagAutocomplete\":[1,\"wcag-autocomplete\"],\"wcagExpanded\":[4,\"wcag-expanded\"],\"focused\":[32],\"setFocus\":[64],\"setValue\":[64],\"clearValue\":[64],\"getInstance\":[64],\"validateWcag\":[64]}]]],[\"gov-form-autocomplete\",[[4,\"gov-form-autocomplete\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"success\":[4],\"size\":[1],\"nameKey\":[1,\"name-key\"],\"name\":[1],\"required\":[4],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"invalid\":[4],\"minlength\":[2],\"maxlength\":[2],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"processing\":[32],\"arrowCounter\":[32],\"list\":[32],\"setFocus\":[64],\"clearValue\":[64],\"setSearchCallback\":[64],\"setTemplateResolver\":[64]}]]],[\"gov-form-select\",[[4,\"gov-form-select\",{\"value\":[1537],\"identifier\":[1],\"variant\":[1],\"size\":[1],\"name\":[1],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"wcagActiveDescendant\":[1,\"wcag-active-descendant\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"focused\":[32],\"setFocus\":[64],\"setValue\":[64],\"getInstance\":[64],\"validateWcag\":[64]}]]],[\"gov-badge\",[[4,\"gov-badge\",{\"inverse\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"size\":[1],\"type\":[1],\"tag\":[1],\"variant\":[1],\"wcagLabel\":[1,\"wcag-label\"]}]]],[\"gov-attachments_3\",[[4,\"gov-attachments-item\",{\"wcagRemoveLabel\":[1,\"wcag-remove-label\"],\"wcagRemoveLabelledBy\":[1,\"wcag-remove-labelled-by\"],\"validateWcag\":[64]}],[4,\"gov-attachments\",{\"label\":[1],\"wcagLabel\":[1,\"wcag-label\"],\"validateWcag\":[64]}],[4,\"gov-form-message\",{\"variant\":[1],\"identifier\":[64]}]]],[\"gov-backdrop\",[[0,\"gov-backdrop\",{\"inverse\":[4],\"visible\":[4],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"validateWcag\":[64]}]]],[\"gov-button\",[[4,\"gov-button\",{\"variant\":[513],\"size\":[513],\"type\":[513],\"expanded\":[4],\"inverse\":[4],\"name\":[1],\"disabled\":[516],\"nativeType\":[1,\"native-type\"],\"href\":[1],\"target\":[1],\"download\":[4],\"hreflang\":[1],\"referrerpolicy\":[1],\"rel\":[1],\"loading\":[1],\"focusable\":[4],\"identifier\":[1],\"wcagActiveDescendant\":[1,\"wcag-active-descendant\"],\"wcagControls\":[1,\"wcag-controls\"],\"wcagDescribedBy\":[1,\"wcag-described-by\"],\"wcagDescription\":[1,\"wcag-description\"],\"wcagDetails\":[1,\"wcag-details\"],\"wcagExpanded\":[4,\"wcag-expanded\"],\"wcagLabel\":[1,\"wcag-label\"],\"wcagLabelledBy\":[1,\"wcag-labelled-by\"],\"wcagOwns\":[1,\"wcag-owns\"],\"wcagHasPopup\":[1,\"wcag-has-popup\"],\"wcagPressed\":[1,\"wcag-pressed\"],\"wcagCurrent\":[1,\"wcag-current\"],\"isPressed\":[32],\"setFocus\":[64],\"validateWcag\":[64]}]]]]"), options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
package/dist/hydrate/index.js
CHANGED
|
@@ -5803,7 +5803,7 @@ const property = (name, object) => {
|
|
|
5803
5803
|
};
|
|
5804
5804
|
const pick = (obj, keys) => Object.fromEntries(Object.entries(obj).filter(([key]) => keys.includes(key)));
|
|
5805
5805
|
|
|
5806
|
-
const AccordionSizes = pick(Sizes, ['_S', '_M', '_L']);
|
|
5806
|
+
const AccordionSizes = pick(Sizes, ['_XS', '_S', '_M', '_L']);
|
|
5807
5807
|
const AccordionVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'CUSTOM']);
|
|
5808
5808
|
const AccordionClass = {
|
|
5809
5809
|
root: 'gov-accordion',
|
|
@@ -6097,17 +6097,18 @@ class GovAccordionItem {
|
|
|
6097
6097
|
registerInstance(this, hostRef);
|
|
6098
6098
|
this.govChange = createEvent(this, "gov-change", 7);
|
|
6099
6099
|
this.isExpandedState = undefined;
|
|
6100
|
-
this.variant =
|
|
6100
|
+
this.variant = "primary";
|
|
6101
6101
|
this.identifier = undefined;
|
|
6102
6102
|
this.size = undefined;
|
|
6103
6103
|
this.label = undefined;
|
|
6104
6104
|
this.annotation = undefined;
|
|
6105
6105
|
this.disabled = false;
|
|
6106
6106
|
this.isExpanded = false;
|
|
6107
|
-
this.triggerTag =
|
|
6107
|
+
this.triggerTag = "h3";
|
|
6108
|
+
this.noBorder = false;
|
|
6108
6109
|
this.h = govHost(this.host);
|
|
6109
|
-
this.triggerId = createID(
|
|
6110
|
-
this.contentId = createID(
|
|
6110
|
+
this.triggerId = createID("GovAccordionItem");
|
|
6111
|
+
this.contentId = createID("GovAccordionContent");
|
|
6111
6112
|
}
|
|
6112
6113
|
validateLabel(newValue) {
|
|
6113
6114
|
if (!newValue) {
|
|
@@ -6115,7 +6116,7 @@ class GovAccordionItem {
|
|
|
6115
6116
|
}
|
|
6116
6117
|
}
|
|
6117
6118
|
validateTriggerTag(newValue) {
|
|
6118
|
-
const validTags = [
|
|
6119
|
+
const validTags = ["h1", "h2", "h3", "h4", "h5", "h6", "span"];
|
|
6119
6120
|
if (newValue) {
|
|
6120
6121
|
if (!validTags.includes(newValue)) {
|
|
6121
6122
|
govErrorLog(`[${AccordionItemClass.root}]: Tag ${newValue} is not allowed.`);
|
|
@@ -6143,7 +6144,10 @@ class GovAccordionItem {
|
|
|
6143
6144
|
const contentId = this.contentId;
|
|
6144
6145
|
const { isExpandedState, label } = this;
|
|
6145
6146
|
const TriggerTag = this.triggerTag;
|
|
6146
|
-
return (hAsync(Host, { class: this.h.classes(AccordionItemClass.root), role: "listitem" }, hAsync("button", { id: triggerId, class: AccordionItemClass.header, "aria-expanded": booleanString(isExpandedState), "aria-controls": contentId, disabled: this.disabled, "aria-disabled": toBoolAttrIfDefined(this.disabled), onClick: () =>
|
|
6147
|
+
return (hAsync(Host, { class: this.h.classes(AccordionItemClass.root), "no-border": this.noBorder, role: "listitem" }, hAsync("button", { id: triggerId, class: AccordionItemClass.header, "aria-expanded": booleanString(isExpandedState), "aria-controls": contentId, disabled: this.disabled, "aria-disabled": toBoolAttrIfDefined(this.disabled), onClick: (e) => {
|
|
6148
|
+
e.stopPropagation();
|
|
6149
|
+
this.toggle().finally();
|
|
6150
|
+
} }, hAsync(TriggerTag, { class: AccordionItemClass.title }, this.h.hasSlot("icon") && (hAsync("span", { class: AccordionItemClass.icon }, hAsync("slot", { name: "icon" }))), hAsync("span", { class: AccordionItemClass.name }, hAsync("span", { class: AccordionItemClass.label }, label), this.annotation && hAsync("span", { class: AccordionItemClass.annot }, this.annotation)), this.h.hasSlot("suffix") && (hAsync("span", { class: AccordionItemClass.suffix }, hAsync("slot", { name: "suffix" })))), hAsync("gov-icon", { class: AccordionItemClass.arrow, name: "chevron-down" })), hAsync("div", { class: AccordionItemClass.content, id: contentId, "aria-hidden": booleanString(!isExpandedState), hidden: !isExpandedState, "aria-labelledby": triggerId }, hAsync("slot", null))));
|
|
6147
6151
|
}
|
|
6148
6152
|
/**
|
|
6149
6153
|
* Opening the accordion
|
|
@@ -6192,6 +6196,7 @@ class GovAccordionItem {
|
|
|
6192
6196
|
"disabled": [4],
|
|
6193
6197
|
"isExpanded": [4, "is-expanded"],
|
|
6194
6198
|
"triggerTag": [1, "trigger-tag"],
|
|
6199
|
+
"noBorder": [4, "no-border"],
|
|
6195
6200
|
"isExpandedState": [32],
|
|
6196
6201
|
"open": [64],
|
|
6197
6202
|
"close": [64],
|
|
@@ -11196,15 +11201,35 @@ class BreadcrumbsPage extends HTMLElement {
|
|
|
11196
11201
|
this.innerHTML = `
|
|
11197
11202
|
<h2>Breadcrumbs</h2>
|
|
11198
11203
|
|
|
11199
|
-
<gov-breadcrumbs wcag-label="Drobečková navigace pro stránku Czech POINT"
|
|
11204
|
+
<gov-breadcrumbs wcag-label="Drobečková navigace pro stránku Czech POINT">
|
|
11205
|
+
<ul>
|
|
11206
|
+
<li>
|
|
11207
|
+
<button>
|
|
11208
|
+
Domů
|
|
11209
|
+
</button>
|
|
11210
|
+
</li>
|
|
11211
|
+
<li>
|
|
11212
|
+
<gov-icon name="chevron-right"></gov-icon>
|
|
11213
|
+
<a href="#">Kam dál</a>
|
|
11214
|
+
</li>
|
|
11215
|
+
<li>
|
|
11216
|
+
<gov-icon name="chevron-right"></gov-icon>
|
|
11217
|
+
<a href="#">
|
|
11218
|
+
Český eGovernment
|
|
11219
|
+
</a>
|
|
11220
|
+
</li>
|
|
11221
|
+
<li>
|
|
11222
|
+
<gov-icon name="chevron-right"></gov-icon>
|
|
11223
|
+
<strong>Czech POINT</strong>
|
|
11224
|
+
</li>
|
|
11225
|
+
</ul>
|
|
11226
|
+
</gov-breadcrumbs>
|
|
11200
11227
|
|
|
11201
|
-
<h3>Collapsible</h3>
|
|
11202
|
-
<gov-breadcrumbs collapsible="true" wcag-label="Drobečková navigace pro stránku Czech POINT"></gov-breadcrumbs>
|
|
11203
11228
|
`;
|
|
11204
11229
|
}
|
|
11205
11230
|
}
|
|
11206
|
-
if (customElements.get(
|
|
11207
|
-
customElements.define(
|
|
11231
|
+
if (customElements.get("breadcrumbs-page") === undefined) {
|
|
11232
|
+
customElements.define("breadcrumbs-page", BreadcrumbsPage);
|
|
11208
11233
|
}
|
|
11209
11234
|
|
|
11210
11235
|
class CardPage extends HTMLElement {
|
|
@@ -14804,28 +14829,20 @@ class GovBadge {
|
|
|
14804
14829
|
|
|
14805
14830
|
const BreadcrumbsClass = {
|
|
14806
14831
|
root: 'gov-breadcrumbs',
|
|
14807
|
-
arrow: 'gov-breadcrumbs__arrow',
|
|
14808
|
-
list: 'gov-breadcrumbs__list',
|
|
14809
|
-
item: 'gov-breadcrumbs__item',
|
|
14810
|
-
button: 'gov-breadcrumbs__button',
|
|
14811
14832
|
};
|
|
14812
14833
|
|
|
14813
|
-
const govBreadcrumbsCss = ".gov-
|
|
14834
|
+
const govBreadcrumbsCss = ".gov-breadcrumbs ul{margin:0;padding:0}.gov-breadcrumbs li{margin:0;padding:0;background:none}.gov-breadcrumbs li::before{display:none}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}.gov-breadcrumbs ul{position:relative;display:flex;width:100%;padding-bottom:0.3125rem;overflow-x:auto}.gov-breadcrumbs li{display:flex;justify-content:flex-start;align-items:center;white-space:nowrap}.gov-breadcrumbs button{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);padding:0;border:none;background:none;color:var(--gov-breadcrumbs-link-color, var(--gov-color-primary));text-decoration:underline}.gov-breadcrumbs button:hover{text-decoration:none}.gov-breadcrumbs .gov-icon{width:0.625rem;height:0.625rem;margin:0rem 1rem;color:var(--gov-breadcrumbs-arrow-color, var(--gov-color-secondary-600))}";
|
|
14814
14835
|
|
|
14815
14836
|
class GovBreadcrumbs {
|
|
14816
14837
|
constructor(hostRef) {
|
|
14817
14838
|
registerInstance(this, hostRef);
|
|
14818
14839
|
this.govChange = createEvent(this, "gov-change", 7);
|
|
14819
|
-
this.isExpandedState = undefined;
|
|
14820
14840
|
this.collapsible = false;
|
|
14821
14841
|
this.isExpanded = false;
|
|
14822
14842
|
this.wcagLabel = undefined;
|
|
14823
14843
|
this.wcagLabelledBy = undefined;
|
|
14824
14844
|
this.h = govHost(this.host);
|
|
14825
14845
|
}
|
|
14826
|
-
emmitChange() {
|
|
14827
|
-
this.govChange.emit({ open: this.isExpandedState, element: this.host });
|
|
14828
|
-
}
|
|
14829
14846
|
async componentDidRender() {
|
|
14830
14847
|
if (canValidateWcagOnRender()) {
|
|
14831
14848
|
await delay(500);
|
|
@@ -14833,29 +14850,7 @@ class GovBreadcrumbs {
|
|
|
14833
14850
|
}
|
|
14834
14851
|
}
|
|
14835
14852
|
render() {
|
|
14836
|
-
|
|
14837
|
-
return (hAsync(Host, { class: this.h.classes(BreadcrumbsClass.root), collapsible: this.collapsible }, hAsync("nav", { "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy }, hAsync("ul", { class: BreadcrumbsClass.list }, hAsync("li", { class: BreadcrumbsClass.item }, hAsync("a", { href: "#", class: "gov-link" }, "Dom\u016F"), hAsync("gov-icon", { class: BreadcrumbsClass.arrow, name: "chevron-right" })), hAsync("li", { class: BreadcrumbsClass.item }, hAsync("a", { href: "#", class: "gov-link" }, "Kam d\u00E1l"), hAsync("gov-icon", { class: BreadcrumbsClass.arrow, name: "chevron-right" })), hAsync("li", { class: BreadcrumbsClass.item }, hAsync("a", { href: "#", class: "gov-link" }, "\u010Cesk\u00FD eGovernment"), hAsync("gov-icon", { class: BreadcrumbsClass.arrow, name: "chevron-right" })), hAsync("li", { class: BreadcrumbsClass.item }, hAsync("strong", null, "Czech POINT")))), this.collapsible && (hAsync("gov-button", { "aria-expanded": booleanString(isExpandedState), class: BreadcrumbsClass.button, variant: "primary", size: "s", inverse: true }, hAsync("gov-icon", { slot: "left-icon", name: "chevron-down", onClick: () => this.toggle() })))));
|
|
14838
|
-
}
|
|
14839
|
-
/**
|
|
14840
|
-
* Opening the Breadcrumbs
|
|
14841
|
-
*/
|
|
14842
|
-
async open() {
|
|
14843
|
-
this.isExpandedState = true;
|
|
14844
|
-
this.emmitChange();
|
|
14845
|
-
}
|
|
14846
|
-
/**
|
|
14847
|
-
* Closing the Breadcrumbs
|
|
14848
|
-
*/
|
|
14849
|
-
async close() {
|
|
14850
|
-
this.isExpandedState = false;
|
|
14851
|
-
this.emmitChange();
|
|
14852
|
-
}
|
|
14853
|
-
/**
|
|
14854
|
-
* Breadcrumbs switch
|
|
14855
|
-
*/
|
|
14856
|
-
async toggle() {
|
|
14857
|
-
this.isExpandedState = !this.isExpandedState;
|
|
14858
|
-
this.emmitChange();
|
|
14853
|
+
return (hAsync(Host, { class: this.h.classes(BreadcrumbsClass.root) }, hAsync("nav", { "aria-label": this.wcagLabel, "aria-labelledby": this.wcagLabelledBy }, hAsync("slot", null))));
|
|
14859
14854
|
}
|
|
14860
14855
|
/**
|
|
14861
14856
|
* Validate the WCAG attributes of the component
|
|
@@ -14866,17 +14861,13 @@ class GovBreadcrumbs {
|
|
|
14866
14861
|
get host() { return getElement(this); }
|
|
14867
14862
|
static get style() { return govBreadcrumbsCss; }
|
|
14868
14863
|
static get cmpMeta() { return {
|
|
14869
|
-
"$flags$":
|
|
14864
|
+
"$flags$": 4,
|
|
14870
14865
|
"$tagName$": "gov-breadcrumbs",
|
|
14871
14866
|
"$members$": {
|
|
14872
14867
|
"collapsible": [4],
|
|
14873
14868
|
"isExpanded": [4, "is-expanded"],
|
|
14874
14869
|
"wcagLabel": [1, "wcag-label"],
|
|
14875
14870
|
"wcagLabelledBy": [1, "wcag-labelded-by"],
|
|
14876
|
-
"isExpandedState": [32],
|
|
14877
|
-
"open": [64],
|
|
14878
|
-
"close": [64],
|
|
14879
|
-
"toggle": [64],
|
|
14880
14871
|
"validateWcag": [64]
|
|
14881
14872
|
},
|
|
14882
14873
|
"$listeners$": undefined,
|
package/dist/stencil.config.js
CHANGED
|
@@ -3,6 +3,7 @@ import { sass } from '@stencil/sass';
|
|
|
3
3
|
import autoprefixer from 'autoprefixer';
|
|
4
4
|
import path from 'path';
|
|
5
5
|
import { reactOutputTarget } from '@stencil/react-output-target';
|
|
6
|
+
import { vueOutputTarget } from '@stencil/vue-output-target';
|
|
6
7
|
export const config = {
|
|
7
8
|
namespace: 'core',
|
|
8
9
|
globalStyle: 'src/sass/global.scss',
|
|
@@ -58,6 +59,10 @@ export const config = {
|
|
|
58
59
|
proxiesFile: '../../../packages/core-react/lib/components.ts',
|
|
59
60
|
includeDefineCustomElements: true,
|
|
60
61
|
}),
|
|
62
|
+
vueOutputTarget({
|
|
63
|
+
componentCorePackage: '@gov-design-system-ce/components',
|
|
64
|
+
proxiesFile: '../../../packages/core-vue/lib/components.ts',
|
|
65
|
+
}),
|
|
61
66
|
],
|
|
62
67
|
};
|
|
63
68
|
//# sourceMappingURL=stencil.config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stencil.config.js","sourceRoot":"","sources":["../../../stencil.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,YAAY,MAAM,cAAc,CAAA;AACvC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"stencil.config.js","sourceRoot":"","sources":["../../../stencil.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,YAAY,MAAM,cAAc,CAAA;AACvC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,MAAM,CAAC,MAAM,MAAM,GAAW;EAC7B,SAAS,EAAE,MAAM;EACjB,WAAW,EAAE,sBAAsB;EACnC,SAAS,EAAE,OAAO;EAClB,SAAS,EAAE,IAAI;EACf,MAAM,EAAE;IACP,2BAA2B,EAAE,IAAI;GACjC;EACD,OAAO,EAAE;IACR,IAAI,CAAC;MACJ,iBAAiB,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE;KACvF,CAAC;IACF,OAAO,CAAC;MACP,OAAO,EAAE,CAAC,YAAY,EAAE,CAAC;KACzB,CAAC;GACF;EACD,aAAa,EAAE;IACd;MACC,IAAI,EAAE,6BAA6B;MACnC,eAAe,EAAE,KAAK;MACtB,MAAM,EAAE,IAAI;KACZ;IACD;MACC,IAAI,EAAE,MAAM;MACZ,aAAa,EAAE,WAAW;KAC1B;IACD;MACC,IAAI,EAAE,sBAAsB;KAC5B;IACD;MACC,IAAI,EAAE,aAAa;MACnB,MAAM,EAAE,IAAI;KACZ;IACD;MACC,IAAI,EAAE,KAAK;MACX,IAAI,EAAE;QACL,EAAE,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAE;QACtD,EAAE,GAAG,EAAE,iBAAiB,EAAE,IAAI,EAAE,oBAAoB,EAAE;OACtD;MACD,aAAa,EAAE,IAAI;KACnB;IACD;MACC,IAAI,EAAE,qBAAqB;MAC3B,GAAG,EAAE,cAAc;KACnB;IACD;MACC,IAAI,EAAE,sBAAsB;MAC5B,wBAAwB,EAAE,IAAI;MAC9B,oBAAoB,EAAE,KAAK;KAC3B;IAED,iBAAiB,CAAC;MACjB,oBAAoB,EAAE,kCAAkC;MACxD,WAAW,EAAE,gDAAgD;MAC7D,2BAA2B,EAAE,IAAI;KACjC,CAAC;IACF,eAAe,CAAC;MACf,oBAAoB,EAAE,kCAAkC;MACxD,WAAW,EAAE,8CAA8C;KAC3D,CAAC;GACF;CACD,CAAA","sourcesContent":["import { Config } from '@stencil/core'\nimport { postcss } from '@stencil/postcss'\nimport { sass } from '@stencil/sass'\nimport autoprefixer from 'autoprefixer'\nimport path from 'path'\nimport { reactOutputTarget } from '@stencil/react-output-target'\nimport { vueOutputTarget } from '@stencil/vue-output-target'\n\nexport const config: Config = {\n\tnamespace: 'core',\n\tglobalStyle: 'src/sass/global.scss',\n\ttaskQueue: 'async',\n\tsourceMap: true,\n\textras: {\n\t\texperimentalImportInjection: true,\n\t},\n\tplugins: [\n\t\tsass({\n\t\t\tinjectGlobalPaths: [path.resolve(__dirname, `src/sass/core.scss`).replace(/\\\\/g, '/'),],\n\t\t}),\n\t\tpostcss({\n\t\t\tplugins: [autoprefixer()],\n\t\t}),\n\t],\n\toutputTargets: [\n\t\t{\n\t\t\ttype: 'dist-custom-elements-bundle',\n\t\t\texternalRuntime: false,\n\t\t\tminify: true,\n\t\t},\n\t\t{\n\t\t\ttype: 'dist',\n\t\t\tesmLoaderPath: '../loader',\n\t\t},\n\t\t{\n\t\t\ttype: 'dist-custom-elements',\n\t\t},\n\t\t{\n\t\t\ttype: 'docs-readme',\n\t\t\tstrict: true\n\t\t},\n\t\t{\n\t\t\ttype: 'www',\n\t\t\tcopy: [\n\t\t\t\t{ src: '../../fonts/lib', dest: 'build/assets/fonts' },\n\t\t\t\t{ src: '../../icons/lib', dest: 'build/assets/icons' }\n\t\t\t],\n\t\t\tserviceWorker: null,\n\t\t},\n\t\t{\n\t\t\ttype: 'dist-hydrate-script',\n\t\t\tdir: 'dist/hydrate',\n\t\t},\n\t\t{\n\t\t\ttype: 'dist-custom-elements',\n\t\t\tautoDefineCustomElements: true,\n\t\t\tincludeGlobalScripts: false,\n\t\t},\n\n\t\treactOutputTarget({\n\t\t\tcomponentCorePackage: '@gov-design-system-ce/components',\n\t\t\tproxiesFile: '../../../packages/core-react/lib/components.ts',\n\t\t\tincludeDefineCustomElements: true,\n\t\t}),\n\t\tvueOutputTarget({\n\t\t\tcomponentCorePackage: '@gov-design-system-ce/components',\n\t\t\tproxiesFile: '../../../packages/core-vue/lib/components.ts',\n\t\t}),\n\t],\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Sizes } from '../../core/constants/sizes';
|
|
2
2
|
import { Variants } from '../../core/constants/variants';
|
|
3
3
|
import { ValueOf } from '../../types/interfaces';
|
|
4
|
-
export declare const AccordionSizes: Pick<typeof Sizes, "_S" | "_M" | "_L">;
|
|
4
|
+
export declare const AccordionSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L">;
|
|
5
5
|
export declare type AccordionSizeType = `${ValueOf<typeof AccordionSizes>}`;
|
|
6
6
|
export declare const AccordionVariants: Pick<typeof Variants, "PRIMARY" | "SECONDARY" | "CUSTOM">;
|
|
7
7
|
export declare type AccordionVariantType = `${ValueOf<typeof AccordionVariants>}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { AccordionSizeType, AccordionVariantType } from
|
|
3
|
-
import { GovAccordionItemChangeEvent } from
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { AccordionSizeType, AccordionVariantType } from "./constants";
|
|
3
|
+
import { GovAccordionItemChangeEvent } from "./gov-accordion-item.d";
|
|
4
4
|
export declare class GovAccordionItem {
|
|
5
5
|
private readonly triggerId;
|
|
6
6
|
private readonly contentId;
|
|
@@ -38,9 +38,13 @@ export declare class GovAccordionItem {
|
|
|
38
38
|
*/
|
|
39
39
|
readonly isExpanded: boolean;
|
|
40
40
|
/**
|
|
41
|
-
* Used to change the
|
|
41
|
+
* Used to change the HTML tag in the accordion trigger for correct semantic structure
|
|
42
42
|
*/
|
|
43
43
|
readonly triggerTag: string;
|
|
44
|
+
/**
|
|
45
|
+
* To remove the main underline of an item
|
|
46
|
+
*/
|
|
47
|
+
readonly noBorder: boolean;
|
|
44
48
|
/**
|
|
45
49
|
* Called when the accordion state changes
|
|
46
50
|
*/
|
|
@@ -4,7 +4,6 @@ export declare class GovBreadcrumbs {
|
|
|
4
4
|
private h;
|
|
5
5
|
constructor();
|
|
6
6
|
readonly host: HTMLGovBreadcrumbsElement;
|
|
7
|
-
isExpandedState: boolean;
|
|
8
7
|
/**
|
|
9
8
|
* Defines wether the components can be collapsible when element doesn't fit in one row.
|
|
10
9
|
*/
|
|
@@ -25,21 +24,8 @@ export declare class GovBreadcrumbs {
|
|
|
25
24
|
* Called when the Breadrumbs state changes
|
|
26
25
|
*/
|
|
27
26
|
govChange: EventEmitter<GovBreadcrumbsChangeEvent>;
|
|
28
|
-
private emmitChange;
|
|
29
27
|
componentDidRender(): Promise<void>;
|
|
30
28
|
render(): any;
|
|
31
|
-
/**
|
|
32
|
-
* Opening the Breadcrumbs
|
|
33
|
-
*/
|
|
34
|
-
open(): Promise<void>;
|
|
35
|
-
/**
|
|
36
|
-
* Closing the Breadcrumbs
|
|
37
|
-
*/
|
|
38
|
-
close(): Promise<void>;
|
|
39
|
-
/**
|
|
40
|
-
* Breadcrumbs switch
|
|
41
|
-
*/
|
|
42
|
-
toggle(): Promise<void>;
|
|
43
29
|
/**
|
|
44
30
|
* Validate the WCAG attributes of the component
|
|
45
31
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Sizes } from '../../core/constants/sizes';
|
|
2
2
|
import { Variants } from '../../core/constants/variants';
|
|
3
3
|
import { ValueOf } from '../../types/interfaces';
|
|
4
|
-
export declare const ButtonSizes: Pick<typeof Sizes, "
|
|
4
|
+
export declare const ButtonSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_XL">;
|
|
5
5
|
export declare type ButtonSizesType = `${ValueOf<typeof ButtonSizes>}`;
|
|
6
6
|
export declare const ButtonVariants: Pick<typeof Variants, "PRIMARY" | "SECONDARY" | "SUCCESS" | "ERROR" | "WARNING">;
|
|
7
7
|
export declare type ButtonVariantType = `${ValueOf<typeof ButtonVariants>}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Sizes } from '../../../core/constants/sizes';
|
|
2
2
|
import { ValueOf } from '../../../types/interfaces';
|
|
3
|
-
export declare const FormCheckboxSizes: Pick<typeof Sizes, "
|
|
3
|
+
export declare const FormCheckboxSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L">;
|
|
4
4
|
export declare type FormCheckboxSizesType = `${ValueOf<typeof FormCheckboxSizes>}`;
|
|
5
5
|
export declare const FormCheckboxClass: {
|
|
6
6
|
root: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Sizes } from "../../../core/constants/sizes";
|
|
2
2
|
import { ValueOf } from "../../../types/interfaces";
|
|
3
|
-
export declare const FormGroupSizes: Pick<typeof Sizes, "
|
|
3
|
+
export declare const FormGroupSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_2XS">;
|
|
4
4
|
export declare type FormGroupSizesType = `${ValueOf<typeof FormGroupSizes>}`;
|
|
5
5
|
export declare const FormGroupClass: {
|
|
6
6
|
root: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Sizes } from "../../../core/constants/sizes";
|
|
2
2
|
import { ValueOf } from "../../../types/interfaces";
|
|
3
|
-
export declare const FormLabelSizes: Pick<typeof Sizes, "
|
|
3
|
+
export declare const FormLabelSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_XL">;
|
|
4
4
|
export declare type FormLabelSizesTypes = `${ValueOf<typeof FormLabelSizes>}`;
|
|
5
5
|
export declare const FormLabelClass: {
|
|
6
6
|
root: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Sizes } from '../../../core/constants/sizes';
|
|
2
2
|
import { ValueOf } from '../../../types/interfaces';
|
|
3
|
-
export declare const FormRadioSizes: Pick<typeof Sizes, "
|
|
3
|
+
export declare const FormRadioSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L">;
|
|
4
4
|
export declare type FormRadioSizesType = `${ValueOf<typeof FormRadioSizes>}`;
|
|
5
5
|
export declare const FormRadioClass: {
|
|
6
6
|
root: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Sizes } from '../../../core/constants/sizes';
|
|
2
2
|
import { ValueOf } from '../../../types/interfaces';
|
|
3
|
-
export declare const FormSwitchSizes: Pick<typeof Sizes, "
|
|
3
|
+
export declare const FormSwitchSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L">;
|
|
4
4
|
export declare type FormSwitchSizesType = `${ValueOf<typeof FormSwitchSizes>}`;
|
|
5
5
|
export declare const FormSwitchClass: {
|
|
6
6
|
root: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Sizes } from '../../core/constants/sizes';
|
|
2
2
|
import { ValueOf } from '../../types/interfaces';
|
|
3
|
-
export declare const SpacerSize: Pick<typeof Sizes, "
|
|
3
|
+
export declare const SpacerSize: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_2XS" | "_XL" | "_2XL" | "_3XL" | "_5XL">;
|
|
4
4
|
export declare type SpacerSizeType = `${ValueOf<typeof SpacerSize>}`;
|
|
5
5
|
export declare enum SpacerBreakpoints {
|
|
6
6
|
NONE = "none",
|
|
@@ -3,7 +3,7 @@ import { Sizes } from '../../core/constants/sizes';
|
|
|
3
3
|
import { ValueOf } from '../../types/interfaces';
|
|
4
4
|
export declare const StepperVariants: Pick<typeof Variants, "PRIMARY" | "SECONDARY" | "SUCCESS" | "ERROR" | "WARNING">;
|
|
5
5
|
export declare type StepperVariantType = `${ValueOf<typeof StepperVariants>}`;
|
|
6
|
-
export declare const StepperSizes: Pick<typeof Sizes, "
|
|
6
|
+
export declare const StepperSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M">;
|
|
7
7
|
export declare type StepperSizesType = `${ValueOf<typeof StepperSizes>}`;
|
|
8
8
|
export declare const StepperClass: {
|
|
9
9
|
root: string;
|
|
@@ -3,7 +3,7 @@ import { Sizes } from '../../core/constants/sizes';
|
|
|
3
3
|
import { ValueOf } from '../../types/interfaces';
|
|
4
4
|
export declare const WizardVariants: Pick<typeof Variants, "PRIMARY" | "SECONDARY" | "SUCCESS" | "ERROR" | "WARNING">;
|
|
5
5
|
export declare type WizardVariantsType = `${ValueOf<typeof WizardVariants>}`;
|
|
6
|
-
export declare const WizardSizes: Pick<typeof Sizes, "
|
|
6
|
+
export declare const WizardSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M">;
|
|
7
7
|
export declare type WizardSizesType = `${ValueOf<typeof WizardSizes>}`;
|
|
8
8
|
export declare const WizzardClass: {
|
|
9
9
|
root: string;
|