@agorapulse/ui-theme 22.0.8 → 22.0.10

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 (49) hide show
  1. package/agorapulse-ui-theme-22.0.10.tgz +0 -0
  2. package/assets/desktop_variables.css +2 -0
  3. package/assets/mobile_variables.css +2 -0
  4. package/assets/style/_floating-arrow.scss +42 -0
  5. package/assets/style/{css-ui/_helpers.scss → _helpers.scss} +5 -10
  6. package/assets/style/{css-ui/_typography.scss → _typography.scss} +8 -41
  7. package/assets/style/theme.scss +3 -2
  8. package/package.json +2 -9
  9. package/src/tokens/system/elevation.json +12 -0
  10. package/agorapulse-ui-theme-22.0.8.tgz +0 -0
  11. package/assets/style/css-ui/_accordion.scss +0 -56
  12. package/assets/style/css-ui/_action-dropdown.scss +0 -163
  13. package/assets/style/css-ui/_avatar-group.scss +0 -61
  14. package/assets/style/css-ui/_avatar.scss +0 -191
  15. package/assets/style/css-ui/_badge.scss +0 -28
  16. package/assets/style/css-ui/_button.scss +0 -265
  17. package/assets/style/css-ui/_card.scss +0 -17
  18. package/assets/style/css-ui/_checkbox.scss +0 -191
  19. package/assets/style/css-ui/_counter.scss +0 -76
  20. package/assets/style/css-ui/_datepicker.scss +0 -309
  21. package/assets/style/css-ui/_dialog.scss +0 -74
  22. package/assets/style/css-ui/_dot-stepper.scss +0 -68
  23. package/assets/style/css-ui/_icon-button.scss +0 -200
  24. package/assets/style/css-ui/_infobox.scss +0 -181
  25. package/assets/style/css-ui/_input.scss +0 -128
  26. package/assets/style/css-ui/_label.scss +0 -95
  27. package/assets/style/css-ui/_link.scss +0 -86
  28. package/assets/style/css-ui/_list-panel.scss +0 -73
  29. package/assets/style/css-ui/_loader.scss +0 -228
  30. package/assets/style/css-ui/_mixins.scss +0 -50
  31. package/assets/style/css-ui/_pagination.scss +0 -177
  32. package/assets/style/css-ui/_radio-card.scss +0 -200
  33. package/assets/style/css-ui/_radio.scss +0 -106
  34. package/assets/style/css-ui/_select.scss +0 -658
  35. package/assets/style/css-ui/_selection-dropdown.scss +0 -183
  36. package/assets/style/css-ui/_snackbar.scss +0 -181
  37. package/assets/style/css-ui/_split-button.scss +0 -74
  38. package/assets/style/css-ui/_status.scss +0 -83
  39. package/assets/style/css-ui/_stepper.scss +0 -113
  40. package/assets/style/css-ui/_table.scss +0 -323
  41. package/assets/style/css-ui/_tabs.scss +0 -189
  42. package/assets/style/css-ui/_tag.scss +0 -181
  43. package/assets/style/css-ui/_textarea.scss +0 -117
  44. package/assets/style/css-ui/_toggle.scss +0 -131
  45. package/assets/style/css-ui/_tooltip.scss +0 -134
  46. package/assets/style/css-ui/font-face.css +0 -43
  47. package/assets/style/css-ui/index.css +0 -4943
  48. package/assets/style/css-ui/index.css.map +0 -1
  49. package/assets/style/css-ui/index.scss +0 -39
