@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
@@ -41,21 +41,21 @@ $side-menu: (
41
41
 
42
42
  .rtui-mobile-side-menu-list {
43
43
  display: flex;
44
- flex-direction: column;
45
44
  width: 100%;
45
+ flex-direction: column;
46
46
 
47
47
  &--scrollable {
48
48
  width: fit-content;
49
49
  }
50
50
 
51
51
  &__sub {
52
+ animation: fade-in-animation 0.15s ease-in-out 0.15s forwards;
52
53
  opacity: 0;
53
- animation: fadeInAnimation 0.15s ease-in-out 0.15s forwards;
54
54
  }
55
55
 
56
56
  .rtui-mobile-side-menu-list-main {
57
+ animation: fade-in-animation 0.15s ease-in-out 0.15s forwards;
57
58
  opacity: 0;
58
- animation: fadeInAnimation 0.15s ease-in-out 0.15s forwards;
59
59
 
60
60
  .rtui-mobile-side-menu-item {
61
61
  &__icon {
@@ -66,22 +66,22 @@ $side-menu: (
66
66
 
67
67
  .rtui-mobile-side-menu-item-title {
68
68
  display: flex;
69
- justify-content: space-between;
70
69
  align-items: center;
70
+ justify-content: space-between;
71
71
 
72
72
  &__text {
73
- font-size: 0.75rem;
73
+ overflow: hidden;
74
+ font-size: var(--rt-font-size-xs);
74
75
  text-overflow: ellipsis;
75
76
  white-space: nowrap;
76
- overflow: hidden;
77
77
  }
78
78
 
79
79
  .rtui-mobile-side-menu-item-title-button {
80
80
  display: flex;
81
- justify-content: center;
82
81
  align-items: center;
83
- margin-left: 0.5rem;
84
- border-radius: 50%;
82
+ justify-content: center;
83
+ border-radius: var(--rt-radius-full);
84
+ margin-left: var(--rt-spacing-8);
85
85
 
86
86
  &__icon {
87
87
  width: var(--rt-side-menu-mobile-item-additional-icon-size);
@@ -93,7 +93,7 @@ $side-menu: (
93
93
  }
94
94
 
95
95
  .rtui-mobile-side-menu-item + .rtui-mobile-side-menu-item {
96
- margin-top: 0.5rem;
96
+ margin-top: var(--rt-spacing-8);
97
97
  }
98
98
  }
99
99
  }
@@ -104,37 +104,37 @@ $side-menu: (
104
104
 
105
105
  &__list {
106
106
  display: flex;
107
+ width: 100%;
107
108
  flex-direction: column;
108
109
  align-items: center;
109
- width: 100%;
110
110
 
111
111
  .rtui-side-menu-item {
112
112
  display: flex;
113
+ width: 100%;
113
114
  flex-direction: column;
114
- justify-content: center;
115
115
  align-items: center;
116
+ justify-content: center;
116
117
  cursor: pointer;
117
- width: 100%;
118
118
 
119
119
  .rtui-side-menu-item-button {
120
- padding: 0;
121
120
  display: flex;
122
- justify-content: center;
123
- align-items: center;
124
- height: var(--rt-side-menu-item-height);
125
121
  width: var(--rt-side-menu-item-width);
122
+ height: var(--rt-side-menu-item-height);
123
+ align-items: center;
124
+ justify-content: center;
125
+ padding: 0;
126
126
 
127
127
  &__icon {
128
128
  display: flex;
129
- justify-content: center;
130
129
  align-items: center;
130
+ justify-content: center;
131
131
  }
132
132
  }
133
133
 
134
134
  &__title {
135
135
  font-size: var(--rt-side-menu-item-font-size);
136
- text-align: var(--rt-side-menu-item-text-align);
137
136
  line-height: var(--rt-side-menu-item-line-height);
137
+ text-align: var(--rt-side-menu-item-text-align);
138
138
  }
139
139
  }
140
140
 
@@ -157,18 +157,18 @@ $side-menu: (
157
157
  }
158
158
 
159
159
  .rtui-sub-side-menu-content {
160
+ // Component-local elevation token for the slide-out sub-menu drawer.
161
+ --rt-side-menu-sub-content-shadow: 14px 0 28px rgb(0 0 0 / 25%), 10px 0 10px rgb(0 0 0 / 22%);
162
+
160
163
  width: var(--rt-side-menu-sub-menu-width);
161
164
  height: 100%;
162
- border-left: 1px solid var(--clr-black-20);
163
- box-shadow:
164
- 14px 0 28px rgba(0, 0, 0, 0.25),
165
- 10px 0 10px rgba(0, 0, 0, 0.22);
165
+ border-left: 1px solid var(--rt-border-neutral-default);
166
+ box-shadow: var(--rt-side-menu-sub-content-shadow);
166
167
 
167
168
  &__list {
168
169
  width: 100%;
169
-
170
+ animation: fade-in-animation 0.15s ease-in-out 0.15s forwards;
170
171
  opacity: 0;
171
- animation: fadeInAnimation 0.15s ease-in-out 0.15s forwards;
172
172
 
173
173
  &--scrollable {
174
174
  min-width: fit-content;
@@ -178,7 +178,7 @@ $side-menu: (
178
178
  }
179
179
  }
180
180
 
181
- @keyframes fadeInAnimation {
181
+ @keyframes fade-in-animation {
182
182
  to {
183
183
  opacity: 1;
184
184
  }
@@ -2,12 +2,12 @@
2
2
  &::ng-deep {
3
3
  // Set expansion panel header padding
4
4
  .mat-expansion-indicator {
5
- padding: 0 1.5rem 0 1.5rem;
5
+ padding: 0 var(--rt-spacing-24);
6
6
  }
7
7
 
8
8
  // Set expansion panel body padding
9
9
  .mat-expansion-panel-body {
10
- padding: 0 0 0 1rem;
10
+ padding: 0 0 0 var(--rt-spacing-16);
11
11
  }
12
12
 
13
13
  // Set expansion panel transparent container
@@ -26,34 +26,34 @@
26
26
 
27
27
  .rtui-side-menu-sub-item-title {
28
28
  display: flex;
29
- justify-content: space-between;
30
29
  align-items: center;
30
+ justify-content: space-between;
31
31
 
32
32
  &__text {
33
+ overflow: hidden;
33
34
  font-size: var(--rt-side-menu-sub-menu-item-title-font-size);
34
35
  text-overflow: ellipsis;
35
36
  white-space: nowrap;
36
- overflow: hidden;
37
37
  }
38
38
 
39
39
  .rtui-side-menu-sub-item-title-button {
40
40
  display: flex;
41
- justify-content: center;
42
41
  align-items: center;
43
- padding: 0.1rem;
44
- margin-left: 0.5rem;
45
- border-radius: 50%;
46
- cursor: pointer;
42
+ justify-content: center;
43
+ padding: var(--rt-spacing-2);
47
44
  border: 1.5px solid transparent;
45
+ border-radius: var(--rt-radius-full);
46
+ margin-left: var(--rt-spacing-8);
47
+ cursor: pointer;
48
48
 
49
49
  &__icon {
50
50
  width: 1.25rem;
51
51
  height: 1.25rem;
52
- font-size: 1.25rem;
52
+ font-size: var(--rt-font-size-lg);
53
53
  }
54
54
 
55
55
  &:hover {
56
- border-color: var(--clr-black-60);
56
+ border-color: var(--rt-border-neutral-emphasis);
57
57
  }
58
58
  }
59
59
  }
@@ -61,9 +61,10 @@
61
61
 
62
62
  .rtui-side-menu-expand-sub-item {
63
63
  padding: 0;
64
- box-shadow: none;
64
+
65
65
  // Set expand sub item header border like menu item border
66
- border-radius: 1.35rem;
66
+ border-radius: var(--rt-radius-xl);
67
+ box-shadow: none;
67
68
 
68
69
  &--fixed {
69
70
  min-width: var(--rt-side-menu-sub-menu-item-width);
@@ -78,9 +79,8 @@
78
79
  }
79
80
 
80
81
  &__icon {
81
- margin-inline-start: var(--mat-list-list-item-leading-icon-start-space);
82
- margin-inline-end: var(--mat-list-list-item-leading-icon-end-space);
83
82
  color: var(--mdc-list-list-item-leading-icon-color);
83
+ margin-inline: var(--mat-list-list-item-leading-icon-start-space) var(--mat-list-list-item-leading-icon-end-space);
84
84
  }
85
85
 
86
86
  &__title {
@@ -13,35 +13,35 @@
13
13
  height: 100vh;
14
14
  margin: -1rem;
15
15
  box-shadow:
16
- 0 14px 28px rgba(0, 0, 0, 0.25),
17
- 0 10px 10px rgba(0, 0, 0, 0.22);
16
+ 0 14px 28px rgb(0 0 0 / 25%),
17
+ 0 10px 10px rgb(0 0 0 / 22%);
18
18
 
19
19
  .side-menu-wrapper {
20
20
  &__header {
21
21
  display: flex;
22
+ width: 100%;
22
23
  align-items: center;
23
24
  justify-content: center;
24
- width: 100%;
25
- padding: 0.5rem 0 1rem 0;
25
+ padding: 0.5rem 0 1rem;
26
+ border-bottom: 1px solid var(--rt-color-neutral-25);
26
27
  cursor: pointer;
27
- border-bottom: 1px solid var(--clr-black-20);
28
28
  }
29
29
 
30
30
  .footer {
31
31
  display: flex;
32
+ width: 100%;
32
33
  flex-direction: column;
33
34
  align-items: center;
34
35
  justify-content: center;
35
- width: 100%;
36
- gap: 0.5rem;
37
36
  padding-top: 0.5rem;
38
- border-top: 1px solid var(--clr-black-20);
37
+ border-top: 1px solid var(--rt-color-neutral-25);
38
+ gap: 0.5rem;
39
39
 
40
40
  &__icon {
41
- height: 2rem;
42
41
  width: 2rem;
43
- font-size: 2rem;
42
+ height: 2rem;
44
43
  cursor: pointer;
44
+ font-size: 2rem;
45
45
  }
46
46
  }
47
47
  }
@@ -6,7 +6,7 @@ $snack-bar: (
6
6
  ),
7
7
  icon: (
8
8
  size: 2rem,
9
- color: var(--clr-white-100),
9
+ color: var(--rt-text-base-inverse),
10
10
  ),
11
11
  message: (
12
12
  line-clamp: 5,
@@ -14,21 +14,21 @@ $snack-bar: (
14
14
  action: (
15
15
  padding: 0.5rem,
16
16
  margin: 0 0.25rem,
17
- color: var(--clr-blue-80),
18
- background-color: var(--clr-blue-100),
17
+ color: var(--rt-text-accent-info-soft),
18
+ background-color: var(--rt-bg-accent-info-solid),
19
19
  ),
20
20
  progress: (
21
21
  height: 0.5rem,
22
22
  ),
23
23
  close-button: (
24
- color: var(--clr-white-100),
24
+ color: var(--rt-text-base-inverse),
25
25
  ),
26
26
  );
27
27
 
28
28
  :host {
29
- height: 100%;
30
- width: 100%;
31
29
  display: flex;
30
+ width: 100%;
31
+ height: 100%;
32
32
  align-items: center;
33
33
  justify-content: space-between;
34
34
 
@@ -40,10 +40,10 @@ $snack-bar: (
40
40
 
41
41
  .rt-snack-bar {
42
42
  &__content {
43
- height: 100%;
44
- width: 100%;
45
43
  position: relative;
46
44
  display: flex;
45
+ width: 100%;
46
+ height: 100%;
47
47
  align-items: center;
48
48
  gap: var(--rt-snack-bar-content-gap);
49
49
 
@@ -56,16 +56,16 @@ $snack-bar: (
56
56
  width: var(--rt-snack-bar-icon-size);
57
57
  min-width: var(--rt-snack-bar-icon-size);
58
58
  height: var(--rt-snack-bar-icon-size);
59
- font-size: var(--rt-snack-bar-icon-size);
60
59
  color: var(--rt-snack-bar-icon-color);
60
+ font-size: var(--rt-snack-bar-icon-size);
61
61
  }
62
62
 
63
63
  &-message {
64
64
  display: -webkit-box;
65
65
  overflow: hidden;
66
- text-overflow: ellipsis;
67
- -webkit-line-clamp: var(--rt-snack-bar-message-line-clamp);
68
66
  -webkit-box-orient: vertical;
67
+ -webkit-line-clamp: var(--rt-snack-bar-message-line-clamp);
68
+ text-overflow: ellipsis;
69
69
  }
70
70
  }
71
71
 
@@ -87,11 +87,11 @@ $snack-bar: (
87
87
 
88
88
  &__progress {
89
89
  position: absolute;
90
+ right: 0;
90
91
  bottom: 0;
91
92
  left: 0;
92
- right: 0;
93
- height: var(--rt-snack-bar-progress-height);
94
93
  width: 100%;
94
+ height: var(--rt-snack-bar-progress-height);
95
95
  background-color: var(--mat-button-filled-container-color);
96
96
  border-bottom-left-radius: var(--mat-snack-bar-container-shape);
97
97
  border-bottom-right-radius: var(--mat-snack-bar-container-shape);
@@ -1,7 +1,7 @@
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
 
@@ -10,10 +10,10 @@
10
10
  }
11
11
 
12
12
  .content {
13
- flex-grow: 1;
14
13
  display: flex;
15
- justify-content: center;
14
+ flex-grow: 1;
16
15
  align-items: flex-start;
16
+ justify-content: center;
17
17
  }
18
18
 
19
19
  .action {
@@ -1,25 +1,22 @@
1
1
  :host {
2
- z-index: 10000;
3
2
  position: absolute;
4
-
3
+ z-index: 10000;
4
+ display: flex;
5
5
  width: 100%;
6
6
  height: 100%;
7
-
8
- display: flex;
9
- justify-content: center;
10
7
  align-items: center;
8
+ justify-content: center;
11
9
 
12
10
  .c-spinner {
13
11
  &__container {
12
+ display: flex;
14
13
  width: 100%;
15
14
  height: 100%;
16
-
17
- display: flex;
18
15
  align-items: center;
19
16
  justify-content: center;
20
17
 
21
18
  &--bgr-color {
22
- background-color: rgba(#f5f6f8, 0.85);
19
+ background-color: color-mix(in srgb, var(--rt-bg-base-subtle) 85%, transparent);
23
20
  }
24
21
  }
25
22
 
@@ -30,19 +27,19 @@
30
27
 
31
28
  mat-spinner {
32
29
  ::ng-deep circle {
33
- stroke: var(--clr-base-accent);
30
+ stroke: var(--rt-icon-accent-brand);
34
31
  }
35
32
  }
36
33
 
37
34
  &--bgr-color {
35
+ // Component-local elevation token for the spinner's circular backdrop.
36
+ --rt-spinner-backdrop-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
37
+
38
38
  width: 3rem;
39
39
  height: 3rem;
40
-
41
- background: var(--clr-white-100);
42
- border-radius: 50%;
43
- box-shadow:
44
- 0 1px 3px rgba(0, 0, 0, 0.12),
45
- 0 1px 2px rgba(0, 0, 0, 0.24);
40
+ border-radius: var(--rt-radius-full);
41
+ background: var(--rt-bg-base-base);
42
+ box-shadow: var(--rt-spinner-backdrop-shadow);
46
43
  }
47
44
  }
48
45
  }
@@ -4,14 +4,14 @@ $clear-button: (
4
4
  host: (
5
5
  margin: 0 0.5rem 0 0,
6
6
  padding: 0.1rem,
7
- background-color: var(--clr-black-20),
7
+ background-color: var(--rt-bg-base-strong),
8
8
  ),
9
9
  icon: (
10
10
  size: 1rem,
11
- color: var(--clr-black-60),
11
+ color: var(--rt-text-base-secondary),
12
12
  ),
13
13
  icon-hover: (
14
- color: var(--clr-black-100),
14
+ color: var(--rt-text-base-strong),
15
15
  ),
16
16
  );
17
17
 
@@ -24,23 +24,23 @@ $clear-button: (
24
24
 
25
25
  .rtui-clear-button {
26
26
  display: flex;
27
- justify-content: center;
28
27
  align-items: center;
28
+ justify-content: center;
29
+ padding: var(--rt-clear-button-host-padding);
29
30
  border: none;
30
- border-radius: 50%;
31
+ border-radius: var(--rt-radius-full);
31
32
  margin: var(--rt-clear-button-host-margin);
32
- padding: var(--rt-clear-button-host-padding);
33
33
  background-color: var(--rt-clear-button-host-background-color);
34
34
 
35
35
  &--invisible {
36
- @include mixins.visually-hidden();
36
+ @include mixins.visually-hidden;
37
37
  }
38
38
 
39
39
  &__icon {
40
40
  width: var(--rt-clear-button-icon-size);
41
41
  height: var(--rt-clear-button-icon-size);
42
- font-size: var(--rt-clear-button-icon-size);
43
42
  color: var(--rt-clear-button-icon-color);
43
+ font-size: var(--rt-clear-button-icon-size);
44
44
 
45
45
  &:hover {
46
46
  color: var(--rt-clear-button-icon-hover-color);
@@ -5,7 +5,7 @@ $pagination: (
5
5
  container: (
6
6
  gap: 2rem,
7
7
  margin: 0.5rem 0,
8
- color: var(--clr-black-60),
8
+ color: var(--rt-text-base-secondary),
9
9
  font-size: 0.875rem,
10
10
  font-weight: 400,
11
11
  line-height: 1rem,
@@ -21,16 +21,16 @@ $pagination: (
21
21
  ),
22
22
  paging-item: (
23
23
  padding: 0.5rem,
24
- border: 1px solid var(--clr-gray-15),
24
+ border: 1px solid var(--rt-border-neutral-medium),
25
25
  border-radius: 0.75rem,
26
26
  ),
27
27
  paging-item-hover: (
28
- color: var(--clr-white-100),
29
- background-color: var(--clr-black-60),
28
+ color: var(--rt-text-static-light),
29
+ background-color: var(--rt-bg-base-emphasis),
30
30
  ),
31
31
  paging-item-active: (
32
- color: var(--clr-white-100),
33
- background-color: var(--clr-black-60),
32
+ color: var(--rt-text-static-light),
33
+ background-color: var(--rt-bg-base-emphasis),
34
34
  ),
35
35
  paging-item-disabled-svg: (
36
36
  opacity: 0.3,
@@ -48,9 +48,9 @@ $pagination: (
48
48
  );
49
49
 
50
50
  :host {
51
+ display: flex;
51
52
  width: fit-content;
52
53
  height: 100%;
53
- display: flex;
54
54
 
55
55
  @each $element, $elements in $pagination {
56
56
  @each $style-token, $value in $elements {
@@ -60,21 +60,19 @@ $pagination: (
60
60
 
61
61
  .pagination-container {
62
62
  position: relative;
63
-
64
63
  display: flex;
65
- justify-content: flex-start;
66
64
  align-items: center;
67
- gap: var(--rt-table-pagination-container-gap);
68
-
65
+ justify-content: flex-start;
69
66
  color: var(--rt-table-pagination-container-color);
70
67
  font-size: var(--rt-table-pagination-container-font-size);
71
68
  font-weight: var(--rt-table-pagination-container-font-weight);
69
+ gap: var(--rt-table-pagination-container-gap);
72
70
  line-height: var(--rt-table-pagination-container-line-height);
73
71
 
74
72
  &--clipped {
75
73
  flex-direction: column;
76
- justify-content: center;
77
74
  align-items: flex-start;
75
+ justify-content: center;
78
76
  gap: var(--rt-table-pagination-container-mobile-gap);
79
77
  }
80
78
 
@@ -85,26 +83,23 @@ $pagination: (
85
83
 
86
84
  .paging {
87
85
  display: flex;
88
- justify-content: center;
89
86
  align-items: center;
90
- gap: var(--rt-table-pagination-paging-gap);
87
+ justify-content: center;
91
88
  margin: var(--rt-table-pagination-container-margin);
89
+ gap: var(--rt-table-pagination-paging-gap);
92
90
 
93
91
  &--clipped {
94
92
  margin: var(--rt-table-pagination-paging-mobile-margin);
95
93
  }
96
94
 
97
95
  &__item {
96
+ position: relative;
98
97
  display: flex;
99
- justify-content: center;
100
98
  align-items: center;
101
-
102
- position: relative;
103
-
99
+ justify-content: center;
104
100
  padding: var(--rt-table-pagination-paging-item-padding);
105
101
  border: var(--rt-table-pagination-paging-item-border);
106
102
  border-radius: var(--rt-table-pagination-paging-item-border-radius);
107
-
108
103
  background-color: transparent;
109
104
  cursor: default;
110
105
  pointer-events: none;
@@ -119,13 +114,13 @@ $pagination: (
119
114
  }
120
115
 
121
116
  &:hover:not(.divider) {
122
- color: var(--rt-table-pagination-paging-item-hover-color);
123
117
  background-color: var(--rt-table-pagination-paging-item-hover-background-color);
118
+ color: var(--rt-table-pagination-paging-item-hover-color);
124
119
  }
125
120
 
126
121
  &--active {
127
- color: var(--rt-table-pagination-paging-item-active-color);
128
122
  background-color: var(--rt-table-pagination-paging-item-active-background-color);
123
+ color: var(--rt-table-pagination-paging-item-active-color);
129
124
  }
130
125
 
131
126
  &--enabled {
@@ -138,9 +133,9 @@ $pagination: (
138
133
  }
139
134
 
140
135
  &--divider {
136
+ border: none;
141
137
  cursor: default;
142
138
  pointer-events: none;
143
- border: none;
144
139
  }
145
140
  }
146
141
  }
@@ -148,10 +143,10 @@ $pagination: (
148
143
  .page-size-toggle {
149
144
  display: flex;
150
145
  flex-direction: row;
151
- justify-content: center;
152
146
  align-items: center;
153
- gap: var(--rt-table-pagination-size-toggle-gap);
147
+ justify-content: center;
154
148
  margin: var(--rt-table-pagination-container-margin);
149
+ gap: var(--rt-table-pagination-size-toggle-gap);
155
150
 
156
151
  &--clipped {
157
152
  margin: var(--rt-table-pagination-size-toggle-selector-mobile-margin);
@@ -165,14 +160,11 @@ $pagination: (
165
160
  width: auto;
166
161
  min-width: var(--rt-table-pagination-size-toggle-selector-min-width);
167
162
  height: var(--rt-table-pagination-size-toggle-selector-height);
168
-
169
163
  border: var(--rt-table-pagination-paging-item-border);
170
164
  border-radius: var(--rt-table-pagination-paging-item-border-radius);
171
-
172
165
  background-color: transparent;
173
- cursor: pointer;
174
-
175
166
  color: var(--rt-table-pagination-container-color);
167
+ cursor: pointer;
176
168
  font-size: var(--rt-table-pagination-container-font-size);
177
169
  font-weight: var(--rt-table-pagination-container-font-weight);
178
170
  line-height: var(--rt-table-pagination-container-line-height);