@wirecore/wirelayer-recipes 0.11.0 → 0.12.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.
Files changed (76) hide show
  1. package/dist/data.d.ts +150 -3
  2. package/dist/data.d.ts.map +1 -1
  3. package/dist/data.js +43 -2
  4. package/dist/data.js.map +1 -1
  5. package/dist/i18n.d.ts +1 -0
  6. package/dist/i18n.d.ts.map +1 -1
  7. package/dist/i18n.js +2 -0
  8. package/dist/i18n.js.map +1 -1
  9. package/dist/locales/ar.d.ts.map +1 -1
  10. package/dist/locales/ar.js +1 -0
  11. package/dist/locales/ar.js.map +1 -1
  12. package/dist/locales/cs.d.ts.map +1 -1
  13. package/dist/locales/cs.js +1 -0
  14. package/dist/locales/cs.js.map +1 -1
  15. package/dist/locales/de.d.ts +1 -0
  16. package/dist/locales/de.d.ts.map +1 -1
  17. package/dist/locales/de.js +1 -0
  18. package/dist/locales/de.js.map +1 -1
  19. package/dist/locales/es.d.ts.map +1 -1
  20. package/dist/locales/es.js +1 -0
  21. package/dist/locales/es.js.map +1 -1
  22. package/dist/locales/fr.d.ts.map +1 -1
  23. package/dist/locales/fr.js +1 -0
  24. package/dist/locales/fr.js.map +1 -1
  25. package/dist/locales/hu.d.ts.map +1 -1
  26. package/dist/locales/hu.js +1 -0
  27. package/dist/locales/hu.js.map +1 -1
  28. package/dist/locales/it.d.ts.map +1 -1
  29. package/dist/locales/it.js +1 -0
  30. package/dist/locales/it.js.map +1 -1
  31. package/dist/locales/lv.d.ts.map +1 -1
  32. package/dist/locales/lv.js +1 -0
  33. package/dist/locales/lv.js.map +1 -1
  34. package/dist/locales/nl.d.ts.map +1 -1
  35. package/dist/locales/nl.js +1 -0
  36. package/dist/locales/nl.js.map +1 -1
  37. package/dist/locales/pl.d.ts.map +1 -1
  38. package/dist/locales/pl.js +1 -0
  39. package/dist/locales/pl.js.map +1 -1
  40. package/dist/locales/pt.d.ts.map +1 -1
  41. package/dist/locales/pt.js +1 -0
  42. package/dist/locales/pt.js.map +1 -1
  43. package/dist/locales/tr.d.ts.map +1 -1
  44. package/dist/locales/tr.js +1 -0
  45. package/dist/locales/tr.js.map +1 -1
  46. package/dist/native/overlays.d.ts +6 -0
  47. package/dist/native/overlays.d.ts.map +1 -1
  48. package/dist/native/overlays.js +2 -0
  49. package/dist/native/overlays.js.map +1 -1
  50. package/dist/native/picker.d.ts +12 -0
  51. package/dist/native/picker.d.ts.map +1 -1
  52. package/dist/native/picker.js +2 -0
  53. package/dist/native/picker.js.map +1 -1
  54. package/dist/overlay.d.ts +30 -0
  55. package/dist/overlay.d.ts.map +1 -1
  56. package/dist/overlay.js +8 -0
  57. package/dist/overlay.js.map +1 -1
  58. package/dist/sources/dataTable.css +1 -1
  59. package/package.json +1 -1
  60. package/src/data.ts +43 -2
  61. package/src/i18n.ts +2 -0
  62. package/src/locales/ar.ts +1 -0
  63. package/src/locales/cs.ts +1 -0
  64. package/src/locales/de.ts +1 -0
  65. package/src/locales/es.ts +1 -0
  66. package/src/locales/fr.ts +1 -0
  67. package/src/locales/hu.ts +1 -0
  68. package/src/locales/it.ts +1 -0
  69. package/src/locales/lv.ts +1 -0
  70. package/src/locales/nl.ts +1 -0
  71. package/src/locales/pl.ts +1 -0
  72. package/src/locales/pt.ts +1 -0
  73. package/src/locales/tr.ts +1 -0
  74. package/src/native/overlays.ts +2 -0
  75. package/src/native/picker.ts +2 -0
  76. package/src/overlay.ts +8 -0
