@rt-tools/ui-kit 0.0.16 → 0.0.20

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 (73) hide show
  1. package/fesm2022/rt-tools-ui-kit.mjs +310 -75
  2. package/fesm2022/rt-tools-ui-kit.mjs.map +1 -1
  3. package/package.json +1 -1
  4. package/rt-tools-ui-kit-0.0.20.tgz +0 -0
  5. package/src/lib/ui-kit/action-bar/components/bar/rtui-action-bar.component.scss +18 -18
  6. package/src/lib/ui-kit/action-bar/components/container/rtui-action-bar-container.component.scss +5 -7
  7. package/src/lib/ui-kit/aside/components/container/aside-container.component.scss +1 -0
  8. package/src/lib/ui-kit/aside/components/error-notification/aside-error-box.component.scss +6 -6
  9. package/src/lib/ui-kit/aside/components/panel/aside-panel.component.scss +33 -40
  10. package/src/lib/ui-kit/aside/stories/aside-component/test-aside.component.scss +1 -1
  11. package/src/lib/ui-kit/buttons/icon-round/rtui-round-icon-button.component.scss +4 -4
  12. package/src/lib/ui-kit/buttons/multi-button/rtui-multi-button.component.scss +13 -13
  13. package/src/lib/ui-kit/checkbox/rtui-checkbox.component.scss +11 -11
  14. package/src/lib/ui-kit/checkbox/stories/component/test-checkbox.component.scss +2 -2
  15. package/src/lib/ui-kit/dynamic-selectors/components/actions/rtui-dynamic-selector-list-actions.component.scss +3 -3
  16. package/src/lib/ui-kit/dynamic-selectors/components/dynamic-selector/rtui-dynamic-selector.component.scss +3 -3
  17. package/src/lib/ui-kit/dynamic-selectors/components/multi-selector-popup/rtui-multi-selector-popup.component.scss +28 -28
  18. package/src/lib/ui-kit/dynamic-selectors/components/placeholder/rtui-dynamic-selector-placeholder.component.scss +6 -7
  19. package/src/lib/ui-kit/dynamic-selectors/components/selected-list/rtui-dynamic-selector-selected-list.component.scss +2 -2
  20. package/src/lib/ui-kit/dynamic-selectors/strories/component/input/test-dynamic-input.component.scss +2 -3
  21. package/src/lib/ui-kit/dynamic-selectors/strories/component/selector/test-selector.component.scss +4 -5
  22. package/src/lib/ui-kit/file-uploader/rtui-file-upload.component.scss +8 -8
  23. package/src/lib/ui-kit/file-uploader/stories/component/test-file-upload.component.scss +1 -1
  24. package/src/lib/ui-kit/header/header.component.scss +1 -0
  25. package/src/lib/ui-kit/header/stories/component/test-header.component.scss +3 -3
  26. package/src/lib/ui-kit/image-uploader/image-uploader/rtui-image-upload.component.scss +5 -5
  27. package/src/lib/ui-kit/image-uploader/stories/component/test-image-upload.component.scss +2 -2
  28. package/src/lib/ui-kit/info-badge/info-badge.component.scss +20 -19
  29. package/src/lib/ui-kit/info-badge/stories/component/test-info-badge/test-info-badge.component.scss +1 -1
  30. package/src/lib/ui-kit/modal/modal.component.scss +9 -9
  31. package/src/lib/ui-kit/popover/rtui-popover-container.component.scss +2 -3
  32. package/src/lib/ui-kit/scrollable/scrollable-container.component.scss +7 -9
  33. package/src/lib/ui-kit/side-menu/menu/rtui-side-menu.component.scss +26 -26
  34. package/src/lib/ui-kit/side-menu/menu-sub-item/rtui-side-menu-sub-item.component.scss +15 -15
  35. package/src/lib/ui-kit/side-menu/stories/component/test-side-menu-wrapper.component.scss +10 -10
  36. package/src/lib/ui-kit/snack-bar/snack-bar.component.scss +13 -13
  37. package/src/lib/ui-kit/snack-bar/stories/component/test-snack-bar.component.scss +3 -3
  38. package/src/lib/ui-kit/spinner/spinner.component.scss +12 -15
  39. package/src/lib/ui-kit/table/components/clear-search-button/rtui-clear-button.component.scss +8 -8
  40. package/src/lib/ui-kit/table/components/pagination-view/rtui-pagination.component.scss +20 -28
  41. package/src/lib/ui-kit/table/components/table-base-cell/table-base-cell.component.scss +9 -10
  42. package/src/lib/ui-kit/table/components/table-config-aside/rt-table-config-aside.component.scss +1 -1
  43. package/src/lib/ui-kit/table/components/table-container/table-container.component.scss +21 -19
  44. package/src/lib/ui-kit/table/components/table-header-cell/table-header-cell.component.scss +8 -9
  45. package/src/lib/ui-kit/table/components/table-header-filter-cell/table-header-filter-cell.component.scss +3 -3
  46. package/src/lib/ui-kit/table/dynamic-list.component.scss +2 -2
  47. package/src/lib/ui-kit/table/stories/dynamic-list/test-dynamic-list.component.scss +1 -1
  48. package/src/lib/ui-kit/table/stories/pagination/test-pagination-component.scss +4 -4
  49. package/src/lib/ui-kit/table/stories/table/test-table-component.scss +1 -1
  50. package/src/lib/ui-kit/toggle/rtui-toggle.component.scss +23 -29
  51. package/src/lib/ui-kit/toggle/stories/component/test-toggle.component.scss +2 -2
  52. package/src/lib/ui-kit/toolbar/toolbar.component.scss +6 -11
  53. package/src/styles/TOKENS.md +121 -0
  54. package/src/styles/base/_base.scss +7 -15
  55. package/src/styles/base/_color-scheme.scss +86 -0
  56. package/src/styles/base/_mixin.scss +12 -15
  57. package/src/styles/base/_tokens.scss +426 -0
  58. package/src/styles/base/_variables.scss +7 -13
  59. package/src/styles/color-scheme.spec.ts +236 -0
  60. package/src/styles/components/_action-bar.scss +8 -8
  61. package/src/styles/components/_button.scss +63 -55
  62. package/src/styles/components/_checkbox.scss +5 -5
  63. package/src/styles/components/_dynamic-selectors.scss +13 -14
  64. package/src/styles/components/_form.scss +8 -13
  65. package/src/styles/components/_material-bridge.scss +30 -0
  66. package/src/styles/components/_rtui_button.scss +82 -82
  67. package/src/styles/components/_snackbar.scss +14 -14
  68. package/src/styles/components/_table.scss +34 -50
  69. package/src/styles/main.scss +5 -0
  70. package/src/styles/tokens.scss +5 -0
  71. package/styles/tokens.css +301 -0
  72. package/types/rt-tools-ui-kit.d.ts +101 -2
  73. package/rt-tools-ui-kit-0.0.16.tgz +0 -0
