@oslokommune/punkt-elements 12.17.1 → 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-D-Nmgexv.js → class-map-CBvUV2N3.js} +1 -1
- package/dist/{class-map-BnCpUrtH.cjs → class-map-a5HUzP83.cjs} +1 -1
- package/dist/{helptext-DwN28F32.js → helptext-DBolvFI4.js} +3 -3
- package/dist/{helptext-DDbifEx5.cjs → helptext-_fMLOOCL.cjs} +1 -1
- package/dist/{index-DW4hjYT3.js → index-CFDwiDTU.js} +263 -254
- package/dist/{index-BFZbp2IB.cjs → index-CR7t1zY9.cjs} +29 -29
- package/dist/{index-BZX8Yq1_.cjs → index-CmTjXoAb.cjs} +1 -1
- package/dist/{index-DsPP-K4k.js → index-D2jSRMrn.js} +3 -3
- package/dist/{index-DTJQL9UP.js → index-RwtTBIhT.js} +1 -1
- package/dist/{index-C9PvTVGX.cjs → index-tvpcg-ad.cjs} +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/{input-wrapper-cHPCKrs3.js → input-wrapper-6vTrKtsW.js} +5 -5
- package/dist/{input-wrapper-DbOD47ez.cjs → input-wrapper-DX41tnbj.cjs} +1 -1
- package/dist/{linkcard-BX2C_57h.js → linkcard-BlWQ8jOv.js} +3 -3
- package/dist/{linkcard-B99cHv7Z.cjs → linkcard-Det6CJ5D.cjs} +1 -1
- package/dist/{modal-CgsJDZKq.js → modal-3OZTPqee.js} +4 -4
- package/dist/{modal-Cwu6zHyz.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 +1 -1
- package/dist/pkt-datepicker.js +6 -6
- 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-DiDJSYtE.cjs → ref-C2yPtMJA.cjs} +1 -1
- package/dist/{ref-1EN04wbN.js → ref-CaiKp3S2.js} +1 -1
- package/dist/{textarea-Dv5nvmK1.cjs → textarea-B45ZZYpx.cjs} +1 -1
- package/dist/{textarea-7hU6CyOU.js → textarea-BTpJjEhO.js} +5 -5
- package/dist/{textinput-BIPqkY2M.cjs → textinput-BIhQEr8z.cjs} +1 -1
- package/dist/{textinput-bRxRV8Dc.js → textinput-CVo5wG14.js} +5 -5
- package/package.json +2 -2
- package/src/components/element/index.ts +17 -0
|
@@ -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}
|