@licklist/design 0.78.40 → 0.78.43

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.
@@ -13,11 +13,12 @@
13
13
  display: flex;
14
14
  justify-content: space-between;
15
15
  align-items: center;
16
- border-bottom: 1px solid #E8E9EF;
17
- margin-bottom: 32px;
18
- margin-left: 32px;
19
- margin-right: 32px;
20
16
  padding: 0;
17
+
18
+ .new-tabs {
19
+ width: 100%;
20
+ margin-top: 0;
21
+ }
21
22
  }
22
23
 
23
24
  &__title-row {
@@ -98,7 +99,7 @@
98
99
  display: flex;
99
100
  flex-direction: column;
100
101
  gap: 16px;
101
- padding: 0 32px 32px;
102
+ padding: 16px 0 16px 0;
102
103
  }
103
104
 
104
105
  .filter-section {
@@ -177,56 +178,67 @@
177
178
 
178
179
  // Cells styling (usually specific to the table in this page)
179
180
  .entity-cell {
181
+ position: relative;
182
+ overflow: hidden;
183
+
180
184
  &__name {
181
185
  font-size: 15px;
182
186
  font-weight: 600;
183
187
  color: var(--label-primary);
184
188
  }
189
+
190
+ &__info-wrapper {
191
+ position: relative;
192
+ height: 1.2em;
193
+ }
194
+
195
+ &__id,
185
196
  &__sub {
186
197
  font-size: 13px;
187
198
  color: var(--label-secondary);
188
- display: block !important;
199
+ line-height: 1.2;
200
+ transition: opacity 0.2s ease, visibility 0.2s ease;
189
201
  }
202
+
190
203
  &__id {
191
- font-size: 13px;
192
- color: var(--label-secondary);
193
- display: none !important;
204
+ position: absolute;
205
+ top: 0;
206
+ left: 0;
207
+ opacity: 0;
208
+ visibility: hidden;
194
209
  }
195
210
 
196
- &:hover {
197
- .entity-cell__id {
198
- display: block !important;
199
- }
200
- .entity-cell__sub {
201
- display: none !important;
202
- }
211
+ &__sub {
212
+ display: block;
213
+ opacity: 1;
214
+ visibility: visible;
203
215
  }
204
216
 
205
- // Ensure hover state on the row also triggers the same behavior
206
- // This addresses potential flickering when moving between cells
217
+ &:hover,
207
218
  :is(.new-table__row:hover) & {
208
219
  .entity-cell__id {
209
- display: block !important;
220
+ opacity: 1;
221
+ visibility: visible;
210
222
  }
211
223
  .entity-cell__sub {
212
- display: none !important;
224
+ opacity: 0;
225
+ visibility: hidden;
213
226
  }
214
227
  }
215
228
 
216
- // When entity-cell__sub is missing (like in template list),
217
- // showing entity-cell__id on hover causes height jump.
218
- // We only want to swap if both exist, or ensure height is stable.
229
+ // When entity-cell__sub is missing, always show ID if it exists
219
230
  &:not(:has(.entity-cell__sub)) {
220
231
  .entity-cell__id {
221
- display: block !important;
232
+ position: static;
233
+ opacity: 1;
234
+ visibility: visible;
222
235
  }
223
236
  }
224
237
 
225
- :is(.new-table__row:hover) &:not(:has(.entity-cell__sub)) {
226
- .entity-cell__id {
227
- display: block !important;
228
- }
229
- }
238
+ // Special case for templates list where sub might be a space ( )
239
+ // We only want to swap if the content is meaningful.
240
+ // If it's empty or just whitespace, we could show ID by default.
241
+ // For now, the opacity-based swap should handle the visual stability.
230
242
  }
231
243
 
232
244
  .type-cell {
@@ -277,12 +289,18 @@
277
289
  }
278
290
  }
279
291
 
292
+ .new-page-header-container {
293
+ padding-left: 0;
294
+ padding-right: 0;
295
+ }
296
+
280
297
  &__pagination {
281
298
  margin-top: 16px;
282
- padding-top: 32px;
299
+ padding: 32px 0 32px 0;
283
300
  border-top: 1px solid #E8E9EF;
301
+ display: flex;
284
302
  align-items: center;
285
- justify-content: center;
303
+ justify-content: flex-start;
286
304
  gap: 12px;
287
305
 
288
306
  .pagination__nav {
@@ -431,8 +449,6 @@
431
449
  flex-direction: column;
432
450
  gap: 16px;
433
451
  align-items: flex-start;
434
- margin-left: 16px;
435
- margin-right: 16px;
436
452
  padding: 0;
437
453
  }
438
454
 
@@ -485,7 +501,6 @@
485
501
 
486
502
  &__content {
487
503
  gap: 20px;
488
- padding: 0 16px 16px;
489
504
  }
490
505
 
491
506
  .filter-section {
@@ -543,10 +558,13 @@
543
558
  }
544
559
 
545
560
  &__pagination {
546
- flex-direction: column;
561
+ display: flex;
562
+ flex-direction: row;
563
+ justify-content: flex-start;
564
+ align-items: center;
547
565
  gap: 12px;
548
566
  margin-top: 12px;
549
- padding-top: 24px;
567
+ padding: 24px 0 24px 0;
550
568
 
551
569
  .pagination__nav {
552
570
  padding: 6px 10px;
@@ -555,7 +573,7 @@
555
573
 
556
574
  .pagination__pages {
557
575
  flex-wrap: wrap;
558
- justify-content: center;
576
+ justify-content: flex-start;
559
577
  gap: 4px;
560
578
  }
561
579
 
@@ -876,9 +894,16 @@
876
894
  padding: 0 12px 12px;
877
895
  }
878
896
 
897
+ &__pagination {
898
+ justify-content: center;
899
+
900
+ .pagination__pages {
901
+ justify-content: center;
902
+ }
903
+ }
904
+
879
905
  &__tabs-container {
880
- margin-left: 12px;
881
- margin-right: 12px;
906
+ margin: 0 12px 12px 12px;
882
907
  }
883
908
  }
884
909
  }
@@ -1,13 +1,8 @@
1
1
  .nps-score {
2
2
  width: 100%;
3
3
  margin-top: 24px;
4
- padding: 0 1rem;
5
4
  box-sizing: border-box;
6
5
 
7
- @media (max-width: 576px) {
8
- padding: 0 16px;
9
- }
10
-
11
6
  &__container {
12
7
  background: var(--surface-secondary);
13
8
  border-radius: 16px;
@@ -3,11 +3,9 @@
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
5
5
  gap: 0;
6
+ margin: 20px 0 20px 0;
6
7
  align-self: stretch;
7
- padding: 32px 32px 0px 32px;
8
-
9
8
  @media (max-width: 768px) {
10
- padding: 16px 0 0 0;
11
9
  gap: 0;
12
10
  }
13
11
  }
@@ -22,7 +20,7 @@
22
20
 
23
21
  @media (max-width: 768px) {
24
22
  gap: 8px;
25
- padding-top: 16px;
23
+ padding-top: 0;
26
24
  }
27
25
 
28
26
  &__title {
@@ -6,14 +6,9 @@
6
6
  padding-bottom: 0;
7
7
  padding-left: 0;
8
8
  padding-top: 0;
9
- margin-bottom: 18px;
10
- margin-top: -18px;
9
+ margin: 20px 0 20px 0;
11
10
  border-bottom: 1px solid var(--border-primary, #E8E9EF);
12
11
 
13
- @media (max-width: 640px) {
14
- padding-bottom: 8px;
15
- }
16
-
17
12
  &__container {
18
13
  display: flex;
19
14
  gap: 0;
@@ -28,20 +23,43 @@
28
23
  margin-right: 24px;
29
24
  background: none;
30
25
  border: none;
31
- border-bottom: 3.5px solid transparent;
32
26
  font-family: var(--font-family-sans);
33
27
  color: var(--label-selected, #121E52);
34
28
  cursor: pointer;
35
- transition: all 0.2s;
36
- margin-bottom: -1px;
29
+ margin-bottom: 0;
30
+ position: relative;
31
+ transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
32
+
33
+ &::after {
34
+ content: '';
35
+ position: absolute;
36
+ bottom: 0;
37
+ left: 50%;
38
+ transform: translateX(-50%);
39
+ width: 100%;
40
+ height: 3px;
41
+ background-color: transparent;
42
+ border-radius: 4px;
43
+ transition-property: all;
44
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
45
+ transition-duration: 0.25s;
46
+ }
47
+
48
+ &:hover:not(:disabled)::after {
49
+ background-color: var(--fill-action-secondary, #6200EE);
50
+ width: 50%;
51
+ }
37
52
 
38
53
  &:hover:not(:disabled) {
39
- color: var(--fills-main-fill-primary, #14215A);
54
+ color: var(--fill-action-secondary, #6200EE);
55
+ }
56
+
57
+ &--active::after {
58
+ background-color: var(--fills-main-fill-primary, #14215A);
40
59
  }
41
60
 
42
61
  &--active {
43
62
  color: var(--fills-main-fill-primary, #14215A);
44
- border-bottom-color: var(--fills-main-fill-primary, #14215A);
45
63
  }
46
64
 
47
65
  &:disabled {
@@ -78,6 +78,7 @@
78
78
  --purple-700: #4600A9;
79
79
  --purple-800: #360083;
80
80
  --purple-900: #290064;
81
+ --deep-purple-500: #6200EE;
81
82
 
82
83
  /* Oranges */
83
84
  --orange-50: #FFF2E8;
@@ -401,6 +402,7 @@
401
402
 
402
403
  /* Fills */
403
404
  --fill-primary: var(--shade-lighter);
405
+ --fill-action-secondary: var(--deep-purple-500);
404
406
  --fill-secondary: var(--tone-darkest);
405
407
  --fill-white: var(--tone-lightest);
406
408
  --fill-action: var(--actions-regular);