@layerfi/components 0.1.107-alpha.2 → 0.1.108-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -4742,14 +4742,11 @@ tbody .Layer__table__empty-row:first-child {
4742
4742
  .Layer__UI__DateSegment:not([data-interactive]) {
4743
4743
  background-color: transparent;
4744
4744
  }
4745
- .Layer__dropdown-menu__popover {
4746
- outline: none;
4747
- }
4748
- .Layer__dropdown-menu__popover[data-entering] {
4745
+ .Layer__UI__DropdownMenu__Popover[data-entering] {
4749
4746
  animation: popover-slide 120ms;
4750
4747
  }
4751
- .Layer__dropdown-menu__popover:focus-visible {
4752
- outline: none;
4748
+ .Layer__UI__DropdownMenu__Popover[data-exiting] {
4749
+ animation: popover-slide reverse 120ms;
4753
4750
  }
4754
4751
  @keyframes popover-slide {
4755
4752
  from {
@@ -4761,43 +4758,46 @@ tbody .Layer__table__empty-row:first-child {
4761
4758
  opacity: 1;
4762
4759
  }
4763
4760
  }
4764
- .Layer__dropdown-menu__menu {
4765
- padding-top: var(--spacing-xs);
4766
- padding-bottom: var(--spacing-xs);
4767
- background: var(--color-base-0);
4761
+ .Layer__UI__DropdownMenu__Dialog {
4762
+ display: grid;
4763
+ gap: var(--spacing-xs);
4764
+ overflow: hidden;
4765
+ padding: var(--spacing-sm);
4768
4766
  border-radius: var(--border-radius-xs);
4769
- box-shadow:
4770
- 0px 0px 0px 1px rgba(25, 25, 25, 0.06),
4771
- 0px 4px 12px 0px rgba(17, 17, 17, 0.01),
4772
- 0px 2px 4px 0px rgba(25, 25, 25, 0.06);
4767
+ border: 1px solid var(--border-color);
4768
+ background: var(--color-base-0);
4773
4769
  }
4774
- .Layer__dropdown-menu__menu-item {
4770
+ .Layer__UI__DropdownMenu__Dialog[data-variant=compact] {
4771
+ padding: 0;
4772
+ }
4773
+ .Layer__UI__DropdownMenu__MenuItem {
4775
4774
  display: flex;
4776
- align-items: center;
4777
4775
  gap: var(--spacing-xs);
4776
+ align-items: center;
4778
4777
  padding: var(--spacing-xs);
4779
4778
  border-radius: var(--border-radius-3xs);
4780
- box-shadow: 0px 0px 0px 1px var(--base-transparent-4);
4781
- margin: var(--spacing-3xs) var(--spacing-xs);
4779
+ border: 1px solid var(--border-color);
4782
4780
  cursor: pointer;
4783
4781
  transition: background-color 0.1s ease-in-out;
4784
4782
  }
4785
- .Layer__dropdown-menu__menu-item:hover,
4786
- .Layer__dropdown-menu__menu-item:focus-visible {
4783
+ .Layer__UI__DropdownMenu__MenuItem:hover,
4784
+ .Layer__UI__DropdownMenu__MenuItem:focus-visible {
4787
4785
  background-color: var(--color-base-50);
4788
4786
  }
4789
- .Layer__dropdown-menu__menu-list {
4790
- padding-bottom: var(--spacing-3xs);
4787
+ .Layer__UI__DropdownMenu__MenuItem[data-variant=compact] {
4788
+ gap: 0;
4789
+ border-radius: 0;
4790
+ border: none;
4791
4791
  }
4792
- .Layer__dropdown-menu__separator {
4793
- height: 1px;
4794
- width: 100%;
4795
- margin: var(--spacing-xs) 0;
4796
- background-color: var(--color-base-200);
4792
+ .Layer__UI__DropdownMenu__MenuItem[data-variant=compact]:not(:last-child) {
4793
+ border-bottom: 1px solid var(--border-color);
4797
4794
  }
4798
- .Layer__dropdown-menu__menu-item__heading {
4799
- padding: var(--spacing-xs) var(--spacing-md);
4800
- color: var(--text-color-secondary);
4795
+ .Layer__UI__DropdownMenu__Menu {
4796
+ display: grid;
4797
+ gap: var(--spacing-3xs);
4798
+ }
4799
+ .Layer__UI__DropdownMenu__Menu[data-variant=compact] {
4800
+ gap: 0;
4801
4801
  }
4802
4802
  .Layer__UI__FieldError {
4803
4803
  padding-block-start: var(--spacing-3xs);
@@ -6933,6 +6933,27 @@ tbody .Layer__table__empty-row:first-child {
6933
6933
  .Layer__InvoicePaymentForm .Layer__InvoicePaymentForm__Submit {
6934
6934
  display: grid;
6935
6935
  }
6936
+ .Layer__InvoiceRefundForm .Layer__InvoiceRefundForm__Field__InvoiceNo,
6937
+ .Layer__InvoiceRefundForm .Layer__InvoiceRefundForm__Field__CompletedAt,
6938
+ .Layer__InvoiceRefundForm .Layer__InvoiceRefundForm__Field__PaymentMethod {
6939
+ grid-template-columns: 8rem auto;
6940
+ min-width: 16rem;
6941
+ }
6942
+ .Layer__InvoiceRefundForm .Layer__InvoiceRefundForm__Field__Amount {
6943
+ grid-template-columns: auto 8rem;
6944
+ }
6945
+ .Layer__InvoiceRefundForm .Layer__InvoiceRefundForm__FormError {
6946
+ height: 4rem;
6947
+ padding-inline: var(--spacing-md);
6948
+ border-bottom: 1px solid var(--border-color);
6949
+ }
6950
+ .Layer__InvoiceRefundForm .Layer__InvoiceRefundForm__Field__InvoiceNo {
6951
+ display: grid;
6952
+ }
6953
+ .Layer__InvoiceRefundForm .Layer__InvoiceRefundForm__Section {
6954
+ padding: var(--spacing-md);
6955
+ border-bottom: 1px solid var(--border-color);
6956
+ }
6936
6957
  .Layer__InvoiceSummaryStats__Container {
6937
6958
  box-sizing: border-box;
6938
6959
  width: clamp(48rem, 100%, 1406px);