@@ -5,9 +5,9 @@ $multi-selector: (
5
5
  width: 20rem,
6
6
  height: 30rem,
7
7
  padding: 1rem 0 1rem 1rem,
8
- box-shadow: 0 0.5rem 1rem 0 var(--clr-black-60),
8
+ box-shadow: 0 0.5rem 1rem 0 var(--rt-shadow-color),
9
9
  border-radius: 0.375rem,
10
- background-color: var(--clr-white-100),
10
+ background-color: var(--rt-bg-base-base),
11
11
  ),
12
12
  header: (
13
13
  padding: 0 1rem 0 0,
@@ -17,25 +17,25 @@ $multi-selector: (
17
17
  ),
18
18
  header-controls-item-icon: (
19
19
  margin-left: 0.5rem,
20
- color: var(--clr-black-40),
20
+ color: var(--rt-text-base-disabled),
21
21
  ),
22
22
  header-controls-item-info: (
23
23
  margin-left: 0.5rem,
24
24
  font-size: 0.875rem,
25
- color: var(--clr-black-60),
25
+ color: var(--rt-text-base-secondary),
26
26
  ),
27
27
  header-controls-item-first: (
28
28
  padding: 1rem 0 0 0.5rem,
29
29
  ),
30
30
  header-controls-item-last: (
31
31
  padding: 1rem 0 0 0,
32
- border-bottom: solid 1px var(--clr-gray-20),
32
+ border-bottom: solid 1px var(--rt-border-neutral-divider),
33
33
  ),
34
34
  item-label-hover: (
35
- color: var(--clr-black-60),
35
+ color: var(--rt-text-base-secondary),
36
36
  ),
37
37
  options-item-separated: (
38
- border-bottom: solid 1px var(--clr-gray-20),
38
+ border-bottom: solid 1px var(--rt-border-neutral-divider),
39
39
  ),
40
40
  options-item-title: (
41
41
  max-width: 15rem,
@@ -46,11 +46,11 @@ $multi-selector: (
46
46
  ),
47
47
  placeholder-icon: (
48
48
  size: 3rem,
49
- color: var(--clr-black-60),
49
+ color: var(--rt-text-base-secondary),
50
50
  ),
51
51
  placeholder-title: (
52
52
  font-size: 1.5rem,
53
- color: var(--clr-black-60),
53
+ color: var(--rt-text-base-secondary),
54
54
  ),
55
55
  footer: (
56
56
  padding: 1rem 1.5rem 0 0.5rem,
@@ -58,10 +58,10 @@ $multi-selector: (
58
58
  ),
59
59
  footer-nav-action: (
60
60
  font-size: 0.875rem,
61
- color: var(--clr-black-60),
61
+ color: var(--rt-text-base-secondary),
62
62
  ),
63
63
  footer-nav-action-hover: (
64
- color: var(--clr-black-100),
64
+ color: var(--rt-text-base-strong),
65
65
  ),
66
66
  );
67
67
 
@@ -73,13 +73,13 @@ $multi-selector: (
73
73
  }
74
74
 
75
75
  display: flex;
76
- flex-direction: column;
77
76
  width: var(--rt-multi-selector-host-width);
78
77
  height: var(--rt-multi-selector-host-height);
78
+ flex-direction: column;
79
79
  padding: var(--rt-multi-selector-host-padding);
80
- box-shadow: var(--rt-multi-selector-host-box-shadow);
81
80
  border-radius: var(--rt-multi-selector-host-border-radius);
82
81
  background-color: var(--rt-multi-selector-host-background-color);
82
+ box-shadow: var(--rt-multi-selector-host-box-shadow);
83
83
 
84
84
  &::ng-deep {
85
85
  // radiobutton
@@ -141,8 +141,8 @@ $multi-selector: (
141
141
 
142
142
  &-info {
143
143
  margin-left: var(--rt-multi-selector-header-controls-item-info-margin-left);
144
- font-size: var(--rt-multi-selector-header-controls-item-info-font-size);
145
144
  color: var(--rt-multi-selector-header-controls-item-info-color);
145
+ font-size: var(--rt-multi-selector-header-controls-item-info-font-size);
146
146
  }
147
147
  }
148
148
  }
@@ -150,19 +150,19 @@ $multi-selector: (
150
150
 
151
151
  .rtui-multi-selector-options {
152
152
  display: flex;
153
- flex-direction: column;
154
- flex: 1 1 100%;
155
- height: 100%;
156
153
  width: 100%;
154
+ height: 100%;
155
+ flex: 1 1 100%;
156
+ flex-direction: column;
157
157
  overflow-y: auto;
158
158
 
159
159
  &__item {
160
160
  &-title {
161
+ overflow: hidden;
161
162
  width: 100%;
162
163
  max-width: var(--rt-multi-selector-options-item-title-max-width);
163
- white-space: nowrap;
164
- overflow: hidden;
165
164
  text-overflow: ellipsis;
165
+ white-space: nowrap;
166
166
  }
167
167
 
168
168
  &--separated {
@@ -172,38 +172,38 @@ $multi-selector: (
172
172
 
173
173
  &__loader {
174
174
  display: flex;
175
- justify-content: center;
176
175
  align-items: center;
176
+ justify-content: center;
177
177
  }
178
178
  }
179
179
 
180
180
  .rtui-multi-selector-placeholder {
181
181
  display: flex;
182
+ flex: 1 1 100%;
182
183
  flex-direction: column;
183
- justify-content: center;
184
184
  align-items: center;
185
- flex: 1 1 100%;
186
- gap: var(--rt-multi-selector-placeholder-gap);
185
+ justify-content: center;
187
186
  padding-right: var(--rt-multi-selector-placeholder-padding-right);
187
+ gap: var(--rt-multi-selector-placeholder-gap);
188
188
  overflow-y: auto;
189
189
 
190
190
  &__icon {
191
191
  width: var(--rt-multi-selector-placeholder-icon-size);
192
192
  height: var(--rt-multi-selector-placeholder-icon-size);
193
- font-size: var(--rt-multi-selector-placeholder-icon-size);
194
193
  color: var(--rt-multi-selector-placeholder-icon-color);
194
+ font-size: var(--rt-multi-selector-placeholder-icon-size);
195
195
  }
196
196
 
197
197
  &__title {
198
- font-size: var(--rt-multi-selector-placeholder-title-font-size);
199
198
  color: var(--rt-multi-selector-placeholder-title-color);
199
+ font-size: var(--rt-multi-selector-placeholder-title-font-size);
200
200
  }
201
201
  }
202
202
 
203
203
  .rtui-multi-selector-footer {
204
204
  display: flex;
205
- justify-content: flex-end;
206
205
  align-items: center;
206
+ justify-content: flex-end;
207
207
  padding: var(--rt-multi-selector-footer-padding);
208
208
  gap: var(--rt-multi-selector-footer-gap);
209
209
 
@@ -212,9 +212,9 @@ $multi-selector: (
212
212
  }
213
213
 
214
214
  &__nav-action {
215
- text-decoration: none;
216
- font-size: var(--rt-multi-selector-footer-nav-action-font-size);
217
215
  color: var(--rt-multi-selector-footer-nav-action-color);
216
+ font-size: var(--rt-multi-selector-footer-nav-action-font-size);
217
+ text-decoration: none;
218
218
 
219
219
  &:hover {
220
220
  color: var(--rt-multi-selector-footer-nav-action-hover-color);
@@ -9,15 +9,15 @@ $dynamic-selector-placeholder: (
9
9
  ),
10
10
  icon: (
11
11
  size: 4rem,
12
- color: var(--clr-black-80),
12
+ color: var(--rt-text-base-soft),
13
13
  ),
14
14
  icon-warn: (
15
- color: var(--clr-orange-70),
15
+ color: var(--rt-icon-accent-warning),
16
16
  ),
17
17
  description: (
18
18
  font-size: 1rem,
19
19
  line-height: 1.25rem,
20
- color: var(--clr-black-60),
20
+ color: var(--rt-text-base-secondary),
21
21
  ),
22
22
  );
23
23
 
@@ -28,11 +28,10 @@ $dynamic-selector-placeholder: (
28
28
  }
29
29
  }
30
30
 
31
+ display: flex;
31
32
  width: var(--rt-dynamic-selector-placeholder-host-width);
32
33
  height: var(--rt-dynamic-selector-placeholder-host-height);
33
34
  min-height: var(--rt-dynamic-selector-placeholder-host-min-height);
34
-
35
- display: flex;
36
35
  flex-direction: column;
37
36
  align-items: center;
38
37
  justify-content: center;
@@ -42,8 +41,8 @@ $dynamic-selector-placeholder: (
42
41
  &__icon {
43
42
  width: var(--rt-dynamic-selector-placeholder-icon-size);
44
43
  height: var(--rt-dynamic-selector-placeholder-icon-size);
45
- font-size: var(--rt-dynamic-selector-placeholder-icon-size);
46
44
  color: var(--rt-dynamic-selector-placeholder-icon-color);
45
+ font-size: var(--rt-dynamic-selector-placeholder-icon-size);
47
46
 
48
47
  &--warn {
49
48
  color: var(--rt-dynamic-selector-placeholder-icon-warn-color);
@@ -51,9 +50,9 @@ $dynamic-selector-placeholder: (
51
50
  }
52
51
 
53
52
  &__description {
53
+ color: var(--rt-dynamic-selector-placeholder-description-color);
54
54
  font-size: var(--rt-dynamic-selector-placeholder-description-font-size);
55
55
  line-height: var(--rt-dynamic-selector-placeholder-description-line-height);
56
- color: var(--rt-dynamic-selector-placeholder-description-color);
57
56
  }
58
57
  }
59
58
  }
@@ -27,9 +27,9 @@
27
27
  }
28
28
 
29
29
  .cdk-drag-preview {
30
- border: none;
31
30
  box-sizing: border-box;
31
+ border: none;
32
32
  border-radius: var(--rt-dynamic-selector-item-border-radius);
33
- box-shadow: var(--rt-dynamic-selector-item-drag-preview-box-shadow);
34
33
  background: var(--mat-option-selected-state-layer-color);
34
+ box-shadow: var(--rt-dynamic-selector-item-drag-preview-box-shadow);
35
35
  }
@@ -1,11 +1,10 @@
1
1
  :host {
2
+ display: flex;
2
3
  width: 100vw;
3
4
  height: 100vh;
4
-
5
- display: flex;
6
5
  flex-direction: column;
7
- justify-content: flex-start;
8
6
  align-items: center;
7
+ justify-content: flex-start;
9
8
  margin: -1rem;
10
9
 
11
10
  rtui-dynamic-input {
@@ -1,11 +1,10 @@
1
1
  :host {
2
+ display: flex;
2
3
  width: 100vw;
3
4
  height: 100vh;
4
-
5
- display: flex;
6
5
  flex-direction: column;
7
- justify-content: flex-start;
8
6
  align-items: center;
7
+ justify-content: flex-start;
9
8
  margin: -1rem;
10
9
 
11
10
  rtui-dynamic-selector {
@@ -23,13 +22,13 @@
23
22
  .custom-title {
24
23
  display: inline-flex;
25
24
  align-items: center;
26
- gap: 0.5rem;
27
25
  font-size: 0.875rem;
26
+ gap: 0.5rem;
28
27
 
29
28
  &__icon {
30
- font-size: 1.125rem;
31
29
  width: 1.125rem;
32
30
  height: 1.125rem;
31
+ font-size: 1.125rem;
33
32
  }
34
33
 
35
34
  &__id {
@@ -12,7 +12,7 @@ $file-upload: (
12
12
  align-items: center,
13
13
  gap: 1rem,
14
14
  padding: 1rem,
15
- border: 2px dashed var(--clr-black-20),
15
+ border: 2px dashed var(--rt-border-neutral-default),
16
16
  border-radius: 1rem,
17
17
  ),
18
18
  host-dragged: (
@@ -20,11 +20,11 @@ $file-upload: (
20
20
  ),
21
21
  icon: (
22
22
  size: 2rem,
23
- color: var(--clr-black-100),
23
+ color: var(--rt-text-base-strong),
24
24
  ),
25
25
  title: (
26
26
  font-size: 1rem,
27
- color: var(--clr-text),
27
+ color: var(--rt-text-base-primary),
28
28
  ),
29
29
  );
30
30
 
@@ -35,18 +35,18 @@ $file-upload: (
35
35
  }
36
36
  }
37
37
 
38
+ display: var(--rt-file-upload-host-display);
38
39
  width: var(--rt-file-upload-host-width);
39
40
  max-width: var(--rt-file-upload-host-max-width);
40
41
  height: var(--rt-file-upload-host-height);
41
42
  max-height: var(--rt-file-upload-host-max-height);
42
- display: var(--rt-file-upload-host-display);
43
43
  flex-direction: var(--rt-file-upload-host-flex-direction);
44
- justify-content: var(--rt-file-upload-host-justify-content);
45
44
  align-items: var(--rt-file-upload-host-align-items);
46
- gap: var(--rt-file-upload-host-gap);
45
+ justify-content: var(--rt-file-upload-host-justify-content);
47
46
  padding: var(--rt-file-upload-host-padding);
48
47
  border: var(--rt-file-upload-host-border);
49
48
  border-radius: var(--rt-file-upload-host-border-radius);
49
+ gap: var(--rt-file-upload-host-gap);
50
50
  transition: border-color 0.3s ease-in-out;
51
51
 
52
52
  &.--dragged {
@@ -57,13 +57,13 @@ $file-upload: (
57
57
  &__icon {
58
58
  width: var(--rt-file-upload-icon-size);
59
59
  height: var(--rt-file-upload-icon-size);
60
- font-size: var(--rt-file-upload-icon-size);
61
60
  color: var(--rt-file-upload-icon-color);
61
+ font-size: var(--rt-file-upload-icon-size);
62
62
  }
63
63
 
64
64
  &__title {
65
- font-size: var(--rt-file-upload-title-font-size);
66
65
  color: var(--rt-file-upload-title-color);
66
+ font-size: var(--rt-file-upload-title-font-size);
67
67
  }
68
68
  }
69
69
  }
@@ -1,6 +1,6 @@
1
1
  :host {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- justify-content: center;
5
4
  align-items: center;
5
+ justify-content: center;
6
6
  }
@@ -0,0 +1 @@
1
+ // Intentionally empty — header is styled entirely via host bindings and Material theme vars.
@@ -1,14 +1,14 @@
1
1
  :host {
2
+ display: flex;
2
3
  width: 100vw;
3
4
  height: 100vh;
4
- display: flex;
5
5
  flex-direction: column;
6
6
  margin: -1rem;
7
7
 
8
8
  .content {
9
- flex-grow: 1;
10
9
  display: flex;
11
- justify-content: center;
10
+ flex-grow: 1;
12
11
  align-items: center;
12
+ justify-content: center;
13
13
  }
14
14
  }
@@ -40,15 +40,15 @@ $image-upload: (
40
40
  }
41
41
  }
42
42
 
43
+ display: var(--rt-image-upload-host-display);
43
44
  width: var(--rt-image-upload-host-width);
44
45
  min-width: var(--rt-image-upload-host-min-height);
45
46
  max-width: var(--rt-image-upload-host-max-width);
46
47
  height: var(--rt-image-upload-host-height);
47
48
  min-height: var(--rt-image-upload-host-min-height);
48
49
  max-height: var(--rt-image-upload-host-max-height);
49
- display: var(--rt-image-upload-host-display);
50
- justify-content: var(--rt-image-upload-host-justify-content);
51
50
  align-items: var(--rt-image-upload-host-align-items);
51
+ justify-content: var(--rt-image-upload-host-justify-content);
52
52
 
53
53
  .rtui-image-cropper {
54
54
  padding: var(--rt-image-upload-image-cropper-padding);
@@ -56,8 +56,8 @@ $image-upload: (
56
56
  &__actions {
57
57
  display: var(--rt-image-upload-image-cropper-actions-display);
58
58
  justify-content: var(--rt-image-upload-image-cropper-actions-justify-content);
59
- gap: var(--rt-image-upload-image-cropper-actions-gap);
60
59
  margin-top: var(--rt-image-upload-image-cropper-actions-justify-margin-top);
60
+ gap: var(--rt-image-upload-image-cropper-actions-gap);
61
61
  }
62
62
  }
63
63
 
@@ -73,8 +73,8 @@ $image-upload: (
73
73
  pointer-events: none;
74
74
 
75
75
  &--active {
76
- pointer-events: initial;
77
76
  cursor: pointer;
77
+ pointer-events: initial;
78
78
 
79
79
  &:hover {
80
80
  opacity: 0.6;
@@ -84,9 +84,9 @@ $image-upload: (
84
84
 
85
85
  &__action {
86
86
  position: absolute;
87
+ z-index: 999;
87
88
  top: 0;
88
89
  right: 0;
89
- z-index: 999;
90
90
  backdrop-filter: blur(1.25rem);
91
91
  }
92
92
  }
@@ -1,9 +1,9 @@
1
1
  :host {
2
+ display: flex;
2
3
  width: 20rem;
3
4
  height: 30rem;
4
- display: flex;
5
5
  flex-direction: column;
6
- justify-content: center;
7
6
  align-items: center;
7
+ justify-content: center;
8
8
  margin: 1rem;
9
9
  }
@@ -1,62 +1,63 @@
1
1
  :host {
2
- border-radius: 9999px;
3
2
  display: block;
4
- line-height: normal;
5
3
  max-width: fit-content;
4
+ border-radius: var(--rt-radius-full);
6
5
 
7
- // default values
8
- background-color: #005cbb;
9
- color: #ffffff;
6
+ // default values (overridable by consumers; runtime variants set inline styles via InfoBadgeDirective)
7
+ /* stylelint-disable-next-line color-no-hex -- default brand blue has no palette token on purpose */
8
+ background-color: var(--rt-info-badge-background-color, #005cbb);
9
+ color: var(--rt-info-badge-color, var(--rt-text-static-light));
10
+ line-height: normal;
10
11
 
11
12
  .c-info-badge {
12
13
  display: flex;
13
- gap: 0.15rem;
14
+ box-sizing: border-box;
14
15
  align-items: center;
15
16
  justify-content: center;
16
- box-sizing: border-box;
17
+ gap: var(--rt-spacing-2);
17
18
  line-height: normal;
18
19
 
19
20
  &__content {
20
- white-space: nowrap;
21
21
  overflow: hidden;
22
22
  text-overflow: ellipsis;
23
+ white-space: nowrap;
23
24
  }
24
25
  }
25
26
 
26
27
  .size-l {
27
- font-size: 1.125rem;
28
- padding: 0.3rem 0.65rem;
28
+ padding: var(--rt-spacing-4) var(--rt-spacing-12);
29
+ font-size: var(--rt-font-size-md);
29
30
 
30
31
  .mat-icon {
31
- font-size: 1.5rem;
32
+ font-size: var(--rt-font-size-xl);
32
33
  }
33
34
  }
34
35
 
35
36
  .size-m {
36
- font-size: 0.875rem;
37
- padding: 0.22rem 0.65rem;
37
+ padding: var(--rt-spacing-4) var(--rt-spacing-12);
38
+ font-size: var(--rt-font-size-sm);
38
39
 
39
40
  .mat-icon {
40
- font-size: 1.05rem;
41
+ font-size: var(--rt-font-size-md);
41
42
  }
42
43
  }
43
44
 
44
45
  .size-s {
45
- font-size: 0.75rem;
46
- padding: 0.2rem 0.65rem;
46
+ padding: var(--rt-spacing-4) var(--rt-spacing-12);
47
+ font-size: var(--rt-font-size-xs);
47
48
  letter-spacing: 0.025rem;
48
49
 
49
50
  .mat-icon {
50
- font-size: 0.75rem;
51
+ font-size: var(--rt-font-size-xs);
51
52
  }
52
53
  }
53
54
 
54
55
  .mat-icon {
55
- height: unset;
56
56
  width: unset;
57
+ height: unset;
57
58
  }
58
59
 
59
60
  .bold {
60
- font-weight: 700;
61
+ font-weight: var(--rt-font-weight-bold);
61
62
  }
62
63
  }
@@ -4,8 +4,8 @@
4
4
  gap: 10px;
5
5
 
6
6
  &__container {
7
- border: 1px grey dashed;
8
7
  max-width: 200px;
9
8
  padding: 5px;
9
+ border: 1px grey dashed;
10
10
  }
11
11
  }
@@ -4,12 +4,12 @@
4
4
  $modal: (
5
5
  title: (
6
6
  font-size: 1.25rem,
7
- color: var(--clr-txt),
7
+ color: var(--rt-text-base-primary),
8
8
  font-weight: 400,
9
9
  ),
10
10
  content: (
11
11
  padding: 1rem 1.5rem,
12
- color: var(--clr-black-80),
12
+ color: var(--rt-text-base-soft),
13
13
  font-size: 0.8rem,
14
14
  text-align: center,
15
15
  word-wrap: break-word,
@@ -27,13 +27,13 @@ $modal: (
27
27
  ),
28
28
  text-highlited: (
29
29
  font-weight: 600,
30
- color: var(--clr-black-100),
30
+ color: var(--rt-text-base-strong),
31
31
  ),
32
32
  text-warn: (
33
33
  display: inline,
34
34
  font-size: 1rem,
35
35
  font-weight: 600,
36
- color: var(--clr-red-100),
36
+ color: var(--rt-text-accent-danger),
37
37
  ),
38
38
  );
39
39
 
@@ -47,23 +47,23 @@ $modal: (
47
47
  ::ng-deep {
48
48
  .--highlighted {
49
49
  display: inline;
50
- font-weight: var(--rt-modal-text-highlited-font-weight);
51
50
  color: var(--rt-modal-text-highlited-color);
51
+ font-weight: var(--rt-modal-text-highlited-font-weight);
52
52
  }
53
53
 
54
54
  .--warn {
55
55
  display: inline;
56
+ color: var(--rt-modal-text-warn-color);
56
57
  font-size: var(--rt-modal-text-warn-font-size);
57
58
  font-weight: var(--rt-modal-text-warn-font-weight);
58
- color: var(--rt-modal-text-warn-color);
59
59
  }
60
60
  }
61
61
 
62
62
  .rtui-modal {
63
63
  &__title {
64
64
  h1 {
65
- font-size: var(--rt-modal-title-font-size);
66
65
  color: var(--rt-modal-title-color);
66
+ font-size: var(--rt-modal-title-font-size);
67
67
  font-weight: var(--rt-modal-title-font-weight);
68
68
  }
69
69
 
@@ -93,7 +93,7 @@ $modal: (
93
93
  height: auto;
94
94
  }
95
95
 
96
- .mdc-dialog__title::before {
96
+ .mdc-dialog__title:before {
97
97
  height: 100%;
98
98
  }
99
99
 
@@ -101,8 +101,8 @@ $modal: (
101
101
  padding: var(--rt-modal-content-padding);
102
102
  color: var(--rt-modal-content-color);
103
103
  font-size: var(--rt-modal-content-font-size);
104
+ overflow-wrap: var(--rt-modal-content-word-wrap);
104
105
  text-align: var(--rt-modal-content-text-align);
105
- word-wrap: var(--rt-modal-content-word-wrap);
106
106
 
107
107
  mat-form-field {
108
108
  width: 100%;
@@ -1,12 +1,11 @@
1
1
  :host {
2
2
  position: absolute;
3
- width: fit-content;
4
3
  display: block;
4
+ width: fit-content;
5
5
 
6
6
  /* Hack to show properly popover on mouse hover */
7
- padding-top: 20px;
7
+ padding-top: var(--rt-spacing-20);
8
8
  text-align: left;
9
-
10
9
  transition:
11
10
  transform 0.1s,
12
11
  opacity 0.5s;
@@ -7,32 +7,30 @@ $scrollable: (
7
7
  width: 100%,
8
8
  display: flex,
9
9
  flex-direction: column,
10
- background-color: var(--clr-white-100),
10
+ background-color: var(--rt-bg-base-base),
11
11
  ),
12
12
  header: (
13
13
  padding: 0.5rem 1rem,
14
- background-color: var(--clr-white-100),
14
+ background-color: var(--rt-bg-base-base),
15
15
  ),
16
16
  content: (
17
17
  display: flex,
18
18
  flex-direction: column,
19
19
  flex-grow: 1,
20
20
  padding: 1rem,
21
- background-color: var(--clr-white-100),
21
+ background-color: var(--rt-bg-base-base),
22
22
  ),
23
23
  footer: (
24
24
  padding: 1rem,
25
- background-color: var(--clr-white-100),
25
+ background-color: var(--rt-bg-base-base),
26
26
  ),
27
27
  );
28
28
 
29
29
  :host {
30
- height: var(--rt-scrollable-host-height);
31
- width: var(--rt-scrollable-host-width);
32
-
33
30
  display: var(--rt-scrollable-host-display);
31
+ width: var(--rt-scrollable-host-width);
32
+ height: var(--rt-scrollable-host-height);
34
33
  flex-direction: var(--rt-scrollable-host-flex-direction);
35
-
36
34
  background-color: var(--rt-scrollable-host-background-color);
37
35
 
38
36
  @each $element, $elements in $scrollable {
@@ -49,11 +47,11 @@ $scrollable: (
49
47
 
50
48
  &__content {
51
49
  display: var(--rt-scrollable-content-display);
50
+ overflow: auto;
52
51
  flex-direction: var(--rt-scrollable-content-flex-direction);
53
52
  flex-grow: var(--rt-scrollable-content-flex-grow);
54
53
  padding: var(--rt-scrollable-content-padding);
55
54
  background-color: var(--rt-scrollable-content-background-color);
56
- overflow: auto;
57
55
  }
58
56
 
59
57
  &__footer {