@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,73 +0,0 @@
1
- .ap-list-panel {
2
- background-color: var(--ref-color-white);
3
- border-right: 1px solid var(--ref-color-grey-10);
4
- display: flex;
5
- flex-direction: column;
6
- height: 100%;
7
- }
8
-
9
- .ap-list-panel-header {
10
- border-bottom: 1px solid var(--ref-color-grey-10);
11
- display: flex;
12
- flex-direction: column;
13
- gap: var(--ref-spacing-sm);
14
- padding: var(--ref-spacing-sm);
15
- }
16
-
17
- .ap-list-panel-items {
18
- display: flex;
19
- flex-direction: column;
20
- flex: 1 0 0;
21
- overflow-y: auto;
22
- padding: var(--ref-spacing-sm) 0;
23
- }
24
-
25
- .ap-list-panel-item {
26
- display: flex;
27
- align-items: center;
28
- min-height: 40px;
29
- padding: var(--ref-spacing-xxs) var(--ref-spacing-sm);
30
- gap: var(--ref-spacing-xxs);
31
- font-size: var(--ref-font-size-sm);
32
- line-height: var(--ref-font-line-height-sm);
33
- color: var(--ref-color-grey-100);
34
- cursor: pointer;
35
- transition: background-color var(--ref-animation-short);
36
-
37
- &:hover {
38
- background-color: var(--ref-color-electric-blue-10);
39
- }
40
-
41
- &.selected {
42
- background-color: var(--ref-color-electric-blue-20);
43
-
44
- .ap-list-panel-item-name {
45
- color: var(--ref-color-electric-blue-150);
46
- font-weight: var(--ref-font-weight-bold);
47
- }
48
- }
49
- }
50
-
51
- .ap-list-panel-item-text {
52
- display: flex;
53
- flex-direction: column;
54
- gap: 2px;
55
- flex: 1;
56
- min-width: 0;
57
- }
58
-
59
- .ap-list-panel-item-name {
60
- overflow: hidden;
61
- text-overflow: ellipsis;
62
- white-space: nowrap;
63
-
64
- &:has(+ .ap-list-panel-item-subtitle) {
65
- font-weight: var(--ref-font-weight-bold);
66
- }
67
- }
68
-
69
- .ap-list-panel-item-subtitle {
70
- font-size: var(--ref-font-size-xs);
71
- line-height: var(--ref-font-line-height-xs);
72
- color: var(--ref-color-grey-80);
73
- }
@@ -1,228 +0,0 @@
1
- // Agorapulse Loader Styles
2
- // SVG-based loader with CSS-driven geometry and animation
3
- // Usage: <div class="ap-loader orange size-48"><svg><circle/><circle/></svg></div>
4
- //
5
- // Zero attributes on SVG elements — all geometry, stroke, and animation in CSS.
6
- // Reproduces the Angular loader exactly: round caps, per-size dasharray, dual easing.
7
-
8
- .ap-loader {
9
- --_track: var(--ref-color-orange-40);
10
- --_color: var(--ref-color-orange-100);
11
-
12
- display: inline-block;
13
- position: relative;
14
- line-height: 0;
15
-
16
- svg {
17
- width: 100%;
18
- height: 100%;
19
- }
20
-
21
- circle {
22
- cx: 50%;
23
- cy: 50%;
24
- fill: transparent;
25
- stroke-linecap: round;
26
- transform: rotate(-90deg);
27
- transform-origin: center;
28
- }
29
-
30
- circle:first-child {
31
- stroke: var(--_track);
32
- }
33
-
34
- circle:last-child {
35
- stroke: var(--_color);
36
- }
37
-
38
- // Color variants
39
- &.blue {
40
- --_track: var(--ref-color-electric-blue-10);
41
- --_color: var(--ref-color-electric-blue-100);
42
- }
43
-
44
- &.orange {
45
- --_track: var(--ref-color-orange-40);
46
- --_color: var(--ref-color-orange-100);
47
- }
48
-
49
- &.grey {
50
- --_track: var(--ref-color-grey-20);
51
- --_color: var(--ref-color-grey-80);
52
- }
53
-
54
- // Size variants — r, stroke-width, dasharray from Angular source
55
- &.size-16 {
56
- width: 16px;
57
- height: 16px;
58
- circle {
59
- r: 6.5px;
60
- stroke-width: 3;
61
- stroke-dasharray: 40;
62
- stroke-dashoffset: 47;
63
- }
64
- circle:first-child {
65
- animation: ap-loader-16 1.5s cubic-bezier(0.42, 0, 0.78, 1) infinite;
66
- }
67
- circle:last-child {
68
- animation: ap-loader-16 1.5s cubic-bezier(0.42, 0, 0.58, 1) infinite;
69
- }
70
- }
71
-
72
- &.size-24 {
73
- width: 24px;
74
- height: 24px;
75
- circle {
76
- r: 10px;
77
- stroke-width: 4;
78
- stroke-dasharray: 62;
79
- stroke-dashoffset: 69;
80
- }
81
- circle:first-child {
82
- animation: ap-loader-24 1.5s cubic-bezier(0.42, 0, 0.78, 1) infinite;
83
- }
84
- circle:last-child {
85
- animation: ap-loader-24 1.5s cubic-bezier(0.42, 0, 0.58, 1) infinite;
86
- }
87
- }
88
-
89
- &.size-30 {
90
- width: 30px;
91
- height: 30px;
92
- circle {
93
- r: 12.5px;
94
- stroke-width: 5;
95
- stroke-dasharray: 78;
96
- stroke-dashoffset: 84;
97
- }
98
- circle:first-child {
99
- animation: ap-loader-30 1.5s cubic-bezier(0.42, 0, 0.78, 1) infinite;
100
- }
101
- circle:last-child {
102
- animation: ap-loader-30 1.5s cubic-bezier(0.42, 0, 0.58, 1) infinite;
103
- }
104
- }
105
-
106
- &.size-48 {
107
- width: 48px;
108
- height: 48px;
109
- circle {
110
- r: 20.5px;
111
- stroke-width: 7;
112
- stroke-dasharray: 128;
113
- stroke-dashoffset: 131;
114
- }
115
- circle:first-child {
116
- animation: ap-loader-48 1.5s cubic-bezier(0.42, 0, 0.78, 1) infinite;
117
- }
118
- circle:last-child {
119
- animation: ap-loader-48 1.5s cubic-bezier(0.42, 0, 0.58, 1) infinite;
120
- }
121
- }
122
-
123
- &.size-60 {
124
- width: 60px;
125
- height: 60px;
126
- circle {
127
- r: 26px;
128
- stroke-width: 8;
129
- stroke-dasharray: 163;
130
- stroke-dashoffset: 166;
131
- }
132
- circle:first-child {
133
- animation: ap-loader-60 1.5s cubic-bezier(0.42, 0, 0.78, 1) infinite;
134
- }
135
- circle:last-child {
136
- animation: ap-loader-60 1.5s cubic-bezier(0.42, 0, 0.58, 1) infinite;
137
- }
138
- }
139
- }
140
-
141
- // Keyframes per size — exact Angular stroke-dashoffset values
142
- // 0%: full dashoffset (invisible) → 50%: ~55% mark (arc visible) → 100%: back to full + 630deg rotation
143
-
144
- @keyframes ap-loader-16 {
145
- 0% {
146
- stroke-dashoffset: 47;
147
- }
148
- 50% {
149
- stroke-dashoffset: 25;
150
- }
151
- 100% {
152
- stroke-dashoffset: 47;
153
- transform: rotate(630deg);
154
- }
155
- }
156
-
157
- @keyframes ap-loader-24 {
158
- 0% {
159
- stroke-dashoffset: 69;
160
- }
161
- 50% {
162
- stroke-dashoffset: 37;
163
- }
164
- 100% {
165
- stroke-dashoffset: 69;
166
- transform: rotate(630deg);
167
- }
168
- }
169
-
170
- @keyframes ap-loader-30 {
171
- 0% {
172
- stroke-dashoffset: 84;
173
- }
174
- 50% {
175
- stroke-dashoffset: 46;
176
- }
177
- 100% {
178
- stroke-dashoffset: 84;
179
- transform: rotate(630deg);
180
- }
181
- }
182
-
183
- @keyframes ap-loader-48 {
184
- 0% {
185
- stroke-dashoffset: 131;
186
- }
187
- 50% {
188
- stroke-dashoffset: 72;
189
- }
190
- 100% {
191
- stroke-dashoffset: 131;
192
- transform: rotate(630deg);
193
- }
194
- }
195
-
196
- @keyframes ap-loader-60 {
197
- 0% {
198
- stroke-dashoffset: 166;
199
- }
200
- 50% {
201
- stroke-dashoffset: 91;
202
- }
203
- 100% {
204
- stroke-dashoffset: 166;
205
- transform: rotate(630deg);
206
- }
207
- }
208
-
209
- // Loader container for centered display
210
- .ap-loader-container {
211
- display: flex;
212
- align-items: center;
213
- justify-content: center;
214
- }
215
-
216
- // Full page loader overlay
217
- .ap-loader-overlay {
218
- position: fixed;
219
- top: 0;
220
- left: 0;
221
- right: 0;
222
- bottom: 0;
223
- display: flex;
224
- align-items: center;
225
- justify-content: center;
226
- background: rgba(255, 255, 255, 0.8);
227
- z-index: 9999;
228
- }
@@ -1,50 +0,0 @@
1
- // Shared mixins for css-ui components
2
-
3
- // Focus ring standard
4
- @mixin focus-ring {
5
- outline: 2px solid var(--ref-color-electric-blue-100);
6
- outline-offset: 1px;
7
- }
8
-
9
- // Focus ring with 3px width (checkbox, radio)
10
- @mixin focus-ring-3px {
11
- outline: 3px solid var(--ref-color-electric-blue-100);
12
- outline-offset: 1px;
13
- }
14
-
15
- // Visually hidden, accessible to screen readers
16
- @mixin sr-only {
17
- position: absolute;
18
- clip: rect(0, 0, 0, 0);
19
- width: 1px;
20
- height: 1px;
21
- margin: -1px;
22
- padding: 0;
23
- border: 0;
24
- overflow: hidden;
25
- }
26
-
27
- // Truncate text with ellipsis
28
- @mixin truncate {
29
- white-space: nowrap;
30
- overflow: hidden;
31
- text-overflow: ellipsis;
32
- }
33
-
34
- // Fixed size (width + height + min + max)
35
- @mixin fixed-size($size) {
36
- width: $size;
37
- height: $size;
38
- min-width: $size;
39
- min-height: $size;
40
- max-width: $size;
41
- max-height: $size;
42
- }
43
-
44
- // Text-style shorthand
45
- @mixin text-style($name) {
46
- font-family: var(--sys-text-style-#{$name}-font-family);
47
- font-size: var(--sys-text-style-#{$name}-size);
48
- font-weight: var(--sys-text-style-#{$name}-weight);
49
- line-height: var(--sys-text-style-#{$name}-line-height);
50
- }
@@ -1,177 +0,0 @@
1
- // Agorapulse Pagination Styles
2
- @use 'mixins' as m;
3
- @use 'ui-symbol/icons/build/ap-icons-data' as icons;
4
-
5
- .ap-pagination {
6
- --paginator-button-size: 36px;
7
-
8
- display: flex;
9
- align-items: center;
10
- gap: var(--ref-spacing-lg);
11
- width: 100%;
12
- justify-content: space-between;
13
-
14
- // Item count display — implicit > span
15
- > span {
16
- font-weight: var(--ref-font-weight-regular);
17
- font-size: var(--ref-font-size-sm);
18
- line-height: var(--ref-line-height-sm);
19
- color: var(--ref-color-grey-60);
20
- white-space: nowrap;
21
- }
22
- }
23
-
24
- // Page numbers container (includes nav buttons + page buttons)
25
- .ap-pagination-pages {
26
- display: flex;
27
- align-items: center;
28
- justify-self: center;
29
- color: var(--ref-color-electric-blue-100);
30
- gap: var(--ref-spacing-xxxs);
31
- }
32
-
33
- // Navigation buttons (prev/next)
34
- .ap-pagination-nav {
35
- display: grid;
36
- place-content: center;
37
- @include m.fixed-size(var(--paginator-button-size));
38
- border-radius: var(--ref-border-radius-sm);
39
- background: transparent;
40
- border: none;
41
- color: var(--ref-color-electric-blue-100);
42
- padding: 0;
43
-
44
- &:not(:disabled) {
45
- cursor: pointer;
46
- }
47
-
48
- &:disabled {
49
- pointer-events: none;
50
- color: var(--ref-color-grey-40);
51
- }
52
-
53
- &:hover:not(:disabled) {
54
- background: var(--ref-color-electric-blue-10);
55
- }
56
-
57
- &:active:not(:disabled) {
58
- background: var(--ref-color-electric-blue-20);
59
- }
60
-
61
- @media (hover: hover) {
62
- &:focus:not(:disabled):not(:active) {
63
- @include m.focus-ring;
64
- }
65
- }
66
-
67
- // Nav icon — implicit > i
68
- > i {
69
- width: 16px;
70
- height: 16px;
71
- }
72
-
73
- // Arrow icon via ::before (no <i> needed)
74
- &::before {
75
- @include icons.icon-base;
76
- width: 16px;
77
- height: 16px;
78
- }
79
- }
80
-
81
- // Arrow direction by position — first nav = left, last nav = right
82
- .ap-pagination-pages > .ap-pagination-nav:first-child::before {
83
- @include icons.icon('arrow-left');
84
- }
85
-
86
- .ap-pagination-pages > .ap-pagination-nav:last-child::before {
87
- @include icons.icon('arrow-right');
88
- }
89
-
90
- // Individual page button
91
- .ap-pagination-page {
92
- @include m.fixed-size(var(--paginator-button-size));
93
- border-radius: var(--ref-border-radius-sm);
94
- background: transparent;
95
- display: flex;
96
- align-items: center;
97
- justify-content: center;
98
- border: none;
99
- box-sizing: border-box;
100
- color: var(--ref-color-electric-blue-100);
101
- font-family: var(--ref-font-family);
102
- font-weight: var(--ref-font-weight-regular);
103
- font-size: var(--ref-font-size-sm);
104
- line-height: var(--ref-line-height-sm);
105
- padding: 0;
106
-
107
- &:hover:not(.active) {
108
- cursor: pointer;
109
- background-color: var(--ref-color-electric-blue-10);
110
- }
111
-
112
- @media (hover: hover) {
113
- &:focus:not(.disabled):not(:active) {
114
- @include m.focus-ring;
115
- }
116
- }
117
-
118
- &:active:not(.active) {
119
- background-color: var(--ref-color-electric-blue-20);
120
- }
121
-
122
- &.active {
123
- background-color: var(--ref-color-electric-blue-100);
124
- color: var(--ref-color-white);
125
- cursor: default;
126
- }
127
- }
128
-
129
- // Ellipsis — text injected via ::before (no inner text needed)
130
- .ap-pagination-ellipsis {
131
- display: inline-block;
132
- width: var(--paginator-button-size);
133
- line-height: var(--paginator-button-size);
134
- text-align: center;
135
- color: var(--ref-color-grey-60);
136
- font-family: var(--ref-font-family);
137
- font-size: var(--ref-font-size-sm);
138
-
139
- &::before {
140
- content: '...';
141
- }
142
- }
143
-
144
- // Go to page section
145
- .ap-pagination-goto {
146
- display: flex;
147
- align-items: center;
148
- gap: var(--ref-spacing-xs);
149
-
150
- // Label — implicit > span
151
- > span {
152
- font-weight: var(--ref-font-weight-standard);
153
- font-size: var(--ref-font-size-sm);
154
- line-height: var(--ref-line-height-sm);
155
- color: var(--ref-color-grey-60);
156
- white-space: nowrap;
157
- }
158
-
159
- // Input — implicit > input
160
- > input {
161
- box-sizing: border-box;
162
- background: var(--ref-color-white);
163
- width: 48px;
164
- height: var(--paginator-button-size);
165
- border-radius: var(--ref-border-radius-sm);
166
- border: 1px solid var(--ref-color-grey-20);
167
- padding: var(--ref-spacing-xs) var(--ref-spacing-sm);
168
- font-family: var(--ref-font-family);
169
- font-size: var(--ref-font-size-sm);
170
- text-align: center;
171
-
172
- &:focus {
173
- outline: none;
174
- border-color: var(--ref-color-electric-blue-100);
175
- }
176
- }
177
- }