@helsenorge/designsystem-react 10.5.0 → 10.6.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/CHANGELOG.md +852 -1397
- package/Trigger.js.map +1 -1
- package/components/AnchorLink/styles.module.scss +0 -1
- package/components/Button/styles.module.scss +13 -13
- package/components/Checkbox/styles.module.scss +2 -2
- package/components/Chip/styles.module.scss +0 -1
- package/components/Close/styles.module.scss +2 -2
- package/components/Drawer/styles.module.scss +12 -12
- package/components/Dropdown/index.js +9 -6
- package/components/Dropdown/index.js.map +1 -1
- package/components/Dropdown/styles.module.scss +5 -5
- package/components/Duolist/styles.module.scss +2 -2
- package/components/EmptyState/styles.module.scss +5 -5
- package/components/ErrorWrapper/styles.module.scss +2 -2
- package/components/Expander/styles.module.scss +8 -8
- package/components/ExpanderHierarchy/expander.module.scss +7 -7
- package/components/ExpanderList/styles.module.scss +3 -3
- package/components/FormGroup/styles.module.scss +1 -1
- package/components/HelpBubble/styles.module.scss +2 -2
- package/components/HelpQuestion/styles.module.scss +2 -2
- package/components/HighlightPanel/styles.module.scss +2 -2
- package/components/HorizontalScroll/styles.module.scss +1 -1
- package/components/Input/styles.module.scss +3 -3
- package/components/Label/styles.module.scss +2 -2
- package/components/LinkList/styles.module.scss +3 -3
- package/components/ListHeader/styles.module.scss +1 -1
- package/components/MaxCharacters/styles.module.scss +2 -2
- package/components/Modal/styles.module.scss +16 -16
- package/components/NotificationPanel/styles.module.scss +8 -8
- package/components/Panel/styles.module.scss +16 -16
- package/components/PanelList/styles.module.scss +2 -2
- package/components/PopMenu/index.js.map +1 -1
- package/components/PopMenu/styles.module.scss +10 -4
- package/components/PopOver/styles.module.scss +2 -2
- package/components/PromoPanel/styles.module.scss +9 -9
- package/components/RadioButton/styles.module.scss +2 -2
- package/components/Select/styles.module.scss +3 -3
- package/components/ServiceMessage/styles.module.scss +1 -1
- package/components/SharingStatus/styles.module.scss +1 -1
- package/components/Slider/styles.module.scss +2 -2
- package/components/StatusDot/styles.module.scss +3 -3
- package/components/StepButtons/styles.module.scss +3 -3
- package/components/Stepper/styles.module.scss +2 -2
- package/components/StickyNote/styles.module.scss +1 -1
- package/components/Table/styles.module.scss +1 -1
- package/components/Tabs/TabList/styles.module.scss +2 -2
- package/components/Tabs/TabPanel/styles.module.scss +3 -3
- package/components/Tabs/styles.module.scss +3 -3
- package/components/Tag/styles.module.scss +1 -1
- package/components/TagList/styles.module.scss +1 -1
- package/components/Textarea/styles.module.scss +1 -1
- package/components/Tile/styles.module.scss +7 -7
- package/components/Toggle/styles.module.scss +5 -5
- package/components/Trigger/Trigger.d.ts +1 -0
- package/components/Validation/styles.module.scss +2 -2
- package/package.json +1 -1
- package/scss/_font-mixins.scss +21 -21
- package/scss/_input.scss +2 -2
- package/scss/_print.scss +3 -3
- package/scss/_reset.scss +1 -1
- package/scss/helsenorge.scss +7 -7
- package/scss/typography.module.scss +4 -4
package/scss/_print.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use 'palette' as palette;
|
|
3
|
-
@
|
|
3
|
+
@use 'breakpoints' as breakpoints;
|
|
4
4
|
|
|
5
5
|
@media print {
|
|
6
6
|
*,
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
body {
|
|
18
|
-
min-width: map.get(
|
|
18
|
+
min-width: map.get(breakpoints.$grid-breakpoints, lg) !important;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.container {
|
|
22
|
-
min-width: map.get(
|
|
22
|
+
min-width: map.get(breakpoints.$grid-breakpoints, lg) !important;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
abbr[title]::after {
|
package/scss/_reset.scss
CHANGED
package/scss/helsenorge.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
1
|
+
@use 'reset' as *;
|
|
2
|
+
@use 'spacers' as *;
|
|
3
|
+
@use 'breakpoints' as *;
|
|
4
|
+
@use 'palette' as *;
|
|
5
|
+
@use 'fonts' as *;
|
|
6
|
+
@use 'body' as *;
|
|
7
|
+
@use 'print' as *;
|
|
4
8
|
@import 'bootstrap/scss/bootstrap-grid';
|
|
5
|
-
@import 'palette';
|
|
6
|
-
@import 'fonts';
|
|
7
|
-
@import 'body';
|
|
8
|
-
@import 'print';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
@use './palette' as palette;
|
|
4
4
|
@use './font-mixins' as fonts;
|
|
5
5
|
@use './font-settings' as font-settings;
|
|
6
|
-
@use './breakpoints' as
|
|
7
|
-
@
|
|
6
|
+
@use './breakpoints' as breakpoints;
|
|
7
|
+
@use './fonts' as *;
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
Denne filen er ment til å importeres som en css module:
|
|
@@ -85,7 +85,7 @@ import designsystemtypography from './scss/typography.scss'
|
|
|
85
85
|
font-size: font-settings.$font-size-sm;
|
|
86
86
|
line-height: font-settings.$lineheight-size-sm;
|
|
87
87
|
|
|
88
|
-
@media (min-width: map.get(
|
|
88
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
89
89
|
font-size: font-settings.$font-size-md;
|
|
90
90
|
line-height: font-settings.$lineheight-size-md;
|
|
91
91
|
}
|
|
@@ -95,7 +95,7 @@ import designsystemtypography from './scss/typography.scss'
|
|
|
95
95
|
font-size: font-settings.$font-size-sm;
|
|
96
96
|
line-height: font-settings.$lineheight-size-sm;
|
|
97
97
|
|
|
98
|
-
@media (min-width: map.get(
|
|
98
|
+
@media (min-width: map.get(breakpoints.$grid-breakpoints, md)) {
|
|
99
99
|
font-size: font-settings.$font-size-md;
|
|
100
100
|
}
|
|
101
101
|
}
|