@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.
Files changed (58) hide show
  1. package/lib/CHANGELOG.md +4 -0
  2. package/lib/FormFieldTag.js.map +1 -1
  3. package/lib/Table.js +3 -3
  4. package/lib/Table.js.map +1 -1
  5. package/lib/TableBody.js +2 -2
  6. package/lib/TableBody.js.map +1 -1
  7. package/lib/TableCell.js +2 -2
  8. package/lib/TableCell.js.map +1 -1
  9. package/lib/TableExpandedRow.js +4 -4
  10. package/lib/TableExpandedRow.js.map +1 -1
  11. package/lib/TableExpanderCell.js +2 -2
  12. package/lib/TableExpanderCell.js.map +1 -1
  13. package/lib/TableHead.js +6 -6
  14. package/lib/TableHead.js.map +1 -1
  15. package/lib/TableHeadCell.js +5 -5
  16. package/lib/TableHeadCell.js.map +1 -1
  17. package/lib/TableRow.js +5 -5
  18. package/lib/TableRow.js.map +1 -1
  19. package/lib/components/FormFieldTag/FormFieldTag.d.ts +1 -1
  20. package/lib/components/Toast/styles.module.scss.d.ts +15 -0
  21. package/package.json +27 -9
  22. package/scss/_body.scss +11 -0
  23. package/scss/_breakpoints.scss +29 -0
  24. package/scss/_figma-tokens.scss +68 -0
  25. package/scss/_font-mixins.scss +262 -0
  26. package/scss/_font-settings.scss +8 -0
  27. package/scss/_fonts.scss +155 -0
  28. package/scss/_grid.scss +6 -0
  29. package/scss/_icon.scss +8 -0
  30. package/scss/_input.scss +139 -0
  31. package/scss/_palette.scss +146 -0
  32. package/scss/_print.scss +219 -0
  33. package/scss/_reset.scss +13 -0
  34. package/scss/_screen-reader.scss +63 -0
  35. package/scss/_spacers.scss +42 -0
  36. package/scss/bootstrap/LICENSE +22 -0
  37. package/scss/bootstrap/scss/_functions.scss +210 -0
  38. package/scss/bootstrap/scss/_grid.scss +73 -0
  39. package/scss/bootstrap/scss/_variables.scss +990 -0
  40. package/scss/bootstrap/scss/bootstrap-grid.scss +30 -0
  41. package/scss/bootstrap/scss/mixins/_breakpoints.scss +131 -0
  42. package/scss/bootstrap/scss/mixins/_deprecate.scss +11 -0
  43. package/scss/bootstrap/scss/mixins/_grid-framework.scss +89 -0
  44. package/scss/bootstrap/scss/mixins/_grid.scss +76 -0
  45. package/scss/bootstrap/scss/utilities/_display.scss +30 -0
  46. package/scss/bootstrap/scss/utilities/_flex.scss +120 -0
  47. package/scss/bootstrap/scss/utilities/_spacing.scss +80 -0
  48. package/scss/bootstrap/scss/vendor/_rfs.scss +233 -0
  49. package/scss/helsenorge.scss +10 -0
  50. package/scss/layout.module.scss +14 -0
  51. package/scss/layout.module.scss.d.ts +9 -0
  52. package/scss/supernova/index.css +4 -0
  53. package/scss/supernova/styles/colors.css +258 -0
  54. package/scss/supernova/styles/spacers.css +24 -0
  55. package/scss/supernova/styles/typography.css +110 -0
  56. package/scss/typography.module.scss +182 -0
  57. package/scss/typography.module.scss.d.ts +38 -0
  58. 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
+ }