@solidxai/core-ui 0.1.14-beta.9 → 0.1.15-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/components/common/DropzonePlaceholder.d.ts +2 -1
  2. package/dist/components/common/DropzonePlaceholder.d.ts.map +1 -1
  3. package/dist/components/common/DropzonePlaceholder.js +10 -7
  4. package/dist/components/common/DropzonePlaceholder.js.map +1 -1
  5. package/dist/components/common/DropzonePlaceholder.tsx +14 -9
  6. package/dist/components/core/card/CardItem.js +1 -1
  7. package/dist/components/core/card/CardItem.js.map +1 -1
  8. package/dist/components/core/card/CardItem.tsx +1 -1
  9. package/dist/components/core/card/SolidCardView.d.ts.map +1 -1
  10. package/dist/components/core/card/SolidCardView.js +2 -2
  11. package/dist/components/core/card/SolidCardView.js.map +1 -1
  12. package/dist/components/core/card/SolidCardView.tsx +7 -12
  13. package/dist/components/core/common/SolidGlobalSearchElement.d.ts.map +1 -1
  14. package/dist/components/core/common/SolidGlobalSearchElement.js +101 -86
  15. package/dist/components/core/common/SolidGlobalSearchElement.js.map +1 -1
  16. package/dist/components/core/common/SolidGlobalSearchElement.tsx +161 -98
  17. package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
  18. package/dist/components/core/form/SolidFormView.js +96 -72
  19. package/dist/components/core/form/SolidFormView.js.map +1 -1
  20. package/dist/components/core/form/SolidFormView.tsx +39 -17
  21. package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
  22. package/dist/components/core/form/fields/SolidMediaMultipleField.js +3 -2
  23. package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
  24. package/dist/components/core/form/fields/SolidMediaMultipleField.tsx +3 -1
  25. package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
  26. package/dist/components/core/form/fields/SolidMediaSingleField.js +3 -2
  27. package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
  28. package/dist/components/core/form/fields/SolidMediaSingleField.tsx +3 -1
  29. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts +1 -0
  30. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.d.ts.map +1 -1
  31. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js +20 -2
  32. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.js.map +1 -1
  33. package/dist/components/core/form/fields/relations/SolidRelationManyToManyField.tsx +29 -2
  34. package/dist/components/core/form/fields/solidFields.module.css +7 -0
  35. package/dist/components/core/kanban/KanbanCard.js +1 -1
  36. package/dist/components/core/kanban/KanbanCard.js.map +1 -1
  37. package/dist/components/core/kanban/KanbanCard.tsx +1 -1
  38. package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
  39. package/dist/components/core/kanban/SolidKanbanView.js +7 -1
  40. package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
  41. package/dist/components/core/kanban/SolidKanbanView.tsx +10 -5
  42. package/dist/components/core/list/SolidListView.d.ts.map +1 -1
  43. package/dist/components/core/list/SolidListView.js +44 -88
  44. package/dist/components/core/list/SolidListView.js.map +1 -1
  45. package/dist/components/core/list/SolidListView.tsx +19 -93
  46. package/dist/components/core/list/SolidListViewColumn.d.ts +2 -1
  47. package/dist/components/core/list/SolidListViewColumn.d.ts.map +1 -1
  48. package/dist/components/core/list/SolidListViewColumn.js +2 -2
  49. package/dist/components/core/list/SolidListViewColumn.js.map +1 -1
  50. package/dist/components/core/list/SolidListViewColumn.tsx +4 -3
  51. package/dist/components/core/list/columns/SolidRelationColumn.d.ts +1 -1
  52. package/dist/components/core/list/columns/SolidRelationColumn.d.ts.map +1 -1
  53. package/dist/components/core/list/columns/SolidRelationColumn.js +2 -2
  54. package/dist/components/core/list/columns/SolidRelationColumn.js.map +1 -1
  55. package/dist/components/core/list/columns/SolidRelationColumn.tsx +2 -2
  56. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts +2 -2
  57. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.d.ts.map +1 -1
  58. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js +5 -4
  59. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.js.map +1 -1
  60. package/dist/components/core/list/columns/relations/SolidRelationManyToOneColumn.tsx +5 -4
  61. package/dist/components/core/model/FieldMetaDataForm.d.ts.map +1 -1
  62. package/dist/components/core/model/FieldMetaDataForm.js +147 -97
  63. package/dist/components/core/model/FieldMetaDataForm.js.map +1 -1
  64. package/dist/components/core/model/FieldMetaDataForm.tsx +123 -31
  65. package/dist/components/core/tree/SolidTreeView.d.ts.map +1 -1
  66. package/dist/components/core/tree/SolidTreeView.js +1 -1
  67. package/dist/components/core/tree/SolidTreeView.js.map +1 -1
  68. package/dist/components/core/tree/SolidTreeView.tsx +4 -12
  69. package/dist/components/layout/AdminHeaderActions.js +1 -1
  70. package/dist/components/layout/AdminHeaderActions.js.map +1 -1
  71. package/dist/components/layout/AdminHeaderActions.tsx +1 -1
  72. package/dist/helpers/getAcceptedFileTypes.d.ts +12 -2
  73. package/dist/helpers/getAcceptedFileTypes.d.ts.map +1 -1
  74. package/dist/helpers/getAcceptedFileTypes.js +72 -16
  75. package/dist/helpers/getAcceptedFileTypes.js.map +1 -1
  76. package/dist/helpers/getAcceptedFileTypes.tsx +101 -18
  77. package/dist/helpers/registry.js +2 -1
  78. package/dist/helpers/registry.js.map +1 -1
  79. package/dist/helpers/registry.ts +3 -1
  80. package/dist/index.d.ts +1 -1
  81. package/dist/index.d.ts.map +1 -1
  82. package/dist/index.js.map +1 -1
  83. package/dist/index.ts +1 -2
  84. package/dist/resources/globals.css +259 -109
  85. package/dist/resources/solid-responsive.css +1 -5
  86. package/dist/resources/solid-tailwind-generated.css +1 -1
  87. package/dist/resources/themes/solid-light-modern/theme.css +3 -4
  88. package/dist/types/index.d.ts +2 -4
  89. package/dist/types/solid-core.d.ts +4 -13
  90. package/package.json +1 -1
