@baloise/ds-styles 17.3.0 → 17.4.0-snapshot.1609-d2bcc38d3

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 (79) hide show
  1. package/css/all.css +345 -448
  2. package/css/all.css.map +1 -1
  3. package/css/all.min.css +1 -1
  4. package/css/baloise-design-system.css +345 -448
  5. package/css/baloise-design-system.css.map +1 -1
  6. package/css/baloise-design-system.min.css +1 -1
  7. package/css/basic.css +68 -128
  8. package/css/basic.css.map +1 -1
  9. package/css/basic.min.css +1 -1
  10. package/css/core.css +68 -54
  11. package/css/core.css.map +1 -1
  12. package/css/core.min.css +1 -1
  13. package/css/structure.css.map +1 -1
  14. package/css/utilities/all.css +290 -0
  15. package/css/utilities/all.css.map +1 -1
  16. package/css/utilities/all.min.css +1 -1
  17. package/css/utilities/background.css.map +1 -1
  18. package/css/utilities/border.css.map +1 -1
  19. package/css/utilities/elevation.css +64 -0
  20. package/css/utilities/elevation.css.map +1 -1
  21. package/css/utilities/elevation.min.css +1 -1
  22. package/css/utilities/flex.css +130 -0
  23. package/css/utilities/flex.css.map +1 -1
  24. package/css/utilities/flex.min.css +1 -1
  25. package/css/utilities/grid.css.map +1 -1
  26. package/css/utilities/interaction.css.map +1 -1
  27. package/css/utilities/layout.css +96 -0
  28. package/css/utilities/layout.css.map +1 -1
  29. package/css/utilities/layout.min.css +1 -1
  30. package/css/utilities/sizing.css.map +1 -1
  31. package/css/utilities/spacing.css.map +1 -1
  32. package/css/utilities/typography.css.map +1 -1
  33. package/package.json +3 -3
  34. package/sass/all.sass +6 -6
  35. package/sass/baloise-design-system.sass +1 -1
  36. package/sass/basic.sass +5 -5
  37. package/sass/core.sass +3 -4
  38. package/sass/font.sass +1 -1
  39. package/sass/mixins.sass +1 -3
  40. package/sass/structure.sass +1 -1
  41. package/sass/utilities/all.sass +9 -9
  42. package/sass/utilities/background.sass +2 -2
  43. package/sass/utilities/border.sass +2 -2
  44. package/sass/utilities/elevation.sass +2 -2
  45. package/sass/utilities/flex.sass +2 -2
  46. package/sass/utilities/grid.sass +2 -2
  47. package/sass/utilities/interaction.sass +2 -2
  48. package/sass/utilities/layout.sass +2 -2
  49. package/sass/utilities/sizing.sass +2 -2
  50. package/sass/utilities/spacing.sass +2 -2
  51. package/sass/utilities/typography.sass +2 -2
  52. package/src/core/_all.sass +8 -8
  53. package/src/core/container.sass +2 -0
  54. package/src/core/form/_all.sass +6 -6
  55. package/src/core/form/button.sass +2 -0
  56. package/src/core/form/file.sass +3 -0
  57. package/src/core/form/input-textarea.sass +2 -0
  58. package/src/core/form/select.sass +3 -0
  59. package/src/core/form/shared.sass +2 -0
  60. package/src/core/form/tools.sass +3 -1
  61. package/src/core/grid.sass +1 -0
  62. package/src/core/link.sass +2 -0
  63. package/src/core/list.sass +7 -0
  64. package/src/core/table.sass +2 -0
  65. package/src/core/typography.sass +2 -0
  66. package/src/core/vars/_all.sass +7 -7
  67. package/src/generated/background.sass +3 -0
  68. package/src/generated/border.sass +3 -0
  69. package/src/generated/elevation.sass +63 -0
  70. package/src/generated/flex.sass +105 -0
  71. package/src/generated/interaction.sass +3 -0
  72. package/src/generated/layout.sass +93 -0
  73. package/src/generated/sizing.sass +3 -0
  74. package/src/generated/spacing.sass +3 -0
  75. package/src/generated/typography.sass +3 -0
  76. package/src/mixins/_all.sass +6 -6
  77. package/src/mixins/breakpoint.mixin.sass +2 -0
  78. package/src/mixins/extends.sass +2 -0
  79. package/src/mixins/general.mixin.sass +1 -0
