@oslokommune/punkt-elements 19.18.0 → 19.18.2
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/CHANGELOG.md +32 -0
- package/dist/{accordion-Cx-Gh3hc.cjs → accordion-Ea61u8Xj.cjs} +1 -1
- package/dist/{accordion-B0zAUNUV.js → accordion-gEzU_AQC.js} +1 -1
- package/dist/{alert-JnRrtTOW.js → alert-B3ify6mt.js} +3 -3
- package/dist/{alert-BRZDpVMt.cjs → alert-ByQC8-D1.cjs} +1 -1
- package/dist/{backlink-CsFeerTH.cjs → backlink-CNRyH73A.cjs} +1 -1
- package/dist/{backlink-D8Rv46lA.js → backlink-HF3DMgLc.js} +1 -1
- package/dist/{breadcrumbs-D03id_ha.cjs → breadcrumbs-YQ1orAK_.cjs} +1 -1
- package/dist/{breadcrumbs-ybOBe_op.js → breadcrumbs-qyZMkJtA.js} +1 -1
- package/dist/button-DWXtPiAA.cjs +32 -0
- package/dist/{button-ChdHZYBF.js → button-U4r2XSv4.js} +22 -25
- package/dist/{calendar-CFTrX0C5.cjs → calendar-4S_k7_KN.cjs} +2 -2
- package/dist/{calendar-BQCjUQvP.js → calendar-C8maj_iv.js} +13 -15
- package/dist/{card-COseC8ZL.cjs → card-CS0OoVjJ.cjs} +1 -1
- package/dist/{card-DSTEL8Kv.js → card-yxsQ563N.js} +3 -3
- package/dist/{checkbox-CKYNnLDh.js → checkbox-A5B82H0n.js} +1 -1
- package/dist/{checkbox-DkFswqr-.cjs → checkbox-Cj3S0xJE.cjs} +1 -1
- package/dist/{checkbox-group-1ghi5uHp.js → checkbox-group-AVOtCLSB.js} +2 -2
- package/dist/{checkbox-group-lcxR3cYR.cjs → checkbox-group-BFtLRclu.cjs} +1 -1
- package/dist/{combobox-iXYiaWbN.js → combobox-CScZtqsn.js} +6 -6
- package/dist/{combobox-CaWnlvTX.cjs → combobox-rmrzvK3U.cjs} +1 -1
- package/dist/components/accordion/accordion.d.ts +3 -3
- package/dist/components/calendar/calendar.d.ts +1 -2
- package/dist/components/datepicker/datepicker-utils.d.ts +9 -3
- package/dist/{consent-DiD0iQ5h.js → consent-JoGVWIB7.js} +1 -1
- package/dist/{consent-BwH89xk_.cjs → consent-T0-aOOEh.cjs} +1 -1
- package/dist/{datepicker-Da8SfyVG.cjs → datepicker-BOi60ruU.cjs} +3 -3
- package/dist/{datepicker-DTcow1ih.js → datepicker-C8DQaZa8.js} +134 -137
- package/dist/directives/slot-content.d.ts +7 -1
- package/dist/element-with-slot-B0Vp_OuR.cjs +1 -0
- package/dist/{element-with-slot-C0bH0T0H.js → element-with-slot-Dp2Gzv-Q.js} +113 -108
- package/dist/{fileupload-Cb1c7ul0.cjs → fileupload-Dov3DkmR.cjs} +1 -1
- package/dist/{fileupload-BNAQ9tNR.js → fileupload-jSc9M2Ok.js} +5 -5
- package/dist/{footer-BOwcLSsz.js → footer-BOIVSL59.js} +2 -2
- package/dist/{footer-Cl_Da5Iq.cjs → footer-MYZSMtmP.cjs} +1 -1
- package/dist/{header-Cwr995oK.js → header-BCpCu0HP.js} +7 -7
- package/dist/{header-CvER8wo6.cjs → header-CecwTgso.cjs} +1 -1
- package/dist/{header-menu-CsL4DZE2.js → header-menu-BEhnqxnw.js} +2 -2
- package/dist/{header-menu-D-wOwG1V.cjs → header-menu-CkZjAxHb.cjs} +1 -1
- package/dist/{heading-D4Kkb6-N.cjs → heading--hGRDNX9.cjs} +1 -1
- package/dist/{heading-DhTyaJms.js → heading-B1Ey3XzB.js} +1 -1
- package/dist/{helptext-DN0jjgVu.js → helptext-BXoDjtNs.js} +2 -2
- package/dist/{helptext-p0nwJsyf.cjs → helptext-DPqzGQeD.cjs} +1 -1
- package/dist/{icon-CLMJYuTL.js → icon-D3XT49vM.js} +7 -1
- package/dist/icon-Dk8y6odR.cjs +1 -0
- package/dist/{input-element-BOi7rBbw.cjs → input-element-BhbkMU20.cjs} +1 -1
- package/dist/{input-element-0yYtRu0p.js → input-element-JH4qPly5.js} +1 -1
- package/dist/{input-wrapper-4PTk8aX3.cjs → input-wrapper-Bekd6DGA.cjs} +1 -1
- package/dist/{input-wrapper-BSjQc4Vx.js → input-wrapper-BttEKK9G.js} +4 -4
- package/dist/{link-39EvU2ng.js → link-Cb0ufHt0.js} +2 -2
- package/dist/{link-Dj6SbcaD.cjs → link-UEoCDWe-.cjs} +1 -1
- package/dist/{linkcard-K9vvKg1u.js → linkcard-CD-tRZnz.js} +3 -3
- package/dist/{linkcard-BoQIfci8.cjs → linkcard-Dmp8DOyg.cjs} +2 -2
- package/dist/{loader-MoI2VRFr.js → loader-B0p9ZrAa.js} +2 -2
- package/dist/{loader-BRYL5kTN.cjs → loader-nd4WUR88.cjs} +1 -1
- package/dist/{messagebox-Dr-k3pnZ.js → messagebox-B-DU7T5q.js} +2 -2
- package/dist/{messagebox-CiOQUt0C.cjs → messagebox-Bx9jEw4V.cjs} +1 -1
- package/dist/{modal-DbzEnZNF.js → modal-Cv0uz8iY.js} +2 -2
- package/dist/{modal-DGiq84MG.cjs → modal-SFoXzth5.cjs} +1 -1
- package/dist/{option-group-element-DC364Rw_.js → option-group-element-16F2MJlO.js} +2 -2
- package/dist/{option-group-element-CH0sgVIl.cjs → option-group-element-DHpno4pS.cjs} +1 -1
- package/dist/pkt-accordion.cjs +1 -1
- package/dist/pkt-accordion.js +1 -1
- package/dist/pkt-alert.cjs +1 -1
- package/dist/pkt-alert.js +1 -1
- package/dist/pkt-backlink.cjs +1 -1
- package/dist/pkt-backlink.js +1 -1
- package/dist/pkt-breadcrumbs.cjs +1 -1
- package/dist/pkt-breadcrumbs.js +1 -1
- package/dist/pkt-button.cjs +1 -1
- package/dist/pkt-button.js +1 -1
- package/dist/pkt-calendar.cjs +1 -1
- package/dist/pkt-calendar.js +1 -1
- package/dist/pkt-card.cjs +1 -1
- package/dist/pkt-card.js +1 -1
- package/dist/pkt-checkbox-group.cjs +1 -1
- package/dist/pkt-checkbox-group.js +1 -1
- package/dist/pkt-checkbox.cjs +1 -1
- package/dist/pkt-checkbox.js +1 -1
- package/dist/pkt-combobox.cjs +1 -1
- package/dist/pkt-combobox.js +1 -1
- package/dist/pkt-consent.cjs +1 -1
- package/dist/pkt-consent.js +1 -1
- package/dist/pkt-datepicker.cjs +1 -1
- package/dist/pkt-datepicker.js +1 -1
- package/dist/pkt-fileupload.cjs +1 -1
- package/dist/pkt-fileupload.js +1 -1
- package/dist/pkt-footer.cjs +1 -1
- package/dist/pkt-footer.js +1 -1
- package/dist/pkt-header-menu.cjs +1 -1
- package/dist/pkt-header-menu.js +1 -1
- package/dist/pkt-header.cjs +1 -1
- package/dist/pkt-header.js +1 -1
- package/dist/pkt-heading.cjs +1 -1
- package/dist/pkt-heading.js +1 -1
- package/dist/pkt-helptext.cjs +1 -1
- package/dist/pkt-helptext.js +1 -1
- package/dist/pkt-icon.cjs +1 -1
- package/dist/pkt-icon.js +1 -1
- package/dist/pkt-index.cjs +1 -1
- package/dist/pkt-index.js +35 -35
- package/dist/pkt-input-wrapper.cjs +1 -1
- package/dist/pkt-input-wrapper.js +1 -1
- package/dist/pkt-link.cjs +1 -1
- package/dist/pkt-link.js +1 -1
- package/dist/pkt-linkcard.cjs +1 -1
- package/dist/pkt-linkcard.js +1 -1
- package/dist/pkt-loader.cjs +1 -1
- package/dist/pkt-loader.js +1 -1
- package/dist/pkt-messagebox.cjs +1 -1
- package/dist/pkt-messagebox.js +1 -1
- package/dist/pkt-modal.cjs +1 -1
- package/dist/pkt-modal.js +1 -1
- package/dist/{pkt-options-controller-D1sKTkbR.cjs → pkt-options-controller-C193xcN4.cjs} +1 -1
- package/dist/{pkt-options-controller-BikFfGcZ.js → pkt-options-controller-CH8U6zlw.js} +1 -1
- package/dist/pkt-progressbar.cjs +1 -1
- package/dist/pkt-progressbar.js +1 -1
- package/dist/pkt-radio-group.cjs +1 -1
- package/dist/pkt-radio-group.js +1 -1
- package/dist/pkt-radiobutton.cjs +1 -1
- package/dist/pkt-radiobutton.js +1 -1
- package/dist/pkt-searchinput.cjs +1 -1
- package/dist/pkt-searchinput.js +1 -1
- package/dist/pkt-select.cjs +1 -1
- package/dist/pkt-select.js +1 -1
- package/dist/pkt-tabs.cjs +1 -1
- package/dist/pkt-tabs.js +1 -1
- package/dist/pkt-tag.cjs +1 -1
- package/dist/pkt-tag.js +1 -1
- package/dist/pkt-textarea.cjs +1 -1
- package/dist/pkt-textarea.js +1 -1
- package/dist/pkt-textinput.cjs +1 -1
- package/dist/pkt-textinput.js +1 -1
- package/dist/pkt-timepicker.cjs +1 -1
- package/dist/pkt-timepicker.js +1 -1
- package/dist/{progressbar-t0zgEke0.js → progressbar-CMwFXEMB.js} +1 -1
- package/dist/{progressbar-CnX4fFfR.cjs → progressbar-eRJU41Uc.cjs} +1 -1
- package/dist/{radio-group-DJikniZi.js → radio-group-CO3dzdOl.js} +2 -2
- package/dist/{radio-group-XCYKqoLD.cjs → radio-group-S8Gg4Qaq.cjs} +1 -1
- package/dist/{radiobutton-PYQKVnNQ.js → radiobutton-BNsed-4-.js} +1 -1
- package/dist/{radiobutton-DgkML7sd.cjs → radiobutton-CYlly_Zk.cjs} +1 -1
- package/dist/{searchinput-Mdc9Ihld.cjs → searchinput-CVpPmZAJ.cjs} +1 -1
- package/dist/{searchinput-BzYifHBf.js → searchinput-Ca6zFqH5.js} +1 -1
- package/dist/{select-D8TC1msV.cjs → select-C74U9Tyl.cjs} +1 -1
- package/dist/{select-CorofYxz.js → select-C7r2Y7Bq.js} +4 -4
- package/dist/{tabs-B63J6MXb.cjs → tabs-BsVUzKix.cjs} +1 -1
- package/dist/{tabs-DDakCTkY.js → tabs-CxG9lgAB.js} +2 -2
- package/dist/{tag-6IPe9bwQ.cjs → tag-BfFtiV5e.cjs} +1 -1
- package/dist/{tag-BPvGZcKf.js → tag-BswfpmoV.js} +2 -2
- package/dist/{textarea-eRNStC90.js → textarea-5aOI1Qkq.js} +4 -4
- package/dist/{textarea-CjtqjgpN.cjs → textarea-VObZEvUw.cjs} +1 -1
- package/dist/{textinput-D_oEaI41.js → textinput-DABFhf0d.js} +4 -4
- package/dist/{textinput-BZPGcxZV.cjs → textinput-Wd1yRQuN.cjs} +1 -1
- package/dist/{timepicker-JBOeZg-7.js → timepicker-Bfp365j8.js} +4 -4
- package/dist/{timepicker-C0d92R8u.cjs → timepicker-Cc_7siiw.cjs} +1 -1
- package/package.json +17 -22
- package/src/components/accordion/accordion.ts +3 -3
- package/src/components/calendar/calendar.selection.test.ts +40 -0
- package/src/components/calendar/calendar.ts +5 -6
- package/src/components/consent/consent.test.ts +2 -0
- package/src/components/datepicker/datepicker-popup.ts +1 -1
- package/src/components/datepicker/datepicker-utils.ts +7 -5
- package/src/components/header/types.ts +0 -1
- package/src/components/icon/icon.test.ts +21 -0
- package/src/components/icon/icon.ts +7 -2
- package/src/components/linkcard/linkcard.ts +1 -1
- package/dist/base-elements/checkable-native-parity.test.d.ts +0 -0
- package/dist/base-elements/form-attribute.test.d.ts +0 -0
- package/dist/base-elements/form-disabled.test.d.ts +0 -0
- package/dist/base-elements/polyfill-form-value.test.d.ts +0 -0
- package/dist/button-Ca_V13cQ.cjs +0 -32
- package/dist/components/accordion/accordion.test.d.ts +0 -0
- package/dist/components/alert/alert.test.d.ts +0 -14
- package/dist/components/backlink/backlink.test.d.ts +0 -10
- package/dist/components/breadcrumbs/breadcrumbs.test.d.ts +0 -0
- package/dist/components/button/button.test.d.ts +0 -22
- package/dist/components/calendar/calendar.accessibility.test.d.ts +0 -16
- package/dist/components/calendar/calendar.constraints.test.d.ts +0 -0
- package/dist/components/calendar/calendar.core.test.d.ts +0 -0
- package/dist/components/calendar/calendar.interaction.test.d.ts +0 -0
- package/dist/components/calendar/calendar.selection.test.d.ts +0 -0
- package/dist/components/card/card.test.d.ts +0 -22
- package/dist/components/checkbox/checkbox.test.d.ts +0 -24
- package/dist/components/checkbox-group/checkbox-group.test.d.ts +0 -0
- package/dist/components/combobox/combobox.accessibility.test.d.ts +0 -0
- package/dist/components/combobox/combobox.attributes.test.d.ts +0 -0
- package/dist/components/combobox/combobox.core.test.d.ts +0 -0
- package/dist/components/combobox/combobox.interaction.test.d.ts +0 -0
- package/dist/components/combobox/combobox.preselection.test.d.ts +0 -0
- package/dist/components/combobox/combobox.selection.test.d.ts +0 -0
- package/dist/components/consent/consent.test.d.ts +0 -16
- package/dist/components/datepicker/date-tags.test.d.ts +0 -12
- package/dist/components/datepicker/datepicker-popup.test.d.ts +0 -4
- package/dist/components/datepicker/datepicker-utils.test.d.ts +0 -1
- package/dist/components/datepicker/datepicker.accessibility.test.d.ts +0 -0
- package/dist/components/datepicker/datepicker.core.test.d.ts +0 -0
- package/dist/components/datepicker/datepicker.input.test.d.ts +0 -0
- package/dist/components/datepicker/datepicker.selection.test.d.ts +0 -0
- package/dist/components/datepicker/datepicker.validation.test.d.ts +0 -0
- package/dist/components/fileupload/fileupload.test.d.ts +0 -0
- package/dist/components/footer/footer.accessibility.test.d.ts +0 -0
- package/dist/components/footer/footer.test.d.ts +0 -0
- package/dist/components/header/header-global.accessibility.test.d.ts +0 -0
- package/dist/components/header/header-global.test.d.ts +0 -0
- package/dist/components/header/header-service.accessibility.test.d.ts +0 -0
- package/dist/components/header/header-service.test.d.ts +0 -18
- package/dist/components/header/header.test.d.ts +0 -0
- package/dist/components/header-menu/header-menu.test.d.ts +0 -0
- package/dist/components/heading/heading.test.d.ts +0 -0
- package/dist/components/helptext/helptext-association.test.d.ts +0 -0
- package/dist/components/helptext/helptext.test.d.ts +0 -0
- package/dist/components/icon/icon.test.d.ts +0 -12
- package/dist/components/input-wrapper/input-wrapper.test.d.ts +0 -32
- package/dist/components/input-wrapper/tri-state.test.d.ts +0 -0
- package/dist/components/input-wrapper/wrapper-parity.test.d.ts +0 -1
- package/dist/components/link/link.test.d.ts +0 -15
- package/dist/components/linkcard/linkcard.test.d.ts +0 -9
- package/dist/components/listbox/listbox.interaction.test.d.ts +0 -10
- package/dist/components/listbox/listbox.test.d.ts +0 -10
- package/dist/components/loader/loader.test.d.ts +0 -8
- package/dist/components/messagebox/messagebox.test.d.ts +0 -8
- package/dist/components/modal/modal.test.d.ts +0 -9
- package/dist/components/progressbar/progressbar.test.d.ts +0 -8
- package/dist/components/radio-group/radio-group.test.d.ts +0 -0
- package/dist/components/radiobutton/radiobutton.test.d.ts +0 -28
- package/dist/components/searchinput/searchinput.test.d.ts +0 -0
- package/dist/components/select/select.test.d.ts +0 -23
- package/dist/components/tabs/tabs.test.d.ts +0 -0
- package/dist/components/tag/tag.test.d.ts +0 -8
- package/dist/components/textarea/textarea.test.d.ts +0 -29
- package/dist/components/textinput/textinput.test.d.ts +0 -33
- package/dist/components/timepicker/timepicker.test.d.ts +0 -25
- package/dist/directives/slot-content.test.d.ts +0 -0
- package/dist/docs/backlink.d.ts +0 -4
- package/dist/docs/components/accordion.d.ts +0 -5
- package/dist/docs/components/alert.d.ts +0 -9
- package/dist/docs/components/backlink.d.ts +0 -4
- package/dist/docs/components/breadcrumbs.d.ts +0 -8
- package/dist/docs/components/button.d.ts +0 -10
- package/dist/docs/components/calendar.d.ts +0 -4
- package/dist/docs/components/card.d.ts +0 -27
- package/dist/docs/components/checkbox-group.d.ts +0 -13
- package/dist/docs/components/checkbox.d.ts +0 -8
- package/dist/docs/components/combobox.d.ts +0 -11
- package/dist/docs/components/comboboxdemo.d.ts +0 -4
- package/dist/docs/components/consent.d.ts +0 -4
- package/dist/docs/components/datepicker.d.ts +0 -4
- package/dist/docs/components/datepickermultiple.d.ts +0 -4
- package/dist/docs/components/event-log.d.ts +0 -20
- package/dist/docs/components/fileupload.d.ts +0 -28
- package/dist/docs/components/footer.d.ts +0 -9
- package/dist/docs/components/form-sizes.d.ts +0 -10
- package/dist/docs/components/form.d.ts +0 -9
- package/dist/docs/components/header-full.d.ts +0 -36
- package/dist/docs/components/header-global-full.d.ts +0 -20
- package/dist/docs/components/header-global.d.ts +0 -14
- package/dist/docs/components/header-menu.d.ts +0 -8
- package/dist/docs/components/header.d.ts +0 -18
- package/dist/docs/components/heading.d.ts +0 -12
- package/dist/docs/components/icon.d.ts +0 -4
- package/dist/docs/components/input-wrapper.d.ts +0 -4
- package/dist/docs/components/link.d.ts +0 -4
- package/dist/docs/components/linkcard.d.ts +0 -4
- package/dist/docs/components/loader.d.ts +0 -10
- package/dist/docs/components/messagebox.d.ts +0 -4
- package/dist/docs/components/modal.d.ts +0 -24
- package/dist/docs/components/progressbar.d.ts +0 -9
- package/dist/docs/components/radio-checkbox-sizes.d.ts +0 -10
- package/dist/docs/components/radio-group.d.ts +0 -13
- package/dist/docs/components/radiobutton.d.ts +0 -12
- package/dist/docs/components/searchinput.d.ts +0 -17
- package/dist/docs/components/select.d.ts +0 -13
- package/dist/docs/components/slot-internals.d.ts +0 -14
- package/dist/docs/components/slots.d.ts +0 -37
- package/dist/docs/components/switch.d.ts +0 -4
- package/dist/docs/components/tabs.d.ts +0 -35
- package/dist/docs/components/tag.d.ts +0 -4
- package/dist/docs/components/textarea.d.ts +0 -4
- package/dist/docs/components/textinput.d.ts +0 -5
- package/dist/docs/components/timepicker.d.ts +0 -4
- package/dist/docs/components/verifisering.d.ts +0 -15
- package/dist/docs/header.d.ts +0 -14
- package/dist/docs/punkt-docs.d.ts +0 -15
- package/dist/docs/tableOfContents.d.ts +0 -15
- package/dist/element-with-slot-DkyaNnm0.cjs +0 -1
- package/dist/icon-jPhyZD1z.cjs +0 -1
- package/dist/tests/component-registry.d.ts +0 -72
- package/dist/tests/option-contexts.d.ts +0 -7
- package/dist/tests/strings-override.test.d.ts +0 -0
- package/dist/tests/test-framework.d.ts +0 -29
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Button extends PktElement {
|
|
3
|
-
private buttonClick;
|
|
4
|
-
private handleInsideSubmit;
|
|
5
|
-
private handleOutsideSubmit;
|
|
6
|
-
private openAlert;
|
|
7
|
-
private disableButton;
|
|
8
|
-
private logButtonFocus;
|
|
9
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
10
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Card extends PktElement {
|
|
3
|
-
createRenderRoot(): this;
|
|
4
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
5
|
-
bilde: {
|
|
6
|
-
src: string;
|
|
7
|
-
alt: string;
|
|
8
|
-
};
|
|
9
|
-
lagLenke: (external: any, text: any) => {
|
|
10
|
-
href: string;
|
|
11
|
-
text: any;
|
|
12
|
-
external: any;
|
|
13
|
-
};
|
|
14
|
-
tekst10Ord: string;
|
|
15
|
-
tekst30Ord: string;
|
|
16
|
-
tekst75Ord: string;
|
|
17
|
-
dyreTekst: string[];
|
|
18
|
-
eksotiskeDyr: string[];
|
|
19
|
-
soeteDyrekvaliteter: string[];
|
|
20
|
-
tilfeldigDyr: () => string;
|
|
21
|
-
tilfeldigKvalitet: () => string;
|
|
22
|
-
tilfeldigTekst: () => string;
|
|
23
|
-
lagTags: () => {
|
|
24
|
-
text: string;
|
|
25
|
-
skin: string;
|
|
26
|
-
}[];
|
|
27
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class CheckboxGroupDocs extends PktElement {
|
|
3
|
-
rooms: string[];
|
|
4
|
-
submitted: string;
|
|
5
|
-
other: string[];
|
|
6
|
-
otherSubmitted: string;
|
|
7
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
8
|
-
}
|
|
9
|
-
declare global {
|
|
10
|
-
interface HTMLElementTagNameMap {
|
|
11
|
-
'docs-checkbox-group': CheckboxGroupDocs;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Checkbox extends PktElement {
|
|
3
|
-
private checkList;
|
|
4
|
-
selectedChecks: Set<string>;
|
|
5
|
-
programmaticChecked: boolean;
|
|
6
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
7
|
-
handleCheckChange: (e: Event) => void;
|
|
8
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Combobox extends PktElement {
|
|
3
|
-
private dynamicOptions;
|
|
4
|
-
private dynamicValue;
|
|
5
|
-
private multiDynamicValue;
|
|
6
|
-
private displayAsValue;
|
|
7
|
-
private slotOptions;
|
|
8
|
-
private eventLog;
|
|
9
|
-
private addToLog;
|
|
10
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
11
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PktShadowElement } from '../../base-elements/element';
|
|
2
|
-
/**
|
|
3
|
-
* Reusable event-log for the input demo pages.
|
|
4
|
-
*/
|
|
5
|
-
export declare class DocsEventLog extends PktShadowElement {
|
|
6
|
-
/** Heading shown above the log. */
|
|
7
|
-
heading: string;
|
|
8
|
-
/** Comma-separated list of event types to log. */
|
|
9
|
-
events: string;
|
|
10
|
-
/** Set to true to also log leaked native events from internal inputs. */
|
|
11
|
-
includeInternal: boolean;
|
|
12
|
-
private _log;
|
|
13
|
-
private _seq;
|
|
14
|
-
private get _eventNames();
|
|
15
|
-
private _handler;
|
|
16
|
-
connectedCallback(): void;
|
|
17
|
-
disconnectedCallback(): void;
|
|
18
|
-
static styles: import('lit').CSSResult;
|
|
19
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
20
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class FileUploadDocs extends PktElement {
|
|
3
|
-
private uploadStrategy;
|
|
4
|
-
private required;
|
|
5
|
-
private transferPreset;
|
|
6
|
-
private validationPreset;
|
|
7
|
-
private overrideDropZone;
|
|
8
|
-
private filesFilename;
|
|
9
|
-
private filesThumbnail;
|
|
10
|
-
private transfersFilename;
|
|
11
|
-
private transfersThumbnail;
|
|
12
|
-
private lastFilesChanged;
|
|
13
|
-
private lastUploadRequested;
|
|
14
|
-
private lastTransferCancelled;
|
|
15
|
-
private lastSubmitData;
|
|
16
|
-
private toReadableSubmitData;
|
|
17
|
-
private customValidator;
|
|
18
|
-
private onEventBasedValidate;
|
|
19
|
-
private onFilesChanged;
|
|
20
|
-
private onFileUploadRequested;
|
|
21
|
-
private onTransferCancelled;
|
|
22
|
-
private onSubmit;
|
|
23
|
-
private setUploadStrategy;
|
|
24
|
-
private setTransferPreset;
|
|
25
|
-
private computeTransfers;
|
|
26
|
-
private getValidationConfig;
|
|
27
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
28
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class FormSizes extends PktElement {
|
|
3
|
-
private renderRow;
|
|
4
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
5
|
-
}
|
|
6
|
-
declare global {
|
|
7
|
-
interface HTMLElementTagNameMap {
|
|
8
|
-
'docs-form-sizes': FormSizes;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Form extends PktElement {
|
|
3
|
-
private formData;
|
|
4
|
-
private isSubmitting;
|
|
5
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
6
|
-
private handleSubmit;
|
|
7
|
-
private handleReset;
|
|
8
|
-
private handleQueryString;
|
|
9
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { PropertyValues } from 'lit';
|
|
2
|
-
import { PktElement } from '../../base-elements/element';
|
|
3
|
-
export declare class HeaderFull extends PktElement {
|
|
4
|
-
private isDarkMode;
|
|
5
|
-
private searchValue;
|
|
6
|
-
private openedMenu;
|
|
7
|
-
private isMegamenuOpen;
|
|
8
|
-
private previousActiveElement;
|
|
9
|
-
private headerResizeObserver?;
|
|
10
|
-
private observedHeaderEl?;
|
|
11
|
-
private user;
|
|
12
|
-
private representing;
|
|
13
|
-
private userMenu;
|
|
14
|
-
private handleLogout;
|
|
15
|
-
private toggleRepresentation;
|
|
16
|
-
private handleChangeRepresentation;
|
|
17
|
-
private handleSearch;
|
|
18
|
-
private handleSearchChange;
|
|
19
|
-
private handleLogoClick;
|
|
20
|
-
private toggleDarkMode;
|
|
21
|
-
private openModal;
|
|
22
|
-
connectedCallback(): void;
|
|
23
|
-
disconnectedCallback(): void;
|
|
24
|
-
updated(changedProperties: PropertyValues): void;
|
|
25
|
-
private setupHeaderResizeObserver;
|
|
26
|
-
private teardownHeaderResizeObserver;
|
|
27
|
-
private handleDocumentKeydown;
|
|
28
|
-
private toggleMegamenu;
|
|
29
|
-
private handleOverlayClick;
|
|
30
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
31
|
-
}
|
|
32
|
-
declare global {
|
|
33
|
-
interface HTMLElementTagNameMap {
|
|
34
|
-
'docs-header-full': HeaderFull;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class HeaderGlobalFull extends PktElement {
|
|
3
|
-
private isDarkMode;
|
|
4
|
-
private isLoggedIn;
|
|
5
|
-
private hasRepresentation;
|
|
6
|
-
private showSearch;
|
|
7
|
-
private showContact;
|
|
8
|
-
private position;
|
|
9
|
-
private scrollBehavior;
|
|
10
|
-
private user;
|
|
11
|
-
private userMenu;
|
|
12
|
-
private get representing();
|
|
13
|
-
private openModal;
|
|
14
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
15
|
-
}
|
|
16
|
-
declare global {
|
|
17
|
-
interface HTMLElementTagNameMap {
|
|
18
|
-
'docs-header-global-full': HeaderGlobalFull;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class HeaderGlobal extends PktElement {
|
|
3
|
-
private user;
|
|
4
|
-
private representing;
|
|
5
|
-
private userMenu;
|
|
6
|
-
private handleLogout;
|
|
7
|
-
private handleChangeRepresentation;
|
|
8
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
9
|
-
}
|
|
10
|
-
declare global {
|
|
11
|
-
interface HTMLElementTagNameMap {
|
|
12
|
-
'docs-header-global': HeaderGlobal;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class HeaderComponent extends PktElement {
|
|
3
|
-
private searchValue;
|
|
4
|
-
private user;
|
|
5
|
-
private representing;
|
|
6
|
-
private userMenu;
|
|
7
|
-
private handleLogout;
|
|
8
|
-
private handleChangeRepresentation;
|
|
9
|
-
private handleSearch;
|
|
10
|
-
private handleSearchChange;
|
|
11
|
-
private handleLogoClick;
|
|
12
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
13
|
-
}
|
|
14
|
-
declare global {
|
|
15
|
-
interface HTMLElementTagNameMap {
|
|
16
|
-
'docs-header-component': HeaderComponent;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Test extends PktElement {
|
|
3
|
-
private levels;
|
|
4
|
-
private sizes;
|
|
5
|
-
private weights;
|
|
6
|
-
private getHeadingStyle;
|
|
7
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
8
|
-
tekst10Ord: string;
|
|
9
|
-
tekst30Ord: string;
|
|
10
|
-
tekst75Ord: string;
|
|
11
|
-
havDyrTekst: string[];
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Loader extends PktElement {
|
|
3
|
-
private demoLoading;
|
|
4
|
-
private demoTimer;
|
|
5
|
-
connectedCallback(): void;
|
|
6
|
-
disconnectedCallback(): void;
|
|
7
|
-
private startDemoTimer;
|
|
8
|
-
private resetDemo;
|
|
9
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
10
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Modal extends PktElement {
|
|
3
|
-
declarativeOpen: boolean;
|
|
4
|
-
accordionModalOpen: boolean;
|
|
5
|
-
unmountModalOpen: boolean;
|
|
6
|
-
multiAOpen: boolean;
|
|
7
|
-
multiBOpen: boolean;
|
|
8
|
-
bodyHasLockClass: boolean;
|
|
9
|
-
bodyLockCount: string;
|
|
10
|
-
private _bodyObserver?;
|
|
11
|
-
pktModal1: HTMLDialogElement;
|
|
12
|
-
pktModal2: HTMLDialogElement;
|
|
13
|
-
pktModal22: HTMLDialogElement;
|
|
14
|
-
pktModal3: HTMLDialogElement;
|
|
15
|
-
pktModal3Large: HTMLDialogElement;
|
|
16
|
-
pktModal4: HTMLDialogElement;
|
|
17
|
-
pktModal5: HTMLDialogElement;
|
|
18
|
-
pktModal6: HTMLDialogElement;
|
|
19
|
-
pktModalHeadingIcon: HTMLDialogElement;
|
|
20
|
-
pktModalHeadingIconLong: HTMLDialogElement;
|
|
21
|
-
connectedCallback(): void;
|
|
22
|
-
disconnectedCallback(): void;
|
|
23
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
24
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Progressbar extends PktElement {
|
|
3
|
-
countDarkBlue: number;
|
|
4
|
-
countsLightBlue: number;
|
|
5
|
-
percentage: number;
|
|
6
|
-
fraction: number;
|
|
7
|
-
fractions: number;
|
|
8
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TemplateResult } from 'lit';
|
|
2
|
-
import { PktElement } from '../../base-elements/element';
|
|
3
|
-
export declare class RadioCheckboxSizes extends PktElement {
|
|
4
|
-
render(): TemplateResult<1>;
|
|
5
|
-
}
|
|
6
|
-
declare global {
|
|
7
|
-
interface HTMLElementTagNameMap {
|
|
8
|
-
'docs-radio-checkbox-sizes': RadioCheckboxSizes;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class RadioGroupDocs extends PktElement {
|
|
3
|
-
transport: string;
|
|
4
|
-
submitted: string;
|
|
5
|
-
other: string;
|
|
6
|
-
otherSubmitted: string;
|
|
7
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
8
|
-
}
|
|
9
|
-
declare global {
|
|
10
|
-
interface HTMLElementTagNameMap {
|
|
11
|
-
'docs-radio-group': RadioGroupDocs;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Radiobutton extends PktElement {
|
|
3
|
-
private radioList;
|
|
4
|
-
selectedRadio: {
|
|
5
|
-
id: string;
|
|
6
|
-
value: string;
|
|
7
|
-
};
|
|
8
|
-
submitForm: (e: SubmitEvent) => void;
|
|
9
|
-
handleRadioInForm: (event: Event) => void;
|
|
10
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
11
|
-
handleRadioChange: (selectedRadio: string) => void;
|
|
12
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Searchinput extends PktElement {
|
|
3
|
-
private values;
|
|
4
|
-
private lastPktSearchValue;
|
|
5
|
-
private lastSuggestionEvent;
|
|
6
|
-
private lastSuggestionTypeEvent;
|
|
7
|
-
private preventHint;
|
|
8
|
-
private controlledValue;
|
|
9
|
-
private searchSuggestions;
|
|
10
|
-
private suggestionLinkDemo;
|
|
11
|
-
private suggestionTypesDemo;
|
|
12
|
-
private noSuggestions;
|
|
13
|
-
private get searchSuggestionsWithCallback();
|
|
14
|
-
private setValue;
|
|
15
|
-
private getInputValue;
|
|
16
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
17
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Select extends PktElement {
|
|
3
|
-
private optionsBeingMutated;
|
|
4
|
-
private slotOptions;
|
|
5
|
-
private propOptions;
|
|
6
|
-
private mixedSlotOptions;
|
|
7
|
-
private modifySlotOptions;
|
|
8
|
-
private modifyPropOptions;
|
|
9
|
-
private modalOptionCount;
|
|
10
|
-
private reparentOptionCount;
|
|
11
|
-
private toggleDisabledStatus;
|
|
12
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TemplateResult } from 'lit';
|
|
2
|
-
import { PktElement } from '../../base-elements/element';
|
|
3
|
-
export declare class SlotInternals extends PktElement {
|
|
4
|
-
private scenarioIndex;
|
|
5
|
-
private get scenario();
|
|
6
|
-
/** 'on' when the chosen scenario is one of the space-separated `scenarios` */
|
|
7
|
-
private on;
|
|
8
|
-
private layoutFigure;
|
|
9
|
-
private mapFigure;
|
|
10
|
-
private contentEndFigure;
|
|
11
|
-
private whitespaceFigure;
|
|
12
|
-
private forwardingFigure;
|
|
13
|
-
render(): TemplateResult<1>;
|
|
14
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Slots extends PktElement {
|
|
3
|
-
alertText: string;
|
|
4
|
-
buttonText: string;
|
|
5
|
-
tagText: string;
|
|
6
|
-
isLoading: boolean;
|
|
7
|
-
counter: number;
|
|
8
|
-
private counterInterval;
|
|
9
|
-
dynamicItems: {
|
|
10
|
-
id: number;
|
|
11
|
-
label: string;
|
|
12
|
-
}[];
|
|
13
|
-
private dynamicNextId;
|
|
14
|
-
clickLog: string[];
|
|
15
|
-
refContent: string;
|
|
16
|
-
helptextVisible: boolean;
|
|
17
|
-
helptextClickCount: number;
|
|
18
|
-
helptextInputValue: string;
|
|
19
|
-
showOptionalContent: boolean;
|
|
20
|
-
innerHtmlLog: string;
|
|
21
|
-
disconnectedCallback(): void;
|
|
22
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
23
|
-
private renderReactiveText;
|
|
24
|
-
private renderAutoCounter;
|
|
25
|
-
private renderDynamicChildren;
|
|
26
|
-
private addDynamicItem;
|
|
27
|
-
private removeDynamicItem;
|
|
28
|
-
private renderEventListeners;
|
|
29
|
-
private logClick;
|
|
30
|
-
private renderExternalReference;
|
|
31
|
-
private renderNamedSlots;
|
|
32
|
-
private renderConditionalContent;
|
|
33
|
-
private renderNestedComponents;
|
|
34
|
-
private renderInnerHtmlTest;
|
|
35
|
-
private changeImperativeAlert;
|
|
36
|
-
private firstImperativeNode;
|
|
37
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Tabs extends PktElement {
|
|
3
|
-
darkMode: boolean;
|
|
4
|
-
private activeTab1;
|
|
5
|
-
private activeTab2;
|
|
6
|
-
private activeTab3;
|
|
7
|
-
private activeTab4;
|
|
8
|
-
private activeTab5;
|
|
9
|
-
private activeTab6;
|
|
10
|
-
private activeTab7;
|
|
11
|
-
private activeStepperTab;
|
|
12
|
-
private stepperTitles;
|
|
13
|
-
private stepperCompleted;
|
|
14
|
-
private stepperUnlocked;
|
|
15
|
-
private stepperSeparatorIconName;
|
|
16
|
-
private stepperRenderKey;
|
|
17
|
-
private activeTabTest;
|
|
18
|
-
private tabTitles;
|
|
19
|
-
private disabledTabs;
|
|
20
|
-
private skins;
|
|
21
|
-
private tabNames;
|
|
22
|
-
private content;
|
|
23
|
-
private handleTabSelected;
|
|
24
|
-
private handleTabTestSelected;
|
|
25
|
-
private handleStepperTabSelected;
|
|
26
|
-
private completeActiveStepperTab;
|
|
27
|
-
private resetStepperFlow;
|
|
28
|
-
private handleSeparatorIconNameChange;
|
|
29
|
-
private updateTabTitle;
|
|
30
|
-
private toggleDisabledTab;
|
|
31
|
-
private addDynamicDisabledTab;
|
|
32
|
-
private removeLastDynamicTab;
|
|
33
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
34
|
-
}
|
|
35
|
-
export default Tabs;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../../base-elements/element';
|
|
2
|
-
export declare class Verifisering extends PktElement {
|
|
3
|
-
private _options;
|
|
4
|
-
private _wrapper;
|
|
5
|
-
private _bredder;
|
|
6
|
-
private _kontekst;
|
|
7
|
-
private _textarea;
|
|
8
|
-
private _fokus;
|
|
9
|
-
private _datepicker;
|
|
10
|
-
private _timepicker;
|
|
11
|
-
private _combobox;
|
|
12
|
-
private _fileupload;
|
|
13
|
-
private _knapper;
|
|
14
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
15
|
-
}
|
package/dist/docs/header.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../base-elements/element';
|
|
2
|
-
interface NavItem {
|
|
3
|
-
path: string;
|
|
4
|
-
name: string;
|
|
5
|
-
render: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare class Header extends PktElement {
|
|
8
|
-
routes: NavItem[];
|
|
9
|
-
darkMode: boolean;
|
|
10
|
-
connectedCallback(): void;
|
|
11
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
12
|
-
private changeRoute;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../base-elements/element';
|
|
2
|
-
export declare class PunktDocs extends PktElement {
|
|
3
|
-
private darkMode;
|
|
4
|
-
private readonly storageKey;
|
|
5
|
-
private router;
|
|
6
|
-
private toc?;
|
|
7
|
-
private tocPage;
|
|
8
|
-
connectedCallback(): void;
|
|
9
|
-
private get isHeaderFullPage();
|
|
10
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
11
|
-
updated(): void;
|
|
12
|
-
private goto;
|
|
13
|
-
private getInitialDarkMode;
|
|
14
|
-
private applyDarkMode;
|
|
15
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PktElement } from '../base-elements/element';
|
|
2
|
-
export declare class TableOfContents extends PktElement {
|
|
3
|
-
private headings;
|
|
4
|
-
private activeId;
|
|
5
|
-
private open;
|
|
6
|
-
private toggle?;
|
|
7
|
-
private watcher?;
|
|
8
|
-
refresh(page: Element | null): Promise<void>;
|
|
9
|
-
connectedCallback(): void;
|
|
10
|
-
disconnectedCallback(): void;
|
|
11
|
-
private onOutsideClick;
|
|
12
|
-
private onClick;
|
|
13
|
-
private onKeyDown;
|
|
14
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
15
|
-
}
|