@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,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
- }
@@ -1,200 +0,0 @@
1
- // Agorapulse Radio Button Card Styles
2
- @use 'mixins' as m;
3
-
4
- .ap-radio-card {
5
- display: flex;
6
- align-items: flex-start;
7
- gap: var(--ref-spacing-xxs);
8
- cursor: pointer;
9
- position: relative;
10
- box-sizing: border-box;
11
-
12
- // Hide native radio input (accessible)
13
- > input[type='radio'] {
14
- @include m.sr-only;
15
- }
16
-
17
- // Radio indicator — ::before pseudo-element (no empty span needed)
18
- &::before {
19
- content: '';
20
- @include m.fixed-size(16px);
21
- border-radius: 100%;
22
- border: 1px solid var(--ref-color-grey-60);
23
- background: var(--ref-color-electric-blue-100);
24
- box-shadow: inset 0 0 0 16px var(--ref-color-white);
25
- transition: box-shadow var(--comp-radio-transition-duration);
26
- flex-shrink: 0;
27
- box-sizing: border-box;
28
- margin-top: 1px;
29
- }
30
-
31
- // Indicator: checked
32
- &:has(input:checked)::before {
33
- border-color: var(--ref-color-electric-blue-100);
34
- box-shadow: inset 0 0 0 3px var(--ref-color-white);
35
- }
36
-
37
- // Indicator: disabled
38
- &:has(input:disabled)::before {
39
- box-shadow: inset 0 0 0 16px var(--ref-color-grey-10);
40
- border-color: var(--ref-color-grey-40);
41
- opacity: 0.6;
42
- }
43
-
44
- // Indicator: disabled + checked
45
- &:has(input:disabled:checked)::before {
46
- background: var(--ref-color-grey-40);
47
- box-shadow: inset 0 0 0 3px var(--ref-color-grey-10);
48
- border-color: var(--ref-color-grey-40);
49
- }
50
-
51
- // Indicator: hover (not disabled, not locked)
52
- &:hover:not(:has(input:disabled)):not(.locked)::before {
53
- border-color: var(--ref-color-grey-80);
54
- }
55
-
56
- // Indicator: hover + checked
57
- &:hover:not(:has(input:disabled)):not(.locked):has(input:checked)::before {
58
- border-color: var(--ref-color-electric-blue-100);
59
- }
60
-
61
- // Indicator: error — red fill (dot) + border, compound selectors override checked/hover
62
- &.error::before,
63
- &.error:has(input:checked)::before {
64
- border-color: var(--ref-color-red-100);
65
- background: var(--ref-color-red-100);
66
- }
67
-
68
- &.error:hover:not(:has(input:disabled))::before {
69
- border-color: var(--ref-color-red-60);
70
- }
71
-
72
- // Locked — hide indicator, lock icon takes its place
73
- &.locked::before {
74
- display: none;
75
- }
76
-
77
- // Disabled state — cursor + content opacity (matches Angular --radio-content-opacity: 0.6)
78
- &:has(input:disabled) {
79
- cursor: default;
80
-
81
- > :is(span, div) {
82
- opacity: 0.6;
83
- }
84
- }
85
-
86
- // Body — direct div child (structured content area)
87
- > div {
88
- display: flex;
89
- flex-direction: column;
90
- gap: var(--ref-spacing-xxxs);
91
- flex: 1;
92
- min-width: 0;
93
- }
94
-
95
- // Description — span inside body div
96
- > div > span {
97
- font-family: var(--ref-font-family);
98
- font-size: var(--ref-font-size-sm);
99
- line-height: var(--ref-font-line-height-sm);
100
- color: var(--ref-color-grey-80);
101
- }
102
-
103
- // Link inside body
104
- > div > a {
105
- display: block;
106
- }
107
-
108
- // Card mode
109
- &.card {
110
- padding: var(--ref-spacing-xs);
111
- border: 1px solid var(--ref-color-grey-20);
112
- border-radius: var(--ref-border-radius-md);
113
- background: var(--ref-color-white);
114
- transition: border-color 0.2s ease-in-out;
115
-
116
- &:hover:not(:has(input:disabled)):not(.locked) {
117
- border-color: var(--ref-color-grey-40);
118
- }
119
-
120
- // Checked card
121
- &:has(input:checked) {
122
- border-color: var(--ref-color-electric-blue-100);
123
- }
124
-
125
- // Disabled card (not locked — locked has own styles)
126
- &:has(input:disabled):not(.locked) {
127
- border-color: var(--ref-color-grey-20);
128
- }
129
-
130
- // Error card — compound selectors override :has(input:checked) specificity
131
- &.error,
132
- &.error:has(input:checked) {
133
- border-color: var(--ref-color-red-100);
134
- }
135
-
136
- &.error:hover:not(:has(input:disabled)) {
137
- border-color: var(--ref-color-red-60);
138
- }
139
-
140
- // Locked card
141
- &.locked {
142
- cursor: default;
143
- background: var(--ref-color-purple-10);
144
- border-color: var(--ref-color-purple-20);
145
-
146
- &:hover {
147
- border-color: var(--ref-color-purple-40);
148
- }
149
-
150
- // Lock icon replaces radio indicator
151
- > i.ap-icon-feature-lock {
152
- color: var(--ref-color-purple-100);
153
- @include m.fixed-size(16px);
154
- flex-shrink: 0;
155
- margin-top: 1px;
156
- }
157
- }
158
- }
159
-
160
- // Focus ring when radio is focused
161
- &:has(input:focus-visible) {
162
- @include m.focus-ring-3px;
163
- }
164
- }
165
-
166
- // Header row (icon + title + badge + info)
167
- .ap-radio-card-header {
168
- display: flex;
169
- align-items: flex-start;
170
- gap: var(--ref-spacing-xxxs);
171
-
172
- > i:first-child {
173
- @include m.fixed-size(16px);
174
- flex-shrink: 0;
175
- margin-top: 1px; // center 16px icon with 18px title line-height
176
- }
177
- }
178
-
179
- // Title text
180
- .ap-radio-card-title {
181
- font-family: var(--ref-font-family);
182
- font-size: var(--ref-font-size-sm);
183
- font-weight: var(--ref-font-weight-bold);
184
- line-height: var(--ref-font-line-height-sm);
185
- color: var(--ref-color-grey-100);
186
- flex: 1;
187
- min-width: 0;
188
- }
189
-
190
- // Info icon (tooltip anchor in header)
191
- .ap-radio-card-info {
192
- @include m.fixed-size(16px);
193
- color: var(--ref-color-grey-60);
194
- flex-shrink: 0;
195
- cursor: pointer;
196
-
197
- &:hover {
198
- color: var(--ref-color-grey-80);
199
- }
200
- }