@usefidel/design-system 0.26.0 → 0.27.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.
- package/dist/fidel.manifest.json +2 -2
- package/dist/index.cjs +294 -5
- package/dist/index.css +819 -0
- package/dist/index.d.cts +218 -3
- package/dist/index.d.ts +218 -3
- package/dist/index.js +280 -5
- package/package.json +8 -3
package/dist/index.css
CHANGED
|
@@ -3976,6 +3976,30 @@
|
|
|
3976
3976
|
justify-content: space-between;
|
|
3977
3977
|
gap: var(--spacing-4, 16px);
|
|
3978
3978
|
}
|
|
3979
|
+
.fds-page-header__lead {
|
|
3980
|
+
display: flex;
|
|
3981
|
+
align-items: center;
|
|
3982
|
+
gap: var(--spacing-3, 12px);
|
|
3983
|
+
min-width: 0;
|
|
3984
|
+
}
|
|
3985
|
+
.fds-page-header__leading {
|
|
3986
|
+
display: inline-flex;
|
|
3987
|
+
flex-shrink: 0;
|
|
3988
|
+
}
|
|
3989
|
+
.fds-page-header__meta {
|
|
3990
|
+
display: flex;
|
|
3991
|
+
flex-wrap: wrap;
|
|
3992
|
+
align-items: center;
|
|
3993
|
+
gap: var(--spacing-2, 8px);
|
|
3994
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
3995
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
3996
|
+
color: var(--color-text-tertiary, #737373);
|
|
3997
|
+
}
|
|
3998
|
+
.fds-page-header__meta svg {
|
|
3999
|
+
width: 12px;
|
|
4000
|
+
height: 12px;
|
|
4001
|
+
flex-shrink: 0;
|
|
4002
|
+
}
|
|
3979
4003
|
.fds-page-header__text {
|
|
3980
4004
|
display: flex;
|
|
3981
4005
|
flex-direction: column;
|
|
@@ -3983,6 +4007,7 @@
|
|
|
3983
4007
|
min-width: 0;
|
|
3984
4008
|
}
|
|
3985
4009
|
.fds-page-header__breadcrumb {
|
|
4010
|
+
margin-bottom: calc(var(--spacing-3, 12px) * -1);
|
|
3986
4011
|
font-size: var(--font-size-text-xs, 12px);
|
|
3987
4012
|
line-height: var(--line-height-text-xs, 18px);
|
|
3988
4013
|
color: var(--color-text-tertiary, #737373);
|
|
@@ -4616,3 +4641,797 @@
|
|
|
4616
4641
|
grid-template-columns: minmax(0, 1fr);
|
|
4617
4642
|
}
|
|
4618
4643
|
}
|
|
4644
|
+
|
|
4645
|
+
/* src/components/PreviewCard/preview-card.css */
|
|
4646
|
+
.fds-preview-card {
|
|
4647
|
+
display: flex;
|
|
4648
|
+
flex-direction: column;
|
|
4649
|
+
min-width: 0;
|
|
4650
|
+
overflow: hidden;
|
|
4651
|
+
border: 1px solid var(--color-border, #e5e5e5);
|
|
4652
|
+
border-radius: var(--radius-xl, 12px);
|
|
4653
|
+
background: var(--color-surface-raised, #ffffff);
|
|
4654
|
+
color: var(--color-text, #171717);
|
|
4655
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
4656
|
+
text-decoration: none;
|
|
4657
|
+
transition: border-color var(--duration-quick, 150ms) var(--ease-out, ease-out), box-shadow var(--duration-quick, 150ms) var(--ease-out, ease-out);
|
|
4658
|
+
}
|
|
4659
|
+
a.fds-preview-card:hover,
|
|
4660
|
+
button.fds-preview-card:hover {
|
|
4661
|
+
border-color: var(--color-border-strong, #d4d4d4);
|
|
4662
|
+
box-shadow: var(--shadow-card, 0 1px 2px rgba(0, 0, 0, 0.04));
|
|
4663
|
+
}
|
|
4664
|
+
a.fds-preview-card:focus-visible,
|
|
4665
|
+
button.fds-preview-card:focus-visible {
|
|
4666
|
+
outline: 2px solid var(--color-border-focus, #171717);
|
|
4667
|
+
outline-offset: 2px;
|
|
4668
|
+
}
|
|
4669
|
+
button.fds-preview-card {
|
|
4670
|
+
padding: 0;
|
|
4671
|
+
font: inherit;
|
|
4672
|
+
text-align: left;
|
|
4673
|
+
cursor: pointer;
|
|
4674
|
+
}
|
|
4675
|
+
.fds-preview-card--add {
|
|
4676
|
+
align-items: center;
|
|
4677
|
+
justify-content: center;
|
|
4678
|
+
gap: var(--spacing-1, 4px);
|
|
4679
|
+
min-height: 200px;
|
|
4680
|
+
padding: var(--spacing-6, 24px);
|
|
4681
|
+
border-style: dashed;
|
|
4682
|
+
background: transparent;
|
|
4683
|
+
text-align: center;
|
|
4684
|
+
}
|
|
4685
|
+
.fds-preview-card--add svg {
|
|
4686
|
+
width: 16px;
|
|
4687
|
+
height: 16px;
|
|
4688
|
+
margin-bottom: var(--spacing-2, 8px);
|
|
4689
|
+
color: var(--color-text-tertiary, #737373);
|
|
4690
|
+
}
|
|
4691
|
+
.fds-preview-card__preview {
|
|
4692
|
+
position: relative;
|
|
4693
|
+
display: flex;
|
|
4694
|
+
align-items: center;
|
|
4695
|
+
justify-content: center;
|
|
4696
|
+
gap: var(--spacing-3, 12px);
|
|
4697
|
+
min-height: 112px;
|
|
4698
|
+
padding: var(--spacing-5, 20px);
|
|
4699
|
+
border-bottom: 1px solid var(--color-border-light, #f0f0f0);
|
|
4700
|
+
background: var(--color-surface-subtle, #fafafa);
|
|
4701
|
+
overflow: hidden;
|
|
4702
|
+
}
|
|
4703
|
+
.fds-preview-card__label {
|
|
4704
|
+
position: absolute;
|
|
4705
|
+
top: var(--spacing-2, 8px);
|
|
4706
|
+
left: var(--spacing-2, 8px);
|
|
4707
|
+
padding: 0 var(--spacing-2, 8px);
|
|
4708
|
+
border: 1px solid var(--color-border, #e5e5e5);
|
|
4709
|
+
border-radius: var(--radius-full, 9999px);
|
|
4710
|
+
background: var(--color-surface-raised, #ffffff);
|
|
4711
|
+
font-size: var(--font-size-text-2xs, 11px);
|
|
4712
|
+
line-height: var(--line-height-text-2xs, 16px);
|
|
4713
|
+
color: var(--color-text-secondary, #525252);
|
|
4714
|
+
}
|
|
4715
|
+
.fds-preview-card__body {
|
|
4716
|
+
display: flex;
|
|
4717
|
+
flex-direction: column;
|
|
4718
|
+
gap: var(--spacing-1, 4px);
|
|
4719
|
+
padding: var(--spacing-3, 12px) var(--spacing-4, 16px);
|
|
4720
|
+
}
|
|
4721
|
+
.fds-preview-card__title {
|
|
4722
|
+
display: flex;
|
|
4723
|
+
align-items: center;
|
|
4724
|
+
justify-content: space-between;
|
|
4725
|
+
gap: var(--spacing-2, 8px);
|
|
4726
|
+
min-width: 0;
|
|
4727
|
+
}
|
|
4728
|
+
.fds-preview-card__name {
|
|
4729
|
+
display: inline-flex;
|
|
4730
|
+
align-items: center;
|
|
4731
|
+
gap: var(--spacing-2, 8px);
|
|
4732
|
+
min-width: 0;
|
|
4733
|
+
font-size: var(--font-size-text-sm, 14px);
|
|
4734
|
+
line-height: var(--line-height-text-compact, 20px);
|
|
4735
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
4736
|
+
}
|
|
4737
|
+
.fds-preview-card__aside {
|
|
4738
|
+
flex-shrink: 0;
|
|
4739
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
4740
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
4741
|
+
color: var(--color-text-tertiary, #737373);
|
|
4742
|
+
}
|
|
4743
|
+
.fds-preview-card__meta {
|
|
4744
|
+
display: flex;
|
|
4745
|
+
flex-wrap: wrap;
|
|
4746
|
+
align-items: center;
|
|
4747
|
+
gap: var(--spacing-1, 4px) var(--spacing-3, 12px);
|
|
4748
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
4749
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
4750
|
+
color: var(--color-text-tertiary, #737373);
|
|
4751
|
+
}
|
|
4752
|
+
.fds-preview-card__meta b {
|
|
4753
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
4754
|
+
color: var(--color-text, #171717);
|
|
4755
|
+
}
|
|
4756
|
+
.fds-preview-card__meta code {
|
|
4757
|
+
font-family: var(--font-mono, "JetBrains Mono", monospace);
|
|
4758
|
+
}
|
|
4759
|
+
.fds-preview-card__meta svg {
|
|
4760
|
+
width: 12px;
|
|
4761
|
+
height: 12px;
|
|
4762
|
+
}
|
|
4763
|
+
.fds-preview-card__footer {
|
|
4764
|
+
display: flex;
|
|
4765
|
+
align-items: center;
|
|
4766
|
+
justify-content: space-between;
|
|
4767
|
+
gap: var(--spacing-2, 8px);
|
|
4768
|
+
margin-top: auto;
|
|
4769
|
+
padding: var(--spacing-2, 8px) var(--spacing-4, 16px);
|
|
4770
|
+
border-top: 1px solid var(--color-border-light, #f0f0f0);
|
|
4771
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
4772
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
4773
|
+
color: var(--color-text-tertiary, #737373);
|
|
4774
|
+
}
|
|
4775
|
+
|
|
4776
|
+
/* src/components/Tile/tile.css */
|
|
4777
|
+
.fds-tile {
|
|
4778
|
+
display: flex;
|
|
4779
|
+
flex-direction: column;
|
|
4780
|
+
gap: var(--spacing-3, 12px);
|
|
4781
|
+
min-width: 0;
|
|
4782
|
+
padding: var(--spacing-3, 12px);
|
|
4783
|
+
border-radius: var(--radius-lg, 8px);
|
|
4784
|
+
background: var(--color-surface-subtle, #fafafa);
|
|
4785
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
4786
|
+
}
|
|
4787
|
+
.fds-tile__head {
|
|
4788
|
+
display: flex;
|
|
4789
|
+
align-items: center;
|
|
4790
|
+
gap: var(--spacing-2, 8px);
|
|
4791
|
+
min-height: 20px;
|
|
4792
|
+
}
|
|
4793
|
+
.fds-tile__label {
|
|
4794
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
4795
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
4796
|
+
color: var(--color-text-secondary, #525252);
|
|
4797
|
+
}
|
|
4798
|
+
.fds-tile__label a {
|
|
4799
|
+
display: inline-flex;
|
|
4800
|
+
align-items: center;
|
|
4801
|
+
gap: 2px;
|
|
4802
|
+
color: inherit;
|
|
4803
|
+
text-decoration: none;
|
|
4804
|
+
}
|
|
4805
|
+
.fds-tile__label a:hover {
|
|
4806
|
+
color: var(--color-text, #171717);
|
|
4807
|
+
}
|
|
4808
|
+
.fds-tile__label svg {
|
|
4809
|
+
width: 12px;
|
|
4810
|
+
height: 12px;
|
|
4811
|
+
}
|
|
4812
|
+
.fds-tile__body {
|
|
4813
|
+
display: flex;
|
|
4814
|
+
flex-direction: column;
|
|
4815
|
+
justify-content: center;
|
|
4816
|
+
flex: 1;
|
|
4817
|
+
min-width: 0;
|
|
4818
|
+
}
|
|
4819
|
+
|
|
4820
|
+
/* src/components/ListCard/list-card.css */
|
|
4821
|
+
.fds-list-card {
|
|
4822
|
+
overflow: hidden;
|
|
4823
|
+
border: 1px solid var(--color-border, #e5e5e5);
|
|
4824
|
+
border-radius: var(--radius-xl, 12px);
|
|
4825
|
+
background: var(--color-surface-raised, #ffffff);
|
|
4826
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
4827
|
+
}
|
|
4828
|
+
.fds-list-card__head {
|
|
4829
|
+
display: flex;
|
|
4830
|
+
align-items: center;
|
|
4831
|
+
justify-content: space-between;
|
|
4832
|
+
gap: var(--spacing-3, 12px);
|
|
4833
|
+
padding: var(--spacing-3, 12px) var(--spacing-4, 16px);
|
|
4834
|
+
border-bottom: 1px solid var(--color-border-light, #f0f0f0);
|
|
4835
|
+
}
|
|
4836
|
+
.fds-list-card__title {
|
|
4837
|
+
display: inline-flex;
|
|
4838
|
+
align-items: center;
|
|
4839
|
+
gap: var(--spacing-2, 8px);
|
|
4840
|
+
font-size: var(--font-size-text-compact, 13px);
|
|
4841
|
+
line-height: var(--line-height-text-compact, 20px);
|
|
4842
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
4843
|
+
color: var(--color-text, #171717);
|
|
4844
|
+
}
|
|
4845
|
+
.fds-list-card__count,
|
|
4846
|
+
.fds-list-card__aside {
|
|
4847
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
4848
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
4849
|
+
font-weight: var(--font-weight-regular, 400);
|
|
4850
|
+
color: var(--color-text-tertiary, #737373);
|
|
4851
|
+
}
|
|
4852
|
+
.fds-list-card__rows {
|
|
4853
|
+
margin: 0;
|
|
4854
|
+
padding: 0;
|
|
4855
|
+
list-style: none;
|
|
4856
|
+
}
|
|
4857
|
+
.fds-list-card__row {
|
|
4858
|
+
display: flex;
|
|
4859
|
+
align-items: flex-start;
|
|
4860
|
+
gap: var(--spacing-3, 12px);
|
|
4861
|
+
padding: var(--spacing-3, 12px) var(--spacing-4, 16px);
|
|
4862
|
+
}
|
|
4863
|
+
.fds-list-card__row + .fds-list-card__row {
|
|
4864
|
+
border-top: 1px solid var(--color-border-light, #f0f0f0);
|
|
4865
|
+
}
|
|
4866
|
+
.fds-list-card__row--muted .fds-list-card__row-title {
|
|
4867
|
+
color: var(--color-text-tertiary, #737373);
|
|
4868
|
+
font-weight: var(--font-weight-regular, 400);
|
|
4869
|
+
}
|
|
4870
|
+
.fds-list-card__icon {
|
|
4871
|
+
display: inline-flex;
|
|
4872
|
+
flex-shrink: 0;
|
|
4873
|
+
width: 16px;
|
|
4874
|
+
height: 16px;
|
|
4875
|
+
margin-top: 2px;
|
|
4876
|
+
color: var(--color-text-tertiary, #737373);
|
|
4877
|
+
}
|
|
4878
|
+
.fds-list-card__icon > svg {
|
|
4879
|
+
width: 100%;
|
|
4880
|
+
height: 100%;
|
|
4881
|
+
}
|
|
4882
|
+
.fds-list-card__icon--info {
|
|
4883
|
+
color: var(--color-info, #2563eb);
|
|
4884
|
+
}
|
|
4885
|
+
.fds-list-card__icon--success {
|
|
4886
|
+
color: var(--color-success, #16a34a);
|
|
4887
|
+
}
|
|
4888
|
+
.fds-list-card__icon--warning {
|
|
4889
|
+
color: var(--color-warning, #d97706);
|
|
4890
|
+
}
|
|
4891
|
+
.fds-list-card__icon--danger {
|
|
4892
|
+
color: var(--color-error, #dc2626);
|
|
4893
|
+
}
|
|
4894
|
+
.fds-list-card__text {
|
|
4895
|
+
display: flex;
|
|
4896
|
+
flex-direction: column;
|
|
4897
|
+
flex: 1;
|
|
4898
|
+
min-width: 0;
|
|
4899
|
+
}
|
|
4900
|
+
.fds-list-card__row-title {
|
|
4901
|
+
font-size: var(--font-size-text-compact, 13px);
|
|
4902
|
+
line-height: var(--line-height-text-compact, 20px);
|
|
4903
|
+
font-weight: var(--font-weight-medium, 500);
|
|
4904
|
+
color: var(--color-text, #171717);
|
|
4905
|
+
}
|
|
4906
|
+
.fds-list-card__row-title code,
|
|
4907
|
+
.fds-list-card__description code {
|
|
4908
|
+
font-family: var(--font-mono, "JetBrains Mono", monospace);
|
|
4909
|
+
font-size: 0.95em;
|
|
4910
|
+
}
|
|
4911
|
+
.fds-list-card__description {
|
|
4912
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
4913
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
4914
|
+
color: var(--color-text-tertiary, #737373);
|
|
4915
|
+
}
|
|
4916
|
+
.fds-list-card__trailing {
|
|
4917
|
+
display: inline-flex;
|
|
4918
|
+
align-items: center;
|
|
4919
|
+
gap: var(--spacing-3, 12px);
|
|
4920
|
+
flex-shrink: 0;
|
|
4921
|
+
align-self: center;
|
|
4922
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
4923
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
4924
|
+
color: var(--color-text-tertiary, #737373);
|
|
4925
|
+
}
|
|
4926
|
+
.fds-list-card__footer {
|
|
4927
|
+
display: flex;
|
|
4928
|
+
align-items: center;
|
|
4929
|
+
gap: var(--spacing-2, 8px);
|
|
4930
|
+
padding: var(--spacing-3, 12px) var(--spacing-4, 16px);
|
|
4931
|
+
border-top: 1px solid var(--color-border-light, #f0f0f0);
|
|
4932
|
+
background: var(--color-surface-subtle, #fafafa);
|
|
4933
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
4934
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
4935
|
+
color: var(--color-text-tertiary, #737373);
|
|
4936
|
+
}
|
|
4937
|
+
.fds-list-card__footer svg {
|
|
4938
|
+
width: 14px;
|
|
4939
|
+
height: 14px;
|
|
4940
|
+
}
|
|
4941
|
+
|
|
4942
|
+
/* src/components/DescriptionList/description-list.css */
|
|
4943
|
+
.fds-description-list {
|
|
4944
|
+
display: flex;
|
|
4945
|
+
flex-direction: column;
|
|
4946
|
+
gap: var(--spacing-2, 8px);
|
|
4947
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
4948
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
4949
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
4950
|
+
}
|
|
4951
|
+
.fds-description-list + .fds-description-list {
|
|
4952
|
+
padding-top: var(--spacing-4, 16px);
|
|
4953
|
+
border-top: 1px solid var(--color-border-light, #f0f0f0);
|
|
4954
|
+
}
|
|
4955
|
+
.fds-description-list__head {
|
|
4956
|
+
display: flex;
|
|
4957
|
+
align-items: center;
|
|
4958
|
+
justify-content: space-between;
|
|
4959
|
+
gap: var(--spacing-2, 8px);
|
|
4960
|
+
}
|
|
4961
|
+
.fds-description-list__title {
|
|
4962
|
+
color: var(--color-text-tertiary, #737373);
|
|
4963
|
+
}
|
|
4964
|
+
.fds-description-list__action {
|
|
4965
|
+
color: var(--color-text-tertiary, #737373);
|
|
4966
|
+
}
|
|
4967
|
+
.fds-description-list__action a {
|
|
4968
|
+
display: inline-flex;
|
|
4969
|
+
align-items: center;
|
|
4970
|
+
gap: 2px;
|
|
4971
|
+
color: inherit;
|
|
4972
|
+
text-decoration: none;
|
|
4973
|
+
}
|
|
4974
|
+
.fds-description-list__action a:hover {
|
|
4975
|
+
color: var(--color-text, #171717);
|
|
4976
|
+
}
|
|
4977
|
+
.fds-description-list__action svg {
|
|
4978
|
+
width: 12px;
|
|
4979
|
+
height: 12px;
|
|
4980
|
+
}
|
|
4981
|
+
.fds-description-list__items {
|
|
4982
|
+
display: flex;
|
|
4983
|
+
flex-direction: column;
|
|
4984
|
+
gap: var(--spacing-2, 8px);
|
|
4985
|
+
margin: 0;
|
|
4986
|
+
}
|
|
4987
|
+
.fds-description-list__item {
|
|
4988
|
+
display: flex;
|
|
4989
|
+
align-items: baseline;
|
|
4990
|
+
justify-content: space-between;
|
|
4991
|
+
gap: var(--spacing-3, 12px);
|
|
4992
|
+
min-width: 0;
|
|
4993
|
+
}
|
|
4994
|
+
.fds-description-list__item dt {
|
|
4995
|
+
flex-shrink: 0;
|
|
4996
|
+
color: var(--color-text-tertiary, #737373);
|
|
4997
|
+
}
|
|
4998
|
+
.fds-description-list__item dd {
|
|
4999
|
+
margin: 0;
|
|
5000
|
+
min-width: 0;
|
|
5001
|
+
overflow: hidden;
|
|
5002
|
+
text-overflow: ellipsis;
|
|
5003
|
+
white-space: nowrap;
|
|
5004
|
+
text-align: right;
|
|
5005
|
+
color: var(--color-text, #171717);
|
|
5006
|
+
}
|
|
5007
|
+
.fds-description-list__item dd code {
|
|
5008
|
+
font-family: var(--font-mono, "JetBrains Mono", monospace);
|
|
5009
|
+
}
|
|
5010
|
+
.fds-description-list__item dd a {
|
|
5011
|
+
color: inherit;
|
|
5012
|
+
text-decoration: none;
|
|
5013
|
+
}
|
|
5014
|
+
.fds-description-list__item dd a:hover {
|
|
5015
|
+
text-decoration: underline;
|
|
5016
|
+
}
|
|
5017
|
+
.fds-description-list__note {
|
|
5018
|
+
margin: 0;
|
|
5019
|
+
color: var(--color-text-tertiary, #737373);
|
|
5020
|
+
}
|
|
5021
|
+
|
|
5022
|
+
/* src/components/ColorRamp/color-ramp.css */
|
|
5023
|
+
.fds-color-ramp {
|
|
5024
|
+
display: flex;
|
|
5025
|
+
width: 100%;
|
|
5026
|
+
overflow: hidden;
|
|
5027
|
+
border-radius: var(--radius-md, 6px);
|
|
5028
|
+
box-shadow: inset 0 0 0 1px var(--color-black-alpha-8, rgba(0, 0, 0, 0.08));
|
|
5029
|
+
}
|
|
5030
|
+
.fds-color-ramp--sm {
|
|
5031
|
+
height: 16px;
|
|
5032
|
+
border-radius: var(--radius-sm, 4px);
|
|
5033
|
+
}
|
|
5034
|
+
.fds-color-ramp--md {
|
|
5035
|
+
height: 32px;
|
|
5036
|
+
}
|
|
5037
|
+
.fds-color-ramp--lg {
|
|
5038
|
+
height: 64px;
|
|
5039
|
+
border-radius: var(--radius-lg, 8px);
|
|
5040
|
+
}
|
|
5041
|
+
.fds-color-ramp__step {
|
|
5042
|
+
flex: 1;
|
|
5043
|
+
background: var(--fds-ramp-color);
|
|
5044
|
+
}
|
|
5045
|
+
|
|
5046
|
+
/* src/components/SwatchList/swatch-list.css */
|
|
5047
|
+
.fds-swatch-list {
|
|
5048
|
+
display: flex;
|
|
5049
|
+
flex-direction: column;
|
|
5050
|
+
gap: var(--spacing-1, 4px);
|
|
5051
|
+
margin: 0;
|
|
5052
|
+
padding: 0;
|
|
5053
|
+
list-style: none;
|
|
5054
|
+
}
|
|
5055
|
+
.fds-swatch-list__item {
|
|
5056
|
+
display: flex;
|
|
5057
|
+
align-items: center;
|
|
5058
|
+
gap: var(--spacing-2, 8px);
|
|
5059
|
+
min-width: 0;
|
|
5060
|
+
font-family: var(--font-mono, "JetBrains Mono", monospace);
|
|
5061
|
+
font-size: var(--font-size-text-2xs, 11px);
|
|
5062
|
+
line-height: var(--line-height-text-2xs, 16px);
|
|
5063
|
+
}
|
|
5064
|
+
.fds-swatch-list__dot {
|
|
5065
|
+
flex-shrink: 0;
|
|
5066
|
+
width: 10px;
|
|
5067
|
+
height: 10px;
|
|
5068
|
+
border-radius: var(--radius-xs, 2px);
|
|
5069
|
+
background: var(--fds-swatch-list-color);
|
|
5070
|
+
box-shadow: inset 0 0 0 1px var(--color-black-alpha-8, rgba(0, 0, 0, 0.08));
|
|
5071
|
+
}
|
|
5072
|
+
.fds-swatch-list__dot--empty {
|
|
5073
|
+
background:
|
|
5074
|
+
repeating-linear-gradient(
|
|
5075
|
+
45deg,
|
|
5076
|
+
var(--color-border, #e5e5e5) 0 2px,
|
|
5077
|
+
transparent 2px 4px);
|
|
5078
|
+
}
|
|
5079
|
+
.fds-swatch-list__name {
|
|
5080
|
+
flex: 1;
|
|
5081
|
+
min-width: 0;
|
|
5082
|
+
overflow: hidden;
|
|
5083
|
+
text-overflow: ellipsis;
|
|
5084
|
+
white-space: nowrap;
|
|
5085
|
+
color: var(--color-text, #171717);
|
|
5086
|
+
}
|
|
5087
|
+
.fds-swatch-list__value {
|
|
5088
|
+
flex-shrink: 0;
|
|
5089
|
+
color: var(--color-text-tertiary, #737373);
|
|
5090
|
+
}
|
|
5091
|
+
|
|
5092
|
+
/* src/components/TypeSpecimen/type-specimen.css */
|
|
5093
|
+
.fds-type-specimen {
|
|
5094
|
+
display: flex;
|
|
5095
|
+
flex-direction: column;
|
|
5096
|
+
gap: var(--spacing-3, 12px);
|
|
5097
|
+
min-width: 0;
|
|
5098
|
+
padding: var(--spacing-5, 20px);
|
|
5099
|
+
border: 1px solid var(--color-border, #e5e5e5);
|
|
5100
|
+
border-radius: var(--radius-xl, 12px);
|
|
5101
|
+
background: var(--color-surface-raised, #ffffff);
|
|
5102
|
+
color: var(--color-text, #171717);
|
|
5103
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
5104
|
+
}
|
|
5105
|
+
.fds-type-specimen__head {
|
|
5106
|
+
display: flex;
|
|
5107
|
+
align-items: flex-start;
|
|
5108
|
+
justify-content: space-between;
|
|
5109
|
+
gap: var(--spacing-4, 16px);
|
|
5110
|
+
}
|
|
5111
|
+
.fds-type-specimen__titles {
|
|
5112
|
+
display: flex;
|
|
5113
|
+
flex-direction: column;
|
|
5114
|
+
gap: var(--spacing-2, 8px);
|
|
5115
|
+
min-width: 0;
|
|
5116
|
+
}
|
|
5117
|
+
.fds-type-specimen__family {
|
|
5118
|
+
margin: 0;
|
|
5119
|
+
font-family: var(--fds-specimen-font);
|
|
5120
|
+
font-size: var(--font-size-text-xl, 20px);
|
|
5121
|
+
line-height: var(--line-height-text-xl, 30px);
|
|
5122
|
+
font-weight: var(--font-weight-medium, 500);
|
|
5123
|
+
}
|
|
5124
|
+
.fds-type-specimen__tokens {
|
|
5125
|
+
display: flex;
|
|
5126
|
+
flex-wrap: wrap;
|
|
5127
|
+
gap: var(--spacing-1, 4px);
|
|
5128
|
+
}
|
|
5129
|
+
.fds-type-specimen__glyph {
|
|
5130
|
+
font-family: var(--fds-specimen-font);
|
|
5131
|
+
font-size: 56px;
|
|
5132
|
+
line-height: 1;
|
|
5133
|
+
font-weight: var(--font-weight-medium, 500);
|
|
5134
|
+
}
|
|
5135
|
+
.fds-type-specimen__sample {
|
|
5136
|
+
margin: 0;
|
|
5137
|
+
font-family: var(--fds-specimen-font);
|
|
5138
|
+
font-size: var(--font-size-text-lg, 18px);
|
|
5139
|
+
line-height: var(--line-height-text-lg, 28px);
|
|
5140
|
+
overflow-wrap: anywhere;
|
|
5141
|
+
}
|
|
5142
|
+
.fds-type-specimen__alphabet {
|
|
5143
|
+
margin: 0;
|
|
5144
|
+
font-family: var(--fds-specimen-font);
|
|
5145
|
+
font-size: var(--font-size-text-2xs, 11px);
|
|
5146
|
+
line-height: var(--line-height-text-2xs, 16px);
|
|
5147
|
+
color: var(--color-text-tertiary, #737373);
|
|
5148
|
+
overflow-wrap: anywhere;
|
|
5149
|
+
}
|
|
5150
|
+
.fds-type-specimen__weights {
|
|
5151
|
+
display: flex;
|
|
5152
|
+
flex-wrap: wrap;
|
|
5153
|
+
gap: var(--spacing-4, 16px);
|
|
5154
|
+
margin: 0;
|
|
5155
|
+
padding: 0;
|
|
5156
|
+
list-style: none;
|
|
5157
|
+
}
|
|
5158
|
+
.fds-type-specimen__weights li {
|
|
5159
|
+
display: flex;
|
|
5160
|
+
flex-direction: column;
|
|
5161
|
+
}
|
|
5162
|
+
.fds-type-specimen__weights span {
|
|
5163
|
+
font-family: var(--fds-specimen-font);
|
|
5164
|
+
font-size: var(--font-size-text-xl, 20px);
|
|
5165
|
+
line-height: var(--line-height-text-xl, 30px);
|
|
5166
|
+
}
|
|
5167
|
+
.fds-type-specimen__weights small {
|
|
5168
|
+
font-size: var(--font-size-text-2xs, 11px);
|
|
5169
|
+
line-height: var(--line-height-text-2xs, 16px);
|
|
5170
|
+
color: var(--color-text-tertiary, #737373);
|
|
5171
|
+
}
|
|
5172
|
+
.fds-type-specimen__footer {
|
|
5173
|
+
padding: var(--spacing-2, 8px) var(--spacing-3, 12px);
|
|
5174
|
+
border-radius: var(--radius-md, 6px);
|
|
5175
|
+
background: var(--color-surface-subtle, #fafafa);
|
|
5176
|
+
font-family: var(--font-mono, "JetBrains Mono", monospace);
|
|
5177
|
+
font-size: var(--font-size-text-2xs, 11px);
|
|
5178
|
+
line-height: var(--line-height-text-2xs, 16px);
|
|
5179
|
+
color: var(--color-text-tertiary, #737373);
|
|
5180
|
+
overflow-wrap: anywhere;
|
|
5181
|
+
}
|
|
5182
|
+
.fds-type-sample {
|
|
5183
|
+
display: flex;
|
|
5184
|
+
flex-direction: column;
|
|
5185
|
+
gap: var(--spacing-1, 4px);
|
|
5186
|
+
color: var(--color-text, #171717);
|
|
5187
|
+
}
|
|
5188
|
+
.fds-type-sample__glyph {
|
|
5189
|
+
font-family: var(--fds-specimen-font);
|
|
5190
|
+
font-size: 56px;
|
|
5191
|
+
line-height: 1.1;
|
|
5192
|
+
font-weight: var(--font-weight-medium, 500);
|
|
5193
|
+
}
|
|
5194
|
+
.fds-type-sample__caption {
|
|
5195
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
5196
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
5197
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
5198
|
+
color: var(--color-text-tertiary, #737373);
|
|
5199
|
+
}
|
|
5200
|
+
|
|
5201
|
+
/* src/components/TypeScale/type-scale.css */
|
|
5202
|
+
.fds-type-scale {
|
|
5203
|
+
margin: 0;
|
|
5204
|
+
padding: 0;
|
|
5205
|
+
list-style: none;
|
|
5206
|
+
overflow: hidden;
|
|
5207
|
+
border: 1px solid var(--color-border, #e5e5e5);
|
|
5208
|
+
border-radius: var(--radius-xl, 12px);
|
|
5209
|
+
background: var(--color-surface-raised, #ffffff);
|
|
5210
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
5211
|
+
}
|
|
5212
|
+
.fds-type-scale__row {
|
|
5213
|
+
display: flex;
|
|
5214
|
+
align-items: center;
|
|
5215
|
+
gap: var(--spacing-6, 24px);
|
|
5216
|
+
padding: var(--spacing-3, 12px) var(--spacing-4, 16px);
|
|
5217
|
+
}
|
|
5218
|
+
.fds-type-scale__row + .fds-type-scale__row {
|
|
5219
|
+
border-top: 1px solid var(--color-border-light, #f0f0f0);
|
|
5220
|
+
}
|
|
5221
|
+
.fds-type-scale__label {
|
|
5222
|
+
display: flex;
|
|
5223
|
+
flex-direction: column;
|
|
5224
|
+
flex-shrink: 0;
|
|
5225
|
+
width: 120px;
|
|
5226
|
+
}
|
|
5227
|
+
.fds-type-scale__name {
|
|
5228
|
+
font-family: var(--font-mono, "JetBrains Mono", monospace);
|
|
5229
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
5230
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
5231
|
+
color: var(--color-text, #171717);
|
|
5232
|
+
}
|
|
5233
|
+
.fds-type-scale__detail {
|
|
5234
|
+
font-family: var(--font-mono, "JetBrains Mono", monospace);
|
|
5235
|
+
font-size: var(--font-size-text-2xs, 11px);
|
|
5236
|
+
line-height: var(--line-height-text-2xs, 16px);
|
|
5237
|
+
color: var(--color-text-tertiary, #737373);
|
|
5238
|
+
}
|
|
5239
|
+
.fds-type-scale__sample {
|
|
5240
|
+
min-width: 0;
|
|
5241
|
+
overflow: hidden;
|
|
5242
|
+
text-overflow: ellipsis;
|
|
5243
|
+
white-space: nowrap;
|
|
5244
|
+
color: var(--color-text, #171717);
|
|
5245
|
+
}
|
|
5246
|
+
|
|
5247
|
+
/* src/components/MeasureList/measure-list.css */
|
|
5248
|
+
.fds-measure-list {
|
|
5249
|
+
display: flex;
|
|
5250
|
+
flex-direction: column;
|
|
5251
|
+
gap: var(--spacing-2, 8px);
|
|
5252
|
+
margin: 0;
|
|
5253
|
+
padding: 0;
|
|
5254
|
+
list-style: none;
|
|
5255
|
+
}
|
|
5256
|
+
.fds-measure-list__item {
|
|
5257
|
+
display: grid;
|
|
5258
|
+
grid-template-columns: minmax(96px, 160px) 80px 1fr;
|
|
5259
|
+
align-items: center;
|
|
5260
|
+
gap: var(--spacing-3, 12px);
|
|
5261
|
+
font-family: var(--font-mono, "JetBrains Mono", monospace);
|
|
5262
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
5263
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
5264
|
+
}
|
|
5265
|
+
.fds-measure-list__name {
|
|
5266
|
+
overflow: hidden;
|
|
5267
|
+
text-overflow: ellipsis;
|
|
5268
|
+
white-space: nowrap;
|
|
5269
|
+
color: var(--color-text, #171717);
|
|
5270
|
+
}
|
|
5271
|
+
.fds-measure-list__value {
|
|
5272
|
+
color: var(--color-text-tertiary, #737373);
|
|
5273
|
+
}
|
|
5274
|
+
.fds-measure-list__track {
|
|
5275
|
+
display: block;
|
|
5276
|
+
min-width: 0;
|
|
5277
|
+
}
|
|
5278
|
+
.fds-measure-list__bar {
|
|
5279
|
+
display: block;
|
|
5280
|
+
width: var(--fds-measure);
|
|
5281
|
+
min-width: 2px;
|
|
5282
|
+
height: 8px;
|
|
5283
|
+
border-radius: var(--radius-xs, 2px);
|
|
5284
|
+
}
|
|
5285
|
+
.fds-measure-list--accent .fds-measure-list__bar {
|
|
5286
|
+
background: var(--color-accent-muted, #fdba74);
|
|
5287
|
+
}
|
|
5288
|
+
.fds-measure-list--neutral .fds-measure-list__bar {
|
|
5289
|
+
background: var(--color-border-strong, #d4d4d4);
|
|
5290
|
+
}
|
|
5291
|
+
|
|
5292
|
+
/* src/components/TokenSample/token-sample.css */
|
|
5293
|
+
.fds-token-sample {
|
|
5294
|
+
display: flex;
|
|
5295
|
+
flex-direction: column;
|
|
5296
|
+
gap: 2px;
|
|
5297
|
+
min-width: 0;
|
|
5298
|
+
font-family: var(--font-mono, "JetBrains Mono", monospace);
|
|
5299
|
+
}
|
|
5300
|
+
.fds-token-sample__shape {
|
|
5301
|
+
display: block;
|
|
5302
|
+
margin-bottom: var(--spacing-2, 8px);
|
|
5303
|
+
}
|
|
5304
|
+
.fds-token-sample--radius .fds-token-sample__shape {
|
|
5305
|
+
width: 56px;
|
|
5306
|
+
height: 56px;
|
|
5307
|
+
border: 1.5px solid var(--color-accent-muted, #fdba74);
|
|
5308
|
+
border-radius: var(--fds-sample-radius);
|
|
5309
|
+
background: var(--color-accent-subtle, #fff7ed);
|
|
5310
|
+
}
|
|
5311
|
+
.fds-token-sample--shadow .fds-token-sample__shape {
|
|
5312
|
+
width: 100%;
|
|
5313
|
+
height: 64px;
|
|
5314
|
+
border-radius: var(--radius-lg, 8px);
|
|
5315
|
+
background: var(--color-surface-raised, #ffffff);
|
|
5316
|
+
box-shadow: var(--fds-sample-shadow);
|
|
5317
|
+
}
|
|
5318
|
+
.fds-token-sample__name {
|
|
5319
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
5320
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
5321
|
+
color: var(--color-text, #171717);
|
|
5322
|
+
overflow-wrap: anywhere;
|
|
5323
|
+
}
|
|
5324
|
+
.fds-token-sample__detail {
|
|
5325
|
+
font-size: var(--font-size-text-2xs, 11px);
|
|
5326
|
+
line-height: var(--line-height-text-2xs, 16px);
|
|
5327
|
+
color: var(--color-text-tertiary, #737373);
|
|
5328
|
+
overflow-wrap: anywhere;
|
|
5329
|
+
}
|
|
5330
|
+
|
|
5331
|
+
/* src/components/EasingCurve/easing-curve.css */
|
|
5332
|
+
.fds-easing-curve {
|
|
5333
|
+
display: flex;
|
|
5334
|
+
flex-direction: column;
|
|
5335
|
+
gap: 2px;
|
|
5336
|
+
min-width: 0;
|
|
5337
|
+
font-family: var(--font-mono, "JetBrains Mono", monospace);
|
|
5338
|
+
}
|
|
5339
|
+
.fds-easing-curve__plot {
|
|
5340
|
+
width: 100%;
|
|
5341
|
+
max-width: 160px;
|
|
5342
|
+
height: auto;
|
|
5343
|
+
margin-bottom: var(--spacing-2, 8px);
|
|
5344
|
+
border-radius: var(--radius-lg, 8px);
|
|
5345
|
+
background: var(--color-surface-subtle, #fafafa);
|
|
5346
|
+
overflow: visible;
|
|
5347
|
+
}
|
|
5348
|
+
.fds-easing-curve__plot path {
|
|
5349
|
+
fill: none;
|
|
5350
|
+
stroke: var(--color-accent, #ea580c);
|
|
5351
|
+
stroke-width: 1.5;
|
|
5352
|
+
stroke-linecap: round;
|
|
5353
|
+
}
|
|
5354
|
+
.fds-easing-curve__name {
|
|
5355
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
5356
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
5357
|
+
color: var(--color-text, #171717);
|
|
5358
|
+
}
|
|
5359
|
+
.fds-easing-curve__value {
|
|
5360
|
+
font-size: var(--font-size-text-2xs, 11px);
|
|
5361
|
+
line-height: var(--line-height-text-2xs, 16px);
|
|
5362
|
+
color: var(--color-text-tertiary, #737373);
|
|
5363
|
+
overflow-wrap: anywhere;
|
|
5364
|
+
}
|
|
5365
|
+
|
|
5366
|
+
/* src/components/FilterChips/filter-chips.css */
|
|
5367
|
+
.fds-filter-chips {
|
|
5368
|
+
display: flex;
|
|
5369
|
+
flex-wrap: wrap;
|
|
5370
|
+
gap: var(--spacing-1, 4px);
|
|
5371
|
+
}
|
|
5372
|
+
.fds-filter-chips__chip {
|
|
5373
|
+
display: inline-flex;
|
|
5374
|
+
align-items: center;
|
|
5375
|
+
gap: var(--spacing-1, 4px);
|
|
5376
|
+
height: 28px;
|
|
5377
|
+
padding: 0 var(--spacing-3, 12px);
|
|
5378
|
+
border: 1px solid var(--color-border, #e5e5e5);
|
|
5379
|
+
border-radius: var(--radius-full, 9999px);
|
|
5380
|
+
background: var(--color-surface-raised, #ffffff);
|
|
5381
|
+
color: var(--color-text-secondary, #525252);
|
|
5382
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
5383
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
5384
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
5385
|
+
font-weight: var(--font-weight-medium, 500);
|
|
5386
|
+
cursor: pointer;
|
|
5387
|
+
transition: background var(--duration-instant, 80ms) var(--ease-out, ease-out), border-color var(--duration-instant, 80ms) var(--ease-out, ease-out);
|
|
5388
|
+
}
|
|
5389
|
+
.fds-filter-chips__chip:hover {
|
|
5390
|
+
background: var(--color-surface-hover, #f5f5f5);
|
|
5391
|
+
}
|
|
5392
|
+
.fds-filter-chips__chip:focus-visible {
|
|
5393
|
+
outline: 2px solid var(--color-border-focus, #171717);
|
|
5394
|
+
outline-offset: 2px;
|
|
5395
|
+
}
|
|
5396
|
+
.fds-filter-chips__chip--selected,
|
|
5397
|
+
.fds-filter-chips__chip--selected:hover {
|
|
5398
|
+
border-color: var(--color-primary, #171717);
|
|
5399
|
+
background: var(--color-primary, #171717);
|
|
5400
|
+
color: var(--color-primary-text, #ffffff);
|
|
5401
|
+
}
|
|
5402
|
+
.fds-filter-chips__count {
|
|
5403
|
+
color: var(--color-text-tertiary, #737373);
|
|
5404
|
+
font-weight: var(--font-weight-regular, 400);
|
|
5405
|
+
}
|
|
5406
|
+
.fds-filter-chips__chip--selected .fds-filter-chips__count {
|
|
5407
|
+
color: var(--color-white-alpha-60, rgba(255, 255, 255, 0.6));
|
|
5408
|
+
}
|
|
5409
|
+
|
|
5410
|
+
/* src/components/Meter/meter.css */
|
|
5411
|
+
.fds-meter {
|
|
5412
|
+
display: flex;
|
|
5413
|
+
align-items: center;
|
|
5414
|
+
gap: var(--spacing-3, 12px);
|
|
5415
|
+
font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
|
|
5416
|
+
}
|
|
5417
|
+
.fds-meter__track {
|
|
5418
|
+
position: relative;
|
|
5419
|
+
flex: 1;
|
|
5420
|
+
max-width: 160px;
|
|
5421
|
+
height: 4px;
|
|
5422
|
+
overflow: hidden;
|
|
5423
|
+
border-radius: var(--radius-full, 9999px);
|
|
5424
|
+
background: var(--color-border, #e5e5e5);
|
|
5425
|
+
}
|
|
5426
|
+
.fds-meter__fill {
|
|
5427
|
+
position: absolute;
|
|
5428
|
+
inset: 0 auto 0 0;
|
|
5429
|
+
width: var(--fds-meter);
|
|
5430
|
+
border-radius: inherit;
|
|
5431
|
+
background: var(--color-primary, #171717);
|
|
5432
|
+
}
|
|
5433
|
+
.fds-meter__label {
|
|
5434
|
+
font-size: var(--font-size-text-xs, 12px);
|
|
5435
|
+
line-height: var(--line-height-text-xs, 18px);
|
|
5436
|
+
color: var(--color-text-tertiary, #737373);
|
|
5437
|
+
}
|