package/sass/all.sass CHANGED
@@ -1,6 +1,6 @@
1
- @import './mixins'
2
- @import './normalize'
3
- @import './structure'
4
- @import './font'
5
- @import './core'
6
- @import './utilities/all'
1
+ @forward './mixins'
2
+ @forward './normalize'
3
+ @forward './structure'
4
+ @forward './font'
5
+ @forward './core'
6
+ @forward './utilities/all'
@@ -1 +1 @@
1
- @import './all'
1
+ @forward './all'
package/sass/basic.sass CHANGED
@@ -1,5 +1,5 @@
1
- @import './mixins'
2
- @import './normalize'
3
- @import './structure'
4
- @import './font'
5
- @import './core'
1
+ @forward './mixins'
2
+ @forward './normalize'
3
+ @forward './structure'
4
+ @forward './font'
5
+ @forward './core'
package/sass/core.sass CHANGED
@@ -1,4 +1,6 @@
1
- @import '@baloise/ds-tokens/dist/tokens.css.scss'
1
+ @forward '@baloise/ds-tokens/dist/tokens.css.scss'
2
+ @forward './mixins'
3
+ @forward '../src/core/_all'
2
4
 
3
5
  // Deprecated line heights will be change to factors soon
4
6
  :root
@@ -32,6 +34,3 @@
32
34
  --bal-line-height-desktop-xxx-large: 3rem
33
35
  --bal-line-height-desktop-xxxx-large: 3.5rem
34
36
  --bal-line-height-desktop-xxxxx-large: 6rem
35
-
36
- @import './mixins'
37
- @import '../src/core/_all'
package/sass/font.sass CHANGED
@@ -1 +1 @@
1
- @import '@baloise/ds-fonts/scss/fonts.sass'
1
+ @forward '@baloise/ds-fonts/scss/fonts.sass'
package/sass/mixins.sass CHANGED
@@ -1,3 +1 @@
1
- $block-spacing: 0.25rem !default
2
-
3
- @import '../src/mixins/_all'
1
+ @forward '../src/mixins/_all'
@@ -1,4 +1,4 @@
1
- @import './mixins'
1
+ @use '../src/mixins/_all' as *
2
2
 
3
3
  html
4
4
  background-color: var(--bal-body-background)
@@ -1,9 +1,9 @@
1
- @import './background'
2
- @import './border'
3
- @import './elevation'
4
- @import './flex'
5
- @import './interaction'
6
- @import './layout'
7
- @import './sizing'
8
- @import './spacing'
9
- @import './typography'
1
+ @forward './background'
2
+ @forward './border'
3
+ @forward './elevation'
4
+ @forward './flex'
5
+ @forward './interaction'
6
+ @forward './layout'
7
+ @forward './sizing'
8
+ @forward './spacing'
9
+ @forward './typography'
@@ -1,5 +1,5 @@
1
- @import '../mixins'
2
- @import '../../src/generated/background'
1
+ @forward '../mixins'
2
+ @forward '../../src/generated/background'
3
3
 
4
4
  .bg-transparent
5
5
  background: transparent !important
