@mattilsynet/design 2.2.17 → 2.2.19
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/mtds/analytics/analytics.js +1 -1
- package/mtds/analytics/analytics.js.map +1 -1
- package/mtds/atlas/atlas-element.d.ts +24 -0
- package/mtds/atlas/atlas-element.js +57 -0
- package/mtds/atlas/atlas-element.js.map +1 -0
- package/mtds/atlas/atlas.css.js +72 -0
- package/mtds/atlas/atlas.css.js.map +1 -0
- package/mtds/atlas/atlas.d.ts +14 -0
- package/mtds/atlas/atlas.stories.d.ts +16 -0
- package/mtds/atlas.d.ts +1 -0
- package/mtds/atlas.iife.js +745 -0
- package/mtds/atlas.js +5 -0
- package/mtds/atlas.js.map +1 -0
- package/mtds/chart/chart-element.js +1 -1
- package/mtds/chart/chart-element.js.map +1 -1
- package/mtds/chart/chart.d.ts +7 -12
- package/mtds/chart/chart.js.map +1 -1
- package/mtds/dialog/dialog-observer.js +16 -16
- package/mtds/dialog/dialog-observer.js.map +1 -1
- package/mtds/field/field-observer.js +47 -44
- package/mtds/field/field-observer.js.map +1 -1
- package/mtds/fieldset/fieldset.stories.d.ts +1 -0
- package/mtds/fileupload/fileupload.d.ts +6 -0
- package/mtds/fileupload/fileupload.js +13 -0
- package/mtds/fileupload/fileupload.js.map +1 -0
- package/mtds/{lawpicker/lawpicker.stories.d.ts → fileupload/fileupload.stories.d.ts} +1 -0
- package/mtds/illustrations/byggning-1-gronn.svg +1 -0
- package/mtds/illustrations/byggning-1-mattilsynet.svg +1 -0
- package/mtds/illustrations/byggning-2-gronn.svg +1 -0
- package/mtds/illustrations/byggning-3-gronn.svg +1 -0
- package/mtds/illustrations/byggning-4-gronn.svg +1 -0
- package/mtds/illustrations/byggning-5-gronn.svg +1 -0
- package/mtds/illustrations/byggning-6-blaa.svg +1 -0
- package/mtds/illustrations/byggning-7-blaa.svg +1 -0
- package/mtds/illustrations/byggning-8-blaa.svg +1 -0
- package/mtds/illustrations/byggningsrekke-1-gronn.svg +1 -0
- package/mtds/illustrations/byggningsrekke-1-mattilsynet.svg +1 -0
- package/mtds/illustrations/byggningsrekke-2-gronn.svg +1 -0
- package/mtds/illustrations/byggningsrekke-3-blaa.svg +1 -0
- package/mtds/illustrations/debatt.svg +1 -0
- package/mtds/illustrations/egg.svg +1 -0
- package/mtds/illustrations/flagg-aaland.svg +1 -0
- package/mtds/illustrations/flagg-danmark.svg +1 -0
- package/mtds/illustrations/flagg-faeroyene.svg +1 -0
- package/mtds/illustrations/flagg-finland.svg +1 -0
- package/mtds/illustrations/flagg-gronland.svg +1 -0
- package/mtds/illustrations/flagg-island.svg +1 -0
- package/mtds/illustrations/flagg-norge.svg +1 -0
- package/mtds/illustrations/flagg-sapmi.svg +1 -0
- package/mtds/illustrations/flagg-sverige.svg +1 -0
- package/mtds/illustrations/forstorrelsesglass.svg +1 -0
- package/mtds/illustrations/hengelas.svg +1 -0
- package/mtds/illustrations/index.json +139 -0
- package/mtds/illustrations/kompass.svg +1 -0
- package/mtds/illustrations/skinke.svg +1 -0
- package/mtds/illustrations/system-stotte.svg +1 -0
- package/mtds/illustrations/system.svg +1 -0
- package/mtds/illustrations/tre-1.svg +1 -0
- package/mtds/illustrations/tre-2.svg +1 -0
- package/mtds/illustrations/tre-3.svg +1 -0
- package/mtds/index.d.ts +3 -0
- package/mtds/index.iife.js +15 -15
- package/mtds/index.js +20 -15
- package/mtds/index.js.map +1 -1
- package/mtds/law/law-helper.d.ts +38 -0
- package/mtds/law/law-helper.js +78 -0
- package/mtds/law/law-helper.js.map +1 -0
- package/mtds/law/law.d.ts +2 -0
- package/mtds/law/law.js +10 -0
- package/mtds/law/law.js.map +1 -0
- package/mtds/law/law.stories.d.ts +16 -0
- package/mtds/law/vinforskriften-new.d.ts +1 -0
- package/mtds/law/vinforskriften-old.d.ts +1 -0
- package/mtds/logo/logo-observer.js +1 -1
- package/mtds/logo/logo-observer.js.map +1 -1
- package/mtds/package.json.js +1 -1
- package/mtds/react.d.ts +2 -0
- package/mtds/react.js +58 -54
- package/mtds/react.js.map +1 -1
- package/mtds/styles.css +1 -1
- package/mtds/styles.json +43 -41
- package/mtds/styles.module.css.js +98 -94
- package/mtds/styles.module.css.js.map +1 -1
- package/mtds/table/table.stories.d.ts +1 -0
- package/mtds/utils.js +36 -30
- package/mtds/utils.js.map +1 -1
- package/package.json +15 -16
- package/mtds/lawpicker/lawpicker-element.d.ts +0 -18
- package/mtds/map/map-element.d.ts +0 -47
- package/mtds/map/map-element.js +0 -82
- package/mtds/map/map-element.js.map +0 -1
- package/mtds/map/map.css.js +0 -46
- package/mtds/map/map.css.js.map +0 -1
- package/mtds/map/map.stories.d.ts +0 -10
- package/mtds/map.d.ts +0 -1
- package/mtds/map.iife.js +0 -722
- package/mtds/map.js +0 -8
- package/mtds/map.js.map +0 -1
|
@@ -628,5 +628,144 @@
|
|
|
628
628
|
"stars.svg": {
|
|
629
629
|
"categories": ["Visjon"],
|
|
630
630
|
"tags": ["stjerner", "visjon", "premium", "best", "lykkes"]
|
|
631
|
+
},
|
|
632
|
+
"tre-1.svg": {
|
|
633
|
+
"categories": ["Planter"],
|
|
634
|
+
"tags": ["tre"]
|
|
635
|
+
},
|
|
636
|
+
"tre-2.svg": {
|
|
637
|
+
"categories": ["Planter"],
|
|
638
|
+
"tags": ["tre"]
|
|
639
|
+
},
|
|
640
|
+
"tre-3.svg": {
|
|
641
|
+
"categories": ["Planter"],
|
|
642
|
+
"tags": ["tre"]
|
|
643
|
+
},
|
|
644
|
+
"byggning-1-gronn.svg": {
|
|
645
|
+
"categories": ["Bygg"],
|
|
646
|
+
"tags": ["byggninger", "by", "hus"]
|
|
647
|
+
},
|
|
648
|
+
"byggning-1-mattilsynet.svg": {
|
|
649
|
+
"categories": ["Bygg"],
|
|
650
|
+
"tags": ["byggninger", "by", "hus", "mattilsynet"]
|
|
651
|
+
},
|
|
652
|
+
"byggning-2-gronn.svg": {
|
|
653
|
+
"categories": ["Bygg"],
|
|
654
|
+
"tags": ["byggninger", "by", "hus"]
|
|
655
|
+
},
|
|
656
|
+
"byggning-3-gronn.svg": {
|
|
657
|
+
"categories": ["Bygg"],
|
|
658
|
+
"tags": ["byggninger", "by", "hus"]
|
|
659
|
+
},
|
|
660
|
+
"byggning-4-gronn.svg": {
|
|
661
|
+
"categories": ["Bygg"],
|
|
662
|
+
"tags": ["byggninger", "by", "hus"]
|
|
663
|
+
},
|
|
664
|
+
"byggning-5-gronn.svg": {
|
|
665
|
+
"categories": ["Bygg"],
|
|
666
|
+
"tags": ["byggninger", "by", "hus"]
|
|
667
|
+
},
|
|
668
|
+
"byggning-6-blaa.svg": {
|
|
669
|
+
"categories": ["Bygg"],
|
|
670
|
+
"tags": ["byggninger", "by", "hus"]
|
|
671
|
+
},
|
|
672
|
+
"byggning-7-blaa.svg": {
|
|
673
|
+
"categories": ["Bygg"],
|
|
674
|
+
"tags": ["byggninger", "by", "hus"]
|
|
675
|
+
},
|
|
676
|
+
"byggning-8-blaa.svg": {
|
|
677
|
+
"categories": ["Bygg"],
|
|
678
|
+
"tags": ["byggninger", "by", "hus"]
|
|
679
|
+
},
|
|
680
|
+
"byggningsrekke-1-gronn.svg": {
|
|
681
|
+
"categories": ["Bygg"],
|
|
682
|
+
"tags": ["byggninger", "by", "hus", "byggningsrekke"]
|
|
683
|
+
},
|
|
684
|
+
"byggningsrekke-1-mattilsynet.svg": {
|
|
685
|
+
"categories": ["Bygg"],
|
|
686
|
+
"tags": ["byggninger", "by", "hus", "byggningsrekke"]
|
|
687
|
+
},
|
|
688
|
+
"byggningsrekke-2-gronn.svg": {
|
|
689
|
+
"categories": ["Bygg"],
|
|
690
|
+
"tags": ["byggninger", "by", "hus", "byggningsrekke"]
|
|
691
|
+
},
|
|
692
|
+
"byggningsrekke-3-blaa.svg": {
|
|
693
|
+
"categories": ["Bygg"],
|
|
694
|
+
"tags": ["byggninger", "by", "hus", "byggningsrekke"]
|
|
695
|
+
},
|
|
696
|
+
"debatt.svg": {
|
|
697
|
+
"categories": ["Mennesker", "Visjon"],
|
|
698
|
+
"tags": [
|
|
699
|
+
"paneldebatt",
|
|
700
|
+
"diskusjon",
|
|
701
|
+
"samtale",
|
|
702
|
+
"mennesker",
|
|
703
|
+
"personer",
|
|
704
|
+
"gruppe"
|
|
705
|
+
]
|
|
706
|
+
},
|
|
707
|
+
"egg.svg": {
|
|
708
|
+
"categories": ["Mat"],
|
|
709
|
+
"tags": ["egg"]
|
|
710
|
+
},
|
|
711
|
+
"flagg-aaland.svg": {
|
|
712
|
+
"categories": ["Flagg"],
|
|
713
|
+
"tags": ["flagg", "Åland"]
|
|
714
|
+
},
|
|
715
|
+
"flagg-danmark.svg": {
|
|
716
|
+
"categories": ["Flagg"],
|
|
717
|
+
"tags": ["flagg", "Danmark"]
|
|
718
|
+
},
|
|
719
|
+
"flagg-faeroyene.svg": {
|
|
720
|
+
"categories": ["Flagg"],
|
|
721
|
+
"tags": ["flagg", "Færøyene"]
|
|
722
|
+
},
|
|
723
|
+
"flagg-finland.svg": {
|
|
724
|
+
"categories": ["Flagg"],
|
|
725
|
+
"tags": ["flagg", "Finland"]
|
|
726
|
+
},
|
|
727
|
+
"flagg-gronland.svg": {
|
|
728
|
+
"categories": ["Flagg"],
|
|
729
|
+
"tags": ["flagg", "Grønland"]
|
|
730
|
+
},
|
|
731
|
+
"flagg-island.svg": {
|
|
732
|
+
"categories": ["Flagg"],
|
|
733
|
+
"tags": ["flagg", "Island"]
|
|
734
|
+
},
|
|
735
|
+
"flagg-norge.svg": {
|
|
736
|
+
"categories": ["Flagg"],
|
|
737
|
+
"tags": ["flagg", "Norge"]
|
|
738
|
+
},
|
|
739
|
+
"flagg-sapmi.svg": {
|
|
740
|
+
"categories": ["Flagg"],
|
|
741
|
+
"tags": ["flagg", "Sapmi"]
|
|
742
|
+
},
|
|
743
|
+
"flagg-sverige.svg": {
|
|
744
|
+
"categories": ["Flagg"],
|
|
745
|
+
"tags": ["flagg", "Sverige"]
|
|
746
|
+
},
|
|
747
|
+
"forstorrelsesglass.svg": {
|
|
748
|
+
"categories": ["Utstyr"],
|
|
749
|
+
"tags": ["forstørrelsesglass", "lupe"]
|
|
750
|
+
},
|
|
751
|
+
"hengelas.svg": {
|
|
752
|
+
"categories": ["Utstyr"],
|
|
753
|
+
"tags": ["hengelås", "nøkkel"]
|
|
754
|
+
},
|
|
755
|
+
"kompass.svg": {
|
|
756
|
+
"categories": ["Utstyr"],
|
|
757
|
+
"tags": ["kompass"]
|
|
758
|
+
},
|
|
759
|
+
"skinke.svg": {
|
|
760
|
+
"categories": ["Mat"],
|
|
761
|
+
"tags": ["skinke", "kjøtt"]
|
|
762
|
+
},
|
|
763
|
+
"system-stotte.svg": {
|
|
764
|
+
"categories": ["Utstyr"],
|
|
765
|
+
"tags": ["systemstøtte", "støttesystem"]
|
|
766
|
+
},
|
|
767
|
+
"system.svg": {
|
|
768
|
+
"categories": ["Utstyr"],
|
|
769
|
+
"tags": ["system"]
|
|
631
770
|
}
|
|
632
771
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="290" height="290" fill="none" viewBox="0 0 290 290"><circle cx="145" cy="145" r="145" fill="#116e6b"/><path fill="#054449" d="M144.5 30 119 145h51z"/><path fill="#abe1cd" d="M144.5 260 170 145h-51z"/><path fill="#f5ebe5" d="M144.5 160a14.5 14.5 0 1 0 0-29 14.5 14.5 0 0 0 0 29"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="240" height="169" fill="none" viewBox="0 0 240 169"><path fill="#f9c4aa" d="M67.48 14.02C38.11 22.5-4.96 65.68.47 94.68S28.34 168.85 85.69 169s102.11-6.58 119.94-19.43c34.4-24.72 50.87-100.69 11.47-131.9-32.07-25.4-91.3-20.48-149.62-3.65"/><path fill="#da573b" d="M28.36 53.92c-7.4 3.56-22.62 25.96-17.78 39.42 4.84 13.45 12.04 39.79 29.81 50.88 17.78 11.1 47.48 13.94 61.99 13.3 14.5-.63 40.38 4.99 38.13-10.45-2.25-15.4-1.83-55.94-15.97-64.79-14.14-8.84-20.96-44.74-36.6-47.02S72.12 47.43 59.78 55.23s-18.75-7.38-31.42-1.28zM109.21 39.37c1.58 7.56 12.83 30 20.52 34.41 7.69 4.42 62.52 10.72 60.38 2.45s-27.64-34.38-43.96-38.64c-7.38-1.93-38.32-4.83-36.94 1.78M159.33 87.56c-15.13.08-15.55 11.94-14.68 22.02.83 10.08 37.9 2.8 42.78-3.68s-9.68-18.37-28.06-18.3zM198.74 109.51c-6.8 3.95-46.17 14.7-48.03 19.58s-9.07 21.19 1.56 22.46c10.63 1.28 44.39-1.46 46.1-13.03s8.36-33.7.37-29.04z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="398" height="482" fill="none" viewBox="0 0 398 482"><path fill="#054449" d="M0 149.25h222.28v66.4H0z"/><circle cx="37.91" cy="182.45" r="20.01" fill="#abe1cd"/><path fill="#032c30" d="M0 215.65h222.28v66.4H0z"/><circle cx="37.91" cy="248.85" r="20.01" fill="#abe1cd"/><path fill="#054449" d="M0 282.05h222.28v66.4H0z"/><circle cx="37.91" cy="315.25" r="20.01" fill="#abe1cd"/><path fill="#032c30" d="M0 348.45h222.28v66.4H0z"/><circle cx="37.91" cy="381.65" r="20.01" fill="#abe1cd"/><path fill="#054449" d="M0 414.85h222.28v66.4H0z"/><circle cx="37.91" cy="448.05" r="20.01" fill="#abe1cd"/><path fill="#9bcab9" d="M259.5 481.25c76.5 0 138.5-62.01 138.5-138.5s-62-138.5-138.5-138.5-138.5 62-138.5 138.5c0 76.49 62 138.5 138.5 138.5"/><path fill="#faf7f4" d="M259.02 447.82c57.77 0 104.6-46.83 104.6-104.6s-46.83-104.59-104.6-104.59-104.59 46.83-104.59 104.6 46.83 104.59 104.6 104.59"/><path fill="#116e6b" d="M252.31 271.14a5.73 5.73 0 0 1 6.28 5.13l6.1 60.9h50.57a5.73 5.73 0 0 1 0 11.46h-60.94l-7.14-71.22a5.73 5.73 0 0 1 5.13-6.27"/><path fill="#b4cea0" fill-rule="evenodd" d="M159.88 35.42a39.2 39.2 0 0 1 54.95-3.55l20.22 17.57 5.38-6.18 63.2 54.93a45.4 45.4 0 0 1 4.39 64.04l-23.04 26.5a45.4 45.4 0 0 1-64.02 4.56l-63.2-54.94 5.38-6.18-20.22-17.58a39.2 39.2 0 0 1-3.8-55.3l20.42-23.49zM148.45 67.4a26.8 26.8 0 0 0 2.6 37.84l20.22 17.58 55.65-64.02-20.22-17.58a26.8 26.8 0 0 0-37.83 2.7z" clip-rule="evenodd"/><path fill="#116e6b" d="M224.4 112.8c6.04-6.94 15.46-8.64 21.04-3.8 3.49 3.04 4.65 7.91 3.56 12.83l21.08 18.33-12.23 14.07-21.09-18.32c-4.72 1.76-9.7 1.29-13.19-1.74-5.58-4.85-5.2-14.41.84-21.36"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="472" height="705" fill="none" viewBox="0 0 472 705"><path fill="#054449" d="M0 0h472v141H0z"/><circle cx="80.5" cy="70.5" r="42.5" fill="#abe1cd"/><path fill="#032c30" d="M0 141h472v141H0z"/><circle cx="80.5" cy="211.5" r="42.5" fill="#abe1cd"/><path fill="#054449" d="M0 282h472v141H0z"/><circle cx="80.5" cy="352.5" r="42.5" fill="#abe1cd"/><path fill="#032c30" d="M0 423h472v141H0z"/><circle cx="80.5" cy="493.5" r="42.5" fill="#abe1cd"/><path fill="#054449" d="M0 564h472v141H0z"/><circle cx="80.5" cy="634.5" r="42.5" fill="#abe1cd"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="116" height="148" fill="none" viewBox="0 0 116 148"><path fill="#054449" d="M70.14 124h-23v24h23z"/><path fill="#054449" d="M20.4 118.07s-40.79-39.9-7.02-92.32 99.07-14.34 102.1 21.62c6.66 78.94-52.15 98.46-95.07 70.7"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="106" height="219" fill="none" viewBox="0 0 106 219"><ellipse cx="53" cy="112" fill="#116e6b" rx="53" ry="54"/><ellipse cx="53" cy="49.5" fill="#116e6b" rx="43" ry="49.5"/><path fill="#116e6b" d="M44 153h18v66H44z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="106" height="251" fill="none" viewBox="0 0 106 251"><ellipse cx="53" cy="45" fill="#116e6b" rx="38" ry="45"/><ellipse cx="53" cy="144" fill="#116e6b" rx="53" ry="54"/><ellipse cx="53" cy="91" fill="#116e6b" rx="53" ry="42"/><path fill="#116e6b" d="M44 185h18v66H44z"/></svg>
|
package/mtds/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { UHTMLTabElement, UHTMLTabListElement, UHTMLTabPanelElement, UHTMLTabsEl
|
|
|
3
3
|
export { version } from '../package.json';
|
|
4
4
|
export * from './analytics/analytics';
|
|
5
5
|
export * from './app/app-observer';
|
|
6
|
+
export * from './law/law-helper';
|
|
6
7
|
export * from './pagination/pagination-helper';
|
|
7
8
|
export declare const styles: {
|
|
8
9
|
alert: string;
|
|
@@ -22,8 +23,10 @@ errorsummary: string;
|
|
|
22
23
|
field: string;
|
|
23
24
|
affixes: string;
|
|
24
25
|
fieldset: string;
|
|
26
|
+
fileupload: string;
|
|
25
27
|
helptext: string;
|
|
26
28
|
input: string;
|
|
29
|
+
law: string;
|
|
27
30
|
grid: string;
|
|
28
31
|
flex: string;
|
|
29
32
|
link: string;
|