@gov-design-system-ce/components 0.0.51 → 0.0.53
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-0883e74c.js → constants-393e915a.js} +2 -2
- package/dist/cjs/{constants-0883e74c.js.map → constants-393e915a.js.map} +1 -1
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/gov-accordion-item.cjs.entry.js +13 -37
- package/dist/cjs/gov-accordion-item.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +2 -2
- package/dist/cjs/gov-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-app.cjs.entry.js +158 -326
- package/dist/cjs/gov-app.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-badge.cjs.entry.js +5 -11
- package/dist/cjs/gov-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-control.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +7 -1
- package/dist/cjs/gov-form-group.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-input.cjs.entry.js +14 -12
- package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-icon.cjs.entry.js +5 -3
- package/dist/cjs/gov-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-prompt.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +2 -2
- package/dist/cjs/gov-spacer.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-statsbar.cjs.entry.js +3 -3
- package/dist/cjs/gov-statsbar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +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.css +82 -84
- package/dist/collection/components/gov-accordion/gov-accordion-item.js +16 -117
- 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-accordion/gov-accordion.js.map +1 -1
- package/dist/collection/components/gov-backdrop/gov-backdrop.js +1 -1
- package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
- package/dist/collection/components/gov-badge/gov-badge.css +20 -20
- package/dist/collection/components/gov-badge/gov-badge.js +8 -40
- package/dist/collection/components/gov-badge/gov-badge.js.map +1 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +3 -3
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
- package/dist/collection/components/gov-control-group/constants.js +1 -1
- package/dist/collection/components/gov-control-group/constants.js.map +1 -1
- package/dist/collection/components/gov-control-group/gov-control-group.js +3 -3
- package/dist/collection/components/gov-control-group/gov-control-group.js.map +1 -1
- package/dist/collection/components/gov-form/control/gov-form-control.css +4 -4
- package/dist/collection/components/gov-form/group/constants.js +5 -0
- package/dist/collection/components/gov-form/group/constants.js.map +1 -1
- package/dist/collection/components/gov-form/group/gov-form-group.css +8 -1
- package/dist/collection/components/gov-form/group/gov-form-group.js +25 -0
- package/dist/collection/components/gov-form/group/gov-form-group.js.map +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +27 -19
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
- package/dist/collection/components/gov-icon/gov-icon.js +4 -2
- package/dist/collection/components/gov-icon/gov-icon.js.map +1 -1
- package/dist/collection/components/gov-modal/gov-modal.js +8 -2
- package/dist/collection/components/gov-modal/gov-modal.js.map +1 -1
- package/dist/collection/components/gov-promp/gov-prompt.js +9 -4
- package/dist/collection/components/gov-promp/gov-prompt.js.map +1 -1
- package/dist/collection/components/gov-spacer/constants.js +1 -1
- package/dist/collection/components/gov-spacer/constants.js.map +1 -1
- package/dist/collection/components/gov-spacer/gov-spacer.js +3 -3
- package/dist/collection/components/gov-spacer/gov-spacer.js.map +1 -1
- package/dist/collection/components/gov-statsbar/gov-statsbar.js +5 -5
- package/dist/collection/components/gov-statsbar/gov-statsbar.js.map +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js +1 -1
- package/dist/collection/components/gov-tabs/gov-tabs.js.map +1 -1
- package/dist/collection/core/constants/tokens.js +17 -0
- package/dist/collection/core/constants/tokens.js.map +1 -0
- package/dist/collection/pages/Accordion.js +158 -326
- package/dist/collection/pages/Accordion.js.map +1 -1
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-accordion-item.js.map +1 -1
- package/dist/components/gov-accordion.js +1 -1
- package/dist/components/gov-accordion.js.map +1 -1
- package/dist/components/gov-alert.js +1 -1
- package/dist/components/gov-alert.js.map +1 -1
- package/dist/components/gov-app.js +1 -1
- package/dist/components/gov-app.js.map +1 -1
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-badge.js +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -1
- package/dist/components/gov-breadcrumbs.js.map +1 -1
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-control-group.js.map +1 -1
- package/dist/components/gov-form-autocomplete.js +1 -1
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-control.js +1 -1
- package/dist/components/gov-form-control.js.map +1 -1
- package/dist/components/gov-form-file.js +1 -1
- package/dist/components/gov-form-group.js +1 -1
- package/dist/components/gov-form-group.js.map +1 -1
- package/dist/components/gov-form-input.js +1 -1
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-modal.js +1 -1
- package/dist/components/gov-modal.js.map +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-prompt.js +1 -1
- package/dist/components/gov-prompt.js.map +1 -1
- package/dist/components/gov-side-nav-item.js +1 -1
- package/dist/components/gov-spacer.js +1 -1
- package/dist/components/gov-spacer.js.map +1 -1
- package/dist/components/gov-statsbar-item.js +1 -1
- package/dist/components/gov-statsbar.js +1 -1
- package/dist/components/gov-statsbar.js.map +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tabs.js.map +1 -1
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-wizzard-item.js +1 -1
- package/dist/components/{p-d305407a.js → p-103c7bd5.js} +2 -2
- package/dist/{core/p-1020a160.js → components/p-17ebfe85.js} +2 -2
- package/dist/components/p-37a7409e.js +2 -0
- package/dist/components/p-37a7409e.js.map +1 -0
- package/dist/components/p-386409dc.js.map +1 -1
- package/dist/components/{p-ec26407a.js → p-7bea2390.js} +2 -2
- package/dist/components/{p-cd440c95.js → p-a20f1683.js} +2 -2
- package/dist/components/p-a20f1683.js.map +1 -0
- package/dist/components/{p-1026d931.js → p-c0e49b09.js} +2 -2
- package/dist/components/{p-9da782bf.js → p-c3f560b9.js} +2 -2
- package/dist/components/{p-9da782bf.js.map → p-c3f560b9.js.map} +1 -1
- package/dist/components/p-cf493ba0.js +2 -0
- package/dist/components/p-cf493ba0.js.map +1 -0
- package/dist/components/{p-80b2c231.js → p-db22f9ce.js} +2 -2
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-42cd2cc4.entry.js → p-05dc3d89.entry.js} +2 -2
- package/dist/core/{p-42cd2cc4.entry.js.map → p-05dc3d89.entry.js.map} +1 -1
- package/dist/core/{p-a857915f.entry.js → p-0c769f1a.entry.js} +2 -2
- package/dist/core/p-11be550d.entry.js.map +1 -1
- package/dist/core/p-16c3a489.entry.js +2 -0
- package/dist/core/p-16c3a489.entry.js.map +1 -0
- package/dist/{components/p-1020a160.js → core/p-17ebfe85.js} +2 -2
- package/dist/core/{p-abfa0beb.entry.js → p-2c7af892.entry.js} +2 -2
- package/dist/core/{p-abfa0beb.entry.js.map → p-2c7af892.entry.js.map} +1 -1
- package/dist/core/p-37a7409e.js +2 -0
- package/dist/core/p-37a7409e.js.map +1 -0
- package/dist/core/{p-3dbf7f49.js → p-3bacd021.js} +2 -2
- package/dist/core/p-3bc977e2.entry.js +2 -0
- package/dist/core/p-3bc977e2.entry.js.map +1 -0
- package/dist/core/{p-f969eec7.entry.js → p-41f72892.entry.js} +2 -2
- package/dist/core/p-41f72892.entry.js.map +1 -0
- package/dist/core/p-5195fd36.entry.js +2 -0
- package/dist/core/p-5195fd36.entry.js.map +1 -0
- package/dist/core/p-722218fd.entry.js.map +1 -1
- package/dist/core/{p-02c3a3fd.entry.js → p-7d680665.entry.js} +2 -2
- package/dist/core/{p-6dacb8d3.entry.js → p-88010439.entry.js} +2 -2
- package/dist/core/p-88010439.entry.js.map +1 -0
- package/dist/core/p-89921159.entry.js.map +1 -1
- package/dist/core/p-9a3e3ace.entry.js.map +1 -1
- package/dist/core/p-ab426e50.entry.js +2 -0
- package/dist/core/p-ab426e50.entry.js.map +1 -0
- package/dist/core/{p-1e3cad4b.entry.js → p-c81d62db.entry.js} +2 -2
- package/dist/core/p-e0c04c5f.entry.js.map +1 -1
- package/dist/core/{p-2790d89e.entry.js → p-e1780dba.entry.js} +2 -2
- package/dist/core/p-e1780dba.entry.js.map +1 -0
- package/dist/core/p-e39cd83c.entry.js +2 -0
- package/dist/core/p-e39cd83c.entry.js.map +1 -0
- package/dist/core/p-eda868dc.entry.js.map +1 -1
- package/dist/esm/{constants-037c35bc.js → constants-27b48cd1.js} +2 -2
- package/dist/esm/{constants-037c35bc.js.map → constants-27b48cd1.js.map} +1 -1
- package/dist/esm/{constants-ab132d9c.js → constants-858966b9.js} +2 -2
- package/dist/esm/{constants-ab132d9c.js.map → constants-858966b9.js.map} +1 -1
- package/dist/esm/{constants-5708696f.js → constants-ba92640d.js} +2 -2
- package/dist/esm/{constants-5708696f.js.map → constants-ba92640d.js.map} +1 -1
- package/dist/esm/core.js +1 -1
- package/dist/esm/gov-accordion-item.entry.js +13 -37
- package/dist/esm/gov-accordion-item.entry.js.map +1 -1
- package/dist/esm/gov-accordion.entry.js +2 -2
- package/dist/esm/gov-accordion.entry.js.map +1 -1
- package/dist/esm/gov-app.entry.js +158 -326
- package/dist/esm/gov-app.entry.js.map +1 -1
- package/dist/esm/gov-backdrop.entry.js.map +1 -1
- package/dist/esm/gov-badge.entry.js +6 -12
- package/dist/esm/gov-badge.entry.js.map +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/gov-button.entry.js +1 -1
- package/dist/esm/gov-control-group.entry.js.map +1 -1
- package/dist/esm/gov-dropdown.entry.js +1 -1
- package/dist/esm/gov-form-control.entry.js +1 -1
- package/dist/esm/gov-form-control.entry.js.map +1 -1
- package/dist/esm/gov-form-group.entry.js +7 -1
- package/dist/esm/gov-form-group.entry.js.map +1 -1
- package/dist/esm/gov-form-input.entry.js +14 -12
- package/dist/esm/gov-form-input.entry.js.map +1 -1
- package/dist/esm/gov-icon.entry.js +5 -3
- package/dist/esm/gov-icon.entry.js.map +1 -1
- package/dist/esm/gov-modal.entry.js.map +1 -1
- package/dist/esm/gov-prompt.entry.js.map +1 -1
- package/dist/esm/gov-spacer.entry.js +2 -2
- package/dist/esm/gov-spacer.entry.js.map +1 -1
- package/dist/esm/gov-statsbar-item.entry.js +1 -1
- package/dist/esm/gov-statsbar.entry.js +4 -4
- package/dist/esm/gov-statsbar.entry.js.map +1 -1
- package/dist/esm/gov-tabs.entry.js +1 -1
- package/dist/esm/gov-tabs.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/hydrate/index.js +210 -404
- package/dist/stencil.config.js +2 -2
- 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 +1 -19
- package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +1 -1
- package/dist/types/components/gov-badge/gov-badge.d.ts +3 -8
- package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +2 -2
- package/dist/types/components/gov-control-group/constants.d.ts +2 -2
- package/dist/types/components/gov-control-group/gov-control-group.d.ts +2 -2
- package/dist/types/components/gov-form/group/constants.d.ts +5 -0
- package/dist/types/components/gov-form/group/gov-form-group.d.ts +5 -1
- package/dist/types/components/gov-form/input/gov-form-input.d.ts +5 -4
- package/dist/types/components/gov-modal/gov-modal.d.ts +2 -1
- package/dist/types/components/gov-promp/gov-prompt.d.ts +2 -1
- package/dist/types/components/gov-spacer/constants.d.ts +1 -1
- package/dist/types/components/gov-statsbar/gov-statsbar.d.ts +1 -1
- package/dist/types/components.d.ts +31 -63
- package/dist/types/core/constants/tokens.d.ts +1 -0
- package/dist/types/interfaces.d.ts +1 -0
- package/package.json +3 -3
- package/dist/components/p-5bf5a42e.js +0 -2
- package/dist/components/p-5bf5a42e.js.map +0 -1
- package/dist/components/p-a5d69694.js +0 -2
- package/dist/components/p-a5d69694.js.map +0 -1
- package/dist/components/p-cd440c95.js.map +0 -1
- package/dist/core/p-0eadfb3e.entry.js +0 -2
- package/dist/core/p-0eadfb3e.entry.js.map +0 -1
- package/dist/core/p-2790d89e.entry.js.map +0 -1
- package/dist/core/p-6dacb8d3.entry.js.map +0 -1
- package/dist/core/p-7ab82a55.entry.js +0 -2
- package/dist/core/p-7ab82a55.entry.js.map +0 -1
- package/dist/core/p-9e208f40.entry.js +0 -2
- package/dist/core/p-9e208f40.entry.js.map +0 -1
- package/dist/core/p-a5d69694.js +0 -2
- package/dist/core/p-a5d69694.js.map +0 -1
- package/dist/core/p-e86db39c.entry.js +0 -2
- package/dist/core/p-e86db39c.entry.js.map +0 -1
- package/dist/core/p-f95bca5f.entry.js +0 -2
- package/dist/core/p-f95bca5f.entry.js.map +0 -1
- package/dist/core/p-f969eec7.entry.js.map +0 -1
- /package/dist/components/{p-d305407a.js.map → p-103c7bd5.js.map} +0 -0
- /package/dist/components/{p-1020a160.js.map → p-17ebfe85.js.map} +0 -0
- /package/dist/components/{p-ec26407a.js.map → p-7bea2390.js.map} +0 -0
- /package/dist/components/{p-1026d931.js.map → p-c0e49b09.js.map} +0 -0
- /package/dist/components/{p-80b2c231.js.map → p-db22f9ce.js.map} +0 -0
- /package/dist/core/{p-a857915f.entry.js.map → p-0c769f1a.entry.js.map} +0 -0
- /package/dist/core/{p-1020a160.js.map → p-17ebfe85.js.map} +0 -0
- /package/dist/core/{p-3dbf7f49.js.map → p-3bacd021.js.map} +0 -0
- /package/dist/core/{p-02c3a3fd.entry.js.map → p-7d680665.entry.js.map} +0 -0
- /package/dist/core/{p-1e3cad4b.entry.js.map → p-c81d62db.entry.js.map} +0 -0
package/dist/stencil.config.js
CHANGED
|
@@ -65,8 +65,8 @@ export const config = {
|
|
|
65
65
|
angularOutputTarget({
|
|
66
66
|
componentCorePackage: "@gov-design-system-ce/components",
|
|
67
67
|
outputType: 'component',
|
|
68
|
-
directivesProxyFile: '../../../packages/core-angular/lib/
|
|
69
|
-
directivesArrayFile: '../../../packages/core-angular/lib/
|
|
68
|
+
directivesProxyFile: '../../../packages/core-angular/lib/components.ts',
|
|
69
|
+
directivesArrayFile: '../../../packages/core-angular/lib/index.ts',
|
|
70
70
|
}),
|
|
71
71
|
],
|
|
72
72
|
};
|
|
@@ -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;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE,MAAM,CAAC,MAAM,MAAM,GAAW;EAC7B,SAAS,EAAE,MAAM;EACjB,WAAW,EAAE,sBAAsB;EACnC,SAAS,EAAE,OAAO;EAClB,SAAS,EAAE,IAAI;EACf,qBAAqB,EAAE,KAAK;EAC5B,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,CAAC;KACtF,CAAC;IACF,OAAO,CAAC;MACP,OAAO,EAAE,CAAC,YAAY,EAAE,CAAC;KACzB,CAAC;GACF;EACD,aAAa,EAAE;IACd;MACC,IAAI,EAAE,MAAM;MACZ,aAAa,EAAE,WAAW;KAC1B;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;QACtD,EAAE,GAAG,EAAE,kBAAkB,EAAE,IAAI,EAAE,qBAAqB,EAAE;OACxD;MACD,aAAa,EAAE,IAAI;KACnB;IACD;MACC,IAAI,EAAE,qBAAqB;MAC3B,GAAG,EAAE,cAAc;KACnB;IACD;MACC,IAAI,EAAE,sBAAsB;MAC5B,oBAAoB,EAAE,KAAK;MAC3B,eAAe,EAAE,KAAK;MACtB,MAAM,EAAE,IAAI;MACZ,4BAA4B,EAAE,6BAA6B;KAC3D;IAED,iBAAiB,CAAC;MACjB,oBAAoB,EAAE,kCAAkC;MACxD,WAAW,EAAE,2CAA2C;MACxD,2BAA2B,EAAE,IAAI;MACjC,gBAAgB,EAAE,IAAI;KACtB,CAAC;IACF,eAAe,CAAC;MACf,oBAAoB,EAAE,kCAAkC;MACxD,WAAW,EAAE,yCAAyC;MACtD,2BAA2B,EAAE,IAAI;KACjC,CAAC;IACF,mBAAmB,CAAC;MACnB,oBAAoB,EAAE,kCAAkC;MACxD,UAAU,EAAE,WAAW;MACvB,mBAAmB,EAAE,
|
|
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;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE,MAAM,CAAC,MAAM,MAAM,GAAW;EAC7B,SAAS,EAAE,MAAM;EACjB,WAAW,EAAE,sBAAsB;EACnC,SAAS,EAAE,OAAO;EAClB,SAAS,EAAE,IAAI;EACf,qBAAqB,EAAE,KAAK;EAC5B,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,CAAC;KACtF,CAAC;IACF,OAAO,CAAC;MACP,OAAO,EAAE,CAAC,YAAY,EAAE,CAAC;KACzB,CAAC;GACF;EACD,aAAa,EAAE;IACd;MACC,IAAI,EAAE,MAAM;MACZ,aAAa,EAAE,WAAW;KAC1B;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;QACtD,EAAE,GAAG,EAAE,kBAAkB,EAAE,IAAI,EAAE,qBAAqB,EAAE;OACxD;MACD,aAAa,EAAE,IAAI;KACnB;IACD;MACC,IAAI,EAAE,qBAAqB;MAC3B,GAAG,EAAE,cAAc;KACnB;IACD;MACC,IAAI,EAAE,sBAAsB;MAC5B,oBAAoB,EAAE,KAAK;MAC3B,eAAe,EAAE,KAAK;MACtB,MAAM,EAAE,IAAI;MACZ,4BAA4B,EAAE,6BAA6B;KAC3D;IAED,iBAAiB,CAAC;MACjB,oBAAoB,EAAE,kCAAkC;MACxD,WAAW,EAAE,2CAA2C;MACxD,2BAA2B,EAAE,IAAI;MACjC,gBAAgB,EAAE,IAAI;KACtB,CAAC;IACF,eAAe,CAAC;MACf,oBAAoB,EAAE,kCAAkC;MACxD,WAAW,EAAE,yCAAyC;MACtD,2BAA2B,EAAE,IAAI;KACjC,CAAC;IACF,mBAAmB,CAAC;MACnB,oBAAoB,EAAE,kCAAkC;MACxD,UAAU,EAAE,WAAW;MACvB,mBAAmB,EAAE,kDAAkD;MACvE,mBAAmB,EAAE,6CAA6C;KAClE,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\"\nimport { angularOutputTarget } from '@stencil/angular-output-target';\n\nexport const config: Config = {\n\tnamespace: \"core\",\n\tglobalStyle: \"src/sass/global.scss\",\n\ttaskQueue: \"async\",\n\tsourceMap: true,\n\tinvisiblePrehydration: false,\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\",\n\t\t\tesmLoaderPath: \"../loader\",\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\t{ src: \"../../styles/lib\", dest: \"build/assets/styles\" },\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\tincludeGlobalScripts: false,\n\t\t\texternalRuntime: false,\n\t\t\tminify: true,\n\t\t\tcustomElementsExportBehavior: 'auto-define-custom-elements'\n\t\t},\n\n\t\treactOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce/components\",\n\t\t\tproxiesFile: \"../../../packages/core-react/lib/index.ts\",\n\t\t\tincludeDefineCustomElements: true,\n\t\t\tincludePolyfills: true\n\t\t}),\n\t\tvueOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce/components\",\n\t\t\tproxiesFile: \"../../../packages/core-vue/lib/index.ts\",\n\t\t\tincludeImportCustomElements: true\n\t\t}),\n\t\tangularOutputTarget({\n\t\t\tcomponentCorePackage: \"@gov-design-system-ce/components\",\n\t\t\toutputType: 'component',\n\t\t\tdirectivesProxyFile: '../../../packages/core-angular/lib/components.ts',\n\t\t\tdirectivesArrayFile: '../../../packages/core-angular/lib/index.ts',\n\t\t}),\n\t],\n}\n"]}
|
|
@@ -20,14 +20,6 @@ export declare class GovAccordionItem {
|
|
|
20
20
|
* Accordion’s size.
|
|
21
21
|
*/
|
|
22
22
|
size?: AccordionSizeType;
|
|
23
|
-
/**
|
|
24
|
-
* Item name of the accordion
|
|
25
|
-
*/
|
|
26
|
-
readonly label: string;
|
|
27
|
-
/**
|
|
28
|
-
* Item annotation of the accordion
|
|
29
|
-
*/
|
|
30
|
-
readonly annotation: string;
|
|
31
23
|
/**
|
|
32
24
|
* Makes the button component disabled.
|
|
33
25
|
* This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.
|
|
@@ -36,21 +28,11 @@ export declare class GovAccordionItem {
|
|
|
36
28
|
/**
|
|
37
29
|
* Defines whether the accordion is open or closed by default
|
|
38
30
|
*/
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Used to change the HTML tag in the accordion trigger for correct semantic structure
|
|
42
|
-
*/
|
|
43
|
-
readonly triggerTag: string;
|
|
44
|
-
/**
|
|
45
|
-
* To remove the main underline of an item
|
|
46
|
-
*/
|
|
47
|
-
readonly noBorder: boolean;
|
|
31
|
+
isExpanded: boolean;
|
|
48
32
|
/**
|
|
49
33
|
* Called when the accordion state changes
|
|
50
34
|
*/
|
|
51
35
|
govChange: EventEmitter<AccordionItemEvent>;
|
|
52
|
-
validateLabel(newValue: string): void;
|
|
53
|
-
validateTriggerTag(newValue: string): void;
|
|
54
36
|
validateSize(newValue: string): void;
|
|
55
37
|
validateVariant(newValue: string): void;
|
|
56
38
|
private emmitChange;
|
|
@@ -4,7 +4,7 @@ export declare class GovBackdrop {
|
|
|
4
4
|
constructor();
|
|
5
5
|
host: HTMLGovAlertElement;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Determine if component should have inverse colors to be used on dark background.
|
|
8
8
|
*/
|
|
9
9
|
readonly inverse: boolean;
|
|
10
10
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
2
|
import { NativeTypesType } from "./constants";
|
|
3
|
-
import { ButtonSizesType, ButtonVariantType
|
|
3
|
+
import { ButtonSizesType, ButtonVariantType } from "../gov-button/default/constants";
|
|
4
4
|
export declare class GovBadge {
|
|
5
5
|
private triggerRef?;
|
|
6
6
|
private h;
|
|
7
7
|
constructor();
|
|
8
8
|
host: HTMLGovBadgeElement;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Determine if component should have inverse colors to be used on dark background
|
|
11
11
|
*/
|
|
12
12
|
readonly inverse: boolean;
|
|
13
13
|
/**
|
|
@@ -30,11 +30,7 @@ export declare class GovBadge {
|
|
|
30
30
|
*/
|
|
31
31
|
readonly size: ButtonSizesType;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
|
-
readonly type: TypesType;
|
|
36
|
-
/**
|
|
37
|
-
* Used to change the HMTL tag in the badge
|
|
33
|
+
* Used to change the HTML tag in the badge
|
|
38
34
|
*/
|
|
39
35
|
readonly tag: NativeTypesType;
|
|
40
36
|
/**
|
|
@@ -52,7 +48,6 @@ export declare class GovBadge {
|
|
|
52
48
|
govClick: EventEmitter<PointerEvent>;
|
|
53
49
|
validateVariant(newValue: string): void;
|
|
54
50
|
validateSize(newValue: string): void;
|
|
55
|
-
validateType(newValue: string): void;
|
|
56
51
|
componentWillLoad(): void;
|
|
57
52
|
render(): any;
|
|
58
53
|
private onClickHandler;
|
|
@@ -5,7 +5,7 @@ export declare class GovBreadcrumbs {
|
|
|
5
5
|
constructor();
|
|
6
6
|
readonly host: HTMLGovBreadcrumbsElement;
|
|
7
7
|
/**
|
|
8
|
-
* Defines
|
|
8
|
+
* Defines whether the components can be collapsible when element doesn't fit in one row.
|
|
9
9
|
*/
|
|
10
10
|
readonly collapsible: boolean;
|
|
11
11
|
/**
|
|
@@ -21,7 +21,7 @@ export declare class GovBreadcrumbs {
|
|
|
21
21
|
*/
|
|
22
22
|
readonly wcagLabelledBy: string;
|
|
23
23
|
/**
|
|
24
|
-
* Called when the
|
|
24
|
+
* Called when the Breadcrumbs state changes
|
|
25
25
|
*/
|
|
26
26
|
govChange: EventEmitter<GovBreadcrumbsChangeEvent>;
|
|
27
27
|
componentDidRender(): Promise<void>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Variants } from '../../core/constants/variants';
|
|
2
2
|
import { ValueOf } from '../../types/interfaces';
|
|
3
|
-
export declare const
|
|
4
|
-
export type
|
|
3
|
+
export declare const ControlGroupVariants: Pick<typeof Variants, "PRIMARY" | "SECONDARY">;
|
|
4
|
+
export type ControlGroupVariantType = `${ValueOf<typeof ControlGroupVariants>}`;
|
|
5
5
|
export declare const ControlGroupClass: {
|
|
6
6
|
root: string;
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ControlGroupVariantType } from "./constants";
|
|
2
2
|
export declare class GovControlGroup {
|
|
3
3
|
private readonly h;
|
|
4
4
|
constructor();
|
|
@@ -6,7 +6,7 @@ export declare class GovControlGroup {
|
|
|
6
6
|
/**
|
|
7
7
|
* Style variation of the content message.
|
|
8
8
|
*/
|
|
9
|
-
readonly variant:
|
|
9
|
+
readonly variant: ControlGroupVariantType;
|
|
10
10
|
/**
|
|
11
11
|
* Specifies the display of the border between elements
|
|
12
12
|
*/
|
|
@@ -2,6 +2,11 @@ import { Sizes } from "../../../core/constants/sizes";
|
|
|
2
2
|
import { ValueOf } from "../../../types/interfaces";
|
|
3
3
|
export declare const FormGroupSizes: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_2XS">;
|
|
4
4
|
export type FormGroupSizesType = `${ValueOf<typeof FormGroupSizes>}`;
|
|
5
|
+
export declare enum FormGroupOrientation {
|
|
6
|
+
HORIZONTAL = "horizontal",
|
|
7
|
+
VERTICAL = "vertical"
|
|
8
|
+
}
|
|
9
|
+
export type FormGroupOrientationType = `${ValueOf<typeof FormGroupOrientation>}`;
|
|
5
10
|
export declare const FormGroupClass: {
|
|
6
11
|
root: string;
|
|
7
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormGroupSizesType } from "./constants";
|
|
1
|
+
import { FormGroupSizesType, FormGroupOrientationType } from "./constants";
|
|
2
2
|
export declare class GovFormGroup {
|
|
3
3
|
private readonly h;
|
|
4
4
|
constructor();
|
|
@@ -7,6 +7,10 @@ export declare class GovFormGroup {
|
|
|
7
7
|
* Gap's size.
|
|
8
8
|
*/
|
|
9
9
|
readonly gap?: FormGroupSizesType;
|
|
10
|
+
/**
|
|
11
|
+
* Elements orientation
|
|
12
|
+
*/
|
|
13
|
+
readonly orientation?: FormGroupOrientationType;
|
|
10
14
|
validateGap(newValue: string): void;
|
|
11
15
|
componentWillLoad(): void;
|
|
12
16
|
render(): any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { FormInputSizesType, FormInputVariantType, InputType, Type } from
|
|
3
|
-
import { FormInputEvent } from
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { FormInputSizesType, FormInputVariantType, InputType, Type } from "./constants";
|
|
3
|
+
import { FormInputEvent } from "./gov-form-input.types";
|
|
4
|
+
import { Nullable } from "../../../types/interfaces";
|
|
4
5
|
export declare class GovFormInput {
|
|
5
6
|
private f;
|
|
6
7
|
private readonly h;
|
|
@@ -99,7 +100,7 @@ export declare class GovFormInput {
|
|
|
99
100
|
* Same as original parameter
|
|
100
101
|
* @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role
|
|
101
102
|
*/
|
|
102
|
-
readonly role: string
|
|
103
|
+
readonly role: Nullable<string>;
|
|
103
104
|
/**
|
|
104
105
|
* Indicates the entered value does not conform to the format expected by the application.
|
|
105
106
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { Nullable } from "../../types/interfaces";
|
|
2
3
|
export declare class GovModal {
|
|
3
4
|
private h;
|
|
4
5
|
private readonly labelId;
|
|
@@ -16,7 +17,7 @@ export declare class GovModal {
|
|
|
16
17
|
/**
|
|
17
18
|
* Role of modal
|
|
18
19
|
*/
|
|
19
|
-
role: string
|
|
20
|
+
role: Nullable<string>;
|
|
20
21
|
/**
|
|
21
22
|
* Used to change the HTML tag in the modal label for correct semantic structure
|
|
22
23
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { Nullable } from "../../types/interfaces";
|
|
2
3
|
export declare class GovPrompt {
|
|
3
4
|
private h;
|
|
4
5
|
private readonly labelId;
|
|
@@ -16,7 +17,7 @@ export declare class GovPrompt {
|
|
|
16
17
|
/**
|
|
17
18
|
* Role of modal
|
|
18
19
|
*/
|
|
19
|
-
role: string
|
|
20
|
+
role: Nullable<string>;
|
|
20
21
|
/**
|
|
21
22
|
* Used to change the HTML tag in the modal label for correct semantic structure
|
|
22
23
|
*/
|
|
@@ -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, "_XS" | "_S" | "_M" | "_L" | "_2XS" | "_XL" | "_2XL" | "_3XL" | "
|
|
3
|
+
export declare const SpacerSize: Pick<typeof Sizes, "_XS" | "_S" | "_M" | "_L" | "_2XS" | "_XL" | "_2XL" | "_3XL" | "_4XL">;
|
|
4
4
|
export type SpacerSizeType = `${ValueOf<typeof SpacerSize>}`;
|
|
5
5
|
export declare enum SpacerBreakpoints {
|
|
6
6
|
NONE = "none",
|
|
@@ -14,7 +14,7 @@ import { NativeTypesType } from "./components/gov-badge/constants";
|
|
|
14
14
|
import { GovBreadcrumbsChangeEvent } from "./components/gov-breadcrumbs/gov-breadcrumbs.d";
|
|
15
15
|
import { ButtonEvent } from "./components/gov-button/default/gov-button.types";
|
|
16
16
|
import { GovCardChangeEvent } from "./components/gov-card/interfaces";
|
|
17
|
-
import {
|
|
17
|
+
import { ControlGroupVariantType } from "./components/gov-control-group/constants";
|
|
18
18
|
import { PositionType } from "./components/gov-button/dropdown/constants";
|
|
19
19
|
import { DropdownEvent } from "./components/gov-button/dropdown/gov-dropdown.types";
|
|
20
20
|
import { SizesType, VariantType as VariantType1 } from "./components/gov-form/autocomplete/constants";
|
|
@@ -23,8 +23,9 @@ import { FormCheckboxSizesType } from "./components/gov-form/checkbox/constants"
|
|
|
23
23
|
import { FormCheckboxEvent } from "./components/gov-form/checkbox/gov-form-checkbox.types";
|
|
24
24
|
import { FormControlSizesType } from "./components/gov-form/control/constants";
|
|
25
25
|
import { GovFormFileEvent } from "./components/gov-form/file/gov-form-file.types";
|
|
26
|
-
import { FormGroupSizesType } from "./components/gov-form/group/constants";
|
|
26
|
+
import { FormGroupOrientationType, FormGroupSizesType } from "./components/gov-form/group/constants";
|
|
27
27
|
import { FormInputSizesType, FormInputVariantType, InputType, Type } from "./components/gov-form/input/constants";
|
|
28
|
+
import { Nullable } from "./types/interfaces";
|
|
28
29
|
import { FormInputEvent } from "./components/gov-form/input/gov-form-input.types";
|
|
29
30
|
import { FormLabelSizesTypes } from "./components/gov-form/label/constants";
|
|
30
31
|
import { FormMessageVariantType } from "./components/gov-form/message/constants";
|
|
@@ -49,7 +50,6 @@ import { StatsBarIconPositionType, StatsBarVariantType } from "./components/gov-
|
|
|
49
50
|
import { StepperSizesType, StepperVariantType } from "./components/gov-stepper/constants";
|
|
50
51
|
import { GovStepperItemChangeEvent } from "./components/gov-stepper/gov-stepper-item.d";
|
|
51
52
|
import { TabOrientationType, TabType, VariantType as VariantType2 } from "./components/gov-tabs/constants";
|
|
52
|
-
import { Nullable } from "./types/interfaces";
|
|
53
53
|
import { ToastTypesType, ToastVariantType } from "./components/gov-toast/constants";
|
|
54
54
|
import { TooltipPositionType, TooltipSizeType, TooltipVariantType } from "./components/gov-tooltip/constants";
|
|
55
55
|
import { WizardSizesType, WizardVariantsType } from "./components/gov-wizzard/constants";
|
|
@@ -64,7 +64,7 @@ export { NativeTypesType } from "./components/gov-badge/constants";
|
|
|
64
64
|
export { GovBreadcrumbsChangeEvent } from "./components/gov-breadcrumbs/gov-breadcrumbs.d";
|
|
65
65
|
export { ButtonEvent } from "./components/gov-button/default/gov-button.types";
|
|
66
66
|
export { GovCardChangeEvent } from "./components/gov-card/interfaces";
|
|
67
|
-
export {
|
|
67
|
+
export { ControlGroupVariantType } from "./components/gov-control-group/constants";
|
|
68
68
|
export { PositionType } from "./components/gov-button/dropdown/constants";
|
|
69
69
|
export { DropdownEvent } from "./components/gov-button/dropdown/gov-dropdown.types";
|
|
70
70
|
export { SizesType, VariantType as VariantType1 } from "./components/gov-form/autocomplete/constants";
|
|
@@ -73,8 +73,9 @@ export { FormCheckboxSizesType } from "./components/gov-form/checkbox/constants"
|
|
|
73
73
|
export { FormCheckboxEvent } from "./components/gov-form/checkbox/gov-form-checkbox.types";
|
|
74
74
|
export { FormControlSizesType } from "./components/gov-form/control/constants";
|
|
75
75
|
export { GovFormFileEvent } from "./components/gov-form/file/gov-form-file.types";
|
|
76
|
-
export { FormGroupSizesType } from "./components/gov-form/group/constants";
|
|
76
|
+
export { FormGroupOrientationType, FormGroupSizesType } from "./components/gov-form/group/constants";
|
|
77
77
|
export { FormInputSizesType, FormInputVariantType, InputType, Type } from "./components/gov-form/input/constants";
|
|
78
|
+
export { Nullable } from "./types/interfaces";
|
|
78
79
|
export { FormInputEvent } from "./components/gov-form/input/gov-form-input.types";
|
|
79
80
|
export { FormLabelSizesTypes } from "./components/gov-form/label/constants";
|
|
80
81
|
export { FormMessageVariantType } from "./components/gov-form/message/constants";
|
|
@@ -99,7 +100,6 @@ export { StatsBarIconPositionType, StatsBarVariantType } from "./components/gov-
|
|
|
99
100
|
export { StepperSizesType, StepperVariantType } from "./components/gov-stepper/constants";
|
|
100
101
|
export { GovStepperItemChangeEvent } from "./components/gov-stepper/gov-stepper-item.d";
|
|
101
102
|
export { TabOrientationType, TabType, VariantType as VariantType2 } from "./components/gov-tabs/constants";
|
|
102
|
-
export { Nullable } from "./types/interfaces";
|
|
103
103
|
export { ToastTypesType, ToastVariantType } from "./components/gov-toast/constants";
|
|
104
104
|
export { TooltipPositionType, TooltipSizeType, TooltipVariantType } from "./components/gov-tooltip/constants";
|
|
105
105
|
export { WizardSizesType, WizardVariantsType } from "./components/gov-wizzard/constants";
|
|
@@ -133,10 +133,6 @@ export namespace Components {
|
|
|
133
133
|
"wcagLabelledBy": string;
|
|
134
134
|
}
|
|
135
135
|
interface GovAccordionItem {
|
|
136
|
-
/**
|
|
137
|
-
* Item annotation of the accordion
|
|
138
|
-
*/
|
|
139
|
-
"annotation": string;
|
|
140
136
|
/**
|
|
141
137
|
* Closing the accordion
|
|
142
138
|
*/
|
|
@@ -157,14 +153,6 @@ export namespace Components {
|
|
|
157
153
|
* Defines whether the accordion is open or closed by default
|
|
158
154
|
*/
|
|
159
155
|
"isExpanded": boolean;
|
|
160
|
-
/**
|
|
161
|
-
* Item name of the accordion
|
|
162
|
-
*/
|
|
163
|
-
"label": string;
|
|
164
|
-
/**
|
|
165
|
-
* To remove the main underline of an item
|
|
166
|
-
*/
|
|
167
|
-
"noBorder": boolean;
|
|
168
156
|
/**
|
|
169
157
|
* Opening the accordion
|
|
170
158
|
*/
|
|
@@ -177,10 +165,6 @@ export namespace Components {
|
|
|
177
165
|
* Accordion switch
|
|
178
166
|
*/
|
|
179
167
|
"toggle": () => Promise<void>;
|
|
180
|
-
/**
|
|
181
|
-
* Used to change the HTML tag in the accordion trigger for correct semantic structure
|
|
182
|
-
*/
|
|
183
|
-
"triggerTag": string;
|
|
184
168
|
/**
|
|
185
169
|
* Style variation of the button.
|
|
186
170
|
*/
|
|
@@ -248,7 +232,7 @@ export namespace Components {
|
|
|
248
232
|
}
|
|
249
233
|
interface GovBackdrop {
|
|
250
234
|
/**
|
|
251
|
-
*
|
|
235
|
+
* Determine if component should have inverse colors to be used on dark background.
|
|
252
236
|
*/
|
|
253
237
|
"inverse": boolean;
|
|
254
238
|
/**
|
|
@@ -279,7 +263,7 @@ export namespace Components {
|
|
|
279
263
|
*/
|
|
280
264
|
"href": string;
|
|
281
265
|
/**
|
|
282
|
-
*
|
|
266
|
+
* Determine if component should have inverse colors to be used on dark background
|
|
283
267
|
*/
|
|
284
268
|
"inverse": boolean;
|
|
285
269
|
/**
|
|
@@ -287,7 +271,7 @@ export namespace Components {
|
|
|
287
271
|
*/
|
|
288
272
|
"size": ButtonSizesType;
|
|
289
273
|
/**
|
|
290
|
-
* Used to change the
|
|
274
|
+
* Used to change the HTML tag in the badge
|
|
291
275
|
*/
|
|
292
276
|
"tag": NativeTypesType;
|
|
293
277
|
/**
|
|
@@ -295,10 +279,6 @@ export namespace Components {
|
|
|
295
279
|
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
296
280
|
*/
|
|
297
281
|
"target": string;
|
|
298
|
-
/**
|
|
299
|
-
* Badges's type
|
|
300
|
-
*/
|
|
301
|
-
"type": TypesType;
|
|
302
282
|
/**
|
|
303
283
|
* Style variation of the badge.
|
|
304
284
|
*/
|
|
@@ -310,7 +290,7 @@ export namespace Components {
|
|
|
310
290
|
}
|
|
311
291
|
interface GovBreadcrumbs {
|
|
312
292
|
/**
|
|
313
|
-
* Defines
|
|
293
|
+
* Defines whether the components can be collapsible when element doesn't fit in one row.
|
|
314
294
|
*/
|
|
315
295
|
"collapsible": boolean;
|
|
316
296
|
/**
|
|
@@ -524,7 +504,7 @@ export namespace Components {
|
|
|
524
504
|
/**
|
|
525
505
|
* Style variation of the content message.
|
|
526
506
|
*/
|
|
527
|
-
"variant":
|
|
507
|
+
"variant": ControlGroupVariantType;
|
|
528
508
|
}
|
|
529
509
|
interface GovCookiebar {
|
|
530
510
|
}
|
|
@@ -826,6 +806,10 @@ export namespace Components {
|
|
|
826
806
|
* Gap's size.
|
|
827
807
|
*/
|
|
828
808
|
"gap"?: FormGroupSizesType;
|
|
809
|
+
/**
|
|
810
|
+
* Elements orientation
|
|
811
|
+
*/
|
|
812
|
+
"orientation"?: FormGroupOrientationType;
|
|
829
813
|
}
|
|
830
814
|
interface GovFormInput {
|
|
831
815
|
/**
|
|
@@ -905,7 +889,7 @@ export namespace Components {
|
|
|
905
889
|
* Same as original parameter
|
|
906
890
|
* @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role
|
|
907
891
|
*/
|
|
908
|
-
"role": string
|
|
892
|
+
"role": Nullable<string>;
|
|
909
893
|
/**
|
|
910
894
|
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows
|
|
911
895
|
*/
|
|
@@ -1333,7 +1317,7 @@ export namespace Components {
|
|
|
1333
1317
|
/**
|
|
1334
1318
|
* Role of modal
|
|
1335
1319
|
*/
|
|
1336
|
-
"role": string
|
|
1320
|
+
"role": Nullable<string>;
|
|
1337
1321
|
/**
|
|
1338
1322
|
* Showing the modal
|
|
1339
1323
|
*/
|
|
@@ -1458,7 +1442,7 @@ export namespace Components {
|
|
|
1458
1442
|
/**
|
|
1459
1443
|
* Role of modal
|
|
1460
1444
|
*/
|
|
1461
|
-
"role": string
|
|
1445
|
+
"role": Nullable<string>;
|
|
1462
1446
|
/**
|
|
1463
1447
|
* Showing the modal
|
|
1464
1448
|
*/
|
|
@@ -2472,10 +2456,6 @@ declare namespace LocalJSX {
|
|
|
2472
2456
|
"wcagLabelledBy"?: string;
|
|
2473
2457
|
}
|
|
2474
2458
|
interface GovAccordionItem {
|
|
2475
|
-
/**
|
|
2476
|
-
* Item annotation of the accordion
|
|
2477
|
-
*/
|
|
2478
|
-
"annotation"?: string;
|
|
2479
2459
|
/**
|
|
2480
2460
|
* Makes the button component disabled. This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies.
|
|
2481
2461
|
*/
|
|
@@ -2488,14 +2468,6 @@ declare namespace LocalJSX {
|
|
|
2488
2468
|
* Defines whether the accordion is open or closed by default
|
|
2489
2469
|
*/
|
|
2490
2470
|
"isExpanded"?: boolean;
|
|
2491
|
-
/**
|
|
2492
|
-
* Item name of the accordion
|
|
2493
|
-
*/
|
|
2494
|
-
"label"?: string;
|
|
2495
|
-
/**
|
|
2496
|
-
* To remove the main underline of an item
|
|
2497
|
-
*/
|
|
2498
|
-
"noBorder"?: boolean;
|
|
2499
2471
|
/**
|
|
2500
2472
|
* Called when the accordion state changes
|
|
2501
2473
|
*/
|
|
@@ -2504,10 +2476,6 @@ declare namespace LocalJSX {
|
|
|
2504
2476
|
* Accordion’s size.
|
|
2505
2477
|
*/
|
|
2506
2478
|
"size"?: AccordionSizeType;
|
|
2507
|
-
/**
|
|
2508
|
-
* Used to change the HTML tag in the accordion trigger for correct semantic structure
|
|
2509
|
-
*/
|
|
2510
|
-
"triggerTag"?: string;
|
|
2511
2479
|
/**
|
|
2512
2480
|
* Style variation of the button.
|
|
2513
2481
|
*/
|
|
@@ -2571,7 +2539,7 @@ declare namespace LocalJSX {
|
|
|
2571
2539
|
}
|
|
2572
2540
|
interface GovBackdrop {
|
|
2573
2541
|
/**
|
|
2574
|
-
*
|
|
2542
|
+
* Determine if component should have inverse colors to be used on dark background.
|
|
2575
2543
|
*/
|
|
2576
2544
|
"inverse"?: boolean;
|
|
2577
2545
|
/**
|
|
@@ -2598,7 +2566,7 @@ declare namespace LocalJSX {
|
|
|
2598
2566
|
*/
|
|
2599
2567
|
"href"?: string;
|
|
2600
2568
|
/**
|
|
2601
|
-
*
|
|
2569
|
+
* Determine if component should have inverse colors to be used on dark background
|
|
2602
2570
|
*/
|
|
2603
2571
|
"inverse"?: boolean;
|
|
2604
2572
|
/**
|
|
@@ -2610,7 +2578,7 @@ declare namespace LocalJSX {
|
|
|
2610
2578
|
*/
|
|
2611
2579
|
"size"?: ButtonSizesType;
|
|
2612
2580
|
/**
|
|
2613
|
-
* Used to change the
|
|
2581
|
+
* Used to change the HTML tag in the badge
|
|
2614
2582
|
*/
|
|
2615
2583
|
"tag"?: NativeTypesType;
|
|
2616
2584
|
/**
|
|
@@ -2618,10 +2586,6 @@ declare namespace LocalJSX {
|
|
|
2618
2586
|
* @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
2619
2587
|
*/
|
|
2620
2588
|
"target"?: string;
|
|
2621
|
-
/**
|
|
2622
|
-
* Badges's type
|
|
2623
|
-
*/
|
|
2624
|
-
"type"?: TypesType;
|
|
2625
2589
|
/**
|
|
2626
2590
|
* Style variation of the badge.
|
|
2627
2591
|
*/
|
|
@@ -2633,7 +2597,7 @@ declare namespace LocalJSX {
|
|
|
2633
2597
|
}
|
|
2634
2598
|
interface GovBreadcrumbs {
|
|
2635
2599
|
/**
|
|
2636
|
-
* Defines
|
|
2600
|
+
* Defines whether the components can be collapsible when element doesn't fit in one row.
|
|
2637
2601
|
*/
|
|
2638
2602
|
"collapsible"?: boolean;
|
|
2639
2603
|
/**
|
|
@@ -2641,7 +2605,7 @@ declare namespace LocalJSX {
|
|
|
2641
2605
|
*/
|
|
2642
2606
|
"isExpanded"?: boolean;
|
|
2643
2607
|
/**
|
|
2644
|
-
* Called when the
|
|
2608
|
+
* Called when the Breadcrumbs state changes
|
|
2645
2609
|
*/
|
|
2646
2610
|
"onGov-change"?: (event: GovBreadcrumbsCustomEvent<GovBreadcrumbsChangeEvent>) => void;
|
|
2647
2611
|
/**
|
|
@@ -2834,7 +2798,7 @@ declare namespace LocalJSX {
|
|
|
2834
2798
|
/**
|
|
2835
2799
|
* Style variation of the content message.
|
|
2836
2800
|
*/
|
|
2837
|
-
"variant"?:
|
|
2801
|
+
"variant"?: ControlGroupVariantType;
|
|
2838
2802
|
}
|
|
2839
2803
|
interface GovCookiebar {
|
|
2840
2804
|
}
|
|
@@ -3135,6 +3099,10 @@ declare namespace LocalJSX {
|
|
|
3135
3099
|
* Gap's size.
|
|
3136
3100
|
*/
|
|
3137
3101
|
"gap"?: FormGroupSizesType;
|
|
3102
|
+
/**
|
|
3103
|
+
* Elements orientation
|
|
3104
|
+
*/
|
|
3105
|
+
"orientation"?: FormGroupOrientationType;
|
|
3138
3106
|
}
|
|
3139
3107
|
interface GovFormInput {
|
|
3140
3108
|
/**
|
|
@@ -3226,7 +3194,7 @@ declare namespace LocalJSX {
|
|
|
3226
3194
|
* Same as original parameter
|
|
3227
3195
|
* @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role
|
|
3228
3196
|
*/
|
|
3229
|
-
"role"?: string
|
|
3197
|
+
"role"?: Nullable<string>;
|
|
3230
3198
|
/**
|
|
3231
3199
|
* Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows
|
|
3232
3200
|
*/
|
|
@@ -3642,7 +3610,7 @@ declare namespace LocalJSX {
|
|
|
3642
3610
|
/**
|
|
3643
3611
|
* Role of modal
|
|
3644
3612
|
*/
|
|
3645
|
-
"role"?: string
|
|
3613
|
+
"role"?: Nullable<string>;
|
|
3646
3614
|
/**
|
|
3647
3615
|
* Adds accessible label for the modal close button that is only shown for screen readers.
|
|
3648
3616
|
*/
|
|
@@ -3755,7 +3723,7 @@ declare namespace LocalJSX {
|
|
|
3755
3723
|
/**
|
|
3756
3724
|
* Role of modal
|
|
3757
3725
|
*/
|
|
3758
|
-
"role"?: string
|
|
3726
|
+
"role"?: Nullable<string>;
|
|
3759
3727
|
/**
|
|
3760
3728
|
* Adds accessible label for the modal close button that is only shown for screen readers.
|
|
3761
3729
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const backgroundTokenClasses: any[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components';
|
package/package.json
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"name": "@gov-design-system-ce/components",
|
|
3
3
|
"description": "This package includes Gov Design System Web Components and related utilities.",
|
|
4
4
|
"author": "Zdeněk Vítek",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.53",
|
|
6
6
|
"license": "EUPL v1.2 Licensed",
|
|
7
7
|
"main": "./dist/index.cjs.js",
|
|
8
8
|
"unpkg": "./dist/core/core.esm.js",
|
|
9
9
|
"module": "./dist/index.js",
|
|
10
10
|
"jsnext:main": "./dist/esm/index.js",
|
|
11
|
-
"types": "./dist/types/index.d.ts",
|
|
12
11
|
"collection": "./dist/collection/collection-manifest.json",
|
|
13
12
|
"collection:main": "./dist/collection/index.js",
|
|
13
|
+
"types": "dist/types/interfaces.d.ts",
|
|
14
14
|
"files": [
|
|
15
15
|
"dist/",
|
|
16
16
|
"loader/"
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"dependencies" : {
|
|
25
25
|
"@gov-design-system-ce/icons": "0.0.9",
|
|
26
26
|
"@gov-design-system-ce/fonts": "0.0.2",
|
|
27
|
-
"@gov-design-system-ce/styles": "0.0.
|
|
27
|
+
"@gov-design-system-ce/styles": "0.0.2"
|
|
28
28
|
}
|
|
29
29
|
}
|