@licklist/design 0.78.5-dev.54 → 0.78.5-dev.55
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/dist/index.js +2 -7
- package/dist/v2/components/ActionMenu/ActionMenu.d.ts +1 -0
- package/dist/v2/components/ActionMenu/ActionMenu.d.ts.map +1 -1
- package/dist/v2/components/ActionMenu/ActionMenu.js +10 -3
- package/dist/v2/components/ActionMenu/ActionMenu.scss.js +1 -1
- package/dist/v2/components/Button/Button.d.ts +1 -1
- package/dist/v2/components/Button/Button.d.ts.map +1 -1
- package/dist/v2/components/Button/Button.scss.js +1 -1
- package/dist/v2/components/NewPageHeader/NewPageHeader.d.ts +2 -1
- package/dist/v2/components/NewPageHeader/NewPageHeader.d.ts.map +1 -1
- package/dist/v2/components/NewPageHeader/NewPageHeader.js +2 -2
- package/dist/v2/components/NewTable/NewTable.d.ts +1 -0
- package/dist/v2/components/NewTable/NewTable.d.ts.map +1 -1
- package/dist/v2/components/NewTable/NewTable.js +5 -0
- package/dist/v2/components/Pagination/Pagination.scss.js +1 -1
- package/dist/v2/components/index.d.ts +3 -10
- package/dist/v2/components/index.d.ts.map +1 -1
- package/dist/v2/icons/index.d.ts +18 -3
- package/dist/v2/icons/index.d.ts.map +1 -1
- package/dist/v2/icons/index.js +150 -7
- package/dist/v2/pages/Settings/components/SidebarCustomisation.js +7 -11
- package/dist/v2/pages/Settings/components/SidebarNavItem.js +6 -11
- package/dist/v2/styles/components/Button.scss +24 -2
- package/package.json +1 -1
- package/src/v2/components/ActionMenu/ActionMenu.scss +16 -5
- package/src/v2/components/ActionMenu/ActionMenu.tsx +6 -3
- package/src/v2/components/Button/Button.tsx +1 -1
- package/src/v2/components/Customer/CustomerDetail.scss +315 -0
- package/src/v2/components/Customer/CustomersList.scss +308 -36
- package/src/v2/components/NewPageHeader/NewPageHeader.tsx +6 -4
- package/src/v2/components/NewTable/NewTable.tsx +6 -0
- package/src/v2/components/Pagination/Pagination.scss +24 -24
- package/src/v2/components/index.ts +19 -13
- package/src/v2/icons/index.tsx +35 -6
- package/src/v2/styles/components/Button.scss +24 -2
- package/dist/v2/components/Customer/CustomerCreate/CustomerCreate.js +0 -32
- package/dist/v2/components/Customer/CustomerDetail/CustomerDetail.js +0 -235
- package/dist/v2/components/Customer/CustomerDetail/CustomerDetail.scss.js +0 -6
- package/dist/v2/components/Customer/CustomerEdit/CustomerEdit.js +0 -32
- package/dist/v2/components/Customer/CustomerForm/CustomerForm.js +0 -535
- package/dist/v2/components/Customer/CustomersList.js +0 -204
- package/dist/v2/components/Customer/CustomersList.scss.js +0 -6
|
@@ -107,8 +107,7 @@
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.search-input-wrapper {
|
|
110
|
-
|
|
111
|
-
width: 100%;
|
|
110
|
+
width: 70%;
|
|
112
111
|
}
|
|
113
112
|
|
|
114
113
|
.search-helper-text {
|
|
@@ -140,28 +139,38 @@
|
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
.action-btn {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
142
|
+
padding: 0 16px;
|
|
143
|
+
border: 1px solid var(--border-primary, #E8E9EF);
|
|
144
|
+
background: #FFFFFF;
|
|
145
|
+
transition: all 0.2s ease;
|
|
146
|
+
height: 44px;
|
|
147
|
+
border-radius: 8px;
|
|
148
|
+
|
|
149
|
+
&--secondary-soft {
|
|
150
|
+
background: var(--surface-action-soft, #EFE6FD);
|
|
151
|
+
border: none;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
&--tertiary-soft {
|
|
155
|
+
background: #FFFFFF;
|
|
156
|
+
border: 1px solid var(--border-primary, #E8E9EF);
|
|
157
|
+
}
|
|
156
158
|
|
|
157
159
|
&:hover {
|
|
158
|
-
background-color: #
|
|
160
|
+
background-color: var(--surface-tertiary, #F0F0F5);
|
|
161
|
+
border-color: var(--border-primary, #E8E9EF);
|
|
159
162
|
}
|
|
160
163
|
|
|
164
|
+
.new-button__text {
|
|
165
|
+
font-family: var(--font-family-sans, 'Geist', sans-serif);
|
|
166
|
+
font-size: 14px;
|
|
167
|
+
font-weight: 500;
|
|
168
|
+
color: #121E52;
|
|
169
|
+
}
|
|
161
170
|
|
|
162
171
|
svg {
|
|
163
|
-
width:
|
|
164
|
-
height:
|
|
172
|
+
width: 32px;
|
|
173
|
+
height: 32px;
|
|
165
174
|
flex-shrink: 0;
|
|
166
175
|
}
|
|
167
176
|
}
|
|
@@ -257,9 +266,8 @@
|
|
|
257
266
|
|
|
258
267
|
&__pagination {
|
|
259
268
|
margin-top: 16px;
|
|
260
|
-
padding-top:
|
|
269
|
+
padding-top: 32px;
|
|
261
270
|
border-top: 1px solid #E8E9EF;
|
|
262
|
-
display: flex;
|
|
263
271
|
align-items: center;
|
|
264
272
|
justify-content: center;
|
|
265
273
|
gap: 12px;
|
|
@@ -318,6 +326,39 @@
|
|
|
318
326
|
background-color: #FFFFFF;
|
|
319
327
|
border-radius: 8px;
|
|
320
328
|
overflow: hidden;
|
|
329
|
+
position: relative;
|
|
330
|
+
|
|
331
|
+
&--loading {
|
|
332
|
+
opacity: 0.7;
|
|
333
|
+
pointer-events: none;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.table-loading-overlay {
|
|
338
|
+
position: absolute;
|
|
339
|
+
top: 0;
|
|
340
|
+
left: 0;
|
|
341
|
+
right: 0;
|
|
342
|
+
bottom: 0;
|
|
343
|
+
display: flex;
|
|
344
|
+
align-items: center;
|
|
345
|
+
justify-content: center;
|
|
346
|
+
background: rgba(255, 255, 255, 0.3);
|
|
347
|
+
z-index: 10;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.table-loading-spinner {
|
|
351
|
+
width: 32px;
|
|
352
|
+
height: 32px;
|
|
353
|
+
border: 3px solid #E8E9EF;
|
|
354
|
+
border-top: 3px solid #121E52;
|
|
355
|
+
border-radius: 50%;
|
|
356
|
+
animation: spin 1s linear infinite;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
@keyframes spin {
|
|
360
|
+
0% { transform: rotate(0deg); }
|
|
361
|
+
100% { transform: rotate(360deg); }
|
|
321
362
|
}
|
|
322
363
|
|
|
323
364
|
.no-results-content {
|
|
@@ -430,8 +471,18 @@
|
|
|
430
471
|
.filter-section {
|
|
431
472
|
gap: 16px;
|
|
432
473
|
|
|
474
|
+
.search-row {
|
|
475
|
+
max-width: 100%;
|
|
476
|
+
width: 100%;
|
|
477
|
+
}
|
|
478
|
+
|
|
433
479
|
.search-input-wrapper {
|
|
434
480
|
max-width: 100%;
|
|
481
|
+
width: 100%;
|
|
482
|
+
|
|
483
|
+
.new-form-input__input-with-icon {
|
|
484
|
+
width: 100%;
|
|
485
|
+
}
|
|
435
486
|
}
|
|
436
487
|
|
|
437
488
|
.search-helper-text {
|
|
@@ -445,26 +496,77 @@
|
|
|
445
496
|
align-items: stretch;
|
|
446
497
|
}
|
|
447
498
|
|
|
448
|
-
|
|
449
|
-
|
|
499
|
+
.quick-filters-wrapper {
|
|
500
|
+
width: 100%;
|
|
501
|
+
|
|
502
|
+
.quick-filter {
|
|
503
|
+
flex-direction: row;
|
|
504
|
+
align-items: center;
|
|
505
|
+
gap: 8px;
|
|
506
|
+
|
|
507
|
+
&__label {
|
|
508
|
+
font-size: 11px;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
&__options {
|
|
512
|
+
display: flex;
|
|
513
|
+
flex-wrap: wrap;
|
|
514
|
+
gap: 6px;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
&__option {
|
|
518
|
+
padding: 2px 8px;
|
|
519
|
+
font-size: 11px;
|
|
520
|
+
}
|
|
450
521
|
}
|
|
522
|
+
}
|
|
451
523
|
|
|
452
524
|
.action-buttons {
|
|
453
|
-
|
|
454
|
-
justify-content:
|
|
525
|
+
display: flex;
|
|
526
|
+
justify-content: space-between;
|
|
455
527
|
gap: 8px;
|
|
528
|
+
width: 100%;
|
|
529
|
+
flex-wrap: wrap;
|
|
456
530
|
}
|
|
457
531
|
|
|
458
532
|
.action-btn {
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
flex: 1;
|
|
462
|
-
min-width: fit-content;
|
|
533
|
+
flex: 1 0 calc(50% - 4px);
|
|
534
|
+
min-width: 0;
|
|
463
535
|
justify-content: center;
|
|
536
|
+
border: 1px solid #E8E9EF;
|
|
537
|
+
background: #FFFFFF;
|
|
538
|
+
height: 44px;
|
|
539
|
+
padding: 0 4px;
|
|
540
|
+
border-radius: 8px;
|
|
541
|
+
gap: 4px;
|
|
542
|
+
|
|
543
|
+
&--secondary-soft {
|
|
544
|
+
background: var(--surface-action-soft, #EFE6FD);
|
|
545
|
+
border: none;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
&--tertiary-soft {
|
|
549
|
+
background: #FFFFFF;
|
|
550
|
+
border: 1px solid #E8E9EF;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
&:hover {
|
|
554
|
+
background-color: var(--surface-tertiary, #F0F0F5);
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.new-button__text {
|
|
558
|
+
font-family: var(--font-family-sans, 'Geist', sans-serif);
|
|
559
|
+
font-size: 11px;
|
|
560
|
+
font-weight: 600;
|
|
561
|
+
white-space: nowrap;
|
|
562
|
+
overflow: hidden;
|
|
563
|
+
text-overflow: ellipsis;
|
|
564
|
+
}
|
|
464
565
|
|
|
465
566
|
svg {
|
|
466
|
-
width:
|
|
467
|
-
height:
|
|
567
|
+
width: 32px;
|
|
568
|
+
height: 32px;
|
|
569
|
+
flex-shrink: 0;
|
|
468
570
|
}
|
|
469
571
|
}
|
|
470
572
|
}
|
|
@@ -473,7 +575,7 @@
|
|
|
473
575
|
flex-direction: column;
|
|
474
576
|
gap: 12px;
|
|
475
577
|
margin-top: 12px;
|
|
476
|
-
padding-top:
|
|
578
|
+
padding-top: 24px;
|
|
477
579
|
|
|
478
580
|
.pagination__nav {
|
|
479
581
|
padding: 6px 10px;
|
|
@@ -495,18 +597,183 @@
|
|
|
495
597
|
}
|
|
496
598
|
|
|
497
599
|
.table-section {
|
|
498
|
-
overflow-x:
|
|
499
|
-
|
|
600
|
+
overflow-x: visible;
|
|
601
|
+
overflow: visible;
|
|
602
|
+
|
|
603
|
+
.new-table {
|
|
604
|
+
display: block;
|
|
605
|
+
min-width: unset;
|
|
606
|
+
|
|
607
|
+
&__head {
|
|
608
|
+
display: none;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
&__body {
|
|
612
|
+
display: block;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
&__row {
|
|
616
|
+
display: grid;
|
|
617
|
+
grid-template-areas:
|
|
618
|
+
"customer age"
|
|
619
|
+
"divider divider"
|
|
620
|
+
"next last"
|
|
621
|
+
"actions actions";
|
|
622
|
+
grid-template-columns: 1fr auto;
|
|
623
|
+
border: 1px solid var(--border-primary, #E8E9EF);
|
|
624
|
+
border-radius: 12px;
|
|
625
|
+
margin-bottom: 16px;
|
|
626
|
+
padding: 16px;
|
|
627
|
+
gap: 12px;
|
|
628
|
+
background: #FFFFFF;
|
|
629
|
+
position: relative;
|
|
630
|
+
overflow: visible;
|
|
631
|
+
|
|
632
|
+
&::after {
|
|
633
|
+
content: "";
|
|
634
|
+
grid-area: divider;
|
|
635
|
+
height: 1px;
|
|
636
|
+
background-color: #E8E9EF;
|
|
637
|
+
margin: 4px 0;
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
&__cell {
|
|
642
|
+
display: block;
|
|
643
|
+
padding: 0;
|
|
644
|
+
border: none;
|
|
645
|
+
min-width: 0;
|
|
646
|
+
overflow: visible;
|
|
647
|
+
|
|
648
|
+
&.tw-text-right {
|
|
649
|
+
grid-area: actions;
|
|
650
|
+
text-align: right;
|
|
651
|
+
padding-top: 12px;
|
|
652
|
+
border-top: 1px solid var(--border-primary, #E8E9EF);
|
|
653
|
+
margin-top: 4px;
|
|
654
|
+
display: flex;
|
|
655
|
+
justify-content: flex-end;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
&:first-child {
|
|
659
|
+
grid-area: customer;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
&.age-col {
|
|
663
|
+
grid-area: age;
|
|
664
|
+
text-align: right;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
&.next-booking-col {
|
|
668
|
+
grid-area: next;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
&.last-booking-col {
|
|
672
|
+
grid-area: last;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
&.no-of-bookings-col {
|
|
676
|
+
display: none;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
&.waiver-col {
|
|
680
|
+
grid-area: last; // Reuse 'last' area for waiver in waiver list
|
|
681
|
+
text-align: right;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.age-cell {
|
|
688
|
+
text-align: right;
|
|
689
|
+
min-width: 0;
|
|
690
|
+
overflow: hidden;
|
|
691
|
+
&__label {
|
|
692
|
+
font-size: 13px;
|
|
693
|
+
color: #626A90;
|
|
694
|
+
font-weight: 500;
|
|
695
|
+
margin-bottom: 2px;
|
|
696
|
+
white-space: nowrap;
|
|
697
|
+
overflow: hidden;
|
|
698
|
+
text-overflow: ellipsis;
|
|
699
|
+
}
|
|
700
|
+
&__value {
|
|
701
|
+
font-size: 14px;
|
|
702
|
+
color: #121E52;
|
|
703
|
+
font-weight: 600;
|
|
704
|
+
white-space: nowrap;
|
|
705
|
+
overflow: hidden;
|
|
706
|
+
text-overflow: ellipsis;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
.booking-cell {
|
|
711
|
+
min-width: 0;
|
|
712
|
+
overflow: hidden;
|
|
713
|
+
&__label {
|
|
714
|
+
font-size: 13px;
|
|
715
|
+
color: #626A90;
|
|
716
|
+
font-weight: 500;
|
|
717
|
+
margin-bottom: 4px;
|
|
718
|
+
white-space: nowrap;
|
|
719
|
+
overflow: hidden;
|
|
720
|
+
text-overflow: ellipsis;
|
|
721
|
+
}
|
|
722
|
+
&__value {
|
|
723
|
+
font-size: 14px;
|
|
724
|
+
color: #121E52;
|
|
725
|
+
font-weight: 400;
|
|
726
|
+
white-space: nowrap;
|
|
727
|
+
overflow: hidden;
|
|
728
|
+
text-overflow: ellipsis;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.waiver-cell {
|
|
733
|
+
display: flex;
|
|
734
|
+
flex-direction: column;
|
|
735
|
+
align-items: flex-end;
|
|
736
|
+
min-width: 0;
|
|
737
|
+
overflow: hidden;
|
|
738
|
+
|
|
739
|
+
&__label {
|
|
740
|
+
font-size: 13px;
|
|
741
|
+
color: #626A90;
|
|
742
|
+
font-weight: 500;
|
|
743
|
+
margin-bottom: 4px;
|
|
744
|
+
text-align: right;
|
|
745
|
+
white-space: nowrap;
|
|
746
|
+
overflow: hidden;
|
|
747
|
+
text-overflow: ellipsis;
|
|
748
|
+
width: 100%;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.v2-badge {
|
|
752
|
+
display: inline-flex;
|
|
753
|
+
margin-left: auto;
|
|
754
|
+
}
|
|
500
755
|
}
|
|
501
756
|
|
|
502
757
|
.customer-cell {
|
|
758
|
+
min-width: 0;
|
|
759
|
+
overflow: hidden;
|
|
760
|
+
|
|
503
761
|
&__name {
|
|
504
|
-
font-size:
|
|
762
|
+
font-size: 16px;
|
|
763
|
+
font-weight: 700;
|
|
764
|
+
margin-bottom: 2px;
|
|
765
|
+
white-space: nowrap;
|
|
766
|
+
overflow: hidden;
|
|
767
|
+
text-overflow: ellipsis;
|
|
505
768
|
}
|
|
506
769
|
|
|
507
770
|
&__email,
|
|
508
771
|
&__id {
|
|
509
|
-
font-size:
|
|
772
|
+
font-size: 14px;
|
|
773
|
+
color: #626A90;
|
|
774
|
+
white-space: nowrap;
|
|
775
|
+
overflow: hidden;
|
|
776
|
+
text-overflow: ellipsis;
|
|
510
777
|
}
|
|
511
778
|
}
|
|
512
779
|
|
|
@@ -566,13 +833,18 @@
|
|
|
566
833
|
|
|
567
834
|
.filter-section {
|
|
568
835
|
.action-buttons {
|
|
569
|
-
flex-direction:
|
|
836
|
+
flex-direction: row;
|
|
570
837
|
width: 100%;
|
|
571
838
|
}
|
|
572
839
|
|
|
573
840
|
.action-btn {
|
|
574
841
|
width: 100%;
|
|
575
842
|
justify-content: center;
|
|
843
|
+
|
|
844
|
+
.v2-button__content {
|
|
845
|
+
width: 100%;
|
|
846
|
+
justify-content: center;
|
|
847
|
+
}
|
|
576
848
|
}
|
|
577
849
|
}
|
|
578
850
|
|
|
@@ -8,15 +8,17 @@ export interface NewPageHeaderProps {
|
|
|
8
8
|
onCancel?: () => void;
|
|
9
9
|
renderRight?: () => React.ReactNode;
|
|
10
10
|
className?: string;
|
|
11
|
+
showDivider?: boolean;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
|
-
export const NewPageHeader
|
|
14
|
+
export const NewPageHeader = ({
|
|
14
15
|
title,
|
|
15
16
|
cancelLabel = 'Cancel',
|
|
16
17
|
onCancel,
|
|
17
18
|
renderRight,
|
|
18
|
-
className = ''
|
|
19
|
-
|
|
19
|
+
className = '',
|
|
20
|
+
showDivider = true
|
|
21
|
+
}: NewPageHeaderProps) => {
|
|
20
22
|
return (
|
|
21
23
|
<div className={`new-page-header-container ${className}`}>
|
|
22
24
|
<div className="new-page-header">
|
|
@@ -34,7 +36,7 @@ export const NewPageHeader: React.FC<NewPageHeaderProps> = ({
|
|
|
34
36
|
)}
|
|
35
37
|
</div>
|
|
36
38
|
</div>
|
|
37
|
-
<hr className="new-page-header__divider" />
|
|
39
|
+
{showDivider && <hr className="new-page-header__divider" />}
|
|
38
40
|
</div>
|
|
39
41
|
);
|
|
40
42
|
};
|
|
@@ -6,6 +6,7 @@ export interface NewTableColumn<T> {
|
|
|
6
6
|
accessor: keyof T | ((row: T) => React.ReactNode)
|
|
7
7
|
className?: string
|
|
8
8
|
width?: string | number
|
|
9
|
+
disableRowClick?: boolean
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
export interface NewTableProps<T> {
|
|
@@ -61,6 +62,11 @@ export function NewTable<T extends { id?: string | number }>({
|
|
|
61
62
|
<td
|
|
62
63
|
key={colIndex}
|
|
63
64
|
className={`new-table__cell ${column.className || ''}`}
|
|
65
|
+
onClick={(e) => {
|
|
66
|
+
if (column.disableRowClick) {
|
|
67
|
+
e.stopPropagation()
|
|
68
|
+
}
|
|
69
|
+
}}
|
|
64
70
|
>
|
|
65
71
|
{content}
|
|
66
72
|
</td>
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
.v2-pagination {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
|
-
gap:
|
|
4
|
+
gap: 16px;
|
|
5
5
|
font-family: var(--font-family-sans, 'Geist', sans-serif), serif;
|
|
6
6
|
|
|
7
7
|
&__controls {
|
|
8
8
|
display: flex;
|
|
9
|
-
gap:
|
|
9
|
+
gap: 8px;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
&__button {
|
|
13
13
|
display: flex;
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: center;
|
|
16
|
-
width:
|
|
17
|
-
height:
|
|
16
|
+
width: 40px;
|
|
17
|
+
height: 40px;
|
|
18
18
|
border-radius: 50%;
|
|
19
19
|
border: none;
|
|
20
20
|
cursor: pointer;
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
svg {
|
|
46
|
-
width:
|
|
47
|
-
height:
|
|
46
|
+
width: 20px;
|
|
47
|
+
height: 20px;
|
|
48
48
|
flex-shrink: 0; // Prevent SVG from shrinking
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -52,17 +52,17 @@
|
|
|
52
52
|
&__info {
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
gap:
|
|
55
|
+
gap: 2px;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
&__page-number {
|
|
59
|
-
font-size:
|
|
59
|
+
font-size: 14px;
|
|
60
60
|
font-weight: 600;
|
|
61
61
|
color: #14215a; // Main fill primary
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
&__showing {
|
|
65
|
-
font-size:
|
|
65
|
+
font-size: 12px;
|
|
66
66
|
font-weight: 500;
|
|
67
67
|
color: #626a90; // Secondary text color
|
|
68
68
|
}
|
|
@@ -71,19 +71,19 @@
|
|
|
71
71
|
// Mobile styles
|
|
72
72
|
@media (max-width: 768px) {
|
|
73
73
|
.v2-pagination {
|
|
74
|
-
gap:
|
|
74
|
+
gap: 12px;
|
|
75
75
|
|
|
76
76
|
&__controls {
|
|
77
|
-
gap:
|
|
77
|
+
gap: 6px;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
&__button {
|
|
81
|
-
width:
|
|
82
|
-
height:
|
|
81
|
+
width: 36px;
|
|
82
|
+
height: 36px;
|
|
83
83
|
|
|
84
84
|
svg {
|
|
85
|
-
width:
|
|
86
|
-
height:
|
|
85
|
+
width: 18px;
|
|
86
|
+
height: 18px;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -92,11 +92,11 @@
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
&__page-number {
|
|
95
|
-
font-size:
|
|
95
|
+
font-size: 13px;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
&__showing {
|
|
99
|
-
font-size:
|
|
99
|
+
font-size: 11px;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
@media (max-width: 480px) {
|
|
105
105
|
.v2-pagination {
|
|
106
106
|
flex-direction: column;
|
|
107
|
-
gap:
|
|
107
|
+
gap: 10px;
|
|
108
108
|
align-items: flex-start;
|
|
109
109
|
|
|
110
110
|
&__controls {
|
|
@@ -114,12 +114,12 @@
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
&__button {
|
|
117
|
-
width:
|
|
118
|
-
height:
|
|
117
|
+
width: 32px;
|
|
118
|
+
height: 32px;
|
|
119
119
|
|
|
120
120
|
svg {
|
|
121
|
-
width:
|
|
122
|
-
height:
|
|
121
|
+
width: 16px;
|
|
122
|
+
height: 16px;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
|
|
@@ -131,11 +131,11 @@
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
&__page-number {
|
|
134
|
-
font-size:
|
|
134
|
+
font-size: 12px;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
&__showing {
|
|
138
|
-
font-size:
|
|
138
|
+
font-size: 10px;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -7,15 +7,6 @@ export type { QuickFilterProps, QuickFilterOption } from './QuickFilter'
|
|
|
7
7
|
export { NewTable } from './NewTable'
|
|
8
8
|
export type { NewTableProps, NewTableColumn } from './NewTable'
|
|
9
9
|
|
|
10
|
-
export { CustomersList } from './Customer'
|
|
11
|
-
export type { CustomersListProps } from './Customer'
|
|
12
|
-
|
|
13
|
-
export { CustomerDetail } from './Customer'
|
|
14
|
-
export type { CustomerDetailProps } from './Customer'
|
|
15
|
-
|
|
16
|
-
export * from './Customer/CustomerForm'
|
|
17
|
-
export * from './Customer/CustomerEdit'
|
|
18
|
-
export * from './Customer/CustomerCreate'
|
|
19
10
|
|
|
20
11
|
export { ActionMenu } from './ActionMenu'
|
|
21
12
|
export type { ActionMenuProps, ActionMenuItem } from './ActionMenu'
|
|
@@ -46,9 +37,6 @@ export type { SectionHeaderProps } from './SectionHeader'
|
|
|
46
37
|
export { Button, ButtonText } from './Button'
|
|
47
38
|
export type { ButtonProps, ButtonTextProps } from './Button'
|
|
48
39
|
|
|
49
|
-
export { GhostButton } from './Button/GhostButton'
|
|
50
|
-
export type { GhostButtonProps } from './Button/GhostButton'
|
|
51
|
-
|
|
52
40
|
export { Select } from './Select'
|
|
53
41
|
|
|
54
42
|
export { Tooltip } from './Tooltip'
|
|
@@ -64,5 +52,23 @@ export { Alert } from './Alert'
|
|
|
64
52
|
|
|
65
53
|
export { NPSScore } from './NPSScore'
|
|
66
54
|
|
|
55
|
+
export { Pagination } from './Pagination'
|
|
56
|
+
export type { PaginationProps } from './Pagination'
|
|
57
|
+
|
|
67
58
|
// Icons
|
|
68
|
-
export {
|
|
59
|
+
export {
|
|
60
|
+
InfoIcon,
|
|
61
|
+
ArrowUpIcon,
|
|
62
|
+
ArrowDownIcon,
|
|
63
|
+
EditIcon,
|
|
64
|
+
ArrowLeftIcon,
|
|
65
|
+
ArrowRightIcon,
|
|
66
|
+
SearchIcon,
|
|
67
|
+
RefreshIcon,
|
|
68
|
+
SendIcon,
|
|
69
|
+
ExternalLinkIcon,
|
|
70
|
+
ExportIcon,
|
|
71
|
+
ClearIcon,
|
|
72
|
+
CloseIcon
|
|
73
|
+
} from '../icons'
|
|
74
|
+
|