@rufous/ui 0.3.1 → 0.3.7

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/main.css CHANGED
@@ -85,6 +85,9 @@
85
85
  .rf-table-toolbar {
86
86
  z-index: var(--rf-dialog-portal-z, 2100) !important;
87
87
  }
88
+ .MuiSnackbar-root {
89
+ z-index: 9999 !important;
90
+ }
88
91
  .dialog-container {
89
92
  background: var(--surface-color);
90
93
  color: var(--text-color);
@@ -94,6 +97,7 @@
94
97
  flex-direction: column;
95
98
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
96
99
  width: 685px !important;
100
+ max-width: 95vw;
97
101
  transition: background-color 0.3s, color 0.3s;
98
102
  }
99
103
  .dialog-container.size-sm {
@@ -146,6 +150,7 @@
146
150
  transition: all 0.2s;
147
151
  border-radius: 8px;
148
152
  flex-shrink: 0;
153
+ outline: none;
149
154
  }
150
155
  .btn-close:hover {
151
156
  border-color: var(--primary-color);
@@ -333,6 +338,10 @@
333
338
  gap: 16px;
334
339
  flex-wrap: wrap;
335
340
  }
341
+ .dg-header--custom .dg-header-actions {
342
+ width: 100%;
343
+ flex: 1;
344
+ }
336
345
  .dg-header-info h2 {
337
346
  font-size: 1.1rem;
338
347
  font-weight: 700;
@@ -379,7 +388,7 @@
379
388
  .dg-search-wrap {
380
389
  position: relative;
381
390
  }
382
- .dg-search-wrap svg {
391
+ .dg-search-wrap > svg {
383
392
  position: absolute;
384
393
  left: 10px;
385
394
  top: 50%;
@@ -398,9 +407,59 @@
398
407
  width: 220px;
399
408
  transition: border-color 0.2s;
400
409
  }
410
+ .dg-search--with-info {
411
+ padding-right: 32px;
412
+ }
401
413
  .dg-search:focus {
402
414
  border-color: var(--primary-color);
403
415
  }
416
+ .dg-search-info {
417
+ position: absolute;
418
+ right: 10px;
419
+ top: 50%;
420
+ transform: translateY(-50%);
421
+ display: inline-flex;
422
+ align-items: center;
423
+ justify-content: center;
424
+ line-height: 0;
425
+ }
426
+ .dg-search-info__trigger {
427
+ display: inline-flex;
428
+ align-items: center;
429
+ justify-content: center;
430
+ color: var(--text-secondary);
431
+ cursor: help;
432
+ outline: none;
433
+ line-height: 0;
434
+ }
435
+ .dg-search-info__trigger:hover,
436
+ .dg-search-info__trigger:focus-visible {
437
+ color: var(--text-color);
438
+ }
439
+ .dg-toolbar-select {
440
+ padding: 8px 28px 8px 10px;
441
+ border: 1px solid var(--border-color);
442
+ border-radius: 8px;
443
+ background: var(--background-color);
444
+ color: var(--text-color);
445
+ font-size: 0.875rem;
446
+ font-family: inherit;
447
+ outline: none;
448
+ cursor: pointer;
449
+ transition: border-color 0.2s;
450
+ appearance: none;
451
+ -webkit-appearance: none;
452
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
453
+ background-repeat: no-repeat;
454
+ background-position: right 8px center;
455
+ }
456
+ .dg-toolbar-select:focus {
457
+ border-color: var(--primary-color);
458
+ }
459
+ .dg-toolbar-select:disabled {
460
+ opacity: 0.5;
461
+ cursor: not-allowed;
462
+ }
404
463
  .dg-icon-btn {
405
464
  padding: 8px;
406
465
  border: 1px solid var(--border-color);
@@ -445,6 +504,12 @@
445
504
  flex: 1;
446
505
  position: relative;
447
506
  }
507
+ .dg-table-wrap.rm-top-border {
508
+ border-top: none;
509
+ }
510
+ .dg-table-wrap.rm-bottom-border {
511
+ border-bottom: none;
512
+ }
448
513
  .dg-table-wrap--empty {
449
514
  display: flex;
450
515
  flex-direction: column;
@@ -458,7 +523,7 @@
458
523
  .dg-table thead {
459
524
  position: sticky;
460
525
  top: 0;
461
- z-index: 10;
526
+ z-index: 20;
462
527
  }
463
528
  .dg-table thead tr {
464
529
  background: var(--hover-color);
@@ -506,6 +571,21 @@
506
571
  .dg-th-label.no-sort {
507
572
  cursor: default;
508
573
  }
574
+ .dg-sort-icon {
575
+ display: flex;
576
+ align-items: center;
577
+ opacity: 0;
578
+ transition: opacity 0.15s;
579
+ flex-shrink: 0;
580
+ color: var(--text-secondary);
581
+ }
582
+ .dg-sort-icon--active {
583
+ opacity: 1;
584
+ color: var(--primary-color);
585
+ }
586
+ .dg-thead-cell:hover .dg-sort-icon {
587
+ opacity: 1;
588
+ }
509
589
  .dg-th-actions {
510
590
  display: flex;
511
591
  align-items: center;
@@ -514,7 +594,8 @@
514
594
  transition: opacity 0.15s;
515
595
  flex-shrink: 0;
516
596
  }
517
- .dg-thead-cell:hover .dg-th-actions {
597
+ .dg-thead-cell:hover .dg-th-actions,
598
+ .dg-th-actions--filtered {
518
599
  opacity: 1;
519
600
  }
520
601
  .dg-th-menu-btn {
@@ -532,6 +613,20 @@
532
613
  background: var(--border-color);
533
614
  color: var(--text-color);
534
615
  }
616
+ .dg-th-filter-btn {
617
+ background: none;
618
+ border: none;
619
+ cursor: pointer;
620
+ padding: 3px;
621
+ border-radius: 4px;
622
+ color: var(--primary-color);
623
+ display: flex;
624
+ align-items: center;
625
+ transition: background 0.15s;
626
+ }
627
+ .dg-th-filter-btn:hover {
628
+ background: rgba(164, 27, 6, 0.08);
629
+ }
535
630
  .dg-resizer {
536
631
  width: 4px;
537
632
  height: 16px;
@@ -556,6 +651,25 @@
556
651
  .dg-tbody-row:hover {
557
652
  background: var(--hover-color);
558
653
  }
654
+ .dg-select-cell {
655
+ text-align: center;
656
+ vertical-align: middle;
657
+ padding: 0;
658
+ }
659
+ .dg-checkbox {
660
+ width: 16px;
661
+ height: 16px;
662
+ margin: 0;
663
+ cursor: pointer;
664
+ accent-color: var(--primary-color);
665
+ vertical-align: middle;
666
+ }
667
+ .dg-tbody-row--selected {
668
+ background: color-mix(in srgb, var(--primary-color) 8%, transparent);
669
+ }
670
+ .dg-tbody-row--selected:hover {
671
+ background: color-mix(in srgb, var(--primary-color) 14%, transparent);
672
+ }
559
673
  .dg-td {
560
674
  padding: 12px 20px;
561
675
  font-size: 0.875rem;
@@ -565,6 +679,9 @@
565
679
  white-space: nowrap;
566
680
  background: inherit;
567
681
  }
682
+ .dg-td--no-padding {
683
+ padding: 0;
684
+ }
568
685
  .dg-td--editable {
569
686
  cursor: pointer;
570
687
  }
@@ -667,6 +784,9 @@
667
784
  gap: 12px;
668
785
  background: var(--hover-color);
669
786
  }
787
+ .dg-pagination--custom {
788
+ justify-content: flex-start;
789
+ }
670
790
  .dg-page-info {
671
791
  display: flex;
672
792
  align-items: center;
@@ -683,15 +803,80 @@
683
803
  font-size: 0.82rem;
684
804
  color: var(--text-secondary);
685
805
  }
686
- .dg-per-page select {
687
- padding: 4px 8px;
806
+ .dg-fsel {
807
+ position: relative;
808
+ flex: 1;
809
+ min-width: 0;
810
+ }
811
+ .dg-fsel--sm {
812
+ flex: none;
813
+ width: 148px;
814
+ }
815
+ .dg-fsel--pagesize {
816
+ width: 72px;
817
+ }
818
+ .dg-fsel-trigger {
819
+ display: flex;
820
+ align-items: center;
821
+ justify-content: space-between;
822
+ width: 100%;
823
+ padding: 8px 10px 8px 12px;
688
824
  border: 1px solid var(--border-color);
689
- border-radius: 6px;
690
- background: var(--surface-color);
825
+ border-radius: 8px;
826
+ background: var(--background-color);
691
827
  color: var(--text-color);
828
+ font-size: 0.85rem;
829
+ cursor: pointer;
830
+ gap: 6px;
831
+ text-align: left;
832
+ transition: border-color 0.2s;
833
+ white-space: nowrap;
834
+ overflow: hidden;
835
+ }
836
+ .dg-fsel--pagesize .dg-fsel-trigger {
837
+ background: var(--surface-color);
692
838
  font-size: 0.82rem;
839
+ padding: 6px 8px 6px 10px;
840
+ }
841
+ .dg-fsel-trigger:hover,
842
+ .dg-fsel-trigger:focus {
843
+ border-color: var(--primary-color);
693
844
  outline: none;
694
- cursor: pointer;
845
+ }
846
+ .dg-fsel-label {
847
+ flex: 1;
848
+ overflow: hidden;
849
+ text-overflow: ellipsis;
850
+ white-space: nowrap;
851
+ }
852
+ .dg-fsel-chevron {
853
+ flex-shrink: 0;
854
+ color: var(--text-secondary);
855
+ }
856
+ .dg-fsel-menu {
857
+ position: absolute;
858
+ top: calc(100% + 4px);
859
+ left: 0;
860
+ z-index: 400;
861
+ min-width: 100%;
862
+ background: var(--surface-color);
863
+ border: 1px solid var(--border-color);
864
+ border-radius: 10px;
865
+ box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
866
+ padding: 6px;
867
+ max-height: 240px;
868
+ overflow-y: auto;
869
+ }
870
+ .dg-fsel-menu--top {
871
+ top: auto;
872
+ bottom: calc(100% + 4px);
873
+ }
874
+ .dg-fsel-menu--portal {
875
+ z-index: 10001;
876
+ }
877
+ .dg-menu-item--selected {
878
+ background: var(--hover-color);
879
+ color: var(--primary-color);
695
880
  }
696
881
  .dg-page-nav {
697
882
  display: flex;
@@ -766,7 +951,7 @@
766
951
  }
767
952
  .dg-menu {
768
953
  position: fixed;
769
- z-index: 200;
954
+ z-index: 10000;
770
955
  width: 200px;
771
956
  background: var(--surface-color);
772
957
  border: 1px solid var(--border-color);
@@ -806,7 +991,7 @@
806
991
  .dg-modal-overlay {
807
992
  position: fixed;
808
993
  inset: 0;
809
- z-index: 150;
994
+ z-index: 10000;
810
995
  background: rgba(0, 0, 0, 0.35);
811
996
  display: flex;
812
997
  align-items: center;
@@ -891,10 +1076,9 @@
891
1076
  align-items: center;
892
1077
  gap: 8px;
893
1078
  }
894
- .dg-filter-select,
895
1079
  .dg-filter-input {
896
1080
  flex: 1;
897
- padding: 8px 30px 8px 12px;
1081
+ padding: 8px 12px;
898
1082
  border: 1px solid var(--border-color);
899
1083
  border-radius: 8px;
900
1084
  background: var(--background-color);
@@ -902,36 +1086,31 @@
902
1086
  font-size: 0.85rem;
903
1087
  outline: none;
904
1088
  }
905
- .dg-filter-select {
906
- appearance: none;
907
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
908
- background-repeat: no-repeat;
909
- background-position: right 10px center;
910
- }
911
- .dg-filter-select:focus,
912
1089
  .dg-filter-input:focus {
913
1090
  border-color: var(--primary-color);
914
1091
  }
915
- .dg-filter-select-sm {
916
- width: 140px;
917
- flex: none;
918
- }
919
1092
  .dg-filter-modal {
920
- overflow: visible;
1093
+ overflow: hidden;
921
1094
  }
922
1095
  .dg-filter-modal .dg-modal-header {
923
1096
  border-radius: 14px 14px 0 0;
924
1097
  }
925
1098
  .dg-filter-modal .dg-modal-body {
926
- overflow: visible;
1099
+ overflow-y: auto;
927
1100
  }
928
1101
  .dg-filter-modal .dg-modal-footer {
929
1102
  border-radius: 0 0 14px 14px;
930
1103
  }
931
1104
  .dg-filter-datefield {
932
1105
  flex: 1;
1106
+ min-width: 0;
1107
+ }
1108
+ .dg-filter-custom {
1109
+ flex: 1;
1110
+ min-width: 0;
933
1111
  }
934
1112
  .dg-filter-datefield .rf-date-field {
1113
+ display: flex;
935
1114
  width: 100%;
936
1115
  --tf-border-color: var(--border-color);
937
1116
  --tf-hover-border-color: var(--text-secondary);
@@ -961,6 +1140,30 @@
961
1140
  transform: rotate(360deg);
962
1141
  }
963
1142
  }
1143
+ .dg-skeleton-row:hover {
1144
+ background: transparent;
1145
+ }
1146
+ .dg-skeleton-bar {
1147
+ height: 12px;
1148
+ width: 70%;
1149
+ border-radius: 6px;
1150
+ background:
1151
+ linear-gradient(
1152
+ 90deg,
1153
+ var(--border-color) 25%,
1154
+ var(--hover-color) 37%,
1155
+ var(--border-color) 63%);
1156
+ background-size: 400% 100%;
1157
+ animation: dg-skeleton-shimmer 1.4s ease infinite;
1158
+ }
1159
+ @keyframes dg-skeleton-shimmer {
1160
+ 0% {
1161
+ background-position: 100% 50%;
1162
+ }
1163
+ 100% {
1164
+ background-position: 0 50%;
1165
+ }
1166
+ }
964
1167
  .dg-empty-state {
965
1168
  flex: 1;
966
1169
  display: flex;
@@ -989,71 +1192,207 @@
989
1192
  color: var(--text-secondary);
990
1193
  opacity: 0.65;
991
1194
  }
992
-
993
- /* lib/style.css */
994
- :root {
995
- --font-family:
996
- "Roboto",
997
- "Helvetica",
998
- "Arial",
999
- sans-serif;
1000
- --primary-color: #a41b06;
1001
- --secondary-color: #8b1605;
1002
- --background-color: #ffffff;
1003
- --surface-color: #ffffff;
1004
- --text-color: #2d2d2d;
1005
- --text-secondary: #666666;
1006
- --border-color: #e0e0e0;
1007
- --hover-color: #fff5f5;
1008
- --selection-color: #a41b0614;
1009
- --icon-color: #a41b06;
1195
+ .dg-grouping-bar {
1196
+ display: flex;
1197
+ align-items: center;
1198
+ gap: 6px;
1199
+ padding: 6px 14px;
1200
+ border-bottom: 1px solid var(--border-color);
1201
+ background: var(--background-color);
1202
+ flex-wrap: wrap;
1203
+ flex-shrink: 0;
1010
1204
  }
1011
- .dialog-overlay.overlay-fullscreen {
1012
- padding: 0;
1013
- align-items: flex-start;
1205
+ .dg-grouping-bar-label {
1206
+ font-size: 0.75rem;
1207
+ font-weight: 500;
1208
+ color: var(--text-secondary);
1209
+ letter-spacing: 0.03em;
1210
+ text-transform: uppercase;
1211
+ margin-right: 2px;
1212
+ flex-shrink: 0;
1014
1213
  }
1015
- body {
1016
- margin: 0;
1017
- padding: 0;
1018
- font-family: var(--font-family);
1019
- background-color: var(--background-color);
1214
+ .dg-group-chip {
1215
+ display: inline-flex;
1216
+ align-items: center;
1217
+ gap: 5px;
1218
+ padding: 3px 8px 3px 7px;
1219
+ background: var(--surface-color);
1220
+ border: 1px solid var(--border-color);
1221
+ border-radius: 100px;
1222
+ font-size: 0.78rem;
1223
+ font-weight: 500;
1020
1224
  color: var(--text-color);
1021
- transition: background-color 0.3s, color 0.3s;
1022
- }
1023
- button,
1024
- input,
1025
- select,
1026
- textarea {
1027
- font-family: var(--font-family);
1028
1225
  }
1029
- .form__group.field {
1030
- position: relative;
1031
- padding: 15px 0 0;
1032
- margin-top: 10px;
1033
- width: 100%;
1226
+ .dg-group-chip-remove {
1227
+ background: none;
1228
+ border: none;
1229
+ padding: 1px;
1230
+ cursor: pointer;
1231
+ color: var(--text-secondary);
1232
+ display: flex;
1233
+ align-items: center;
1234
+ border-radius: 50%;
1235
+ line-height: 0;
1236
+ margin-left: 2px;
1237
+ transition: background 0.12s, color 0.12s;
1034
1238
  }
1035
- .form__field {
1036
- font-family: inherit;
1037
- width: 100%;
1038
- border: 1px solid var(--border-color);
1039
- border-radius: 4px;
1040
- outline: 0;
1041
- font-size: 16px;
1239
+ .dg-group-chip-remove:hover {
1240
+ background: rgba(0, 0, 0, 0.08);
1042
1241
  color: var(--text-color);
1043
- padding: 12px 14px;
1044
- background: transparent;
1045
- transition: border-color 0.2s, box-shadow 0.2s;
1046
- box-sizing: border-box;
1047
1242
  }
1048
- .form__field::placeholder {
1049
- color: transparent;
1243
+ .dg-group-row {
1244
+ background: var(--background-color);
1050
1245
  }
1051
- .form__label {
1052
- position: absolute;
1053
- top: 27px;
1054
- left: 14px;
1055
- display: block;
1056
- transition: 0.2s;
1246
+ .dg-group-row:hover {
1247
+ background: var(--hover-color);
1248
+ }
1249
+ .dg-group-cell {
1250
+ padding: 0 !important;
1251
+ border-bottom: 1px solid var(--border-color);
1252
+ }
1253
+ .dg-group-cell-inner {
1254
+ display: flex;
1255
+ align-items: center;
1256
+ gap: 6px;
1257
+ height: 36px;
1258
+ padding-right: 16px;
1259
+ cursor: pointer;
1260
+ user-select: none;
1261
+ }
1262
+ .dg-group-toggle {
1263
+ display: flex;
1264
+ align-items: center;
1265
+ justify-content: center;
1266
+ width: 22px;
1267
+ height: 22px;
1268
+ flex-shrink: 0;
1269
+ background: none;
1270
+ border: none;
1271
+ border-radius: 5px;
1272
+ cursor: pointer;
1273
+ color: var(--text-color);
1274
+ transition: background 0.12s, color 0.12s;
1275
+ margin-left: 10px;
1276
+ }
1277
+ button.dg-group-toggle {
1278
+ padding: 0;
1279
+ }
1280
+ .dg-group-toggle:hover {
1281
+ background: rgba(0, 0, 0, 0.07);
1282
+ color: var(--text-color);
1283
+ }
1284
+ .dg-group-field-label {
1285
+ font-size: 0.78rem;
1286
+ font-weight: 500;
1287
+ color: var(--text-secondary);
1288
+ flex-shrink: 0;
1289
+ }
1290
+ .dg-group-key {
1291
+ font-size: 0.82rem;
1292
+ font-weight: 600;
1293
+ color: var(--text-color);
1294
+ }
1295
+ .dg-group-count {
1296
+ display: inline-flex;
1297
+ align-items: center;
1298
+ justify-content: center;
1299
+ min-width: 20px;
1300
+ height: 18px;
1301
+ padding: 0 6px;
1302
+ background: var(--hover-color);
1303
+ border: 1px solid var(--border-color);
1304
+ border-radius: 100px;
1305
+ font-size: 0.72rem;
1306
+ font-weight: 600;
1307
+ color: var(--text-secondary);
1308
+ flex-shrink: 0;
1309
+ }
1310
+ .dg-group-leaf-cell {
1311
+ padding: 0 12px;
1312
+ font-size: 0.82rem;
1313
+ color: var(--text-secondary);
1314
+ border-bottom: 1px solid var(--border-color);
1315
+ overflow: hidden;
1316
+ text-overflow: ellipsis;
1317
+ white-space: nowrap;
1318
+ }
1319
+ .dg-tree-cell {
1320
+ padding: 0;
1321
+ border-bottom: 1px solid var(--border-color);
1322
+ vertical-align: middle;
1323
+ }
1324
+ .dg-tree-cell-inner {
1325
+ display: flex;
1326
+ align-items: center;
1327
+ justify-content: flex-start;
1328
+ min-height: 36px;
1329
+ padding-right: 2px;
1330
+ }
1331
+
1332
+ /* lib/style.css */
1333
+ :root {
1334
+ --font-family:
1335
+ "Roboto",
1336
+ "Helvetica",
1337
+ "Arial",
1338
+ sans-serif;
1339
+ --primary-color: #a41b06;
1340
+ --secondary-color: #8b1605;
1341
+ --background-color: #ffffff;
1342
+ --surface-color: #ffffff;
1343
+ --text-color: #2d2d2d;
1344
+ --text-secondary: #666666;
1345
+ --border-color: #e0e0e0;
1346
+ --hover-color: #fff5f5;
1347
+ --selection-color: #a41b0614;
1348
+ --icon-color: #a41b06;
1349
+ }
1350
+ .dialog-overlay.overlay-fullscreen {
1351
+ padding: 0;
1352
+ align-items: flex-start;
1353
+ }
1354
+ body {
1355
+ margin: 0;
1356
+ padding: 0;
1357
+ font-family: var(--font-family);
1358
+ background-color: var(--background-color);
1359
+ color: var(--text-color);
1360
+ transition: background-color 0.3s, color 0.3s;
1361
+ }
1362
+ button,
1363
+ input,
1364
+ select,
1365
+ textarea {
1366
+ font-family: var(--font-family);
1367
+ }
1368
+ .form__group.field {
1369
+ position: relative;
1370
+ padding: 15px 0 0;
1371
+ margin-top: 10px;
1372
+ width: 100%;
1373
+ }
1374
+ .form__field {
1375
+ font-family: inherit;
1376
+ width: 100%;
1377
+ border: 1px solid var(--border-color);
1378
+ border-radius: 4px;
1379
+ outline: 0;
1380
+ font-size: 16px;
1381
+ color: var(--text-color);
1382
+ padding: 12px 14px;
1383
+ background: transparent;
1384
+ transition: border-color 0.2s, box-shadow 0.2s;
1385
+ box-sizing: border-box;
1386
+ }
1387
+ .form__field::placeholder {
1388
+ color: transparent;
1389
+ }
1390
+ .form__label {
1391
+ position: absolute;
1392
+ top: 27px;
1393
+ left: 14px;
1394
+ display: block;
1395
+ transition: 0.2s;
1057
1396
  font-size: 16px;
1058
1397
  color: var(--text-secondary);
1059
1398
  pointer-events: none;
@@ -1099,74 +1438,319 @@ pre {
1099
1438
  color: var(--text-color);
1100
1439
  }
1101
1440
 
1102
- /* lib/styles/address-lookup.css */
1103
- .address-lookup-container {
1104
- width: 100%;
1105
- }
1106
- .address-lookup-grid {
1107
- display: grid;
1108
- grid-gap: 16px;
1109
- }
1110
- .address-lookup-grid-stack {
1111
- grid-template-columns: 1fr;
1441
+ /* lib/styles/tree-select.css */
1442
+ .rf-tree-select {
1112
1443
  }
1113
- .address-lookup-grid-compact {
1114
- grid-template-columns: repeat(12, 1fr);
1444
+ .rf-tree-select__trigger {
1445
+ cursor: pointer;
1446
+ user-select: none;
1447
+ position: relative;
1448
+ outline: none;
1115
1449
  }
1116
- .address-lookup-grid-compact .col-l1 {
1117
- grid-column: span 6;
1450
+ .rf-ts__display {
1451
+ display: flex;
1452
+ align-items: center;
1453
+ flex: 1;
1454
+ min-width: 0;
1455
+ padding: 16.5px 14px;
1456
+ font-size: 1rem;
1457
+ line-height: 1.4375em;
1458
+ color: var(--tf-text-color);
1459
+ white-space: nowrap;
1460
+ overflow: hidden;
1461
+ text-overflow: ellipsis;
1462
+ z-index: 2;
1463
+ box-sizing: border-box;
1118
1464
  }
1119
- .address-lookup-grid-compact .col-l2 {
1120
- grid-column: span 6;
1465
+ .rf-ts__display--placeholder {
1466
+ color: var(--tf-placeholder-color);
1121
1467
  }
1122
- .address-lookup-grid-compact .col-city {
1123
- grid-column: span 3;
1468
+ .rf-text-field--small .rf-ts__display {
1469
+ padding: 8.5px 14px;
1470
+ font-size: 0.875rem;
1124
1471
  }
1125
- .address-lookup-grid-compact .col-state {
1126
- grid-column: span 3;
1472
+ .rf-text-field--filled .rf-ts__display {
1473
+ padding: 25px 12px 8px;
1127
1474
  }
1128
- .address-lookup-grid-compact .col-pin {
1129
- grid-column: span 3;
1475
+ .rf-text-field--small.rf-text-field--filled .rf-ts__display {
1476
+ padding: 21px 12px 4px;
1130
1477
  }
1131
- .address-lookup-grid-compact .col-country {
1132
- grid-column: span 3;
1478
+ .rf-text-field--standard .rf-ts__display {
1479
+ padding: 4px 0 5px;
1480
+ margin-top: 16px;
1133
1481
  }
1134
- .address-lookup-grid-grid {
1135
- grid-template-columns: repeat(12, 1fr);
1482
+ .rf-tree-select .rf-autocomplete__endgroup {
1483
+ z-index: 3;
1136
1484
  }
1137
- .address-lookup-grid-grid .col-l1 {
1138
- grid-column: span 12;
1485
+ .rf-ts__chips {
1486
+ display: flex;
1487
+ align-items: center;
1488
+ flex-wrap: wrap;
1489
+ gap: 4px;
1490
+ flex: 1;
1491
+ padding: 6px 14px;
1492
+ min-height: 56px;
1493
+ box-sizing: border-box;
1494
+ z-index: 2;
1139
1495
  }
1140
- .address-lookup-grid-grid .col-l2 {
1141
- grid-column: span 12;
1496
+ .rf-text-field--small .rf-ts__chips {
1497
+ min-height: 40px;
1498
+ padding: 3px 14px;
1142
1499
  }
1143
- .address-lookup-grid-grid .col-city {
1144
- grid-column: span 6;
1500
+ .rf-text-field--filled .rf-ts__chips {
1501
+ padding-top: 20px;
1502
+ padding-left: 12px;
1503
+ padding-right: 12px;
1145
1504
  }
1146
- .address-lookup-grid-grid .col-state {
1147
- grid-column: span 6;
1505
+ .rf-ts__chip {
1506
+ display: inline-flex;
1507
+ align-items: center;
1508
+ gap: 2px;
1509
+ background-color: var(--hover-color);
1510
+ border: 1px solid var(--border-color);
1511
+ border-radius: 16px;
1512
+ padding: 2px 4px 2px 10px;
1513
+ font-size: 0.8125rem;
1514
+ font-weight: 500;
1515
+ color: var(--text-color);
1516
+ max-width: 200px;
1517
+ white-space: nowrap;
1518
+ overflow: hidden;
1519
+ text-overflow: ellipsis;
1520
+ line-height: 1.4;
1521
+ flex-shrink: 0;
1148
1522
  }
1149
- .address-lookup-grid-grid .col-pin {
1150
- grid-column: span 6;
1523
+ .rf-ts__chip-delete {
1524
+ background: none;
1525
+ border: none;
1526
+ padding: 1px;
1527
+ cursor: pointer;
1528
+ display: flex;
1529
+ align-items: center;
1530
+ justify-content: center;
1531
+ color: var(--text-secondary);
1532
+ border-radius: 50%;
1533
+ transition: background-color 0.12s, color 0.12s;
1534
+ outline: none;
1535
+ flex-shrink: 0;
1151
1536
  }
1152
- .address-lookup-grid-grid .col-country {
1153
- grid-column: span 6;
1537
+ .rf-ts__chip-delete:hover {
1538
+ background-color: var(--hover-color);
1539
+ color: var(--text-color);
1154
1540
  }
1155
- .address-lookup-grid-item {
1156
- position: relative;
1541
+ .rf-ts__placeholder {
1542
+ font-size: 1rem;
1543
+ color: var(--tf-placeholder-color);
1544
+ line-height: 1.4375em;
1157
1545
  }
1158
- .autocomplete-dropdown {
1159
- position: absolute;
1160
- top: 100%;
1161
- left: 0;
1162
- right: 0;
1163
- background: var(--surface-color, #fff);
1164
- border: 1px solid var(--border-color, #ccc);
1546
+ .rf-tree-select__popup {
1547
+ z-index: 2100;
1548
+ background: var(--surface-color, #ffffff);
1165
1549
  border-radius: 10px;
1166
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
1167
- z-index: 1000;
1168
- max-height: 250px;
1169
- overflow-y: auto;
1550
+ box-shadow:
1551
+ 0 4px 6px rgba(0, 0, 0, 0.06),
1552
+ 0 10px 28px rgba(0, 0, 0, 0.13),
1553
+ 0 0 0 1px rgba(0, 0, 0, 0.05);
1554
+ display: flex;
1555
+ flex-direction: column;
1556
+ max-height: 320px;
1557
+ overflow: hidden;
1558
+ animation: rf-ts-appear 0.12s cubic-bezier(0.2, 0, 0, 1.15);
1559
+ transform-origin: top center;
1560
+ }
1561
+ @keyframes rf-ts-appear {
1562
+ from {
1563
+ opacity: 0;
1564
+ transform: scale(0.96) translateY(-4px);
1565
+ }
1566
+ to {
1567
+ opacity: 1;
1568
+ transform: scale(1) translateY(0);
1569
+ }
1570
+ }
1571
+ .rf-tree-select__filter {
1572
+ display: flex;
1573
+ align-items: center;
1574
+ gap: 6px;
1575
+ padding: 8px 10px;
1576
+ border-bottom: 1px solid rgba(0, 0, 0, 0.08);
1577
+ flex-shrink: 0;
1578
+ }
1579
+ .rf-tree-select__filter-icon {
1580
+ color: rgba(0, 0, 0, 0.38);
1581
+ flex-shrink: 0;
1582
+ }
1583
+ .rf-tree-select__filter-input {
1584
+ flex: 1;
1585
+ border: none;
1586
+ outline: none;
1587
+ font: inherit;
1588
+ font-size: 0.875rem;
1589
+ color: var(--tf-text-color, rgba(0, 0, 0, 0.87));
1590
+ background: transparent;
1591
+ }
1592
+ .rf-tree-select__tree {
1593
+ overflow-y: auto;
1594
+ flex: 1;
1595
+ padding: 6px 0;
1596
+ scrollbar-width: thin;
1597
+ scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
1598
+ }
1599
+ .rf-tree-select__tree::-webkit-scrollbar {
1600
+ width: 5px;
1601
+ }
1602
+ .rf-tree-select__tree::-webkit-scrollbar-thumb {
1603
+ background: rgba(0, 0, 0, 0.15);
1604
+ border-radius: 3px;
1605
+ }
1606
+ .rf-tree-select__empty {
1607
+ padding: 20px 16px;
1608
+ font-size: 0.875rem;
1609
+ color: rgba(0, 0, 0, 0.45);
1610
+ text-align: center;
1611
+ }
1612
+ .rf-tsn__row {
1613
+ display: flex;
1614
+ align-items: center;
1615
+ gap: 6px;
1616
+ padding-right: 12px;
1617
+ padding-top: 7px;
1618
+ padding-bottom: 7px;
1619
+ cursor: pointer;
1620
+ border-radius: 6px;
1621
+ margin: 1px 6px;
1622
+ transition: background 0.12s;
1623
+ min-height: 36px;
1624
+ box-sizing: border-box;
1625
+ }
1626
+ .rf-tsn__row:hover {
1627
+ background: rgba(241, 91, 36, 0.06);
1628
+ }
1629
+ .rf-tsn__row--active {
1630
+ background: rgba(164, 27, 6, 0.08);
1631
+ }
1632
+ .rf-tsn__row--active:hover {
1633
+ background: rgba(164, 27, 6, 0.12);
1634
+ }
1635
+ .rf-tsn__row--active .rf-tsn__label {
1636
+ color: rgba(0, 0, 0, 0.87);
1637
+ font-weight: 500;
1638
+ }
1639
+ .rf-tsn__expand {
1640
+ background: none;
1641
+ border: none;
1642
+ padding: 2px;
1643
+ cursor: pointer;
1644
+ color: rgba(0, 0, 0, 0.45);
1645
+ display: flex;
1646
+ align-items: center;
1647
+ border-radius: 4px;
1648
+ transition: background 0.12s, color 0.12s;
1649
+ flex-shrink: 0;
1650
+ line-height: 0;
1651
+ }
1652
+ .rf-tsn__expand:hover {
1653
+ background: rgba(0, 0, 0, 0.06);
1654
+ color: rgba(0, 0, 0, 0.87);
1655
+ }
1656
+ .rf-tsn__expand-ph {
1657
+ width: 18px;
1658
+ height: 18px;
1659
+ flex-shrink: 0;
1660
+ display: inline-block;
1661
+ }
1662
+ .rf-tsn__check {
1663
+ color: var(--primary-color, #a41b06);
1664
+ flex-shrink: 0;
1665
+ display: flex;
1666
+ align-items: center;
1667
+ margin-left: auto;
1668
+ opacity: 0;
1669
+ transition: opacity 0.1s;
1670
+ }
1671
+ .rf-tsn__row--active .rf-tsn__check {
1672
+ opacity: 1;
1673
+ }
1674
+ .rf-tsn__label {
1675
+ font-size: 0.875rem;
1676
+ color: rgba(0, 0, 0, 0.75);
1677
+ flex: 1;
1678
+ min-width: 0;
1679
+ overflow: hidden;
1680
+ text-overflow: ellipsis;
1681
+ white-space: nowrap;
1682
+ line-height: 1.4;
1683
+ transition: color 0.12s;
1684
+ }
1685
+
1686
+ /* lib/styles/address-lookup.css */
1687
+ .address-lookup-container {
1688
+ width: 100%;
1689
+ }
1690
+ .address-lookup-grid {
1691
+ display: grid;
1692
+ grid-gap: 16px;
1693
+ }
1694
+ .address-lookup-grid-stack {
1695
+ grid-template-columns: 1fr;
1696
+ }
1697
+ .address-lookup-grid-compact {
1698
+ grid-template-columns: repeat(12, 1fr);
1699
+ }
1700
+ .address-lookup-grid-compact .col-l1 {
1701
+ grid-column: span 6;
1702
+ }
1703
+ .address-lookup-grid-compact .col-l2 {
1704
+ grid-column: span 6;
1705
+ }
1706
+ .address-lookup-grid-compact .col-city {
1707
+ grid-column: span 3;
1708
+ }
1709
+ .address-lookup-grid-compact .col-state {
1710
+ grid-column: span 3;
1711
+ }
1712
+ .address-lookup-grid-compact .col-pin {
1713
+ grid-column: span 3;
1714
+ }
1715
+ .address-lookup-grid-compact .col-country {
1716
+ grid-column: span 3;
1717
+ }
1718
+ .address-lookup-grid-grid {
1719
+ grid-template-columns: repeat(12, 1fr);
1720
+ }
1721
+ .address-lookup-grid-grid .col-l1 {
1722
+ grid-column: span 12;
1723
+ }
1724
+ .address-lookup-grid-grid .col-l2 {
1725
+ grid-column: span 12;
1726
+ }
1727
+ .address-lookup-grid-grid .col-city {
1728
+ grid-column: span 6;
1729
+ }
1730
+ .address-lookup-grid-grid .col-state {
1731
+ grid-column: span 6;
1732
+ }
1733
+ .address-lookup-grid-grid .col-pin {
1734
+ grid-column: span 6;
1735
+ }
1736
+ .address-lookup-grid-grid .col-country {
1737
+ grid-column: span 6;
1738
+ }
1739
+ .address-lookup-grid-item {
1740
+ position: relative;
1741
+ }
1742
+ .autocomplete-dropdown {
1743
+ position: absolute;
1744
+ top: 100%;
1745
+ left: 0;
1746
+ right: 0;
1747
+ background: var(--surface-color, #fff);
1748
+ border: 1px solid var(--border-color, #ccc);
1749
+ border-radius: 10px;
1750
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
1751
+ z-index: 1000;
1752
+ max-height: 250px;
1753
+ overflow-y: auto;
1170
1754
  margin-top: 4px;
1171
1755
  }
1172
1756
  .autocomplete-option {
@@ -1344,6 +1928,13 @@ pre {
1344
1928
  background-color: rgba(164, 27, 6, 0.1);
1345
1929
  color: #a41b06;
1346
1930
  }
1931
+ .rf-date-picker__label--static {
1932
+ cursor: default !important;
1933
+ pointer-events: none;
1934
+ }
1935
+ .rf-date-picker__label--static:hover {
1936
+ background-color: transparent !important;
1937
+ }
1347
1938
  .rf-date-picker__nav {
1348
1939
  display: flex;
1349
1940
  align-items: center;
@@ -2270,7 +2861,7 @@ pre {
2270
2861
  padding: 6px 56px 6px 10px;
2271
2862
  }
2272
2863
  .rf-autocomplete.rf-text-field--small .rf-text-field__wrapper {
2273
- min-height: 40px;
2864
+ min-height: 39px;
2274
2865
  padding: 3px 56px 3px 10px;
2275
2866
  }
2276
2867
  .rf-autocomplete.rf-text-field--filled .rf-text-field__wrapper {
@@ -2292,6 +2883,12 @@ pre {
2292
2883
  padding-left: 0;
2293
2884
  margin-top: 0;
2294
2885
  }
2886
+ .rf-autocomplete.rf-text-field--small.rf-text-field--outlined .rf-text-field__input {
2887
+ padding: 5.5px 0 5.5px 4px;
2888
+ }
2889
+ .rf-autocomplete.rf-text-field--small.rf-text-field--filled .rf-text-field__input {
2890
+ padding: 4px 0 4px 2px;
2891
+ }
2295
2892
  .rf-autocomplete.rf-text-field--disabled .rf-text-field__wrapper {
2296
2893
  cursor: not-allowed;
2297
2894
  }
@@ -2540,6 +3137,7 @@ pre {
2540
3137
  .rf-select__display {
2541
3138
  display: flex;
2542
3139
  align-items: center;
3140
+ gap: 8px;
2543
3141
  flex: 1;
2544
3142
  min-width: 0;
2545
3143
  padding: 16.5px 14px;
@@ -2709,6 +3307,27 @@ pre {
2709
3307
  cursor: default;
2710
3308
  pointer-events: none;
2711
3309
  }
3310
+ .rf-select__option-icon {
3311
+ display: flex;
3312
+ align-items: center;
3313
+ justify-content: center;
3314
+ flex-shrink: 0;
3315
+ max-width: 18px;
3316
+ max-height: 18px;
3317
+ overflow: hidden;
3318
+ color: inherit;
3319
+ }
3320
+ .rf-select__option-icon > * {
3321
+ max-width: 18px;
3322
+ max-height: 18px;
3323
+ }
3324
+ .rf-select__option-icon-img {
3325
+ width: 18px;
3326
+ height: 18px;
3327
+ object-fit: cover;
3328
+ border-radius: 3px;
3329
+ display: block;
3330
+ }
2712
3331
  .rf-select__option-label {
2713
3332
  flex: 1;
2714
3333
  overflow: hidden;
@@ -4970,9 +5589,10 @@ pre {
4970
5589
  }
4971
5590
  .rf-stepper--vertical .rf-step-connector {
4972
5591
  flex-direction: column;
4973
- margin-left: 11px;
4974
- padding: 4px 0;
4975
- min-height: 24px;
5592
+ align-items: flex-start;
5593
+ margin-left: 12px;
5594
+ padding: 0;
5595
+ min-height: 16px;
4976
5596
  }
4977
5597
  .rf-step-connector__line {
4978
5598
  display: block;
@@ -4987,7 +5607,9 @@ pre {
4987
5607
  .rf-stepper--vertical .rf-step-connector__line {
4988
5608
  border-left-style: solid;
4989
5609
  border-left-width: 1px;
4990
- min-height: 24px;
5610
+ min-height: 16px;
5611
+ width: 1px;
5612
+ align-self: flex-start;
4991
5613
  }
4992
5614
  .rf-step-connector--completed .rf-step-connector__line,
4993
5615
  .rf-step-connector--active .rf-step-connector__line {
@@ -5097,7 +5719,7 @@ pre {
5097
5719
  }
5098
5720
  .rf-step-content {
5099
5721
  margin-left: 12px;
5100
- padding: 8px 0 8px 20px;
5722
+ padding: 8px 0 0 20px;
5101
5723
  border-left: 1px solid var(--border-color);
5102
5724
  overflow: hidden;
5103
5725
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
@@ -5343,7 +5965,7 @@ pre {
5343
5965
  /* lib/styles/snackbar.css */
5344
5966
  .rf-snackbar-root {
5345
5967
  position: fixed;
5346
- z-index: 1400;
5968
+ z-index: 9999;
5347
5969
  display: flex;
5348
5970
  flex-direction: column;
5349
5971
  gap: 8px;
@@ -5723,225 +6345,852 @@ pre {
5723
6345
  .rf-image-field--square {
5724
6346
  border-radius: 0;
5725
6347
  }
5726
- .rf-image-field--small {
5727
- width: 64px;
5728
- height: 64px;
6348
+ .rf-image-field--small {
6349
+ width: 64px;
6350
+ height: 64px;
6351
+ }
6352
+ .rf-image-field--medium {
6353
+ width: 96px;
6354
+ height: 96px;
6355
+ }
6356
+ .rf-image-field--large {
6357
+ width: 128px;
6358
+ height: 128px;
6359
+ }
6360
+ .rf-image-field__img {
6361
+ width: 100%;
6362
+ height: 100%;
6363
+ object-fit: cover;
6364
+ display: block;
6365
+ transition: filter 0.25s ease;
6366
+ }
6367
+ .rf-image-field__placeholder {
6368
+ display: flex;
6369
+ align-items: center;
6370
+ justify-content: center;
6371
+ width: 100%;
6372
+ height: 100%;
6373
+ color: var(--text-secondary);
6374
+ transition: filter 0.25s ease;
6375
+ }
6376
+ .rf-image-field__overlay {
6377
+ position: absolute;
6378
+ inset: 0;
6379
+ display: flex;
6380
+ align-items: center;
6381
+ justify-content: center;
6382
+ flex-direction: column;
6383
+ gap: 4px;
6384
+ background-color: rgba(0, 0, 0, 0.5);
6385
+ opacity: 0;
6386
+ transition: opacity 0.25s ease;
6387
+ pointer-events: none;
6388
+ }
6389
+ .rf-image-field:hover .rf-image-field__overlay {
6390
+ opacity: 1;
6391
+ }
6392
+ .rf-image-field:hover .rf-image-field__img {
6393
+ filter: blur(2px);
6394
+ }
6395
+ .rf-image-field__overlay-text {
6396
+ color: #ffffff;
6397
+ font-size: 0.6875rem;
6398
+ font-weight: 500;
6399
+ font-family: var(--font-family);
6400
+ text-align: center;
6401
+ line-height: 1.2;
6402
+ }
6403
+ .rf-image-field__input {
6404
+ display: none;
6405
+ }
6406
+ .rf-image-field:focus-visible {
6407
+ outline: 2px solid var(--primary-color);
6408
+ outline-offset: 2px;
6409
+ }
6410
+ .rf-image-field--disabled {
6411
+ opacity: 0.45;
6412
+ cursor: not-allowed;
6413
+ pointer-events: none;
6414
+ filter: grayscale(60%);
6415
+ }
6416
+
6417
+ /* lib/styles/phone-field.css */
6418
+ .rf-phone-field {
6419
+ position: relative;
6420
+ }
6421
+ .rf-phone-field--margin-normal {
6422
+ margin-top: 16px;
6423
+ margin-bottom: 8px;
6424
+ }
6425
+ .rf-phone-field--margin-dense {
6426
+ margin-top: 8px;
6427
+ margin-bottom: 4px;
6428
+ }
6429
+ .rf-phone-field__country-selector {
6430
+ display: flex;
6431
+ align-items: center;
6432
+ gap: 2px;
6433
+ padding: 0 2px 0 8px;
6434
+ cursor: pointer;
6435
+ user-select: none;
6436
+ flex-shrink: 0;
6437
+ border: none;
6438
+ background: none;
6439
+ outline: none;
6440
+ border-radius: 4px;
6441
+ transition: background-color 0.15s;
6442
+ }
6443
+ .rf-text-field--filled .rf-phone-field__country-selector {
6444
+ padding: 17px 2px 0 8px;
6445
+ }
6446
+ .rf-text-field--standard .rf-phone-field__country-selector {
6447
+ padding: 15px 2px 0 8px;
6448
+ }
6449
+ .rf-phone-field__country-selector:hover {
6450
+ cursor: pointer;
6451
+ }
6452
+ .rf-phone-field__country-selector--disabled {
6453
+ pointer-events: none;
6454
+ opacity: 0.5;
6455
+ cursor: default;
6456
+ }
6457
+ .rf-phone-field__flag {
6458
+ font-size: 18px;
6459
+ line-height: 1;
6460
+ }
6461
+ .rf-phone-field__dial-code {
6462
+ color: var(--tf-text-color, #333);
6463
+ white-space: nowrap;
6464
+ }
6465
+ .rf-phone-field__chevron {
6466
+ display: flex;
6467
+ align-items: center;
6468
+ color: var(--tf-placeholder-color, #888);
6469
+ transition: transform 0.2s;
6470
+ }
6471
+ .rf-phone-field .rf-text-field__wrapper {
6472
+ display: flex;
6473
+ align-items: center;
6474
+ }
6475
+ .rf-phone-field .rf-text-field__label {
6476
+ transform: translate(14px, -9px) scale(0.75) !important;
6477
+ }
6478
+ .rf-phone-field.rf-text-field--filled .rf-text-field__label {
6479
+ transform: translate(12px, 4px) scale(0.75) !important;
6480
+ }
6481
+ .rf-phone-field.rf-text-field--standard .rf-text-field__label {
6482
+ transform: translate(0, -18px) scale(0.75) !important;
6483
+ }
6484
+ .rf-phone-field.rf-text-field--small.rf-text-field--outlined .rf-text-field__label {
6485
+ transform: translate(14px, -7px) scale(0.75) !important;
6486
+ }
6487
+ .rf-phone-field.rf-text-field--small.rf-text-field--filled .rf-text-field__label {
6488
+ transform: translate(12px, 2px) scale(0.75) !important;
6489
+ }
6490
+ .rf-phone-field .rf-text-field__legend {
6491
+ max-width: 100% !important;
6492
+ }
6493
+ .rf-phone-field__divider {
6494
+ width: 1px;
6495
+ height: 60%;
6496
+ background-color: var(--tf-border-color, #c4c4c4);
6497
+ flex-shrink: 0;
6498
+ }
6499
+ .rf-phone-field__input {
6500
+ flex: 1;
6501
+ min-width: 0;
6502
+ }
6503
+ .rf-phone-field__popup.rf-select__popup {
6504
+ position: fixed;
6505
+ top: 0;
6506
+ left: 0;
6507
+ right: auto;
6508
+ width: max-content;
6509
+ min-width: 280px;
6510
+ max-width: 360px;
6511
+ z-index: 1400;
6512
+ overflow: hidden;
6513
+ }
6514
+ .rf-phone-field__search-indicator {
6515
+ padding: 6px 12px;
6516
+ font-size: 12px;
6517
+ color: var(--tf-placeholder-color, #888);
6518
+ border-bottom: 1px solid var(--tf-border-color, #e0e0e0);
6519
+ background: var(--rf-surface-variant, #f5f5f5);
6520
+ }
6521
+ .rf-phone-field__popup .rf-select__listbox {
6522
+ max-height: inherit;
6523
+ }
6524
+ .rf-phone-field__option {
6525
+ display: flex;
6526
+ align-items: center;
6527
+ gap: 10px;
6528
+ padding: 8px 12px;
6529
+ cursor: pointer;
6530
+ transition: background-color 0.1s;
6531
+ font-size: 14px;
6532
+ }
6533
+ .rf-phone-field__option:hover,
6534
+ .rf-phone-field__option--focused {
6535
+ background-color: var(--hover-color);
6536
+ }
6537
+ .rf-phone-field__option--selected {
6538
+ background-color: var(--selection-color);
6539
+ font-weight: 500;
6540
+ }
6541
+ .rf-phone-field__option--selected.rf-phone-field__option--focused {
6542
+ background-color: var(--rf-selected-hover, rgba(25, 118, 210, 0.12));
6543
+ }
6544
+ .rf-phone-field__option-flag {
6545
+ font-size: 18px;
6546
+ line-height: 1;
6547
+ flex-shrink: 0;
6548
+ }
6549
+ .rf-phone-field__option-name {
6550
+ flex: 1;
6551
+ min-width: 0;
6552
+ overflow: hidden;
6553
+ text-overflow: ellipsis;
6554
+ white-space: nowrap;
6555
+ color: var(--tf-text-color, #333);
6556
+ }
6557
+ .rf-phone-field__option-code {
6558
+ color: var(--tf-placeholder-color, #888);
6559
+ font-size: 13px;
6560
+ flex-shrink: 0;
6561
+ }
6562
+ .rf-phone-field__no-results {
6563
+ padding: 12px;
6564
+ text-align: center;
6565
+ color: var(--tf-placeholder-color, #888);
6566
+ font-size: 14px;
6567
+ }
6568
+
6569
+ /* lib/styles/smart-select.css */
6570
+
6571
+ /* lib/styles/table.css */
6572
+ .rf-table-container {
6573
+ width: 100%;
6574
+ overflow-x: auto;
6575
+ -webkit-overflow-scrolling: touch;
6576
+ }
6577
+ .rf-table {
6578
+ width: 100%;
6579
+ border-collapse: collapse;
6580
+ border-spacing: 0;
6581
+ font-family: var(--font-family, inherit);
6582
+ font-size: 0.875rem;
6583
+ color: var(--text-color, #1a1a1a);
6584
+ }
6585
+ .rf-table--sticky-header .rf-table-head .rf-table-cell {
6586
+ position: sticky;
6587
+ top: 0;
6588
+ z-index: 2;
6589
+ background: var(--surface-color, #fff);
6590
+ }
6591
+ .rf-table-head .rf-table-cell {
6592
+ font-weight: 600;
6593
+ font-size: 0.8125rem;
6594
+ color: var(--text-secondary, #666);
6595
+ background: var(--surface-color, #fff);
6596
+ border-bottom: 2px solid var(--border-color, #e5e7eb);
6597
+ white-space: nowrap;
6598
+ user-select: none;
6599
+ }
6600
+ .rf-table-body .rf-table-cell {
6601
+ border-bottom: 1px solid var(--border-color, #e5e7eb);
6602
+ }
6603
+ .rf-table-body .rf-table-row:last-child .rf-table-cell {
6604
+ border-bottom: none;
6605
+ }
6606
+ .rf-table-footer .rf-table-cell {
6607
+ font-weight: 600;
6608
+ border-top: 2px solid var(--border-color, #e5e7eb);
6609
+ border-bottom: none;
6610
+ color: var(--text-secondary, #666);
6611
+ }
6612
+ .rf-table-row {
6613
+ transition: background 0.1s;
6614
+ }
6615
+ .rf-table-row--hover:hover {
6616
+ background: var(--hover-color, rgba(0, 0, 0, 0.04));
6617
+ }
6618
+ .rf-table-row--selected {
6619
+ background: rgba(164, 27, 6, 0.04);
6620
+ }
6621
+ .rf-table-row--selected:hover {
6622
+ background: rgba(164, 27, 6, 0.07);
6623
+ }
6624
+ .rf-table-cell {
6625
+ padding: 14px 16px;
6626
+ text-align: left;
6627
+ vertical-align: middle;
6628
+ line-height: 1.5;
6629
+ }
6630
+ .rf-table--small .rf-table-cell {
6631
+ padding: 6px 16px;
6632
+ }
6633
+ .rf-table-cell--padding-checkbox {
6634
+ width: 48px;
6635
+ padding: 0 0 0 8px;
6636
+ }
6637
+ .rf-table-cell--padding-none {
6638
+ padding: 0;
6639
+ }
6640
+ .rf-table-cell--align-right {
6641
+ text-align: right;
6642
+ }
6643
+ .rf-table-cell--align-center {
6644
+ text-align: center;
6645
+ }
6646
+ .rf-table-cell--align-justify {
6647
+ text-align: justify;
6648
+ }
6649
+ .rf-table-pagination {
6650
+ display: flex;
6651
+ align-items: center;
6652
+ justify-content: flex-end;
6653
+ gap: 8px;
6654
+ padding: 8px 16px;
6655
+ border-top: 1px solid var(--border-color, #e5e7eb);
6656
+ font-size: 0.8125rem;
6657
+ color: var(--text-secondary, #666);
6658
+ flex-wrap: wrap;
6659
+ }
6660
+ .rf-table-pagination__label {
6661
+ white-space: nowrap;
6662
+ }
6663
+ .rf-table-pagination__select {
6664
+ padding: 4px 8px;
6665
+ border: 1px solid var(--border-color, #e5e7eb);
6666
+ border-radius: 6px;
6667
+ font-size: 0.8125rem;
6668
+ background: var(--surface-color, #fff);
6669
+ color: var(--text-color, #1a1a1a);
6670
+ cursor: pointer;
6671
+ outline: none;
6672
+ }
6673
+ .rf-table-pagination__select:focus {
6674
+ border-color: var(--primary-color, #a41b06);
6675
+ }
6676
+ .rf-table-pagination__range {
6677
+ white-space: nowrap;
6678
+ min-width: 80px;
6679
+ text-align: right;
6680
+ }
6681
+ .rf-table-pagination__actions {
6682
+ display: flex;
6683
+ align-items: center;
6684
+ gap: 2px;
6685
+ }
6686
+ .rf-table-pagination__btn {
6687
+ display: inline-flex;
6688
+ align-items: center;
6689
+ justify-content: center;
6690
+ width: 32px;
6691
+ height: 32px;
6692
+ border: none;
6693
+ border-radius: 6px;
6694
+ background: none;
6695
+ color: var(--text-color, #1a1a1a);
6696
+ cursor: pointer;
6697
+ transition: background 0.12s;
6698
+ padding: 0;
6699
+ }
6700
+ .rf-table-pagination__btn:hover:not(:disabled) {
6701
+ background: var(--hover-color, rgba(0, 0, 0, 0.06));
6702
+ }
6703
+ .rf-table-pagination__btn:disabled {
6704
+ opacity: 0.35;
6705
+ cursor: default;
6706
+ }
6707
+ .rf-table-sort-label {
6708
+ display: inline-flex;
6709
+ align-items: center;
6710
+ gap: 4px;
6711
+ cursor: pointer;
6712
+ background: none;
6713
+ border: none;
6714
+ padding: 0;
6715
+ font: inherit;
6716
+ font-weight: 600;
6717
+ font-size: 0.8125rem;
6718
+ color: var(--text-secondary, #666);
6719
+ transition: color 0.12s;
6720
+ white-space: nowrap;
6721
+ user-select: none;
6722
+ }
6723
+ .rf-table-sort-label:hover {
6724
+ color: var(--text-color, #1a1a1a);
6725
+ }
6726
+ .rf-table-sort-label--active {
6727
+ color: var(--text-color, #1a1a1a);
6728
+ }
6729
+ .rf-table-sort-label__icon {
6730
+ display: inline-flex;
6731
+ align-items: center;
6732
+ transition: transform 0.15s, opacity 0.15s;
6733
+ opacity: 0.4;
6734
+ }
6735
+ .rf-table-sort-label:hover .rf-table-sort-label__icon {
6736
+ opacity: 0.7;
6737
+ }
6738
+ .rf-table-sort-label--active .rf-table-sort-label__icon {
6739
+ opacity: 1;
6740
+ }
6741
+ .rf-table-sort-label--desc .rf-table-sort-label__icon {
6742
+ transform: rotate(180deg);
6743
+ }
6744
+ .rf-table-sort-label--hide-icon .rf-table-sort-label__icon {
6745
+ opacity: 0;
6746
+ }
6747
+ .rf-table-sort-label--active.rf-table-sort-label--hide-icon .rf-table-sort-label__icon {
6748
+ opacity: 1;
6749
+ }
6750
+
6751
+ /* lib/styles/linear-progress.css */
6752
+ .rf-linear-progress {
6753
+ position: relative;
6754
+ width: 100%;
6755
+ overflow: hidden;
6756
+ border-radius: 999px;
6757
+ }
6758
+ .rf-linear-progress__bar,
6759
+ .rf-linear-progress__buffer {
6760
+ position: absolute;
6761
+ top: 0;
6762
+ left: 0;
6763
+ bottom: 0;
6764
+ border-radius: inherit;
6765
+ transition: width 0.2s linear;
6766
+ }
6767
+ .rf-linear-progress--determinate .rf-linear-progress__bar,
6768
+ .rf-linear-progress--buffer .rf-linear-progress__bar {
6769
+ width: 0%;
6770
+ }
6771
+ .rf-linear-progress--indeterminate .rf-linear-progress__bar {
6772
+ width: auto;
6773
+ animation: rf-linear-indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
6774
+ }
6775
+ .rf-linear-progress--indeterminate .rf-linear-progress__bar--secondary {
6776
+ animation: rf-linear-indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
6777
+ }
6778
+ .rf-linear-progress--query .rf-linear-progress__bar {
6779
+ width: auto;
6780
+ animation: rf-linear-query1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite reverse;
6781
+ }
6782
+ @keyframes rf-linear-indeterminate1 {
6783
+ 0% {
6784
+ left: -35%;
6785
+ right: 100%;
6786
+ }
6787
+ 60% {
6788
+ left: 100%;
6789
+ right: -90%;
6790
+ }
6791
+ 100% {
6792
+ left: 100%;
6793
+ right: -90%;
6794
+ }
6795
+ }
6796
+ @keyframes rf-linear-indeterminate2 {
6797
+ 0% {
6798
+ left: -200%;
6799
+ right: 100%;
6800
+ }
6801
+ 60% {
6802
+ left: 107%;
6803
+ right: -8%;
6804
+ }
6805
+ 100% {
6806
+ left: 107%;
6807
+ right: -8%;
6808
+ }
6809
+ }
6810
+ @keyframes rf-linear-query1 {
6811
+ 0% {
6812
+ left: -35%;
6813
+ right: 100%;
6814
+ }
6815
+ 60% {
6816
+ left: 100%;
6817
+ right: -90%;
6818
+ }
6819
+ 100% {
6820
+ left: 100%;
6821
+ right: -90%;
6822
+ }
6823
+ }
6824
+
6825
+ /* lib/styles/pagination.css */
6826
+ .rf-pagination {
6827
+ display: inline-block;
6828
+ }
6829
+ .rf-pagination__list {
6830
+ display: flex;
6831
+ flex-wrap: wrap;
6832
+ align-items: center;
6833
+ gap: 4px;
6834
+ list-style: none;
6835
+ padding: 0;
6836
+ margin: 0;
6837
+ }
6838
+ .rf-pagination__btn {
6839
+ display: inline-flex;
6840
+ align-items: center;
6841
+ justify-content: center;
6842
+ min-width: 32px;
6843
+ height: 32px;
6844
+ padding: 0 6px;
6845
+ border: 1px solid transparent;
6846
+ background: transparent;
6847
+ color: var(--text-color, #1a1a1a);
6848
+ font-family: inherit;
6849
+ font-size: 0.875rem;
6850
+ cursor: pointer;
6851
+ transition:
6852
+ background-color 0.15s,
6853
+ border-color 0.15s,
6854
+ color 0.15s;
6855
+ }
6856
+ .rf-pagination__btn:hover:not(:disabled) {
6857
+ background: var(--hover-color, rgba(0, 0, 0, 0.05));
6858
+ }
6859
+ .rf-pagination__btn:disabled {
6860
+ opacity: 0.4;
6861
+ cursor: default;
6862
+ }
6863
+ .rf-pagination__btn--active {
6864
+ background: var(--selection-color, rgba(168, 28, 8, 0.12));
6865
+ color: var(--primary-color, #a81c08);
6866
+ font-weight: 600;
6867
+ }
6868
+ .rf-pagination--primary .rf-pagination__btn--active {
6869
+ background: var(--primary-color, #a81c08);
6870
+ color: #fff;
6871
+ border-color: var(--primary-color, #a81c08);
6872
+ }
6873
+ .rf-pagination__btn--control {
6874
+ font-size: 1rem;
6875
+ line-height: 1;
6876
+ }
6877
+ .rf-pagination__ellipsis {
6878
+ display: inline-flex;
6879
+ min-width: 32px;
6880
+ height: 32px;
6881
+ align-items: center;
6882
+ justify-content: center;
6883
+ color: var(--text-secondary, #666);
6884
+ font-size: 0.875rem;
6885
+ }
6886
+ .rf-pagination--circular .rf-pagination__btn {
6887
+ border-radius: 50%;
6888
+ }
6889
+ .rf-pagination--rounded .rf-pagination__btn {
6890
+ border-radius: 6px;
6891
+ }
6892
+ .rf-pagination--small .rf-pagination__btn,
6893
+ .rf-pagination--small .rf-pagination__ellipsis {
6894
+ min-width: 26px;
6895
+ height: 26px;
6896
+ font-size: 0.8125rem;
6897
+ }
6898
+ .rf-pagination--large .rf-pagination__btn,
6899
+ .rf-pagination--large .rf-pagination__ellipsis {
6900
+ min-width: 40px;
6901
+ height: 40px;
6902
+ font-size: 0.9375rem;
6903
+ }
6904
+
6905
+ /* lib/styles/button-group.css */
6906
+ .rf-button-group {
6907
+ display: inline-flex;
6908
+ border-radius: 6px;
6909
+ }
6910
+ .rf-button-group--full {
6911
+ display: flex;
6912
+ width: 100%;
6913
+ }
6914
+ .rf-button-group--horizontal {
6915
+ flex-direction: row;
6916
+ }
6917
+ .rf-button-group--vertical {
6918
+ flex-direction: column;
6919
+ }
6920
+ .rf-button-group > * {
6921
+ border-radius: 0;
6922
+ }
6923
+ .rf-button-group--full > * {
6924
+ flex: 1;
6925
+ }
6926
+ .rf-button-group--horizontal > *:not(:last-child) {
6927
+ border-top-right-radius: 0;
6928
+ border-bottom-right-radius: 0;
6929
+ }
6930
+ .rf-button-group--horizontal > *:not(:first-child) {
6931
+ border-top-left-radius: 0;
6932
+ border-bottom-left-radius: 0;
6933
+ margin-left: -1px;
6934
+ }
6935
+ .rf-button-group--vertical > *:not(:last-child) {
6936
+ border-bottom-left-radius: 0;
6937
+ border-bottom-right-radius: 0;
6938
+ }
6939
+ .rf-button-group--vertical > *:not(:first-child) {
6940
+ border-top-left-radius: 0;
6941
+ border-top-right-radius: 0;
6942
+ margin-top: -1px;
6943
+ }
6944
+ .rf-button-group--horizontal > *:first-child {
6945
+ border-top-left-radius: 6px;
6946
+ border-bottom-left-radius: 6px;
6947
+ }
6948
+ .rf-button-group--horizontal > *:last-child {
6949
+ border-top-right-radius: 6px;
6950
+ border-bottom-right-radius: 6px;
6951
+ }
6952
+ .rf-button-group--vertical > *:first-child {
6953
+ border-top-left-radius: 6px;
6954
+ border-top-right-radius: 6px;
6955
+ }
6956
+ .rf-button-group--vertical > *:last-child {
6957
+ border-bottom-left-radius: 6px;
6958
+ border-bottom-right-radius: 6px;
6959
+ }
6960
+
6961
+ /* lib/styles/alert.css */
6962
+ .rf-alert {
6963
+ display: flex;
6964
+ align-items: flex-start;
6965
+ gap: 12px;
6966
+ padding: 10px 16px;
6967
+ border-radius: 6px;
6968
+ font-family: inherit;
6969
+ font-size: 0.875rem;
6970
+ line-height: 1.5;
6971
+ }
6972
+ .rf-alert__icon {
6973
+ display: inline-flex;
6974
+ align-items: center;
6975
+ padding-top: 1px;
6976
+ flex-shrink: 0;
6977
+ }
6978
+ .rf-alert__message {
6979
+ flex: 1;
6980
+ min-width: 0;
6981
+ }
6982
+ .rf-alert__title {
6983
+ font-weight: 600;
6984
+ margin-bottom: 2px;
6985
+ }
6986
+ .rf-alert__action {
6987
+ display: inline-flex;
6988
+ align-items: center;
6989
+ margin-left: auto;
6990
+ padding-left: 8px;
6991
+ }
6992
+ .rf-alert__close {
6993
+ background: none;
6994
+ border: none;
6995
+ font-size: 1.25rem;
6996
+ line-height: 1;
6997
+ padding: 4px 6px;
6998
+ cursor: pointer;
6999
+ color: inherit;
7000
+ opacity: 0.7;
7001
+ border-radius: 4px;
7002
+ }
7003
+ .rf-alert__close:hover {
7004
+ opacity: 1;
7005
+ background: rgba(0, 0, 0, 0.06);
5729
7006
  }
5730
- .rf-image-field--medium {
5731
- width: 96px;
5732
- height: 96px;
7007
+ .rf-alert--standard.rf-alert--success {
7008
+ background: #e8f5e9;
7009
+ color: #1e4620;
5733
7010
  }
5734
- .rf-image-field--large {
5735
- width: 128px;
5736
- height: 128px;
7011
+ .rf-alert--standard.rf-alert--info {
7012
+ background: #e7f3fb;
7013
+ color: #0a4a6e;
5737
7014
  }
5738
- .rf-image-field__img {
5739
- width: 100%;
5740
- height: 100%;
5741
- object-fit: cover;
5742
- display: block;
5743
- transition: filter 0.25s ease;
7015
+ .rf-alert--standard.rf-alert--warning {
7016
+ background: #fff4e5;
7017
+ color: #663c00;
5744
7018
  }
5745
- .rf-image-field__placeholder {
5746
- display: flex;
5747
- align-items: center;
5748
- justify-content: center;
5749
- width: 100%;
5750
- height: 100%;
5751
- color: var(--text-secondary);
5752
- transition: filter 0.25s ease;
7019
+ .rf-alert--standard.rf-alert--error {
7020
+ background: #fdecea;
7021
+ color: #611a15;
5753
7022
  }
5754
- .rf-image-field__overlay {
5755
- position: absolute;
5756
- inset: 0;
5757
- display: flex;
5758
- align-items: center;
5759
- justify-content: center;
5760
- flex-direction: column;
5761
- gap: 4px;
5762
- background-color: rgba(0, 0, 0, 0.5);
5763
- opacity: 0;
5764
- transition: opacity 0.25s ease;
5765
- pointer-events: none;
7023
+ .rf-alert--standard .rf-alert__icon {
7024
+ color: currentColor;
7025
+ opacity: 0.85;
5766
7026
  }
5767
- .rf-image-field:hover .rf-image-field__overlay {
5768
- opacity: 1;
7027
+ .rf-alert--filled.rf-alert--success {
7028
+ background: #2e7d32;
7029
+ color: #fff;
5769
7030
  }
5770
- .rf-image-field:hover .rf-image-field__img {
5771
- filter: blur(2px);
7031
+ .rf-alert--filled.rf-alert--info {
7032
+ background: #0288d1;
7033
+ color: #fff;
5772
7034
  }
5773
- .rf-image-field__overlay-text {
5774
- color: #ffffff;
5775
- font-size: 0.6875rem;
5776
- font-weight: 500;
5777
- font-family: var(--font-family);
5778
- text-align: center;
5779
- line-height: 1.2;
7035
+ .rf-alert--filled.rf-alert--warning {
7036
+ background: #ed6c02;
7037
+ color: #fff;
5780
7038
  }
5781
- .rf-image-field__input {
5782
- display: none;
7039
+ .rf-alert--filled.rf-alert--error {
7040
+ background: #d32f2f;
7041
+ color: #fff;
5783
7042
  }
5784
- .rf-image-field:focus-visible {
5785
- outline: 2px solid var(--primary-color);
5786
- outline-offset: 2px;
7043
+ .rf-alert--outlined {
7044
+ background: transparent;
7045
+ border: 1px solid currentColor;
5787
7046
  }
5788
- .rf-image-field--disabled {
5789
- opacity: 0.45;
5790
- cursor: not-allowed;
5791
- pointer-events: none;
5792
- filter: grayscale(60%);
7047
+ .rf-alert--outlined.rf-alert--success {
7048
+ color: #1e4620;
7049
+ border-color: #2e7d32;
5793
7050
  }
5794
-
5795
- /* lib/styles/phone-field.css */
5796
- .rf-phone-field {
5797
- position: relative;
7051
+ .rf-alert--outlined.rf-alert--info {
7052
+ color: #0a4a6e;
7053
+ border-color: #0288d1;
5798
7054
  }
5799
- .rf-phone-field--margin-normal {
5800
- margin-top: 16px;
5801
- margin-bottom: 8px;
7055
+ .rf-alert--outlined.rf-alert--warning {
7056
+ color: #663c00;
7057
+ border-color: #ed6c02;
5802
7058
  }
5803
- .rf-phone-field--margin-dense {
5804
- margin-top: 8px;
5805
- margin-bottom: 4px;
7059
+ .rf-alert--outlined.rf-alert--error {
7060
+ color: #611a15;
7061
+ border-color: #d32f2f;
5806
7062
  }
5807
- .rf-phone-field__country-selector {
7063
+
7064
+ /* lib/styles/timeline.css */
7065
+ .rf-timeline {
7066
+ list-style: none;
7067
+ margin: 0;
7068
+ padding: 6px 16px;
5808
7069
  display: flex;
5809
- align-items: center;
5810
- gap: 2px;
5811
- padding: 0 2px 0 8px;
5812
- cursor: pointer;
5813
- user-select: none;
5814
- flex-shrink: 0;
5815
- border: none;
5816
- background: none;
5817
- outline: none;
5818
- border-radius: 4px;
5819
- transition: background-color 0.15s;
5820
- }
5821
- .rf-text-field--filled .rf-phone-field__country-selector {
5822
- padding: 17px 2px 0 8px;
5823
- }
5824
- .rf-text-field--standard .rf-phone-field__country-selector {
5825
- padding: 15px 2px 0 8px;
7070
+ flex-direction: column;
5826
7071
  }
5827
- .rf-phone-field__country-selector:hover {
5828
- cursor: pointer;
7072
+ .rf-timeline-item {
7073
+ display: flex;
7074
+ position: relative;
7075
+ list-style: none;
7076
+ min-height: 70px;
5829
7077
  }
5830
- .rf-phone-field__country-selector--disabled {
5831
- pointer-events: none;
5832
- opacity: 0.5;
5833
- cursor: default;
7078
+ .rf-timeline-item--right {
7079
+ flex-direction: row;
5834
7080
  }
5835
- .rf-phone-field__flag {
5836
- font-size: 18px;
5837
- line-height: 1;
7081
+ .rf-timeline-item--left {
7082
+ flex-direction: row-reverse;
5838
7083
  }
5839
- .rf-phone-field__dial-code {
5840
- color: var(--tf-text-color, #333);
5841
- white-space: nowrap;
7084
+ .rf-timeline-item--no-opposite::before {
7085
+ content: "";
7086
+ flex: 1;
7087
+ padding: 6px 16px;
5842
7088
  }
5843
- .rf-phone-field__chevron {
7089
+ .rf-timeline-separator {
5844
7090
  display: flex;
7091
+ flex-direction: column;
7092
+ flex: 0;
5845
7093
  align-items: center;
5846
- color: var(--tf-placeholder-color, #888);
5847
- transition: transform 0.2s;
5848
7094
  }
5849
- .rf-phone-field .rf-text-field__wrapper {
7095
+ .rf-timeline-dot {
5850
7096
  display: flex;
5851
7097
  align-items: center;
7098
+ justify-content: center;
7099
+ align-self: baseline;
7100
+ width: 12px;
7101
+ height: 12px;
7102
+ margin: 11.5px 0;
7103
+ border-radius: 50%;
7104
+ box-shadow:
7105
+ 0 1px 1px -1px rgba(0, 0, 0, 0.2),
7106
+ 0 1px 1px 0 rgba(0, 0, 0, 0.14),
7107
+ 0 1px 3px 0 rgba(0, 0, 0, 0.12);
7108
+ box-sizing: border-box;
7109
+ flex-shrink: 0;
5852
7110
  }
5853
- .rf-phone-field .rf-text-field__label {
5854
- transform: translate(14px, -9px) scale(0.75) !important;
7111
+ .rf-timeline-dot--has-content {
7112
+ width: 28px;
7113
+ height: 28px;
7114
+ padding: 4px;
7115
+ color: #fff;
5855
7116
  }
5856
- .rf-phone-field.rf-text-field--filled .rf-text-field__label {
5857
- transform: translate(12px, 4px) scale(0.75) !important;
7117
+ .rf-timeline-dot--outlined {
7118
+ background-color: transparent;
7119
+ border-style: solid;
7120
+ border-width: 2px;
7121
+ box-shadow: none;
5858
7122
  }
5859
- .rf-phone-field.rf-text-field--standard .rf-text-field__label {
5860
- transform: translate(0, -18px) scale(0.75) !important;
7123
+ .rf-timeline-dot--filled.rf-timeline-dot--grey {
7124
+ background-color: #bdbdbd;
5861
7125
  }
5862
- .rf-phone-field.rf-text-field--small.rf-text-field--outlined .rf-text-field__label {
5863
- transform: translate(14px, -7px) scale(0.75) !important;
7126
+ .rf-timeline-dot--filled.rf-timeline-dot--inherit {
7127
+ background-color: currentColor;
5864
7128
  }
5865
- .rf-phone-field.rf-text-field--small.rf-text-field--filled .rf-text-field__label {
5866
- transform: translate(12px, 2px) scale(0.75) !important;
7129
+ .rf-timeline-dot--filled.rf-timeline-dot--primary {
7130
+ background-color: var(--primary-color, #a81c08);
5867
7131
  }
5868
- .rf-phone-field .rf-text-field__legend {
5869
- max-width: 100% !important;
7132
+ .rf-timeline-dot--filled.rf-timeline-dot--secondary {
7133
+ background-color: var(--secondary-color, #9c27b0);
5870
7134
  }
5871
- .rf-phone-field__divider {
5872
- width: 1px;
5873
- height: 60%;
5874
- background-color: var(--tf-border-color, #c4c4c4);
5875
- flex-shrink: 0;
7135
+ .rf-timeline-dot--filled.rf-timeline-dot--success {
7136
+ background-color: #2e7d32;
5876
7137
  }
5877
- .rf-phone-field__input {
5878
- flex: 1;
5879
- min-width: 0;
7138
+ .rf-timeline-dot--filled.rf-timeline-dot--error {
7139
+ background-color: #d32f2f;
5880
7140
  }
5881
- .rf-phone-field__popup.rf-select__popup {
5882
- position: fixed;
5883
- top: 0;
5884
- left: 0;
5885
- right: auto;
5886
- width: max-content;
5887
- min-width: 280px;
5888
- max-width: 360px;
5889
- z-index: 1400;
5890
- overflow: hidden;
7141
+ .rf-timeline-dot--filled.rf-timeline-dot--info {
7142
+ background-color: #0288d1;
5891
7143
  }
5892
- .rf-phone-field__search-indicator {
5893
- padding: 6px 12px;
5894
- font-size: 12px;
5895
- color: var(--tf-placeholder-color, #888);
5896
- border-bottom: 1px solid var(--tf-border-color, #e0e0e0);
5897
- background: var(--rf-surface-variant, #f5f5f5);
7144
+ .rf-timeline-dot--filled.rf-timeline-dot--warning {
7145
+ background-color: #ed6c02;
5898
7146
  }
5899
- .rf-phone-field__popup .rf-select__listbox {
5900
- max-height: inherit;
7147
+ .rf-timeline-dot--outlined.rf-timeline-dot--grey {
7148
+ border-color: #bdbdbd;
7149
+ color: #bdbdbd;
5901
7150
  }
5902
- .rf-phone-field__option {
5903
- display: flex;
5904
- align-items: center;
5905
- gap: 10px;
5906
- padding: 8px 12px;
5907
- cursor: pointer;
5908
- transition: background-color 0.1s;
5909
- font-size: 14px;
7151
+ .rf-timeline-dot--outlined.rf-timeline-dot--inherit {
7152
+ border-color: currentColor;
5910
7153
  }
5911
- .rf-phone-field__option:hover,
5912
- .rf-phone-field__option--focused {
5913
- background-color: var(--hover-color);
7154
+ .rf-timeline-dot--outlined.rf-timeline-dot--primary {
7155
+ border-color: var(--primary-color, #a81c08);
7156
+ color: var(--primary-color, #a81c08);
5914
7157
  }
5915
- .rf-phone-field__option--selected {
5916
- background-color: var(--selection-color);
5917
- font-weight: 500;
7158
+ .rf-timeline-dot--outlined.rf-timeline-dot--secondary {
7159
+ border-color: var(--secondary-color, #9c27b0);
7160
+ color: var(--secondary-color, #9c27b0);
5918
7161
  }
5919
- .rf-phone-field__option--selected.rf-phone-field__option--focused {
5920
- background-color: var(--rf-selected-hover, rgba(25, 118, 210, 0.12));
7162
+ .rf-timeline-dot--outlined.rf-timeline-dot--success {
7163
+ border-color: #2e7d32;
7164
+ color: #2e7d32;
5921
7165
  }
5922
- .rf-phone-field__option-flag {
5923
- font-size: 18px;
5924
- line-height: 1;
5925
- flex-shrink: 0;
7166
+ .rf-timeline-dot--outlined.rf-timeline-dot--error {
7167
+ border-color: #d32f2f;
7168
+ color: #d32f2f;
5926
7169
  }
5927
- .rf-phone-field__option-name {
7170
+ .rf-timeline-dot--outlined.rf-timeline-dot--info {
7171
+ border-color: #0288d1;
7172
+ color: #0288d1;
7173
+ }
7174
+ .rf-timeline-dot--outlined.rf-timeline-dot--warning {
7175
+ border-color: #ed6c02;
7176
+ color: #ed6c02;
7177
+ }
7178
+ .rf-timeline-connector {
7179
+ width: 2px;
7180
+ flex-grow: 1;
7181
+ background-color: #bdbdbd;
7182
+ }
7183
+ .rf-timeline-content,
7184
+ .rf-timeline-opposite-content {
5928
7185
  flex: 1;
5929
- min-width: 0;
5930
- overflow: hidden;
5931
- text-overflow: ellipsis;
5932
- white-space: nowrap;
5933
- color: var(--tf-text-color, #333);
7186
+ padding: 6px 16px;
7187
+ text-align: left;
5934
7188
  }
5935
- .rf-phone-field__option-code {
5936
- color: var(--tf-placeholder-color, #888);
5937
- font-size: 13px;
5938
- flex-shrink: 0;
7189
+ .rf-timeline-item--right .rf-timeline-opposite-content {
7190
+ text-align: right;
5939
7191
  }
5940
- .rf-phone-field__no-results {
5941
- padding: 12px;
5942
- text-align: center;
5943
- color: var(--tf-placeholder-color, #888);
5944
- font-size: 14px;
7192
+ .rf-timeline-item--left .rf-timeline-content {
7193
+ text-align: right;
5945
7194
  }
5946
7195
 
5947
7196
  /* lib/styles/button.css */
@@ -5990,6 +7239,7 @@ pre {
5990
7239
  justify-content: center;
5991
7240
  letter-spacing: 0.5px;
5992
7241
  transition: all 0.2s;
7242
+ outline: none;
5993
7243
  }
5994
7244
  .cancel-btn:hover,
5995
7245
  .btn-cancel:hover {
@@ -6012,6 +7262,7 @@ pre {
6012
7262
  justify-content: center;
6013
7263
  letter-spacing: 0.5px;
6014
7264
  transition: all 0.2s ease;
7265
+ outline: none;
6015
7266
  }
6016
7267
  .submit-btn:hover:not(:disabled),
6017
7268
  .btn-submit:hover:not(:disabled),
@@ -6208,6 +7459,7 @@ pre {
6208
7459
  .rf-btn--loading {
6209
7460
  cursor: default;
6210
7461
  pointer-events: none;
7462
+ min-width: var(--rf-btn-min-w);
6211
7463
  }
6212
7464
  .rf-btn__start-icon,
6213
7465
  .rf-btn__end-icon {
@@ -6361,21 +7613,24 @@ pre {
6361
7613
  white-space: nowrap;
6362
7614
  color: var(--tf-text-color);
6363
7615
  z-index: 2;
7616
+ flex-shrink: 0;
7617
+ min-width: 36px;
7618
+ box-sizing: border-box;
6364
7619
  }
6365
7620
  .rf-text-field__adornment--start {
6366
- margin-left: 0px;
6367
- margin-right: -6px;
7621
+ padding-left: 10px;
7622
+ padding-right: 4px;
6368
7623
  }
6369
7624
  .rf-text-field__adornment--end {
6370
- margin-right: 0px;
6371
- margin-left: -6px;
7625
+ padding-right: 10px;
7626
+ padding-left: 4px;
6372
7627
  }
6373
7628
  .rf-text-field--standard .rf-text-field__adornment--start {
6374
- margin-left: 0;
7629
+ padding-left: 0;
6375
7630
  margin-top: 16px;
6376
7631
  }
6377
7632
  .rf-text-field--standard .rf-text-field__adornment--end {
6378
- margin-right: 0;
7633
+ padding-right: 0;
6379
7634
  margin-top: 16px;
6380
7635
  }
6381
7636
  .rf-text-field--filled .rf-text-field__adornment--start,
@@ -6428,6 +7683,12 @@ pre {
6428
7683
  .rf-text-field__input:focus::placeholder {
6429
7684
  opacity: 1;
6430
7685
  }
7686
+ .rf-text-field:not(.rf-text-field--has-label) .rf-text-field__input::placeholder {
7687
+ opacity: 1;
7688
+ }
7689
+ .rf-text-field__legend--empty {
7690
+ display: none;
7691
+ }
6431
7692
  .rf-text-field__helper-text {
6432
7693
  color: var(--tf-placeholder-color);
6433
7694
  font-size: 0.75rem;
@@ -6660,6 +7921,9 @@ pre {
6660
7921
  .rf-text-field--error .rf-text-field__helper-text {
6661
7922
  color: var(--tf-error-color);
6662
7923
  }
7924
+ .rf-text-field--small .rf-text-field__input {
7925
+ font-size: 0.875rem;
7926
+ }
6663
7927
  .rf-text-field--small.rf-text-field--outlined .rf-text-field__input {
6664
7928
  padding: 8.5px 14px;
6665
7929
  }
@@ -6906,6 +8170,25 @@ pre {
6906
8170
  border-right: none;
6907
8171
  margin-right: 0;
6908
8172
  }
8173
+ .rf-rte-wrapper .toolbar-group:empty {
8174
+ display: none;
8175
+ }
8176
+ .rf-rte-wrapper .rte-toolbar-toggle {
8177
+ margin-left: auto;
8178
+ color: #a81c08;
8179
+ }
8180
+ .rf-rte-wrapper .toolbar-row.with-close .rte-toolbar-toggle {
8181
+ margin-right: 9px;
8182
+ }
8183
+ .rf-rte-wrapper .toolbar-row.with-close .rte-toolbar-toggle.is-expanded {
8184
+ margin-right: -24px;
8185
+ }
8186
+ .rf-rte-wrapper .rte-toolbar-toggle svg {
8187
+ transition: transform 0.2s ease;
8188
+ }
8189
+ .rf-rte-wrapper .rte-toolbar-toggle.is-expanded svg {
8190
+ transform: rotate(180deg);
8191
+ }
6909
8192
  .rf-rte-wrapper .toolbar-btn {
6910
8193
  display: inline-flex;
6911
8194
  align-items: center;