@usefragments/ui 1.3.2 → 1.3.3
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/README.md +3 -1
- package/dist/assets/ui.css +85 -83
- package/dist/codeblock.cjs +14 -6
- package/dist/codeblock.js +14 -6
- package/dist/components/CodeBlock/index.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.module.scss.cjs +35 -35
- package/dist/components/DataTable/DataTable.module.scss.js +35 -35
- package/fragments.json +1 -1
- package/package.json +2 -2
- package/src/components/CodeBlock/index.tsx +38 -6
- package/src/components/DataTable/DataTable.module.scss +5 -0
package/README.md
CHANGED
|
@@ -45,7 +45,9 @@ import "@usefragments/ui/styles";
|
|
|
45
45
|
import "./styles/globals.scss"; // your @use … with (…) seed overrides
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
**Next.js
|
|
48
|
+
**Next.js compatibility** — current releases can consume the package directly.
|
|
49
|
+
If your Next.js version reports an untranspiled-package error or omits the
|
|
50
|
+
stylesheet, add `transpilePackages` to `next.config.js`:
|
|
49
51
|
|
|
50
52
|
```js
|
|
51
53
|
// next.config.js
|
package/dist/assets/ui.css
CHANGED
|
@@ -5672,7 +5672,9 @@
|
|
|
5672
5672
|
._row_1talf_100 {
|
|
5673
5673
|
transition: none;
|
|
5674
5674
|
}
|
|
5675
|
-
}.
|
|
5675
|
+
}._wrapper_1ci3s_1 {
|
|
5676
|
+
min-width: 0;
|
|
5677
|
+
max-width: 100%;
|
|
5676
5678
|
--fui-data-table-bg: var(--fui-table-bg, var(--fui-bg-elevated, #ffffff));
|
|
5677
5679
|
--fui-data-table-header-bg: var(
|
|
5678
5680
|
--fui-table-header-bg,
|
|
@@ -5682,7 +5684,7 @@
|
|
|
5682
5684
|
-webkit-overflow-scrolling: touch;
|
|
5683
5685
|
}
|
|
5684
5686
|
|
|
5685
|
-
.
|
|
5687
|
+
._table_1ci3s_13 {
|
|
5686
5688
|
width: 100%;
|
|
5687
5689
|
border-collapse: collapse;
|
|
5688
5690
|
font-family: var(--fui-font-sans, "Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif);
|
|
@@ -5690,7 +5692,7 @@
|
|
|
5690
5692
|
-moz-osx-font-smoothing: grayscale;
|
|
5691
5693
|
}
|
|
5692
5694
|
|
|
5693
|
-
.
|
|
5695
|
+
._caption_1ci3s_21 {
|
|
5694
5696
|
padding: var(--fui-space-3, 1.5rem) 0;
|
|
5695
5697
|
font-size: var(--fui-font-size-sm, 1rem);
|
|
5696
5698
|
font-weight: var(--fui-font-weight-medium, 500);
|
|
@@ -5699,7 +5701,7 @@
|
|
|
5699
5701
|
caption-side: top;
|
|
5700
5702
|
}
|
|
5701
5703
|
|
|
5702
|
-
.
|
|
5704
|
+
._captionHidden_1ci3s_30 {
|
|
5703
5705
|
position: absolute;
|
|
5704
5706
|
width: 1px;
|
|
5705
5707
|
height: 1px;
|
|
@@ -5711,29 +5713,29 @@
|
|
|
5711
5713
|
border: 0;
|
|
5712
5714
|
}
|
|
5713
5715
|
|
|
5714
|
-
.
|
|
5715
|
-
.
|
|
5716
|
+
._sm_1ci3s_42 ._th_1ci3s_42,
|
|
5717
|
+
._sm_1ci3s_42 ._td_1ci3s_43 {
|
|
5716
5718
|
padding: var(--fui-space-1, 0.5rem) var(--fui-space-3, 1.5rem);
|
|
5717
5719
|
font-size: var(--fui-font-size-xs, 0.857rem);
|
|
5718
5720
|
}
|
|
5719
5721
|
|
|
5720
|
-
.
|
|
5721
|
-
.
|
|
5722
|
+
._md_1ci3s_48 ._th_1ci3s_42,
|
|
5723
|
+
._md_1ci3s_48 ._td_1ci3s_43 {
|
|
5722
5724
|
padding: var(--fui-space-1, 0.5rem) var(--fui-space-3, 1.5rem);
|
|
5723
5725
|
font-size: var(--fui-font-size-sm, 1rem);
|
|
5724
5726
|
}
|
|
5725
5727
|
|
|
5726
|
-
.
|
|
5728
|
+
._thead_1ci3s_54 {
|
|
5727
5729
|
position: sticky;
|
|
5728
5730
|
top: 0;
|
|
5729
5731
|
z-index: 1;
|
|
5730
5732
|
}
|
|
5731
5733
|
|
|
5732
|
-
.
|
|
5734
|
+
._headerRow_1ci3s_60 {
|
|
5733
5735
|
border-bottom: 1px solid var(--fui-table-header-border, var(--fui-border, rgba(0, 0, 0, 0.05)));
|
|
5734
5736
|
}
|
|
5735
5737
|
|
|
5736
|
-
.
|
|
5738
|
+
._th_1ci3s_42 {
|
|
5737
5739
|
text-align: left;
|
|
5738
5740
|
font-weight: var(--fui-font-weight-medium, 500);
|
|
5739
5741
|
color: var(--fui-text-secondary, rgb(84.468434358, 84.468434358, 84.468434358));
|
|
@@ -5742,24 +5744,24 @@
|
|
|
5742
5744
|
user-select: none;
|
|
5743
5745
|
background: var(--fui-data-table-header-bg, var(--fui-data-table-bg, var(--fui-bg-primary, #ffffff)));
|
|
5744
5746
|
}
|
|
5745
|
-
.
|
|
5747
|
+
._th_1ci3s_42:first-child {
|
|
5746
5748
|
border-top-left-radius: var(--fui-radius-md, 0.429rem);
|
|
5747
5749
|
}
|
|
5748
|
-
.
|
|
5750
|
+
._th_1ci3s_42:last-child {
|
|
5749
5751
|
border-top-right-radius: var(--fui-radius-md, 0.429rem);
|
|
5750
5752
|
}
|
|
5751
5753
|
|
|
5752
|
-
.
|
|
5754
|
+
._headerContent_1ci3s_80 {
|
|
5753
5755
|
display: flex;
|
|
5754
5756
|
align-items: center;
|
|
5755
5757
|
gap: var(--fui-space-1, 0.5rem);
|
|
5756
5758
|
}
|
|
5757
5759
|
|
|
5758
|
-
.
|
|
5760
|
+
._thSortable_1ci3s_86 {
|
|
5759
5761
|
padding: 0;
|
|
5760
5762
|
}
|
|
5761
5763
|
|
|
5762
|
-
.
|
|
5764
|
+
._sortButton_1ci3s_90 {
|
|
5763
5765
|
appearance: none;
|
|
5764
5766
|
background: transparent;
|
|
5765
5767
|
border: none;
|
|
@@ -5769,21 +5771,21 @@
|
|
|
5769
5771
|
color: inherit;
|
|
5770
5772
|
cursor: pointer;
|
|
5771
5773
|
}
|
|
5772
|
-
.
|
|
5774
|
+
._sortButton_1ci3s_90:disabled {
|
|
5773
5775
|
cursor: not-allowed;
|
|
5774
5776
|
}
|
|
5775
|
-
.
|
|
5777
|
+
._sortButton_1ci3s_90 {
|
|
5776
5778
|
transition: background-color var(--fui-transition-fast, 160ms cubic-bezier(0.25, 0.46, 0.45, 0.94)), border-color var(--fui-transition-fast, 160ms cubic-bezier(0.25, 0.46, 0.45, 0.94)), box-shadow var(--fui-transition-fast, 160ms cubic-bezier(0.25, 0.46, 0.45, 0.94)), opacity var(--fui-transition-fast, 160ms cubic-bezier(0.25, 0.46, 0.45, 0.94));
|
|
5777
5779
|
}
|
|
5778
|
-
.
|
|
5780
|
+
._sortButton_1ci3s_90:focus-visible {
|
|
5779
5781
|
outline: none;
|
|
5780
5782
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--fui-focus-ring-color, #006b57) 28%, transparent), 0 0 0 calc(var(--fui-focus-ring-width, 2px) + 1px) color-mix(in srgb, var(--fui-focus-ring-color, #006b57) 12%, transparent), 0 10px 24px -16px color-mix(in srgb, var(--fui-focus-ring-color, #006b57) 32%, transparent);
|
|
5781
5783
|
}
|
|
5782
|
-
.
|
|
5784
|
+
._sortButton_1ci3s_90:disabled, ._sortButton_1ci3s_90[data-disabled] {
|
|
5783
5785
|
opacity: 0.5;
|
|
5784
5786
|
pointer-events: none;
|
|
5785
5787
|
}
|
|
5786
|
-
.
|
|
5788
|
+
._sortButton_1ci3s_90 {
|
|
5787
5789
|
display: flex;
|
|
5788
5790
|
align-items: center;
|
|
5789
5791
|
justify-content: space-between;
|
|
@@ -5794,156 +5796,156 @@
|
|
|
5794
5796
|
text-align: left;
|
|
5795
5797
|
transition: color var(--fui-transition-fast, 160ms cubic-bezier(0.25, 0.46, 0.45, 0.94));
|
|
5796
5798
|
}
|
|
5797
|
-
.
|
|
5799
|
+
._sortButton_1ci3s_90:hover {
|
|
5798
5800
|
color: var(--fui-text-primary, #212121);
|
|
5799
5801
|
}
|
|
5800
5802
|
|
|
5801
|
-
.
|
|
5803
|
+
._sortIndicator_1ci3s_129 {
|
|
5802
5804
|
display: inline-flex;
|
|
5803
5805
|
align-items: center;
|
|
5804
5806
|
color: var(--fui-text-tertiary, rgb(86.4227350852, 86.4227350852, 86.4227350852));
|
|
5805
5807
|
flex-shrink: 0;
|
|
5806
5808
|
}
|
|
5807
|
-
.
|
|
5809
|
+
._sortIndicator_1ci3s_129 svg {
|
|
5808
5810
|
width: var(--fui-icon-xs, 0.857rem);
|
|
5809
5811
|
height: var(--fui-icon-xs, 0.857rem);
|
|
5810
5812
|
}
|
|
5811
|
-
.
|
|
5813
|
+
._sortIndicator_1ci3s_129 {
|
|
5812
5814
|
opacity: 0;
|
|
5813
5815
|
transition: opacity var(--fui-transition-fast, 160ms cubic-bezier(0.25, 0.46, 0.45, 0.94));
|
|
5814
5816
|
}
|
|
5815
|
-
.
|
|
5817
|
+
._sortButton_1ci3s_90:hover ._sortIndicator_1ci3s_129 {
|
|
5816
5818
|
color: var(--fui-text-secondary, rgb(84.468434358, 84.468434358, 84.468434358));
|
|
5817
5819
|
opacity: 1;
|
|
5818
5820
|
}
|
|
5819
|
-
.
|
|
5821
|
+
._sortButton_1ci3s_90:focus-visible ._sortIndicator_1ci3s_129 {
|
|
5820
5822
|
opacity: 1;
|
|
5821
5823
|
}
|
|
5822
5824
|
|
|
5823
|
-
.
|
|
5824
|
-
.
|
|
5825
|
+
._th_1ci3s_42[aria-sort=ascending] ._sortIndicator_1ci3s_129,
|
|
5826
|
+
._th_1ci3s_42[aria-sort=descending] ._sortIndicator_1ci3s_129 {
|
|
5825
5827
|
opacity: 1;
|
|
5826
5828
|
}
|
|
5827
5829
|
|
|
5828
|
-
.
|
|
5830
|
+
._tbody_1ci3s_156 ._td_1ci3s_43 {
|
|
5829
5831
|
padding-top: var(--fui-space-2, 1rem);
|
|
5830
5832
|
padding-bottom: var(--fui-space-2, 1rem);
|
|
5831
5833
|
}
|
|
5832
5834
|
|
|
5833
|
-
.
|
|
5835
|
+
._row_1ci3s_161 {
|
|
5834
5836
|
border-bottom: 1px solid var(--fui-table-border, var(--fui-border, rgba(0, 0, 0, 0.05)));
|
|
5835
5837
|
transition: background-color var(--fui-transition-fast, 160ms cubic-bezier(0.25, 0.46, 0.45, 0.94));
|
|
5836
5838
|
}
|
|
5837
|
-
.
|
|
5839
|
+
._row_1ci3s_161:last-child {
|
|
5838
5840
|
border-bottom: none;
|
|
5839
5841
|
}
|
|
5840
|
-
.
|
|
5842
|
+
._row_1ci3s_161:hover {
|
|
5841
5843
|
background-color: var(--fui-table-row-hover-bg, var(--fui-bg-hover, rgba(0, 0, 0, 0.04)));
|
|
5842
5844
|
}
|
|
5843
5845
|
|
|
5844
|
-
.
|
|
5846
|
+
._clickable_1ci3s_172 {
|
|
5845
5847
|
cursor: pointer;
|
|
5846
5848
|
}
|
|
5847
|
-
.
|
|
5849
|
+
._clickable_1ci3s_172:hover {
|
|
5848
5850
|
background-color: var(--fui-table-row-hover-bg, var(--fui-bg-hover, rgba(0, 0, 0, 0.04)));
|
|
5849
5851
|
}
|
|
5850
|
-
.
|
|
5852
|
+
._clickable_1ci3s_172:focus-visible {
|
|
5851
5853
|
outline: none;
|
|
5852
5854
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--fui-focus-ring-color, #006b57) 28%, transparent), 0 0 0 calc(var(--fui-focus-ring-width, 2px) + 1px) color-mix(in srgb, var(--fui-focus-ring-color, #006b57) 12%, transparent), 0 10px 24px -16px color-mix(in srgb, var(--fui-focus-ring-color, #006b57) 32%, transparent);
|
|
5853
5855
|
}
|
|
5854
|
-
.
|
|
5856
|
+
._clickable_1ci3s_172:active {
|
|
5855
5857
|
background-color: var(--fui-table-row-active-bg, var(--fui-bg-active, rgba(0, 0, 0, 0.06)));
|
|
5856
5858
|
}
|
|
5857
5859
|
|
|
5858
|
-
.
|
|
5860
|
+
._selected_1ci3s_186 {
|
|
5859
5861
|
background-color: var(--fui-table-row-selected-bg, color-mix(in srgb, var(--fui-text-primary, #212121) 8%, transparent));
|
|
5860
5862
|
box-shadow: inset 1px 0 0 var(--fui-table-row-selected-border, var(--fui-border-strong, rgba(0, 0, 0, 0.1)));
|
|
5861
5863
|
}
|
|
5862
|
-
.
|
|
5864
|
+
._selected_1ci3s_186:hover {
|
|
5863
5865
|
background-color: var(--fui-table-row-selected-bg, color-mix(in srgb, var(--fui-text-primary, #212121) 10%, transparent));
|
|
5864
5866
|
}
|
|
5865
5867
|
|
|
5866
|
-
.
|
|
5868
|
+
._td_1ci3s_43 {
|
|
5867
5869
|
color: var(--fui-text-primary, #212121);
|
|
5868
5870
|
vertical-align: middle;
|
|
5869
5871
|
line-height: var(--fui-line-height-normal, 1.5);
|
|
5870
5872
|
}
|
|
5871
5873
|
|
|
5872
|
-
.
|
|
5874
|
+
._striped_1ci3s_200 ._row_1ci3s_161:nth-child(even) {
|
|
5873
5875
|
background-color: var(--fui-table-subrow-bg, var(--fui-bg-subtle, #fafafa));
|
|
5874
5876
|
}
|
|
5875
|
-
.
|
|
5877
|
+
._striped_1ci3s_200 ._clickable_1ci3s_172:hover {
|
|
5876
5878
|
background-color: var(--fui-table-row-hover-bg, var(--fui-bg-hover, rgba(0, 0, 0, 0.04)));
|
|
5877
5879
|
}
|
|
5878
|
-
.
|
|
5880
|
+
._striped_1ci3s_200 ._clickable_1ci3s_172:active {
|
|
5879
5881
|
background-color: var(--fui-table-row-active-bg, var(--fui-bg-active, rgba(0, 0, 0, 0.06)));
|
|
5880
5882
|
}
|
|
5881
|
-
.
|
|
5883
|
+
._striped_1ci3s_200 ._selected_1ci3s_186 {
|
|
5882
5884
|
background-color: var(--fui-table-row-selected-bg, color-mix(in srgb, var(--fui-text-primary, #212121) 8%, transparent));
|
|
5883
5885
|
}
|
|
5884
|
-
.
|
|
5886
|
+
._striped_1ci3s_200 ._selected_1ci3s_186:hover {
|
|
5885
5887
|
background-color: var(--fui-table-row-selected-bg, color-mix(in srgb, var(--fui-text-primary, #212121) 10%, transparent));
|
|
5886
5888
|
}
|
|
5887
5889
|
|
|
5888
|
-
.
|
|
5890
|
+
._bordered_1ci3s_216 {
|
|
5889
5891
|
border: 1px solid var(--fui-table-border, var(--fui-border, rgba(0, 0, 0, 0.05)));
|
|
5890
5892
|
border-radius: var(--fui-radius-md, 0.429rem);
|
|
5891
5893
|
background: var(--fui-data-table-bg, var(--fui-bg-primary, #ffffff));
|
|
5892
5894
|
overflow: hidden;
|
|
5893
5895
|
}
|
|
5894
5896
|
|
|
5895
|
-
.
|
|
5897
|
+
._fixedLayout_1ci3s_223 {
|
|
5896
5898
|
table-layout: fixed;
|
|
5897
5899
|
}
|
|
5898
5900
|
|
|
5899
|
-
.
|
|
5901
|
+
._densityCondensed_1ci3s_227 ._row_1ci3s_161 {
|
|
5900
5902
|
height: 40px;
|
|
5901
5903
|
}
|
|
5902
5904
|
|
|
5903
|
-
.
|
|
5905
|
+
._densityRegular_1ci3s_231 ._row_1ci3s_161 {
|
|
5904
5906
|
height: 48px;
|
|
5905
5907
|
}
|
|
5906
5908
|
|
|
5907
|
-
.
|
|
5909
|
+
._densityRelaxed_1ci3s_235 ._row_1ci3s_161 {
|
|
5908
5910
|
height: 56px;
|
|
5909
5911
|
}
|
|
5910
5912
|
|
|
5911
|
-
.
|
|
5912
|
-
.
|
|
5913
|
+
._th_1ci3s_42[data-align=right],
|
|
5914
|
+
._td_1ci3s_43[data-align=right] {
|
|
5913
5915
|
text-align: right;
|
|
5914
5916
|
}
|
|
5915
5917
|
|
|
5916
|
-
.
|
|
5917
|
-
.
|
|
5918
|
+
._th_1ci3s_42[data-align=right] ._headerContent_1ci3s_80,
|
|
5919
|
+
._th_1ci3s_42[data-align=right] ._sortButton_1ci3s_90 {
|
|
5918
5920
|
justify-content: flex-end;
|
|
5919
5921
|
}
|
|
5920
5922
|
|
|
5921
|
-
.
|
|
5922
|
-
.
|
|
5923
|
+
._th_1ci3s_42[data-align=center],
|
|
5924
|
+
._td_1ci3s_43[data-align=center] {
|
|
5923
5925
|
text-align: center;
|
|
5924
5926
|
}
|
|
5925
5927
|
|
|
5926
|
-
.
|
|
5927
|
-
.
|
|
5928
|
+
._th_1ci3s_42[data-align=center] ._headerContent_1ci3s_80,
|
|
5929
|
+
._th_1ci3s_42[data-align=center] ._sortButton_1ci3s_90 {
|
|
5928
5930
|
justify-content: center;
|
|
5929
5931
|
}
|
|
5930
5932
|
|
|
5931
|
-
.
|
|
5933
|
+
._truncate_1ci3s_259 {
|
|
5932
5934
|
overflow: hidden;
|
|
5933
5935
|
white-space: nowrap;
|
|
5934
5936
|
text-overflow: ellipsis;
|
|
5935
5937
|
}
|
|
5936
5938
|
|
|
5937
|
-
.
|
|
5939
|
+
._skeletonBar_1ci3s_265 {
|
|
5938
5940
|
display: block;
|
|
5939
5941
|
height: 10px;
|
|
5940
5942
|
border-radius: var(--fui-radius-sm, 0.25rem);
|
|
5941
5943
|
background: linear-gradient(90deg, color-mix(in srgb, currentColor 8%, transparent) 25%, color-mix(in srgb, currentColor 14%, transparent) 50%, color-mix(in srgb, currentColor 8%, transparent) 75%);
|
|
5942
5944
|
background-size: 200% 100%;
|
|
5943
|
-
animation:
|
|
5945
|
+
animation: _dataTableShimmer_1ci3s_1 1.4s ease-in-out infinite;
|
|
5944
5946
|
}
|
|
5945
5947
|
|
|
5946
|
-
@keyframes
|
|
5948
|
+
@keyframes _dataTableShimmer_1ci3s_1 {
|
|
5947
5949
|
from {
|
|
5948
5950
|
background-position: 200% 0;
|
|
5949
5951
|
}
|
|
@@ -5952,26 +5954,26 @@
|
|
|
5952
5954
|
}
|
|
5953
5955
|
}
|
|
5954
5956
|
@media (prefers-reduced-motion: reduce) {
|
|
5955
|
-
.
|
|
5957
|
+
._skeletonBar_1ci3s_265 {
|
|
5956
5958
|
animation: none;
|
|
5957
5959
|
}
|
|
5958
|
-
.
|
|
5960
|
+
._sortIndicator_1ci3s_129 {
|
|
5959
5961
|
transition: none;
|
|
5960
5962
|
}
|
|
5961
5963
|
}
|
|
5962
|
-
.
|
|
5964
|
+
._checkboxCell_1ci3s_290 {
|
|
5963
5965
|
display: flex;
|
|
5964
5966
|
align-items: center;
|
|
5965
5967
|
justify-content: center;
|
|
5966
5968
|
}
|
|
5967
5969
|
|
|
5968
|
-
.
|
|
5970
|
+
._expandCell_1ci3s_296 {
|
|
5969
5971
|
display: inline-flex;
|
|
5970
5972
|
align-items: center;
|
|
5971
5973
|
gap: var(--fui-space-1, 0.5rem);
|
|
5972
5974
|
}
|
|
5973
5975
|
|
|
5974
|
-
.
|
|
5976
|
+
._expandButton_1ci3s_302 {
|
|
5975
5977
|
appearance: none;
|
|
5976
5978
|
background: transparent;
|
|
5977
5979
|
border: none;
|
|
@@ -5981,10 +5983,10 @@
|
|
|
5981
5983
|
color: inherit;
|
|
5982
5984
|
cursor: pointer;
|
|
5983
5985
|
}
|
|
5984
|
-
.
|
|
5986
|
+
._expandButton_1ci3s_302:disabled {
|
|
5985
5987
|
cursor: not-allowed;
|
|
5986
5988
|
}
|
|
5987
|
-
.
|
|
5989
|
+
._expandButton_1ci3s_302 {
|
|
5988
5990
|
display: inline-flex;
|
|
5989
5991
|
align-items: center;
|
|
5990
5992
|
justify-content: center;
|
|
@@ -5995,47 +5997,47 @@
|
|
|
5995
5997
|
color: var(--fui-text-tertiary, rgb(86.4227350852, 86.4227350852, 86.4227350852));
|
|
5996
5998
|
transition: color var(--fui-transition-fast, 160ms cubic-bezier(0.25, 0.46, 0.45, 0.94)), background-color var(--fui-transition-fast, 160ms cubic-bezier(0.25, 0.46, 0.45, 0.94));
|
|
5997
5999
|
}
|
|
5998
|
-
.
|
|
6000
|
+
._expandButton_1ci3s_302:hover {
|
|
5999
6001
|
color: var(--fui-text-primary, #212121);
|
|
6000
6002
|
background-color: var(--fui-bg-hover, rgba(0, 0, 0, 0.04));
|
|
6001
6003
|
}
|
|
6002
|
-
.
|
|
6004
|
+
._expandButton_1ci3s_302:focus-visible {
|
|
6003
6005
|
outline: none;
|
|
6004
6006
|
box-shadow: 0 0 0 1px color-mix(in srgb, var(--fui-focus-ring-color, #006b57) 28%, transparent), 0 0 0 calc(var(--fui-focus-ring-width, 2px) + 1px) color-mix(in srgb, var(--fui-focus-ring-color, #006b57) 12%, transparent), 0 10px 24px -16px color-mix(in srgb, var(--fui-focus-ring-color, #006b57) 32%, transparent);
|
|
6005
6007
|
}
|
|
6006
6008
|
|
|
6007
|
-
.
|
|
6009
|
+
._expandIcon_1ci3s_335 {
|
|
6008
6010
|
width: var(--fui-icon-xs, 0.857rem);
|
|
6009
6011
|
height: var(--fui-icon-xs, 0.857rem);
|
|
6010
6012
|
transition: transform var(--fui-transition-fast, 160ms cubic-bezier(0.25, 0.46, 0.45, 0.94));
|
|
6011
6013
|
}
|
|
6012
6014
|
|
|
6013
|
-
.
|
|
6015
|
+
._expandIconOpen_1ci3s_341 {
|
|
6014
6016
|
transform: rotate(90deg);
|
|
6015
6017
|
}
|
|
6016
6018
|
|
|
6017
|
-
.
|
|
6019
|
+
._subRow_1ci3s_345 {
|
|
6018
6020
|
background-color: var(--fui-table-subrow-bg, var(--fui-bg-subtle, #fafafa));
|
|
6019
6021
|
}
|
|
6020
|
-
.
|
|
6022
|
+
._subRow_1ci3s_345:hover {
|
|
6021
6023
|
background-color: var(--fui-table-row-hover-bg, var(--fui-bg-hover, rgba(0, 0, 0, 0.04)));
|
|
6022
6024
|
}
|
|
6023
6025
|
|
|
6024
|
-
.
|
|
6026
|
+
._emptyState_1ci3s_352 {
|
|
6025
6027
|
display: flex;
|
|
6026
6028
|
align-items: center;
|
|
6027
6029
|
justify-content: center;
|
|
6028
6030
|
padding: var(--fui-space-12, 6rem) var(--fui-space-6, 3rem);
|
|
6029
6031
|
}
|
|
6030
6032
|
|
|
6031
|
-
.
|
|
6033
|
+
._emptyMessage_1ci3s_359 {
|
|
6032
6034
|
font-family: var(--fui-font-sans, "Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif);
|
|
6033
6035
|
font-size: var(--fui-font-size-sm, 1rem);
|
|
6034
6036
|
color: var(--fui-text-tertiary, rgb(86.4227350852, 86.4227350852, 86.4227350852));
|
|
6035
6037
|
}
|
|
6036
6038
|
|
|
6037
6039
|
@media (max-width: 639px) {
|
|
6038
|
-
.
|
|
6040
|
+
._wrapper_1ci3s_1 {
|
|
6039
6041
|
margin-left: calc(-1 * var(--fui-space-4, 2rem));
|
|
6040
6042
|
margin-right: calc(-1 * var(--fui-space-4, 2rem));
|
|
6041
6043
|
padding-left: var(--fui-space-4, 2rem);
|
|
@@ -6043,21 +6045,21 @@
|
|
|
6043
6045
|
}
|
|
6044
6046
|
}
|
|
6045
6047
|
@media (prefers-contrast: more) {
|
|
6046
|
-
.
|
|
6048
|
+
._headerRow_1ci3s_60 {
|
|
6047
6049
|
border-bottom-width: 2px;
|
|
6048
6050
|
}
|
|
6049
|
-
.
|
|
6051
|
+
._row_1ci3s_161 {
|
|
6050
6052
|
border-bottom-width: 2px;
|
|
6051
6053
|
}
|
|
6052
|
-
.
|
|
6054
|
+
._sortButton_1ci3s_90:focus-visible {
|
|
6053
6055
|
outline-width: 3px;
|
|
6054
6056
|
}
|
|
6055
6057
|
}
|
|
6056
6058
|
@media (prefers-reduced-motion: reduce) {
|
|
6057
|
-
.
|
|
6059
|
+
._row_1ci3s_161 {
|
|
6058
6060
|
transition: none;
|
|
6059
6061
|
}
|
|
6060
|
-
.
|
|
6062
|
+
._sortButton_1ci3s_90 {
|
|
6061
6063
|
transition: none;
|
|
6062
6064
|
}
|
|
6063
6065
|
}._emptyState_2ooam_1 {
|
package/dist/codeblock.cjs
CHANGED
|
@@ -160,19 +160,27 @@ function dedent(str) {
|
|
|
160
160
|
}
|
|
161
161
|
return lines.map((line) => line.slice(minIndent)).join("\n");
|
|
162
162
|
}
|
|
163
|
-
|
|
163
|
+
const INDENTATION_SIGNIFICANT_LANGUAGES = /* @__PURE__ */ new Set([
|
|
164
|
+
"yaml",
|
|
165
|
+
"yml",
|
|
166
|
+
"json",
|
|
167
|
+
"python",
|
|
168
|
+
"py"
|
|
169
|
+
]);
|
|
170
|
+
function normalizeIndentation(str, language) {
|
|
164
171
|
var _a, _b;
|
|
165
172
|
const lines = str.split("\n");
|
|
166
173
|
if (lines.length <= 1) return str;
|
|
174
|
+
const firstLineCounts = INDENTATION_SIGNIFICANT_LANGUAGES.has(language);
|
|
167
175
|
let minIndent = Infinity;
|
|
168
176
|
const firstLineIndent = ((_a = lines[0].match(/^(\s*)/)) == null ? void 0 : _a[1].length) ?? 0;
|
|
169
|
-
for (let i = 1; i < lines.length; i += 1) {
|
|
177
|
+
for (let i = firstLineCounts ? 0 : 1; i < lines.length; i += 1) {
|
|
170
178
|
const line = lines[i];
|
|
171
179
|
if (line.trim().length === 0) continue;
|
|
172
180
|
const indent = ((_b = line.match(/^(\s*)/)) == null ? void 0 : _b[1].length) ?? 0;
|
|
173
181
|
minIndent = Math.min(minIndent, indent);
|
|
174
182
|
}
|
|
175
|
-
if (firstLineIndent > 0) {
|
|
183
|
+
if (!firstLineCounts && firstLineIndent > 0) {
|
|
176
184
|
minIndent = Math.min(minIndent, firstLineIndent);
|
|
177
185
|
}
|
|
178
186
|
if (minIndent === Infinity || minIndent === 0) return str;
|
|
@@ -299,10 +307,10 @@ function formatLongJsxTagLine(line) {
|
|
|
299
307
|
function formatLongJsxTags(code) {
|
|
300
308
|
return code.split("\n").flatMap((line) => formatLongJsxTagLine(line).split("\n")).join("\n");
|
|
301
309
|
}
|
|
302
|
-
function normalizeCode(code) {
|
|
310
|
+
function normalizeCode(code, language) {
|
|
303
311
|
const trimmed = code.trim();
|
|
304
312
|
if (trimmed.length === 0) return "";
|
|
305
|
-
const normalized = normalizeIndentation(trimmed);
|
|
313
|
+
const normalized = normalizeIndentation(trimmed, language);
|
|
306
314
|
const dedented = dedent(normalized);
|
|
307
315
|
const withoutTrailingWhitespace = trimTrailingWhitespace(dedented);
|
|
308
316
|
return formatLongJsxTags(withoutTrailingWhitespace);
|
|
@@ -391,7 +399,7 @@ const CodeBlockBase = React__namespace.forwardRef(function CodeBlock2({
|
|
|
391
399
|
const [copied, setCopied] = React.useState(false);
|
|
392
400
|
const [highlight, setHighlight] = React.useState({ html: "", loading: true });
|
|
393
401
|
const [isCollapsed, setIsCollapsed] = React.useState(defaultCollapsed);
|
|
394
|
-
const trimmedCode = React.useMemo(() => normalizeCode(code), [code]);
|
|
402
|
+
const trimmedCode = React.useMemo(() => normalizeCode(code, language), [code, language]);
|
|
395
403
|
const codeLines = trimmedCode.split("\n");
|
|
396
404
|
const totalLines = codeLines.length;
|
|
397
405
|
const shouldShowCollapse = collapsible && totalLines > collapsedLines;
|
package/dist/codeblock.js
CHANGED
|
@@ -120,19 +120,27 @@ function dedent(str) {
|
|
|
120
120
|
}
|
|
121
121
|
return lines.map((line) => line.slice(minIndent)).join("\n");
|
|
122
122
|
}
|
|
123
|
-
|
|
123
|
+
const INDENTATION_SIGNIFICANT_LANGUAGES = /* @__PURE__ */ new Set([
|
|
124
|
+
"yaml",
|
|
125
|
+
"yml",
|
|
126
|
+
"json",
|
|
127
|
+
"python",
|
|
128
|
+
"py"
|
|
129
|
+
]);
|
|
130
|
+
function normalizeIndentation(str, language) {
|
|
124
131
|
var _a, _b;
|
|
125
132
|
const lines = str.split("\n");
|
|
126
133
|
if (lines.length <= 1) return str;
|
|
134
|
+
const firstLineCounts = INDENTATION_SIGNIFICANT_LANGUAGES.has(language);
|
|
127
135
|
let minIndent = Infinity;
|
|
128
136
|
const firstLineIndent = ((_a = lines[0].match(/^(\s*)/)) == null ? void 0 : _a[1].length) ?? 0;
|
|
129
|
-
for (let i = 1; i < lines.length; i += 1) {
|
|
137
|
+
for (let i = firstLineCounts ? 0 : 1; i < lines.length; i += 1) {
|
|
130
138
|
const line = lines[i];
|
|
131
139
|
if (line.trim().length === 0) continue;
|
|
132
140
|
const indent = ((_b = line.match(/^(\s*)/)) == null ? void 0 : _b[1].length) ?? 0;
|
|
133
141
|
minIndent = Math.min(minIndent, indent);
|
|
134
142
|
}
|
|
135
|
-
if (firstLineIndent > 0) {
|
|
143
|
+
if (!firstLineCounts && firstLineIndent > 0) {
|
|
136
144
|
minIndent = Math.min(minIndent, firstLineIndent);
|
|
137
145
|
}
|
|
138
146
|
if (minIndent === Infinity || minIndent === 0) return str;
|
|
@@ -259,10 +267,10 @@ function formatLongJsxTagLine(line) {
|
|
|
259
267
|
function formatLongJsxTags(code) {
|
|
260
268
|
return code.split("\n").flatMap((line) => formatLongJsxTagLine(line).split("\n")).join("\n");
|
|
261
269
|
}
|
|
262
|
-
function normalizeCode(code) {
|
|
270
|
+
function normalizeCode(code, language) {
|
|
263
271
|
const trimmed = code.trim();
|
|
264
272
|
if (trimmed.length === 0) return "";
|
|
265
|
-
const normalized = normalizeIndentation(trimmed);
|
|
273
|
+
const normalized = normalizeIndentation(trimmed, language);
|
|
266
274
|
const dedented = dedent(normalized);
|
|
267
275
|
const withoutTrailingWhitespace = trimTrailingWhitespace(dedented);
|
|
268
276
|
return formatLongJsxTags(withoutTrailingWhitespace);
|
|
@@ -351,7 +359,7 @@ const CodeBlockBase = React.forwardRef(function CodeBlock2({
|
|
|
351
359
|
const [copied, setCopied] = useState(false);
|
|
352
360
|
const [highlight, setHighlight] = useState({ html: "", loading: true });
|
|
353
361
|
const [isCollapsed, setIsCollapsed] = useState(defaultCollapsed);
|
|
354
|
-
const trimmedCode = useMemo(() => normalizeCode(code), [code]);
|
|
362
|
+
const trimmedCode = useMemo(() => normalizeCode(code, language), [code, language]);
|
|
355
363
|
const codeLines = trimmedCode.split("\n");
|
|
356
364
|
const totalLines = codeLines.length;
|
|
357
365
|
const shouldShowCollapse = collapsible && totalLines > collapsedLines;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CodeBlock/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA8B/B,MAAM,MAA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M,CAAC,EAAE,CAAC;IACrC,yCAAyC;IACzC,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IACjC,2CAA2C;IAC3C,YAAY,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IACnC,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gDAAgD;IAChD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sEAAsE;IACtE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,6CAA6C;IAC7C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wCAAwC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4EAA4E;IAC5E,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,8DAA8D;IAC9D,aAAa,CAAC,EAAE,sBAAsB,CAAC;IACvC,2GAA2G;IAC3G,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CodeBlock/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA8B/B,MAAM,MAAM,iBAAiB,GACzB,KAAK,GACL,YAAY,GACZ,IAAI,GACJ,YAAY,GACZ,IAAI,GACJ,KAAK,GACL,MAAM,GACN,OAAO,GACP,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,KAAK,GACL,UAAU,GACV,IAAI,GACJ,MAAM,GACN,KAAK,GACL,QAAQ,GACR,IAAI,GACJ,MAAM,GACN,IAAI,GACJ,MAAM,GACN,MAAM,GACN,QAAQ,GACR,OAAO,GACP,GAAG,GACH,KAAK,GACL,QAAQ,GACR,KAAK,GACL,KAAK,GACL,SAAS,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CAAC,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAED,iBAAS,eAAe,CAAC,EACvB,IAAI,EACJ,UAAU,EACV,KAAK,EACL,aAAa,EACb,QAAe,EACf,aAAsB,EACtB,eAAuB,EACvB,KAAK,EACL,WAAqB,EACrB,QAAQ,EACR,SAAS,EACT,SAAS,EACT,MAAM,GACP,EAAE,oBAAoB,2CAqCtB;AAMD,eAAO,MAAM,SAAS;;CAEpB,CAAC;AAEH,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const wrapper = "
|
|
4
|
-
const table = "
|
|
5
|
-
const caption = "
|
|
6
|
-
const captionHidden = "
|
|
7
|
-
const sm = "
|
|
8
|
-
const th = "
|
|
9
|
-
const td = "
|
|
10
|
-
const md = "
|
|
11
|
-
const thead = "
|
|
12
|
-
const headerRow = "
|
|
13
|
-
const headerContent = "
|
|
14
|
-
const thSortable = "
|
|
15
|
-
const sortButton = "
|
|
16
|
-
const sortIndicator = "
|
|
17
|
-
const tbody = "
|
|
18
|
-
const row = "
|
|
19
|
-
const clickable = "
|
|
20
|
-
const selected = "
|
|
21
|
-
const striped = "
|
|
22
|
-
const bordered = "
|
|
23
|
-
const fixedLayout = "
|
|
24
|
-
const densityCondensed = "
|
|
25
|
-
const densityRegular = "
|
|
26
|
-
const densityRelaxed = "
|
|
27
|
-
const truncate = "
|
|
28
|
-
const skeletonBar = "
|
|
29
|
-
const dataTableShimmer = "
|
|
30
|
-
const checkboxCell = "
|
|
31
|
-
const expandCell = "
|
|
32
|
-
const expandButton = "
|
|
33
|
-
const expandIcon = "
|
|
34
|
-
const expandIconOpen = "
|
|
35
|
-
const subRow = "
|
|
36
|
-
const emptyState = "
|
|
37
|
-
const emptyMessage = "
|
|
3
|
+
const wrapper = "_wrapper_1ci3s_1";
|
|
4
|
+
const table = "_table_1ci3s_13";
|
|
5
|
+
const caption = "_caption_1ci3s_21";
|
|
6
|
+
const captionHidden = "_captionHidden_1ci3s_30";
|
|
7
|
+
const sm = "_sm_1ci3s_42";
|
|
8
|
+
const th = "_th_1ci3s_42";
|
|
9
|
+
const td = "_td_1ci3s_43";
|
|
10
|
+
const md = "_md_1ci3s_48";
|
|
11
|
+
const thead = "_thead_1ci3s_54";
|
|
12
|
+
const headerRow = "_headerRow_1ci3s_60";
|
|
13
|
+
const headerContent = "_headerContent_1ci3s_80";
|
|
14
|
+
const thSortable = "_thSortable_1ci3s_86";
|
|
15
|
+
const sortButton = "_sortButton_1ci3s_90";
|
|
16
|
+
const sortIndicator = "_sortIndicator_1ci3s_129";
|
|
17
|
+
const tbody = "_tbody_1ci3s_156";
|
|
18
|
+
const row = "_row_1ci3s_161";
|
|
19
|
+
const clickable = "_clickable_1ci3s_172";
|
|
20
|
+
const selected = "_selected_1ci3s_186";
|
|
21
|
+
const striped = "_striped_1ci3s_200";
|
|
22
|
+
const bordered = "_bordered_1ci3s_216";
|
|
23
|
+
const fixedLayout = "_fixedLayout_1ci3s_223";
|
|
24
|
+
const densityCondensed = "_densityCondensed_1ci3s_227";
|
|
25
|
+
const densityRegular = "_densityRegular_1ci3s_231";
|
|
26
|
+
const densityRelaxed = "_densityRelaxed_1ci3s_235";
|
|
27
|
+
const truncate = "_truncate_1ci3s_259";
|
|
28
|
+
const skeletonBar = "_skeletonBar_1ci3s_265";
|
|
29
|
+
const dataTableShimmer = "_dataTableShimmer_1ci3s_1";
|
|
30
|
+
const checkboxCell = "_checkboxCell_1ci3s_290";
|
|
31
|
+
const expandCell = "_expandCell_1ci3s_296";
|
|
32
|
+
const expandButton = "_expandButton_1ci3s_302";
|
|
33
|
+
const expandIcon = "_expandIcon_1ci3s_335";
|
|
34
|
+
const expandIconOpen = "_expandIconOpen_1ci3s_341";
|
|
35
|
+
const subRow = "_subRow_1ci3s_345";
|
|
36
|
+
const emptyState = "_emptyState_1ci3s_352";
|
|
37
|
+
const emptyMessage = "_emptyMessage_1ci3s_359";
|
|
38
38
|
const styles = {
|
|
39
39
|
wrapper,
|
|
40
40
|
table,
|