@@ -1,323 +0,0 @@
1
- // Agorapulse Table Styles
2
- // Uses semantic HTML selectors — no classes needed on <th>, <td>, <tr>
3
-
4
- .ap-table {
5
- --ap-table-cell-height: 52px;
6
- --ap-table-cell-height-small: 40px;
7
-
8
- width: 100%;
9
- overflow-x: auto;
10
- font-family: var(--ref-font-family);
11
- border-radius: var(--ref-border-radius-md);
12
- border-collapse: separate;
13
- border-spacing: 0;
14
- background-color: var(--ref-color-white);
15
-
16
- tbody {
17
- height: calc(100% - var(--ap-table-cell-height));
18
- max-height: calc(100% - var(--ap-table-cell-height));
19
- width: 100%;
20
- overflow-y: auto;
21
- border-radius: var(--ref-border-radius-md);
22
- }
23
-
24
- // Scrollable table
25
- &.scrollable {
26
- display: block;
27
- table-layout: fixed;
28
-
29
- tbody {
30
- display: block;
31
- }
32
-
33
- thead,
34
- tbody tr,
35
- tfoot {
36
- display: table;
37
- width: 100%;
38
- table-layout: fixed;
39
- }
40
- }
41
-
42
- // Outer border variant
43
- &.outer-border {
44
- border: 1px solid var(--ref-color-grey-20);
45
- }
46
-
47
- // Header background variant
48
- &.header-background th {
49
- background-color: var(--ref-color-grey-05);
50
- }
51
-
52
- // Striped variant
53
- &.striped tbody {
54
- tr:nth-child(even) {
55
- background-color: var(--ref-color-grey-bg);
56
- }
57
-
58
- tr.selected {
59
- background-color: var(--ref-color-soft-blue-10);
60
- }
61
- }
62
-
63
- // Small variant
64
- &.small {
65
- th,
66
- td {
67
- height: var(--ap-table-cell-height-small);
68
- }
69
-
70
- tbody {
71
- height: calc(100% - var(--ap-table-cell-height-small));
72
- max-height: calc(100% - var(--ap-table-cell-height-small));
73
- }
74
-
75
- th.checkbox,
76
- td.checkbox {
77
- width: 36px;
78
- }
79
-
80
- th.drag,
81
- td.drag {
82
- width: 36px;
83
- }
84
- }
85
-
86
- // Border radius for last row when no footer
87
- &:not(:has(tfoot)) tbody tr:last-child {
88
- td:first-child {
89
- border-bottom-left-radius: var(--ref-border-radius-md);
90
- }
91
-
92
- td:last-child {
93
- border-bottom-right-radius: var(--ref-border-radius-md);
94
- }
95
- }
96
-
97
- // === Row styles — implicit tr ===
98
- tbody tr {
99
- background-color: var(--ref-color-white);
100
-
101
- &.selected {
102
- background-color: var(--ref-color-soft-blue-10);
103
- }
104
-
105
- &:last-child td {
106
- border-bottom: none;
107
- }
108
- }
109
-
110
- // === Header cells — implicit th ===
111
- th {
112
- height: var(--ap-table-cell-height);
113
- padding: var(--ref-spacing-xxs) var(--ref-spacing-xs);
114
- text-align: left;
115
- font-size: var(--ref-font-size-xs);
116
- font-weight: var(--ref-font-weight-bold);
117
- color: var(--ref-color-grey-100);
118
- border: none;
119
- border-bottom: 1px solid var(--ref-color-grey-10);
120
- background-color: var(--ref-color-white);
121
- position: sticky;
122
- top: 0;
123
- z-index: 1;
124
-
125
- &:first-child {
126
- border-top-left-radius: var(--ref-border-radius-md);
127
- }
128
-
129
- &:last-child {
130
- border-top-right-radius: var(--ref-border-radius-md);
131
- }
132
-
133
- &.right {
134
- text-align: right;
135
- }
136
-
137
- &.sortable {
138
- cursor: pointer;
139
-
140
- > i {
141
- opacity: 0;
142
- transition: opacity 0.15s ease;
143
- }
144
-
145
- &:hover > i {
146
- opacity: 1;
147
- }
148
- }
149
-
150
- &.sorted {
151
- color: var(--ref-color-electric-blue-150);
152
-
153
- > i {
154
- opacity: 1;
155
- }
156
- }
157
-
158
- &.checkbox {
159
- width: 40px;
160
- text-align: center;
161
- }
162
-
163
- &.drag {
164
- width: 40px;
165
- padding: 0;
166
- text-align: center;
167
- }
168
-
169
- // Header content — implicit > div
170
- > div {
171
- display: flex;
172
- align-items: center;
173
- gap: var(--ref-spacing-xxxs);
174
- }
175
-
176
- // Sort icon — implicit > i
177
- > i {
178
- width: 12px;
179
- height: 12px;
180
- flex-shrink: 0;
181
- }
182
- }
183
-
184
- // === Body cells — implicit td ===
185
- td {
186
- padding: 0 var(--ref-spacing-xs);
187
- font-size: var(--ref-font-size-sm);
188
- color: var(--ref-color-grey-100);
189
- border: none;
190
- border-bottom: 1px solid var(--ref-color-grey-10);
191
- height: var(--ap-table-cell-height);
192
- vertical-align: middle;
193
- font-family: var(--ref-font-family);
194
-
195
- &.right {
196
- text-align: right;
197
-
198
- .ap-table-cell-content {
199
- justify-content: flex-end;
200
- }
201
- }
202
-
203
- &.checkbox {
204
- width: 40px;
205
- text-align: center;
206
- }
207
-
208
- &.drag {
209
- width: 40px;
210
- padding: 0;
211
- text-align: center;
212
- }
213
- }
214
-
215
- // === Footer cells — implicit tfoot td ===
216
- tfoot td {
217
- padding: 0 var(--ref-spacing-xs);
218
- font-size: var(--ref-font-size-sm);
219
- color: var(--ref-color-grey-100);
220
- border: none;
221
- border-top: 1px solid var(--ref-color-grey-10);
222
- height: var(--ap-table-cell-height);
223
- vertical-align: middle;
224
- font-family: var(--ref-font-family);
225
- position: sticky;
226
- bottom: 0;
227
- z-index: 1;
228
- background-color: var(--ref-color-white);
229
-
230
- &.right {
231
- text-align: right;
232
-
233
- .ap-table-cell-content {
234
- justify-content: flex-end;
235
- }
236
- }
237
-
238
- &:first-child {
239
- border-bottom-left-radius: var(--ref-border-radius-md);
240
- }
241
-
242
- &:last-child {
243
- border-bottom-right-radius: var(--ref-border-radius-md);
244
- }
245
- }
246
- }
247
-
248
- // Cell content
249
- .ap-table-cell-content {
250
- display: flex;
251
- align-items: center;
252
- gap: var(--ref-spacing-xxs);
253
-
254
- &.items {
255
- flex-wrap: wrap;
256
- gap: var(--ref-spacing-xxxs);
257
- padding: var(--ref-spacing-xxs) 0;
258
- }
259
- }
260
-
261
- // Cell text container
262
- .ap-table-cell-text-container {
263
- display: flex;
264
- flex-direction: column;
265
- }
266
-
267
- // Cell text
268
- .ap-table-cell-text {
269
- color: var(--ref-color-grey-100);
270
- font-size: var(--ref-font-size-sm);
271
- line-height: var(--ref-line-height-sm);
272
-
273
- &.bold {
274
- font-weight: var(--ref-font-weight-bold);
275
- }
276
- }
277
-
278
- // Cell description
279
- .ap-table-cell-description {
280
- color: var(--ref-color-grey-80);
281
- font-size: var(--ref-font-size-xs);
282
- line-height: var(--ref-line-height-xs);
283
- }
284
-
285
- // Cell actions
286
- .ap-table-cell-actions {
287
- display: flex;
288
- align-items: center;
289
- justify-content: flex-end;
290
- gap: var(--ref-spacing-xxxs);
291
- }
292
-
293
- // Drag handle
294
- .ap-table-drag-handle {
295
- cursor: move;
296
- color: var(--ref-color-grey-40);
297
- }
298
-
299
- // Empty state
300
- .ap-table-empty {
301
- padding: var(--ref-spacing-xl);
302
- text-align: center;
303
- color: var(--ref-color-grey-60);
304
- font-size: var(--ref-font-size-sm);
305
- }
306
-
307
- // Loading state
308
- .ap-table-loading {
309
- position: relative;
310
-
311
- &::after {
312
- content: '';
313
- position: absolute;
314
- top: 0;
315
- left: 0;
316
- right: 0;
317
- bottom: 0;
318
- background-color: rgba(255, 255, 255, 0.7);
319
- display: flex;
320
- align-items: center;
321
- justify-content: center;
322
- }
323
- }
@@ -1,189 +0,0 @@
1
- // Agorapulse Tabs Styles
2
-
3
- .ap-tabs {
4
- display: flex;
5
- flex-direction: column;
6
- width: 100%;
7
-
8
- // Full width tabs
9
- &.full-width .ap-tabs-tab {
10
- flex: 1;
11
- }
12
-
13
- // Animated mode — use .ap-tabs-indicator instead of the static ::after underline.
14
- // Add this class on .ap-tabs and include a <div class="ap-tabs-indicator"> inside .ap-tabs-nav.
15
- // JS must set `width` and `transform: translateX(…)` on the indicator to match the active tab.
16
- &.animated .ap-tabs-tab.active::after {
17
- display: none;
18
- }
19
- }
20
-
21
- // Tabs navigation bar
22
- .ap-tabs-nav {
23
- display: flex;
24
- align-items: center;
25
- border-bottom: 1px solid var(--comp-tabs-border-color);
26
- position: relative;
27
-
28
- // Scrollable tabs
29
- &.scrollable {
30
- overflow-x: auto;
31
- scrollbar-width: none;
32
- -ms-overflow-style: none;
33
-
34
- &::-webkit-scrollbar {
35
- display: none;
36
- }
37
- }
38
- }
39
-
40
- // Individual tab button — flat structure, no wrappers needed
41
- .ap-tabs-tab {
42
- display: flex;
43
- align-items: center;
44
- justify-content: center;
45
- gap: var(--comp-tabs-tab-header-gap);
46
- background: transparent;
47
- border: none;
48
- cursor: pointer;
49
- font-family: var(--comp-tabs-text-font-family);
50
- text-align: center;
51
- position: relative;
52
- white-space: nowrap;
53
- padding: var(--comp-tabs-tab-padding);
54
- font-size: var(--comp-tabs-tab-font-size);
55
- line-height: var(--comp-tabs-tab-line-height);
56
- min-height: var(--comp-tabs-tab-min-height);
57
- color: var(--comp-tabs-tab-text-color-default);
58
- font-weight: var(--ref-font-weight-regular);
59
-
60
- // Icon — implicit > i
61
- > i {
62
- width: 16px;
63
- height: 16px;
64
- flex-shrink: 0;
65
- }
66
-
67
- // Hover state
68
- &:hover:not(:disabled):not(.active) {
69
- background-color: var(--comp-tabs-tab-hover-background-color);
70
- }
71
-
72
- // Focus state
73
- &:focus {
74
- outline: none;
75
- }
76
-
77
- &:focus-visible:not(.active) {
78
- outline: none;
79
- box-shadow: inset 0 0 0 2px var(--comp-tabs-tab-focus-color);
80
- border-radius: var(--comp-tabs-tab-focus-border-radius);
81
- background-color: var(--comp-tabs-tab-focus-background-color);
82
- }
83
-
84
- // Active/pressed state
85
- &:active:not(:disabled):not(.active) {
86
- background-color: var(--comp-tabs-tab-active-background-color);
87
- }
88
-
89
- // Disabled state
90
- &:disabled,
91
- &.disabled {
92
- cursor: not-allowed;
93
- color: var(--comp-tabs-tab-text-color-disabled);
94
- opacity: 0.5;
95
- }
96
-
97
- // Active tab
98
- &.active {
99
- color: var(--comp-tabs-tab-text-color-active);
100
- text-shadow: 0.5px 0 0 currentColor;
101
-
102
- // Blue underline — pure CSS, no JS positioning needed
103
- &::after {
104
- content: '';
105
- position: absolute;
106
- bottom: -1px;
107
- left: 0;
108
- right: 0;
109
- height: 4px;
110
- background-color: var(--comp-tabs-tab-active-indicator-color);
111
- }
112
-
113
- &:focus-visible {
114
- outline: none;
115
- box-shadow: inset 0 0 0 2px var(--comp-tabs-tab-focus-color);
116
- border-radius: var(--comp-tabs-tab-focus-border-radius);
117
- }
118
- }
119
-
120
- // Feature locked tab
121
- &.feature-locked {
122
- // Only the lock icon (last <i>) gets feature-lock color;
123
- // start icon inherits text color like in Angular
124
- > i:last-of-type {
125
- color: var(--comp-tabs-tab-feature-lock-color);
126
- }
127
-
128
- &:hover:not(:disabled):not(.active) {
129
- background-color: var(--comp-tabs-tab-feature-locked-hover-background-color);
130
- }
131
-
132
- &:focus-visible:not(.active) {
133
- color: var(--comp-tabs-tab-text-color-feature-locked-focus);
134
- background-color: var(--comp-tabs-tab-feature-locked-focus-background-color);
135
- }
136
-
137
- &:active:not(:disabled):not(.active) {
138
- background-color: var(--comp-tabs-tab-feature-locked-active-background-color);
139
- }
140
-
141
- &.active {
142
- color: var(--comp-tabs-tab-text-color-feature-locked-active);
143
- text-shadow: 0.5px 0 0 currentColor;
144
-
145
- &::after {
146
- background-color: var(--comp-tabs-tab-feature-locked-indicator-color);
147
- }
148
-
149
- &:focus-visible {
150
- outline: none;
151
- box-shadow: inset 0 0 0 2px var(--comp-tabs-tab-focus-color);
152
- border-radius: var(--comp-tabs-tab-focus-border-radius);
153
- }
154
- }
155
- }
156
- }
157
-
158
- // Active indicator (underline)
159
- .ap-tabs-indicator {
160
- position: absolute;
161
- bottom: -1px;
162
- height: 4px;
163
- background-color: var(--comp-tabs-tab-active-indicator-color);
164
- transition:
165
- transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
166
- width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
167
- background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
168
- transform-origin: left;
169
-
170
- &.feature-locked {
171
- background-color: var(--comp-tabs-tab-feature-locked-indicator-color);
172
- }
173
- }
174
-
175
- // Tab content panel
176
- .ap-tabs-content {
177
- flex: 1;
178
- width: 100%;
179
- }
180
-
181
- // Tab panel
182
- .ap-tabs-panel {
183
- display: none;
184
- padding: var(--ref-spacing-md) 0;
185
-
186
- &.active {
187
- display: block;
188
- }
189
- }
@@ -1,181 +0,0 @@
1
- // Agorapulse Tag Styles
2
- @use 'mixins' as m;
3
-
4
- .ap-tag {
5
- display: inline-flex;
6
- align-items: center;
7
- justify-content: center;
8
- height: var(--comp-tag-height);
9
- max-height: var(--comp-tag-height);
10
- box-sizing: border-box;
11
- border-width: 1px;
12
- border-style: solid;
13
- padding: 0 var(--comp-tag-padding-right) 0 var(--comp-tag-padding-left);
14
- border-radius: var(--comp-tag-border-radius);
15
- gap: var(--ref-spacing-xxxs);
16
- vertical-align: middle;
17
-
18
- // Text styles on container (span optional)
19
- font-size: var(--comp-tag-text-style-size);
20
- line-height: var(--comp-tag-text-style-line-height);
21
- font-weight: var(--comp-tag-text-style-font-weight);
22
- font-family: var(--comp-tag-text-style-font-family);
23
- white-space: nowrap;
24
- text-decoration: none;
25
-
26
- // Auto-detect close button — tighter right padding
27
- &:has(> button) {
28
- padding: 0 calc(var(--comp-tag-closable-padding-right) - 1px) 0 var(--comp-tag-padding-left);
29
- }
30
-
31
- // Mini size
32
- &.mini {
33
- height: var(--comp-tag-mini-height);
34
- padding: 0 var(--comp-tag-mini-padding-right) 0 var(--comp-tag-mini-padding-left);
35
- }
36
-
37
- // Text truncation — use > span when combined with a close button
38
- > span {
39
- max-width: 180px;
40
- @include m.truncate;
41
- }
42
-
43
- // Icon slot — implicit > i (for add icon or any free icon)
44
- > i {
45
- width: 12px;
46
- height: 12px;
47
- }
48
-
49
- // Close button with <i class="ap-icon-close"> inside
50
- > button {
51
- display: flex;
52
- justify-content: center;
53
- align-items: center;
54
- flex-shrink: 0;
55
- width: var(--comp-close-button-size);
56
- max-width: var(--comp-close-button-size);
57
- height: var(--comp-close-button-size);
58
- max-height: var(--comp-close-button-size);
59
- border-radius: 50%;
60
- background: transparent;
61
- border: none;
62
- padding: var(--comp-close-button-padding);
63
- outline: none;
64
- cursor: pointer;
65
- transition: background-color 0.25s;
66
-
67
- > i {
68
- width: 12px;
69
- height: 12px;
70
- }
71
-
72
- @media (hover: hover) {
73
- &:focus:not(:disabled):not(:active) {
74
- @include m.focus-ring;
75
- }
76
- }
77
-
78
- &:hover {
79
- background: var(--comp-close-button-hover-background);
80
- }
81
-
82
- &:active {
83
- background: var(--comp-close-button-active-background);
84
- outline: none;
85
- }
86
- }
87
-
88
- // button.ap-tag — focus ring for clickable tags
89
- &:is(button) {
90
- cursor: pointer;
91
-
92
- @media (hover: hover) {
93
- &:focus:not(:disabled):not(:active) {
94
- @include m.focus-ring;
95
- }
96
- }
97
- }
98
-
99
- // Color variants
100
- &.blue {
101
- background-color: var(--comp-tag-blue-background-color);
102
- border-color: var(--comp-tag-blue-border-color);
103
- color: var(--comp-tag-blue-text-color);
104
-
105
- > button {
106
- color: var(--comp-tag-blue-icon-color);
107
- }
108
- }
109
-
110
- &.grey {
111
- background-color: var(--comp-tag-grey-background-color);
112
- border-color: var(--comp-tag-grey-border-color);
113
- color: var(--comp-tag-grey-text-color);
114
-
115
- > button {
116
- color: var(--comp-tag-grey-icon-color);
117
- }
118
- }
119
-
120
- &.tagOrange {
121
- background-color: var(--comp-tag-tag-orange-background-color);
122
- border-color: var(--comp-tag-tag-orange-border-color);
123
- color: var(--comp-tag-tag-orange-text-color);
124
-
125
- > button {
126
- color: var(--comp-tag-tag-orange-icon-color);
127
- }
128
- }
129
-
130
- &.menthol {
131
- background-color: var(--comp-tag-menthol-background-color);
132
- border-color: var(--comp-tag-menthol-border-color);
133
- color: var(--comp-tag-menthol-text-color);
134
-
135
- > button {
136
- color: var(--comp-tag-menthol-icon-color);
137
- }
138
- }
139
-
140
- &.green {
141
- background-color: var(--comp-tag-green-background-color);
142
- border-color: var(--comp-tag-green-border-color);
143
- color: var(--comp-tag-green-text-color);
144
-
145
- > button {
146
- color: var(--comp-tag-green-icon-color);
147
- }
148
- }
149
-
150
- &.red {
151
- background-color: var(--comp-tag-red-background-color);
152
- border-color: var(--comp-tag-red-border-color);
153
- color: var(--comp-tag-red-text-color);
154
-
155
- > button {
156
- color: var(--comp-tag-red-icon-color);
157
- }
158
- }
159
- }
160
-
161
- // Tag avatar
162
- .ap-tag-avatar {
163
- --avatar-size: 16px;
164
-
165
- @include m.fixed-size(var(--avatar-size));
166
- border-radius: 100%;
167
- overflow: hidden;
168
-
169
- img {
170
- width: 100%;
171
- height: 100%;
172
- object-fit: cover;
173
- }
174
- }
175
-
176
- // Tag list container
177
- .ap-tag-list {
178
- display: flex;
179
- flex-wrap: wrap;
180
- gap: var(--ref-spacing-xxs);
181
- }