package/dist/overlay.d.ts CHANGED
@@ -292,6 +292,8 @@ export declare const dialog: import("tailwind-variants").TVReturnType<{
292
292
  positioner: string;
293
293
  content: string[];
294
294
  header: string;
295
+ /** Own content of the header row (`#header` / `header`), before the maximize and close buttons */
296
+ headerContent: string;
295
297
  iconBox: string;
296
298
  icon: string;
297
299
  close: string[];
@@ -413,6 +415,8 @@ export declare const dialog: import("tailwind-variants").TVReturnType<{
413
415
  positioner: string;
414
416
  content: string[];
415
417
  header: string;
418
+ /** Own content of the header row (`#header` / `header`), before the maximize and close buttons */
419
+ headerContent: string;
416
420
  iconBox: string;
417
421
  icon: string;
418
422
  close: string[];
@@ -534,6 +538,8 @@ export declare const dialog: import("tailwind-variants").TVReturnType<{
534
538
  positioner: string;
535
539
  content: string[];
536
540
  header: string;
541
+ /** Own content of the header row (`#header` / `header`), before the maximize and close buttons */
542
+ headerContent: string;
537
543
  iconBox: string;
538
544
  icon: string;
539
545
  close: string[];
@@ -556,6 +562,12 @@ export declare const drawer: import("tailwind-variants").TVReturnType<{
556
562
  title: string;
557
563
  };
558
564
  };
565
+ /** Own content in the header row (`#header` / `header`): centred with the close button */
566
+ customHeader: {
567
+ true: {
568
+ header: string;
569
+ };
570
+ };
559
571
  placement: {
560
572
  right: {
561
573
  positioner: string;
@@ -605,6 +617,8 @@ export declare const drawer: import("tailwind-variants").TVReturnType<{
605
617
  content: string[];
606
618
  header: string;
607
619
  text: string;
620
+ /** Own content of the header row (`#header` / `header`), before the close button */
621
+ headerContent: string;
608
622
  title: string;
609
623
  description: string;
610
624
  close: string[];
@@ -618,6 +632,12 @@ export declare const drawer: import("tailwind-variants").TVReturnType<{
618
632
  title: string;
619
633
  };
620
634
  };
635
+ /** Own content in the header row (`#header` / `header`): centred with the close button */
636
+ customHeader: {
637
+ true: {
638
+ header: string;
639
+ };
640
+ };
621
641
  placement: {
622
642
  right: {
623
643
  positioner: string;
@@ -667,6 +687,8 @@ export declare const drawer: import("tailwind-variants").TVReturnType<{
667
687
  content: string[];
668
688
  header: string;
669
689
  text: string;
690
+ /** Own content of the header row (`#header` / `header`), before the close button */
691
+ headerContent: string;
670
692
  title: string;
671
693
  description: string;
672
694
  close: string[];
@@ -680,6 +702,12 @@ export declare const drawer: import("tailwind-variants").TVReturnType<{
680
702
  title: string;
681
703
  };
682
704
  };
705
+ /** Own content in the header row (`#header` / `header`): centred with the close button */
706
+ customHeader: {
707
+ true: {
708
+ header: string;
709
+ };
710
+ };
683
711
  placement: {
684
712
  right: {
685
713
  positioner: string;
@@ -729,6 +757,8 @@ export declare const drawer: import("tailwind-variants").TVReturnType<{
729
757
  content: string[];
730
758
  header: string;
731
759
  text: string;
760
+ /** Own content of the header row (`#header` / `header`), before the close button */
761
+ headerContent: string;
732
762
  title: string;
733
763
  description: string;
734
764
  close: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../src/overlay.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;IAeT,gGAAgG;;;;IAIhG,yDAAyD;;;;;;;;;;;;;;;;;;;;;IAJzD,gGAAgG;;;;IAIhG,yDAAyD;;;;;;;;;;;;;;;;;;;;;IAJzD,gGAAgG;;;;IAIhG,yDAAyD;;;;;;;GAa/D,CAAC;AAEH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQlB,CAAC;AAEH,eAAO,MAAM,OAAO;IAuBZ,+EAA+E;;;;;;IAI/E,mEAAmE;;;;;;;;IAnBnE,oDAAoD;;;;;;;;;;;IAepD,+EAA+E;;;;;;IAI/E,mEAAmE;;;;;;;;IAnBnE,oDAAoD;;;;;;;;;;;IAepD,+EAA+E;;;;;;IAI/E,mEAAmE;;;;;;;;IAnBnE,oDAAoD;;;;;;;;;;GAwB1D,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE9E,eAAO,MAAM,MAAM;IAiCX,oEAAoE;;;;;;IAIpE,uHAAuH;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiBvH,qGAAqG;;;;;;;;;;;;;;;;;;IAQrG,8DAA8D;;;;;;;;;;;;;;;;;;IAQ9D,4GAA4G;;;;;;;;;;IAM5G,8BAA8B;;;;;;;IAO9B,kCAAkC;;;;;;IAIlC,mCAAmC;;;;;;IAInC,sEAAsE;;;;;;;;;;;;;;;;;;;IAlEtE,4EAA4E;;;;IAQ5E,oEAAoE;;;;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0BX,oEAAoE;;;;;;IAIpE,0FAA0F;;;;;;;;;;;;;;;;;;;;;;;;IAwB1F,2HAA2H;;;;;;;;;;;;;;;;;;IAQ3H,+DAA+D;;;;;;;;;;;;;IAjD/D,oFAAoF;;;;;;;;;IAapF,oEAAoE;;;;;;IAIpE,0FAA0F;;;;;;;;;;;;;;;;;;;;;;;;IAwB1F,2HAA2H;;;;;;;;;;;;;;;;;;IAQ3H,+DAA+D;;;;;;;;;;;;;IAjD/D,oFAAoF;;;;;;;;;IAapF,oEAAoE;;;;;;IAIpE,0FAA0F;;;;;;;;;;;;;;;;;;;;;;;;IAwB1F,2HAA2H;;;;;;;;;;;;;;;;;;IAQ3H,+DAA+D;;;;;;;;;;;;;IAjD/D,oFAAoF;;;;;;;;GA8D1F,CAAC;AAEH,eAAO,MAAM,KAAK;IAgCV,mDAAmD;;;;;;IAInD,qEAAqE;;;;;;;;;;;;;;;;IAZrE,4FAA4F;;;IAQ5F,mDAAmD;;;;;;IAInD,qEAAqE;;;;;;;;;;;;;;;;IAZrE,4FAA4F;;;IAQ5F,mDAAmD;;;;;;IAInD,qEAAqE;;;;;;;;;;;;;;;;IAZrE,4FAA4F;;GAiBlG,CAAC;AAEH,kFAAkF;AAClF,eAAO,MAAM,OAAO;IAeZ,mEAAmE;;;;;;;;;IARnE,8FAA8F;;;;IAI9F,8CAA8C;;;IAI9C,mEAAmE;;;;;;;;;IARnE,8FAA8F;;;;IAI9F,8CAA8C;;;IAI9C,mEAAmE;;;;;;;;;IARnE,8FAA8F;;;;IAI9F,8CAA8C;;GASpD,CAAC"}
package/dist/overlay.js CHANGED
@@ -98,6 +98,8 @@ export const dialog = tv({
98
98
  'motion-safe:data-[state=open]:animate-dialog-in motion-safe:data-[state=closed]:animate-dialog-out',
99
99
  ],
100
100
  header: 'flex items-center justify-between gap-3 pt-4 pe-4 ps-[18px]',
101
+ /** Own content of the header row (`#header` / `header`), before the maximize and close buttons */
102
+ headerContent: 'flex min-w-0 flex-1 items-center gap-3',
101
103
  iconBox: 'flex size-9 items-center justify-center rounded-[var(--wc-dialog-icon-radius,10px)]',
102
104
  icon: 'size-[18px]',
103
105
  close: [
@@ -198,6 +200,8 @@ export const drawer = tv({
198
200
  ],
199
201
  header: 'flex items-start justify-between gap-3 border-b border-line py-4 pe-4 ps-5',
200
202
  text: 'flex min-w-0 flex-col gap-1',
203
+ /** Own content of the header row (`#header` / `header`), before the close button */
204
+ headerContent: 'flex min-w-0 flex-1 items-center gap-3',
201
205
  title: 'text-lg font-semibold tracking-[-0.02em]',
202
206
  description: 'text-sm leading-normal text-muted',
203
207
  close: [
@@ -213,6 +217,10 @@ export const drawer = tv({
213
217
  hideTitle: {
214
218
  true: { title: 'sr-only' },
215
219
  },
220
+ /** Own content in the header row (`#header` / `header`): centred with the close button */
221
+ customHeader: {
222
+ true: { header: 'items-center' },
223
+ },
216
224
  placement: {
217
225
  right: {
218
226
  positioner: 'justify-end',
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.js","sourceRoot":"","sources":["../src/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAErD,6EAA6E;AAE7E,MAAM,eAAe,GAAG;IACpB,mFAAmF;IACnF,4CAA4C;CAC/C,CAAC;AAEF,8EAA8E;AAC9E,MAAM,UAAU,GAAG;IACf,KAAK,EAAE,4DAA4D;IACnE,QAAQ,EAAE,iCAAiC;CAC9C,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,EAAE,CAAC;IACnB,KAAK,EAAE;QACH,OAAO,EAAE,CAAC,GAAG,eAAe,EAAE,UAAU,EAAE,GAAG,WAAW,CAAC;QACzD,GAAG,UAAU;QACb,IAAI,EAAE;YACF,iFAAiF;YACjF,oFAAoF;YACpF,2JAA2J;SAC9J;QACD,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,iBAAiB;QACxB,QAAQ,EAAE,kCAAkC;QAC5C,SAAS,E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KAAK,EAAE;QACH,IAAI,EAAE,+EAA+E;QACrF,IAAI,EAAE;YACF,gGAAgG;YAChG,yHAAyH;SAC5H;QACD,8FAA8F;QAC9F,IAAI,EAAE,yBAAyB;QAC/B,KAAK,EAAE,kCAAkC;QACzC,GAAG,EAAE,0CAA0C;QAC/C,8CAA8C;QAC9C,MAAM,EAAE,WAAW;KACtB;IACD,QAAQ,EAAE;QACN,mEAAmE;QACnE,UAAU,EAAE;YACR,IAAI,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE;SAClC;KACJ;CACJ,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /* Classes of the WireLayer recipe dataTable – generated by scripts/sources.ts, do not edit */
2
- @source inline("*:border-b *:border-line -inset-e-1 -mx-1.5 -my-1 -outline-offset-2 [&_:is(td,th):focus-visible]:-outline-offset-2 [&_:is(td,th):focus-visible]:outline-2 [&_:is(td,th):focus-visible]:outline-fg [writing-mode:vertical-rl] absolute active:cursor-grabbing after:absolute after:bg-line-2 after:inset-y-2 after:left-1/2 after:w-px align-bottom align-middle appearance-none aria-busy:[&>tbody>tr[data-row-id]]:opacity-60 aria-expanded:bg-line aria-expanded:text-fg bg-bg bg-bg-2 bg-card bg-line bg-primary/10 bg-transparent bg-warn/10 bg-warn/15 bg-warn/30 block border border-0 border-b border-e border-line border-line-2 border-line-strong border-separate border-spacing-0 border-t bottom-0 checked:bg-[radial-gradient(var(--wc-primary)_0_4px,transparent_4.5px)] checked:border-primary contents cursor-col-resize cursor-grab cursor-pointer cursor-text data-[drop=after]:shadow-[inset_-2px_0_0_var(--wc-primary)] data-[drop=after]:shadow-[inset_0_-2px_0_var(--wc-primary)] data-[drop=before]:shadow-[inset_0_2px_0_var(--wc-primary)] data-[drop=before]:shadow-[inset_2px_0_0_var(--wc-primary)] data-[drop=inside]:bg-primary/10 data-[drop=inside]:shadow-[inset_0_0_0_1px_var(--wc-primary)] data-[side=bottom]:[--wc-pop-y:-4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px] data-[side=top]:[--wc-pop-y:4px] data-[state=open]:rotate-90 data-[state=selected]:bg-line data-active:text-primary data-dragging:opacity-50 data-resizing:after:bg-primary even:bg-bg-2/60 fixed flex flex-1 flex-col flex-wrap focus-visible:after:bg-fg focus-visible:after:inset-y-0 focus-visible:after:w-0.5 focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 font-medium font-mono font-normal font-semibold forced-colors:bg-[Highlight] forced-colors:border-s-2 forced-colors:border-s-[Highlight] forced-colors:checked:bg-[Highlight] forced-colors:outline-1 forced-colors:outline-[Highlight] forced-colors:text-[HighlightText] gap-1 gap-1.5 gap-2 gap-3 gap-x-4 gap-y-1 grid grid-cols-2 group-data-[state=selected]/row:bg-line group-hover/row:bg-bg-2 group/row hover:after:bg-fg hover:bg-bg-2 hover:bg-line hover:text-fg hover:underline inline-flex inset-0 inset-y-0 items-center justify-between justify-center justify-end justify-start last:border-e-0 max-h-48 max-lg:hidden max-md:hidden max-sm:hidden max-w-72 max-w-[calc(100vw-2rem)] me-auto min-h-7 min-w-0 min-w-24 motion-reduce:transition-none motion-safe:[&>tbody>tr]:transition-opacity motion-safe:data-[state=closed]:animate-pop-out motion-safe:data-[state=open]:animate-pop-in ms-auto no-underline normal-case outline-2 outline-none outline-warn overflow-auto overflow-x-auto overscroll-contain p-0 p-3 pb-3 pe-0 place-content-center ps-8 px-1.5 px-2 px-3 px-[18px] py-1 py-1.5 py-10 py-2 py-2.5 py-3 py-3.5 py-4 relative rotate-180 rounded-full rounded-md rounded-popup rounded-sm rtl:data-[drop=after]:shadow-[inset_2px_0_0_var(--wc-primary)] rtl:data-[drop=before]:shadow-[inset_-2px_0_0_var(--wc-primary)] rtl:not-data-[state=open]:-scale-x-100 rtl:shadow-[inset_-1px_0_0_var(--wc-line-2)] rtl:shadow-[inset_-3px_0_0_var(--wc-warn)] rtl:shadow-[inset_1px_0_0_var(--wc-line-2)] select-none self-start shadow-[0_-1px_0_var(--wc-line-2)] shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] shadow-[0_1px_0_var(--wc-line-2)] shadow-[inset_-1px_0_0_var(--wc-line-2)] shadow-[inset_1px_0_0_var(--wc-line-2)] shadow-[inset_3px_0_0_var(--wc-warn)] shrink-0 size-3.5 size-4 size-6 size-[13px] size-[18px] sr-only sticky table-fixed tabular-nums text-[10px] text-[11px] text-[13px] text-center text-danger text-end text-fg text-inherit text-muted text-sm text-start text-xs top-0 touch-none tracking-label tracking-normal transition-colors transition-transform truncate uppercase w-2 w-24 w-80 w-[calc(100%+0.75rem)] w-full w-px whitespace-normal whitespace-nowrap z-50 z-[1] z-[2] z-[3]");
2
+ @source inline("*:border-b *:border-line -inset-e-1 -mx-1.5 -my-1 -outline-offset-2 [&:where(:nth-child(even):not([data-stripe]),[data-stripe=true])]:bg-bg-2/60 [&_:is(td,th):focus-visible]:-outline-offset-2 [&_:is(td,th):focus-visible]:outline-2 [&_:is(td,th):focus-visible]:outline-fg [contain:size] [writing-mode:vertical-rl] absolute active:cursor-grabbing after:absolute after:bg-line-2 after:bg-transparent after:inset-y-2 after:left-1/2 after:w-px align-bottom align-middle appearance-none aria-busy:[&>tbody>tr[data-row-id]]:opacity-60 aria-expanded:bg-line aria-expanded:text-fg bg-bg bg-bg-2 bg-card bg-line bg-primary/10 bg-transparent bg-warn/10 bg-warn/15 bg-warn/30 block border border-0 border-b border-e border-line border-line-2 border-line-strong border-separate border-spacing-0 border-t bottom-0 checked:bg-[radial-gradient(var(--wc-primary)_0_4px,transparent_4.5px)] checked:border-primary contents cursor-col-resize cursor-grab cursor-pointer cursor-text data-[drop=after]:shadow-[inset_-2px_0_0_var(--wc-primary)] data-[drop=after]:shadow-[inset_0_-2px_0_var(--wc-primary)] data-[drop=before]:shadow-[inset_0_2px_0_var(--wc-primary)] data-[drop=before]:shadow-[inset_2px_0_0_var(--wc-primary)] data-[drop=inside]:bg-primary/10 data-[drop=inside]:shadow-[inset_0_0_0_1px_var(--wc-primary)] data-[side=bottom]:[--wc-pop-y:-4px] data-[side=left]:[--wc-pop-x:4px] data-[side=right]:[--wc-pop-x:-4px] data-[side=top]:[--wc-pop-y:4px] data-[state=open]:rotate-90 data-[state=selected]:bg-line data-active:text-primary data-dragging:opacity-50 data-resizing:after:bg-primary fixed flex flex-1 flex-col flex-wrap focus-visible:after:bg-fg focus-visible:after:inset-y-0 focus-visible:after:w-0.5 focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 font-medium font-mono font-normal font-semibold forced-colors:bg-[Highlight] forced-colors:border-s-2 forced-colors:border-s-[Highlight] forced-colors:checked:bg-[Highlight] forced-colors:outline-1 forced-colors:outline-[Highlight] forced-colors:text-[HighlightText] gap-1 gap-1.5 gap-2 gap-3 gap-x-4 gap-y-1 grid grid-cols-2 group-data-[state=selected]/row:bg-line group-hover/row:bg-bg-2 group/row hover:after:bg-fg hover:bg-bg-2 hover:bg-line hover:text-fg hover:underline inline-flex inset-0 inset-e-0 inset-y-0 items-center justify-between justify-center justify-end justify-start last:border-e-0 max-h-48 max-lg:hidden max-md:hidden max-sm:hidden max-w-72 max-w-[calc(100vw-2rem)] me-auto min-h-0 min-h-7 min-w-0 min-w-24 motion-reduce:transition-none motion-safe:[&>tbody>tr]:transition-opacity motion-safe:data-[state=closed]:animate-pop-out motion-safe:data-[state=open]:animate-pop-in ms-0 ms-auto mx-auto no-underline normal-case outline-2 outline-none outline-warn overflow-auto overflow-x-auto overscroll-contain p-0 p-3 pb-3 pe-0 place-content-center ps-8 px-1.5 px-2 px-3 px-[18px] py-1 py-1.5 py-10 py-2 py-2.5 py-3 py-3.5 py-4 relative rotate-180 rounded-full rounded-md rounded-popup rounded-sm rtl:data-[drop=after]:shadow-[inset_2px_0_0_var(--wc-primary)] rtl:data-[drop=before]:shadow-[inset_-2px_0_0_var(--wc-primary)] rtl:not-data-[state=open]:-scale-x-100 rtl:shadow-[inset_-1px_0_0_var(--wc-line-2)] rtl:shadow-[inset_-3px_0_0_var(--wc-warn)] rtl:shadow-[inset_1px_0_0_var(--wc-line-2)] select-none self-start shadow-[0_-1px_0_var(--wc-line-2)] shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] shadow-[0_1px_0_var(--wc-line-2)] shadow-[inset_-1px_0_0_var(--wc-line-2)] shadow-[inset_1px_0_0_var(--wc-line-2)] shadow-[inset_3px_0_0_var(--wc-warn)] shrink-0 size-3.5 size-4 size-6 size-[13px] size-[18px] sr-only sticky table-fixed tabular-nums text-[10px] text-[11px] text-[13px] text-center text-danger text-end text-fg text-inherit text-muted text-sm text-start text-xs top-0 touch-none tracking-label tracking-normal transition-colors transition-transform truncate uppercase w-2 w-24 w-80 w-[calc(100%+0.75rem)] w-full w-px whitespace-normal whitespace-nowrap z-50 z-[1] z-[2] z-[3]");
3
3
  :root {
4
4
  --wc-recipe-dataTable: 1;
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecore/wirelayer-recipes",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Framework-agnostic WireLayer component recipes (tailwind-variants)",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/data.ts CHANGED
@@ -235,9 +235,43 @@ export const dataTable = tv({
235
235
  paginatorCenter: { footer: 'justify-center' },
236
236
  paginatorEnd: { footer: 'justify-end' },
237
237
  },
238
- /** Every other row tinted */
238
+ /**
239
+ * Resize handle of the last column at the end of the table (passed to the `resizer` part): inside the column
240
+ * instead of half over the edge – no overflow, no line after the last column (hover and focus still show it)
241
+ */
242
+ edge: {
243
+ true: { resizer: 'inset-e-0 after:bg-transparent' },
244
+ },
245
+ /**
246
+ * Filter row or filter menus shown at the start (`showFilters`, with `filterToggle`) – no classes of its own:
247
+ * a variant so `defaultVariants: { showFilters: false }` starts every table of the app with closed filters
248
+ */
249
+ showFilters: {
250
+ true: {},
251
+ false: {},
252
+ },
253
+ /**
254
+ * Every column with a value can be sorted (`sortable` on the table) – no classes of its own: a variant so
255
+ * `defaultVariants: { sortable: true }` makes the columns of every table of the app sortable
256
+ */
257
+ sortable: {
258
+ true: {},
259
+ false: {},
260
+ },
261
+ /**
262
+ * `searchAlign: 'center'` (only with `search`): the search in the middle between the controls at the start and
263
+ * the end of the toolbar – the end group stays at the end
264
+ */
265
+ searchCentered: {
266
+ true: { search: 'mx-auto', toolbarEnd: 'ms-0' },
267
+ },
268
+ /**
269
+ * Every other row tinted. The components mark each data row with `data-stripe="true|false"` by its place among
270
+ * the data rows of the page (also with virtual scrolling, group and detail rows not counted); rows without the
271
+ * attribute (plain HTML) follow their position (`:nth-child(even)`). Hover and selection win.
272
+ */
239
273
  striped: {
240
- true: { row: 'even:bg-bg-2/60' },
274
+ true: { row: '[&:where(:nth-child(even):not([data-stripe]),[data-stripe=true])]:bg-bg-2/60' },
241
275
  },
242
276
  /** Fixed height (`scrollHeight`): the table scrolls inside, header and footer stay visible */
243
277
  scrollable: {
@@ -249,6 +283,13 @@ export const dataTable = tv({
249
283
  filterCell: 'bg-card',
250
284
  },
251
285
  },
286
+ /**
287
+ * `scrollHeight="fill"`: the table is a flex item that takes the rest of its column, the rows scroll in the
288
+ * room left between toolbar and footer (contain: size – the rows do not stretch the page)
289
+ */
290
+ fill: {
291
+ true: { base: 'min-h-0 flex-1', scroll: 'min-h-0 flex-1 [contain:size]' },
292
+ },
252
293
  /** Keyboard navigation as a grid (`navigation="grid"`): the focused cell gets the focus ring */
253
294
  grid: {
254
295
  true: {
package/src/i18n.ts CHANGED
@@ -490,6 +490,8 @@ const en: Translations = {
490
490
  searchPlaceholder: 'Search …',
491
491
  filter: (header) => `Filter ${header}`,
492
492
  filterAll: 'All',
493
+ /** Placeholder of a text field in the filter row and the filter menu */
494
+ filterText: 'Filter …',
493
495
  columns: 'Columns',
494
496
  export: 'Export (CSV)',
495
497
  resize: (header) => `Width of ${header}`,
package/src/locales/ar.ts CHANGED
@@ -717,6 +717,7 @@ export const ar: Translations = {
717
717
  searchPlaceholder: 'بحث…',
718
718
  filter: (header) => `تصفية ${header}`,
719
719
  filterAll: 'الكل',
720
+ filterText: 'تصفية…',
720
721
  columns: 'الأعمدة',
721
722
  export: 'تصدير (CSV)',
722
723
  resize: (header) => `عرض ${header}`,
package/src/locales/cs.ts CHANGED
@@ -572,6 +572,7 @@ export const cs: Translations = {
572
572
  searchPlaceholder: 'Hledat…',
573
573
  filter: (header) => `Filtrovat sloupec ${header}`,
574
574
  filterAll: 'Vše',
575
+ filterText: 'Filtrovat…',
575
576
  columns: 'Sloupce',
576
577
  export: 'Exportovat (CSV)',
577
578
  resize: (header) => `Šířka sloupce ${header}`,
package/src/locales/de.ts CHANGED
@@ -511,6 +511,7 @@ export const de = {
511
511
  searchPlaceholder: 'Suchen …',
512
512
  filter: (header: string) => `${header} filtern`,
513
513
  filterAll: 'Alle',
514
+ filterText: 'Filtern …',
514
515
  columns: 'Spalten',
515
516
  export: 'Exportieren (CSV)',
516
517
  resize: (header: string) => `Breite von ${header}`,
package/src/locales/es.ts CHANGED
@@ -496,6 +496,7 @@ export const es: Translations = {
496
496
  searchPlaceholder: 'Buscar…',
497
497
  filter: (header) => `Filtrar ${header}`,
498
498
  filterAll: 'Todos',
499
+ filterText: 'Filtrar…',
499
500
  columns: 'Columnas',
500
501
  export: 'Exportar (CSV)',
501
502
  resize: (header) => `Ancho de ${header}`,
package/src/locales/fr.ts CHANGED
@@ -510,6 +510,7 @@ export const fr: Translations = {
510
510
  searchPlaceholder: 'Rechercher…',
511
511
  filter: (header) => `Filtrer ${header}`,
512
512
  filterAll: 'Tous',
513
+ filterText: 'Filtrer…',
513
514
  columns: 'Colonnes',
514
515
  export: 'Exporter (CSV)',
515
516
  resize: (header) => `Largeur de ${header}`,
package/src/locales/hu.ts CHANGED
@@ -532,6 +532,7 @@ export const hu: Translations = {
532
532
  searchPlaceholder: 'Keresés…',
533
533
  filter: (header) => `Szűrés: ${header}`,
534
534
  filterAll: 'Mind',
535
+ filterText: 'Szűrés…',
535
536
  columns: 'Oszlopok',
536
537
  export: 'Exportálás (CSV)',
537
538
  resize: (header) => `${header} szélessége`,
package/src/locales/it.ts CHANGED
@@ -523,6 +523,7 @@ export const it: Translations = {
523
523
  searchPlaceholder: 'Cerca…',
524
524
  filter: (header) => `Filtra ${header}`,
525
525
  filterAll: 'Tutti',
526
+ filterText: 'Filtra…',
526
527
  columns: 'Colonne',
527
528
  export: 'Esporta (CSV)',
528
529
  resize: (header) => `Larghezza di ${header}`,
package/src/locales/lv.ts CHANGED
@@ -530,6 +530,7 @@ export const lv: Translations = {
530
530
  searchPlaceholder: 'Meklēt…',
531
531
  filter: (header) => `Filtrēt: ${header}`,
532
532
  filterAll: 'Visi',
533
+ filterText: 'Filtrēt…',
533
534
  columns: 'Kolonnas',
534
535
  export: 'Eksportēt (CSV)',
535
536
  resize: (header) => `Kolonnas platums: ${header}`,
package/src/locales/nl.ts CHANGED
@@ -484,6 +484,7 @@ export const nl: Translations = {
484
484
  searchPlaceholder: 'Zoeken…',
485
485
  filter: (header) => `${header} filteren`,
486
486
  filterAll: 'Alle',
487
+ filterText: 'Filteren…',
487
488
  columns: 'Kolommen',
488
489
  export: 'Exporteren (CSV)',
489
490
  resize: (header) => `Breedte van ${header}`,
package/src/locales/pl.ts CHANGED
@@ -587,6 +587,7 @@ export const pl: Translations = {
587
587
  searchPlaceholder: 'Szukaj…',
588
588
  filter: (header) => `Filtruj: ${header}`,
589
589
  filterAll: 'Wszystkie',
590
+ filterText: 'Filtruj…',
590
591
  columns: 'Kolumny',
591
592
  export: 'Eksportuj (CSV)',
592
593
  resize: (header) => `Szerokość kolumny ${header}`,
package/src/locales/pt.ts CHANGED
@@ -502,6 +502,7 @@ export const pt: Translations = {
502
502
  searchPlaceholder: 'Pesquisar…',
503
503
  filter: (header) => `Filtrar ${header}`,
504
504
  filterAll: 'Todos',
505
+ filterText: 'Filtrar…',
505
506
  columns: 'Colunas',
506
507
  export: 'Exportar (CSV)',
507
508
  resize: (header) => `Largura de ${header}`,
package/src/locales/tr.ts CHANGED
@@ -480,6 +480,7 @@ export const tr: Translations = {
480
480
  searchPlaceholder: 'Ara…',
481
481
  filter: (header) => `Filtrele: ${header}`,
482
482
  filterAll: 'Tümü',
483
+ filterText: 'Filtrele…',
483
484
  columns: 'Sütunlar',
484
485
  export: 'Dışa aktar (CSV)',
485
486
  resize: (header) => `Genişlik: ${header}`,
@@ -9,6 +9,8 @@ export const drawer = tv({
9
9
  dismissArea: 'absolute inset-0',
10
10
  panel: 'max-w-[90%] bg-card',
11
11
  header: 'flex-row items-center justify-between gap-3 border-b border-line py-3 pr-3 pl-5 ios:pt-14',
12
+ /** Own content of the header row (`header`), before the title */
13
+ headerContent: 'min-w-0 shrink flex-row items-center gap-3',
12
14
  title: 'min-w-0 flex-1 font-sans-semibold text-base text-fg',
13
15
  close: ['size-11 items-center justify-center rounded-full', pressable, 'active:bg-line active:opacity-100'],
14
16
  closeIcon: 'size-4 text-muted',
@@ -10,6 +10,8 @@ const sheet = {
10
10
  sheet: 'max-h-[70%] rounded-t-2xl border-t border-line-2 bg-card pb-6',
11
11
  sheetHeader: 'flex-row items-center justify-between gap-3 border-b border-line py-3 pr-3 pl-5',
12
12
  sheetTitle: 'font-sans-semibold text-base text-fg',
13
+ /** Own content of the header row (Drawer `header`), before the title */
14
+ sheetHeaderContent: 'min-w-0 shrink flex-row items-center gap-3',
13
15
  close: ['size-8 items-center justify-center rounded-full', pressable, 'active:bg-line active:opacity-100'],
14
16
  closeIcon: 'size-4 text-muted',
15
17
  list: 'px-2 pt-2',
package/src/overlay.ts CHANGED
@@ -107,6 +107,8 @@ export const dialog = tv({
107
107
  'motion-safe:data-[state=open]:animate-dialog-in motion-safe:data-[state=closed]:animate-dialog-out',
108
108
  ],
109
109
  header: 'flex items-center justify-between gap-3 pt-4 pe-4 ps-[18px]',
110
+ /** Own content of the header row (`#header` / `header`), before the maximize and close buttons */
111
+ headerContent: 'flex min-w-0 flex-1 items-center gap-3',
110
112
  iconBox: 'flex size-9 items-center justify-center rounded-[var(--wc-dialog-icon-radius,10px)]',
111
113
  icon: 'size-[18px]',
112
114
  close: [
@@ -213,6 +215,8 @@ export const drawer = tv({
213
215
  ],
214
216
  header: 'flex items-start justify-between gap-3 border-b border-line py-4 pe-4 ps-5',
215
217
  text: 'flex min-w-0 flex-col gap-1',
218
+ /** Own content of the header row (`#header` / `header`), before the close button */
219
+ headerContent: 'flex min-w-0 flex-1 items-center gap-3',
216
220
  title: 'text-lg font-semibold tracking-[-0.02em]',
217
221
  description: 'text-sm leading-normal text-muted',
218
222
  close: [
@@ -228,6 +232,10 @@ export const drawer = tv({
228
232
  hideTitle: {
229
233
  true: { title: 'sr-only' },
230
234
  },
235
+ /** Own content in the header row (`#header` / `header`): centred with the close button */
236
+ customHeader: {
237
+ true: { header: 'items-center' },
238
+ },
231
239
  placement: {
232
240
  right: {
233
241
  positioner: 'justify-end',