@wirecore/wirelayer-recipes 0.9.0 → 0.11.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/avatar.js +5 -5
- package/dist/avatar.js.map +1 -1
- package/dist/collections.js +2 -2
- package/dist/collections.js.map +1 -1
- package/dist/controls.js +1 -1
- package/dist/controls.js.map +1 -1
- package/dist/hierarchy.d.ts.map +1 -1
- package/dist/hierarchy.js +22 -10
- package/dist/hierarchy.js.map +1 -1
- package/dist/i18n.d.ts +4 -0
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +4 -0
- package/dist/i18n.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/inputs.js +4 -4
- package/dist/inputs.js.map +1 -1
- package/dist/locales/ar.d.ts.map +1 -1
- package/dist/locales/ar.js +4 -0
- package/dist/locales/ar.js.map +1 -1
- package/dist/locales/cs.d.ts.map +1 -1
- package/dist/locales/cs.js +4 -0
- package/dist/locales/cs.js.map +1 -1
- package/dist/locales/de.d.ts +4 -0
- package/dist/locales/de.d.ts.map +1 -1
- package/dist/locales/de.js +4 -0
- package/dist/locales/de.js.map +1 -1
- package/dist/locales/es.d.ts.map +1 -1
- package/dist/locales/es.js +4 -0
- package/dist/locales/es.js.map +1 -1
- package/dist/locales/fr.d.ts.map +1 -1
- package/dist/locales/fr.js +4 -0
- package/dist/locales/fr.js.map +1 -1
- package/dist/locales/hu.d.ts.map +1 -1
- package/dist/locales/hu.js +4 -0
- package/dist/locales/hu.js.map +1 -1
- package/dist/locales/it.d.ts.map +1 -1
- package/dist/locales/it.js +4 -0
- package/dist/locales/it.js.map +1 -1
- package/dist/locales/lv.d.ts.map +1 -1
- package/dist/locales/lv.js +4 -0
- package/dist/locales/lv.js.map +1 -1
- package/dist/locales/nl.d.ts.map +1 -1
- package/dist/locales/nl.js +4 -0
- package/dist/locales/nl.js.map +1 -1
- package/dist/locales/pl.d.ts.map +1 -1
- package/dist/locales/pl.js +4 -0
- package/dist/locales/pl.js.map +1 -1
- package/dist/locales/pt-BR.d.ts.map +1 -1
- package/dist/locales/pt-BR.js +1 -0
- package/dist/locales/pt-BR.js.map +1 -1
- package/dist/locales/pt.d.ts.map +1 -1
- package/dist/locales/pt.js +4 -0
- package/dist/locales/pt.js.map +1 -1
- package/dist/locales/tr.d.ts.map +1 -1
- package/dist/locales/tr.js +4 -0
- package/dist/locales/tr.js.map +1 -1
- package/dist/media.js +2 -2
- package/dist/native/display.js +5 -5
- package/dist/native/display.js.map +1 -1
- package/dist/native/form.d.ts +7 -7
- package/dist/native/form.d.ts.map +1 -1
- package/dist/native/form.js +20 -8
- package/dist/native/form.js.map +1 -1
- package/dist/native/index.d.ts +1 -0
- package/dist/native/index.d.ts.map +1 -1
- package/dist/native/index.js +1 -0
- package/dist/native/index.js.map +1 -1
- package/dist/native/inputs.js +1 -1
- package/dist/native/inputs.js.map +1 -1
- package/dist/native/overlay.js +2 -2
- package/dist/native/overlay.js.map +1 -1
- package/dist/native/picker.d.ts.map +1 -1
- package/dist/native/picker.js +11 -3
- package/dist/native/picker.js.map +1 -1
- package/dist/native/tv.d.ts.map +1 -1
- package/dist/native/tv.js +2 -0
- package/dist/native/tv.js.map +1 -1
- package/dist/native/widgets.js +4 -4
- package/dist/native/widgets.js.map +1 -1
- package/dist/overlay.js +2 -2
- package/dist/overlay.js.map +1 -1
- package/dist/patterns.js +1 -1
- package/dist/patterns.js.map +1 -1
- package/dist/selection.js +1 -1
- package/dist/selection.js.map +1 -1
- package/dist/sortable.d.ts +7 -0
- package/dist/sortable.d.ts.map +1 -1
- package/dist/sortable.js +76 -17
- package/dist/sortable.js.map +1 -1
- package/dist/sources/avatar.css +1 -1
- package/dist/sources/cascadeSelect.css +1 -1
- package/dist/sources/checkbox.css +1 -1
- package/dist/sources/dialog.css +1 -1
- package/dist/sources/gallery.css +1 -1
- package/dist/sources/listbox.css +1 -1
- package/dist/sources/multiSelect.css +1 -1
- package/dist/sources/orderList.css +1 -1
- package/dist/sources/pickList.css +1 -1
- package/dist/sources/selectionCard.css +1 -1
- package/dist/sources/timeGrid.css +1 -1
- package/dist/sources/tree.css +1 -1
- package/dist/sources/treeSelect.css +1 -1
- package/dist/tour-steps.d.ts +21 -0
- package/dist/tour-steps.d.ts.map +1 -0
- package/dist/tour-steps.js +41 -0
- package/dist/tour-steps.js.map +1 -0
- package/dist/tv.js +2 -2
- package/dist/tv.js.map +1 -1
- package/package.json +1 -1
- package/src/avatar.ts +5 -5
- package/src/collections.ts +2 -2
- package/src/controls.ts +1 -1
- package/src/hierarchy.ts +22 -10
- package/src/i18n.ts +5 -0
- package/src/index.ts +1 -0
- package/src/inputs.ts +4 -4
- package/src/locales/ar.ts +5 -0
- package/src/locales/cs.ts +5 -0
- package/src/locales/de.ts +5 -0
- package/src/locales/es.ts +5 -0
- package/src/locales/fr.ts +5 -0
- package/src/locales/hu.ts +5 -0
- package/src/locales/it.ts +5 -0
- package/src/locales/lv.ts +5 -0
- package/src/locales/nl.ts +5 -0
- package/src/locales/pl.ts +5 -0
- package/src/locales/pt-BR.ts +2 -0
- package/src/locales/pt.ts +5 -0
- package/src/locales/tr.ts +5 -0
- package/src/media.ts +2 -2
- package/src/native/display.ts +5 -5
- package/src/native/form.ts +21 -8
- package/src/native/index.ts +1 -0
- package/src/native/inputs.ts +1 -1
- package/src/native/overlay.ts +2 -2
- package/src/native/picker.ts +11 -3
- package/src/native/tv.ts +2 -0
- package/src/native/widgets.ts +4 -4
- package/src/overlay.ts +2 -2
- package/src/patterns.ts +1 -1
- package/src/selection.ts +1 -1
- package/src/sortable.ts +78 -17
- package/src/tour-steps.ts +52 -0
- package/src/tv.ts +2 -2
package/dist/sources/dialog.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe dialog – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("[--wc-dialog-w:320px] [--wc-dialog-w:400px] [--wc-dialog-w:560px] [--wc-dialog-w:800px] aria-busy:cursor-wait bg-[var(--wc-backdrop,rgb(0_0_0/0.6))] bg-card bg-danger/14 bg-info/14 bg-line bg-success/14 bg-warn/14 border border-0 border-b border-line border-line-2 border-t break-words cursor-move cursor-pointer disabled:cursor-not-allowed disabled:opacity-40 duration-150 fixed flex flex-1 flex-col flex-wrap focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 font-semibold forced-colors:border forced-colors:border-[ButtonBorder] gap-1.5 gap-2 gap-3 h-full hover:bg-line hover:text-fg inset-0 items-center items-end items-start justify-between justify-center justify-end justify-start leading-[1.55] max-h-full max-h-none max-sm:max-w-none max-w-[var(--wc-dialog-w,400px)] max-w-none min-h-0 min-w-0 motion-reduce:transition-none motion-safe:data-[state=closed]:animate-dialog-out motion-safe:data-[state=closed]:animate-fade-out motion-safe:data-[state=open]:animate-dialog-in motion-safe:data-[state=open]:animate-fade-in ms-0 ms-auto outline-none overflow-visible overflow-y-auto p-0 p-4 pb-3 pb-[18px] pe-4 ps-[18px] pt-3 pt-4 px-4 px-[18px] py-3 rounded-[10px] rounded-
|
|
2
|
+
@source inline("[--wc-dialog-w:320px] [--wc-dialog-w:400px] [--wc-dialog-w:560px] [--wc-dialog-w:800px] aria-busy:cursor-wait bg-[var(--wc-backdrop,rgb(0_0_0/0.6))] bg-card bg-danger/14 bg-info/14 bg-line bg-success/14 bg-warn/14 border border-0 border-b border-line border-line-2 border-t break-words cursor-move cursor-pointer disabled:cursor-not-allowed disabled:opacity-40 duration-150 fixed flex flex-1 flex-col flex-wrap focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 font-semibold forced-colors:border forced-colors:border-[ButtonBorder] gap-1.5 gap-2 gap-3 h-full hover:bg-line hover:text-fg inset-0 items-center items-end items-start justify-between justify-center justify-end justify-start leading-[1.55] max-h-full max-h-none max-sm:max-w-none max-w-[var(--wc-dialog-w,400px)] max-w-none min-h-0 min-w-0 motion-reduce:transition-none motion-safe:data-[state=closed]:animate-dialog-out motion-safe:data-[state=closed]:animate-fade-out motion-safe:data-[state=open]:animate-dialog-in motion-safe:data-[state=open]:animate-fade-in ms-0 ms-auto outline-none overflow-visible overflow-y-auto p-0 p-4 pb-3 pb-[18px] pe-4 ps-[18px] pt-3 pt-4 px-4 px-[18px] py-3 rounded-[var(--wc-dialog-icon-radius,10px)] rounded-dialog rounded-full rounded-lg rounded-none select-none shadow-[0_24px_48px_-20px_rgba(0,0,0,.55)] shrink-0 size-4 size-7 size-8 size-9 size-[18px] sr-only text-base text-danger text-fg text-info text-lg text-muted text-sm text-success text-warn touch-none tracking-[-0.02em] transition-[opacity,background-color,border-color,color] w-full z-50");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-dialog: 1;
|
|
5
5
|
}
|
package/dist/sources/gallery.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe gallery – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("[&:fullscreen]:border-0 [&:fullscreen]:max-w-none [&:fullscreen]:rounded-none absolute aria-current:opacity-100 aria-current:ring-2 aria-current:ring-primary aspect-video bg-bg-2 bg-black bg-card bg-line border border-line-2 cursor-pointer data-panning:cursor-grabbing data-panning:transition-none data-zoomed:cursor-grab fixed flex flex-col flex-wrap focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 font-semibold gap-1 gap-2 gap-3 h-14 h-[70vh] hover:opacity-100 inset-0 inset-e-3 items-center justify-between justify-center max-h-[75vh] max-h-full max-w-6xl max-w-full min-h-0 min-w-0 min-w-14 motion-safe:data-[state=closed]:animate-dialog-out motion-safe:data-[state=open]:animate-dialog-in motion-safe:transition-opacity motion-safe:transition-transform object-contain object-cover opacity-70 outline-none overflow-hidden overflow-x-auto overflow-y-auto p-1 p-4 relative rounded-
|
|
2
|
+
@source inline("[&:fullscreen]:border-0 [&:fullscreen]:max-w-none [&:fullscreen]:rounded-none absolute aria-current:opacity-100 aria-current:ring-2 aria-current:ring-primary aspect-video bg-bg-2 bg-black bg-card bg-line border border-line-2 cursor-pointer data-panning:cursor-grabbing data-panning:transition-none data-zoomed:cursor-grab fixed flex flex-col flex-wrap focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 font-semibold gap-1 gap-2 gap-3 h-14 h-[70vh] hover:opacity-100 inset-0 inset-e-3 items-center justify-between justify-center max-h-[75vh] max-h-full max-w-6xl max-w-full min-h-0 min-w-0 min-w-14 motion-safe:data-[state=closed]:animate-dialog-out motion-safe:data-[state=open]:animate-dialog-in motion-safe:transition-opacity motion-safe:transition-transform object-contain object-cover opacity-70 outline-none overflow-hidden overflow-x-auto overflow-y-auto p-1 p-4 relative rounded-dialog rounded-md rounded-xl rtl:[&_svg]:-scale-x-100 select-none shrink-0 size-full sm:p-8 sr-only tabular-nums text-center text-fg text-lg text-muted text-sm text-xs top-3 touch-none tracking-[-0.02em] w-20 w-full will-change-transform z-50");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-gallery: 1;
|
|
5
5
|
}
|
package/dist/sources/listbox.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe listbox – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("bg-bg border border-line-strong cursor-pointer data-[state=checked]:bg-line data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=indeterminate]:bg-primary data-[state=indeterminate]:border-primary data-description:h-auto data-description:min-h-9 data-description:py-1.5 data-disabled:cursor-not-allowed data-disabled:opacity-40 data-disabled:opacity-60 data-highlighted:bg-line disabled:cursor-not-allowed disabled:opacity-60 flex flex-1 flex-col focus-visible:-outline-offset-2 focus-visible:border-primary focus-visible:outline-2 focus-visible:outline-fg focus:border-primary font-medium font-mono forced-colors:data-[state=checked]:bg-[Highlight] forced-colors:data-[state=checked]:forced-color-adjust-none forced-colors:data-[state=checked]:text-[HighlightText] forced-colors:data-[state=indeterminate]:bg-[Highlight] forced-colors:data-[state=indeterminate]:forced-color-adjust-none forced-colors:data-[state=indeterminate]:text-[HighlightText] forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:text-[HighlightText] gap-1.5 gap-2 h-8 h-9 h-px hover:bg-line items-center justify-center max-h-72 min-w-0 motion-safe:animate-spin outline-none overflow-y-auto p-1 pb-1 placeholder:text-muted pt-2 px-2.5 py-2 rounded-[4px] rounded-lg rounded-md shrink-0 size-3 size-4 size-[15px] sr-only stroke-3 text-[11px] text-[13px] text-fg text-muted text-on-primary text-sm text-start text-xs tracking-label truncate uppercase w-full");
|
|
2
|
+
@source inline("bg-bg border border-line-strong cursor-pointer data-[state=checked]:bg-line data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=indeterminate]:bg-primary data-[state=indeterminate]:border-primary data-description:h-auto data-description:min-h-9 data-description:py-1.5 data-disabled:cursor-not-allowed data-disabled:opacity-40 data-disabled:opacity-60 data-highlighted:bg-line disabled:cursor-not-allowed disabled:opacity-60 flex flex-1 flex-col focus-visible:-outline-offset-2 focus-visible:border-primary focus-visible:outline-2 focus-visible:outline-fg focus:border-primary font-medium font-mono forced-colors:data-[state=checked]:bg-[Highlight] forced-colors:data-[state=checked]:forced-color-adjust-none forced-colors:data-[state=checked]:text-[HighlightText] forced-colors:data-[state=indeterminate]:bg-[Highlight] forced-colors:data-[state=indeterminate]:forced-color-adjust-none forced-colors:data-[state=indeterminate]:text-[HighlightText] forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:text-[HighlightText] gap-1.5 gap-2 h-8 h-9 h-px hover:bg-line items-center justify-center max-h-72 min-w-0 motion-safe:animate-spin outline-none overflow-y-auto p-1 pb-1 placeholder:text-muted pt-2 px-2.5 py-2 rounded-[var(--wc-checkbox-radius,4px)] rounded-lg rounded-md shrink-0 size-3 size-4 size-[15px] sr-only stroke-3 text-[11px] text-[13px] text-fg text-muted text-on-primary text-sm text-start text-xs tracking-label truncate uppercase w-full");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-listbox: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe multiSelect – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("-mt-1 -mx-1 -translate-y-1/2 absolute bg-bg bg-card bg-line border border-b border-line border-line-2 border-line-strong cursor-pointer data-[placeholder-shown]:text-muted 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=checked]:bg-line data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=indeterminate]:bg-primary data-[state=indeterminate]:border-primary data-[state=open]:border-primary data-[state=open]:rotate-180 data-description:h-auto data-description:min-h-9 data-description:py-1.5 data-disabled:bg-bg-2 data-disabled:border-line data-disabled:cursor-not-allowed data-disabled:opacity-40 data-disabled:text-muted data-highlighted:bg-line data-invalid:border-danger flex flex-1 flex-col flex-wrap focus-visible:-outline-offset-2 focus-visible:border-primary focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary focus:border-primary font-mono forced-colors:data-[state=checked]:bg-[Highlight] forced-colors:data-[state=checked]:forced-color-adjust-none forced-colors:data-[state=checked]:text-[HighlightText] forced-colors:data-[state=indeterminate]:bg-[Highlight] forced-colors:data-[state=indeterminate]:forced-color-adjust-none forced-colors:data-[state=indeterminate]:text-[HighlightText] forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:text-[HighlightText] gap-1 gap-2 gap-2.5 h-7 h-8 h-9 h-[var(--wc-control-h-lg,3rem)] h-[var(--wc-control-h-md,2.5rem)] h-[var(--wc-control-h-sm,2rem)] h-px hover:bg-line hover:opacity-100 hover:text-fg inline-flex inset-e-8 items-center justify-between justify-center leading-normal max-h-72 max-w-full mb-1 min-h-[var(--wc-control-h-lg,3rem)] min-h-[var(--wc-control-h-md,2.5rem)] min-h-[var(--wc-control-h-sm,2rem)] min-w-0 min-w-16 motion-reduce:transition-none motion-safe:animate-spin motion-safe:data-[state=closed]:animate-pop-out motion-safe:data-[state=open]:animate-pop-in ms-7 opacity-70 outline-none overflow-y-auto p-1 pb-1 pe-0.5 pe-2 pe-2.5 pe-3 placeholder:text-muted ps-1.5 ps-2 ps-2.5 ps-3 ps-4 pt-2 px-2.5 py-0.5 py-2 py-[5px] py-[9px] relative rounded rounded-[4px] rounded-[var(--wc-control-radius-lg,10px)] rounded-[var(--wc-control-radius-md,0.5rem)] rounded-[var(--wc-control-radius-sm,0.375rem)] rounded-full rounded-lg rounded-md rounded-popup shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] shrink-0 size-3 size-3.5 size-4 size-6 size-[15px] size-full sr-only sticky stroke-3 text-[11px] text-[length:var(--wc-control-text-lg,1rem)] text-[length:var(--wc-control-text-md,15px)] text-[length:var(--wc-control-text-sm,13px)] text-current text-fg text-muted text-on-primary text-sm text-start text-xs top-0 top-1/2 tracking-label transition-colors transition-transform truncate uppercase w-full z-50 z-[1]");
|
|
2
|
+
@source inline("-mt-1 -mx-1 -translate-y-1/2 absolute bg-bg bg-card bg-line border border-b border-line border-line-2 border-line-strong cursor-pointer data-[placeholder-shown]:text-muted 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=checked]:bg-line data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=indeterminate]:bg-primary data-[state=indeterminate]:border-primary data-[state=open]:border-primary data-[state=open]:rotate-180 data-description:h-auto data-description:min-h-9 data-description:py-1.5 data-disabled:bg-bg-2 data-disabled:border-line data-disabled:cursor-not-allowed data-disabled:opacity-40 data-disabled:text-muted data-highlighted:bg-line data-invalid:border-danger flex flex-1 flex-col flex-wrap focus-visible:-outline-offset-2 focus-visible:border-primary focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary focus:border-primary font-mono forced-colors:data-[state=checked]:bg-[Highlight] forced-colors:data-[state=checked]:forced-color-adjust-none forced-colors:data-[state=checked]:text-[HighlightText] forced-colors:data-[state=indeterminate]:bg-[Highlight] forced-colors:data-[state=indeterminate]:forced-color-adjust-none forced-colors:data-[state=indeterminate]:text-[HighlightText] forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:text-[HighlightText] gap-1 gap-2 gap-2.5 h-7 h-8 h-9 h-[var(--wc-control-h-lg,3rem)] h-[var(--wc-control-h-md,2.5rem)] h-[var(--wc-control-h-sm,2rem)] h-px hover:bg-line hover:opacity-100 hover:text-fg inline-flex inset-e-8 items-center justify-between justify-center leading-normal max-h-72 max-w-full mb-1 min-h-[var(--wc-control-h-lg,3rem)] min-h-[var(--wc-control-h-md,2.5rem)] min-h-[var(--wc-control-h-sm,2rem)] min-w-0 min-w-16 motion-reduce:transition-none motion-safe:animate-spin motion-safe:data-[state=closed]:animate-pop-out motion-safe:data-[state=open]:animate-pop-in ms-7 opacity-70 outline-none overflow-y-auto p-1 pb-1 pe-0.5 pe-2 pe-2.5 pe-3 placeholder:text-muted ps-1.5 ps-2 ps-2.5 ps-3 ps-4 pt-2 px-2.5 py-0.5 py-2 py-[5px] py-[9px] relative rounded rounded-[var(--wc-checkbox-radius,4px)] rounded-[var(--wc-control-radius-lg,10px)] rounded-[var(--wc-control-radius-md,0.5rem)] rounded-[var(--wc-control-radius-sm,0.375rem)] rounded-full rounded-lg rounded-md rounded-popup shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] shrink-0 size-3 size-3.5 size-4 size-6 size-[15px] size-full sr-only sticky stroke-3 text-[11px] text-[length:var(--wc-control-text-lg,1rem)] text-[length:var(--wc-control-text-md,15px)] text-[length:var(--wc-control-text-sm,13px)] text-current text-fg text-muted text-on-primary text-sm text-start text-xs top-0 top-1/2 tracking-label transition-colors transition-transform truncate uppercase w-full z-50 z-[1]");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-multiSelect: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe orderList – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("data-drop:outline-2 data-drop:outline-dashed data-drop:outline-offset-2 data-drop:outline-primary flex flex-1 flex-col gap-1 gap-2 items-start min-w-0 pt-6 rounded-[10px] sr-only");
|
|
2
|
+
@source inline("data-drop:outline-2 data-drop:outline-dashed data-drop:outline-offset-2 data-drop:outline-primary flex flex-1 flex-col gap-1 gap-2 items-start min-w-0 pt-6 rounded-[var(--wc-control-radius-lg,10px)] sr-only");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-orderList: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe pickList – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("data-drop:outline-2 data-drop:outline-dashed data-drop:outline-offset-2 data-drop:outline-primary flex flex-col gap-1 gap-3 grid grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-start min-w-0 rounded-[10px] rtl:[&_svg]:-scale-x-100 self-center sr-only");
|
|
2
|
+
@source inline("data-drop:outline-2 data-drop:outline-dashed data-drop:outline-offset-2 data-drop:outline-primary flex flex-col gap-1 gap-3 grid grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-start min-w-0 rounded-[var(--wc-control-radius-lg,10px)] rtl:[&_svg]:-scale-x-100 self-center sr-only");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-pickList: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe selectionCard – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("accent-primary after:rounded-full after:size-2 bg-bg-2 bg-card border border-line-strong cursor-pointer data-[state=checked]:after:bg-primary data-[state=checked]:bg-primary data-[state=checked]:bg-transparent data-[state=checked]:border-primary data-[state=checked]:shadow-[inset_0_0_0_1px_var(--color-primary)] data-disabled:cursor-not-allowed data-disabled:hover:border-line-strong data-disabled:opacity-40 data-focus-visible:outline-2 data-focus-visible:outline-fg data-focus-visible:outline-offset-2 data-invalid:border-danger disabled:cursor-not-allowed flex flex-1 flex-col flex-wrap font-semibold forced-colors:data-[state=checked]:after:bg-[Highlight] forced-colors:data-[state=checked]:bg-[Highlight] forced-colors:data-[state=checked]:border-[Highlight] forced-colors:data-[state=checked]:forced-color-adjust-none forced-colors:data-[state=checked]:outline-2 forced-colors:data-[state=checked]:outline-[Highlight] forced-colors:data-[state=checked]:text-[HighlightText] gap-0.5 gap-3 gap-x-3 gap-y-0.5 has-[input:checked]:border-primary has-[input:checked]:shadow-[inset_0_0_0_1px_var(--color-primary)] has-[input:disabled]:cursor-not-allowed has-[input:disabled]:opacity-40 has-[input:focus-visible]:outline-2 has-[input:focus-visible]:outline-fg has-[input:focus-visible]:outline-offset-2 hover:border-fg items-baseline items-center items-start justify-between justify-center leading-snug m-0 min-w-0 motion-reduce:transition-none p-4 relative rounded-[5px] rounded-full rounded-lg rounded-xl shrink-0 size-9 size-[13px] size-[18px] stroke-3 tabular-nums text-[13px] text-fg text-muted text-on-primary text-sm transition-colors");
|
|
2
|
+
@source inline("accent-primary after:rounded-full after:size-2 bg-bg-2 bg-card border border-line-strong cursor-pointer data-[state=checked]:after:bg-primary data-[state=checked]:bg-primary data-[state=checked]:bg-transparent data-[state=checked]:border-primary data-[state=checked]:shadow-[inset_0_0_0_1px_var(--color-primary)] data-disabled:cursor-not-allowed data-disabled:hover:border-line-strong data-disabled:opacity-40 data-focus-visible:outline-2 data-focus-visible:outline-fg data-focus-visible:outline-offset-2 data-invalid:border-danger disabled:cursor-not-allowed flex flex-1 flex-col flex-wrap font-semibold forced-colors:data-[state=checked]:after:bg-[Highlight] forced-colors:data-[state=checked]:bg-[Highlight] forced-colors:data-[state=checked]:border-[Highlight] forced-colors:data-[state=checked]:forced-color-adjust-none forced-colors:data-[state=checked]:outline-2 forced-colors:data-[state=checked]:outline-[Highlight] forced-colors:data-[state=checked]:text-[HighlightText] gap-0.5 gap-3 gap-x-3 gap-y-0.5 has-[input:checked]:border-primary has-[input:checked]:shadow-[inset_0_0_0_1px_var(--color-primary)] has-[input:disabled]:cursor-not-allowed has-[input:disabled]:opacity-40 has-[input:focus-visible]:outline-2 has-[input:focus-visible]:outline-fg has-[input:focus-visible]:outline-offset-2 hover:border-fg items-baseline items-center items-start justify-between justify-center leading-snug m-0 min-w-0 motion-reduce:transition-none p-4 relative rounded-[var(--wc-checkbox-radius,5px)] rounded-full rounded-lg rounded-xl shrink-0 size-9 size-[13px] size-[18px] stroke-3 tabular-nums text-[13px] text-fg text-muted text-on-primary text-sm transition-colors");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-selectionCard: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe timeGrid – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("aria-checked:bg-primary aria-checked:border-primary aria-checked:text-on-primary aria-disabled:border-line aria-disabled:cursor-not-allowed aria-disabled:hover:border-line aria-disabled:line-through aria-disabled:text-muted aria-pressed:bg-primary aria-pressed:border-primary aria-pressed:text-on-primary bg-bg border border-line-strong cursor-pointer data-in-range:not-aria-pressed:bg-line data-in-range:not-aria-pressed:border-primary flex flex-col focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 forced-colors:aria-checked:bg-[Highlight] forced-colors:aria-checked:forced-color-adjust-none forced-colors:aria-checked:text-[HighlightText] forced-colors:aria-pressed:bg-[Highlight] forced-colors:aria-pressed:forced-color-adjust-none forced-colors:aria-pressed:text-[HighlightText] gap-1.5 gap-2 gap-2.5 grid grid-cols-[repeat(auto-fill,minmax(4.5rem,1fr))] grid-cols-[repeat(auto-fill,minmax(5.5rem,1fr))] grid-cols-[repeat(auto-fill,minmax(6.5rem,1fr))] h-10 h-12 h-8 hover:border-fg items-center justify-center min-h-10 motion-reduce:transition-none motion-safe:animate-spin px-2 px-3 rounded-[10px] rounded-
|
|
2
|
+
@source inline("aria-checked:bg-primary aria-checked:border-primary aria-checked:text-on-primary aria-disabled:border-line aria-disabled:cursor-not-allowed aria-disabled:hover:border-line aria-disabled:line-through aria-disabled:text-muted aria-pressed:bg-primary aria-pressed:border-primary aria-pressed:text-on-primary bg-bg border border-line-strong cursor-pointer data-in-range:not-aria-pressed:bg-line data-in-range:not-aria-pressed:border-primary flex flex-col focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 forced-colors:aria-checked:bg-[Highlight] forced-colors:aria-checked:forced-color-adjust-none forced-colors:aria-checked:text-[HighlightText] forced-colors:aria-pressed:bg-[Highlight] forced-colors:aria-pressed:forced-color-adjust-none forced-colors:aria-pressed:text-[HighlightText] gap-1.5 gap-2 gap-2.5 grid grid-cols-[repeat(auto-fill,minmax(4.5rem,1fr))] grid-cols-[repeat(auto-fill,minmax(5.5rem,1fr))] grid-cols-[repeat(auto-fill,minmax(6.5rem,1fr))] h-10 h-12 h-8 hover:border-fg items-center justify-center min-h-10 motion-reduce:transition-none motion-safe:animate-spin px-2 px-3 rounded-[var(--wc-control-radius-lg,10px)] rounded-[var(--wc-control-radius-md,0.5rem)] rounded-[var(--wc-control-radius-sm,0.375rem)] size-4 tabular-nums text-base text-fg text-muted text-sm text-xs transition-colors");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-timeGrid: 1;
|
|
5
5
|
}
|
package/dist/sources/tree.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe tree – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("absolute before:absolute before:bg-line-2 before:inset-s-[calc((var(--depth)-1)*20px+15.5px)] before:inset-y-0 before:pointer-events-none before:w-px bg-bg border border-line-strong cursor-pointer data-[drop=after]:shadow-[inset_0_-2px_0_var(--wc-primary)] data-[drop=before]:shadow-[inset_0_2px_0_var(--wc-primary)] data-[drop=inside]:bg-primary/10 data-[drop=inside]:shadow-[inset_0_0_0_1px_var(--wc-primary)] data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=indeterminate]:bg-primary data-[state=indeterminate]:border-primary data-[state=open]:rotate-90 data-cut:-outline-offset-1 data-cut:opacity-60 data-cut:outline-1 data-cut:outline-dashed data-cut:outline-muted data-disabled:cursor-not-allowed data-disabled:opacity-40 data-dragging:opacity-50 data-selected:bg-line flex flex-1 flex-col flex-wrap focus-visible:-outline-offset-2 focus-visible:outline-2 focus-visible:outline-fg focus:border-primary font-medium forced-colors:before:bg-[CanvasText] forced-colors:data-selected:bg-[Highlight] forced-colors:data-selected:forced-color-adjust-none forced-colors:data-selected:text-[HighlightText] gap-1.5 gap-2 h-8 hover:bg-bg-2 inset-s-0 items-center justify-center min-w-0 motion-reduce:transition-none motion-safe:animate-spin outline-none overflow-y-auto overscroll-contain pe-2 placeholder:text-muted ps-[calc((var(--depth)-1)*20px+32px)] ps-[calc((var(--depth)-1)*20px+8px)] ps-[calc(var(--depth)*20px+32px)] px-2 px-2.5 py-3 relative rounded-[4px] rounded-md rtl:not-data-[state=open]:-scale-x-100 select-none shrink-0 size-3 size-4 size-full sr-only stroke-3 text-[13px] text-danger text-fg text-muted text-on-primary text-sm top-0 transition-transform truncate w-full");
|
|
2
|
+
@source inline("absolute before:absolute before:bg-line-2 before:inset-s-[calc((var(--depth)-1)*20px+15.5px)] before:inset-y-0 before:pointer-events-none before:w-px bg-bg border border-line-strong cursor-pointer data-[drop=after]:shadow-[inset_0_-2px_0_var(--wc-primary)] data-[drop=before]:shadow-[inset_0_2px_0_var(--wc-primary)] data-[drop=inside]:bg-primary/10 data-[drop=inside]:shadow-[inset_0_0_0_1px_var(--wc-primary)] data-[state=checked]:bg-primary data-[state=checked]:border-primary data-[state=indeterminate]:bg-primary data-[state=indeterminate]:border-primary data-[state=open]:rotate-90 data-cut:-outline-offset-1 data-cut:opacity-60 data-cut:outline-1 data-cut:outline-dashed data-cut:outline-muted data-disabled:cursor-not-allowed data-disabled:opacity-40 data-dragging:opacity-50 data-selected:bg-line flex flex-1 flex-col flex-wrap focus-visible:-outline-offset-2 focus-visible:outline-2 focus-visible:outline-fg focus:border-primary font-medium forced-colors:before:bg-[CanvasText] forced-colors:data-selected:bg-[Highlight] forced-colors:data-selected:forced-color-adjust-none forced-colors:data-selected:text-[HighlightText] gap-1.5 gap-2 h-8 hover:bg-bg-2 inset-s-0 items-center justify-center min-w-0 motion-reduce:transition-none motion-safe:animate-spin outline-none overflow-y-auto overscroll-contain pe-2 placeholder:text-muted ps-[calc((var(--depth)-1)*20px+32px)] ps-[calc((var(--depth)-1)*20px+8px)] ps-[calc(var(--depth)*20px+32px)] px-2 px-2.5 py-3 relative rounded-[var(--wc-checkbox-radius,4px)] rounded-md rtl:not-data-[state=open]:-scale-x-100 select-none shrink-0 size-3 size-4 size-full sr-only stroke-3 text-[13px] text-danger text-fg text-muted text-on-primary text-sm top-0 transition-transform truncate w-full");
|
|
3
3
|
@source inline('before:content-[""]');
|
|
4
4
|
:root {
|
|
5
5
|
--wc-recipe-tree: 1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe treeSelect – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("-mt-1 -mx-1 -translate-y-1/2 absolute bg-bg bg-card bg-line border border-b border-line border-line-2 border-line-strong cursor-pointer 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]:border-primary data-[state=open]:rotate-180 data-disabled:bg-bg-2 data-disabled:border-line data-disabled:cursor-not-allowed data-disabled:text-muted data-invalid:border-danger data-placeholder-shown:text-muted flex flex-1 flex-col flex-wrap focus-visible:border-primary focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary focus:border-primary gap-1 gap-2 gap-2.5 h-10 h-12 h-7 h-8 h-9 hover:bg-line hover:opacity-100 hover:text-fg inline-flex inset-e-8 items-center justify-between justify-center max-h-80 max-w-full mb-1 min-h-10 min-h-12 min-h-8 min-w-0 min-w-16 motion-reduce:transition-none motion-safe:animate-spin motion-safe:data-[state=closed]:animate-pop-out motion-safe:data-[state=open]:animate-pop-in ms-7 opacity-70 outline-none overflow-y-auto p-1 pe-0.5 pe-2 pe-2.5 pe-3 placeholder:text-muted ps-1.5 ps-2 ps-2.5 ps-3 ps-4 px-2 px-2.5 py-0.5 py-[5px] py-[9px] relative rounded rounded-[10px] rounded-
|
|
2
|
+
@source inline("-mt-1 -mx-1 -translate-y-1/2 absolute bg-bg bg-card bg-line border border-b border-line border-line-2 border-line-strong cursor-pointer 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]:border-primary data-[state=open]:rotate-180 data-disabled:bg-bg-2 data-disabled:border-line data-disabled:cursor-not-allowed data-disabled:text-muted data-invalid:border-danger data-placeholder-shown:text-muted flex flex-1 flex-col flex-wrap focus-visible:border-primary focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary focus:border-primary gap-1 gap-2 gap-2.5 h-10 h-12 h-7 h-8 h-9 hover:bg-line hover:opacity-100 hover:text-fg inline-flex inset-e-8 items-center justify-between justify-center max-h-80 max-w-full mb-1 min-h-10 min-h-12 min-h-8 min-w-0 min-w-16 motion-reduce:transition-none motion-safe:animate-spin motion-safe:data-[state=closed]:animate-pop-out motion-safe:data-[state=open]:animate-pop-in ms-7 opacity-70 outline-none overflow-y-auto p-1 pe-0.5 pe-2 pe-2.5 pe-3 placeholder:text-muted ps-1.5 ps-2 ps-2.5 ps-3 ps-4 px-2 px-2.5 py-0.5 py-[5px] py-[9px] relative rounded rounded-[var(--wc-control-radius-lg,10px)] rounded-[var(--wc-control-radius-md,0.5rem)] rounded-[var(--wc-control-radius-sm,0.375rem)] rounded-full rounded-md rounded-popup shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] shrink-0 size-3.5 size-4 size-6 size-full sr-only sticky tabular-nums text-[13px] text-[15px] text-base text-current text-fg text-muted text-sm text-start top-0 top-1/2 transition-colors transition-transform truncate w-[var(--reference-width)] w-full z-50 z-[1]");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-treeSelect: 1;
|
|
5
5
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** What a step needs before it is shown */
|
|
2
|
+
export interface TourStepPreparation<E> {
|
|
3
|
+
/** Runs first, may be async */
|
|
4
|
+
before?: () => void | Promise<void>;
|
|
5
|
+
/** Finds the target; without it the step has none */
|
|
6
|
+
find?: () => E | null | undefined;
|
|
7
|
+
/** How long (ms) to wait for the target after `before` (default 0: look once) */
|
|
8
|
+
waitFor?: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Prepares a step: runs `before`, then looks for the target until it is there or `waitFor` has passed. `ready` gets
|
|
12
|
+
* the target – null without one or when it did not appear (`missing`). Returns the cancel function (the tour moved
|
|
13
|
+
* on or ended): `ready` is not called after it.
|
|
14
|
+
*/
|
|
15
|
+
export declare function prepareTourStep<E>(step: TourStepPreparation<E>, ready: (target: E | null, missing: boolean) => void): () => void;
|
|
16
|
+
/**
|
|
17
|
+
* The step to go to instead of a skipped one at `index`, in the direction the tour was moving (from `current`):
|
|
18
|
+
* the next or previous index, `'end'` past the last step, undefined before the first (stay)
|
|
19
|
+
*/
|
|
20
|
+
export declare function tourSkipTarget(index: number, current: number, count: number): number | 'end' | undefined;
|
|
21
|
+
//# sourceMappingURL=tour-steps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tour-steps.d.ts","sourceRoot":"","sources":["../src/tour-steps.ts"],"names":[],"mappings":"AAGA,2CAA2C;AAC3C,MAAM,WAAW,mBAAmB,CAAC,CAAC;IAClC,+BAA+B;IAC/B,MAAM,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpC,qDAAqD;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,iFAAiF;IACjF,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAID;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAC7B,IAAI,EAAE,mBAAmB,CAAC,CAAC,CAAC,EAC5B,KAAK,EAAE,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,GACpD,MAAM,IAAI,CAmBZ;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,CAGxG"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// Steps of a tour (Tour) that need the app first: `before` runs (e.g. switches a tab), then the target is awaited
|
|
2
|
+
// for up to `waitFor` ms. Framework-neutral – Vue, React and React Native show the step once it is ready.
|
|
3
|
+
const POLL = 50;
|
|
4
|
+
/**
|
|
5
|
+
* Prepares a step: runs `before`, then looks for the target until it is there or `waitFor` has passed. `ready` gets
|
|
6
|
+
* the target – null without one or when it did not appear (`missing`). Returns the cancel function (the tour moved
|
|
7
|
+
* on or ended): `ready` is not called after it.
|
|
8
|
+
*/
|
|
9
|
+
export function prepareTourStep(step, ready) {
|
|
10
|
+
let cancelled = false;
|
|
11
|
+
let timer;
|
|
12
|
+
const look = (until) => {
|
|
13
|
+
if (cancelled)
|
|
14
|
+
return;
|
|
15
|
+
const target = step.find?.() ?? null;
|
|
16
|
+
if (target || !step.find)
|
|
17
|
+
return ready(target, false);
|
|
18
|
+
if (Date.now() >= until)
|
|
19
|
+
return ready(null, true);
|
|
20
|
+
timer = setTimeout(() => look(until), Math.min(POLL, until - Date.now()));
|
|
21
|
+
};
|
|
22
|
+
Promise.resolve()
|
|
23
|
+
.then(step.before)
|
|
24
|
+
// A failing `before` does not stop the tour – the target decides
|
|
25
|
+
.catch((error) => console.error(error))
|
|
26
|
+
.then(() => look(Date.now() + (step.waitFor ?? 0)));
|
|
27
|
+
return () => {
|
|
28
|
+
cancelled = true;
|
|
29
|
+
clearTimeout(timer);
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The step to go to instead of a skipped one at `index`, in the direction the tour was moving (from `current`):
|
|
34
|
+
* the next or previous index, `'end'` past the last step, undefined before the first (stay)
|
|
35
|
+
*/
|
|
36
|
+
export function tourSkipTarget(index, current, count) {
|
|
37
|
+
if (index > current)
|
|
38
|
+
return index + 1 < count ? index + 1 : 'end';
|
|
39
|
+
return index > 0 ? index - 1 : undefined;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=tour-steps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tour-steps.js","sourceRoot":"","sources":["../src/tour-steps.ts"],"names":[],"mappings":"AAAA,kHAAkH;AAClH,0GAA0G;AAY1G,MAAM,IAAI,GAAG,EAAE,CAAC;AAEhB;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAC3B,IAA4B,EAC5B,KAAmD;IAEnD,IAAI,SAAS,GAAG,KAAK,CAAC;IACtB,IAAI,KAAgD,CAAC;IACrD,MAAM,IAAI,GAAG,CAAC,KAAa,EAAE,EAAE;QAC3B,IAAI,SAAS;YAAE,OAAO;QACtB,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,IAAI,CAAC;QACrC,IAAI,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI;YAAE,OAAO,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QACtD,IAAI,IAAI,CAAC,GAAG,EAAE,IAAI,KAAK;YAAE,OAAO,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAClD,KAAK,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAC9E,CAAC,CAAC;IACF,OAAO,CAAC,OAAO,EAAE;SACZ,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;QAClB,iEAAiE;SAChE,KAAK,CAAC,CAAC,KAAc,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC/C,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACxD,OAAO,GAAG,EAAE;QACR,SAAS,GAAG,IAAI,CAAC;QACjB,YAAY,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC,CAAC;AACN,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,KAAa,EAAE,OAAe,EAAE,KAAa;IACxE,IAAI,KAAK,GAAG,OAAO;QAAE,OAAO,KAAK,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAClE,OAAO,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC7C,CAAC"}
|
package/dist/tv.js
CHANGED
|
@@ -2,8 +2,8 @@ import { createTV } from 'tailwind-variants';
|
|
|
2
2
|
/** tailwind-merge knows the custom WireLayer utilities (also used by the @wirecore/wirelayer-css generator). */
|
|
3
3
|
export const twMergeConfig = {
|
|
4
4
|
extend: {
|
|
5
|
-
// rounded-popup, -card and -
|
|
6
|
-
theme: { radius: ['popup', 'card', 'panel'] },
|
|
5
|
+
// rounded-popup, -card, -panel and -dialog are radii, so `classes` like rounded-none (or a Card's size) replace them
|
|
6
|
+
theme: { radius: ['popup', 'card', 'panel', 'dialog'] },
|
|
7
7
|
classGroups: {
|
|
8
8
|
'bg-image': ['bg-glow'],
|
|
9
9
|
'text-gradient': ['text-gradient'],
|
package/dist/tv.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tv.js","sourceRoot":"","sources":["../src/tv.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,gHAAgH;AAChH,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,MAAM,EAAE;QACJ,
|
|
1
|
+
{"version":3,"file":"tv.js","sourceRoot":"","sources":["../src/tv.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,gHAAgH;AAChH,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,MAAM,EAAE;QACJ,qHAAqH;QACrH,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE;QACvD,WAAW,EAAE;YACT,UAAU,EAAE,CAAC,SAAS,CAAC;YACvB,eAAe,EAAE,CAAC,eAAe,CAAC;YAClC,YAAY,EAAE,CAAC,YAAY,CAAC;SAC/B;KACJ;CACJ,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC,CAAC;AAE9C;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACrB,kGAAkG;IAClG,+BAA+B;IAC/B,iFAAiF;IACjF,uEAAuE;IACvE,0DAA0D;CAC7D,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,MAAM;IACN,8FAA8F;IAC9F,6IAA6I;CAChJ,CAAC;AAEF,0GAA0G;AAC1G,MAAM,CAAC,MAAM,SAAS,GAClB,gGAAgG,CAAC"}
|
package/package.json
CHANGED
package/src/avatar.ts
CHANGED
|
@@ -78,11 +78,11 @@ export const avatar = tv({
|
|
|
78
78
|
},
|
|
79
79
|
},
|
|
80
80
|
compoundVariants: [
|
|
81
|
-
{ shape: 'square', size: 'sm', class: { base: 'rounded-
|
|
82
|
-
{ shape: 'square', size: 'md', class: { base: 'rounded-[10px]' } },
|
|
83
|
-
{ shape: 'square', size: 'lg', class: { base: 'rounded-
|
|
84
|
-
{ shape: 'square', size: 'xl', class: { base: 'rounded-
|
|
85
|
-
{ shape: 'square', size: '2xl', class: { base: 'rounded-
|
|
81
|
+
{ shape: 'square', size: 'sm', class: { base: 'rounded-[var(--wc-avatar-radius,0.5rem)]' } },
|
|
82
|
+
{ shape: 'square', size: 'md', class: { base: 'rounded-[var(--wc-avatar-radius,10px)]' } },
|
|
83
|
+
{ shape: 'square', size: 'lg', class: { base: 'rounded-[var(--wc-avatar-radius,0.75rem)]' } },
|
|
84
|
+
{ shape: 'square', size: 'xl', class: { base: 'rounded-[var(--wc-avatar-radius,1rem)]' } },
|
|
85
|
+
{ shape: 'square', size: '2xl', class: { base: 'rounded-[var(--wc-avatar-radius,1.5rem)]' } },
|
|
86
86
|
{ grouped: true, variant: 'soft', class: { base: 'bg-bg-2 shadow-[inset_0_0_0_1px_var(--color-line-2)]' } },
|
|
87
87
|
// Hover like IconButton: outline darkens its border, soft (bg-line) the background like `secondary`, solid
|
|
88
88
|
// fades like the filled variants
|
package/src/collections.ts
CHANGED
|
@@ -42,7 +42,7 @@ export const orderList = tv({
|
|
|
42
42
|
status: 'sr-only',
|
|
43
43
|
/** The list while an item is dragged over it */
|
|
44
44
|
dropZone:
|
|
45
|
-
'rounded-[10px] data-drop:outline-2 data-drop:outline-offset-2 data-drop:outline-dashed data-drop:outline-primary',
|
|
45
|
+
'rounded-[var(--wc-control-radius-lg,10px)] data-drop:outline-2 data-drop:outline-offset-2 data-drop:outline-dashed data-drop:outline-primary',
|
|
46
46
|
},
|
|
47
47
|
});
|
|
48
48
|
|
|
@@ -54,7 +54,7 @@ export const pickList = tv({
|
|
|
54
54
|
status: 'sr-only',
|
|
55
55
|
/** A list while items are dragged over it */
|
|
56
56
|
dropZone:
|
|
57
|
-
'min-w-0 rounded-[10px] data-drop:outline-2 data-drop:outline-offset-2 data-drop:outline-dashed data-drop:outline-primary',
|
|
57
|
+
'min-w-0 rounded-[var(--wc-control-radius-lg,10px)] data-drop:outline-2 data-drop:outline-offset-2 data-drop:outline-dashed data-drop:outline-primary',
|
|
58
58
|
},
|
|
59
59
|
});
|
|
60
60
|
|
package/src/controls.ts
CHANGED
|
@@ -25,7 +25,7 @@ export const listbox = tv({
|
|
|
25
25
|
],
|
|
26
26
|
/** Check box before the label (`checkboxes`) */
|
|
27
27
|
check: [
|
|
28
|
-
'flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-line-strong text-on-primary',
|
|
28
|
+
'flex size-4 shrink-0 items-center justify-center rounded-[var(--wc-checkbox-radius,4px)] border border-line-strong text-on-primary',
|
|
29
29
|
'data-[state=checked]:border-primary data-[state=checked]:bg-primary',
|
|
30
30
|
'data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary',
|
|
31
31
|
'forced-colors:data-[state=checked]:forced-color-adjust-none forced-colors:data-[state=checked]:bg-[Highlight] forced-colors:data-[state=checked]:text-[HighlightText]',
|
package/src/hierarchy.ts
CHANGED
|
@@ -7,7 +7,7 @@ const focusRing = 'focus-visible:outline-2 focus-visible:-outline-offset-2 focus
|
|
|
7
7
|
|
|
8
8
|
/** Select-like trigger shared by TreeSelect and CascadeSelect */
|
|
9
9
|
const trigger = [
|
|
10
|
-
'flex h-10 w-full cursor-pointer items-center justify-between gap-2.5 rounded-
|
|
10
|
+
'flex h-10 w-full cursor-pointer items-center justify-between gap-2.5 rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg pe-2.5 ps-3 text-start text-[15px] text-fg',
|
|
11
11
|
'outline-none transition-colors motion-reduce:transition-none focus-visible:border-primary data-[state=open]:border-primary',
|
|
12
12
|
'data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted',
|
|
13
13
|
];
|
|
@@ -36,7 +36,7 @@ export const tree = tv({
|
|
|
36
36
|
icon: 'size-4 shrink-0 text-muted',
|
|
37
37
|
text: 'min-w-0 flex-1 truncate',
|
|
38
38
|
checkbox: [
|
|
39
|
-
'flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-line-strong text-on-primary',
|
|
39
|
+
'flex size-4 shrink-0 items-center justify-center rounded-[var(--wc-checkbox-radius,4px)] border border-line-strong text-on-primary',
|
|
40
40
|
'data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary',
|
|
41
41
|
],
|
|
42
42
|
checkboxIcon: 'size-3 stroke-3',
|
|
@@ -184,7 +184,7 @@ export function treeDropMove<T extends TreeLike>(
|
|
|
184
184
|
/** Chips inside a select field (TreeSelect with several values) – like MultiSelect `display: 'chips'` */
|
|
185
185
|
const chipParts = {
|
|
186
186
|
chipsControl: [
|
|
187
|
-
'relative flex min-h-10 w-full flex-wrap items-center gap-1 rounded-
|
|
187
|
+
'relative flex min-h-10 w-full flex-wrap items-center gap-1 rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg py-[5px] pe-2.5 ps-1.5 text-fg',
|
|
188
188
|
'transition-colors motion-reduce:transition-none focus-within:border-primary data-[state=open]:border-primary',
|
|
189
189
|
'data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted',
|
|
190
190
|
],
|
|
@@ -209,8 +209,8 @@ const chipParts = {
|
|
|
209
209
|
};
|
|
210
210
|
|
|
211
211
|
const fieldSizes = {
|
|
212
|
-
sm: { trigger: 'h-8 rounded-
|
|
213
|
-
lg: { trigger: 'h-12 rounded-[10px] ps-4 pe-3 text-base' },
|
|
212
|
+
sm: { trigger: 'h-8 rounded-[var(--wc-control-radius-sm,0.375rem)] ps-2.5 pe-2 text-[13px]' },
|
|
213
|
+
lg: { trigger: 'h-12 rounded-[var(--wc-control-radius-lg,10px)] ps-4 pe-3 text-base' },
|
|
214
214
|
};
|
|
215
215
|
|
|
216
216
|
/** The items without the node with this id (a copy) – the source side of a `transfer` between trees */
|
|
@@ -297,9 +297,17 @@ export const treeSelect = tv({
|
|
|
297
297
|
},
|
|
298
298
|
variants: {
|
|
299
299
|
size: {
|
|
300
|
-
sm: {
|
|
300
|
+
sm: {
|
|
301
|
+
...fieldSizes.sm,
|
|
302
|
+
chipsControl: 'min-h-8 rounded-[var(--wc-control-radius-sm,0.375rem)] py-0.5',
|
|
303
|
+
chipsTrigger: 'text-[13px]',
|
|
304
|
+
},
|
|
301
305
|
md: {},
|
|
302
|
-
lg: {
|
|
306
|
+
lg: {
|
|
307
|
+
...fieldSizes.lg,
|
|
308
|
+
chipsControl: 'min-h-12 rounded-[var(--wc-control-radius-lg,10px)] py-[9px]',
|
|
309
|
+
chipsTrigger: 'text-base',
|
|
310
|
+
},
|
|
303
311
|
},
|
|
304
312
|
// Room for the clear button between value and arrow
|
|
305
313
|
clearable: {
|
|
@@ -332,7 +340,7 @@ export const cascadeSelect = tv({
|
|
|
332
340
|
...selectFieldParts,
|
|
333
341
|
/** Search field (filter): the field itself, the levels button at its end */
|
|
334
342
|
searchControl: [
|
|
335
|
-
'flex h-10 w-full items-center gap-1 rounded-
|
|
343
|
+
'flex h-10 w-full items-center gap-1 rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg pe-1 ps-3 text-[15px] text-fg',
|
|
336
344
|
'transition-colors motion-reduce:transition-none focus-within:border-primary',
|
|
337
345
|
'data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2 data-disabled:text-muted',
|
|
338
346
|
],
|
|
@@ -354,9 +362,13 @@ export const cascadeSelect = tv({
|
|
|
354
362
|
},
|
|
355
363
|
variants: {
|
|
356
364
|
size: {
|
|
357
|
-
sm: {
|
|
365
|
+
sm: {
|
|
366
|
+
...fieldSizes.sm,
|
|
367
|
+
searchControl: 'h-8 rounded-[var(--wc-control-radius-sm,0.375rem)] ps-2.5 text-[13px]',
|
|
368
|
+
levelsTrigger: 'size-6',
|
|
369
|
+
},
|
|
358
370
|
md: {},
|
|
359
|
-
lg: { ...fieldSizes.lg, searchControl: 'h-12 rounded-[10px] ps-4 text-base' },
|
|
371
|
+
lg: { ...fieldSizes.lg, searchControl: 'h-12 rounded-[var(--wc-control-radius-lg,10px)] ps-4 text-base' },
|
|
360
372
|
},
|
|
361
373
|
clearable: {
|
|
362
374
|
true: { indicator: 'ms-7' },
|
package/src/i18n.ts
CHANGED
|
@@ -1073,6 +1073,11 @@ const en: Translations = {
|
|
|
1073
1073
|
movedTo: (item, container, position, count) => `${item} in ${container}, position ${position} of ${count}.`,
|
|
1074
1074
|
dropped: (item, position, count) => `${item} dropped, position ${position} of ${count}.`,
|
|
1075
1075
|
cancelled: (item, position, count) => `Move cancelled. ${item} back at position ${position} of ${count}.`,
|
|
1076
|
+
copyHandle: (item) => `Copy ${item}`,
|
|
1077
|
+
copyInstructions:
|
|
1078
|
+
'Press Space or Enter to pick up a copy. Then move it into a list with the arrow keys, press Space to drop or Escape to cancel. With a mouse: drag, or click and click again at the target.',
|
|
1079
|
+
copyCancelled: (item) => `Copy of ${item} cancelled.`,
|
|
1080
|
+
copyTo: (list) => `Copy to “${list}”`,
|
|
1076
1081
|
},
|
|
1077
1082
|
logViewer: {
|
|
1078
1083
|
label: 'Log',
|
package/src/index.ts
CHANGED
package/src/inputs.ts
CHANGED
|
@@ -189,7 +189,7 @@ export const multiSelect = tv({
|
|
|
189
189
|
content: listboxContent,
|
|
190
190
|
item: listboxOption,
|
|
191
191
|
check: [
|
|
192
|
-
'flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-line-strong text-on-primary',
|
|
192
|
+
'flex size-4 shrink-0 items-center justify-center rounded-[var(--wc-checkbox-radius,4px)] border border-line-strong text-on-primary',
|
|
193
193
|
'data-[state=checked]:border-primary data-[state=checked]:bg-primary',
|
|
194
194
|
'data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary',
|
|
195
195
|
'forced-colors:data-[state=checked]:forced-color-adjust-none forced-colors:data-[state=checked]:bg-[Highlight] forced-colors:data-[state=checked]:text-[HighlightText]',
|
|
@@ -472,7 +472,7 @@ export const timeGrid = tv({
|
|
|
472
472
|
base: 'flex flex-col gap-2',
|
|
473
473
|
grid: 'grid grid-cols-[repeat(auto-fill,minmax(5.5rem,1fr))] gap-2',
|
|
474
474
|
slot: [
|
|
475
|
-
'flex h-10 cursor-pointer items-center justify-center rounded-
|
|
475
|
+
'flex h-10 cursor-pointer items-center justify-center rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg px-3 text-sm text-fg tabular-nums',
|
|
476
476
|
'transition-colors hover:border-fg motion-reduce:transition-none',
|
|
477
477
|
'focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-fg',
|
|
478
478
|
'aria-checked:border-primary aria-checked:bg-primary aria-checked:text-on-primary',
|
|
@@ -491,12 +491,12 @@ export const timeGrid = tv({
|
|
|
491
491
|
size: {
|
|
492
492
|
sm: {
|
|
493
493
|
grid: 'grid-cols-[repeat(auto-fill,minmax(4.5rem,1fr))] gap-1.5',
|
|
494
|
-
slot: 'h-8 rounded-
|
|
494
|
+
slot: 'h-8 rounded-[var(--wc-control-radius-sm,0.375rem)] px-2 text-xs',
|
|
495
495
|
},
|
|
496
496
|
md: {},
|
|
497
497
|
lg: {
|
|
498
498
|
grid: 'grid-cols-[repeat(auto-fill,minmax(6.5rem,1fr))] gap-2.5',
|
|
499
|
-
slot: 'h-12 rounded-[10px] text-base',
|
|
499
|
+
slot: 'h-12 rounded-[var(--wc-control-radius-lg,10px)] text-base',
|
|
500
500
|
},
|
|
501
501
|
},
|
|
502
502
|
},
|
package/src/locales/ar.ts
CHANGED
|
@@ -1399,6 +1399,11 @@ export const ar: Translations = {
|
|
|
1399
1399
|
movedTo: (item, container, position, count) => `${item} في ${container}، الموضع ${position} من ${count}.`,
|
|
1400
1400
|
dropped: (item, position, count) => `تم إفلات ${item}، الموضع ${position} من ${count}.`,
|
|
1401
1401
|
cancelled: (item, position, count) => `تم إلغاء النقل. عاد ${item} إلى الموضع ${position} من ${count}.`,
|
|
1402
|
+
copyHandle: (item) => `نسخ ${item}`,
|
|
1403
|
+
copyInstructions:
|
|
1404
|
+
'اضغط مفتاح المسافة أو Enter لالتقاط نسخة، ثم انقلها إلى قائمة بمفاتيح الأسهم، واضغط مفتاح المسافة لإفلاتها أو Esc للإلغاء. باستخدام الماوس: اسحب العنصر، أو انقر عليه ثم انقر مرة أخرى في الموضع المطلوب.',
|
|
1405
|
+
copyCancelled: (item) => `تم إلغاء نسخ ${item}.`,
|
|
1406
|
+
copyTo: (list) => `نسخ إلى «${list}»`,
|
|
1402
1407
|
},
|
|
1403
1408
|
logViewer: {
|
|
1404
1409
|
label: 'السجل',
|
package/src/locales/cs.ts
CHANGED
|
@@ -1230,6 +1230,11 @@ export const cs: Translations = {
|
|
|
1230
1230
|
movedTo: (item, container, position, count) => `${item}: ${container}, pozice ${position} z ${count}.`,
|
|
1231
1231
|
dropped: (item, position, count) => `${item}: umístěno, pozice ${position} z ${count}.`,
|
|
1232
1232
|
cancelled: (item, position, count) => `Přesun zrušen. ${item} je zpět na pozici ${position} z ${count}.`,
|
|
1233
|
+
copyHandle: (item) => `Kopírovat ${item}`,
|
|
1234
|
+
copyInstructions:
|
|
1235
|
+
'Mezerníkem nebo Enterem uchopíte kopii. Pak ji šipkami přesuňte do seznamu a mezerníkem umístěte, nebo klávesou Esc akci zrušte. Myší: přetáhněte, nebo klikněte a znovu klikněte na cílovém místě.',
|
|
1236
|
+
copyCancelled: (item) => `Kopírování položky ${item} zrušeno.`,
|
|
1237
|
+
copyTo: (list) => `Kopírovat do „${list}“`,
|
|
1233
1238
|
},
|
|
1234
1239
|
logViewer: {
|
|
1235
1240
|
label: 'Protokol',
|
package/src/locales/de.ts
CHANGED
|
@@ -1680,6 +1680,11 @@ export const de = {
|
|
|
1680
1680
|
`${item} abgelegt, Position ${position} von ${count}.`,
|
|
1681
1681
|
cancelled: (item: string, position: number, count: number) =>
|
|
1682
1682
|
`Verschieben abgebrochen. ${item} wieder an Position ${position} von ${count}.`,
|
|
1683
|
+
copyHandle: (item: string) => `${item} kopieren`,
|
|
1684
|
+
copyInstructions:
|
|
1685
|
+
'Leertaste oder Eingabetaste nimmt eine Kopie auf. Dann mit den Pfeiltasten in eine Liste verschieben, mit Leertaste ablegen oder mit Escape abbrechen. Mit der Maus: ziehen, oder klicken und an der Zielstelle erneut klicken.',
|
|
1686
|
+
copyCancelled: (item: string) => `Kopieren von ${item} abgebrochen.`,
|
|
1687
|
+
copyTo: (list: string) => `Nach „${list}“ kopieren`,
|
|
1683
1688
|
},
|
|
1684
1689
|
logViewer: {
|
|
1685
1690
|
label: 'Protokoll',
|
package/src/locales/es.ts
CHANGED
|
@@ -1114,6 +1114,11 @@ export const es: Translations = {
|
|
|
1114
1114
|
dropped: (item, position, count) => `Se ha soltado ${item}, posición ${position} de ${count}.`,
|
|
1115
1115
|
cancelled: (item, position, count) =>
|
|
1116
1116
|
`Movimiento cancelado. ${item} vuelve a la posición ${position} de ${count}.`,
|
|
1117
|
+
copyHandle: (item) => `Copiar ${item}`,
|
|
1118
|
+
copyInstructions:
|
|
1119
|
+
'Presione Espacio o Entrar para tomar una copia. Después, muévala a una lista con las teclas de flecha y presione Espacio para soltarla o Esc para cancelar. Con el ratón: arrástrela, o haga clic y vuelva a hacer clic en el destino.',
|
|
1120
|
+
copyCancelled: (item) => `Copia de ${item} cancelada.`,
|
|
1121
|
+
copyTo: (list) => `Copiar a «${list}»`,
|
|
1117
1122
|
},
|
|
1118
1123
|
logViewer: {
|
|
1119
1124
|
label: 'Registro',
|
package/src/locales/fr.ts
CHANGED
|
@@ -1142,6 +1142,11 @@ export const fr: Translations = {
|
|
|
1142
1142
|
dropped: (item, position, count) => `${item} déposé, position ${position} sur ${count}.`,
|
|
1143
1143
|
cancelled: (item, position, count) =>
|
|
1144
1144
|
`Déplacement annulé. ${item} revient en position ${position} sur ${count}.`,
|
|
1145
|
+
copyHandle: (item) => `Copier ${item}`,
|
|
1146
|
+
copyInstructions:
|
|
1147
|
+
"Appuyez sur Espace ou Entrée pour saisir une copie. Déplacez-la ensuite dans une liste avec les flèches, puis appuyez sur Espace pour la déposer ou sur Échap pour annuler. À la souris\u00a0: faites-la glisser, ou cliquez dessus puis cliquez à nouveau à l'emplacement cible.",
|
|
1148
|
+
copyCancelled: (item) => `Copie de ${item} annulée.`,
|
|
1149
|
+
copyTo: (list) => `Copier vers « ${list} »`,
|
|
1145
1150
|
},
|
|
1146
1151
|
logViewer: {
|
|
1147
1152
|
label: 'Journal',
|
package/src/locales/hu.ts
CHANGED
|
@@ -1144,6 +1144,11 @@ export const hu: Translations = {
|
|
|
1144
1144
|
movedTo: (item, container, index, count) => `${item} áthelyezve ide: ${container}, ${position(index, count)}.`,
|
|
1145
1145
|
dropped: (item, index, count) => `${item} letéve, ${position(index, count)}.`,
|
|
1146
1146
|
cancelled: (item, index, count) => `Áthelyezés megszakítva. ${item} visszakerült: ${position(index, count)}.`,
|
|
1147
|
+
copyHandle: (item) => `${item} másolása`,
|
|
1148
|
+
copyInstructions:
|
|
1149
|
+
'Egy másolat felvételéhez nyomja meg a Szóköz vagy az Enter billentyűt. Ezután a nyílbillentyűkkel vigye egy listába, a Szóközzel tegye le, vagy az Esc billentyűvel szakítsa meg. Egérrel: húzza, vagy kattintson rá, majd kattintson újra a célhelyen.',
|
|
1150
|
+
copyCancelled: (item) => `${item} másolása megszakítva.`,
|
|
1151
|
+
copyTo: (list) => `Másolás ide: „${list}”`,
|
|
1147
1152
|
},
|
|
1148
1153
|
logViewer: {
|
|
1149
1154
|
label: 'Napló',
|
package/src/locales/it.ts
CHANGED
|
@@ -1132,6 +1132,11 @@ export const it: Translations = {
|
|
|
1132
1132
|
dropped: (item, position, count) => `${item} rilasciato, posizione ${position} di ${count}.`,
|
|
1133
1133
|
cancelled: (item, position, count) =>
|
|
1134
1134
|
`Spostamento annullato. ${item} di nuovo in posizione ${position} di ${count}.`,
|
|
1135
|
+
copyHandle: (item) => `Copia ${item}`,
|
|
1136
|
+
copyInstructions:
|
|
1137
|
+
'Premere Spazio o Invio per afferrare una copia. Spostarla in un elenco con i tasti freccia, premere Spazio per rilasciarla o Esc per annullare. Con il mouse: trascinare, oppure fare clic e poi di nuovo clic nella posizione di destinazione.',
|
|
1138
|
+
copyCancelled: (item) => `Copia di ${item} annullata.`,
|
|
1139
|
+
copyTo: (list) => `Copia in «${list}»`,
|
|
1135
1140
|
},
|
|
1136
1141
|
logViewer: {
|
|
1137
1142
|
label: 'Registro',
|
package/src/locales/lv.ts
CHANGED
|
@@ -1145,6 +1145,11 @@ export const lv: Translations = {
|
|
|
1145
1145
|
movedTo: (item, container, position, count) => `${item}: ${container}, pozīcija ${position} no ${count}.`,
|
|
1146
1146
|
dropped: (item, position, count) => `${item}: nomests, pozīcija ${position} no ${count}.`,
|
|
1147
1147
|
cancelled: (item, position, count) => `Pārvietošana atcelta. ${item}: atkal pozīcija ${position} no ${count}.`,
|
|
1148
|
+
copyHandle: (item) => `Kopēt: ${item}`,
|
|
1149
|
+
copyInstructions:
|
|
1150
|
+
'Lai paceltu kopiju, nospiediet atstarpes taustiņu vai Enter. Pēc tam pārvietojiet to uz sarakstu ar bulttaustiņiem, nospiediet atstarpes taustiņu, lai nomestu, vai Esc, lai atceltu. Ar peli: velciet vai noklikšķiniet un vēlreiz noklikšķiniet mērķa vietā.',
|
|
1151
|
+
copyCancelled: (item) => `Kopēšana atcelta: ${item}.`,
|
|
1152
|
+
copyTo: (list) => `Kopēt uz “${list}”`,
|
|
1148
1153
|
},
|
|
1149
1154
|
logViewer: {
|
|
1150
1155
|
label: 'Žurnāls',
|
package/src/locales/nl.ts
CHANGED
|
@@ -1095,6 +1095,11 @@ export const nl: Translations = {
|
|
|
1095
1095
|
dropped: (item, position, count) => `${item} neergezet, positie ${position} van ${count}.`,
|
|
1096
1096
|
cancelled: (item, position, count) =>
|
|
1097
1097
|
`Verplaatsen geannuleerd. ${item} terug op positie ${position} van ${count}.`,
|
|
1098
|
+
copyHandle: (item) => `${item} kopiëren`,
|
|
1099
|
+
copyInstructions:
|
|
1100
|
+
'Druk op de spatiebalk of Enter om een kopie op te pakken. Verplaats deze daarna met de pijltoetsen naar een lijst, druk op de spatiebalk om neer te zetten of op Esc om te annuleren. Met de muis: slepen, of klikken en op de doelpositie opnieuw klikken.',
|
|
1101
|
+
copyCancelled: (item) => `Kopiëren van ${item} geannuleerd.`,
|
|
1102
|
+
copyTo: (list) => `Kopiëren naar ‘${list}’`,
|
|
1098
1103
|
},
|
|
1099
1104
|
logViewer: {
|
|
1100
1105
|
label: 'Logboek',
|
package/src/locales/pl.ts
CHANGED
|
@@ -1264,6 +1264,11 @@ export const pl: Translations = {
|
|
|
1264
1264
|
dropped: (item, position, count) => `Upuszczono: ${item}, pozycja ${position} z ${count}.`,
|
|
1265
1265
|
cancelled: (item, position, count) =>
|
|
1266
1266
|
`Anulowano przenoszenie. ${item} wraca na pozycję ${position} z ${count}.`,
|
|
1267
|
+
copyHandle: (item) => `Kopiuj: ${item}`,
|
|
1268
|
+
copyInstructions:
|
|
1269
|
+
'Naciśnij Spację lub Enter, aby podnieść kopię. Następnie przesuń ją strzałkami do listy, naciśnij Spację, aby upuścić, lub Esc, aby anulować. Myszą: przeciągnij albo kliknij i kliknij ponownie w miejscu docelowym.',
|
|
1270
|
+
copyCancelled: (item) => `Anulowano kopiowanie: ${item}.`,
|
|
1271
|
+
copyTo: (list) => `Kopiuj do „${list}”`,
|
|
1267
1272
|
},
|
|
1268
1273
|
logViewer: {
|
|
1269
1274
|
label: 'Dziennik',
|
package/src/locales/pt-BR.ts
CHANGED
|
@@ -289,6 +289,8 @@ export const ptBR: Translations = {
|
|
|
289
289
|
empty: 'Nenhum item – mova para cá',
|
|
290
290
|
picked: (item, position, count) => `${item} pego, posição ${position} de ${count}.`,
|
|
291
291
|
dropped: (item, position, count) => `${item} solto, posição ${position} de ${count}.`,
|
|
292
|
+
copyInstructions:
|
|
293
|
+
'Pressione Espaço ou Enter para pegar uma cópia. Depois mova-a para uma lista com as teclas de seta, pressione Espaço para soltar ou Escape para cancelar. Com o mouse: arraste, ou clique e clique novamente no destino.',
|
|
292
294
|
},
|
|
293
295
|
logViewer: {
|
|
294
296
|
...pt.logViewer,
|
package/src/locales/pt.ts
CHANGED
|
@@ -1100,6 +1100,11 @@ export const pt: Translations = {
|
|
|
1100
1100
|
dropped: (item, position, count) => `${item} largado, posição ${position} de ${count}.`,
|
|
1101
1101
|
cancelled: (item, position, count) =>
|
|
1102
1102
|
`Movimento cancelado. ${item} de volta à posição ${position} de ${count}.`,
|
|
1103
|
+
copyHandle: (item) => `Copiar ${item}`,
|
|
1104
|
+
copyInstructions:
|
|
1105
|
+
'Prima Espaço ou Enter para agarrar uma cópia. Depois mova-a para uma lista com as teclas de seta, prima Espaço para largar ou Escape para cancelar. Com o rato: arraste, ou clique e volte a clicar no destino.',
|
|
1106
|
+
copyCancelled: (item) => `Cópia de ${item} cancelada.`,
|
|
1107
|
+
copyTo: (list) => `Copiar para «${list}»`,
|
|
1103
1108
|
},
|
|
1104
1109
|
logViewer: {
|
|
1105
1110
|
label: 'Registo',
|
package/src/locales/tr.ts
CHANGED
|
@@ -1089,6 +1089,11 @@ export const tr: Translations = {
|
|
|
1089
1089
|
dropped: (item, position, count) => `${item} bırakıldı, konum ${position} / ${count}.`,
|
|
1090
1090
|
cancelled: (item, position, count) =>
|
|
1091
1091
|
`Taşıma iptal edildi. ${item} eski yerine döndü, konum ${position} / ${count}.`,
|
|
1092
|
+
copyHandle: (item) => `Kopyala: ${item}`,
|
|
1093
|
+
copyInstructions:
|
|
1094
|
+
'Bir kopya almak için Boşluk veya Enter tuşuna basın. Ardından ok tuşlarıyla bir listeye taşıyın, bırakmak için Boşluk, iptal etmek için Escape tuşuna basın. Fareyle: sürükleyin ya da tıklayıp hedef konumda tekrar tıklayın.',
|
|
1095
|
+
copyCancelled: (item) => `${item} kopyalanması iptal edildi.`,
|
|
1096
|
+
copyTo: (list) => `“${list}” listesine kopyala`,
|
|
1092
1097
|
},
|
|
1093
1098
|
logViewer: {
|
|
1094
1099
|
label: 'Günlük',
|