@@ -1,2 +1,2 @@
1
- @import '../mixins'
2
- @import '../../src/generated/border'
1
+ @forward '../mixins'
2
+ @forward '../../src/generated/border'
@@ -1,2 +1,2 @@
1
- @import '../mixins'
2
- @import '../../src/generated/elevation'
1
+ @forward '../mixins'
2
+ @forward '../../src/generated/elevation'
@@ -1,2 +1,2 @@
1
- @import '../mixins'
2
- @import '../../src/generated/flex'
1
+ @forward '../mixins'
2
+ @forward '../../src/generated/flex'
@@ -1,2 +1,2 @@
1
- @import '../mixins'
2
- @import '../../src/core/grid'
1
+ @forward '../mixins'
2
+ @forward '../../src/core/grid'
@@ -1,2 +1,2 @@
1
- @import '../mixins'
2
- @import '../../src/generated/interaction'
1
+ @forward '../mixins'
2
+ @forward '../../src/generated/interaction'
@@ -1,5 +1,5 @@
1
- @import '../mixins'
2
- @import '../../src/generated/layout'
1
+ @forward '../mixins'
2
+ @forward '../../src/generated/layout'
3
3
 
4
4
  .is-sr-only
5
5
  border: none !important
@@ -1,2 +1,2 @@
1
- @import '../mixins'
2
- @import '../../src/generated/sizing'
1
+ @forward '../mixins'
2
+ @forward '../../src/generated/sizing'
@@ -1,2 +1,2 @@
1
- @import '../mixins'
2
- @import '../../src/generated/spacing'
1
+ @forward '../mixins'
2
+ @forward '../../src/generated/spacing'
@@ -1,5 +1,5 @@
1
- @import '../mixins'
2
- @import '../../src/generated/typography'
1
+ @forward '../../src/generated/typography'
2
+ @use '../../src/mixins/_all' as *
3
3
 
4
4
  .text-xxxxx-large
5
5
  line-height: var(--bal-line-height-xxxxx-large)
@@ -1,11 +1,11 @@
1
- @import 'vars/_all'
2
- @import 'form/_all'
3
- @import 'container'
4
- @import 'grid'
5
- @import 'link'
6
- @import 'list'
7
- @import 'table'
8
- @import 'typography'
1
+ @forward 'vars/_all'
2
+ @forward 'form/_all'
3
+ @forward 'container'
4
+ @forward 'grid'
5
+ @forward 'link'
6
+ @forward 'list'
7
+ @forward 'table'
8
+ @forward 'typography'
9
9
 
10
10
  .has-sticky-footer
11
11
  min-height: 100vh
@@ -1,3 +1,5 @@
1
+ @use '../mixins/_all' as *
2
+
1
3
  .container
2
4
  flex-grow: 1
3
5
  margin: 0 auto
@@ -1,6 +1,6 @@
1
- @import "shared"
2
- @import "input-textarea"
3
- @import "select"
4
- @import "file"
5
- @import "tools"
6
- @import "button"
1
+ @forward "shared"
2
+ @forward "input-textarea"
3
+ @forward "select"
4
+ @forward "file"
5
+ @forward "tools"
6
+ @forward "button"
@@ -1,3 +1,5 @@
1
+ @use '../../mixins/_all' as *
2
+
1
3
  // The button sizes use mixins so they can be used at different breakpoints
2
4
  =button-small
3
5
  &:not(.is-rounded)
@@ -1,3 +1,6 @@
1
+ @use '../../mixins/_all' as *
2
+ @use './shared' as *
3
+
1
4
  .file
2
5
  @extend %unselectable
3
6
  align-items: stretch
@@ -1,3 +1,5 @@
1
+ @use './shared' as *
2
+
1
3
  %input-textarea
2
4
  @extend %input
3
5
  max-width: 100%
@@ -1,3 +1,6 @@
1
+ @use '../../mixins/_all' as *
2
+ @use './shared' as *
3
+
1
4
  .select
2
5
  display: inline-block
3
6
  max-width: 100%
@@ -1,3 +1,5 @@
1
+ @use '../../mixins/_all' as *
2
+
1
3
  =placeholder
2
4
  $placeholders: ':-moz' ':-webkit-input' '-moz' '-ms-input'
3
5
  @each $placeholder in $placeholders
