@agorapulse/ui-theme 22.0.7 → 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 (46) 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/_table.scss +98 -0
  4. package/assets/style/{css-ui/_typography.scss → _typography.scss} +8 -41
  5. package/assets/style/theme.scss +2 -2
  6. package/package.json +2 -9
  7. package/agorapulse-ui-theme-22.0.7.tgz +0 -0
  8. package/assets/style/css-ui/_accordion.scss +0 -56
  9. package/assets/style/css-ui/_action-dropdown.scss +0 -163
  10. package/assets/style/css-ui/_avatar-group.scss +0 -61
  11. package/assets/style/css-ui/_avatar.scss +0 -191
  12. package/assets/style/css-ui/_badge.scss +0 -28
  13. package/assets/style/css-ui/_button.scss +0 -265
  14. package/assets/style/css-ui/_card.scss +0 -17
  15. package/assets/style/css-ui/_checkbox.scss +0 -191
  16. package/assets/style/css-ui/_counter.scss +0 -76
  17. package/assets/style/css-ui/_datepicker.scss +0 -309
  18. package/assets/style/css-ui/_dialog.scss +0 -74
  19. package/assets/style/css-ui/_dot-stepper.scss +0 -68
  20. package/assets/style/css-ui/_icon-button.scss +0 -200
  21. package/assets/style/css-ui/_infobox.scss +0 -181
  22. package/assets/style/css-ui/_input.scss +0 -128
  23. package/assets/style/css-ui/_label.scss +0 -95
  24. package/assets/style/css-ui/_link.scss +0 -86
  25. package/assets/style/css-ui/_list-panel.scss +0 -73
  26. package/assets/style/css-ui/_loader.scss +0 -228
  27. package/assets/style/css-ui/_mixins.scss +0 -50
  28. package/assets/style/css-ui/_pagination.scss +0 -177
  29. package/assets/style/css-ui/_radio-card.scss +0 -200
  30. package/assets/style/css-ui/_radio.scss +0 -106
  31. package/assets/style/css-ui/_select.scss +0 -658
  32. package/assets/style/css-ui/_selection-dropdown.scss +0 -183
  33. package/assets/style/css-ui/_snackbar.scss +0 -181
  34. package/assets/style/css-ui/_split-button.scss +0 -74
  35. package/assets/style/css-ui/_status.scss +0 -83
  36. package/assets/style/css-ui/_stepper.scss +0 -113
  37. package/assets/style/css-ui/_table.scss +0 -323
  38. package/assets/style/css-ui/_tabs.scss +0 -189
  39. package/assets/style/css-ui/_tag.scss +0 -181
  40. package/assets/style/css-ui/_textarea.scss +0 -117
  41. package/assets/style/css-ui/_toggle.scss +0 -131
  42. package/assets/style/css-ui/_tooltip.scss +0 -134
  43. package/assets/style/css-ui/font-face.css +0 -43
  44. package/assets/style/css-ui/index.css +0 -4943
  45. package/assets/style/css-ui/index.css.map +0 -1
  46. package/assets/style/css-ui/index.scss +0 -39
@@ -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
- }
@@ -1,106 +0,0 @@
1
- // Agorapulse Radio Styles
2
- @use 'mixins' as m;
3
-
4
- .ap-radio-container {
5
- display: flex;
6
- align-items: center;
7
- gap: var(--ref-spacing-xxs);
8
- cursor: pointer;
9
-
10
- // Hide native radio input (accessible)
11
- > input[type='radio'] {
12
- @include m.sr-only;
13
- }
14
-
15
- // Disabled container
16
- &:has(input:disabled) {
17
- cursor: default;
18
- }
19
-
20
- // Radio indicator — ::before pseudo-element (no empty span needed)
21
- &::before {
22
- content: '';
23
- @include m.fixed-size(16px);
24
- border-radius: 100%;
25
- border: 1px solid var(--ref-color-grey-60);
26
- background: var(--ref-color-electric-blue-100);
27
- box-shadow: inset 0 0 0 16px var(--ref-color-white);
28
- transition: box-shadow var(--comp-radio-transition-duration);
29
- flex-shrink: 0;
30
- box-sizing: border-box;
31
- }
32
-
33
- // Indicator: checked
34
- &:has(input:checked)::before {
35
- border-color: var(--ref-color-electric-blue-100);
36
- box-shadow: inset 0 0 0 3px var(--ref-color-white);
37
- }
38
-
39
- // Indicator: disabled
40
- &:has(input:disabled)::before {
41
- box-shadow: inset 0 0 0 16px var(--ref-color-grey-10);
42
- border-color: var(--ref-color-grey-20);
43
- }
44
-
45
- // Indicator: disabled + checked
46
- &:has(input:disabled:checked)::before {
47
- background: var(--ref-color-grey-40);
48
- box-shadow: inset 0 0 0 3px var(--ref-color-grey-10);
49
- border-color: var(--ref-color-grey-20);
50
- }
51
-
52
- // Indicator: hover (not disabled)
53
- &:hover:not(:has(input:disabled))::before {
54
- border-color: var(--ref-color-grey-80);
55
- }
56
-
57
- // Indicator: hover + checked (keep blue)
58
- &:hover:not(:has(input:disabled)):has(input:checked)::before {
59
- border-color: var(--ref-color-electric-blue-100);
60
- }
61
-
62
- // Focus ring on indicator (keyboard only)
63
- &:has(input:focus-visible)::before {
64
- outline: 3px solid var(--ref-color-electric-blue-100);
65
- outline-offset: 1px;
66
- border-color: var(--ref-color-grey-80);
67
- }
68
-
69
- // Focus + checked
70
- &:has(input:focus-visible:checked)::before {
71
- border-color: var(--ref-color-electric-blue-100);
72
- }
73
-
74
- // Error state — compound selectors to override :has(input:checked) specificity
75
- &.error::before,
76
- &.error:has(input:checked)::before {
77
- border-color: var(--ref-color-red-100);
78
- }
79
-
80
- &.error:hover:not(:has(input:disabled))::before {
81
- border-color: var(--ref-color-red-60);
82
- }
83
-
84
- &.error:has(input:focus-visible)::before {
85
- outline-color: var(--ref-color-red-100);
86
- border-color: var(--ref-color-red-60);
87
- }
88
-
89
- // Label — direct span child
90
- > span {
91
- display: flex;
92
- align-items: center;
93
- @include m.text-style('body');
94
- color: var(--ref-color-grey-100);
95
- user-select: none;
96
-
97
- &:empty {
98
- display: none;
99
- }
100
- }
101
-
102
- // Label: disabled
103
- &:has(input:disabled) > span {
104
- color: var(--ref-color-grey-60);
105
- }
106
- }