@agorapulse/ui-theme 22.0.8 → 22.0.9

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 (45) hide show
  1. package/agorapulse-ui-theme-22.0.9.tgz +0 -0
  2. package/assets/style/{css-ui/_helpers.scss → _helpers.scss} +5 -10
  3. package/assets/style/{css-ui/_typography.scss → _typography.scss} +8 -41
  4. package/assets/style/theme.scss +2 -2
  5. package/package.json +2 -9
  6. package/agorapulse-ui-theme-22.0.8.tgz +0 -0
  7. package/assets/style/css-ui/_accordion.scss +0 -56
  8. package/assets/style/css-ui/_action-dropdown.scss +0 -163
  9. package/assets/style/css-ui/_avatar-group.scss +0 -61
  10. package/assets/style/css-ui/_avatar.scss +0 -191
  11. package/assets/style/css-ui/_badge.scss +0 -28
  12. package/assets/style/css-ui/_button.scss +0 -265
  13. package/assets/style/css-ui/_card.scss +0 -17
  14. package/assets/style/css-ui/_checkbox.scss +0 -191
  15. package/assets/style/css-ui/_counter.scss +0 -76
  16. package/assets/style/css-ui/_datepicker.scss +0 -309
  17. package/assets/style/css-ui/_dialog.scss +0 -74
  18. package/assets/style/css-ui/_dot-stepper.scss +0 -68
  19. package/assets/style/css-ui/_icon-button.scss +0 -200
  20. package/assets/style/css-ui/_infobox.scss +0 -181
  21. package/assets/style/css-ui/_input.scss +0 -128
  22. package/assets/style/css-ui/_label.scss +0 -95
  23. package/assets/style/css-ui/_link.scss +0 -86
  24. package/assets/style/css-ui/_list-panel.scss +0 -73
  25. package/assets/style/css-ui/_loader.scss +0 -228
  26. package/assets/style/css-ui/_mixins.scss +0 -50
  27. package/assets/style/css-ui/_pagination.scss +0 -177
  28. package/assets/style/css-ui/_radio-card.scss +0 -200
  29. package/assets/style/css-ui/_radio.scss +0 -106
  30. package/assets/style/css-ui/_select.scss +0 -658
  31. package/assets/style/css-ui/_selection-dropdown.scss +0 -183
  32. package/assets/style/css-ui/_snackbar.scss +0 -181
  33. package/assets/style/css-ui/_split-button.scss +0 -74
  34. package/assets/style/css-ui/_status.scss +0 -83
  35. package/assets/style/css-ui/_stepper.scss +0 -113
  36. package/assets/style/css-ui/_table.scss +0 -323
  37. package/assets/style/css-ui/_tabs.scss +0 -189
  38. package/assets/style/css-ui/_tag.scss +0 -181
  39. package/assets/style/css-ui/_textarea.scss +0 -117
  40. package/assets/style/css-ui/_toggle.scss +0 -131
  41. package/assets/style/css-ui/_tooltip.scss +0 -134
  42. package/assets/style/css-ui/font-face.css +0 -43
  43. package/assets/style/css-ui/index.css +0 -4943
  44. package/assets/style/css-ui/index.css.map +0 -1
  45. package/assets/style/css-ui/index.scss +0 -39