@@ -1,3 +1,5 @@
1
+ @use '../../mixins/_all' as *
2
+
1
3
  @keyframes spinAround
2
4
  from
3
5
  transform: rotate(0deg)
@@ -42,7 +44,7 @@
42
44
 
43
45
  .field
44
46
  &:not(:last-child)
45
- margin-bottom: 0.75rem
47
+ margin-bottom: 0.25rem
46
48
  // Modifiers
47
49
  &.has-addons
48
50
  display: flex
@@ -1,4 +1,5 @@
1
1
  @use "sass:math"
2
+ @use '../mixins/_all' as *
2
3
 
3
4
  .grid
4
5
  flex-basis: 0
@@ -1,3 +1,5 @@
1
+ @use '../mixins/_all' as *
2
+
1
3
  a.link:not(.button),
2
4
  a.is-link:not(.button)
3
5
  color: var(--bal-link-color)
@@ -1,3 +1,5 @@
1
+ @use '../mixins/_all' as *
2
+
1
3
  ol.list,
2
4
  ul.list,
3
5
  ol.is-list,
@@ -6,6 +8,11 @@ ul.is-list
6
8
  margin-left: 2rem
7
9
  +desktop
8
10
  margin-bottom: 2rem
11
+ &.is-inside
12
+ list-style-position: inside !important
13
+ margin-left: 0
14
+ li
15
+ list-style-position: inside !important
9
16
  li
10
17
  hyphens: auto
11
18
  margin-bottom: 1rem
@@ -1,3 +1,5 @@
1
+ @use '../mixins/_all' as *
2
+
1
3
  .table
2
4
  @extend %bottomSpacing
3
5
  background-color: var(--bal-table-background-color)
@@ -1,3 +1,5 @@
1
+ @use '../mixins/_all' as *
2
+
1
3
  .title,
2
4
  .subtitle
3
5
  hyphens: auto
@@ -1,7 +1,7 @@
1
- @import './structure.vars'
2
- @import './typography.vars'
3
- @import './link.vars'
4
- @import './button.vars'
5
- @import './form.vars'
6
- @import './list.vars'
7
- @import './table.vars'
1
+ @forward './structure.vars'
2
+ @forward './typography.vars'
3
+ @forward './link.vars'
4
+ @forward './button.vars'
5
+ @forward './form.vars'
6
+ @forward './list.vars'
7
+ @forward './table.vars'
@@ -1,3 +1,6 @@
1
+ @use '../mixins/_all' as *
2
+
3
+
1
4
  .bg-primary
2
5
  background: var(--bal-color-background-primary) !important
3
6
 
@@ -1,3 +1,6 @@
1
+ @use '../mixins/_all' as *
2
+
3
+
1
4
  .border
2
5
  border-color: var(--bal-color-border) !important
3
6
  border-width: var(--bal-border-width-normal) !important
@@ -1,3 +1,6 @@
1
+ @use '../mixins/_all' as *
2
+
3
+
1
4
  .opacity-0
2
5
  opacity: var(--bal-opacity-0) !important
3
6
 
@@ -31,6 +34,9 @@
31
34
  .shadow-large
32
35
  box-shadow: var(--bal-shadow-large) !important
33
36
 
37
+ .shadow-header
38
+ box-shadow: var(--bal-shadow-header) !important
39
+
34
40
  .focus\:shadow-none:focus
35
41
  box-shadow: none !important
36
42
 
@@ -67,6 +73,15 @@
67
73
  .active\:shadow-large:active
68
74
  box-shadow: var(--bal-shadow-large) !important
69
75
 
76
+ .focus\:shadow-header:focus
77
+ box-shadow: var(--bal-shadow-header) !important
78
+
79
+ .hover\:shadow-header:hover
80
+ box-shadow: var(--bal-shadow-header) !important
81
+
82
+ .active\:shadow-header:active
83
+ box-shadow: var(--bal-shadow-header) !important
84
+
70
85
  +mobile
