@oslokommune/punkt-elements 12.6.7 → 12.6.9
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/index.d.ts +1 -0
- package/dist/pkt-datepicker.cjs +4 -4
- package/dist/pkt-datepicker.js +521 -512
- package/package.json +2 -2
- package/src/components/datepicker/index.ts +6 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oslokommune/punkt-elements",
|
|
3
|
-
"version": "12.6.
|
|
3
|
+
"version": "12.6.9",
|
|
4
4
|
"description": "Komponentbiblioteket til Punkt, et designsystem laget av Oslo Origo",
|
|
5
5
|
"homepage": "https://punkt.oslo.kommune.no",
|
|
6
6
|
"author": "Team Designsystem, Oslo Origo",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"url": "https://github.com/oslokommune/punkt/issues"
|
|
56
56
|
},
|
|
57
57
|
"license": "MIT",
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "6b45028f02d1e87ea215db44855e210e93bb7cf2"
|
|
59
59
|
}
|
|
@@ -71,7 +71,11 @@ export class PktDatepicker extends PktInputElement {
|
|
|
71
71
|
@property({ type: String })
|
|
72
72
|
currentmonth: string | null = null
|
|
73
73
|
|
|
74
|
-
@property({ type: Boolean
|
|
74
|
+
@property({ type: Boolean })
|
|
75
|
+
useWrapper: boolean = true
|
|
76
|
+
|
|
77
|
+
@property({ type: Boolean, reflect: true })
|
|
78
|
+
calendarOpen: boolean = false
|
|
75
79
|
|
|
76
80
|
/**
|
|
77
81
|
* Housekeeping / lifecycle methods
|
|
@@ -527,7 +531,7 @@ export class PktDatepicker extends PktInputElement {
|
|
|
527
531
|
?required=${this.required}
|
|
528
532
|
?optionalTag=${this.optionalTag}
|
|
529
533
|
?requiredTag=${this.requiredTag}
|
|
530
|
-
?
|
|
534
|
+
?useWrapper=${this.useWrapper}
|
|
531
535
|
.optionalText=${this.optionalText}
|
|
532
536
|
.requiredText=${this.requiredText}
|
|
533
537
|
.errorMessage=${this.errorMessage}
|