@@ -2522,11 +2522,11 @@ li.header-li-px {
2522
2522
  }
2523
2523
 
2524
2524
  .solid-dropzone-meta {
2525
- margin: 0 0 0.2rem;
2525
+ /* margin: 0 0 0.2rem; */
2526
2526
  text-align: center;
2527
2527
  color: var(--muted-foreground, var(--text-color-secondary)) !important;
2528
2528
  font-size: 11px !important;
2529
- line-height: 1.45;
2529
+ line-height: 1;
2530
2530
  letter-spacing: 0.01em;
2531
2531
  }
2532
2532
 
@@ -3332,6 +3332,19 @@ li.header-li-px {
3332
3332
  scrollbar-width: thin;
3333
3333
  }
3334
3334
 
3335
+ .solid-global-search-element {
3336
+ --solid-search-tone-saved: hsl(262 83% 58%);
3337
+ --solid-search-tone-saved-ink: hsl(262 74% 44%);
3338
+ --solid-search-tone-search: hsl(212 92% 45%);
3339
+ --solid-search-tone-search-ink: hsl(212 82% 38%);
3340
+ --solid-search-tone-predefined: hsl(174 70% 35%);
3341
+ --solid-search-tone-predefined-ink: hsl(174 65% 30%);
3342
+ --solid-search-tone-custom: hsl(35 88% 46%);
3343
+ --solid-search-tone-custom-ink: hsl(30 84% 34%);
3344
+ --solid-search-tone-handler: hsl(142 60% 38%);
3345
+ --solid-search-tone-handler-ink: hsl(142 55% 30%);
3346
+ }
3347
+
3335
3348
  .custom-filter-chip-type {
3336
3349
  display: flex;
3337
3350
  align-items: center;
@@ -3385,27 +3398,27 @@ li.header-li-px {
3385
3398
  }
3386
3399
 
3387
3400
  .solid-chip-tone-saved {
3388
- background: color-mix(in srgb, hsl(262 83% 58%) 12%, transparent);
3389
- border-color: color-mix(in srgb, hsl(262 83% 58%) 26%, transparent);
3390
- color: color-mix(in srgb, hsl(262 74% 44%) 82%, var(--foreground) 18%);
3401
+ background: color-mix(in srgb, var(--solid-search-tone-saved) 12%, transparent);
3402
+ border-color: color-mix(in srgb, var(--solid-search-tone-saved) 26%, transparent);
3403
+ color: color-mix(in srgb, var(--solid-search-tone-saved-ink) 82%, var(--foreground) 18%);
3391
3404
  }
3392
3405
 
3393
3406
  .solid-chip-tone-search {
3394
- background: color-mix(in srgb, hsl(212 92% 45%) 10%, transparent);
3395
- border-color: color-mix(in srgb, hsl(212 92% 45%) 24%, transparent);
3396
- color: color-mix(in srgb, hsl(212 82% 38%) 80%, var(--foreground) 20%);
3407
+ background: color-mix(in srgb, var(--solid-search-tone-search) 10%, transparent);
3408
+ border-color: color-mix(in srgb, var(--solid-search-tone-search) 24%, transparent);
3409
+ color: color-mix(in srgb, var(--solid-search-tone-search-ink) 80%, var(--foreground) 20%);
3397
3410
  }
3398
3411
 
3399
3412
  .solid-chip-tone-predefined {
3400
- background: color-mix(in srgb, hsl(174 70% 35%) 12%, transparent);
3401
- border-color: color-mix(in srgb, hsl(174 70% 35%) 24%, transparent);
3402
- color: color-mix(in srgb, hsl(174 65% 30%) 82%, var(--foreground) 18%);
3413
+ background: color-mix(in srgb, var(--solid-search-tone-predefined) 12%, transparent);
3414
+ border-color: color-mix(in srgb, var(--solid-search-tone-predefined) 24%, transparent);
3415
+ color: color-mix(in srgb, var(--solid-search-tone-predefined-ink) 82%, var(--foreground) 18%);
3403
3416
  }
3404
3417
 
3405
3418
  .solid-chip-tone-custom {
3406
- background: color-mix(in srgb, hsl(35 88% 46%) 12%, transparent);
3407
- border-color: color-mix(in srgb, hsl(35 88% 46%) 28%, transparent);
3408
- color: color-mix(in srgb, hsl(30 84% 34%) 84%, var(--foreground) 16%);
3419
+ background: color-mix(in srgb, var(--solid-search-tone-custom) 12%, transparent);
3420
+ border-color: color-mix(in srgb, var(--solid-search-tone-custom) 28%, transparent);
3421
+ color: color-mix(in srgb, var(--solid-search-tone-custom-ink) 84%, var(--foreground) 16%);
3409
3422
  }
3410
3423
 
3411
3424
  .solid-chip-tone-grouping {
@@ -3415,9 +3428,9 @@ li.header-li-px {
3415
3428
  }
3416
3429
 
3417
3430
  .solid-chip-tone-handler {
3418
- background: color-mix(in srgb, hsl(142 60% 38%) 12%, transparent);
3419
- border-color: color-mix(in srgb, hsl(142 60% 38%) 26%, transparent);
3420
- color: color-mix(in srgb, hsl(142 55% 30%) 82%, var(--foreground) 18%);
3431
+ background: color-mix(in srgb, var(--solid-search-tone-handler) 12%, transparent);
3432
+ border-color: color-mix(in srgb, var(--solid-search-tone-handler) 26%, transparent);
3433
+ color: color-mix(in srgb, var(--solid-search-tone-handler-ink) 82%, var(--foreground) 18%);
3421
3434
  }
3422
3435
 
3423
3436
  .solid-chip-pill-remove {
@@ -3520,8 +3533,7 @@ li.header-li-px {
3520
3533
  .solid-chip-manager-item.solid-chip-tone-search .solid-chip-manager-item-label,
3521
3534
  .solid-chip-manager-item.solid-chip-tone-predefined .solid-chip-manager-item-label,
3522
3535
  .solid-chip-manager-item.solid-chip-tone-custom .solid-chip-manager-item-label,
3523
- .solid-chip-manager-item.solid-chip-tone-grouping .solid-chip-manager-item-label,
3524
- .solid-chip-manager-item.solid-chip-tone-handler .solid-chip-manager-item-label {
3536
+ .solid-chip-manager-item.solid-chip-tone-grouping .solid-chip-manager-item-label {
3525
3537
  color: inherit;
3526
3538
  }
3527
3539
 
@@ -4501,13 +4513,17 @@ li.header-li-px {
4501
4513
  text-transform: lowercase;
4502
4514
  }
4503
4515
 
4504
- .solid-search-overlay-pannel {
4516
+ .solid-search-overlay-panel {
4517
+ position: absolute;
4505
4518
  top: calc(100% + 4px) !important;
4519
+ left: 0 !important;
4506
4520
  /* Keep above datatable sticky headers/columns and other elevated surfaces. */
4507
4521
  z-index: 1004 !important;
4508
4522
  background: var(--card);
4509
4523
  border: 1px solid color-mix(in srgb, var(--border) 86%, transparent) !important;
4510
4524
  border-radius: 10px;
4525
+ width: min(560px, calc(100vw - 24px)) !important;
4526
+ min-width: min(100%, 420px);
4511
4527
  overflow: hidden;
4512
4528
  box-shadow: 0 14px 30px color-mix(in srgb, hsl(222 47% 11%) 16%, transparent);
4513
4529
  max-height: min(72vh, 520px);
@@ -4524,11 +4540,77 @@ li.header-li-px {
4524
4540
  }
4525
4541
 
4526
4542
  .solid-search-overlay-section {
4527
- gap: 6px;
4543
+ display: flex;
4544
+ flex-direction: column;
4545
+ gap: 5px;
4546
+ padding: 8px 12px;
4528
4547
  }
4529
4548
 
4530
- .custom-filter-search-options.solid-search-overlay-section {
4531
- gap: 2px;
4549
+ .solid-search-overlay-section--saved {
4550
+ --solid-search-overlay-tone: var(--solid-search-tone-saved);
4551
+ --solid-search-overlay-tone-ink: var(--solid-search-tone-saved-ink);
4552
+ }
4553
+
4554
+ .solid-search-overlay-section--search {
4555
+ --solid-search-overlay-tone: var(--solid-search-tone-search);
4556
+ --solid-search-overlay-tone-ink: var(--solid-search-tone-search-ink);
4557
+ }
4558
+
4559
+ .solid-search-overlay-section--predefined {
4560
+ --solid-search-overlay-tone: var(--solid-search-tone-predefined);
4561
+ --solid-search-overlay-tone-ink: var(--solid-search-tone-predefined-ink);
4562
+ }
4563
+
4564
+ .solid-search-overlay-section--handler {
4565
+ --solid-search-overlay-tone: var(--solid-search-tone-handler);
4566
+ --solid-search-overlay-tone-ink: var(--solid-search-tone-handler-ink);
4567
+ }
4568
+
4569
+ .solid-global-search-element .solid-search-overlay-section--saved,
4570
+ .solid-global-search-element .solid-search-overlay-section--search,
4571
+ .solid-global-search-element .solid-search-overlay-section--predefined,
4572
+ .solid-global-search-element .solid-search-overlay-section--handler {
4573
+ background-color: color-mix(in srgb, var(--solid-search-overlay-tone) 9%, var(--card, #ffffff)) !important;
4574
+ box-shadow: inset 3px 0 0 color-mix(in srgb, var(--solid-search-overlay-tone) 52%, transparent);
4575
+ }
4576
+
4577
+ .solid-search-overlay-section-separator {
4578
+ height: 1px;
4579
+ margin: 2px 12px 0;
4580
+ border: 0;
4581
+ background: color-mix(in srgb, var(--border, #d9dee8) 86%, transparent);
4582
+ }
4583
+
4584
+ .solid-global-search-element .solid-search-overlay-section--saved .solid-search-overlay-heading-with-icon svg,
4585
+ .solid-global-search-element .solid-search-overlay-section--saved .solid-search-overlay-panel-callout-icon,
4586
+ .solid-global-search-element .solid-search-overlay-section--search .solid-search-overlay-heading-with-icon svg,
4587
+ .solid-global-search-element .solid-search-overlay-section--predefined .solid-search-overlay-heading-with-icon svg,
4588
+ .solid-global-search-element .solid-search-overlay-section--handler .solid-search-overlay-heading-with-icon svg {
4589
+ color: var(--solid-search-overlay-tone-ink) !important;
4590
+ }
4591
+
4592
+ .solid-global-search-element .solid-search-overlay-section--saved .solid-search-overlay-section-title,
4593
+ .solid-global-search-element .solid-search-overlay-section--search .solid-search-overlay-section-title,
4594
+ .solid-global-search-element .solid-search-overlay-section--predefined .solid-search-overlay-section-title,
4595
+ .solid-global-search-element .solid-search-overlay-section--handler .solid-search-overlay-section-title {
4596
+ color: var(--solid-search-overlay-tone-ink) !important;
4597
+ }
4598
+
4599
+ .solid-global-search-element .solid-search-overlay-section--saved .solid-search-overlay-panel-callout-icon {
4600
+ width: 26px;
4601
+ min-width: 26px;
4602
+ height: 26px;
4603
+ margin-top: 0;
4604
+ border-radius: 7px;
4605
+ background: color-mix(in srgb, var(--solid-search-overlay-tone) 14%, transparent) !important;
4606
+ }
4607
+
4608
+ .solid-global-search-element .solid-search-overlay-section--saved .solid-search-overlay-section-count,
4609
+ .solid-global-search-element .solid-search-overlay-section--search .solid-search-overlay-section-count,
4610
+ .solid-global-search-element .solid-search-overlay-section--predefined .solid-search-overlay-section-count,
4611
+ .solid-global-search-element .solid-search-overlay-section--handler .solid-search-overlay-section-count {
4612
+ background: color-mix(in srgb, var(--solid-search-overlay-tone) 18%, transparent) !important;
4613
+ color: var(--solid-search-overlay-tone-ink) !important;
4532
4614
  }
4533
4615
 
4534
4616
  .solid-search-overlay-heading {
@@ -4552,20 +4634,39 @@ li.header-li-px {
4552
4634
  }
4553
4635
 
4554
4636
  .solid-search-overlay-section-title {
4637
+ display: inline-flex;
4638
+ align-items: center;
4639
+ gap: 6px;
4555
4640
  font-size: 12px;
4556
4641
  font-weight: 600;
4557
4642
  line-height: 1.2;
4558
4643
  color: color-mix(in srgb, var(--foreground) 92%, transparent);
4559
4644
  }
4560
4645
 
4646
+ .solid-search-overlay-section-count {
4647
+ display: inline-flex;
4648
+ align-items: center;
4649
+ justify-content: center;
4650
+ min-width: 18px;
4651
+ height: 18px;
4652
+ padding: 0 5px;
4653
+ border-radius: 999px;
4654
+ background: color-mix(in srgb, var(--muted) 78%, transparent);
4655
+ color: color-mix(in srgb, var(--foreground) 62%, transparent);
4656
+ font-size: 10px;
4657
+ font-weight: 600;
4658
+ line-height: 1;
4659
+ }
4660
+
4561
4661
  .solid-search-overlay-option {
4562
4662
  justify-content: flex-start;
4563
4663
  text-align: left;
4564
- border-radius: 6px;
4565
- min-height: 20px;
4566
- padding: 2px 8px !important;
4567
- font-size: 11px;
4568
- line-height: 1.2;
4664
+ width: 100%;
4665
+ border-radius: 8px;
4666
+ min-height: 40px;
4667
+ padding: 6px 8px !important;
4668
+ font-size: 13px;
4669
+ line-height: 1.3;
4569
4670
  color: color-mix(in srgb, var(--foreground) 90%, transparent);
4570
4671
  background: transparent !important;
4571
4672
  border: 1px solid transparent !important;
@@ -4573,7 +4674,7 @@ li.header-li-px {
4573
4674
  }
4574
4675
 
4575
4676
  .solid-search-overlay-option:hover {
4576
- background: color-mix(in srgb, var(--accent) 60%, transparent);
4677
+ background: color-mix(in srgb, var(--accent) 62%, transparent) !important;
4577
4678
  }
4578
4679
 
4579
4680
  .solid-search-overlay-option:focus {
@@ -4581,73 +4682,100 @@ li.header-li-px {
4581
4682
  }
4582
4683
 
4583
4684
  .solid-search-overlay-option-active {
4584
- background: color-mix(in srgb, var(--accent) 85%, transparent) !important;
4585
- border: 1px solid var(--primary-color) !important;
4586
- box-shadow: 0 0 0 1px var(--primary-color) !important;
4685
+ background: color-mix(in srgb, var(--accent) 76%, transparent) !important;
4686
+ border-color: transparent !important;
4687
+ outline: 2px solid color-mix(in srgb, var(--primary-color, var(--primary)) 72%, transparent);
4688
+ outline-offset: -2px;
4689
+ box-shadow: none !important;
4587
4690
  }
4588
4691
 
4589
- .solid-search-overlay-option-active .solid-btn-label,
4590
- .solid-search-overlay-option-active .p-button-label,
4591
4692
  .solid-search-overlay-option-active {
4592
4693
  color: var(--accent-foreground, var(--foreground)) !important;
4593
4694
  font-weight: 600 !important;
4594
4695
  }
4595
4696
 
4596
- .solid-search-overlay-option-stacked {
4597
- align-items: flex-start;
4697
+ .solid-search-overlay-option .solid-btn-label,
4698
+ .solid-saved-filter-main .solid-btn-label {
4699
+ display: block;
4700
+ width: 100%;
4701
+ min-width: 0;
4598
4702
  }
4599
4703
 
4600
- .solid-defined-filter-badge-row {
4704
+ .solid-search-overlay-option-content {
4601
4705
  display: flex;
4602
- flex-wrap: wrap;
4603
- gap: 6px;
4604
- padding: 2px 0 4px;
4706
+ align-items: center;
4707
+ gap: 9px;
4708
+ width: 100%;
4709
+ min-width: 0;
4605
4710
  }
4606
4711
 
4607
- .solid-defined-filter-badge {
4712
+ .solid-search-overlay-option-icon {
4608
4713
  display: inline-flex;
4609
4714
  align-items: center;
4610
- gap: 5px;
4715
+ justify-content: center;
4611
4716
  flex: 0 0 auto;
4612
- max-width: 100%;
4613
- border: 1px solid color-mix(in srgb, hsl(142 60% 38%) 30%, transparent);
4614
- background: color-mix(in srgb, hsl(142 60% 38%) 8%, transparent);
4615
- color: color-mix(in srgb, hsl(142 55% 30%) 88%, var(--foreground) 12%);
4616
- border-radius: 999px;
4617
- min-height: 24px;
4618
- padding: 0 10px 0 6px;
4619
- font-size: 11px;
4620
- font-weight: 500;
4621
- line-height: 1;
4622
- white-space: nowrap;
4623
- cursor: pointer;
4624
- transition: background 0.12s ease, border-color 0.12s ease;
4717
+ width: 26px;
4718
+ height: 26px;
4719
+ border-radius: 7px;
4720
+ background: color-mix(in srgb, var(--muted) 66%, transparent);
4721
+ color: color-mix(in srgb, var(--foreground) 68%, transparent);
4625
4722
  }
4626
4723
 
4627
- .solid-defined-filter-badge svg {
4628
- flex: 0 0 auto;
4724
+ .solid-global-search-element .solid-search-overlay-section--saved .solid-search-overlay-option-icon,
4725
+ .solid-global-search-element .solid-search-overlay-section--search .solid-search-overlay-option-icon,
4726
+ .solid-global-search-element .solid-search-overlay-section--predefined .solid-search-overlay-option-icon {
4727
+ background: color-mix(in srgb, var(--solid-search-overlay-tone) 24%, transparent) !important;
4728
+ color: var(--solid-search-overlay-tone-ink) !important;
4629
4729
  }
4630
4730
 
4631
- .solid-defined-filter-badge:hover {
4632
- background: color-mix(in srgb, hsl(142 60% 38%) 16%, transparent);
4633
- border-color: color-mix(in srgb, hsl(142 60% 38%) 44%, transparent);
4731
+ .solid-search-overlay-option-copy {
4732
+ display: flex;
4733
+ flex: 1 1 auto;
4734
+ flex-direction: column;
4735
+ gap: 1px;
4736
+ min-width: 0;
4737
+ text-align: left;
4634
4738
  }
4635
4739
 
4636
- .solid-defined-filter-badge:focus-visible {
4637
- outline: 2px solid color-mix(in srgb, hsl(142 60% 38%) 50%, transparent);
4638
- outline-offset: 1px;
4740
+ .solid-search-overlay-option-title {
4741
+ overflow: hidden;
4742
+ color: color-mix(in srgb, var(--foreground) 94%, transparent);
4743
+ font-size: 12px;
4744
+ font-weight: 600;
4745
+ line-height: 1.25;
4746
+ text-overflow: ellipsis;
4747
+ white-space: nowrap;
4639
4748
  }
4640
4749
 
4641
- .solid-defined-filter-badge-label {
4750
+ .solid-search-overlay-option-description {
4751
+ display: -webkit-box;
4642
4752
  overflow: hidden;
4753
+ color: color-mix(in srgb, var(--foreground) 62%, transparent);
4754
+ font-size: 11px;
4755
+ font-weight: 400;
4756
+ line-height: 1.3;
4643
4757
  text-overflow: ellipsis;
4644
- max-width: 220px;
4758
+ -webkit-box-orient: vertical;
4759
+ -webkit-line-clamp: 1;
4760
+ }
4761
+
4762
+ .solid-search-overlay-option-check {
4763
+ display: inline-flex;
4764
+ align-items: center;
4765
+ justify-content: center;
4766
+ flex: 0 0 auto;
4767
+ width: 22px;
4768
+ height: 22px;
4769
+ border-radius: 999px;
4770
+ background: color-mix(in srgb, var(--primary-color, var(--primary)) 12%, transparent);
4771
+ color: var(--primary-color, var(--primary));
4645
4772
  }
4646
4773
 
4647
4774
  .solid-search-overlay-empty {
4648
4775
  display: flex;
4649
4776
  flex-direction: column;
4650
4777
  gap: 3px;
4778
+ padding: 12px;
4651
4779
  color: color-mix(in srgb, var(--foreground) 70%, transparent);
4652
4780
  }
4653
4781
 
@@ -4693,14 +4821,9 @@ li.header-li-px {
4693
4821
  color: color-mix(in srgb, var(--foreground) 66%, transparent);
4694
4822
  }
4695
4823
 
4696
- .solid-search-overlay-saved-list .p-button {
4697
- min-height: 20px;
4698
- padding: 0 8px;
4699
- font-size: 11px;
4700
- border-radius: 8px;
4701
- }
4702
-
4703
4824
  .solid-search-overlay-saved-list {
4825
+ display: flex;
4826
+ flex-direction: column;
4704
4827
  max-height: none;
4705
4828
  overflow-y: visible;
4706
4829
  padding-right: 2px;
@@ -4717,33 +4840,24 @@ li.header-li-px {
4717
4840
  min-width: 0;
4718
4841
  }
4719
4842
 
4720
- .solid-saved-filter-main.p-button {
4843
+ .solid-saved-filter-main {
4721
4844
  justify-content: flex-start;
4722
4845
  text-align: left;
4723
4846
  border: 1px solid transparent;
4724
4847
  background: transparent;
4725
4848
  color: color-mix(in srgb, var(--foreground) 90%, transparent);
4726
4849
  border-radius: 8px;
4727
- min-height: 20px;
4728
- padding: 0 8px;
4729
- font-size: 11px;
4850
+ min-height: 40px;
4851
+ padding: 6px 8px;
4852
+ font-size: 12px;
4730
4853
  line-height: 1.2;
4731
4854
  }
4732
4855
 
4733
- .solid-saved-filter-main .solid-btn-label {
4734
- display: block;
4735
- width: 100%;
4736
- text-align: left;
4737
- text-overflow: ellipsis;
4738
- overflow: hidden;
4739
- white-space: nowrap;
4740
- }
4741
-
4742
- .solid-saved-filter-main.p-button:hover {
4856
+ .solid-saved-filter-main:hover {
4743
4857
  background: color-mix(in srgb, var(--accent) 60%, transparent);
4744
4858
  }
4745
4859
 
4746
- .solid-saved-filter-main.p-button.is-active {
4860
+ .solid-saved-filter-main.is-active {
4747
4861
  background: color-mix(in srgb, var(--accent) 72%, transparent);
4748
4862
  border-color: color-mix(in srgb, var(--ring) 52%, transparent);
4749
4863
  color: color-mix(in srgb, var(--foreground) 96%, transparent);
@@ -4754,25 +4868,29 @@ li.header-li-px {
4754
4868
  display: inline-flex;
4755
4869
  align-items: center;
4756
4870
  gap: 4px;
4871
+ opacity: 0;
4872
+ transition: opacity 120ms ease;
4757
4873
  }
4758
4874
 
4759
- .solid-saved-filter-icon-btn.p-button {
4875
+ .solid-saved-filter-item:hover .solid-saved-filter-actions,
4876
+ .solid-saved-filter-item:focus-within .solid-saved-filter-actions {
4877
+ opacity: 1;
4878
+ }
4879
+
4880
+ .solid-saved-filter-icon-btn {
4760
4881
  width: 24px;
4761
4882
  min-width: 24px;
4762
4883
  height: 24px;
4884
+ min-height: 24px;
4763
4885
  border-radius: 6px;
4764
4886
  padding: 0;
4765
4887
  }
4766
4888
 
4767
- .solid-saved-filter-icon-btn.p-button .p-button-icon {
4768
- font-size: 10px;
4769
- }
4770
-
4771
- .solid-saved-filter-icon-btn.p-button:hover {
4889
+ .solid-saved-filter-icon-btn:hover {
4772
4890
  background: color-mix(in srgb, var(--accent) 60%, transparent);
4773
4891
  }
4774
4892
 
4775
- .solid-saved-filter-icon-btn.p-button.is-danger {
4893
+ .solid-saved-filter-icon-btn.is-danger {
4776
4894
  color: hsl(0 72% 45%);
4777
4895
  }
4778
4896
 
@@ -4794,13 +4912,35 @@ li.header-li-px {
4794
4912
  flex-direction: column;
4795
4913
  cursor: pointer;
4796
4914
  border-radius: 10px;
4915
+ min-height: 44px;
4916
+ padding: 8px 12px;
4797
4917
  transition: background-color 120ms ease;
4798
4918
  }
4799
4919
 
4920
+ .solid-global-search-element .solid-search-overlay-footer-action--custom {
4921
+ --solid-search-overlay-tone: var(--solid-search-tone-custom);
4922
+ --solid-search-overlay-tone-ink: var(--solid-search-tone-custom-ink);
4923
+ }
4924
+
4925
+ .solid-global-search-element .solid-search-overlay-footer-action--custom .solid-search-overlay-panel-callout-icon {
4926
+ width: 26px;
4927
+ min-width: 26px;
4928
+ height: 26px;
4929
+ margin-top: 0;
4930
+ border-radius: 7px;
4931
+ background: color-mix(in srgb, var(--solid-search-overlay-tone) 16%, transparent) !important;
4932
+ color: var(--solid-search-overlay-tone-ink) !important;
4933
+ }
4934
+
4800
4935
  .solid-search-overlay-footer-action:hover {
4801
4936
  background: color-mix(in srgb, var(--accent) 72%, transparent);
4802
4937
  }
4803
4938
 
4939
+ .solid-search-overlay-footer-action:focus-visible {
4940
+ outline: 2px solid color-mix(in srgb, var(--primary-color, var(--primary)) 72%, transparent);
4941
+ outline-offset: -2px;
4942
+ }
4943
+
4804
4944
  .solid-search-overlay-footer-action-main {
4805
4945
  display: flex;
4806
4946
  align-items: flex-start;
@@ -4830,21 +4970,6 @@ li.header-li-px {
4830
4970
  margin-bottom: 2px;
4831
4971
  }
4832
4972
 
4833
- .solid-search-overlay-footer-btn.p-button {
4834
- min-height: 22px;
4835
- border-radius: 8px;
4836
- font-size: 11px;
4837
- justify-content: flex-start;
4838
- padding: 0 8px !important;
4839
- }
4840
-
4841
- .solid-search-overlay-footer-actions {
4842
- display: flex;
4843
- justify-content: center;
4844
- align-items: center;
4845
- gap: 8px;
4846
- }
4847
-
4848
4973
  .solid-search-overlay-no-fields {
4849
4974
  min-height: 42px;
4850
4975
  display: flex;
@@ -4875,6 +5000,31 @@ li.header-li-px {
4875
5000
  text-align: center;
4876
5001
  }
4877
5002
 
5003
+ @media (max-width: 640px) {
5004
+ .solid-search-overlay-panel {
5005
+ width: calc(100vw - 24px) !important;
5006
+ min-width: 0;
5007
+ max-height: min(76vh, 560px);
5008
+ }
5009
+
5010
+ .solid-search-overlay-scroll {
5011
+ max-height: calc(76vh - 64px);
5012
+ }
5013
+
5014
+ .solid-search-overlay-option,
5015
+ .solid-saved-filter-main {
5016
+ min-height: 44px;
5017
+ }
5018
+
5019
+ .solid-saved-filter-actions {
5020
+ opacity: 1;
5021
+ }
5022
+
5023
+ .solid-search-overlay-option-description {
5024
+ -webkit-line-clamp: 2;
5025
+ }
5026
+ }
5027
+
4878
5028
  .solid-standard-autocomplete .p-inputtext {
4879
5029
  border-right: none;
4880
5030
  }
@@ -256,10 +256,6 @@
256
256
  max-width: 100% !important;
257
257
  }
258
258
 
259
- .solid-search-overlay-pannel {
260
- top: calc(100% + 4px) !important;
261
- }
262
-
263
259
  .custom-filter-button {
264
260
  border: none;
265
261
  }
@@ -981,4 +977,4 @@
981
977
  max-width: clamp(137px, 34vw, 600px);
982
978
 
983
979
  }
984
- }
980
+ }