@fremtind/jokul 0.69.0 → 0.69.1
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/build/build-stats.html +1 -1
- package/build/cjs/components/file-input/stories/FileInput.stories.d.cts +13 -0
- package/build/cjs/components/message/types.d.cts +7 -2
- package/build/es/components/file-input/stories/FileInput.stories.d.ts +13 -0
- package/build/es/components/message/types.d.ts +7 -2
- package/build/index-C4ABwKfA.js +20 -0
- package/build/index-C4ABwKfA.js.map +1 -0
- package/build/index-ZdY5zxEI.cjs +20 -0
- package/build/index-ZdY5zxEI.cjs.map +1 -0
- package/build/jokul.css +1 -1
- package/build/style.css +1 -0
- package/package.json +664 -664
- package/styles/components/checkbox/checkbox.css +4 -4
- package/styles/components/checkbox/checkbox.min.css +1 -1
- package/styles/components/checkbox-panel/checkbox-panel.css +2 -2
- package/styles/components/checkbox-panel/checkbox-panel.min.css +1 -1
- package/styles/components/countdown/countdown.css +2 -2
- package/styles/components/countdown/countdown.min.css +1 -1
- package/styles/components/feedback/feedback.css +2 -2
- package/styles/components/feedback/feedback.min.css +1 -1
- package/styles/components/file-input/development/public/fonts/_index.scss +1 -0
- package/styles/components/file-input/development/public/fonts/webfonts.css +108 -0
- package/styles/components/file-input/development/public/fonts/webfonts.min.css +1 -0
- package/styles/components/file-input/development/public/fonts/webfonts.scss +137 -0
- package/styles/components/input-group/input-group.css +2 -2
- package/styles/components/input-group/input-group.min.css +1 -1
- package/styles/components/loader/loader.css +6 -6
- package/styles/components/loader/loader.min.css +1 -1
- package/styles/components/loader/skeleton-loader.css +5 -5
- package/styles/components/loader/skeleton-loader.min.css +1 -1
- package/styles/components/menu/development/public/fonts/_index.scss +1 -0
- package/styles/components/menu/development/public/fonts/webfonts.css +108 -0
- package/styles/components/menu/development/public/fonts/webfonts.min.css +1 -0
- package/styles/components/menu/development/public/fonts/webfonts.scss +137 -0
- package/styles/components/message/message.css +2 -2
- package/styles/components/message/message.min.css +1 -1
- package/styles/components/progress-bar/progress-bar.css +1 -1
- package/styles/components/progress-bar/progress-bar.min.css +1 -1
- package/styles/components/radio-button/radio-button.css +2 -2
- package/styles/components/radio-button/radio-button.min.css +1 -1
- package/styles/components/radio-panel/radio-panel.css +2 -2
- package/styles/components/radio-panel/radio-panel.min.css +1 -1
- package/styles/components/system-message/system-message.css +2 -2
- package/styles/components/system-message/system-message.min.css +1 -1
- package/styles/components/toast/toast.css +4 -4
- package/styles/components/toast/toast.min.css +1 -1
- package/styles/styles.css +36 -36
- package/styles/styles.min.css +1 -1
- package/styles/vind/_flex.scss +113 -0
- package/styles/vind/_font.scss +19 -0
- package/styles/vind/_index.scss +1 -0
- package/styles/vind/_margin.scss +43 -0
- package/styles/vind/_padding.scss +43 -0
- package/styles/vind/_space-between.scss +13 -0
- package/styles/vind/_typography.scss +47 -0
- package/styles/vind/vind.css +1756 -0
- package/styles/vind/vind.min.css +1 -0
- package/styles/vind/vind.scss +6 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
@use "../core/jkl/spacing";
|
|
2
|
+
|
|
3
|
+
.jkl {
|
|
4
|
+
.flex {
|
|
5
|
+
display: flex;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.flex-wrap {
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.flex-nowrap {
|
|
13
|
+
flex-wrap: nowrap;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.flex-row {
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.flex-row-reverse {
|
|
21
|
+
flex-direction: row-reverse;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.flex-column {
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.flex-column-reverse {
|
|
29
|
+
flex-direction: column-reverse;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.grow {
|
|
33
|
+
flex-grow: 1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.grow-0 {
|
|
37
|
+
flex-grow: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.shrink {
|
|
41
|
+
flex-shrink: 1;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.shrink-0 {
|
|
45
|
+
flex-shrink: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@each $spacing, $value in spacing.$spacing {
|
|
49
|
+
.gap-#{$spacing} {
|
|
50
|
+
gap: $value;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.gap-x-#{$spacing} {
|
|
54
|
+
column-gap: $value;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.gap-y-#{$spacing} {
|
|
58
|
+
row-gap: $value;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.justify-normal {
|
|
63
|
+
justify-content: normal;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.justify-start {
|
|
67
|
+
justify-content: flex-start;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.justify-end {
|
|
71
|
+
justify-content: flex-end;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.justify-center {
|
|
75
|
+
justify-content: center;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.justify-between {
|
|
79
|
+
justify-content: space-between;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.justify-around {
|
|
83
|
+
justify-content: space-around;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.justify-evenly {
|
|
87
|
+
justify-content: space-evenly;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.justify-stretch {
|
|
91
|
+
justify-content: stretch;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.items-start {
|
|
95
|
+
align-items: flex-start;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.items-end {
|
|
99
|
+
align-items: flex-end;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.items-center {
|
|
103
|
+
align-items: center;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.items-baseline {
|
|
107
|
+
align-items: baseline;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.items-stretch {
|
|
111
|
+
align-items: stretch;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use "../core/jkl";
|
|
2
|
+
|
|
3
|
+
.jkl {
|
|
4
|
+
.font-sans {
|
|
5
|
+
@include jkl.use-font-family("Fremtind Grotesk");
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.font-mono {
|
|
9
|
+
@include jkl.use-font-family("Fremtind Grotesk Mono");
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.font-normal {
|
|
13
|
+
font-weight: jkl.$typography-weight-normal;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.font-bold {
|
|
17
|
+
font-weight: jkl.$typography-weight-bold;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "vind";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@use "../core/jkl/spacing";
|
|
2
|
+
|
|
3
|
+
.jkl {
|
|
4
|
+
@each $spacing, $value in spacing.$spacing {
|
|
5
|
+
.m-#{$spacing} {
|
|
6
|
+
margin: $value;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.mx-#{$spacing} {
|
|
10
|
+
margin-left: $value;
|
|
11
|
+
margin-right: $value;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ms-#{$spacing} {
|
|
15
|
+
margin-inline-start: $value;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.me-#{$spacing} {
|
|
19
|
+
margin-inline-end: $value;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.my-#{$spacing} {
|
|
23
|
+
margin-top: $value;
|
|
24
|
+
margin-bottom: $value;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.mt-#{$spacing} {
|
|
28
|
+
margin-top: $value;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.mr-#{$spacing} {
|
|
32
|
+
margin-right: $value;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.mb-#{$spacing} {
|
|
36
|
+
margin-bottom: $value;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ml-#{$spacing} {
|
|
40
|
+
margin-left: $value;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@use "../core/jkl/spacing";
|
|
2
|
+
|
|
3
|
+
.jkl {
|
|
4
|
+
@each $spacing, $value in spacing.$spacing {
|
|
5
|
+
.p-#{$spacing} {
|
|
6
|
+
padding: $value;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.px-#{$spacing} {
|
|
10
|
+
padding-left: $value;
|
|
11
|
+
padding-right: $value;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ps-#{$spacing} {
|
|
15
|
+
padding-inline-start: $value;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.pe-#{$spacing} {
|
|
19
|
+
padding-inline-end: $value;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.py-#{$spacing} {
|
|
23
|
+
padding-top: $value;
|
|
24
|
+
padding-bottom: $value;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.pt-#{$spacing} {
|
|
28
|
+
padding-top: $value;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.pr-#{$spacing} {
|
|
32
|
+
padding-right: $value;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.pb-#{$spacing} {
|
|
36
|
+
padding-bottom: $value;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.pl-#{$spacing} {
|
|
40
|
+
padding-left: $value;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@use "../core/jkl";
|
|
2
|
+
|
|
3
|
+
.jkl {
|
|
4
|
+
.title {
|
|
5
|
+
@include jkl.text-style("title");
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.title-small {
|
|
9
|
+
@include jkl.text-style("title-small");
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.heading-1 {
|
|
13
|
+
@include jkl.text-style("heading-1");
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.heading-2 {
|
|
17
|
+
@include jkl.text-style("heading-2");
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.heading-3 {
|
|
21
|
+
@include jkl.text-style("heading-3");
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.heading-4 {
|
|
25
|
+
@include jkl.text-style("heading-4");
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.heading-5 {
|
|
29
|
+
@include jkl.text-style("heading-5");
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.body {
|
|
33
|
+
@include jkl.text-style("body");
|
|
34
|
+
|
|
35
|
+
&.font-bold {
|
|
36
|
+
font-weight: jkl.$typography-weight-bold;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.small {
|
|
41
|
+
@include jkl.text-style("small");
|
|
42
|
+
|
|
43
|
+
&.font-bold {
|
|
44
|
+
font-weight: jkl.$typography-weight-bold;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|