@fkui/design 6.12.0 → 6.14.0

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 (197) hide show
  1. package/lib/fkui.css +684 -801
  2. package/lib/fkui.min.css +1 -1
  3. package/package.json +10 -9
  4. package/src/components/_index.scss +95 -0
  5. package/src/components/anchor/_anchor.scss +3 -4
  6. package/src/components/anchor/_index.scss +1 -0
  7. package/src/components/anchor/_variables.scss +1 -0
  8. package/src/components/badge/_badge.scss +12 -34
  9. package/src/components/badge/_index.scss +1 -0
  10. package/src/components/badge/_variables.scss +25 -25
  11. package/src/components/button/_button.scss +35 -37
  12. package/src/components/button/_index.scss +1 -0
  13. package/src/components/button/_variables.scss +26 -26
  14. package/src/components/calendar-day/_calendar-day.scss +1 -2
  15. package/src/components/calendar-day/_index.scss +1 -0
  16. package/src/components/calendar-day/_variables.scss +5 -5
  17. package/src/components/card/_card.scss +1 -3
  18. package/src/components/card/_index.scss +1 -0
  19. package/src/components/card/_variables.scss +6 -6
  20. package/src/components/checkbox/_checkbox-group.scss +2 -4
  21. package/src/components/checkbox/_checkbox.scss +5 -6
  22. package/src/components/checkbox/_variables.scss +9 -9
  23. package/src/components/chip/_index.scss +1 -0
  24. package/src/components/chip/_variables.scss +12 -12
  25. package/src/components/close-button/_index.scss +1 -0
  26. package/src/components/close-button/_variables.scss +1 -0
  27. package/src/components/combobox/_index.scss +1 -0
  28. package/src/components/combobox/_variables.scss +9 -9
  29. package/src/components/contextmenu/_contextmenu.scss +1 -3
  30. package/src/components/contextmenu/_index.scss +1 -0
  31. package/src/components/contextmenu/_variables.scss +1 -0
  32. package/src/components/crud-dataset/_crud-dataset.scss +1 -2
  33. package/src/components/crud-dataset/_index.scss +1 -0
  34. package/src/components/crud-dataset/_variables.scss +1 -0
  35. package/src/components/datepicker-field/_datepicker-field.scss +3 -6
  36. package/src/components/datepicker-field/_index.scss +1 -0
  37. package/src/components/datepicker-field/_variables.scss +5 -5
  38. package/src/components/dialogue-tree/_index.scss +1 -0
  39. package/src/components/dialogue-tree/_variables.scss +6 -6
  40. package/src/components/entrypoint/_entrypoint.scss +1 -4
  41. package/src/components/entrypoint/_index.scss +1 -0
  42. package/src/components/entrypoint/_variables.scss +3 -3
  43. package/src/components/error-list/_error-list.scss +11 -8
  44. package/src/components/error-list/_index.scss +1 -0
  45. package/src/components/error-list/_variables.scss +1 -0
  46. package/src/components/expandable-panel/_expandable-panel.scss +1 -2
  47. package/src/components/expandable-panel/_index.scss +1 -0
  48. package/src/components/expandable-panel/_variables.scss +1 -0
  49. package/src/components/expandable-paragraph/_expandable-paragraph.scss +6 -7
  50. package/src/components/expandable-paragraph/_index.scss +1 -0
  51. package/src/components/expandable-paragraph/_variables.scss +1 -0
  52. package/src/components/fieldset/_fieldset.scss +1 -3
  53. package/src/components/fieldset/_index.scss +1 -0
  54. package/src/components/fieldset/_variables.scss +1 -0
  55. package/src/components/file-item/_file-item.scss +2 -5
  56. package/src/components/file-item/_index.scss +1 -0
  57. package/src/components/file-item/_variables.scss +1 -0
  58. package/src/components/file-selector/_file-selector.scss +1 -3
  59. package/src/components/file-selector/_index.scss +1 -0
  60. package/src/components/file-selector/_variables.scss +1 -0
  61. package/src/components/file-uploader/_file-uploader.scss +1 -3
  62. package/src/components/file-uploader/_index.scss +1 -0
  63. package/src/components/file-uploader/_variables.scss +1 -0
  64. package/src/components/group/_index.scss +1 -0
  65. package/src/components/group/_variables.scss +1 -0
  66. package/src/components/icon/_icon.scss +6 -8
  67. package/src/components/icon/_index.scss +1 -0
  68. package/src/components/icon/_variables.scss +8 -8
  69. package/src/components/indent/_indent.scss +1 -2
  70. package/src/components/indent/_index.scss +1 -0
  71. package/src/components/indent/_variables.scss +1 -0
  72. package/src/components/label/_index.scss +1 -0
  73. package/src/components/label/_label.scss +5 -3
  74. package/src/components/label/_variables.scss +4 -4
  75. package/src/components/layout-application-template/_index.scss +1 -0
  76. package/src/components/layout-application-template/_layout-application-template.scss +4 -5
  77. package/src/components/layout-application-template/_variables.scss +1 -0
  78. package/src/components/layout-navigation/_index.scss +1 -0
  79. package/src/components/layout-navigation/_layout-navigation.scss +1 -2
  80. package/src/components/layout-navigation/_variables.scss +1 -0
  81. package/src/components/layout-secondary/_index.scss +1 -0
  82. package/src/components/layout-secondary/_layout-secondary.scss +1 -3
  83. package/src/components/layout-secondary/_variables.scss +1 -0
  84. package/src/components/list/_index.scss +1 -0
  85. package/src/components/list/_list.scss +4 -6
  86. package/src/components/list/_variables.scss +1 -0
  87. package/src/components/loader/_index.scss +1 -0
  88. package/src/components/loader/_loader.scss +4 -6
  89. package/src/components/loader/_variables.scss +1 -0
  90. package/src/components/logo/_index.scss +1 -0
  91. package/src/components/logo/_logo.scss +1 -3
  92. package/src/components/logo/_variables.scss +1 -0
  93. package/src/components/message-box/_index.scss +1 -0
  94. package/src/components/message-box/_message-box.scss +14 -16
  95. package/src/components/message-box/_variables.scss +10 -10
  96. package/src/components/modal/_index.scss +1 -0
  97. package/src/components/modal/_modal.scss +10 -11
  98. package/src/components/modal/_variables.scss +7 -7
  99. package/src/components/navigation-menu/_index.scss +1 -0
  100. package/src/components/navigation-menu/_navigation-menu.scss +3 -5
  101. package/src/components/navigation-menu/_variables.scss +1 -0
  102. package/src/components/offline/_index.scss +1 -0
  103. package/src/components/offline/_offline.scss +3 -7
  104. package/src/components/offline/_variables.scss +1 -0
  105. package/src/components/output-field/_index.scss +1 -0
  106. package/src/components/output-field/_output-field.scss +1 -3
  107. package/src/components/output-field/_variables.scss +1 -0
  108. package/src/components/page-header/_index.scss +1 -0
  109. package/src/components/page-header/_page-header.scss +1 -2
  110. package/src/components/page-header/_variables.scss +1 -0
  111. package/src/components/progressbar/_index.scss +1 -0
  112. package/src/components/progressbar/_progressbar.scss +1 -2
  113. package/src/components/progressbar/_variables.scss +4 -4
  114. package/src/components/radio-button/_item.scss +2 -5
  115. package/src/components/radio-button/_radio-button-group.scss +5 -7
  116. package/src/components/radio-button/_radio-button.scss +2 -3
  117. package/src/components/radio-button/_variables.scss +7 -7
  118. package/src/components/select-field/_index.scss +1 -0
  119. package/src/components/select-field/_select-field.scss +3 -5
  120. package/src/components/select-field/_variables.scss +11 -11
  121. package/src/components/sort-filter-dataset/_index.scss +1 -0
  122. package/src/components/sort-filter-dataset/_sort-filter-dataset.scss +1 -3
  123. package/src/components/sort-filter-dataset/_variables.scss +1 -0
  124. package/src/components/static-panel/_index.scss +1 -0
  125. package/src/components/static-panel/_static-panel.scss +1 -3
  126. package/src/components/static-panel/_variables.scss +1 -0
  127. package/src/components/table/_index.scss +7 -0
  128. package/src/components/table/_table.scss +14 -26
  129. package/src/components/table/_variables.scss +14 -0
  130. package/src/components/text-field/_index.scss +1 -0
  131. package/src/components/text-field/_text-field.scss +3 -5
  132. package/src/components/text-field/_variables.scss +8 -8
  133. package/src/components/textarea-field/_index.scss +1 -0
  134. package/src/components/textarea-field/_textarea-field.scss +2 -4
  135. package/src/components/textarea-field/_variables.scss +6 -6
  136. package/src/components/tooltip/_index.scss +1 -0
  137. package/src/components/tooltip/_variables.scss +2 -2
  138. package/src/components/wizard/_variables.scss +11 -11
  139. package/src/components/wizard/_wizard-step.scss +10 -12
  140. package/src/components/wizard/_wizard.scss +1 -3
  141. package/src/core/_index.scss +12 -0
  142. package/src/core/helpers/_index.scss +2 -0
  143. package/src/core/layout/_index.scss +2 -0
  144. package/src/core/layout/positioning/_positioning.scss +0 -1
  145. package/src/core/mixins/{_all.scss → _index.scss} +0 -1
  146. package/src/core/mixins/_label-inline.scss +3 -4
  147. package/src/core/mixins/_variables.scss +4 -4
  148. package/src/fkui.scss +6 -4
  149. package/src/internal-components/_index.scss +9 -0
  150. package/src/internal-components/animate-expand/_animate-expand.scss +1 -3
  151. package/src/internal-components/animate-expand/_index.scss +1 -0
  152. package/src/internal-components/calendar/_calendar.scss +1 -3
  153. package/src/internal-components/calendar/_index.scss +1 -0
  154. package/src/internal-components/calendar-month/{_month.scss → _calendar-month.scss} +1 -2
  155. package/src/internal-components/calendar-month/_index.scss +1 -0
  156. package/src/internal-components/calendar-month/_variables.scss +3 -3
  157. package/src/internal-components/calendar-navbar/{_navbar.scss → _calendar-navbar.scss} +1 -2
  158. package/src/internal-components/calendar-navbar/_index.scss +1 -0
  159. package/src/internal-components/calendar-navbar/_variables.scss +6 -6
  160. package/src/internal-components/{IFlex/_iflex.scss → flex/_flex.scss} +5 -6
  161. package/src/internal-components/flex/_index.scss +1 -0
  162. package/src/internal-components/popup/_index.scss +1 -0
  163. package/src/internal-components/popup/_popup.scss +3 -5
  164. package/src/internal-components/popup-error/_index.scss +1 -0
  165. package/src/internal-components/{popupError/_popuperror.scss → popup-error/_popup-error.scss} +4 -5
  166. package/src/internal-components/popup-menu/_index.scss +1 -0
  167. package/src/internal-components/{IPopupMenu/_ipopupmenu.scss → popup-menu/_popup-menu.scss} +2 -4
  168. package/src/internal-components/skip-link/_index.scss +1 -0
  169. package/src/internal-components/{ISkipLink/_iskiplink.scss → skip-link/_skip-link.scss} +1 -3
  170. package/src/_core.scss +0 -2
  171. package/src/components/_all.scss +0 -51
  172. package/src/components/form/_all.scss +0 -2
  173. package/src/components/form/_form-step.scss +0 -91
  174. package/src/components/form/_form.scss +0 -8
  175. package/src/components/table/_all.scss +0 -3
  176. package/src/core/_all.scss +0 -8
  177. package/src/core/_mixins.scss +0 -8
  178. package/src/core/helpers/_all.scss +0 -2
  179. package/src/core/layout/_all.scss +0 -2
  180. package/src/core/mixins/_arrow-creator.scss +0 -51
  181. package/src/internal-components/_all.scss +0 -10
  182. /package/src/components/checkbox/{_all.scss → _index.scss} +0 -0
  183. /package/src/components/radio-button/{_all.scss → _index.scss} +0 -0
  184. /package/src/components/wizard/{_all.scss → _index.scss} +0 -0
  185. /package/src/core/helpers/accessibility/{_all.scss → _index.scss} +0 -0
  186. /package/src/core/layout/grid/{_all.scss → _index.scss} +0 -0
  187. /package/src/core/layout/positioning/{_all.scss → _index.scss} +0 -0
  188. /package/src/core/typography/{_all.scss → _index.scss} +0 -0
  189. /package/src/core/utils/{_all.scss → _index.scss} +0 -0
  190. /package/src/internal-components/{popupError → popup-error}/arrows/_bottom-before.scss +0 -0
  191. /package/src/internal-components/{popupError → popup-error}/arrows/_bottom.scss +0 -0
  192. /package/src/internal-components/{popupError → popup-error}/arrows/_left-before.scss +0 -0
  193. /package/src/internal-components/{popupError → popup-error}/arrows/_left.scss +0 -0
  194. /package/src/internal-components/{popupError → popup-error}/arrows/_right-before.scss +0 -0
  195. /package/src/internal-components/{popupError → popup-error}/arrows/_right.scss +0 -0
  196. /package/src/internal-components/{popupError → popup-error}/arrows/_top-before.scss +0 -0
  197. /package/src/internal-components/{popupError → popup-error}/arrows/_top.scss +0 -0
