@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,181 +0,0 @@
1
- // Agorapulse Infobox Styles
2
- @use 'mixins' as m;
3
-
4
- .ap-infobox {
5
- container: infobox / inline-size;
6
- display: flex;
7
- width: 100%;
8
- max-width: 100%;
9
- font-size: var(--ref-font-size-sm);
10
- line-height: var(--ref-font-line-height-sm);
11
- align-items: flex-start;
12
- color: var(--ref-color-grey-100);
13
- padding: var(--comp-infobox-padding-top) var(--comp-infobox-padding-right) var(--comp-infobox-padding-bottom)
14
- var(--comp-infobox-padding-left);
15
- border-radius: var(--comp-infobox-border-radius);
16
- overflow: hidden;
17
- font-family: var(--comp-infobox-text-title-font-family);
18
- box-sizing: border-box;
19
- position: relative;
20
- gap: var(--ref-spacing-xs);
21
-
22
- // Left banner via pseudo-element (no HTML needed)
23
- &::before {
24
- content: '';
25
- position: absolute;
26
- left: 0;
27
- top: 0;
28
- width: var(--comp-infobox-border-width, 4px);
29
- height: 100%;
30
- }
31
-
32
- // Icon — direct <i> child, size defaulted to sm (no wrapper, no size class needed)
33
- > i {
34
- font-size: var(--sys-icon-css-sm);
35
- flex-shrink: 0;
36
- margin-top: 1px;
37
- }
38
-
39
- // With title — center icon vertically with the title+message block
40
- &.has-title {
41
- align-items: center;
42
-
43
- > i {
44
- margin-top: 0;
45
- }
46
- }
47
-
48
- // Variants — expected icons: ap-icon-info_fill, ap-icon-warning_fill, ap-icon-error_fill, ap-icon-rounded-check_fill, ap-icon-feature-lock
49
- &.info {
50
- background-color: var(--comp-infobox-info-background-color);
51
- > i {
52
- color: var(--comp-infobox-info-icon-color);
53
- }
54
- &::before {
55
- background-color: var(--comp-infobox-info-border-left-color);
56
- }
57
- }
58
-
59
- &.warning {
60
- background-color: var(--comp-infobox-warning-background-color);
61
- > i {
62
- color: var(--comp-infobox-warning-icon-color);
63
- }
64
- &::before {
65
- background-color: var(--comp-infobox-warning-border-left-color);
66
- }
67
- }
68
-
69
- &.error {
70
- background-color: var(--comp-infobox-error-background-color);
71
- > i {
72
- color: var(--comp-infobox-error-icon-color);
73
- }
74
- &::before {
75
- background-color: var(--comp-infobox-error-border-left-color);
76
- }
77
- }
78
-
79
- &.success {
80
- background-color: var(--comp-infobox-success-background-color);
81
- > i {
82
- color: var(--comp-infobox-success-icon-color);
83
- }
84
- &::before {
85
- background-color: var(--comp-infobox-success-border-left-color);
86
- }
87
- }
88
-
89
- &.feature-lock {
90
- background-color: var(--comp-infobox-feature-lock-background-color);
91
- > i {
92
- color: var(--comp-infobox-feature-lock-icon-color);
93
- }
94
- &::before {
95
- background-color: var(--comp-infobox-feature-lock-border-left-color);
96
- }
97
- }
98
- }
99
-
100
- // Content wrapper
101
- .ap-infobox-content {
102
- display: flex;
103
- flex-direction: column;
104
- align-items: flex-start;
105
- flex: 1;
106
- justify-content: space-between;
107
- gap: var(--ref-spacing-xxs);
108
- min-width: 0;
109
-
110
- > .ap-button {
111
- width: unset;
112
- }
113
- }
114
-
115
- // Text content
116
- .ap-infobox-texts {
117
- display: flex;
118
- flex-direction: column;
119
- overflow-wrap: anywhere;
120
- width: 100%;
121
- }
122
-
123
- // Title
124
- .ap-infobox-title {
125
- font-weight: var(--comp-infobox-text-title-weight);
126
- font-family: var(--comp-infobox-text-title-font-family);
127
- font-size: var(--comp-infobox-text-title-size);
128
- line-height: var(--comp-infobox-text-title-line-height);
129
- }
130
-
131
- // Message/Body text
132
- .ap-infobox-message {
133
- font-weight: var(--comp-infobox-text-content-weight);
134
- font-family: var(--comp-infobox-text-content-font-family);
135
- font-size: var(--comp-infobox-text-content-size);
136
- line-height: var(--comp-infobox-text-content-line-height);
137
- }
138
-
139
- // Close button
140
- .ap-infobox-close {
141
- display: flex;
142
- justify-content: center;
143
- align-items: center;
144
- @include m.fixed-size(var(--comp-close-button-size));
145
- border-radius: 50%;
146
- background: transparent;
147
- border: none;
148
- padding: var(--comp-close-button-padding);
149
- cursor: pointer;
150
- flex-shrink: 0;
151
- transition: background 0.25s;
152
-
153
- @media (hover: hover) {
154
- &:focus:not(:active) {
155
- @include m.focus-ring;
156
- }
157
- }
158
-
159
- &:hover {
160
- background: var(--comp-close-button-hover-background);
161
- }
162
-
163
- &:active {
164
- background: var(--comp-close-button-active-background);
165
- }
166
-
167
- // Close icon (implicit > i)
168
- > i {
169
- color: var(--ref-color-grey-80);
170
- }
171
- }
172
-
173
- // Wide layout via container query
174
- // Threshold adjusted from 588px to 560px to compensate for infobox padding (28px)
175
- // so the breakpoint triggers at the same visual width as the Angular component.
176
- @container infobox (min-width: 560px) {
177
- .ap-infobox-content {
178
- flex-direction: row;
179
- align-items: center;
180
- }
181
- }
@@ -1,128 +0,0 @@
1
- // Agorapulse Input Styles
2
- @use 'mixins' as m;
3
- @use 'ui-symbol/icons/build/ap-icons-data' as icons;
4
-
5
- // Form field container
6
- .ap-form-field {
7
- display: flex;
8
- flex-direction: column;
9
- gap: var(--ref-spacing-xxs);
10
-
11
- // Label — implicit > label
12
- > label {
13
- @include m.text-style('body');
14
- color: var(--ref-color-grey-100);
15
- }
16
- }
17
-
18
- // Input group container
19
- .ap-input-group {
20
- width: 100%;
21
- display: inline-flex;
22
- align-items: center;
23
- height: var(--comp-input-height);
24
- border: 1px solid var(--comp-input-border-default-color);
25
- box-sizing: border-box;
26
- border-radius: var(--comp-input-border-radius);
27
- overflow: hidden;
28
- background-color: var(--comp-input-fill-color);
29
- gap: var(--ref-spacing-xxs);
30
- padding: 0 var(--ref-spacing-xs);
31
-
32
- // Disabled input
33
- &:has(input:disabled) {
34
- background-color: var(--comp-input-fill-disabled-color);
35
- color: var(--comp-input-text-disabled-color);
36
- }
37
-
38
- // Hover state
39
- &:hover:not(:has(input:disabled)) {
40
- border-color: var(--comp-input-border-hover-color);
41
- }
42
-
43
- // Focus state
44
- &:focus-within:not(:has(input:disabled)) {
45
- border-color: var(--comp-input-border-focused-color);
46
- }
47
-
48
- // Invalid state
49
- &.invalid,
50
- &:has(input.invalid) {
51
- border-color: var(--comp-input-border-error-color);
52
- }
53
-
54
- // Valid state
55
- &.valid,
56
- &:has(input.valid) {
57
- border-color: var(--comp-input-border-success-color);
58
- }
59
-
60
- // Input — implicit > input
61
- > input {
62
- flex: 1;
63
- border: none;
64
- outline: none;
65
- background: transparent;
66
- color: var(--comp-input-text-default-color);
67
- font-family: var(--comp-input-text-font-family);
68
- font-size: var(--comp-input-text-size);
69
- font-weight: var(--comp-input-text-font-weight);
70
- padding: 0;
71
- min-width: 0;
72
-
73
- &::placeholder {
74
- color: var(--comp-input-text-placeholder-color);
75
- }
76
-
77
- &:disabled {
78
- color: var(--comp-input-text-disabled-color);
79
- }
80
- }
81
-
82
- // Icon — implicit > i
83
- > i {
84
- flex-shrink: 0;
85
- width: var(--comp-input-icon-size);
86
- height: var(--comp-input-icon-size);
87
- color: var(--comp-input-icon-color);
88
- pointer-events: none;
89
- }
90
- }
91
-
92
- // Form message (error/success)
93
- .ap-form-message {
94
- font-size: var(--comp-forms-status-text-size);
95
- font-weight: var(--comp-forms-status-text-font-weight);
96
- line-height: var(--comp-forms-status-text-line-height);
97
- font-family: var(--comp-forms-status-text-font-family);
98
- margin: 0;
99
- display: flex;
100
- align-items: center;
101
- gap: var(--ref-spacing-xxxs);
102
-
103
- // Icon injected via ::before (no <i> needed in HTML)
104
- &::before {
105
- @include icons.icon-base;
106
- width: var(--comp-forms-status-icon-size);
107
- height: var(--comp-forms-status-icon-size);
108
- flex-shrink: 0;
109
- }
110
-
111
- &.error {
112
- color: var(--comp-forms-status-text-error-color);
113
-
114
- &::before {
115
- @include icons.icon('error_fill');
116
- color: var(--comp-forms-status-icon-error-color);
117
- }
118
- }
119
-
120
- &.success {
121
- color: var(--comp-forms-status-text-success-color);
122
-
123
- &::before {
124
- @include icons.icon('rounded-check_fill');
125
- color: var(--comp-forms-status-icon-success-color);
126
- }
127
- }
128
- }
@@ -1,95 +0,0 @@
1
- // Agorapulse Label Styles
2
- @use 'mixins' as m;
3
-
4
- .ap-label {
5
- display: inline-flex;
6
- align-items: center;
7
- max-width: 100%;
8
- background: var(--comp-label-background-color);
9
- border-radius: var(--comp-label-border-radius);
10
- padding: 0 var(--comp-label-padding-right) 0 var(--comp-label-padding-left);
11
- height: var(--comp-label-height);
12
- box-sizing: border-box;
13
- border: none;
14
-
15
- // Text styles on container (span optional)
16
- color: var(--comp-label-text-color);
17
- font-family: var(--comp-label-text-style-font-family);
18
- font-size: var(--comp-label-text-style-size);
19
- font-weight: var(--comp-label-text-style-font-weight);
20
- line-height: var(--comp-label-text-style-line-height);
21
- white-space: nowrap;
22
- text-decoration: none;
23
-
24
- // Auto-detect icon — add gap
25
- &:has(> i) {
26
- gap: var(--comp-label-closable-spacing);
27
- }
28
-
29
- // Auto-detect close button — tighter padding + gap
30
- &:has(> button) {
31
- gap: var(--comp-label-closable-spacing);
32
- padding: 0 var(--comp-label-closable-padding-right) 0 var(--ref-spacing-xxs);
33
- }
34
-
35
- // Text truncation — use > span when combined with a close button
36
- > span {
37
- @include m.truncate;
38
- max-width: 180px;
39
- }
40
-
41
- // Icon slot — implicit > i
42
- > i {
43
- width: 12px;
44
- height: 12px;
45
- }
46
-
47
- // Close button with <i class="ap-icon-close"> inside
48
- > button {
49
- display: flex;
50
- align-items: center;
51
- justify-content: center;
52
- flex-shrink: 0;
53
- width: calc(var(--comp-label-height) - 4px);
54
- height: calc(var(--comp-label-height) - 4px);
55
- min-width: calc(var(--comp-label-height) - 4px);
56
- border: none;
57
- background: transparent;
58
- border-radius: 50%;
59
- cursor: pointer;
60
- padding: 0;
61
- color: var(--comp-label-text-color);
62
- transition: background-color 0.15s;
63
-
64
- &:hover {
65
- background: var(--ref-color-electric-blue-40);
66
- }
67
-
68
- &:active {
69
- background: var(--ref-color-electric-blue-60);
70
- }
71
-
72
- > i {
73
- width: 12px;
74
- height: 12px;
75
- }
76
- }
77
-
78
- // button.ap-label — focus ring for clickable labels
79
- &:is(button) {
80
- cursor: pointer;
81
-
82
- @media (hover: hover) {
83
- &:focus:not(:disabled):not(:active) {
84
- @include m.focus-ring;
85
- }
86
- }
87
- }
88
- }
89
-
90
- // Label list container
91
- .ap-label-list {
92
- display: flex;
93
- flex-wrap: wrap;
94
- gap: var(--ref-spacing-xxs);
95
- }
@@ -1,86 +0,0 @@
1
- // Agorapulse Link Styles
2
- @use 'mixins' as m;
3
-
4
- // Base link styling
5
- .ap-link {
6
- display: inline-flex;
7
- gap: var(--comp-link-spacing);
8
- font-family: var(--comp-link-text-font-family);
9
- font-weight: var(--comp-link-text-font-weight);
10
- line-height: var(--comp-link-text-line-height);
11
- font-size: var(--comp-link-text-size);
12
- align-items: center;
13
- text-decoration: underline;
14
- -webkit-tap-highlight-color: transparent;
15
- cursor: pointer;
16
- color: var(--comp-link-default-color);
17
-
18
- // Size variants
19
- &.small {
20
- font-family: var(--comp-link-small-text-style-font-family);
21
- font-weight: var(--comp-link-small-text-style-font-weight);
22
- line-height: var(--comp-link-small-text-style-line-height);
23
- font-size: var(--comp-link-small-text-style-size);
24
- }
25
-
26
- &.big {
27
- font-family: var(--comp-link-big-text-style-font-family);
28
- font-weight: var(--comp-link-big-text-style-font-weight);
29
- line-height: var(--comp-link-big-text-style-line-height);
30
- font-size: var(--comp-link-big-text-style-size);
31
- }
32
-
33
- // Standalone variant (no underline)
34
- &.standalone {
35
- text-decoration: none;
36
- font-family: var(--comp-link-standalone-default-text-style-font-family);
37
- font-weight: var(--comp-link-standalone-default-text-style-font-weight);
38
- line-height: var(--comp-link-standalone-default-text-style-line-height);
39
- font-size: var(--comp-link-standalone-default-text-style-size);
40
- color: var(--comp-link-default-color);
41
-
42
- &.small {
43
- font-family: var(--comp-link-standalone-small-text-style-font-family);
44
- font-weight: var(--comp-link-standalone-small-text-style-font-weight);
45
- line-height: var(--comp-link-standalone-small-text-style-line-height);
46
- font-size: var(--comp-link-standalone-small-text-style-size);
47
- }
48
- }
49
-
50
- // States
51
- &:hover {
52
- color: var(--comp-link-hover-color);
53
- }
54
-
55
- &:active:not(:visited):not(.disabled) {
56
- color: var(--comp-link-clicked-color);
57
- }
58
-
59
- &:visited:not(.standalone) {
60
- color: var(--comp-link-visited-color);
61
- }
62
-
63
- // Disabled state
64
- &.disabled,
65
- &[aria-disabled='true'] {
66
- color: var(--comp-link-disabled-color);
67
- pointer-events: none;
68
- cursor: default;
69
- }
70
-
71
- // Focus state for accessibility
72
- &:focus-visible {
73
- @include m.focus-ring;
74
- outline-offset: 2px;
75
- border-radius: 2px;
76
- }
77
-
78
- // Icon sizing — implicit > i
79
- > i {
80
- min-width: var(--comp-link-icon-size);
81
- min-height: var(--comp-link-icon-size);
82
- max-width: var(--comp-link-icon-size);
83
- max-height: var(--comp-link-icon-size);
84
- flex-shrink: 0;
85
- }
86
- }
@@ -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
- }