@oslokommune/punkt-elements 12.17.0 → 12.17.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/dist/{class-map-d4EVPLBg.js → class-map-CBvUV2N3.js} +1 -1
- package/dist/{class-map-C92zObAn.cjs → class-map-a5HUzP83.cjs} +1 -1
- package/dist/{helptext-P1rM1x3p.js → helptext-DBolvFI4.js} +3 -3
- package/dist/{helptext-CquaEC6K.cjs → helptext-_fMLOOCL.cjs} +1 -1
- package/dist/{index-BXyp3qCS.js → index-CFDwiDTU.js} +349 -337
- package/dist/{index-BsgcXRmM.cjs → index-CR7t1zY9.cjs} +29 -29
- package/dist/{index-D2toJo-e.cjs → index-CmTjXoAb.cjs} +1 -1
- package/dist/{index-CPB5TLrS.js → index-D2jSRMrn.js} +6 -6
- package/dist/{index-BPPtpQWt.js → index-RwtTBIhT.js} +1 -1
- package/dist/{index-BPXZmGWV.cjs → index-tvpcg-ad.cjs} +4 -4
- package/dist/index.d.ts +5 -0
- package/dist/{input-wrapper-BbLHt2GC.js → input-wrapper-6vTrKtsW.js} +5 -5
- package/dist/{input-wrapper-Bv0JBG3z.cjs → input-wrapper-DX41tnbj.cjs} +1 -1
- package/dist/{linkcard-Gc0adgx0.js → linkcard-BlWQ8jOv.js} +3 -3
- package/dist/{linkcard-nkS6ET7M.cjs → linkcard-Det6CJ5D.cjs} +1 -1
- package/dist/{modal-Dq7JVtPA.js → modal-3OZTPqee.js} +4 -4
- package/dist/{modal-D_7T-rg0.cjs → modal-DYTVJjYh.cjs} +1 -1
- package/dist/pkt-alert.cjs +1 -1
- package/dist/pkt-alert.js +4 -4
- package/dist/pkt-calendar.cjs +1 -1
- package/dist/pkt-calendar.js +4 -4
- package/dist/pkt-card.cjs +1 -1
- package/dist/pkt-card.js +4 -4
- package/dist/pkt-component-template.cjs +1 -1
- package/dist/pkt-component-template.js +3 -3
- package/dist/pkt-datepicker.cjs +4 -5
- package/dist/pkt-datepicker.js +52 -53
- package/dist/pkt-element.cjs +1 -1
- package/dist/pkt-element.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 +2 -2
- package/dist/pkt-index.cjs +1 -1
- package/dist/pkt-index.js +8 -8
- 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 +4 -4
- package/dist/pkt-linkcard.cjs +1 -1
- package/dist/pkt-linkcard.js +1 -1
- package/dist/pkt-messagebox.cjs +1 -1
- package/dist/pkt-messagebox.js +4 -4
- package/dist/pkt-modal.cjs +1 -1
- package/dist/pkt-modal.js +1 -1
- package/dist/pkt-tag.cjs +1 -1
- package/dist/pkt-tag.js +4 -4
- 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/{ref-DPUgHtT0.cjs → ref-C2yPtMJA.cjs} +1 -1
- package/dist/{ref-B5hXBqpP.js → ref-CaiKp3S2.js} +1 -1
- package/dist/{textarea-DpLTy6XT.cjs → textarea-B45ZZYpx.cjs} +6 -3
- package/dist/{textarea-oZpJKjwI.js → textarea-BTpJjEhO.js} +25 -22
- package/dist/{textinput-BD4p3Biy.cjs → textinput-BIhQEr8z.cjs} +7 -3
- package/dist/{textinput-ToIpNAvm.js → textinput-CVo5wG14.js} +63 -56
- package/package.json +3 -3
- package/src/components/calendar/index.ts +4 -4
- package/src/components/datepicker/index.ts +3 -4
- package/src/components/element/index.ts +20 -0
- package/src/components/textarea/textarea.ts +6 -3
- package/src/components/textinput/textinput.ts +10 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const a=require("./index-
|
|
1
|
+
"use strict";const a=require("./index-CR7t1zY9.cjs"),r=require("./custom-element-B-TlBwRu.cjs");/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2018 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as d, P as c, u as _, s as f, x as s, n as i, E as a } from "./index-
|
|
2
|
-
import { o as u } from "./index-
|
|
3
|
-
import { e as w } from "./class-map-
|
|
1
|
+
import { r as d, P as c, u as _, s as f, x as s, n as i, E as a } from "./index-CFDwiDTU.js";
|
|
2
|
+
import { o as u } from "./index-RwtTBIhT.js";
|
|
3
|
+
import { e as w } from "./class-map-CBvUV2N3.js";
|
|
4
4
|
import { t as v } from "./custom-element-CWfU4dcr.js";
|
|
5
5
|
var b = Object.defineProperty, k = Object.getOwnPropertyDescriptor, p = (n, r, l, o) => {
|
|
6
6
|
for (var t = o > 1 ? void 0 : o ? k(r, l) : r, h = n.length - 1, x; h >= 0; h--)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("./index-
|
|
1
|
+
"use strict";const t=require("./index-CR7t1zY9.cjs"),h=require("./index-CmTjXoAb.cjs"),x=require("./class-map-a5HUzP83.cjs"),c=require("./custom-element-B-TlBwRu.cjs");var u=Object.defineProperty,d=Object.getOwnPropertyDescriptor,n=(s,p,r,l)=>{for(var e=l>1?void 0:l?d(p,r):p,i=s.length-1,o;i>=0;i--)(o=s[i])&&(e=(l?o(p,r,e):o(e))||e);return l&&e&&u(p,r,e),e};exports.PktHelptext=class extends t.PktElement{constructor(){super(),this.forId=t.uuidish(),this.helptext="",this.helptextDropdown="",this.helptextDropdownButton=t.specs.props.helptextDropdownButton.default,this.isHelpTextOpen=!1}render(){const p=()=>{this.isHelpTextOpen=!this.isHelpTextOpen,this.dispatchEvent(new CustomEvent("toggleHelpText",{bubbles:!0,detail:{isOpen:!this.isHelpTextOpen}}))},r=()=>this.helptext||this.helptextDropdown?t.x`<div>
|
|
2
2
|
${this.helptext?t.x`<div class="pkt-inputwrapper__helptext" id="${this.forId}-helptext">
|
|
3
3
|
${h.o(this.helptext)}
|
|
4
4
|
</div>`:t.E}
|