@@ -1,265 +0,0 @@
1
- // Agorapulse Button Styles
2
- @use 'mixins' as m;
3
- @use '../button-mixins' as btn;
4
-
5
- @keyframes slide {
6
- 0% {
7
- left: calc(var(--comp-button-padding-vertical) * -1 - 50px);
8
- }
9
- 100% {
10
- left: 100%;
11
- }
12
- }
13
-
14
- .ap-button {
15
- border: none;
16
- border-radius: var(--comp-button-border-radius);
17
- padding: var(--comp-button-padding-horizontal) var(--comp-button-padding-vertical);
18
- position: relative;
19
- overflow: hidden;
20
- display: flex;
21
- justify-content: center;
22
- align-items: center;
23
- gap: var(--comp-split-button-spacing);
24
- font-size: var(--comp-button-text-size);
25
- font-family: var(--comp-button-text-font-family);
26
- line-height: var(--comp-button-text-line-height);
27
- font-weight: var(--comp-button-text-weight);
28
- max-height: var(--comp-button-height);
29
- min-height: var(--comp-button-height);
30
- white-space: nowrap;
31
- text-overflow: ellipsis;
32
-
33
- &:not(:disabled):not(.loading):hover {
34
- cursor: pointer;
35
- }
36
-
37
- &:disabled {
38
- pointer-events: none;
39
- }
40
-
41
- &.loading {
42
- pointer-events: none;
43
- }
44
-
45
- &:focus:not(:disabled):not(:active):not(.loading) {
46
- @include m.focus-ring;
47
- }
48
-
49
- // Primary variants
50
- &.primary {
51
- color: var(--ref-color-white);
52
-
53
- &.orange {
54
- @include btn.btn-primary-color('orange');
55
- }
56
-
57
- &.blue {
58
- @include btn.btn-primary-color('electric-blue');
59
- }
60
- }
61
-
62
- // Secondary variants
63
- &.secondary {
64
- &.orange {
65
- @include btn.btn-secondary-color('orange');
66
- }
67
-
68
- &.blue {
69
- @include btn.btn-secondary-color('electric-blue');
70
- }
71
- }
72
-
73
- // Ghost variants
74
- &.ghost {
75
- background: transparent;
76
-
77
- &.grey {
78
- @include btn.btn-ghost-color('grey', $text-color-shade: 80, $hover-bg-shade: '05', $active-bg-shade: 10);
79
- }
80
-
81
- &.blue {
82
- @include btn.btn-ghost-color('electric-blue');
83
- }
84
-
85
- &.red {
86
- @include btn.btn-ghost-color('red');
87
- }
88
-
89
- &.green {
90
- @include btn.btn-ghost-color('green');
91
- }
92
- }
93
-
94
- // Stroked variants
95
- &.stroked {
96
- background: var(--ref-color-white);
97
-
98
- &.grey {
99
- border: 1px solid var(--ref-color-grey-20);
100
- @include btn.btn-stroked-color(
101
- 'grey',
102
- $text-color-shade: 80,
103
- $border-color-shade: 20,
104
- $hover-border-shade: 40,
105
- $active-border-shade: 60,
106
- $focus-border-shade: 20
107
- );
108
- }
109
-
110
- &.blue {
111
- border: 1px solid var(--ref-color-electric-blue-60);
112
- @include btn.btn-stroked-color('electric-blue');
113
- }
114
-
115
- &.red {
116
- border: 1px solid var(--ref-color-red-60);
117
- @include btn.btn-stroked-color('red');
118
- }
119
- }
120
-
121
- // Transparent variant
122
- &.transparent {
123
- background: transparent;
124
- }
125
-
126
- // Mermaid variant
127
- &.mermaid {
128
- background: linear-gradient(90deg, #578fff 0%, #df52ff 100%);
129
- color: var(--ref-color-grey-100);
130
- position: relative;
131
- z-index: 1;
132
-
133
- &::after {
134
- content: '';
135
- position: absolute;
136
- top: 1px;
137
- left: 1px;
138
- right: 1px;
139
- bottom: 1px;
140
- background: var(--ref-color-white);
141
- border-radius: calc(var(--ref-border-radius-sm) - 1px);
142
- z-index: -1;
143
- pointer-events: none;
144
- }
145
-
146
- > *:not(.ap-loading-bar) {
147
- position: relative;
148
- z-index: 1;
149
- }
150
-
151
- &:hover:not(:disabled):not(.loading)::after {
152
- background: var(--ref-color-mermaid-10);
153
- }
154
-
155
- &:active:not(:disabled):not(.loading)::after {
156
- background: var(--ref-color-mermaid-20);
157
- }
158
-
159
- &:disabled {
160
- background: linear-gradient(90deg, var(--ref-color-mermaid-gradient-from40) 0%, var(--ref-color-mermaid-gradient-to40) 100%);
161
- color: var(--ref-color-grey-20);
162
- }
163
-
164
- &.loading {
165
- background: linear-gradient(90deg, var(--ref-color-mermaid-gradient-from40) 0%, var(--ref-color-mermaid-gradient-to40) 100%);
166
- color: var(--ref-color-grey-40);
167
- }
168
-
169
- .ap-loading-bar {
170
- background: linear-gradient(90deg, var(--ref-color-mermaid-gradient-from) 0%, var(--ref-color-mermaid-gradient-to) 100%);
171
- z-index: 2;
172
- }
173
- }
174
-
175
- // Locked variant
176
- &.locked {
177
- overflow: visible;
178
- background-color: var(--ref-color-purple-10);
179
- color: var(--ref-color-purple-80);
180
-
181
- &:hover:not(:disabled):not(.loading) {
182
- background-color: var(--ref-color-purple-20);
183
- }
184
-
185
- &:active:not(:disabled):not(.loading) {
186
- background-color: var(--ref-color-purple-40);
187
- }
188
- }
189
-
190
- // Loading bar colors per variant
191
- &.primary.orange .ap-loading-bar {
192
- background-color: var(--ref-color-orange-100);
193
- }
194
-
195
- &.primary.blue .ap-loading-bar {
196
- background-color: var(--ref-color-electric-blue-100);
197
- }
198
-
199
- &.secondary.orange .ap-loading-bar {
200
- background-color: var(--ref-color-orange-100);
201
- }
202
-
203
- &.secondary.blue .ap-loading-bar {
204
- background-color: var(--ref-color-electric-blue-100);
205
- }
206
-
207
- &.ghost.grey .ap-loading-bar,
208
- &.stroked.grey .ap-loading-bar {
209
- background-color: var(--ref-color-grey-80);
210
- }
211
-
212
- &.ghost.blue .ap-loading-bar,
213
- &.stroked.blue .ap-loading-bar {
214
- background-color: var(--ref-color-electric-blue-100);
215
- }
216
-
217
- &.ghost.red .ap-loading-bar,
218
- &.stroked.red .ap-loading-bar {
219
- background-color: var(--ref-color-red-100);
220
- }
221
-
222
- &.ghost.green .ap-loading-bar {
223
- background-color: var(--ref-color-green-100);
224
- }
225
- }
226
-
227
- // Icon sizing: explicit class or implicit > i
228
- .ap-button-icon {
229
- @include m.fixed-size(16px);
230
- }
231
-
232
- .ap-button > i {
233
- @include m.fixed-size(16px);
234
- flex-shrink: 0;
235
- }
236
-
237
- // Loading bar
238
- .ap-loading-bar {
239
- position: absolute;
240
- bottom: 0;
241
- left: var(--comp-button-padding-vertical);
242
- width: 50px;
243
- height: 5px;
244
- border-radius: 8px;
245
- animation: slide 1.5s ease-in-out infinite;
246
- }
247
-
248
- // Locked icon — lives inside .ap-button.locked or .ap-icon-button.locked, no wrapper needed
249
- .ap-button.locked > .ap-locked-symbol,
250
- .ap-icon-button.locked > .ap-locked-symbol {
251
- position: absolute;
252
- top: -6px;
253
- right: -6px;
254
- display: flex;
255
- align-items: center;
256
- justify-content: center;
257
- padding: 1px;
258
- border-radius: 100%;
259
- background: var(--ref-color-white);
260
- pointer-events: none;
261
-
262
- > i {
263
- color: var(--ref-color-purple-100);
264
- }
265
- }
@@ -1,17 +0,0 @@
1
- .ap-card {
2
- background-color: var(--ref-color-white);
3
- border: 1px solid var(--ref-color-grey-10);
4
- border-radius: var(--ref-border-radius-md);
5
- display: flex;
6
- flex-direction: column;
7
- gap: var(--ref-spacing-sm);
8
- padding: var(--ref-spacing-sm);
9
- }
10
-
11
- .ap-card-title {
12
- font-size: var(--ref-font-size-md);
13
- font-weight: var(--ref-font-weight-bold);
14
- line-height: var(--ref-font-line-height-lg);
15
- color: var(--ref-color-grey-100);
16
- margin: 0;
17
- }
@@ -1,191 +0,0 @@
1
- // Agorapulse Checkbox Styles
2
- @use 'mixins' as m;
3
-
4
- .ap-checkbox-container {
5
- display: flex;
6
- align-items: center;
7
- gap: var(--ref-spacing-xxs);
8
- cursor: pointer;
9
-
10
- // Hide native checkbox input (accessible)
11
- > input[type='checkbox'] {
12
- @include m.sr-only;
13
- }
14
-
15
- &.full-width {
16
- justify-content: space-between;
17
- width: 100%;
18
- }
19
-
20
- // No-label variant: larger hit area with background feedback
21
- &:not(:has(> span:not(:empty))) {
22
- padding: 10px;
23
- border-radius: var(--ref-border-radius-md);
24
- transition: background-color 0.15s;
25
-
26
- // Hover: grey background
27
- &:hover:not(:has(input:disabled)) {
28
- background: var(--ref-color-grey-05);
29
- }
30
-
31
- // Checked hover: blue background
32
- &:hover:not(:has(input:disabled)):has(input:checked),
33
- &:hover:not(:has(input:disabled)).indeterminate {
34
- background: var(--ref-color-electric-blue-10);
35
- }
36
-
37
- // Checked active: darker blue background
38
- &:active:not(:has(input:disabled)):has(input:checked),
39
- &:active:not(:has(input:disabled)).indeterminate {
40
- background: var(--ref-color-electric-blue-20);
41
- }
42
- }
43
-
44
- // Disabled container
45
- &:has(input:disabled) {
46
- cursor: default;
47
- }
48
-
49
- // Checkbox box — <i> element (hosts ::before dash + ::after checkmark)
50
- > i {
51
- display: flex;
52
- justify-content: center;
53
- align-items: center;
54
- @include m.fixed-size(16px);
55
- border-radius: var(--sys-border-radius-sm);
56
- border: 1px solid var(--ref-color-grey-60);
57
- background: var(--ref-color-white);
58
- box-sizing: border-box;
59
- flex-shrink: 0;
60
- transition:
61
- background-color 0.15s,
62
- border-color 0.15s;
63
-
64
- // Checkmark via CSS (no inline SVG needed)
65
- &::after {
66
- content: '';
67
- display: none;
68
- width: 10px;
69
- height: 10px;
70
- mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M14.238 3.337a.92.92 0 0 1 .025 1.301l-7.7 8a.92.92 0 0 1-1.326 0l-3.5-3.636a.92.92 0 1 1 1.326-1.276L5.9 10.674l7.037-7.312a.92.92 0 0 1 1.301-.025' clip-rule='evenodd' fill='white'/%3E%3C/svg%3E");
71
- mask-size: contain;
72
- mask-repeat: no-repeat;
73
- background-color: var(--ref-color-white);
74
- }
75
-
76
- // Indeterminate dash via CSS
77
- &::before {
78
- content: '';
79
- display: none;
80
- width: 8px;
81
- height: 1.5px;
82
- background: var(--ref-color-white);
83
- }
84
- }
85
-
86
- // Hover state
87
- &:hover:not(:has(input:disabled)) > i {
88
- border-color: var(--ref-color-grey-80);
89
- }
90
-
91
- // Active state
92
- &:active:not(:has(input:disabled)) > i {
93
- border-color: var(--ref-color-grey-100);
94
- }
95
-
96
- // Checked state — show checkmark
97
- &:has(input:checked) > i {
98
- background: var(--ref-color-electric-blue-100);
99
- border-color: var(--ref-color-electric-blue-100);
100
-
101
- &::after {
102
- display: block;
103
- }
104
- }
105
-
106
- // Checked hover
107
- &:hover:not(:has(input:disabled)):has(input:checked) > i {
108
- background: var(--ref-color-electric-blue-80);
109
- border-color: var(--ref-color-electric-blue-100);
110
- }
111
-
112
- // Checked active
113
- &:active:not(:has(input:disabled)):has(input:checked) > i {
114
- background: var(--ref-color-electric-blue-60);
115
- border-color: var(--ref-color-electric-blue-100);
116
- }
117
-
118
- // Disabled state
119
- &:has(input:disabled) > i {
120
- background: var(--ref-color-grey-10);
121
- border-color: var(--ref-color-grey-20);
122
- pointer-events: none;
123
- }
124
-
125
- // Disabled + checked
126
- &:has(input:disabled:checked) > i {
127
- background: var(--ref-color-grey-20);
128
- border-color: var(--ref-color-grey-20);
129
- }
130
-
131
- // Indeterminate state (class on container)
132
- &.indeterminate > i {
133
- background: var(--ref-color-electric-blue-100);
134
- border-color: var(--ref-color-electric-blue-100);
135
-
136
- &::before {
137
- display: block;
138
- }
139
- }
140
-
141
- // Indeterminate hover
142
- &.indeterminate:hover:not(:has(input:disabled)) > i {
143
- background: var(--ref-color-electric-blue-80);
144
- border-color: var(--ref-color-electric-blue-100);
145
- }
146
-
147
- // Indeterminate disabled
148
- &.indeterminate:has(input:disabled) > i {
149
- background: var(--ref-color-grey-20);
150
- border-color: var(--ref-color-grey-20);
151
- }
152
-
153
- // Focus ring (any focus on hover-capable devices, matching original component)
154
- @media (hover: hover) {
155
- &:has(input:focus:not(:disabled)) > i {
156
- @include m.focus-ring-3px;
157
- }
158
- }
159
-
160
- // Error state
161
- &.error > i {
162
- border-color: var(--ref-color-red-100);
163
- }
164
-
165
- // Label — direct span child
166
- > span {
167
- display: flex;
168
- align-items: center;
169
- font-family: var(--comp-forms-label-font-family);
170
- font-size: var(--comp-forms-label-size);
171
- font-weight: var(--comp-forms-label-font-weight);
172
- line-height: var(--comp-forms-label-line-height);
173
- color: var(--comp-forms-label-text-color);
174
- user-select: none;
175
-
176
- &:empty {
177
- display: none;
178
- }
179
- }
180
-
181
- // Label: disabled
182
- &:has(input:disabled) > span {
183
- color: var(--ref-color-grey-60);
184
- cursor: default;
185
- }
186
-
187
- // Bold modifier
188
- &.bold > span {
189
- font-weight: var(--ref-font-weight-bold);
190
- }
191
- }
@@ -1,76 +0,0 @@
1
- // Agorapulse Counter Styles
2
-
3
- .ap-counter {
4
- display: inline-flex;
5
- align-items: center;
6
- justify-content: center;
7
- width: fit-content;
8
- border-radius: var(--comp-counter-border-radius);
9
- padding: 0 2px;
10
- box-sizing: border-box;
11
-
12
- // Normal size (default)
13
- &.normal {
14
- font-weight: var(--comp-counter-text-style-font-weight);
15
- font-family: var(--comp-counter-text-style-font-family);
16
- line-height: var(--comp-counter-text-style-line-height);
17
- font-size: var(--comp-counter-text-style-size);
18
- height: var(--comp-counter-height);
19
- max-height: var(--comp-counter-height);
20
- }
21
-
22
- // Big size
23
- &.big {
24
- font-weight: var(--comp-counter-big-text-style-font-weight);
25
- font-family: var(--comp-counter-big-text-style-font-family);
26
- line-height: var(--comp-counter-big-text-style-line-height);
27
- font-size: var(--comp-counter-big-text-style-size);
28
- height: var(--comp-counter-big-height);
29
- max-height: var(--comp-counter-big-height);
30
- }
31
-
32
- // Blue color (background by default)
33
- &.blue {
34
- color: var(--comp-counter-blue-color);
35
- background-color: var(--comp-counter-blue-with-background-background-color);
36
-
37
- &.no-bg {
38
- background-color: transparent;
39
- }
40
- }
41
-
42
- // Orange color (background by default)
43
- &.orange {
44
- color: var(--comp-counter-orange-with-background-color);
45
- background-color: var(--comp-counter-orange-with-background-background-color);
46
-
47
- &.no-bg {
48
- color: var(--comp-counter-orange-color);
49
- background-color: transparent;
50
- }
51
- }
52
-
53
- // Grey color (background by default)
54
- &.grey {
55
- color: var(--comp-counter-grey-color);
56
- background-color: var(--comp-counter-grey-with-background-background-color);
57
-
58
- &.no-bg {
59
- background-color: transparent;
60
- }
61
- }
62
-
63
- // Notification style
64
- &.notif {
65
- padding: 0 4px;
66
- border-radius: var(--comp-counter-notif-border-radius);
67
- font-size: var(--comp-counter-text-style-size);
68
- font-weight: var(--comp-counter-text-style-font-weight);
69
- font-family: var(--comp-counter-text-style-font-family);
70
- line-height: var(--comp-counter-text-style-line-height);
71
- min-width: var(--comp-counter-notif-min-width);
72
- height: var(--comp-counter-notif-min-width);
73
- color: var(--comp-counter-notif-color);
74
- background-color: var(--comp-counter-notif-background-color);
75
- }
76
- }