@fusion.dev/helix-styles 0.215.3 → 0.216.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/base.css CHANGED
@@ -779,9 +779,17 @@ helix-toast:not([data-color-mode]) {
779
779
  :where([data-prose] blockquote, [data-prose] helix-callout) {
780
780
  margin-block: var(--helix-space-none) var(--helix-space-sm);
781
781
  }
782
- :where([data-prose] > :last-child) {
782
+ :where([data-prose] > :last-child),
783
+ :where([data-prose] :is(blockquote, helix-callout, li, td, th) > :last-child) {
783
784
  margin-block-end: var(--helix-space-none);
784
785
  }
786
+ :where(helix-markdown[data-prose], [data-prose] helix-markdown) > :where(h1, h2, h3, h4, h5, h6) {
787
+ margin-block: var(--helix-space-md) var(--helix-space-xs);
788
+ }
789
+ :where(helix-markdown[data-prose], [data-prose] helix-markdown)
790
+ > :where(h1, h2, h3, h4, h5, h6):where(:first-child) {
791
+ margin-block-start: var(--helix-space-none);
792
+ }
785
793
  :where([data-prose] ul, [data-prose] ol) {
786
794
  padding-inline-start: var(--helix-space-lg);
787
795
  }
@@ -811,6 +819,56 @@ helix-toast:not([data-color-mode]) {
811
819
  :where([data-prose] tbody tr:last-child td) {
812
820
  border-block-end-color: transparent;
813
821
  }
822
+ :where([data-prose] [data-table]) {
823
+ margin-block: var(--helix-space-none) var(--helix-space-sm);
824
+ max-inline-size: 100%;
825
+ overflow-x: auto;
826
+ }
827
+ :where([data-prose] [data-table] > table) {
828
+ display: table;
829
+ inline-size: 100%;
830
+ margin-block: var(--helix-space-none);
831
+ min-inline-size: 56rem;
832
+ table-layout: fixed;
833
+ }
834
+ :where([data-prose] [data-table] > table[data-columns="1"]) {
835
+ min-inline-size: 7rem;
836
+ }
837
+ :where([data-prose] [data-table] > table[data-columns="2"]) {
838
+ min-inline-size: 14rem;
839
+ }
840
+ :where([data-prose] [data-table] > table[data-columns="3"]) {
841
+ min-inline-size: 21rem;
842
+ }
843
+ :where([data-prose] [data-table] > table[data-columns="4"]) {
844
+ min-inline-size: 28rem;
845
+ }
846
+ :where([data-prose] [data-table] > table[data-columns="5"]) {
847
+ min-inline-size: 35rem;
848
+ }
849
+ :where([data-prose] [data-table] > table[data-columns="6"]) {
850
+ min-inline-size: 42rem;
851
+ }
852
+ :where([data-prose] [data-table] > table[data-columns="7"]) {
853
+ min-inline-size: 49rem;
854
+ }
855
+ :where([data-prose] [data-table] th, [data-prose] [data-table] td) {
856
+ overflow-wrap: anywhere;
857
+ }
858
+ :where([data-prose] [data-align="center"]) {
859
+ text-align: center;
860
+ }
861
+ :where([data-prose] [data-align="end"]) {
862
+ text-align: end;
863
+ }
864
+ :where([data-prose] li[data-task]) {
865
+ list-style: none;
866
+ }
867
+ :where([data-prose] li[data-task] > input[type="checkbox"]) {
868
+ margin-block: var(--helix-space-none);
869
+ margin-inline: calc(var(--helix-space-md) * -1) var(--helix-space-2xs);
870
+ vertical-align: middle;
871
+ }
814
872
  :where([data-prose] pre) {
815
873
  background-color: var(--helix-color-surface-sunken);
816
874
  border-radius: var(--helix-radii-sm);
package/dist/elements.css CHANGED
@@ -27,6 +27,8 @@ helix-checkbox:not(:defined),
27
27
  helix-checkbox-group:not(:defined),
28
28
  helix-code:not(:defined),
29
29
  helix-code-block:not(:defined),
30
+ helix-code-editor:not(:defined),
31
+ helix-code-input:not(:defined),
30
32
  helix-color-input:not(:defined),
31
33
  helix-color-picker:not(:defined),
32
34
  helix-combobox:not(:defined),
@@ -83,6 +85,7 @@ helix-map-position:not(:defined),
83
85
  helix-map-raster:not(:defined),
84
86
  helix-map-route:not(:defined),
85
87
  helix-map-terrain:not(:defined),
88
+ helix-markdown:not(:defined),
86
89
  helix-megamenu:not(:defined),
87
90
  helix-menu:not(:defined),
88
91
  helix-menu-item:not(:defined),
@@ -120,6 +123,7 @@ helix-sandbox-toolbar:not(:defined),
120
123
  helix-scatter-chart:not(:defined),
121
124
  helix-scroll-area:not(:defined),
122
125
  helix-select:not(:defined),
126
+ helix-shortcut-overlay:not(:defined),
123
127
  helix-skeleton:not(:defined),
124
128
  helix-skip-link:not(:defined),
125
129
  helix-slider:not(:defined),
@@ -205,6 +209,8 @@ helix-checkbox[align],
205
209
  helix-checkbox-group[align],
206
210
  helix-code[align],
207
211
  helix-code-block[align],
212
+ helix-code-editor[align],
213
+ helix-code-input[align],
208
214
  helix-color-input[align],
209
215
  helix-color-picker[align],
210
216
  helix-combobox[align],
@@ -261,6 +267,7 @@ helix-map-position[align],
261
267
  helix-map-raster[align],
262
268
  helix-map-route[align],
263
269
  helix-map-terrain[align],
270
+ helix-markdown[align],
264
271
  helix-megamenu[align],
265
272
  helix-menu[align],
266
273
  helix-menu-item[align],
@@ -298,6 +305,7 @@ helix-sandbox-toolbar[align],
298
305
  helix-scatter-chart[align],
299
306
  helix-scroll-area[align],
300
307
  helix-select[align],
308
+ helix-shortcut-overlay[align],
301
309
  helix-skeleton[align],
302
310
  helix-skip-link[align],
303
311
  helix-slider[align],
@@ -621,6 +629,12 @@ helix-data-table:not(:defined):has(> helix-table-row):is([page-size]:not([page-s
621
629
  align-content: center;
622
630
  min-block-size: var(--pagination-size, var(--helix-size-control-tight));
623
631
  }
632
+ helix-data-table:not(:defined):has(> helix-table-row):not([mode="server"]):is([page-size="1"]:not(:has(> helix-table-row:nth-of-type(1))), [page-size="2"]:not(:has(> helix-table-row:nth-of-type(2))), [page-size="3"]:not(:has(> helix-table-row:nth-of-type(3))), [page-size="4"]:not(:has(> helix-table-row:nth-of-type(4))), [page-size="5"]:not(:has(> helix-table-row:nth-of-type(5))), [page-size="6"]:not(:has(> helix-table-row:nth-of-type(6))), [page-size="7"]:not(:has(> helix-table-row:nth-of-type(7))), [page-size="8"]:not(:has(> helix-table-row:nth-of-type(8))), [page-size="9"]:not(:has(> helix-table-row:nth-of-type(9))), [page-size="10"]:not(:has(> helix-table-row:nth-of-type(10))), [page-size="12"]:not(:has(> helix-table-row:nth-of-type(12))), [page-size="15"]:not(:has(> helix-table-row:nth-of-type(15))), [page-size="20"]:not(:has(> helix-table-row:nth-of-type(20))), [page-size="25"]:not(:has(> helix-table-row:nth-of-type(25))), [page-size="30"]:not(:has(> helix-table-row:nth-of-type(30))), [page-size="40"]:not(:has(> helix-table-row:nth-of-type(40))), [page-size="50"]:not(:has(> helix-table-row:nth-of-type(50))), [page-size="100"]:not(:has(> helix-table-row:nth-of-type(100))))::after {
633
+ block-size: 0;
634
+ }
635
+ helix-data-table:not(:defined):has(> helix-table-row):not([mode="server"]):is([page-size="1"]:not(:has(> helix-table-row:nth-of-type(1))), [page-size="2"]:not(:has(> helix-table-row:nth-of-type(2))), [page-size="3"]:not(:has(> helix-table-row:nth-of-type(3))), [page-size="4"]:not(:has(> helix-table-row:nth-of-type(4))), [page-size="5"]:not(:has(> helix-table-row:nth-of-type(5))), [page-size="6"]:not(:has(> helix-table-row:nth-of-type(6))), [page-size="7"]:not(:has(> helix-table-row:nth-of-type(7))), [page-size="8"]:not(:has(> helix-table-row:nth-of-type(8))), [page-size="9"]:not(:has(> helix-table-row:nth-of-type(9))), [page-size="10"]:not(:has(> helix-table-row:nth-of-type(10))), [page-size="12"]:not(:has(> helix-table-row:nth-of-type(12))), [page-size="15"]:not(:has(> helix-table-row:nth-of-type(15))), [page-size="20"]:not(:has(> helix-table-row:nth-of-type(20))), [page-size="25"]:not(:has(> helix-table-row:nth-of-type(25))), [page-size="30"]:not(:has(> helix-table-row:nth-of-type(30))), [page-size="40"]:not(:has(> helix-table-row:nth-of-type(40))), [page-size="50"]:not(:has(> helix-table-row:nth-of-type(50))), [page-size="100"]:not(:has(> helix-table-row:nth-of-type(100)))) > [slot="footer"] {
636
+ min-block-size: auto;
637
+ }
624
638
  helix-data-table:not(:defined):has(> helix-table-row) > :is([slot="empty"], [slot="error"], [slot="loading"]) {
625
639
  display: none;
626
640
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix-styles",
3
3
  "description": "Design tokens and base layer. Pure CSS, no JavaScript.",
4
- "version": "0.215.3",
4
+ "version": "0.216.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {