@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,117 +0,0 @@
1
- // Agorapulse Textarea Styles
2
- @use 'mixins' as m;
3
-
4
- // Textarea field container
5
- .ap-textarea-field {
6
- display: flex;
7
- flex-direction: column;
8
- gap: var(--ref-spacing-xxs);
9
-
10
- // Label — implicit > label
11
- > label {
12
- display: flex;
13
- flex-direction: column;
14
- gap: var(--comp-forms-label-spacing-vertical);
15
- font-size: var(--comp-forms-label-size);
16
- font-weight: var(--comp-forms-label-font-weight);
17
- line-height: var(--comp-forms-label-line-height);
18
- font-family: var(--comp-forms-label-font-family);
19
- color: var(--comp-forms-label-text-color);
20
-
21
- // Description — implicit > label > small
22
- > small {
23
- font-size: var(--comp-forms-label-description-text-size);
24
- font-weight: var(--comp-forms-label-description-text-font-weight);
25
- line-height: var(--comp-forms-label-description-text-line-height);
26
- font-family: var(--comp-forms-label-description-text-font-family);
27
- color: var(--comp-forms-label-description-text-color);
28
- }
29
- }
30
-
31
- // Textarea — implicit > textarea
32
- > textarea {
33
- resize: none;
34
- width: 100%;
35
- min-width: 256px;
36
- border: 1px solid var(--comp-input-border-default-color);
37
- background-color: var(--ref-color-white);
38
- padding: var(--ref-spacing-xxs) var(--ref-spacing-xs);
39
- border-radius: var(--ref-border-radius-sm);
40
- font-family: var(--comp-input-text-font-family);
41
- font-size: var(--comp-input-text-size);
42
- font-weight: var(--comp-input-text-font-weight);
43
- color: var(--comp-input-text-default-color);
44
- box-sizing: border-box;
45
- outline: none;
46
-
47
- &::placeholder {
48
- color: var(--comp-input-text-placeholder-color);
49
- }
50
-
51
- &:hover:not(:focus):not(:disabled) {
52
- border-color: var(--comp-input-border-hover-color);
53
- }
54
-
55
- &:active:not(:disabled) {
56
- border-color: var(--comp-input-border-focused-color);
57
- }
58
-
59
- &:disabled {
60
- background-color: var(--comp-input-fill-disabled-color);
61
- color: var(--comp-input-text-disabled-color);
62
- cursor: default;
63
- }
64
- }
65
-
66
- // Invalid state — on container
67
- &.invalid > textarea {
68
- border-color: var(--comp-input-border-error-color);
69
-
70
- &:hover:not(:focus):not(:disabled) {
71
- border-color: var(--comp-input-border-error-color);
72
- }
73
- }
74
-
75
- // Valid state — on container
76
- &.valid > textarea {
77
- border-color: var(--comp-input-border-success-color);
78
-
79
- &:hover:not(:focus):not(:disabled) {
80
- border-color: var(--comp-input-border-success-color);
81
- }
82
- }
83
-
84
- // Resize variants — on container
85
- &.resizable > textarea {
86
- resize: vertical;
87
- }
88
-
89
- &.resizable-horizontal > textarea {
90
- resize: horizontal;
91
- }
92
-
93
- &.resizable-both > textarea {
94
- resize: both;
95
- }
96
-
97
- &.autoresize > textarea {
98
- overflow: hidden;
99
- }
100
- }
101
-
102
- // Character count
103
- .ap-textarea-counter {
104
- font-size: var(--sys-text-style-caption-size);
105
- font-weight: var(--sys-text-style-caption-weight);
106
- line-height: var(--sys-text-style-caption-line-height);
107
- color: var(--ref-color-grey-80);
108
- text-align: right;
109
-
110
- &.warning {
111
- color: var(--ref-color-orange-100);
112
- }
113
-
114
- &.error {
115
- color: var(--ref-color-red-100);
116
- }
117
- }
@@ -1,131 +0,0 @@
1
- // Agorapulse Toggle Styles
2
- @use 'mixins' as m;
3
-
4
- .ap-toggle-container {
5
- display: flex;
6
- align-items: center;
7
- gap: var(--ref-spacing-xxs);
8
- cursor: pointer;
9
- font-family: var(--sys-text-style-body-font-family);
10
- font-size: var(--sys-text-style-body-size);
11
- line-height: var(--sys-text-style-body-line-height);
12
- color: var(--ref-color-grey-100);
13
-
14
- &:has(input:disabled) {
15
- cursor: default;
16
- }
17
-
18
- // Native checkbox input (visually hidden but accessible)
19
- > input {
20
- @include m.sr-only;
21
- }
22
-
23
- // Toggle track — <i> element
24
- > i {
25
- box-sizing: content-box;
26
- position: relative;
27
- display: flex;
28
- align-items: center;
29
- padding: 2px;
30
- width: 28px;
31
- height: 12px;
32
- border-radius: 16px;
33
- background: var(--ref-color-grey-60);
34
- transition: background-color 0.25s;
35
- flex-shrink: 0;
36
-
37
- // Knob circle
38
- &::before {
39
- content: '';
40
- width: 12px;
41
- height: 12px;
42
- background: var(--ref-color-white);
43
- border-radius: 100%;
44
- position: absolute;
45
- left: 2px;
46
- transition: left 0.25s ease-in-out;
47
- }
48
-
49
- // Icon (X by default, check when checked)
50
- &::after {
51
- content: '';
52
- width: 10px;
53
- height: 10px;
54
- position: absolute;
55
- left: 3px;
56
- transition: left 0.25s ease-in-out;
57
- mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.394 12.525a.8.8 0 1 0 1.131-1.13L9.131 8l3.394-3.394a.8.8 0 0 0-1.13-1.131L8 6.869 4.606 3.474a.8.8 0 1 0-1.131 1.132L6.869 8l-3.395 3.394a.8.8 0 1 0 1.132 1.132L8 9.13l3.394 3.394Z'/%3E%3C/svg%3E");
58
- mask-size: contain;
59
- mask-repeat: no-repeat;
60
- background-color: var(--ref-color-grey-80);
61
- }
62
- }
63
-
64
- // Hover state (unchecked)
65
- &:hover:not(:has(input:disabled)) > i {
66
- background: var(--ref-color-grey-80);
67
- }
68
-
69
- // Hover state (checked)
70
- &:hover:not(:has(input:disabled)):has(input:checked) > i {
71
- background: var(--ref-color-electric-blue-80);
72
- }
73
-
74
- // Active state (checked)
75
- &:active:not(:has(input:disabled)):has(input:checked) > i {
76
- background: var(--ref-color-electric-blue-60);
77
- }
78
-
79
- // Focus ring (keyboard only)
80
- &:has(input:focus-visible) > i {
81
- @include m.focus-ring;
82
- }
83
-
84
- // Checked state
85
- &:has(input:checked) > i {
86
- background: var(--ref-color-electric-blue-100);
87
-
88
- &::before {
89
- left: 18px;
90
- }
91
-
92
- &::after {
93
- left: 19px;
94
- 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' clip-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-.025Z'/%3E%3C/svg%3E");
95
- background-color: var(--ref-color-electric-blue-150);
96
- }
97
- }
98
-
99
- // Disabled state
100
- &:has(input:disabled) > i {
101
- background: var(--ref-color-grey-20);
102
-
103
- &::after {
104
- background-color: var(--ref-color-grey-40);
105
- }
106
- }
107
-
108
- // Disabled + checked
109
- &:has(input:disabled:checked) > i::after {
110
- background-color: var(--ref-color-grey-40);
111
- }
112
-
113
- // Label — implicit > span
114
- > span {
115
- display: flex;
116
- align-items: center;
117
- @include m.text-style('body');
118
- color: var(--ref-color-grey-100);
119
- user-select: none;
120
- cursor: pointer;
121
-
122
- &:empty {
123
- display: none;
124
- }
125
- }
126
-
127
- &:has(input:disabled) > span {
128
- color: var(--ref-color-grey-60);
129
- cursor: default;
130
- }
131
- }
@@ -1,134 +0,0 @@
1
- // Agorapulse Tooltip Styles
2
-
3
- @keyframes ap-tooltip-fade-in {
4
- 0% {
5
- opacity: 0;
6
- }
7
- 100% {
8
- opacity: 1;
9
- }
10
- }
11
-
12
- .ap-tooltip {
13
- --ap-arrow-width: 16px;
14
- --ap-arrow-height: 8px;
15
- --ap-arrow-offset: 10px;
16
-
17
- width: fit-content;
18
- max-width: 350px;
19
- background: var(--comp-tooltip-text-color-main-default-bg);
20
- border-radius: var(--ref-border-radius-md);
21
- // Viewport-relative, so a positioned host body (e.g. an Intercom banner margin) can't shift it.
22
- position: fixed;
23
- z-index: 9999999;
24
- animation: ap-tooltip-fade-in var(--ref-animation-short, 0.15s) ease-in-out;
25
-
26
- // Text styles — gated to CSS-UI position classes to avoid leaking into Angular tooltip
27
- &.top,
28
- &.top-left,
29
- &.top-right,
30
- &.bottom,
31
- &.bottom-left,
32
- &.bottom-right,
33
- &.left,
34
- &.right {
35
- padding: var(--ref-spacing-xxs) var(--ref-spacing-xs);
36
- color: var(--comp-tooltip-text-default-color);
37
- font-family: var(--comp-tooltip-text-style-font-family);
38
- font-size: var(--comp-tooltip-text-style-size);
39
- font-weight: var(--comp-tooltip-text-style-weight);
40
- line-height: var(--comp-tooltip-text-style-line-height);
41
- }
42
-
43
- // Arrow via CSS (no inline SVG needed)
44
- // Base arrow styles on ::after — content is only set when a position class is present
45
- // to avoid conflicts with the Angular tooltip which also uses .ap-tooltip
46
- &::after {
47
- display: block;
48
- position: absolute;
49
- z-index: 10000;
50
- width: var(--ap-arrow-width);
51
- height: var(--ap-arrow-height);
52
- background-color: var(--ref-color-grey-100);
53
- clip-path: polygon(0 0, 50% 100%, 100% 0);
54
- }
55
-
56
- // Only render the arrow when a CSS-UI position class is applied
57
- &.top::after,
58
- &.top-left::after,
59
- &.top-right::after,
60
- &.bottom::after,
61
- &.bottom-left::after,
62
- &.bottom-right::after,
63
- &.left::after,
64
- &.right::after {
65
- content: '';
66
- }
67
-
68
- // Arrow positioning - Top
69
- &.top::after,
70
- &.top-left::after,
71
- &.top-right::after {
72
- bottom: 0;
73
- transform: translateY(100%);
74
- }
75
-
76
- &.top::after {
77
- left: 50%;
78
- transform: translateX(-50%) translateY(100%);
79
- }
80
-
81
- &.top-left::after {
82
- left: var(--ap-arrow-offset);
83
- }
84
-
85
- &.top-right::after {
86
- right: var(--ap-arrow-offset);
87
- }
88
-
89
- // Arrow positioning - Bottom
90
- &.bottom::after,
91
- &.bottom-left::after,
92
- &.bottom-right::after {
93
- top: 0;
94
- transform: rotate(180deg) translateY(100%);
95
- }
96
-
97
- &.bottom::after {
98
- left: 50%;
99
- transform: translateX(-50%) rotate(180deg) translateY(100%);
100
- }
101
-
102
- &.bottom-left::after {
103
- left: var(--ap-arrow-offset);
104
- }
105
-
106
- &.bottom-right::after {
107
- right: var(--ap-arrow-offset);
108
- }
109
-
110
- // Arrow positioning - Left (arrow points right, toward the trigger)
111
- &.left::after {
112
- right: 0;
113
- top: 50%;
114
- transform: translateX(calc(100% - var(--ap-arrow-height) / 2)) translateY(-50%) rotate(-90deg);
115
- }
116
-
117
- // Arrow positioning - Right (arrow points left, toward the trigger)
118
- &.right::after {
119
- left: 0;
120
- top: 50%;
121
- transform: translateX(calc(-100% + var(--ap-arrow-height) / 2)) translateY(-50%) rotate(90deg);
122
- }
123
-
124
- // Custom template tooltip (white background, rich content)
125
- &.custom {
126
- background-color: var(--ref-color-white);
127
- color: var(--ref-color-grey-100);
128
- filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.08));
129
-
130
- &::after {
131
- background-color: var(--ref-color-white);
132
- }
133
- }
134
- }
@@ -1,43 +0,0 @@
1
- /* Averta font-face declarations — standalone CSS for non-Angular consumers.
2
- Paths are relative to this file: ../../fonts/averta/ resolves correctly
3
- when bundlers (Vite, webpack) process url() from node_modules. */
4
-
5
- @font-face {
6
- font-family: 'Averta';
7
- font-weight: 400;
8
- font-style: normal;
9
- src: url('../../fonts/averta/AvertaStd-Regular.otf') format('opentype');
10
- font-display: swap;
11
- }
12
-
13
- @font-face {
14
- font-family: 'Averta';
15
- font-weight: 600;
16
- font-style: normal;
17
- src: url('../../fonts/averta/AvertaStd-Semibold.otf') format('opentype');
18
- font-display: swap;
19
- }
20
-
21
- @font-face {
22
- font-family: 'Averta';
23
- font-weight: 700;
24
- font-style: normal;
25
- src: url('../../fonts/averta/AvertaStd-Bold.otf') format('opentype');
26
- font-display: swap;
27
- }
28
-
29
- @font-face {
30
- font-family: 'Averta';
31
- font-weight: 800;
32
- font-style: normal;
33
- src: url('../../fonts/averta/AvertaStd-Extrabold.otf') format('opentype');
34
- font-display: swap;
35
- }
36
-
37
- @font-face {
38
- font-family: 'Averta';
39
- font-weight: 900;
40
- font-style: normal;
41
- src: url('../../fonts/averta/AvertaStd-Black.otf') format('opentype');
42
- font-display: swap;
43
- }