71
86
  .mobile\:shadow-none
72
87
  box-shadow: none !important
@@ -80,6 +95,9 @@
80
95
  .mobile\:shadow-large
81
96
  box-shadow: var(--bal-shadow-large) !important
82
97
 
98
+ .mobile\:shadow-header
99
+ box-shadow: var(--bal-shadow-header) !important
100
+
83
101
  .mobile\:focus\:shadow-none:focus
84
102
  box-shadow: none !important
85
103
 
@@ -116,6 +134,15 @@
116
134
  .mobile\:active\:shadow-large:active
117
135
  box-shadow: var(--bal-shadow-large) !important
118
136
 
137
+ .mobile\:focus\:shadow-header:focus
138
+ box-shadow: var(--bal-shadow-header) !important
139
+
140
+ .mobile\:hover\:shadow-header:hover
141
+ box-shadow: var(--bal-shadow-header) !important
142
+
143
+ .mobile\:active\:shadow-header:active
144
+ box-shadow: var(--bal-shadow-header) !important
145
+
119
146
  +tablet
120
147
  .tablet\:shadow-none
121
148
  box-shadow: none !important
@@ -129,6 +156,9 @@
129
156
  .tablet\:shadow-large
130
157
  box-shadow: var(--bal-shadow-large) !important
131
158
 
159
+ .tablet\:shadow-header
160
+ box-shadow: var(--bal-shadow-header) !important
161
+
132
162
  .tablet\:focus\:shadow-none:focus
133
163
  box-shadow: none !important
134
164
 
@@ -165,6 +195,15 @@
165
195
  .tablet\:active\:shadow-large:active
166
196
  box-shadow: var(--bal-shadow-large) !important
167
197
 
198
+ .tablet\:focus\:shadow-header:focus
199
+ box-shadow: var(--bal-shadow-header) !important
200
+
201
+ .tablet\:hover\:shadow-header:hover
202
+ box-shadow: var(--bal-shadow-header) !important
203
+
204
+ .tablet\:active\:shadow-header:active
205
+ box-shadow: var(--bal-shadow-header) !important
206
+
168
207
  +desktop
169
208
  .desktop\:shadow-none
170
209
  box-shadow: none !important
@@ -178,6 +217,9 @@
178
217
  .desktop\:shadow-large
179
218
  box-shadow: var(--bal-shadow-large) !important
180
219
 
220
+ .desktop\:shadow-header
221
+ box-shadow: var(--bal-shadow-header) !important
222
+
181
223
  .desktop\:focus\:shadow-none:focus
182
224
  box-shadow: none !important
183
225
 
@@ -214,6 +256,15 @@
214
256
  .desktop\:active\:shadow-large:active
215
257
  box-shadow: var(--bal-shadow-large) !important
216
258
 
259
+ .desktop\:focus\:shadow-header:focus
260
+ box-shadow: var(--bal-shadow-header) !important
261
+
262
+ .desktop\:hover\:shadow-header:hover
263
+ box-shadow: var(--bal-shadow-header) !important
264
+
265
+ .desktop\:active\:shadow-header:active
266
+ box-shadow: var(--bal-shadow-header) !important
267
+
217
268
  +widescreen
218
269
  .widescreen\:shadow-none
219
270
  box-shadow: none !important
@@ -227,6 +278,9 @@
227
278
  .widescreen\:shadow-large
228
279
  box-shadow: var(--bal-shadow-large) !important
229
280
 
281
+ .widescreen\:shadow-header
282
+ box-shadow: var(--bal-shadow-header) !important
283
+
230
284
  .widescreen\:focus\:shadow-none:focus
231
285
  box-shadow: none !important
232
286
 
@@ -263,6 +317,15 @@
263
317
  .widescreen\:active\:shadow-large:active
264
318
  box-shadow: var(--bal-shadow-large) !important
265
319
 
