@statsbygg/layout 0.1.21 → 0.1.23
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/Breadcrumbs.module.css +37 -0
- package/dist/GlobalFooter.module.css +14 -7
- package/dist/GlobalHeader.module.css +12 -32
- package/dist/NavigationMenu.module.css +20 -9
- package/dist/NavigationMenuItem.module.css +6 -1
- package/dist/assets/images/arrowRight.png +0 -0
- package/dist/assets/images/facebook.png +0 -0
- package/dist/assets/images/footer.png +0 -0
- package/dist/assets/images/instagram.png +0 -0
- package/dist/assets/images/linkedin.png +0 -0
- package/dist/assets/images/statsbygg_logo.svg +23 -0
- package/dist/assets/images/vimeo.png +0 -0
- package/dist/assets/images/youtube.png +0 -0
- package/dist/index.d.ts +21 -14
- package/dist/index.js +891 -708
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
.wrapper {
|
|
2
|
+
width: 100%;
|
|
3
|
+
background-color: var(--ds-color-background-tinted);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.inner {
|
|
7
|
+
max-width: 90rem;
|
|
8
|
+
padding: var(--ds-size-6) var(--ds-size-30) 0;
|
|
9
|
+
margin: 0 auto;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.whiteBackground {
|
|
13
|
+
background-color: white;
|
|
14
|
+
}
|
|
15
|
+
|
|
1
16
|
.breadcrumbs {
|
|
2
17
|
--dsc-breadcrumbs-color: var(--ds-color-text-default);
|
|
3
18
|
}
|
|
@@ -10,6 +25,12 @@
|
|
|
10
25
|
display: none;
|
|
11
26
|
}
|
|
12
27
|
|
|
28
|
+
@media (max-width: 1024px) {
|
|
29
|
+
.inner {
|
|
30
|
+
padding: var(--ds-size-6) var(--ds-size-10) 0;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
13
34
|
@media (max-width: 768px) {
|
|
14
35
|
.breadcrumbs li:has(.backLink) {
|
|
15
36
|
display: revert;
|
|
@@ -19,6 +40,10 @@
|
|
|
19
40
|
.breadcrumbs li:has(.currentLink) {
|
|
20
41
|
display: none;
|
|
21
42
|
}
|
|
43
|
+
|
|
44
|
+
.inner {
|
|
45
|
+
padding: var(--ds-size-6) var(--ds-size-8) 0;
|
|
46
|
+
}
|
|
22
47
|
}
|
|
23
48
|
|
|
24
49
|
.backLink {
|
|
@@ -49,3 +74,15 @@
|
|
|
49
74
|
pointer-events: none;
|
|
50
75
|
color: var(--ds-color-text-default);
|
|
51
76
|
}
|
|
77
|
+
|
|
78
|
+
@media (max-width: 600px) {
|
|
79
|
+
.inner {
|
|
80
|
+
padding: var(--ds-size-6) var(--ds-size-6);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media (max-width: 360px) {
|
|
85
|
+
.inner {
|
|
86
|
+
padding: var(--ds-size-6) var(--ds-size-4) 0;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -83,8 +83,11 @@
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.footerSection a {
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
font-weight: 500;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.footerLeft .footerSection a:hover {
|
|
90
|
+
text-decoration: underline;
|
|
88
91
|
}
|
|
89
92
|
|
|
90
93
|
.externalLink {
|
|
@@ -107,6 +110,10 @@
|
|
|
107
110
|
gap: var(--ds-size-1);
|
|
108
111
|
}
|
|
109
112
|
|
|
113
|
+
.socialLinks a:hover {
|
|
114
|
+
text-decoration: underline;
|
|
115
|
+
}
|
|
116
|
+
|
|
110
117
|
.socialIcon {
|
|
111
118
|
width: 24px;
|
|
112
119
|
height: 24px;
|
|
@@ -150,18 +157,18 @@
|
|
|
150
157
|
|
|
151
158
|
.contactSection p,
|
|
152
159
|
.contactSection a {
|
|
153
|
-
font-size:
|
|
160
|
+
font-size: 1rem;
|
|
154
161
|
line-height: 1.6;
|
|
155
162
|
text-decoration: none;
|
|
156
163
|
margin: 0;
|
|
157
164
|
}
|
|
158
165
|
|
|
159
|
-
.contactSection
|
|
160
|
-
|
|
166
|
+
.contactSection a {
|
|
167
|
+
text-decoration: underline;
|
|
161
168
|
}
|
|
162
169
|
|
|
163
|
-
.contactSection
|
|
164
|
-
|
|
170
|
+
.contactSection p {
|
|
171
|
+
margin-bottom: var(--ds-spacing-2);
|
|
165
172
|
}
|
|
166
173
|
|
|
167
174
|
.logoSection {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.header {
|
|
2
2
|
position: relative;
|
|
3
|
-
min-height: 179px;
|
|
4
3
|
min-width: 360px;
|
|
5
4
|
background-color: var(--ds-color-background-tinted);
|
|
6
5
|
top: 0;
|
|
@@ -8,6 +7,10 @@
|
|
|
8
7
|
|
|
9
8
|
}
|
|
10
9
|
|
|
10
|
+
.header, .headerWrapper{
|
|
11
|
+
min-height: 128px;
|
|
12
|
+
}
|
|
13
|
+
|
|
11
14
|
.whiteBackground,
|
|
12
15
|
.whiteBackground .topBarFixedWrapper,
|
|
13
16
|
.whiteBackground .headerContainer {
|
|
@@ -50,14 +53,6 @@
|
|
|
50
53
|
background-color: var(--ds-color-accent-surface-tinted);
|
|
51
54
|
}
|
|
52
55
|
|
|
53
|
-
.headerBreadcrumbs {
|
|
54
|
-
max-width: 90rem;
|
|
55
|
-
padding: var(--ds-size-6) var(--ds-size-30) 0;
|
|
56
|
-
display: block;
|
|
57
|
-
max-width: 90rem;
|
|
58
|
-
margin: 0 auto;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
56
|
.headerContainer {
|
|
62
57
|
position: absolute;
|
|
63
58
|
left: 0;
|
|
@@ -101,8 +96,8 @@
|
|
|
101
96
|
|
|
102
97
|
@media (max-width: 1024px) {
|
|
103
98
|
|
|
104
|
-
.header {
|
|
105
|
-
min-height:
|
|
99
|
+
.header, .headerWrapper{
|
|
100
|
+
min-height: 112px;
|
|
106
101
|
}
|
|
107
102
|
|
|
108
103
|
.topBarContainer {
|
|
@@ -112,16 +107,12 @@
|
|
|
112
107
|
.topBarInner {
|
|
113
108
|
padding: var(--ds-size-8) 0;
|
|
114
109
|
}
|
|
115
|
-
|
|
116
|
-
.headerBreadcrumbs {
|
|
117
|
-
padding: var(--ds-size-6) var(--ds-size-10) 0;
|
|
118
|
-
}
|
|
119
110
|
}
|
|
120
111
|
|
|
121
112
|
@media (max-width: 768px) {
|
|
122
113
|
|
|
123
|
-
.header {
|
|
124
|
-
min-height:
|
|
114
|
+
.header, .headerWrapper {
|
|
115
|
+
min-height: 96px;
|
|
125
116
|
}
|
|
126
117
|
|
|
127
118
|
.topBarContainer {
|
|
@@ -150,15 +141,12 @@
|
|
|
150
141
|
|
|
151
142
|
.logo { inline-size: 8rem; }
|
|
152
143
|
|
|
153
|
-
.headerBreadcrumbs {
|
|
154
|
-
padding: var(--ds-size-6) var(--ds-size-8) 0;
|
|
155
|
-
}
|
|
156
144
|
}
|
|
157
145
|
|
|
158
146
|
@media (max-width: 600px) {
|
|
159
147
|
|
|
160
|
-
.header {
|
|
161
|
-
min-height:
|
|
148
|
+
.header, .headerWrapper {
|
|
149
|
+
min-height: 80px;
|
|
162
150
|
}
|
|
163
151
|
|
|
164
152
|
.topBarInner {
|
|
@@ -169,16 +157,12 @@
|
|
|
169
157
|
padding: 0 var(--ds-size-6);
|
|
170
158
|
}
|
|
171
159
|
|
|
172
|
-
.headerBreadcrumbs {
|
|
173
|
-
padding: var(--ds-size-6) var(--ds-size-6);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
160
|
}
|
|
177
161
|
|
|
178
162
|
@media (max-width: 360px) {
|
|
179
163
|
|
|
180
|
-
.header {
|
|
181
|
-
min-height:
|
|
164
|
+
.header, .headerWrapper {
|
|
165
|
+
min-height: 74px;
|
|
182
166
|
}
|
|
183
167
|
|
|
184
168
|
.topBarContainer {
|
|
@@ -189,8 +173,4 @@
|
|
|
189
173
|
padding: var(--ds-size-4) 0;
|
|
190
174
|
}
|
|
191
175
|
|
|
192
|
-
.headerBreadcrumbs {
|
|
193
|
-
padding: var(--ds-size-6) var(--ds-size-4) 0;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
176
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
.menuOverlay {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
--navigation-header-offset: 128px;
|
|
3
|
+
position: fixed;
|
|
4
|
+
top: var(--navigation-header-offset);
|
|
4
5
|
left: 0;
|
|
5
6
|
right: 0;
|
|
6
7
|
margin: 0 auto;
|
|
7
|
-
height: calc(100vh - 5rem);
|
|
8
|
-
height: calc(100dvh - 5rem);
|
|
9
8
|
background-color: var(--ds-color-accent-surface-tinted);
|
|
10
9
|
z-index: 99;
|
|
11
10
|
overflow-y: auto;
|
|
@@ -30,6 +29,7 @@
|
|
|
30
29
|
flex-direction: column;
|
|
31
30
|
max-width: 900px;
|
|
32
31
|
gap: var(--ds-size-22);
|
|
32
|
+
overflow: hidden;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.searchSection {
|
|
@@ -126,13 +126,15 @@
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
.backdrop {
|
|
129
|
+
--navigation-header-offset: 128px;
|
|
129
130
|
position: fixed;
|
|
130
|
-
top:
|
|
131
|
+
top: var(--navigation-header-offset);
|
|
131
132
|
|
|
132
133
|
left: 0;
|
|
133
134
|
right: 0;
|
|
134
135
|
bottom: 0;
|
|
135
|
-
|
|
136
|
+
|
|
137
|
+
background: rgba(0, 0, 0, 0.25);
|
|
136
138
|
z-index: 98;
|
|
137
139
|
cursor: pointer;
|
|
138
140
|
}
|
|
@@ -184,8 +186,9 @@
|
|
|
184
186
|
}
|
|
185
187
|
|
|
186
188
|
@media (max-width: 1024px) {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
+
.menuOverlay {
|
|
190
|
+
top: 112px;
|
|
191
|
+
}
|
|
189
192
|
}
|
|
190
193
|
|
|
191
194
|
@media (max-width: 768px) {
|
|
@@ -199,7 +202,7 @@
|
|
|
199
202
|
}
|
|
200
203
|
|
|
201
204
|
.menuOverlay {
|
|
202
|
-
top:
|
|
205
|
+
top: 96px;
|
|
203
206
|
}
|
|
204
207
|
|
|
205
208
|
.container {
|
|
@@ -238,6 +241,10 @@
|
|
|
238
241
|
.searchField {
|
|
239
242
|
max-width: 48rem;
|
|
240
243
|
}
|
|
244
|
+
|
|
245
|
+
.menuOverlay {
|
|
246
|
+
top: 80px;
|
|
247
|
+
}
|
|
241
248
|
}
|
|
242
249
|
|
|
243
250
|
@media (max-width: 360px) {
|
|
@@ -249,4 +256,8 @@
|
|
|
249
256
|
padding: var(--ds-size-18) var(--ds-size-4);
|
|
250
257
|
gap: var(--ds-size-18);
|
|
251
258
|
}
|
|
259
|
+
|
|
260
|
+
.menuOverlay {
|
|
261
|
+
top: 74px;
|
|
262
|
+
}
|
|
252
263
|
}
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
|
|
11
11
|
.parentLink {
|
|
12
12
|
color: var(--ds-color-text-subtle);
|
|
13
|
-
font-size: var(--ds-font-size-4);
|
|
14
13
|
line-height: 150%;
|
|
15
14
|
text-decoration: none;
|
|
15
|
+
font-size: var(--ds-font-size-5);
|
|
16
|
+
font-weight: 500;
|
|
16
17
|
display: inline-flex;
|
|
17
18
|
align-self: flex-start;
|
|
18
19
|
gap: var(--ds-size-1);
|
|
@@ -77,6 +78,10 @@
|
|
|
77
78
|
color: var(--ds-color-accent-text-default);
|
|
78
79
|
}
|
|
79
80
|
|
|
81
|
+
.parentLink:hover {
|
|
82
|
+
text-decoration: underline;
|
|
83
|
+
}
|
|
84
|
+
|
|
80
85
|
.parentLink.active {
|
|
81
86
|
color: var(--ds-color-accent-text-default);
|
|
82
87
|
font-weight: 600;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<svg width="172" height="34" viewBox="0 0 172 34" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_13739_3837)">
|
|
3
|
+
<path d="M37.9263 26.0571C35.1004 24.8774 33.688 23.5781 33.688 21.38C33.688 19.9215 34.3597 18.7168 35.2388 17.976C36.3505 17.0486 37.833 16.7468 39.2926 16.7468C40.9827 16.7468 41.9088 17.0165 44.0621 17.5969C44.0621 18.6233 44.0634 20.9169 44.0634 21.358H42.6508C42.6279 20.477 42.6039 19.7581 42.1879 19.0874C41.5854 18.1614 40.4506 17.8376 39.3377 17.8376C37.0231 17.8376 36.0038 19.0874 36.0038 20.4307C36.0038 21.7508 36.7444 22.3753 39.431 23.5572C42.6731 24.9695 44.8504 25.8935 44.8504 28.9068C44.8504 32.2176 42.2108 34 39.0843 34C37.8561 34 36.7685 33.8396 34.8689 33.214C34.035 32.9344 33.7141 32.8577 33.7141 32.8577C33.7084 31.2167 33.7111 30.296 33.7111 28.0961H35.1235C35.1476 29.8539 35.2168 32.7731 39.0141 32.7731C41.4921 32.7731 42.6279 31.5448 42.6279 29.9252C42.6279 28.512 41.9322 27.7482 39.1535 26.5665L37.9263 26.0571Z" fill="black"/>
|
|
4
|
+
<path d="M95.3951 26.0571C92.5692 24.8774 91.1568 23.5781 91.1568 21.38C91.1568 19.9215 91.8283 18.7168 92.7074 17.976C93.8193 17.0486 95.3018 16.7468 96.7614 16.7468C98.4515 16.7468 99.3774 17.0165 101.531 17.5969C101.531 18.6233 101.532 20.9169 101.532 21.358H100.12C100.097 20.477 100.072 19.7581 99.6565 19.0874C99.054 18.1614 97.9192 17.8376 96.8063 17.8376C94.4919 17.8376 93.4723 19.0874 93.4723 20.4307C93.4723 21.7508 94.2133 22.3753 96.8998 23.5572C100.142 24.9695 102.319 25.8935 102.319 28.9068C102.319 32.2176 99.6794 34 96.5528 34C95.325 34 94.2373 33.8396 92.3377 33.214C91.5035 32.9344 91.1827 32.8577 91.1827 32.8577C91.1768 31.2167 91.1797 30.296 91.1797 28.0961H92.5923C92.6164 29.8539 92.6854 32.7731 96.4827 32.7731C98.961 32.7731 100.097 31.5448 100.097 29.9252C100.097 28.512 99.401 27.7482 96.622 26.5665L95.3951 26.0571Z" fill="black"/>
|
|
5
|
+
<path d="M51.9357 18.2778H50.7557C50.7557 18.2778 49.2271 18.3215 48.6707 18.4631C47.537 18.7397 47.3745 19.7581 47.143 21.2396H46.2731C46.2731 19.2549 46.2857 19.0085 46.2857 17.2021C48.307 17.2021 51.8213 17.2099 54.2301 17.2099C56.0598 17.2099 58.8183 17.2021 60.3432 17.2021C60.3432 18.9854 60.3426 19.1669 60.3426 21.2636H59.4169C59.3237 19.2258 58.7684 18.6925 57.8881 18.4631C57.2856 18.2998 56.198 18.2778 55.758 18.2778H54.5771V31.1991C54.5771 32.843 55.3409 32.843 56.1749 32.843H57.0079V33.5648C55.7766 33.5648 54.5079 33.5598 53.2337 33.5598C51.9597 33.5598 50.6904 33.5648 49.4586 33.5648V32.843H50.2928C51.1256 32.843 51.9357 32.843 51.9357 31.1991L51.9357 18.2778Z" fill="black"/>
|
|
6
|
+
<path d="M80.9296 18.2778H79.7498C79.7026 18.2778 78.2213 18.3215 77.6649 18.4631C76.5311 18.7397 76.3687 19.7581 76.137 21.2396H75.2673C75.2673 19.2549 75.2799 19.0085 75.2799 17.2021C77.3012 17.2021 80.8155 17.2099 83.2245 17.2099C85.054 17.2099 87.8125 17.2021 89.3374 17.2021C89.3374 18.9854 89.3367 19.1669 89.3367 21.2636H88.4111C88.3176 19.2258 87.7623 18.6925 86.8823 18.4631C86.2798 18.2998 85.1922 18.2778 84.7522 18.2778H83.5713V31.1991C83.5713 32.843 84.3351 32.843 85.1693 32.843H86.0021V33.5648C84.7707 33.5648 83.502 33.5598 82.2279 33.5598C80.9539 33.5598 79.6845 33.5648 78.4527 33.5648V32.843H79.2867C80.1197 32.843 80.9296 32.843 80.9296 31.1991V18.2778Z" fill="black"/>
|
|
7
|
+
<path d="M70.1673 27.3298H64.3782L62.7342 31.4539C62.596 31.8008 62.5259 31.9851 62.5259 32.1707C62.5259 32.9124 63.6364 32.8882 64.6099 32.843V33.5648H59.0984V32.843C60.3254 32.796 60.7425 32.7731 61.3679 31.2685L67.4129 17.2017H68.9037L74.9521 32.3512C75.0312 32.5886 75.2168 32.9124 76.4667 32.843V33.5648H69.8206V32.843C71.6973 32.843 72.2754 32.7731 71.6269 31.2685L70.1673 27.3298ZM69.7525 26.2668L67.3194 19.9675L64.7953 26.2668H69.7525Z" fill="black"/>
|
|
8
|
+
<path d="M106.724 20.0138C106.724 18.4631 106.564 17.998 105.474 17.9058C105.29 17.9058 105.034 17.9058 104.732 17.9285V17.2021C105.848 17.2021 112.052 17.1991 112.329 17.1991C113.442 17.1991 114.46 17.2099 115.386 17.6293C117.101 18.4631 117.239 20.2925 117.239 20.7785C117.239 21.6587 116.984 22.4694 116.312 23.2564C115.457 24.2509 114.368 24.6214 113.835 24.7841C114.599 24.9225 115.919 25.1299 116.984 26.0096C117.934 26.7988 118.536 27.9788 118.536 29.2755C118.536 30.6901 117.818 32.0313 116.73 32.8192C115.526 33.6739 114.067 33.563 113.187 33.563C112.792 33.563 107.699 33.5598 107.419 33.5598C106.47 33.5598 105.502 33.563 104.571 33.563V32.843C106.101 32.8881 106.724 32.8881 106.724 31.0137V20.0138ZM109.274 24.3682C110.454 24.4372 112.285 24.5525 113.071 24.2509C113.765 23.9732 114.693 23.3006 114.693 21.3326C114.693 20.3617 114.46 19.3651 113.718 18.7627C112.977 18.1614 111.981 18.1382 111.589 18.1382C111.101 18.1382 110.223 18.1845 109.76 18.2998C109.32 18.4159 109.25 18.4631 109.274 19.4343V24.3682ZM109.274 31.3375C109.274 32.1012 109.343 32.2639 109.644 32.4021C110.082 32.6106 111.843 32.6798 112.329 32.6798C113.071 32.6798 113.813 32.5886 114.46 32.1707C115.802 31.3375 115.872 29.694 115.872 29.3227C115.872 28.7444 115.711 27.6536 115.017 26.868C114.112 25.8497 112.933 25.1998 109.274 25.4326V31.3375Z" fill="black"/>
|
|
9
|
+
<path d="M125.763 26.2425L121.132 19.2721C120.367 18.1144 120.113 17.8827 118.676 17.9058V17.1973H125.694V17.9058C125.484 17.9058 125.415 17.9058 124.79 17.9285C124.326 17.9517 123.817 17.9517 123.817 18.3467C123.817 18.4159 123.817 18.5321 124.05 18.8781L128.033 25.1079L131.346 20.196C131.97 19.295 132.295 18.9723 132.317 18.44C132.342 18.1144 131.993 17.9058 130.535 17.9285V17.2017C131.613 17.2017 134.816 17.1991 135.561 17.1991V17.9285C134.75 17.9058 134.263 18.1382 133.823 18.7397L128.381 26.3117V31.1991C128.381 31.7527 128.496 32.5414 129.12 32.7488C129.447 32.865 130.258 32.843 130.834 32.843V33.5648H123.217V32.843H124.097C124.975 32.843 125.763 32.843 125.763 31.1991V26.2425Z" fill="black"/>
|
|
10
|
+
<path d="M146.005 25.5463C147.335 25.5463 147.957 25.5479 149.733 25.5479C150.66 25.5479 151.89 25.5463 152.835 25.5463V26.3117C151.145 26.3117 151.122 26.5445 151.122 27.7714L151.051 32.5886C150.334 32.7731 149.962 32.865 149.478 33.0034C147.046 33.7472 145.703 34 144.197 34C138.523 34 135.352 30.0173 135.352 24.9695C135.352 21.7728 136.763 19.7109 138.269 18.5321C140.191 17.0266 142.346 16.772 144.012 16.772C145.332 16.772 146.143 16.9102 147.903 17.1868C149.78 17.4886 149.802 17.4886 150.774 17.5358C150.774 19.3917 150.776 19.9895 150.776 22.0505H149.616C149.5 21.0782 149.34 20.196 148.504 19.3871C147.44 18.3939 145.819 17.9517 144.361 17.9517C140.331 17.9517 138.247 20.8477 138.247 24.5758C138.247 26.7988 138.985 28.8828 139.96 30.1786C141.651 32.447 143.779 32.6576 145.124 32.6576C145.841 32.6576 146.56 32.5886 147.347 32.3561C148.482 32.0103 148.482 31.5668 148.482 30.5267V27.9577C148.482 26.4741 148.389 26.4061 146.721 26.4061H146.005V25.5463Z" fill="black"/>
|
|
11
|
+
<path d="M165.17 25.5463C166.499 25.5463 167.122 25.5479 168.898 25.5479C169.825 25.5479 171.055 25.5463 172 25.5463V26.3117C170.31 26.3117 170.287 26.5445 170.287 27.7714L170.216 32.5886C169.499 32.7731 169.127 32.865 168.643 33.0034C166.211 33.7472 164.868 34 163.362 34C157.688 34 154.516 30.0173 154.516 24.9695C154.516 21.7728 155.928 19.7109 157.433 18.5321C159.356 17.0266 161.51 16.772 163.177 16.772C164.497 16.772 165.308 16.9102 167.068 17.1868C168.944 17.4886 168.967 17.4886 169.939 17.5358C169.939 19.3917 169.941 19.9895 169.941 22.0505H168.781C168.665 21.0782 168.504 20.196 167.668 19.3871C166.605 18.3939 164.984 17.9517 163.526 17.9517C159.496 17.9517 157.412 20.8477 157.412 24.5758C157.412 26.7988 158.15 28.8828 159.125 30.1786C160.816 32.447 162.944 32.6576 164.289 32.6576C165.006 32.6576 165.725 32.5886 166.512 32.3561C167.646 32.0103 167.646 31.5668 167.646 30.5267V27.9577C167.646 26.4741 167.554 26.4061 165.886 26.4061H165.17V25.5463Z" fill="black"/>
|
|
12
|
+
<path d="M0 22.524L1.54142 24.1333H22.2208L23.717 22.5137L11.8371 16.6306L0 22.524Z" fill="black"/>
|
|
13
|
+
<path d="M22.1433 25.9157H1.57806V27.2054H22.1433V25.9157Z" fill="black"/>
|
|
14
|
+
<path d="M22.1433 29.04H1.57806V30.3287H22.1433V29.04Z" fill="black"/>
|
|
15
|
+
<path d="M22.1433 32.1571H1.57806V33.4468H22.1433V32.1571Z" fill="black"/>
|
|
16
|
+
<path d="M18.5683 6.94657C17.9092 6.94657 17.029 7.15189 16.4611 7.41381C16.217 7.15189 15.8029 6.92136 15.037 6.92136C14.2711 6.92136 13.2759 7.28892 13.0453 7.38219C12.8168 7.47454 12.6942 7.39685 12.6942 7.39685C12.6942 7.39685 13.7505 6.84597 13.7505 5.63581C13.7505 3.98246 12.2196 3.81358 12.2196 3.81358V1.82086H13.3522V1.14829H12.2196V0H11.4285V1.14829H10.2957V1.82086H11.4285V3.81358C11.4285 3.81358 9.89674 3.98246 9.89674 5.63581C9.89674 6.84597 10.9539 7.39685 10.9539 7.39685C10.9539 7.39685 10.8313 7.47454 10.6019 7.38219C10.3714 7.28892 9.37584 6.92136 8.61087 6.92136C7.84498 6.92136 7.43112 7.15189 7.18591 7.41381C6.62007 7.15189 5.73891 6.94657 5.07984 6.94657C3.90119 6.94657 2.62174 7.87258 2.72855 9.00528C2.83555 10.1378 3.86338 14.2731 3.86338 14.2731H19.7847C19.7847 14.2731 20.8117 10.1378 20.9185 9.00528C21.0252 7.87258 19.7469 6.94657 18.5683 6.94657ZM7.27824 11.6841C7.27824 11.8225 6.77201 12.9415 5.45497 12.9415C4.13795 12.9415 3.43368 11.9462 3.47998 11.2253C3.55629 11.1804 3.70915 11.1353 3.78592 11.1951C3.86338 11.2567 4.2752 11.7471 4.59787 11.7471C4.82727 11.7471 5.18042 11.4705 5.18042 11.0567C5.18042 10.6426 4.88914 10.2615 4.64393 10.2615C4.24472 10.2615 3.98576 10.7959 3.81617 10.8126C3.64752 10.8284 3.46419 10.7212 3.54162 10.5674C3.61817 10.4143 4.12326 10.1547 4.12326 9.66433C4.12326 9.17394 3.63283 9.01972 3.40231 9.0502C3.40231 8.56004 3.78592 7.56551 5.30303 7.56551C6.81924 7.56551 7.0477 7.82652 7.0477 7.82652V9.06486C7.0477 9.06486 6.6494 9.264 6.6494 9.64943C6.6494 10.031 7.18591 10.5214 7.18591 10.5214V10.7821C7.18591 10.7821 7.09468 10.8575 6.91043 10.7056C6.72709 10.5507 6.38952 10.2931 6.16012 10.2931C5.93072 10.2931 5.62478 10.5674 5.62478 11.0106C5.62478 11.4559 5.86999 11.7324 6.12964 11.7324C6.38952 11.7324 6.83388 11.3468 6.89461 11.2872C6.95649 11.2253 7.17122 11.1951 7.23195 11.1951C7.29291 11.1951 7.27824 11.5459 7.27824 11.6841ZM11.5206 11.6841C11.5206 11.8225 10.9381 12.9415 9.62105 12.9415C8.30401 12.9415 7.72146 11.8225 7.72146 11.6841C7.72146 11.5459 7.70679 11.1951 7.76844 11.1951C7.8294 11.1951 8.04413 11.2253 8.10488 11.2872C8.16676 11.3468 8.64135 11.7324 8.87075 11.7324C9.10129 11.7324 9.37584 11.4559 9.37584 11.0106C9.37584 10.5674 9.0699 10.2931 8.84052 10.2931C8.61087 10.2931 8.27353 10.5507 8.09019 10.7056C7.90686 10.8575 7.8145 10.7821 7.8145 10.7821V10.5214C7.8145 10.5214 8.35009 10.0152 8.35009 9.64943C8.35009 9.28187 7.93619 9.03576 7.93619 9.03576C7.93619 9.03576 7.92155 8.56004 7.92155 8.07056C7.92155 7.58132 8.41197 7.5206 8.79443 7.5206C9.17669 7.5206 10.7465 7.74883 11.3142 7.85585L11.2912 9.06486C11.2912 9.06486 10.8929 9.264 10.8929 9.64943C10.8929 10.031 11.4285 10.5214 11.4285 10.5214V10.7821C11.4285 10.7821 11.3364 10.8575 11.1528 10.7056C10.9695 10.5507 10.631 10.2931 10.4027 10.2931C10.1722 10.2931 9.86626 10.5674 9.86626 11.0106C9.86626 11.4559 10.1115 11.7324 10.3714 11.7324C10.631 11.7324 11.0754 11.3468 11.1382 11.2872C11.198 11.2253 11.4138 11.1951 11.4746 11.1951C11.5365 11.1951 11.5206 11.5459 11.5206 11.6841ZM15.9257 11.6841C15.9257 11.8225 15.3441 12.9415 14.0259 12.9415C12.71 12.9415 12.1275 11.8225 12.1275 11.6841C12.1275 11.5459 12.1128 11.1951 12.1724 11.1951C12.2343 11.1951 12.449 11.2253 12.5109 11.2872C12.5716 11.3468 13.0254 11.7324 13.2759 11.7324C13.5273 11.7324 13.7809 11.4559 13.7809 11.0106C13.7809 10.5674 13.4748 10.2931 13.2442 10.2931C13.016 10.2931 12.6786 10.5507 12.4942 10.7056C12.3108 10.8575 12.2196 10.7821 12.2196 10.7821V10.5214C12.2196 10.5214 12.755 10.0477 12.755 9.64943C12.755 9.25048 12.3569 9.06486 12.3569 9.06486L12.3337 7.85585C12.9007 7.74883 14.4703 7.5206 14.8537 7.5206C15.2373 7.5206 15.7266 7.58132 15.7266 8.07056C15.7266 8.56004 15.7108 9.03576 15.7108 9.03576C15.7108 9.03576 15.2981 9.264 15.2981 9.64943C15.2981 10.031 15.8345 10.5214 15.8345 10.5214V10.7821C15.8345 10.7821 15.7424 10.8575 15.5579 10.7056C15.3746 10.5507 15.037 10.2931 14.8076 10.2931C14.5782 10.2931 14.2711 10.5674 14.2711 11.0106C14.2711 11.4559 14.5269 11.7324 14.7771 11.7324C15.0276 11.7324 15.4823 11.3468 15.5421 11.2872C15.604 11.2253 15.8178 11.1951 15.8797 11.1951C15.9413 11.1951 15.9257 11.5459 15.9257 11.6841ZM20.1065 10.5674C20.184 10.7212 19.9995 10.8284 19.832 10.8126C19.6633 10.7959 19.4023 10.2615 19.0042 10.2615C18.759 10.2615 18.4686 10.7349 18.4686 11.0567C18.4686 11.3805 18.8878 11.7471 19.0503 11.7471C19.372 11.7471 19.7847 11.2567 19.8622 11.1951C19.9387 11.1353 20.0916 11.1804 20.1681 11.2253C20.2133 11.9462 19.5091 12.9415 18.192 12.9415C16.875 12.9415 16.3699 11.8225 16.3699 11.6841C16.3699 11.5459 16.3552 11.1951 16.415 11.1951C16.4778 11.1951 16.6916 11.2253 16.7524 11.2872C16.8142 11.3468 17.268 11.7324 17.5185 11.7324C17.7699 11.7324 18.0245 11.4559 18.0245 11.0106C18.0245 10.5674 17.7165 10.2931 17.488 10.2931C17.2575 10.2931 16.9222 10.5507 16.7377 10.7056C16.5534 10.8575 16.4611 10.7821 16.4611 10.7821V10.5214C16.4611 10.5214 16.9976 10.031 16.9976 9.64943C16.9976 9.264 16.6004 9.06486 16.6004 9.06486V7.82652C16.6004 7.82652 16.8289 7.56551 18.3451 7.56551C19.8622 7.56551 20.2447 8.56004 20.2447 9.0502C20.0153 9.01972 19.5249 9.17394 19.5249 9.66433C19.5249 10.1547 20.03 10.4143 20.1065 10.5674ZM19.0042 10.2615C18.759 10.2615 18.4686 10.5369 18.4686 11.0567C18.4686 11.5775 18.8878 11.7471 19.0503 11.7471" fill="black"/>
|
|
17
|
+
</g>
|
|
18
|
+
<defs>
|
|
19
|
+
<clipPath id="clip0_13739_3837">
|
|
20
|
+
<rect width="172" height="34" fill="white"/>
|
|
21
|
+
</clipPath>
|
|
22
|
+
</defs>
|
|
23
|
+
</svg>
|
|
File without changes
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,15 @@ import * as zustand_middleware from 'zustand/middleware';
|
|
|
3
3
|
import * as zustand from 'zustand';
|
|
4
4
|
import { RefObject, ReactNode } from 'react';
|
|
5
5
|
|
|
6
|
+
type GlobalHeaderProps = {
|
|
7
|
+
className?: string;
|
|
8
|
+
appBasePath?: string;
|
|
9
|
+
pathname?: string;
|
|
10
|
+
isWhiteBackground?: boolean;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
declare function GlobalHeader({ className, appBasePath, isWhiteBackground }: GlobalHeaderProps): react_jsx_runtime.JSX.Element;
|
|
14
|
+
|
|
6
15
|
type RouteNode = {
|
|
7
16
|
path: string;
|
|
8
17
|
label: string;
|
|
@@ -19,18 +28,6 @@ type AncestorChain = {
|
|
|
19
28
|
declare function findAppRootWithAncestors(node: RouteNode, ancestors?: RouteNode[]): AncestorChain;
|
|
20
29
|
declare function getBreadcrumbs(routes: RouteNode, pathname: string): BreadcrumbItem[];
|
|
21
30
|
|
|
22
|
-
type GlobalHeaderProps = {
|
|
23
|
-
className?: string;
|
|
24
|
-
routes: RouteNode;
|
|
25
|
-
appBasePath?: string;
|
|
26
|
-
pathname?: string;
|
|
27
|
-
isWhiteBackground?: boolean;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
declare function GlobalHeader({ className, routes, appBasePath, pathname, isWhiteBackground }: GlobalHeaderProps & {
|
|
31
|
-
pathname?: string;
|
|
32
|
-
}): react_jsx_runtime.JSX.Element;
|
|
33
|
-
|
|
34
31
|
type RootLayoutProps = {
|
|
35
32
|
children: React.ReactNode;
|
|
36
33
|
routes: RouteNode;
|
|
@@ -47,7 +44,7 @@ interface GlobalFooterProps {
|
|
|
47
44
|
logoAlt?: string;
|
|
48
45
|
}
|
|
49
46
|
|
|
50
|
-
declare function GlobalFooter({ className, logoUrl, logoAlt }: GlobalFooterProps): react_jsx_runtime.JSX.Element;
|
|
47
|
+
declare function GlobalFooter({ className, logoUrl, logoAlt, }: GlobalFooterProps): react_jsx_runtime.JSX.Element;
|
|
51
48
|
|
|
52
49
|
type Theme = 'light' | 'dark' | 'system';
|
|
53
50
|
type GlobalState = {
|
|
@@ -91,6 +88,16 @@ declare const useGlobalStore: zustand.UseBoundStore<Omit<zustand.StoreApi<Global
|
|
|
91
88
|
*/
|
|
92
89
|
declare function useBreadcrumbs(breadcrumbs: BreadcrumbItem[]): void;
|
|
93
90
|
|
|
91
|
+
type BreadcrumbsProps = {
|
|
92
|
+
className?: string;
|
|
93
|
+
routes: RouteNode;
|
|
94
|
+
appBasePath?: string;
|
|
95
|
+
pathname?: string;
|
|
96
|
+
isWhiteBackground?: boolean;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
declare function SbBreadcrumbs({ className, routes, appBasePath, pathname: propPathname, isWhiteBackground }: BreadcrumbsProps): react_jsx_runtime.JSX.Element | null;
|
|
100
|
+
|
|
94
101
|
type SmartLinkProps = {
|
|
95
102
|
href: string;
|
|
96
103
|
appBasePath?: string;
|
|
@@ -122,4 +129,4 @@ type MenuSection = {
|
|
|
122
129
|
subsections?: MenuSubsection[];
|
|
123
130
|
};
|
|
124
131
|
|
|
125
|
-
export { type BreadcrumbItem, GlobalFooter, type GlobalFooterProps, GlobalHeader, type GlobalHeaderProps, type GlobalState, type MenuItem, type MenuSection, type MenuSubsection, RootLayout, type RootLayoutProps, type RouteNode, SmartLink, type SmartLinkProps, findAppRootWithAncestors, getBreadcrumbs, useBreadcrumbs, useGlobalStore };
|
|
132
|
+
export { type BreadcrumbItem, SbBreadcrumbs as Breadcrumbs, type BreadcrumbsProps, GlobalFooter, type GlobalFooterProps, GlobalHeader, type GlobalHeaderProps, type GlobalState, type MenuItem, type MenuSection, type MenuSubsection, RootLayout, type RootLayoutProps, type RouteNode, SmartLink, type SmartLinkProps, findAppRootWithAncestors, getBreadcrumbs, useBreadcrumbs, useGlobalStore };
|