@helsenorge/designsystem-react 13.0.0-workspaces-beta.1 → 13.0.0-workspaces-beta.3
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/lib/CHANGELOG.md +4 -0
- package/lib/FormFieldTag.js.map +1 -1
- package/lib/Table.js +3 -3
- package/lib/Table.js.map +1 -1
- package/lib/TableBody.js +2 -2
- package/lib/TableBody.js.map +1 -1
- package/lib/TableCell.js +2 -2
- package/lib/TableCell.js.map +1 -1
- package/lib/TableExpandedRow.js +4 -4
- package/lib/TableExpandedRow.js.map +1 -1
- package/lib/TableExpanderCell.js +2 -2
- package/lib/TableExpanderCell.js.map +1 -1
- package/lib/TableHead.js +6 -6
- package/lib/TableHead.js.map +1 -1
- package/lib/TableHeadCell.js +5 -5
- package/lib/TableHeadCell.js.map +1 -1
- package/lib/TableRow.js +5 -5
- package/lib/TableRow.js.map +1 -1
- package/lib/components/FormFieldTag/FormFieldTag.d.ts +1 -1
- package/lib/components/Toast/styles.module.scss.d.ts +15 -0
- package/package.json +27 -9
- package/scss/_body.scss +11 -0
- package/scss/_breakpoints.scss +29 -0
- package/scss/_figma-tokens.scss +68 -0
- package/scss/_font-mixins.scss +262 -0
- package/scss/_font-settings.scss +8 -0
- package/scss/_fonts.scss +155 -0
- package/scss/_grid.scss +6 -0
- package/scss/_icon.scss +8 -0
- package/scss/_input.scss +139 -0
- package/scss/_palette.scss +146 -0
- package/scss/_print.scss +219 -0
- package/scss/_reset.scss +13 -0
- package/scss/_screen-reader.scss +63 -0
- package/scss/_spacers.scss +42 -0
- package/scss/bootstrap/LICENSE +22 -0
- package/scss/bootstrap/scss/_functions.scss +210 -0
- package/scss/bootstrap/scss/_grid.scss +73 -0
- package/scss/bootstrap/scss/_variables.scss +990 -0
- package/scss/bootstrap/scss/bootstrap-grid.scss +30 -0
- package/scss/bootstrap/scss/mixins/_breakpoints.scss +131 -0
- package/scss/bootstrap/scss/mixins/_deprecate.scss +11 -0
- package/scss/bootstrap/scss/mixins/_grid-framework.scss +89 -0
- package/scss/bootstrap/scss/mixins/_grid.scss +76 -0
- package/scss/bootstrap/scss/utilities/_display.scss +30 -0
- package/scss/bootstrap/scss/utilities/_flex.scss +120 -0
- package/scss/bootstrap/scss/utilities/_spacing.scss +80 -0
- package/scss/bootstrap/scss/vendor/_rfs.scss +233 -0
- package/scss/helsenorge.scss +10 -0
- package/scss/layout.module.scss +14 -0
- package/scss/layout.module.scss.d.ts +9 -0
- package/scss/supernova/index.css +4 -0
- package/scss/supernova/styles/colors.css +258 -0
- package/scss/supernova/styles/spacers.css +24 -0
- package/scss/supernova/styles/typography.css +110 -0
- package/scss/typography.module.scss +182 -0
- package/scss/typography.module.scss.d.ts +38 -0
- package/scss/typography.stories.tsx +203 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// stylelint-disable scss/comment-no-empty, scss/at-extend-no-missing-placeholder
|
|
2
|
+
// Container widths
|
|
3
|
+
//
|
|
4
|
+
// Set the container width, and override it for fixed navbars in media queries.
|
|
5
|
+
|
|
6
|
+
@if $enable-grid-classes {
|
|
7
|
+
// Single container class with breakpoint max-widths
|
|
8
|
+
.container,
|
|
9
|
+
// 100% wide container at all breakpoints
|
|
10
|
+
.container-fluid {
|
|
11
|
+
@include make-container;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// Responsive containers that are 100% wide until a breakpoint
|
|
15
|
+
@each $breakpoint, $container-max-width in $container-max-widths {
|
|
16
|
+
.container-#{$breakpoint} {
|
|
17
|
+
@extend .container-fluid;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@include media-breakpoint-up($breakpoint, $grid-breakpoints) {
|
|
21
|
+
%responsive-container-#{$breakpoint} {
|
|
22
|
+
max-width: $container-max-width;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Extend each breakpoint which is smaller or equal to the current breakpoint
|
|
26
|
+
$extend-breakpoint: true;
|
|
27
|
+
|
|
28
|
+
@each $name, $width in $grid-breakpoints {
|
|
29
|
+
@if $extend-breakpoint {
|
|
30
|
+
.container#{breakpoint-infix($name, $grid-breakpoints)} {
|
|
31
|
+
@extend %responsive-container-#{$breakpoint};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Once the current breakpoint is reached, stop extending
|
|
35
|
+
@if $breakpoint == $name {
|
|
36
|
+
$extend-breakpoint: false;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Row
|
|
45
|
+
//
|
|
46
|
+
// Rows contain your columns.
|
|
47
|
+
|
|
48
|
+
@if $enable-grid-classes {
|
|
49
|
+
.row {
|
|
50
|
+
@include make-row;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Remove the negative margin from default .row, then the horizontal padding
|
|
54
|
+
// from all immediate children columns (to prevent runaway style inheritance).
|
|
55
|
+
.no-gutters {
|
|
56
|
+
margin-right: 0;
|
|
57
|
+
margin-left: 0;
|
|
58
|
+
|
|
59
|
+
> .col,
|
|
60
|
+
> [class*='col-'] {
|
|
61
|
+
padding-right: 0;
|
|
62
|
+
padding-left: 0;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Columns
|
|
68
|
+
//
|
|
69
|
+
// Common styles for small and large grid columns
|
|
70
|
+
|
|
71
|
+
@if $enable-grid-classes {
|
|
72
|
+
@include make-grid-columns;
|
|
73
|
+
}
|