320
+ .widescreen\:focus\:shadow-header:focus
321
+ box-shadow: var(--bal-shadow-header) !important
322
+
323
+ .widescreen\:hover\:shadow-header:hover
324
+ box-shadow: var(--bal-shadow-header) !important
325
+
326
+ .widescreen\:active\:shadow-header:active
327
+ box-shadow: var(--bal-shadow-header) !important
328
+
266
329
  .text-shadow-normal
267
330
  text-shadow: var(--bal-text-shadow-normal) !important
268
331
 
@@ -1,3 +1,6 @@
1
+ @use '../mixins/_all' as *
2
+
3
+
1
4
  .align-content-start
2
5
  align-content: flex-start !important
3
6
 
@@ -829,3 +832,105 @@
829
832
 
830
833
  .column-gap-xxxx-large
831
834
  column-gap: var(--bal-space-xxxx-large-desktop) !important
835
+
836
+ .gap-none
837
+ gap: 0 !important
838
+
839
+ .gap-auto
840
+ gap: auto !important
841
+
842
+ +mobile
843
+ .mobile\:gap-none
844
+ gap: 0 !important
845
+
846
+ .mobile\:gap-auto
847
+ gap: auto !important
848
+
849
+ +tablet
850
+ .tablet\:gap-none
851
+ gap: 0 !important
852
+
853
+ .tablet\:gap-auto
854
+ gap: auto !important
855
+
856
+ +desktop
857
+ .desktop\:gap-none
858
+ gap: 0 !important
859
+
860
+ .desktop\:gap-auto
861
+ gap: auto !important
862
+
863
+ +widescreen
864
+ .widescreen\:gap-none
865
+ gap: 0 !important
866
+
867
+ .widescreen\:gap-auto
868
+ gap: auto !important
869
+
870
+ .row-gap-none
871
+ row-gap: 0 !important
872
+
873
+ .row-gap-auto
874
+ row-gap: auto !important
875
+
876
+ +mobile
877
+ .mobile\:row-gap-none
878
+ row-gap: 0 !important
879
+
880
+ .mobile\:row-gap-auto
881
+ row-gap: auto !important
882
+
883
+ +tablet
884
+ .tablet\:row-gap-none
885
+ row-gap: 0 !important
886
+
887
+ .tablet\:row-gap-auto
888
+ row-gap: auto !important
889
+
890
+ +desktop
891
+ .desktop\:row-gap-none
892
+ row-gap: 0 !important
893
+
894
+ .desktop\:row-gap-auto
895
+ row-gap: auto !important
896
+
897
+ +widescreen
898
+ .widescreen\:row-gap-none
899
+ row-gap: 0 !important
900
+
901
+ .widescreen\:row-gap-auto
902
+ row-gap: auto !important
903
+
904
+ .column-gap-none
905
+ column-gap: 0 !important
906
+
907
+ .column-gap-auto
908
+ column-gap: auto !important
909
+
910
+ +mobile
911
+ .mobile\:column-gap-none
912
+ column-gap: 0 !important
913
+
914
+ .mobile\:column-gap-auto
915
+ column-gap: auto !important
916
+
917
+ +tablet
918
+ .tablet\:column-gap-none
919
+ column-gap: 0 !important
920
+
921
+ .tablet\:column-gap-auto
922
+ column-gap: auto !important
923
+
924
+ +desktop
925
+ .desktop\:column-gap-none
926
+ column-gap: 0 !important
927
+
928
+ .desktop\:column-gap-auto
929
+ column-gap: auto !important
930
+
931
+ +widescreen
932
+ .widescreen\:column-gap-none
933
+ column-gap: 0 !important
934
+
935
+ .widescreen\:column-gap-auto
936
+ column-gap: auto !important
@@ -1,3 +1,6 @@
1
+ @use '../mixins/_all' as *
2
+
3
+
1
4
  .select-none
2
5
  user-select: none !important
3
6