@agorapulse/ui-theme 20.1.1 → 20.1.2
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.
- package/agorapulse-ui-theme-20.1.2.tgz +0 -0
- package/assets/desktop_variables.css +0 -31
- package/assets/mobile_variables.css +0 -31
- package/assets/style/_table.scss +30 -33
- package/package.json +1 -1
- package/agorapulse-ui-theme-20.1.1.tgz +0 -0
- package/src/tokens/components/selection-dropdown.json +0 -141
|
Binary file
|
|
@@ -538,37 +538,6 @@
|
|
|
538
538
|
--comp-select-search-bar-bottom-link-padding-top: 12px;
|
|
539
539
|
--comp-select-search-bar-bottom-link-padding-bottom: 4px;
|
|
540
540
|
--comp-select-search-bar-bottom-link-border-top-color: #EAECEF;
|
|
541
|
-
--comp-selection-dropdown-background-color: #FFFFFF;
|
|
542
|
-
--comp-selection-dropdown-box-shadow: 0px 4px 25px -2px rgba(52, 69, 99, 0.15), 0px 4px 6px -2px rgba(52, 69, 99, 0.15);
|
|
543
|
-
--comp-selection-dropdown-border-radius: 4px;
|
|
544
|
-
--comp-selection-dropdown-header-top-padding: 12px 16px;
|
|
545
|
-
--comp-selection-dropdown-header-title-font-size: 16px;
|
|
546
|
-
--comp-selection-dropdown-header-title-font-weight: 700;
|
|
547
|
-
--comp-selection-dropdown-header-title-text-color: #344563;
|
|
548
|
-
--comp-selection-dropdown-header-searchbar-padding: 0 8px 8px;
|
|
549
|
-
--comp-selection-dropdown-content-padding: 8px 0;
|
|
550
|
-
--comp-selection-dropdown-footer-padding: 12px 16px;
|
|
551
|
-
--comp-selection-dropdown-no-results-text-color: #5D6A82;
|
|
552
|
-
--comp-selection-dropdown-no-results-font-size: 14px;
|
|
553
|
-
--comp-selection-dropdown-item-padding: 8px 16px;
|
|
554
|
-
--comp-selection-dropdown-item-text-size: 14px;
|
|
555
|
-
--comp-selection-dropdown-item-text-line-height: 18px;
|
|
556
|
-
--comp-selection-dropdown-item-text-color: #344563;
|
|
557
|
-
--comp-selection-dropdown-item-background-color: #FFFFFF;
|
|
558
|
-
--comp-selection-dropdown-item-background-color-hover: #E8F4FF;
|
|
559
|
-
--comp-selection-dropdown-item-background-color-focused: #D1E8FF;
|
|
560
|
-
--comp-selection-dropdown-item-icon-spacing: 8px;
|
|
561
|
-
--comp-selection-dropdown-item-label-spacing: 8px;
|
|
562
|
-
--comp-selection-dropdown-item-description-color: #5D6A82;
|
|
563
|
-
--comp-selection-dropdown-item-description-size: 12px;
|
|
564
|
-
--comp-selection-dropdown-item-description-line-height: 18px;
|
|
565
|
-
--comp-selection-dropdown-divider-color: #EAECEF;
|
|
566
|
-
--comp-selection-dropdown-divider-margin: 8px 0;
|
|
567
|
-
--comp-selection-dropdown-group-header-padding: 8px 16px;
|
|
568
|
-
--comp-selection-dropdown-group-header-border-top-color: #EAECEF;
|
|
569
|
-
--comp-selection-dropdown-group-header-background-color: #F9F9FA;
|
|
570
|
-
--comp-selection-dropdown-selected-section-margin-bottom: 8px;
|
|
571
|
-
--comp-selection-dropdown-selected-section-padding-bottom: 8px;
|
|
572
541
|
--comp-snackbar-text-style-font-family: Averta;
|
|
573
542
|
--comp-snackbar-text-style-size: 14px;
|
|
574
543
|
--comp-snackbar-text-style-font-weight: 400;
|
|
@@ -538,37 +538,6 @@
|
|
|
538
538
|
--comp-select-search-bar-bottom-link-padding-top: 12px;
|
|
539
539
|
--comp-select-search-bar-bottom-link-padding-bottom: 4px;
|
|
540
540
|
--comp-select-search-bar-bottom-link-border-top-color: #EAECEF;
|
|
541
|
-
--comp-selection-dropdown-background-color: #FFFFFF;
|
|
542
|
-
--comp-selection-dropdown-box-shadow: 0px 4px 25px -2px rgba(52, 69, 99, 0.15), 0px 4px 6px -2px rgba(52, 69, 99, 0.15);
|
|
543
|
-
--comp-selection-dropdown-border-radius: 4px;
|
|
544
|
-
--comp-selection-dropdown-header-top-padding: 12px 16px;
|
|
545
|
-
--comp-selection-dropdown-header-title-font-size: 16px;
|
|
546
|
-
--comp-selection-dropdown-header-title-font-weight: 700;
|
|
547
|
-
--comp-selection-dropdown-header-title-text-color: #344563;
|
|
548
|
-
--comp-selection-dropdown-header-searchbar-padding: 0 8px 8px;
|
|
549
|
-
--comp-selection-dropdown-content-padding: 8px 0;
|
|
550
|
-
--comp-selection-dropdown-footer-padding: 12px 16px;
|
|
551
|
-
--comp-selection-dropdown-no-results-text-color: #5D6A82;
|
|
552
|
-
--comp-selection-dropdown-no-results-font-size: 14px;
|
|
553
|
-
--comp-selection-dropdown-item-padding: 8px 16px;
|
|
554
|
-
--comp-selection-dropdown-item-text-size: 14px;
|
|
555
|
-
--comp-selection-dropdown-item-text-line-height: 18px;
|
|
556
|
-
--comp-selection-dropdown-item-text-color: #344563;
|
|
557
|
-
--comp-selection-dropdown-item-background-color: #FFFFFF;
|
|
558
|
-
--comp-selection-dropdown-item-background-color-hover: #E8F4FF;
|
|
559
|
-
--comp-selection-dropdown-item-background-color-focused: #D1E8FF;
|
|
560
|
-
--comp-selection-dropdown-item-icon-spacing: 8px;
|
|
561
|
-
--comp-selection-dropdown-item-label-spacing: 8px;
|
|
562
|
-
--comp-selection-dropdown-item-description-color: #5D6A82;
|
|
563
|
-
--comp-selection-dropdown-item-description-size: 12px;
|
|
564
|
-
--comp-selection-dropdown-item-description-line-height: 18px;
|
|
565
|
-
--comp-selection-dropdown-divider-color: #EAECEF;
|
|
566
|
-
--comp-selection-dropdown-divider-margin: 8px 0;
|
|
567
|
-
--comp-selection-dropdown-group-header-padding: 8px 16px;
|
|
568
|
-
--comp-selection-dropdown-group-header-border-top-color: #EAECEF;
|
|
569
|
-
--comp-selection-dropdown-group-header-background-color: #F9F9FA;
|
|
570
|
-
--comp-selection-dropdown-selected-section-margin-bottom: 8px;
|
|
571
|
-
--comp-selection-dropdown-selected-section-padding-bottom: 8px;
|
|
572
541
|
--comp-snackbar-text-style-font-family: Averta;
|
|
573
542
|
--comp-snackbar-text-style-size: 14px;
|
|
574
543
|
--comp-snackbar-text-style-font-weight: 400;
|
package/assets/style/_table.scss
CHANGED
|
@@ -15,12 +15,15 @@
|
|
|
15
15
|
background-color: var(--ref-color-grey-05);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
&.ap-table--small
|
|
19
|
-
|
|
18
|
+
&.ap-table--small {
|
|
19
|
+
th[cdk-header-cell],
|
|
20
|
+
td[cdk-cell] {
|
|
21
|
+
height: 40px;
|
|
22
|
+
}
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
&.ap-table--striped tbody tr[cdk-row]:nth-child(even) {
|
|
23
|
-
background-color: var(--ref-color-grey-
|
|
26
|
+
background-color: var(--ref-color-grey-bg);
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
// Selected rows in striped tables - higher specificity to override striped background
|
|
@@ -30,7 +33,8 @@
|
|
|
30
33
|
|
|
31
34
|
// Header cells - using CDK attribute selector
|
|
32
35
|
th[cdk-header-cell] {
|
|
33
|
-
|
|
36
|
+
height: 52px;
|
|
37
|
+
padding: var(--ref-spacing-xxs) var(--ref-spacing-xs);
|
|
34
38
|
text-align: left;
|
|
35
39
|
font-size: var(--ref-font-size-xs);
|
|
36
40
|
font-weight: var(--ref-font-weight-bold);
|
|
@@ -56,6 +60,20 @@
|
|
|
56
60
|
justify-content: flex-end;
|
|
57
61
|
}
|
|
58
62
|
|
|
63
|
+
&.ap-table__header-cell--sortable {
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
|
|
66
|
+
// Hide sorting icon by default
|
|
67
|
+
ap-symbol {
|
|
68
|
+
opacity: 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Show sorting icon on hover
|
|
72
|
+
&:hover ap-symbol {
|
|
73
|
+
opacity: 1;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
59
77
|
// Checkbox header cells
|
|
60
78
|
&.ap-table__header-cell--checkbox {
|
|
61
79
|
width: 40px;
|
|
@@ -101,9 +119,9 @@
|
|
|
101
119
|
}
|
|
102
120
|
}
|
|
103
121
|
|
|
104
|
-
//
|
|
105
|
-
|
|
106
|
-
|
|
122
|
+
// Show grabbing cursor on grab icon when row is being dragged
|
|
123
|
+
.ap-table__drag-handle {
|
|
124
|
+
cursor: move;
|
|
107
125
|
}
|
|
108
126
|
|
|
109
127
|
// Body rows - using CDK attribute selector
|
|
@@ -123,10 +141,6 @@
|
|
|
123
141
|
}
|
|
124
142
|
}
|
|
125
143
|
|
|
126
|
-
&:hover {
|
|
127
|
-
background-color: var(--ref-color-grey-05);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
144
|
&.selected {
|
|
131
145
|
background-color: var(--ref-color-soft-blue-10);
|
|
132
146
|
}
|
|
@@ -154,6 +168,7 @@
|
|
|
154
168
|
.ap-table__cell-text {
|
|
155
169
|
color: var(--ref-color-grey-100);
|
|
156
170
|
font-size: var(--ref-font-size-sm);
|
|
171
|
+
line-height: var(--ref-font-line-height-sm);
|
|
157
172
|
|
|
158
173
|
&.ap-table__cell-text--bold {
|
|
159
174
|
font-weight: var(--ref-font-weight-bold);
|
|
@@ -163,7 +178,7 @@
|
|
|
163
178
|
.ap-table__cell-description {
|
|
164
179
|
color: var(--ref-color-grey-80);
|
|
165
180
|
font-size: var(--ref-font-size-xs);
|
|
166
|
-
|
|
181
|
+
line-height: var(--ref-font-line-height-xs);
|
|
167
182
|
}
|
|
168
183
|
|
|
169
184
|
// Action buttons alignment - can be used on action containers within cells
|
|
@@ -186,6 +201,8 @@
|
|
|
186
201
|
// CDK Drag and Drop styling - applied globally
|
|
187
202
|
tr[cdk-row].cdk-drag-preview,
|
|
188
203
|
.cdk-drag-preview {
|
|
204
|
+
display: flex;
|
|
205
|
+
align-items: center;
|
|
189
206
|
border-radius: var(--ref-border-radius-md);
|
|
190
207
|
background-color: var(--ref-color-electric-blue-10);
|
|
191
208
|
border: 1px solid var(--ref-color-electric-blue-40);
|
|
@@ -218,33 +235,13 @@ tr[cdk-row].cdk-drag-preview,
|
|
|
218
235
|
border: 1px dashed var(--ref-color-electric-blue-30) !important;
|
|
219
236
|
opacity: 0.7 !important;
|
|
220
237
|
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1) !important;
|
|
221
|
-
|
|
222
|
-
td[cdk-cell] {
|
|
223
|
-
border: none !important;
|
|
224
|
-
background-color: transparent !important;
|
|
225
|
-
}
|
|
226
238
|
}
|
|
227
239
|
|
|
228
240
|
.cdk-drag-animating {
|
|
229
|
-
transition: transform
|
|
241
|
+
transition: transform 350ms cubic-bezier(0, 0, 0.2, 1);
|
|
230
242
|
}
|
|
231
243
|
|
|
232
244
|
// Dragging state styles
|
|
233
245
|
.cdk-drop-list-dragging .cdk-drag {
|
|
234
246
|
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
235
247
|
}
|
|
236
|
-
|
|
237
|
-
// Active dragging row state
|
|
238
|
-
tr[cdk-row].cdk-drag {
|
|
239
|
-
cursor: move;
|
|
240
|
-
|
|
241
|
-
&:hover {
|
|
242
|
-
background-color: var(--ref-color-soft-blue-05);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
// Style while being dragged
|
|
246
|
-
&.cdk-drag-dragging {
|
|
247
|
-
background-color: var(--ref-color-red-05);
|
|
248
|
-
opacity: 0.7;
|
|
249
|
-
}
|
|
250
|
-
}
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"comp": {
|
|
3
|
-
"selectionDropdown": {
|
|
4
|
-
"background": {
|
|
5
|
-
"color": {
|
|
6
|
-
"value": "{ref.color.white}"
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
"boxShadow": {
|
|
10
|
-
"value": "0px 4px 25px -2px rgba(52, 69, 99, 0.15), 0px 4px 6px -2px rgba(52, 69, 99, 0.15)"
|
|
11
|
-
},
|
|
12
|
-
"border": {
|
|
13
|
-
"radius": {
|
|
14
|
-
"value": "{sys.border.radius.sm}"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"header": {
|
|
18
|
-
"top": {
|
|
19
|
-
"padding": {
|
|
20
|
-
"value": "{ref.spacing.xs} {ref.spacing.sm}"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"title": {
|
|
24
|
-
"fontSize": {
|
|
25
|
-
"value": "{ref.font.size.md}"
|
|
26
|
-
},
|
|
27
|
-
"fontWeight": {
|
|
28
|
-
"value": "{ref.font.weight.bold}"
|
|
29
|
-
},
|
|
30
|
-
"textColor": {
|
|
31
|
-
"value": "{ref.color.grey.100}"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"searchbar": {
|
|
35
|
-
"padding": {
|
|
36
|
-
"value": "0 {ref.spacing.xxs} {ref.spacing.xxs}"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"content": {
|
|
41
|
-
"padding": {
|
|
42
|
-
"value": "{ref.spacing.xxs} 0"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"footer": {
|
|
46
|
-
"padding": {
|
|
47
|
-
"value": "{ref.spacing.xs} {ref.spacing.sm}"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"noResults": {
|
|
51
|
-
"textColor": {
|
|
52
|
-
"value": "{ref.color.grey.80}"
|
|
53
|
-
},
|
|
54
|
-
"fontSize": {
|
|
55
|
-
"value": "{ref.font.size.sm}"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"item": {
|
|
59
|
-
"padding": {
|
|
60
|
-
"value": "{ref.spacing.xxs} {ref.spacing.sm}"
|
|
61
|
-
},
|
|
62
|
-
"text": {
|
|
63
|
-
"size": {
|
|
64
|
-
"value": "{sys.text.style.body.size}"
|
|
65
|
-
},
|
|
66
|
-
"lineHeight": {
|
|
67
|
-
"value": "{sys.text.style.body.line-height}"
|
|
68
|
-
},
|
|
69
|
-
"color": {
|
|
70
|
-
"value": "{ref.color.grey.100}"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"background": {
|
|
74
|
-
"color": {
|
|
75
|
-
"value": "{ref.color.white}"
|
|
76
|
-
},
|
|
77
|
-
"colorHover": {
|
|
78
|
-
"value": "{ref.color.electricBlue.10}"
|
|
79
|
-
},
|
|
80
|
-
"colorFocused": {
|
|
81
|
-
"value": "{ref.color.electricBlue.20}"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"icon": {
|
|
85
|
-
"spacing": {
|
|
86
|
-
"value": "{ref.spacing.xxs}"
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"label": {
|
|
90
|
-
"spacing": {
|
|
91
|
-
"value": "{ref.spacing.xxs}"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"description": {
|
|
95
|
-
"color": {
|
|
96
|
-
"value": "{ref.color.grey.80}"
|
|
97
|
-
},
|
|
98
|
-
"size": {
|
|
99
|
-
"value": "{sys.text.style.caption.size}"
|
|
100
|
-
},
|
|
101
|
-
"lineHeight": {
|
|
102
|
-
"value": "{sys.text.style.body.line-height}"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"divider": {
|
|
107
|
-
"color": {
|
|
108
|
-
"value": "{ref.color.grey.10}"
|
|
109
|
-
},
|
|
110
|
-
"margin": {
|
|
111
|
-
"value": "{ref.spacing.xxs} 0"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"group": {
|
|
115
|
-
"header": {
|
|
116
|
-
"padding": {
|
|
117
|
-
"value": "{ref.spacing.xxs} {ref.spacing.sm}"
|
|
118
|
-
},
|
|
119
|
-
"borderTop": {
|
|
120
|
-
"color": {
|
|
121
|
-
"value": "{ref.color.grey.10}"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"background": {
|
|
125
|
-
"color": {
|
|
126
|
-
"value": "{ref.color.grey.bg}"
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"selectedSection": {
|
|
132
|
-
"marginBottom": {
|
|
133
|
-
"value": "{ref.spacing.xxs}"
|
|
134
|
-
},
|
|
135
|
-
"paddingBottom": {
|
|
136
|
-
"value": "{ref.spacing.xxs}"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|