@layerfi/components 0.1.116-alpha → 0.1.116-alpha.1

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
@@ -181,6 +181,20 @@
181
181
  font-weight: var(--font-weight-normal);
182
182
  font-feature-settings: "cv10" on, "cv01" on, "cv05" on, "cv08" on, "ss03" on;
183
183
  }
184
+ @media (width <= 768px) {
185
+ .Layer__component,
186
+ .Layer__Portal,
187
+ .Layer__view,
188
+ .Layer__select__menu-portal,
189
+ .Layer__tooltip,
190
+ .Layer__UI__tooltip,
191
+ .Layer__toasts-container,
192
+ .Layer__drawer,
193
+ .Layer__variables,
194
+ .Layer__tasks-component {
195
+ --text-heading: 20px;
196
+ }
197
+ }
184
198
  .Layer__view,
185
199
  .Layer__component,
186
200
  .Layer__Portal,
@@ -231,6 +245,9 @@
231
245
  .Layer__component *::-webkit-scrollbar-thumb:hover {
232
246
  background: #999;
233
247
  }
248
+ .Layer__sortable-col.value-col {
249
+ text-align: right;
250
+ }
234
251
  .Layer__sortable-col .Layer__sort-arrows .desc-arrow,
235
252
  .Layer__sortable-col .Layer__sort-arrows .asc-arrow {
236
253
  stroke: var(--color-base-500);
@@ -5595,10 +5612,10 @@ tbody .Layer__table__empty-row:first-child {
5595
5612
  #layer-pie-dots-pattern rect.bg {
5596
5613
  fill: var(--color-base-100);
5597
5614
  }
5598
- #layer-pie-dots-pattern-legend rect {
5615
+ .Layer__charts__dots-pattern-legend__dot {
5599
5616
  fill: var(--color-base-500);
5600
5617
  }
5601
- #layer-pie-dots-pattern-bg {
5618
+ .Layer__charts__dots-pattern-legend__bg {
5602
5619
  fill: var(--color-base-100);
5603
5620
  }
5604
5621
  @container (min-width: 1024px) {
@@ -5774,10 +5791,20 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
5774
5791
  padding-bottom: var(--spacing-lg);
5775
5792
  padding-left: var(--spacing-md);
5776
5793
  }
5777
- @container (max-width: 280px) {
5778
- .Layer__profit-and-loss-detailed-charts .chart-container {
5779
- width: 100%;
5780
- }
5794
+ .Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__empty-chart {
5795
+ box-sizing: border-box;
5796
+ height: 280px;
5797
+ width: 100%;
5798
+ padding-top: var(--spacing-2xl);
5799
+ padding-right: var(--spacing-md);
5800
+ padding-bottom: var(--spacing-lg);
5801
+ padding-left: var(--spacing-md);
5802
+ }
5803
+ .Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__empty-chart-content {
5804
+ height: 100%;
5805
+ }
5806
+ .Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__empty-chart-icon {
5807
+ color: var(--color-base-400);
5781
5808
  }
5782
5809
  .Layer__profit-and-loss-detailed-charts .recharts-responsive-container {
5783
5810
  box-shadow: none;
@@ -5808,11 +5835,20 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
5808
5835
  padding: var(--spacing-2xs) var(--spacing-xs);
5809
5836
  font-size: 12px;
5810
5837
  text-align: left;
5811
- transition: color 150ms ease-out;
5812
5838
  }
5813
- .Layer__profit-and-loss-detailed-charts .details-container table th:last-child, .Layer__profit-and-loss-detailed-charts .details-container table th.value-col,
5814
- .Layer__profit-and-loss-detailed-charts .details-container table td:last-child,
5815
- .Layer__profit-and-loss-detailed-charts .details-container table td.value-col {
5839
+ .Layer__profit-and-loss-detailed-charts .details-container table th:first-child,
5840
+ .Layer__profit-and-loss-detailed-charts .details-container table td:first-child {
5841
+ width: 20px;
5842
+ padding-right: 0;
5843
+ }
5844
+ .Layer__profit-and-loss-detailed-charts .details-container table th:last-child,
5845
+ .Layer__profit-and-loss-detailed-charts .details-container table td:last-child {
5846
+ text-align: right;
5847
+ }
5848
+ .Layer__profit-and-loss-detailed-charts .details-container table th.percent-col,
5849
+ .Layer__profit-and-loss-detailed-charts .details-container table td.percent-col {
5850
+ width: 4ch;
5851
+ padding-left: 0;
5816
5852
  text-align: right;
5817
5853
  }
5818
5854
  .Layer__profit-and-loss-detailed-charts .details-container table th {
@@ -5822,6 +5858,9 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
5822
5858
  color: var(--color-base-500);
5823
5859
  transition: color 150ms ease-out;
5824
5860
  }
5861
+ .Layer__profit-and-loss-detailed-charts .details-container table th:first-child {
5862
+ cursor: default;
5863
+ }
5825
5864
  .Layer__profit-and-loss-detailed-charts .details-container table th:hover {
5826
5865
  color: var(--color-base-800);
5827
5866
  }
@@ -5832,22 +5871,18 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
5832
5871
  position: relative;
5833
5872
  top: 1px;
5834
5873
  }
5835
- .Layer__profit-and-loss-detailed-charts .details-container .share-cell-content {
5836
- display: flex;
5837
- gap: var(--spacing-2xs);
5838
- align-items: center;
5839
- justify-content: flex-end;
5840
- }
5841
- .Layer__profit-and-loss-detailed-charts .details-container .share-cell-content .share-icon {
5874
+ .Layer__profit-and-loss-detailed-charts .details-container .color-col .share-icon {
5842
5875
  height: 12px;
5843
5876
  width: 12px;
5844
5877
  border-radius: 2px;
5845
5878
  }
5846
- .Layer__profit-and-loss .Layer__panel__sidebar .Layer__panel__sidebar-content {
5847
- width: 100%;
5879
+ .Layer__profit-and-loss-detailed-charts .details-container .percent-col .share-text {
5880
+ font-size: var(--text-sm);
5881
+ line-height: 140%;
5882
+ color: var(--color-base-600);
5848
5883
  }
5849
- .Layer__profit-and-loss .Layer__panel__sidebar .Layer__profit-and-loss-detailed-charts {
5850
- width: 100%;
5884
+ .Layer__profit-and-loss-detailed-charts .details-container tbody tr {
5885
+ height: 2.5rem;
5851
5886
  }
5852
5887
  .Layer__profit-and-loss-detailed-table__row {
5853
5888
  border-radius: 2px;
@@ -5859,7 +5894,7 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
5859
5894
  color: var(--text-color-primary);
5860
5895
  }
5861
5896
  .Layer__profit-and-loss-detailed-table__row .type-col,
5862
- .Layer__profit-and-loss-detailed-table__row .share-col {
5897
+ .Layer__profit-and-loss-detailed-table__row .percent-col {
5863
5898
  color: var(--color-base-500);
5864
5899
  }
5865
5900
  .Layer__profit-and-loss-detailed-table__row.active {
@@ -5868,7 +5903,7 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
5868
5903
  .Layer__profit-and-loss-detailed-table__row.active .category-col,
5869
5904
  .Layer__profit-and-loss-detailed-table__row.active .value-col,
5870
5905
  .Layer__profit-and-loss-detailed-table__row.active .type-col,
5871
- .Layer__profit-and-loss-detailed-table__row.active .share-col {
5906
+ .Layer__profit-and-loss-detailed-table__row.active .percent-col {
5872
5907
  color: var(--color-base-1000);
5873
5908
  }
5874
5909
  .Layer__profit-and-loss-detailed-charts__pie {
@@ -5900,6 +5935,9 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
5900
5935
  .Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__content .chart-container {
5901
5936
  max-width: 300px;
5902
5937
  }
5938
+ .Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__content .Layer__profit-and-loss-detailed-charts__empty-chart {
5939
+ max-width: 300px;
5940
+ }
5903
5941
  .Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__table-wrapper {
5904
5942
  display: flex;
5905
5943
  flex: 1;
@@ -5926,6 +5964,10 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
5926
5964
  }
5927
5965
  .Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__table-wrapper {
5928
5966
  width: 100%;
5967
+ padding-inline: var(--spacing-md);
5968
+ }
5969
+ .Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__table-wrapper .Layer__Span {
5970
+ margin: 0 1rem;
5929
5971
  }
5930
5972
  .Layer__profit-and-loss-detailed-charts .Layer__profit-and-loss-detailed-charts__head .date {
5931
5973
  display: none;
@@ -7009,7 +7051,6 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
7009
7051
  z-index: 100;
7010
7052
  inset: 0;
7011
7053
  display: grid;
7012
- height: var(--visual-viewport-height);
7013
7054
  background: rgba(0, 0, 0, 0.5);
7014
7055
  place-items: center;
7015
7056
  }
@@ -8268,6 +8309,9 @@ header.Layer__profit-and-loss-detailed-charts__header--tablet {
8268
8309
 
8269
8310
  .Layer__MonthPicker__InputGroup {
8270
8311
  inline-size: 12rem;
8312
+ }
8313
+ .Layer__MonthPicker__InputGroup--mobile {
8314
+ inline-size: 12ch;
8271
8315
  }.Layer__NewToggle {
8272
8316
  box-sizing: border-box;
8273
8317
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerfi/components",
3
- "version": "0.1.116-alpha",
3
+ "version": "0.1.116-alpha.1",
4
4
  "description": "Layer React Components",
5
5
  "main": "dist/cjs/index.cjs",
6
6
  "module": "dist/esm/index.mjs",