@layerfi/components 0.1.106-alpha.1 → 0.1.106
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/cjs/index.cjs +237 -186
- package/dist/esm/index.mjs +186 -135
- package/dist/index.css +54 -39
- package/dist/index.d.ts +85 -26
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -193,18 +193,6 @@
|
|
|
193
193
|
--button-fg-ghost: var(--color-base-800);
|
|
194
194
|
--button-border-color-ghost: var(--color-base-300);
|
|
195
195
|
--button-border-color-ghost-active: var(--color-base-800);
|
|
196
|
-
--checkbox-bg: var(--bg-subtle);
|
|
197
|
-
--checkbox-size: 16px;
|
|
198
|
-
--checkbox-radius: var(--border-radius-3xs);
|
|
199
|
-
--checkbox-border-color: var(--color-base-300);
|
|
200
|
-
--checkbox-color-selected: var(--bg-default);
|
|
201
|
-
--checkbox-bg-selected: var(--fg-default);
|
|
202
|
-
--checkbox-border-color-selected: var(--fg-default);
|
|
203
|
-
--checkbox-bg-disabled: var(--color-base-200);
|
|
204
|
-
--checkbox-size-lg: 24px;
|
|
205
|
-
--checkbox-radius-lg: var(--border-radius-2xs);
|
|
206
|
-
--checkbox-bg-success-selected: var(--color-info-success);
|
|
207
|
-
--checkbox-border-color-success-selected: var(--color-info-success);
|
|
208
196
|
}
|
|
209
197
|
.Layer__component *::-webkit-scrollbar {
|
|
210
198
|
width: 6px;
|
|
@@ -4551,36 +4539,36 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4551
4539
|
place-self: center;
|
|
4552
4540
|
}
|
|
4553
4541
|
.Layer__Checkbox {
|
|
4542
|
+
position: relative;
|
|
4554
4543
|
display: inline-flex;
|
|
4555
4544
|
align-items: center;
|
|
4556
4545
|
cursor: pointer;
|
|
4557
|
-
position: relative;
|
|
4558
4546
|
}
|
|
4559
4547
|
.Layer__Checkbox [slot=checkbox] {
|
|
4560
|
-
|
|
4561
|
-
color: transparent;
|
|
4562
|
-
border: 2px solid var(--checkbox-border-color);
|
|
4563
|
-
border-radius: var(--checkbox-radius);
|
|
4548
|
+
box-sizing: border-box;
|
|
4564
4549
|
display: grid;
|
|
4550
|
+
height: var(--size);
|
|
4551
|
+
width: var(--size);
|
|
4552
|
+
border-radius: var(--checkbox-radius);
|
|
4553
|
+
border: 2px solid var(--outline-default);
|
|
4554
|
+
background-color: var(--color-base-50);
|
|
4555
|
+
color: transparent;
|
|
4565
4556
|
place-items: center;
|
|
4566
|
-
width: var(--checkbox-size);
|
|
4567
|
-
height: var(--checkbox-size);
|
|
4568
4557
|
transition: all 100ms ease-out;
|
|
4558
|
+
--size: 1rem;
|
|
4559
|
+
--checkbox-radius: var(--border-radius-3xs);
|
|
4569
4560
|
}
|
|
4570
|
-
.Layer__Checkbox [slot=checkbox][data-
|
|
4571
|
-
|
|
4561
|
+
.Layer__Checkbox [slot=checkbox][data-pressed] {
|
|
4562
|
+
border-color: var(--outline-active);
|
|
4572
4563
|
}
|
|
4573
4564
|
.Layer__Checkbox[data-size=lg] [slot=checkbox] {
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
border-radius: var(--checkbox-radius-lg);
|
|
4577
|
-
}
|
|
4578
|
-
.Layer__Checkbox[data-size=lg] [slot=checkbox][data-hovered] {
|
|
4579
|
-
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
|
|
4565
|
+
--size: 1.5rem;
|
|
4566
|
+
--checkbox-radius: var(--border-radius-2xs);
|
|
4580
4567
|
}
|
|
4581
4568
|
.Layer__Checkbox svg {
|
|
4582
4569
|
transition: all 100ms ease-out;
|
|
4583
4570
|
}
|
|
4571
|
+
.Layer__Checkbox[data-hovered] [slot=checkbox],
|
|
4584
4572
|
.Layer__Checkbox[data-pressed] [slot=checkbox] {
|
|
4585
4573
|
border-color: var(--outline-active);
|
|
4586
4574
|
}
|
|
@@ -4589,22 +4577,27 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
4589
4577
|
outline-offset: 2px;
|
|
4590
4578
|
}
|
|
4591
4579
|
.Layer__Checkbox[data-selected] [slot=checkbox] {
|
|
4592
|
-
color: var(--
|
|
4593
|
-
|
|
4594
|
-
border-color: var(--
|
|
4580
|
+
background-color: var(--fg-default);
|
|
4581
|
+
color: var(--bg-default);
|
|
4582
|
+
border-color: var(--fg-default);
|
|
4583
|
+
}
|
|
4584
|
+
.Layer__Checkbox[data-variant=success] [slot=checkbox] {
|
|
4585
|
+
background-color: var(--color-info-success);
|
|
4595
4586
|
}
|
|
4596
4587
|
.Layer__Checkbox[data-selected][data-variant=success] [slot=checkbox] {
|
|
4597
|
-
|
|
4598
|
-
|
|
4588
|
+
border-color: var(--color-info-success);
|
|
4589
|
+
}
|
|
4590
|
+
.Layer__Checkbox[data-variant=error] [slot=checkbox] {
|
|
4591
|
+
border-color: var(--color-info-error);
|
|
4592
|
+
}
|
|
4593
|
+
.Layer__Checkbox[data-selected][data-variant=error] [slot=checkbox] {
|
|
4594
|
+
background-color: var(--color-info-error);
|
|
4599
4595
|
}
|
|
4600
4596
|
.Layer__Checkbox[data-disabled] {
|
|
4601
4597
|
cursor: not-allowed;
|
|
4602
4598
|
}
|
|
4603
4599
|
.Layer__Checkbox[data-disabled] [slot=checkbox] {
|
|
4604
|
-
background-color: var(--
|
|
4605
|
-
}
|
|
4606
|
-
.Layer__Checkbox[data-disabled] [slot=checkbox][data-hovered] {
|
|
4607
|
-
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
|
|
4600
|
+
background-color: var(--color-base-200);
|
|
4608
4601
|
}
|
|
4609
4602
|
.Layer__Checkbox[data-labeled] {
|
|
4610
4603
|
gap: var(--spacing-xs);
|
|
@@ -6734,9 +6727,9 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
6734
6727
|
}
|
|
6735
6728
|
.Layer__InvoiceForm .Layer__InvoiceForm__LineItem {
|
|
6736
6729
|
display: grid;
|
|
6737
|
-
grid-template-columns: minmax(10rem, 1.5fr) minmax(12rem, 2fr) minmax(5rem, 0.75fr) minmax(
|
|
6730
|
+
grid-template-columns: minmax(10rem, 1.5fr) minmax(12rem, 2fr) minmax(5rem, 0.75fr) minmax(6rem, 0.75fr) minmax(6rem, 0.75fr) minmax(3rem, 0.25fr) auto;
|
|
6738
6731
|
width: 100%;
|
|
6739
|
-
min-width:
|
|
6732
|
+
min-width: 45rem;
|
|
6740
6733
|
}
|
|
6741
6734
|
.Layer__InvoiceForm__Metadata {
|
|
6742
6735
|
padding: var(--spacing-lg) var(--spacing-2xl);
|
|
@@ -7893,6 +7886,28 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
7893
7886
|
gap: 0;
|
|
7894
7887
|
align-items: center;
|
|
7895
7888
|
}
|
|
7889
|
+
.Layer__FormCheckboxField {
|
|
7890
|
+
display: grid;
|
|
7891
|
+
grid-template-areas: "label" "checkbox";
|
|
7892
|
+
justify-content: center;
|
|
7893
|
+
}
|
|
7894
|
+
.Layer__FormCheckboxField > [slot=checkbox] {
|
|
7895
|
+
grid-area: checkbox;
|
|
7896
|
+
justify-self: center;
|
|
7897
|
+
margin-block: var(--spacing-2xs);
|
|
7898
|
+
}
|
|
7899
|
+
.Layer__FormCheckboxField > [slot=label] {
|
|
7900
|
+
grid-area: label;
|
|
7901
|
+
padding-block-end: var(--spacing-3xs);
|
|
7902
|
+
}
|
|
7903
|
+
.Layer__FormCheckboxField--inline {
|
|
7904
|
+
grid-template-areas: "checkbox label";
|
|
7905
|
+
gap: var(--spacing-3xs);
|
|
7906
|
+
align-items: center;
|
|
7907
|
+
}
|
|
7908
|
+
.Layer__FormCheckboxField--inline > [slot=label] {
|
|
7909
|
+
padding-block-end: 0;
|
|
7910
|
+
}
|
|
7896
7911
|
.Layer__Public,
|
|
7897
7912
|
.Layer__Public::before,
|
|
7898
7913
|
.Layer__Public::after,
|
|
@@ -10863,7 +10878,7 @@ tbody .Layer__table__empty-row:first-child {
|
|
|
10863
10878
|
}
|
|
10864
10879
|
.Layer__panel__sidebar {
|
|
10865
10880
|
position: sticky;
|
|
10866
|
-
z-index:
|
|
10881
|
+
z-index: 10;
|
|
10867
10882
|
top: 0;
|
|
10868
10883
|
overflow-x: hidden;
|
|
10869
10884
|
height: 100%;
|