@@ -3,9 +3,7 @@
3
3
  @use "../icon/icon";
4
4
  @use "variables" as *;
5
5
 
6
- $LABEL_SELECTOR: ".label" !default;
7
-
8
- #{$LABEL_SELECTOR} {
6
+ .label {
9
7
  color: $label-color-text;
10
8
  display: inline-block;
11
9
  font-size: var(--f-font-size-standard);
@@ -14,6 +12,10 @@ $LABEL_SELECTOR: ".label" !default;
14
12
  margin-bottom: core.densify(size.$margin-025);
15
13
  width: var(--f-width-full);
16
14
 
15
+ &.sr-only {
16
+ width: auto;
17
+ }
18
+
17
19
  &__message {
18
20
  display: block;
19
21
  font-weight: var(--f-font-weight-normal);
@@ -1,4 +1,4 @@
1
- $label-color-text: var(--fkds-color-text-primary);
2
- $label-color-text-description: var(--fkds-color-text-primary);
3
- $label-color-text-description-format: var(--fkds-color-text-secondary);
4
- $label-color-text-message-error: var(--fkds-color-feedback-text-negative);
1
+ $label-color-text: var(--fkds-color-text-primary) !default;
2
+ $label-color-text-description: var(--fkds-color-text-primary) !default;
3
+ $label-color-text-description-format: var(--fkds-color-text-secondary) !default;
4
+ $label-color-text-message-error: var(--fkds-color-feedback-text-negative) !default;
@@ -0,0 +1 @@
1
+ @use "layout-application-template";
@@ -3,10 +3,9 @@
3
3
  @use "../../core/config-variables" as vars;
4
4
  @use "../z-index";
5
5
 
6
- $LAYOUT_APPLICATION_SELECTOR: ".layout-application-template" !default;
7
6
  $ZINDEX: z-index.$MODAL_ZINDEX - 1 !default;
8
7
 
9
- #{$LAYOUT_APPLICATION_SELECTOR} {
8
+ .layout-application-template {
10
9
  display: flex;
11
10
  flex-direction: column;
12
11
  height: 100%;
@@ -34,17 +33,17 @@ $ZINDEX: z-index.$MODAL_ZINDEX - 1 !default;
34
33
  }
35
34
  }
36
35
 
37
- #{$LAYOUT_APPLICATION_SELECTOR}__body {
36
+ .layout-application-template__body {
38
37
  margin: 0;
39
38
  padding: 0;
40
39
  min-height: 100vh;
41
40
  }
42
41
 
43
- #{$LAYOUT_APPLICATION_SELECTOR}__body > div {
42
+ .layout-application-template__body > div {
44
43
  height: 100%;
45
44
  }
46
45
 
47
- #{$LAYOUT_APPLICATION_SELECTOR}__html {
46
+ .layout-application-template__html {
48
47
  height: 100%;
49
48
  }
50
49
 
@@ -0,0 +1 @@
1
+ // stylelint-disable no-empty-source -- placeholder file
@@ -0,0 +1 @@
1
+ @use "layout-navigation";
@@ -1,6 +1,5 @@
1
1
  @use "../z-index";
2
2
 
3
- $LAYOUT_NAVIGATION_SELECTOR: ".layout-navigation" !default;
4
3
  $ZINDEX: z-index.$MODAL_ZINDEX - 1 !default;
5
4
 
6
5
  // parameters
@@ -20,7 +19,7 @@ $border-hover-navigation: #{$palette-color-bluebell-15};
20
19
  $border-dots-navigation: #{$palette-color-fk-black-50};
21
20
  $scrollbar-navigation: #{$palette-color-fk-black-50};
22
21
 
23
- #{$LAYOUT_NAVIGATION_SELECTOR} {
22
+ .layout-navigation {
24
23
  min-height: 100%;
25
24
  width: 100%;
26
25
 
@@ -0,0 +1 @@
1
+ // stylelint-disable no-empty-source -- placeholder file
@@ -0,0 +1 @@
1
+ @use "layout-secondary";
@@ -1,6 +1,5 @@
1
1
  @use "../z-index";
2
2
 
3
- $LAYOUT_SECONDARY_SELECTOR: ".layout-secondary" !default;
4
3
  $ZINDEX: z-index.$MODAL_ZINDEX - 1 !default;
5
4
 
6
5
  // parameters
@@ -20,7 +19,7 @@ $border-hover-secondary: #{$palette-color-bluebell-15};
20
19
  $border-dots-secondary: #{$palette-color-fk-black-50};
21
20
  $scrollbar-secondary: #{$palette-color-fk-black-50};
22
21
 
23
- #{$LAYOUT_SECONDARY_SELECTOR} {
22
+ .layout-secondary {
24
23
  width: 100%;
25
24
  min-height: 100%;
26
25
 
@@ -120,7 +119,6 @@ $scrollbar-secondary: #{$palette-color-fk-black-50};
120
119
 
121
120
  @media (width <=1280px) {
122
121
  &__secondary {
123
- /* stylelint-disable-next-line color-function-notation, alpha-value-notation -- technical debt */
124
122
  box-shadow:
125
123
  4px 0 2px rgb(0, 0, 0, 0.5),
126
124
  -4px 0 2px rgb(0, 0, 0, 0.5);
@@ -0,0 +1 @@
1
+ // stylelint-disable no-empty-source -- placeholder file
@@ -0,0 +1 @@
1
+ @use "list";
@@ -2,8 +2,6 @@
2
2
  @use "../../core/config-variables";
3
3
  @use "../../core/size";
4
4
 
5
- $LIST_SELECTOR: ".list" !default;
6
-
7
5
  // list item specific variables
8
6
  $list-border: var(--f-border-width-medium) solid var(--f-border-color-grid);
9
7
  $list-padding: size.$padding-075;
@@ -27,7 +25,7 @@ $list-selectpane-padding: calc(var(--f-list-item-itempane-padding) - 0.2rem);
27
25
  background: var(--f-background-grid-active);
28
26
  }
29
27
 
30
- #{$LIST_SELECTOR} {
28
+ .list {
31
29
  margin: $list-margin;
32
30
  padding-left: 0;
33
31
 
@@ -90,12 +88,12 @@ $list-selectpane-padding: calc(var(--f-list-item-itempane-padding) - 0.2rem);
90
88
  }
91
89
 
92
90
  &--hover {
93
- #{$LIST_SELECTOR}__item:focus-within,
94
- #{$LIST_SELECTOR}__item:hover {
91
+ .list__item:focus-within,
92
+ .list__item:hover {
95
93
  cursor: pointer;
96
94
  @extend %list-item-hover;
97
95
 
98
- &#{$LIST_SELECTOR}__item {
96
+ &.list__item {
99
97
  &--active {
100
98
  @extend %list-item-active;
101
99
  }
@@ -0,0 +1 @@
1
+ // stylelint-disable no-empty-source -- placeholder file
@@ -0,0 +1 @@
1
+ @use "loader";
@@ -1,8 +1,6 @@
1
1
  @use "../../core/size";
2
2
  @use "../z-index";
3
3
 
4
- $LOADER_SELECTOR: ".loader" !default;
5
-
6
4
  @keyframes bouncedelay {
7
5
  0%,
8
6
  80%,
@@ -25,7 +23,7 @@ $LOADER_SELECTOR: ".loader" !default;
25
23
  }
26
24
  }
27
25
 
28
- #{$LOADER_SELECTOR} {
26
+ .loader {
29
27
  div[tabindex] {
30
28
  outline: none;
31
29
  }
@@ -66,7 +64,7 @@ $LOADER_SELECTOR: ".loader" !default;
66
64
  }
67
65
 
68
66
  &--overlay {
69
- #{$LOADER_SELECTOR}__backdrop {
67
+ .loader__backdrop {
70
68
  align-items: center;
71
69
  background: var(--f-background-overlay);
72
70
  display: flex;
@@ -80,11 +78,11 @@ $LOADER_SELECTOR: ".loader" !default;
80
78
  z-index: z-index.$LOADER_OVERLAY_ZINDEX;
81
79
  }
82
80
 
83
- #{$LOADER_SELECTOR}__wait-text {
81
+ .loader__wait-text {
84
82
  color: var(--f-text-color-default-inverted);
85
83
  }
86
84
 
87
- #{$LOADER_SELECTOR}__circle {
85
+ .loader__circle {
88
86
  background-color: var(--f-icon-color-white);
89
87
  }
90
88
  }
@@ -0,0 +1 @@
1
+ // stylelint-disable no-empty-source -- placeholder file
@@ -0,0 +1 @@
1
+ @use "logo";
@@ -1,8 +1,6 @@
1
1
  @use "../../core/mixins/breakpoints";
2
2
 
3
- $LOGO_SELECTOR: ".logo" !default;
4
-
5
- #{$LOGO_SELECTOR} {
3
+ .logo {
6
4
  display: inline-block;
7
5
 
8
6
  &--small {
@@ -0,0 +1 @@
1
+ // stylelint-disable no-empty-source -- placeholder file
@@ -0,0 +1 @@
1
+ @use "message-box";
@@ -3,9 +3,7 @@
3
3
  @use "../../core/mixins/breakpoints";
4
4
  @use "variables" as *;
5
5
 
6
- $MESSAGE_BOX_SELECTOR: ".message-box" !default;
7
-
8
- @mixin make-box-variant($MESSAGE_BOX_SELECTOR, $background-color, $border-color, $short-layout: false) {
6
+ @mixin make-box-variant($background-color, $border-color, $short-layout: false, $selector: ".message-box") {
9
7
  border: var(--f-border-width-medium) solid;
10
8
  border-color: $border-color;
11
9
  background-color: $background-color;
@@ -14,7 +12,7 @@ $MESSAGE_BOX_SELECTOR: ".message-box" !default;
14
12
  @if $short-layout {
15
13
  border-left: size.$padding-100 solid $border-color;
16
14
 
17
- #{$MESSAGE_BOX_SELECTOR} {
15
+ #{$selector} {
18
16
  &__icon {
19
17
  font-size: 0; // ignore any whitespaces in template affecting height
20
18
 
@@ -47,20 +45,20 @@ $MESSAGE_BOX_SELECTOR: ".message-box" !default;
47
45
  }
48
46
  }
49
47
 
50
- @mixin messagebox-banner-variant($selector, $short-layout: false) {
48
+ @mixin messagebox-banner-variant($short-layout: false, $selector: ".message-box") {
51
49
  width: var(--f-width-full);
52
50
  box-shadow: var(--f-box-modal-shadow);
53
51
  border-collapse: separate;
54
52
  padding: core.densify(size.$padding-100) size.$padding-100;
55
53
 
56
- @include make-box-variant($selector, $messagebox-error-color-background, $messagebox-error-color-border, $short-layout);
54
+ @include make-box-variant($messagebox-error-color-background, $messagebox-error-color-border, $short-layout, $selector: $selector);
57
55
 
58
56
  .iflex__item > p {
59
57
  margin-bottom: 0;
60
58
  }
61
59
  }
62
60
 
63
- #{$MESSAGE_BOX_SELECTOR} {
61
+ .message-box {
64
62
  padding: core.densify(size.$padding-150) size.$padding-150;
65
63
  margin: size.$margin-050 0 core.densify(size.$margin-200) 0;
66
64
 
@@ -79,39 +77,39 @@ $MESSAGE_BOX_SELECTOR: ".message-box" !default;
79
77
  }
80
78
 
81
79
  &--info {
82
- @include make-box-variant($MESSAGE_BOX_SELECTOR, $messagebox-info-color-background, $messagebox-info-color-border);
80
+ @include make-box-variant($messagebox-info-color-background, $messagebox-info-color-border);
83
81
  }
84
82
 
85
83
  &--info-short {
86
- @include make-box-variant($MESSAGE_BOX_SELECTOR, $messagebox-info-color-background, $messagebox-info-color-border, $short-layout: true);
84
+ @include make-box-variant($messagebox-info-color-background, $messagebox-info-color-border, $short-layout: true);
87
85
  }
88
86
 
89
87
  &--error {
90
- @include make-box-variant($MESSAGE_BOX_SELECTOR, $messagebox-error-color-background, $messagebox-error-color-border);
88
+ @include make-box-variant($messagebox-error-color-background, $messagebox-error-color-border);
91
89
  }
92
90
 
93
91
  &--error-short {
94
- @include make-box-variant($MESSAGE_BOX_SELECTOR, $messagebox-error-color-background, $messagebox-error-color-border, $short-layout: true);
92
+ @include make-box-variant($messagebox-error-color-background, $messagebox-error-color-border, $short-layout: true);
95
93
  }
96
94
 
97
95
  &--warning {
98
- @include make-box-variant($MESSAGE_BOX_SELECTOR, $messagebox-warning-color-background, $messagebox-warning-color-border);
96
+ @include make-box-variant($messagebox-warning-color-background, $messagebox-warning-color-border);
99
97
  }
100
98
 
101
99
  &--warning-short {
102
- @include make-box-variant($MESSAGE_BOX_SELECTOR, $messagebox-warning-color-background, $messagebox-warning-color-border, $short-layout: true);
100
+ @include make-box-variant($messagebox-warning-color-background, $messagebox-warning-color-border, $short-layout: true);
103
101
  }
104
102
 
105
103
  &--success {
106
- @include make-box-variant($MESSAGE_BOX_SELECTOR, $messagebox-success-color-background, $messagebox-success-color-border);
104
+ @include make-box-variant($messagebox-success-color-background, $messagebox-success-color-border);
107
105
  }
108
106
 
109
107
  &--success-short {
110
- @include make-box-variant($MESSAGE_BOX_SELECTOR, $messagebox-success-color-background, $messagebox-success-color-border, $short-layout: true);
108
+ @include make-box-variant($messagebox-success-color-background, $messagebox-success-color-border, $short-layout: true);
111
109
  }
112
110
 
113
111
  &--banner {
114
- @include messagebox-banner-variant($MESSAGE_BOX_SELECTOR);
112
+ @include messagebox-banner-variant;
115
113
  }
116
114
 
117
115
  @include breakpoints.breakpoint-down(sm) {
@@ -1,10 +1,10 @@
1
- $messagebox-info-color-background: var(--fkds-color-feedback-background-info);
2
- $messagebox-info-color-border: var(--fkds-color-feedback-border-info);
3
- $messagebox-error-color-background: var(--fkds-color-feedback-background-negative);
4
- $messagebox-error-color-border: var(--fkds-color-feedback-border-negative);
5
- $messagebox-warning-color-background: var(--fkds-color-feedback-background-warning);
6
- $messagebox-warning-color-border: var(--fkds-color-feedback-border-warning);
7
- $messagebox-success-color-background: var(--fkds-color-feedback-background-positive);
8
- $messagebox-success-color-border: var(--fkds-color-feedback-border-positive);
9
- $messagebox-info-color-heading: var(--fkds-color-text-primary);
10
- $messagebox-error-icon-error-color-border: var(--fkds-icon-color-feedback-content-negative);
1
+ $messagebox-info-color-background: var(--fkds-color-feedback-background-info) !default;
2
+ $messagebox-info-color-border: var(--fkds-color-feedback-border-info) !default;
3
+ $messagebox-error-color-background: var(--fkds-color-feedback-background-negative) !default;
4
+ $messagebox-error-color-border: var(--fkds-color-feedback-border-negative) !default;
5
+ $messagebox-warning-color-background: var(--fkds-color-feedback-background-warning) !default;
6
+ $messagebox-warning-color-border: var(--fkds-color-feedback-border-warning) !default;
7
+ $messagebox-success-color-background: var(--fkds-color-feedback-background-positive) !default;
8
+ $messagebox-success-color-border: var(--fkds-color-feedback-border-positive) !default;
9
+ $messagebox-info-color-heading: var(--fkds-color-text-primary) !default;
10
+ $messagebox-error-icon-error-color-border: var(--fkds-icon-color-feedback-content-negative) !default;
@@ -0,0 +1 @@
1
+ @use "modal";
@@ -4,7 +4,6 @@
4
4
  @use "../../core/mixins/breakpoints";
5
5
  @use "variables" as *;
6
6
 
7
- $MODAL_SELECTOR: ".modal" !default;
8
7
  $modal-sizes: (
9
8
  "small": var(--f-modal-size-small),
10
9
  "medium": var(--f-modal-size-medium),
@@ -13,7 +12,7 @@ $modal-sizes: (
13
12
  ) !default;
14
13
  $modal-width: calc(100vw - 40px) !default; // 100% - 20px each side;
15
14
 
16
- #{$MODAL_SELECTOR} {
15
+ .modal {
17
16
  &__backdrop {
18
17
  background: var(--f-background-overlay);
19
18
  display: flex;
@@ -55,7 +54,7 @@ $modal-width: calc(100vw - 40px) !default; // 100% - 20px each side;
55
54
  margin-bottom: size.$margin-050;
56
55
  width: 100%;
57
56
 
58
- #{$MODAL_SELECTOR}__title {
57
+ .modal__title {
59
58
  font-size: var(--f-modal-title-font-size);
60
59
  margin-bottom: 0;
61
60
  margin-top: 0;
@@ -86,17 +85,17 @@ $modal-width: calc(100vw - 40px) !default; // 100% - 20px each side;
86
85
  width: 100%;
87
86
  max-width: none;
88
87
 
89
- #{$MODAL_SELECTOR}__dialog {
88
+ .modal__dialog {
90
89
  min-height: 100vh;
91
90
  }
92
91
 
93
- #{$MODAL_SELECTOR}__dialog-inner {
92
+ .modal__dialog-inner {
94
93
  flex: 1 1 auto;
95
94
  display: flex;
96
95
  flex-direction: column;
97
96
  }
98
97
 
99
- #{$MODAL_SELECTOR}__content {
98
+ .modal__content {
100
99
  flex: 1 1 auto;
101
100
  }
102
101
  }
@@ -115,7 +114,7 @@ $modal-width: calc(100vw - 40px) !default; // 100% - 20px each side;
115
114
  position: relative;
116
115
  z-index: z-index.$MODAL_ZINDEX;
117
116
 
118
- #{$MODAL_SELECTOR}__dialog-inner {
117
+ .modal__dialog-inner {
119
118
  height: auto;
120
119
  margin: 0 size.$margin-150 size.$margin-150;
121
120
 
@@ -124,7 +123,7 @@ $modal-width: calc(100vw - 40px) !default; // 100% - 20px each side;
124
123
  }
125
124
  }
126
125
 
127
- #{$MODAL_SELECTOR}__footer {
126
+ .modal__footer {
128
127
  margin-top: size.$margin-200;
129
128
 
130
129
  > .button-group {
@@ -153,18 +152,18 @@ $modal-width: calc(100vw - 40px) !default; // 100% - 20px each side;
153
152
  }
154
153
  }
155
154
 
156
- &--information #{$MODAL_SELECTOR}__shelf {
155
+ &--information .modal__shelf {
157
156
  background-color: $modal-shelf-info-color-background;
158
157
  .close-button {
159
158
  color: $modal-color-closebutton-text-inverted;
160
159
  }
161
160
  }
162
161
 
163
- &--warning #{$MODAL_SELECTOR}__shelf {
162
+ &--warning .modal__shelf {
164
163
  background-color: $modal-shelf-warning-color-background;
165
164
  }
166
165
 
167
- &--error #{$MODAL_SELECTOR}__shelf {
166
+ &--error .modal__shelf {
168
167
  background-color: $modal-shelf-error-color-background;
169
168
  .close-button {
170
169
  color: $modal-color-closebutton-text-inverted;
@@ -1,7 +1,7 @@
1
- $modal-shelf-color-background: var(--fkds-color-background-primary);
2
- $modal-shelf-info-color-background: var(--fkds-color-feedback-background-info-strong);
3
- $modal-shelf-warning-color-background: var(--fkds-color-feedback-background-warning-strong);
4
- $modal-shelf-error-color-background: var(--fkds-color-feedback-background-negative-strong);
5
- $modal-color-background: var(--fkds-color-background-primary);
6
- $modal-color-closebutton-text-inverted: var(--fkds-color-action-text-inverted-default);
7
- $modal-text-color-default: var(--fkds-color-text-primary);
1
+ $modal-shelf-color-background: var(--fkds-color-background-primary) !default;
2
+ $modal-shelf-info-color-background: var(--fkds-color-feedback-background-info-strong) !default;
3
+ $modal-shelf-warning-color-background: var(--fkds-color-feedback-background-warning-strong) !default;
4
+ $modal-shelf-error-color-background: var(--fkds-color-feedback-background-negative-strong) !default;
5
+ $modal-color-background: var(--fkds-color-background-primary) !default;
6
+ $modal-color-closebutton-text-inverted: var(--fkds-color-action-text-inverted-default) !default;
7
+ $modal-text-color-default: var(--fkds-color-text-primary) !default;
@@ -0,0 +1 @@
1
+ @use "navigation-menu";
@@ -2,9 +2,7 @@
2
2
  @use "../../core/mixins/breakpoints";
3
3
  @use "../../core/config-variables";
4
4
 
5
- $IMENU_SELECTOR: ".imenu" !default;
6
-
7
- #{$IMENU_SELECTOR} {
5
+ .imenu {
8
6
  &__list {
9
7
  background-color: var(--f-background-menu);
10
8
  margin: 0;
@@ -43,7 +41,7 @@ $IMENU_SELECTOR: ".imenu" !default;
43
41
  }
44
42
  }
45
43
 
46
- #{$IMENU_SELECTOR}--vertical {
44
+ .imenu--vertical {
47
45
  .imenu__list {
48
46
  display: block;
49
47
 
@@ -68,7 +66,7 @@ $IMENU_SELECTOR: ".imenu" !default;
68
66
  }
69
67
  }
70
68
 
71
- #{$IMENU_SELECTOR}--horizontal {
69
+ .imenu--horizontal {
72
70
  overflow: hidden;
73
71
 
74
72
  .imenu__list {
@@ -0,0 +1 @@
1
+ // stylelint-disable no-empty-source -- placeholder file
@@ -0,0 +1 @@
1
+ @use "offline";
@@ -3,16 +3,12 @@
3
3
  @use "../z-index";
4
4
  @use "../icon/icon";
5
5
 
6
- $OFFLINE_SELECTOR: ".offline" !default;
7
-
8
6
  // @at-root is used to set these classes globally due to styling scope issue where the component is used out of the styling scope
9
7
  @at-root {
10
- #{$OFFLINE_SELECTOR} {
11
- @include message-box.messagebox-banner-variant($selector: $OFFLINE_SELECTOR, $short-layout: true);
8
+ .offline {
9
+ @include message-box.messagebox-banner-variant($selector: ".offline", $short-layout: true);
12
10
 
13
- & {
14
- padding: size.$padding-150;
15
- }
11
+ padding: size.$padding-150;
16
12
 
17
13
  // Since @at-root is used also icon classes being used by the component must be redefined,
18
14
  // because they might not exist at the global scope.
@@ -0,0 +1 @@
1
+ // stylelint-disable no-empty-source -- placeholder file
@@ -0,0 +1 @@
1
+ @use "output-field";
@@ -1,9 +1,7 @@
1
1
  @use "../../core";
2
2
  @use "../../core/config-variables";
3
3
 
4
- $OUTPUT_FIELD_SELECTOR: ".output-field" !default;
5
-
6
- #{$OUTPUT_FIELD_SELECTOR} {
4
+ .output-field {
7
5
  display: flex;
8
6
  flex-direction: column;
9
7
  justify-content: flex-end;
@@ -0,0 +1 @@
1
+ // stylelint-disable no-empty-source -- placeholder file
@@ -0,0 +1 @@
1
+ @use "page-header";
@@ -1,9 +1,8 @@
1
1
  @use "../../core/size";
2
2
 
3
- $PAGE_HEADER_SELECTOR: ".page-header" !default;
4
3
  $page-header-separator-width: 1px !default;
5
4
 
6
- #{$PAGE_HEADER_SELECTOR} {
5
+ .page-header {
7
6
  display: flex;
8
7
  flex-direction: row;
9
8
  width: 100%;
@@ -0,0 +1 @@
1
+ // stylelint-disable no-empty-source -- placeholder file
@@ -0,0 +1 @@
1
+ @use "progressbar";
@@ -1,11 +1,10 @@
1
1
  @use "../../core/size";
2
2
  @use "variables" as *;
3
3
 
4
- $PROGRESS_BAR_SELECTOR: ".progress" !default;
5
4
  $progressbar-height: var(--f-height-small);
6
5
  $progressbar-border-width: var(--f-border-width-medium);
7
6
 
8
- #{$PROGRESS_BAR_SELECTOR} {
7
+ .progress {
9
8
  background-color: $progressbar-color-background;
10
9
  border-radius: var(--f-border-radius-medium);
11
10
  height: $progressbar-height;
@@ -1,4 +1,4 @@
1
- $progressbar-color-background: var(--fkds-color-background-primary);
2
- $progressbar-color-meter-inprogress: var(--fkds-color-feedback-background-positive-strong);
3
- $progressbar-color-meter-finished: var(--fkds-color-feedback-background-positive-strong);
4
- $progressbar-color-border: var(--fkds-color-feedback-border-positive);
1
+ $progressbar-color-background: var(--fkds-color-background-primary) !default;
2
+ $progressbar-color-meter-inprogress: var(--fkds-color-feedback-background-positive-strong) !default;
3
+ $progressbar-color-meter-finished: var(--fkds-color-feedback-background-positive-strong) !default;
4
+ $progressbar-color-border: var(--fkds-color-feedback-border-positive) !default;
@@ -1,8 +1,5 @@
1
1
  @use ".././list/list";
2
2
 
3
- $RADIO_BUTTON_SELECTOR: ".radio-button" !default;
4
- $CHECKBOX_SELECTOR: ".checkbox" !default;
5
-
6
3
  %selectable-item {
7
4
  border: list.$list-border;
8
5
  margin-bottom: 0;
@@ -39,8 +36,8 @@ $CHECKBOX_SELECTOR: ".checkbox" !default;
39
36
  }
40
37
  }
41
38
 
42
- #{$RADIO_BUTTON_SELECTOR,
43
- $CHECKBOX_SELECTOR} {
39
+ .radio-button,
40
+ .checkbox {
44
41
  &__details {
45
42
  display: block;
46
43
  }
@@ -3,33 +3,31 @@
3
3
  @use "./radio-button";
4
4
  @use "./item";
5
5
 
6
- $RADIO_BUTTON_GROUP_SELECTOR: ".radio-button-group" !default;
7
-
8
- #{$RADIO_BUTTON_GROUP_SELECTOR} {
6
+ .radio-button-group {
9
7
  &__content {
10
8
  display: flex;
11
9
  flex-direction: column;
12
10
  }
13
11
 
14
12
  &--horizontal {
15
- #{$RADIO_BUTTON_GROUP_SELECTOR}__content {
13
+ .radio-button-group__content {
16
14
  flex-direction: row;
17
15
 
18
- #{radio-button.$RADIO_BUTTON_SELECTOR} {
16
+ .radio-button {
19
17
  margin-bottom: 0;
20
18
  }
21
19
 
22
20
  @include bp.breakpoint-down(sm) {
23
21
  flex-direction: column;
24
22
 
25
- #{radio-button.$RADIO_BUTTON_SELECTOR} {
23
+ .radio-button {
26
24
  margin-bottom: size.$margin-100;
27
25
  }
28
26
  }
29
27
  }
30
28
  }
31
29
  &--border {
32
- #{$RADIO_BUTTON_GROUP_SELECTOR}__content {
30
+ .radio-button-group__content {
33
31
  .radio-button {
34
32
  @extend %selectable-item;
35
33
  }