@wirecore/wirelayer-recipes 0.4.1 → 0.6.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/app.js +2 -2
- package/dist/app.js.map +1 -1
- package/dist/button.js +8 -8
- package/dist/button.js.map +1 -1
- package/dist/card.d.ts +1 -1
- package/dist/card.js +1 -1
- package/dist/card.js.map +1 -1
- package/dist/control-ids.d.ts +10 -0
- package/dist/control-ids.d.ts.map +1 -0
- package/dist/control-ids.js +15 -0
- package/dist/control-ids.js.map +1 -0
- package/dist/data-table.d.ts +10 -0
- package/dist/data-table.d.ts.map +1 -1
- package/dist/data-table.js +16 -0
- package/dist/data-table.js.map +1 -1
- package/dist/data.d.ts +70 -0
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +20 -0
- package/dist/data.js.map +1 -1
- package/dist/dev.d.ts +5 -0
- package/dist/dev.d.ts.map +1 -1
- package/dist/dev.js +13 -0
- package/dist/dev.js.map +1 -1
- package/dist/extras.d.ts.map +1 -1
- package/dist/extras.js +7 -3
- package/dist/extras.js.map +1 -1
- package/dist/field.d.ts +9 -9
- package/dist/field.js +10 -10
- package/dist/field.js.map +1 -1
- package/dist/i18n.d.ts +1 -0
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +1 -0
- package/dist/i18n.js.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/inputs.d.ts +51 -0
- package/dist/inputs.d.ts.map +1 -1
- package/dist/inputs.js +77 -40
- package/dist/inputs.js.map +1 -1
- package/dist/list-items.d.ts +21 -3
- package/dist/list-items.d.ts.map +1 -1
- package/dist/list-items.js +32 -6
- package/dist/list-items.js.map +1 -1
- package/dist/locales/ar.d.ts.map +1 -1
- package/dist/locales/ar.js +1 -0
- package/dist/locales/ar.js.map +1 -1
- package/dist/locales/cs.d.ts.map +1 -1
- package/dist/locales/cs.js +1 -0
- package/dist/locales/cs.js.map +1 -1
- package/dist/locales/de.d.ts +1 -0
- package/dist/locales/de.d.ts.map +1 -1
- package/dist/locales/de.js +1 -0
- package/dist/locales/de.js.map +1 -1
- package/dist/locales/es.d.ts.map +1 -1
- package/dist/locales/es.js +1 -0
- package/dist/locales/es.js.map +1 -1
- package/dist/locales/fr.d.ts.map +1 -1
- package/dist/locales/fr.js +1 -0
- package/dist/locales/fr.js.map +1 -1
- package/dist/locales/hu.d.ts.map +1 -1
- package/dist/locales/hu.js +1 -0
- package/dist/locales/hu.js.map +1 -1
- package/dist/locales/it.d.ts.map +1 -1
- package/dist/locales/it.js +1 -0
- package/dist/locales/it.js.map +1 -1
- package/dist/locales/lv.d.ts.map +1 -1
- package/dist/locales/lv.js +1 -0
- package/dist/locales/lv.js.map +1 -1
- package/dist/locales/nl.d.ts.map +1 -1
- package/dist/locales/nl.js +1 -0
- package/dist/locales/nl.js.map +1 -1
- package/dist/locales/pl.d.ts.map +1 -1
- package/dist/locales/pl.js +1 -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 +1 -0
- package/dist/locales/pt.js.map +1 -1
- package/dist/locales/tr.d.ts.map +1 -1
- package/dist/locales/tr.js +1 -0
- package/dist/locales/tr.js.map +1 -1
- package/dist/media.d.ts +24 -0
- package/dist/media.d.ts.map +1 -1
- package/dist/media.js +15 -0
- package/dist/media.js.map +1 -1
- package/dist/native/charts.d.ts +3 -3
- package/dist/native/controls.d.ts +18 -0
- package/dist/native/controls.d.ts.map +1 -1
- package/dist/native/controls.js +4 -0
- package/dist/native/controls.js.map +1 -1
- package/dist/navigation.d.ts.map +1 -1
- package/dist/navigation.js +7 -3
- package/dist/navigation.js.map +1 -1
- package/dist/overlay.d.ts +39 -3
- package/dist/overlay.d.ts.map +1 -1
- package/dist/overlay.js +17 -8
- package/dist/overlay.js.map +1 -1
- package/dist/overrides.d.ts +27 -2
- package/dist/overrides.d.ts.map +1 -1
- package/dist/overrides.js +100 -11
- package/dist/overrides.js.map +1 -1
- package/dist/selection.d.ts.map +1 -1
- package/dist/selection.js +2 -1
- package/dist/selection.js.map +1 -1
- package/dist/sources/button.css +1 -1
- package/dist/sources/card.css +1 -1
- package/dist/sources/colorPicker.css +1 -1
- package/dist/sources/combobox.css +1 -1
- package/dist/sources/dataTable.css +1 -1
- package/dist/sources/datePicker.css +1 -1
- package/dist/sources/dialog.css +1 -1
- package/dist/sources/drawer.css +1 -1
- package/dist/sources/iconButton.css +1 -1
- package/dist/sources/input.css +1 -1
- package/dist/sources/multiSelect.css +1 -1
- package/dist/sources/nativeSelect.css +1 -1
- package/dist/sources/numberInput.css +1 -1
- package/dist/sources/passwordInput.css +1 -1
- package/dist/sources/segmentedControl.css +1 -1
- package/dist/sources/select.css +1 -1
- package/dist/sources/slider.css +1 -1
- package/dist/sources/tagsInput.css +1 -1
- package/dist/sources/textarea.css +1 -1
- package/dist/vite.d.ts +19 -0
- package/dist/vite.d.ts.map +1 -0
- package/dist/vite.js +161 -0
- package/dist/vite.js.map +1 -0
- package/dist/widgets.d.ts +3 -3
- package/package.json +15 -2
- package/src/app.ts +2 -2
- package/src/button.ts +8 -8
- package/src/card.ts +1 -1
- package/src/control-ids.ts +21 -0
- package/src/data-table.ts +27 -0
- package/src/data.ts +24 -0
- package/src/dev.ts +14 -0
- package/src/extras.ts +7 -3
- package/src/field.ts +10 -10
- package/src/i18n.ts +1 -0
- package/src/index.ts +11 -2
- package/src/inputs.ts +82 -40
- package/src/list-items.ts +45 -4
- package/src/locales/ar.ts +1 -0
- package/src/locales/cs.ts +1 -0
- package/src/locales/de.ts +1 -0
- package/src/locales/es.ts +1 -0
- package/src/locales/fr.ts +1 -0
- package/src/locales/hu.ts +1 -0
- package/src/locales/it.ts +1 -0
- package/src/locales/lv.ts +1 -0
- package/src/locales/nl.ts +1 -0
- package/src/locales/pl.ts +1 -0
- package/src/locales/pt-BR.ts +1 -0
- package/src/locales/pt.ts +1 -0
- package/src/locales/tr.ts +1 -0
- package/src/media.ts +15 -0
- package/src/native/controls.ts +4 -0
- package/src/navigation.ts +9 -3
- package/src/overlay.ts +17 -8
- package/src/overrides.ts +130 -15
- package/src/selection.ts +2 -1
- package/src/vite.ts +162 -0
package/dist/selection.js
CHANGED
|
@@ -100,7 +100,8 @@ export const chipGroup = tv({
|
|
|
100
100
|
});
|
|
101
101
|
export const segmentedControl = tv({
|
|
102
102
|
slots: {
|
|
103
|
-
|
|
103
|
+
// As wide as its segments – also as a flex item of a column (inside a Field)
|
|
104
|
+
base: 'inline-flex w-fit items-center gap-0.5 rounded-full border border-line-2 p-[3px]',
|
|
104
105
|
label: 'sr-only',
|
|
105
106
|
item: [
|
|
106
107
|
'inline-flex cursor-pointer items-center gap-1.5 rounded-full whitespace-nowrap text-muted',
|
package/dist/selection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection.js","sourceRoot":"","sources":["../src/selection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAEnD,kFAAkF;AAClF,8FAA8F;AAC9F,6FAA6F;AAE7F,MAAM,CAAC,MAAM,QAAQ,GAAG,EAAE,CAAC;IACvB,KAAK,EAAE;QACH,IAAI,EAAE,4IAA4I;QAClJ,OAAO,EAAE;YACL,qHAAqH;YACrH,4EAA4E;YAC5E,qJAAqJ;YACrJ,6NAA6N;YAC7N,SAAS;SACZ;QACD,IAAI,EAAE,sBAAsB;QAC5B,KAAK,EAAE,SAAS;KACnB;CACJ,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,CAAC;IACzB,KAAK,EAAE;QACH,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE,iCAAiC;QACxC,KAAK,E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;YACzH,sEAAsE;YACtE,uKAAuK;YACvK,SAAS;SACZ;QACD,IAAI,EAAE,UAAU;KACnB;IACD,QAAQ,EAAE;QACN,IAAI,EAAE;YACF,EAAE,EAAE,EAAE,IAAI,EAAE,uCAAuC,EAAE,IAAI,EAAE,QAAQ,EAAE;YACrE,EAAE,EAAE,EAAE,IAAI,EAAE,oCAAoC,EAAE,IAAI,EAAE,aAAa,EAAE;SAC1E;KACJ;IACD,eAAe,EAAE;QACb,IAAI,EAAE,IAAI;KACb;CACJ,CAAC,CAAC"}
|
package/dist/sources/button.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe button – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("aria-busy:cursor-wait bg-bg bg-danger bg-danger/10 bg-fg bg-fg/10 bg-info bg-info/10 bg-line bg-primary bg-primary/10 bg-success bg-success/10 bg-warn bg-warn/10 border border-b border-current border-danger border-fg border-info border-line-2 border-primary border-success border-warn cursor-pointer disabled:cursor-not-allowed disabled:opacity-40 duration-150 flex focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 font-mono font-semibold forced-colors:bg-[CanvasText] forced-colors:border forced-colors:border-0 forced-colors:border-[ButtonBorder] forced-colors:border-b gap-1 gap-1.5 gap-2 h-
|
|
2
|
+
@source inline("aria-busy:cursor-wait bg-bg bg-danger bg-danger/10 bg-fg bg-fg/10 bg-info bg-info/10 bg-line bg-primary bg-primary/10 bg-success bg-success/10 bg-warn bg-warn/10 border border-b border-current border-danger border-fg border-info border-line-2 border-primary border-success border-warn cursor-pointer disabled:cursor-not-allowed disabled:opacity-40 duration-150 flex focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 font-mono font-semibold forced-colors:bg-[CanvasText] forced-colors:border forced-colors:border-0 forced-colors:border-[ButtonBorder] forced-colors:border-b gap-1 gap-1.5 gap-2 h-6 h-[18px] h-[var(--wc-control-h-lg,3rem)] h-[var(--wc-control-h-md,2.5rem)] h-[var(--wc-control-h-sm,2rem)] h-auto hover:bg-danger hover:bg-danger/14 hover:bg-danger/8 hover:bg-fg hover:bg-fg/14 hover:bg-info hover:bg-info/14 hover:bg-info/8 hover:bg-line hover:bg-line-2 hover:bg-primary hover:bg-primary/14 hover:bg-primary/8 hover:bg-success hover:bg-success/14 hover:bg-success/8 hover:bg-warn hover:bg-warn/14 hover:bg-warn/8 hover:border-danger hover:border-fg hover:border-info hover:border-primary hover:border-success hover:border-warn hover:opacity-100 hover:opacity-70 hover:opacity-85 hover:opacity-90 hover:text-fg inline-flex items-center justify-center leading-none min-h-6 min-w-[18px] motion-reduce:transition-none pb-px px-0 px-1 px-2 px-2.5 px-3 px-4 px-5.5 rounded-[var(--wc-button-radius,0.5rem)] rounded-full rounded-md rounded-none select-none shrink-0 size-2 size-3 size-3.5 size-4 size-[18px] sr-only text-[10px] text-[13px] text-[15px] text-bg text-danger text-fg text-info text-muted text-on-danger text-on-info text-on-primary text-on-success text-on-warn text-primary text-sm text-success text-warn text-xs transition-[opacity,background-color,border-color,color] w-full whitespace-nowrap");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-button: 1;
|
|
5
5
|
}
|
package/dist/sources/card.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe card – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("bg-card bg-glow border border-line cursor-pointer duration-200 flex flex-col flex-row focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 gap-2.5 gap-5 hover:border-line-2 items-stretch motion-reduce:transition-none p-
|
|
2
|
+
@source inline("bg-card bg-glow border border-line cursor-pointer duration-200 flex flex-col flex-row focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 gap-2.5 gap-5 hover:border-line-2 items-stretch motion-reduce:transition-none p-[var(--wc-card-p,1.5rem)] rounded-card transition-colors");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-card: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe colorPicker – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("-translate-y-0.5 aria-pressed:border-primary aria-pressed:text-fg bg-bg bg-card bg-transparent border border-2 border-e border-line-2 border-line-strong border-white cursor-pointer data-[state=checked]:outline-2 data-[state=checked]:outline-offset-2 data-[state=checked]:outline-primary data-disabled:bg-bg-2 data-disabled:border-line data-disabled:cursor-not-allowed data-disabled:text-muted data-invalid:border-danger disabled:cursor-not-allowed flex flex-1 flex-col flex-wrap focus-visible:-outline-offset-2 focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary focus:border-primary font-mono forced-colors:aria-pressed:border-[Highlight] gap-0.5 gap-1 gap-1.5 gap-2 gap-2.5 gap-3 grid grid-cols-3 h-
|
|
2
|
+
@source inline("-translate-y-0.5 aria-pressed:border-primary aria-pressed:text-fg bg-bg bg-card bg-transparent border border-2 border-e border-line-2 border-line-strong border-white cursor-pointer data-[state=checked]:outline-2 data-[state=checked]:outline-offset-2 data-[state=checked]:outline-primary data-disabled:bg-bg-2 data-disabled:border-line data-disabled:cursor-not-allowed data-disabled:text-muted data-invalid:border-danger disabled:cursor-not-allowed flex flex-1 flex-col flex-wrap focus-visible:-outline-offset-2 focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary focus:border-primary font-mono forced-colors:aria-pressed:border-[Highlight] gap-0.5 gap-1 gap-1.5 gap-2 gap-2.5 gap-3 grid grid-cols-3 h-3 h-36 h-7 h-8 h-[var(--wc-control-h-md,2.5rem)] h-full hover:text-fg items-center items-stretch justify-center min-w-0 motion-reduce:transition-none motion-safe:data-[state=closed]:animate-pop-out motion-safe:data-[state=open]:animate-pop-in normal-case outline-none overflow-hidden p-3 placeholder:text-muted px-1.5 px-2 px-3 rounded-[var(--wc-control-radius-md,0.5rem)] rounded-full rounded-lg rounded-md rounded-popup shadow-[0_0_0_1px_rgba(0,0,0,.4)] shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] shadow-[inset_0_0_0_1px_rgba(0,0,0,.15)] shrink-0 size-4 size-5 size-6 size-8 size-full sr-only tabular-nums text-[10px] text-[11px] text-[13px] text-[length:var(--wc-control-text-md,15px)] text-center text-fg text-muted text-sm text-start transition-colors truncate uppercase w-10 w-[264px] w-full z-50");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-colorPicker: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe combobox – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("bg-bg bg-card bg-transparent border 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=checked]:bg-line 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 disabled:cursor-not-allowed disabled:opacity-40 flex flex-1 flex-col focus-visible:-outline-offset-2 focus-visible:outline-2 focus-visible:outline-fg focus-within:border-primary font-mono forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:text-[HighlightText] gap-2 h-
|
|
2
|
+
@source inline("bg-bg bg-card bg-transparent border 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=checked]:bg-line 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 disabled:cursor-not-allowed disabled:opacity-40 flex flex-1 flex-col focus-visible:-outline-offset-2 focus-visible:outline-2 focus-visible:outline-fg focus-within:border-primary font-mono forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:text-[HighlightText] gap-2 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-full h-px hover:text-fg in-data-[state=open]:rotate-180 items-center items-stretch justify-center leading-normal max-h-72 min-w-0 motion-reduce:transition-none motion-safe:animate-spin motion-safe:data-[state=closed]:animate-pop-out motion-safe:data-[state=open]:animate-pop-in outline-none overflow-hidden overflow-y-auto p-1 pb-1 placeholder:text-muted pt-2 px-2.5 px-3 px-4 py-2 rounded-[var(--wc-control-radius-lg,10px)] rounded-[var(--wc-control-radius-md,0.5rem)] rounded-[var(--wc-control-radius-sm,0.375rem)] rounded-lg rounded-popup shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] shrink-0 size-3.5 size-4 size-[15px] sr-only 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-fg text-inherit text-muted text-sm text-xs tracking-label transition-colors transition-transform truncate uppercase w-10 w-11 w-7 w-8 w-9 w-full z-50");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-combobox: 1;
|
|
5
5
|
}
|
|
@@ -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 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 [&_: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]");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-dataTable: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe datePicker – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("bg-bg bg-black/40 bg-card bg-transparent border border-collapse border-line border-line-2 border-line-strong border-t bottom-0 cursor-pointer data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[type=literal]:normal-nums data-[type=literal]:px-0 data-[type=literal]:text-muted data-[type=literal]:whitespace-pre data-disabled:bg-bg-2 data-disabled:border-line data-disabled:cursor-not-allowed data-disabled:opacity-40 data-disabled:text-muted data-in-hover-range:not-data-selected:bg-line data-in-range:not-data-selected:bg-line data-invalid:border-danger data-outside-range:invisible data-outside-range:text-muted data-placeholder-shown:text-muted data-placeholder:text-muted data-selected:bg-primary data-selected:text-on-primary data-today:font-normal data-today:font-semibold data-today:no-underline data-today:underline data-today:underline-offset-4 data-unavailable:line-through disabled:cursor-not-allowed disabled:opacity-40 fixed flex flex-1 flex-col flex-wrap focus-visible:-outline-offset-2 focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary focus:bg-primary focus:text-on-primary font-medium font-mono font-normal font-semibold forced-colors:data-selected:bg-[Highlight] forced-colors:data-selected:forced-color-adjust-none forced-colors:data-selected:text-[HighlightText] forced-colors:focus:bg-[Highlight] forced-colors:focus:forced-color-adjust-none forced-colors:focus:text-[HighlightText] gap-1 gap-1.5 gap-2 gap-4 grid grid-cols-2 h-10 h-
|
|
2
|
+
@source inline("absolute bg-bg bg-black/40 bg-card bg-transparent border border-collapse border-line border-line-2 border-line-strong border-t bottom-0 cursor-pointer cursor-text data-[side=bottom]:[--wc-pop-y:-4px] data-[side=top]:[--wc-pop-y:4px] data-[type=literal]:normal-nums data-[type=literal]:px-0 data-[type=literal]:text-muted data-[type=literal]:whitespace-pre data-disabled:bg-bg-2 data-disabled:border-line data-disabled:cursor-not-allowed data-disabled:opacity-40 data-disabled:text-muted data-hidden:opacity-0 data-hidden:pointer-events-none data-in-hover-range:not-data-selected:bg-line data-in-range:not-data-selected:bg-line data-invalid:border-danger data-outside-range:invisible data-outside-range:text-muted data-placeholder-shown:opacity-0 data-placeholder-shown:text-muted data-placeholder:text-muted data-selected:bg-primary data-selected:text-on-primary data-today:font-normal data-today:font-semibold data-today:no-underline data-today:underline data-today:underline-offset-4 data-unavailable:line-through disabled:cursor-not-allowed disabled:opacity-40 fixed flex flex-1 flex-col flex-wrap focus-visible:-outline-offset-2 focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary focus:bg-primary focus:text-on-primary font-medium font-mono font-normal font-semibold forced-colors:data-selected:bg-[Highlight] forced-colors:data-selected:forced-color-adjust-none forced-colors:data-selected:text-[HighlightText] forced-colors:focus:bg-[Highlight] forced-colors:focus:forced-color-adjust-none forced-colors:focus:text-[HighlightText] gap-1 gap-1.5 gap-2 gap-4 grid grid-cols-2 h-10 h-7 h-8 h-[var(--wc-control-h-lg,3rem)] h-[var(--wc-control-h-md,2.5rem)] h-[var(--wc-control-h-sm,2rem)] h-full hover:bg-line hover:border-fg hover:text-fg inline-flex inset-0 inset-x-0 items-center items-stretch justify-between justify-center leading-none leading-normal max-h-64 max-h-[85dvh] min-w-0 min-w-[278px] motion-reduce:transition-none motion-safe:animate-fade-in motion-safe:data-[state=closed]:animate-pop-out motion-safe:data-[state=open]:animate-pop-in mx-auto outline-none overflow-hidden overflow-y-auto p-0 p-3 pe-1 placeholder:text-muted pointer-events-none pt-2.5 px-1 px-1.5 px-2.5 px-3 px-4 px-px relative rounded-[var(--wc-control-radius-lg,10px)] rounded-[var(--wc-control-radius-md,0.5rem)] rounded-[var(--wc-control-radius-sm,0.375rem)] rounded-b-none rounded-full rounded-lg rounded-md rounded-popup rounded-sm rounded-xl rtl:-scale-x-100 self-center shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] shrink-0 size-3.5 size-4 size-8 size-9 size-full sm:flex-row sm:items-start sr-only tabular-nums 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-center text-fg text-inherit text-muted text-sm text-xs transition-colors truncate uppercase w-10 w-11 w-32 w-7 w-8 w-[304px] w-auto w-full whitespace-nowrap z-40 z-50");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-datePicker: 1;
|
|
5
5
|
}
|
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("aria-busy:cursor-wait bg-
|
|
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-line border-line-2 border-t 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 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-[18px] pe-4 ps-[18px] pt-3 pt-4 px-4 px-[18px] py-3 rounded-[10px] rounded-[14px] rounded-full rounded-none select-none shadow-[0_24px_48px_-20px_rgba(0,0,0,.55)] size-4 size-8 size-9 size-[18px] sr-only 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/drawer.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe drawer – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("[--wc-drawer-h:100dvh] [--wc-drawer-h:30vh] [--wc-drawer-h:50vh] [--wc-drawer-h:70vh] [--wc-drawer-h:85vh] [--wc-drawer-w:100vw] [--wc-drawer-w:320px] [--wc-drawer-w:420px] [--wc-drawer-w:560px] [--wc-drawer-w:720px] [--wc-slide-x:-100%] [--wc-slide-x:100%] [--wc-slide-y:-100%] [--wc-slide-y:100%] aria-busy:cursor-wait bg-
|
|
2
|
+
@source inline("[--wc-drawer-h:100dvh] [--wc-drawer-h:30vh] [--wc-drawer-h:50vh] [--wc-drawer-h:70vh] [--wc-drawer-h:85vh] [--wc-drawer-w:100vw] [--wc-drawer-w:320px] [--wc-drawer-w:420px] [--wc-drawer-w:560px] [--wc-drawer-w:720px] [--wc-slide-x:-100%] [--wc-slide-x:100%] [--wc-slide-y:-100%] [--wc-slide-y:100%] aria-busy:cursor-wait bg-[var(--wc-backdrop,rgb(0_0_0/0.6))] bg-card border border-b border-e border-line border-line-2 border-s border-t 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 gap-2 gap-3 gap-4 h-[var(--wc-drawer-h)] 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-normal max-h-[85vh] max-h-none max-w-[calc(100vw-2rem)] max-w-none min-w-0 motion-reduce:transition-none motion-safe:data-[state=closed]:animate-fade-out motion-safe:data-[state=closed]:animate-slide-out motion-safe:data-[state=open]:animate-fade-in motion-safe:data-[state=open]:animate-slide-in outline-none overflow-y-auto p-3 pe-4 ps-5 px-5 py-3 py-4 rounded-2xl rounded-b-2xl rounded-full rounded-none rounded-t-2xl rtl:[--wc-slide-x:-100%] rtl:[--wc-slide-x:100%] select-none shadow-[0_24px_48px_-20px_rgba(0,0,0,.55)] shrink-0 size-4 size-8 sr-only text-fg text-lg text-muted text-sm tracking-[-0.02em] transition-[opacity,background-color,border-color,color] w-[420px] w-[var(--wc-drawer-w)] w-full z-50");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-drawer: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe iconButton – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("-inset-e-[3px] -top-[3px] absolute aria-busy:cursor-wait bg-bg bg-danger bg-danger/10 bg-fg bg-fg/10 bg-info bg-info/10 bg-line bg-primary bg-primary/10 bg-success bg-success/10 bg-warn bg-warn/10 border border-2 border-card border-danger border-fg border-info border-line-2 border-primary border-success border-warn cursor-pointer disabled:cursor-not-allowed disabled:opacity-40 duration-150 flex focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 font-mono forced-colors:border forced-colors:border-[ButtonBorder] h-[18px] hover:bg-danger hover:bg-danger/14 hover:bg-danger/8 hover:bg-fg hover:bg-fg/14 hover:bg-info hover:bg-info/14 hover:bg-info/8 hover:bg-line hover:bg-line-2 hover:bg-primary hover:bg-primary/14 hover:bg-primary/8 hover:bg-success hover:bg-success/14 hover:bg-success/8 hover:bg-warn hover:bg-warn/14 hover:bg-warn/8 hover:border-danger hover:border-fg hover:border-info hover:border-primary hover:border-success hover:border-warn hover:opacity-100 hover:opacity-85 hover:opacity-90 hover:text-fg inline-flex inset-e-px items-center justify-center leading-none min-w-[18px] motion-reduce:transition-none pointer-events-none px-1 relative rounded-
|
|
2
|
+
@source inline("-inset-e-[3px] -top-[3px] absolute aria-busy:cursor-wait bg-bg bg-danger bg-danger/10 bg-fg bg-fg/10 bg-info bg-info/10 bg-line bg-primary bg-primary/10 bg-success bg-success/10 bg-warn bg-warn/10 border border-2 border-card border-danger border-fg border-info border-line-2 border-primary border-success border-warn cursor-pointer disabled:cursor-not-allowed disabled:opacity-40 duration-150 flex focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 font-mono forced-colors:border forced-colors:border-[ButtonBorder] h-[18px] hover:bg-danger hover:bg-danger/14 hover:bg-danger/8 hover:bg-fg hover:bg-fg/14 hover:bg-info hover:bg-info/14 hover:bg-info/8 hover:bg-line hover:bg-line-2 hover:bg-primary hover:bg-primary/14 hover:bg-primary/8 hover:bg-success hover:bg-success/14 hover:bg-success/8 hover:bg-warn hover:bg-warn/14 hover:bg-warn/8 hover:border-danger hover:border-fg hover:border-info hover:border-primary hover:border-success hover:border-warn hover:opacity-100 hover:opacity-85 hover:opacity-90 hover:text-fg inline-flex inset-e-px items-center justify-center leading-none min-w-[18px] motion-reduce:transition-none pointer-events-none px-1 relative rounded-[var(--wc-button-radius,0.5rem)] rounded-full rounded-md rounded-none select-none shrink-0 size-2.5 size-3.5 size-5 size-6 size-[18px] size-[var(--wc-control-h-lg,3rem)] size-[var(--wc-control-h-md,2.5rem)] size-[var(--wc-control-h-sm,2rem)] text-[10px] text-bg text-danger text-fg text-info text-muted text-on-danger text-on-info text-on-primary text-on-success text-on-warn text-primary text-success text-warn top-px transition-[opacity,background-color,border-color,color]");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-iconButton: 1;
|
|
5
5
|
}
|
package/dist/sources/input.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe input – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("bg-bg bg-bg-2 bg-transparent border border-danger border-e border-line border-line-strong border-s border-success cursor-not-allowed cursor-pointer disabled:cursor-not-allowed flex flex-1 focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-danger focus-within:border-primary focus-within:border-success font-mono h-
|
|
2
|
+
@source inline("bg-bg bg-bg-2 bg-transparent border border-danger border-e border-line border-line-strong border-s border-success cursor-not-allowed cursor-pointer disabled:cursor-not-allowed flex flex-1 focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-danger focus-within:border-primary focus-within:border-success font-mono h-[var(--wc-control-h-lg,3rem)] h-[var(--wc-control-h-md,2.5rem)] h-[var(--wc-control-h-sm,2rem)] hover:bg-line hover:text-fg items-center items-stretch justify-center leading-normal me-1 me-1.5 me-2.5 me-3 me-4 min-w-0 motion-reduce:transition-none motion-safe:animate-spin ms-2.5 ms-3 ms-4 outline-none overflow-hidden pe-2 placeholder:text-muted pointer-events-none ps-2 px-2.5 px-3 px-4 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 self-center shrink-0 size-3.5 size-4 size-6 size-7 size-[18px] 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-danger text-fg text-muted text-success text-xs transition-colors w-full");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-input: 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-
|
|
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]");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-multiSelect: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe nativeSelect – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("-translate-y-1/2 absolute appearance-none aria-[invalid=true]:border-danger bg-bg border border-line-strong cursor-pointer disabled:bg-bg-2 disabled:border-line disabled:cursor-not-allowed disabled:text-muted flex focus:border-primary h-
|
|
2
|
+
@source inline("-translate-y-1/2 absolute appearance-none aria-[invalid=true]:border-danger bg-bg border border-line-strong cursor-pointer disabled:bg-bg-2 disabled:border-line disabled:cursor-not-allowed disabled:text-muted flex focus:border-primary h-[var(--wc-control-h-lg,3rem)] h-[var(--wc-control-h-md,2.5rem)] h-[var(--wc-control-h-sm,2rem)] inset-e-3 leading-normal motion-reduce:transition-none outline-none pe-9 pointer-events-none ps-2.5 ps-3 ps-4 relative 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 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-fg text-muted top-1/2 transition-colors w-full");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-nativeSelect: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe numberInput – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("bg-bg bg-bg-2 bg-transparent border border-e border-line-strong border-s border-s-0 border-success cursor-pointer data-disabled:bg-bg-2 data-disabled:border-line data-disabled:cursor-not-allowed data-disabled:text-muted data-invalid:border-danger disabled:cursor-not-allowed disabled:opacity-40 first:border-b first:border-line-strong flex flex-1 flex-col focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary focus-within:border-success font-mono h-
|
|
2
|
+
@source inline("bg-bg bg-bg-2 bg-transparent border border-e border-line-strong border-s border-s-0 border-success cursor-pointer data-disabled:bg-bg-2 data-disabled:border-line data-disabled:cursor-not-allowed data-disabled:text-muted data-invalid:border-danger disabled:cursor-not-allowed disabled:opacity-40 first:border-b first:border-line-strong flex flex-1 flex-col focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary focus-within:border-success font-mono h-12 h-[var(--wc-control-h-lg,3rem)] h-[var(--wc-control-h-md,2.5rem)] h-[var(--wc-control-h-sm,2rem)] h-full hover:bg-line hover:text-fg items-center items-stretch justify-center leading-normal me-1.5 me-3 min-h-6 min-w-0 motion-reduce:transition-none motion-safe:animate-spin outline-none overflow-hidden placeholder:text-muted pointer-events-none px-2.5 px-3 px-4 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 self-center shrink-0 size-3.5 size-4 size-6 tabular-nums 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-fg text-inherit text-muted text-success text-xs transition-colors w-11 w-8 w-9 w-full");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-numberInput: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe passwordInput – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("bg-bg bg-line bg-transparent border border-line-strong border-success cursor-pointer data-[level=1]:data-filled:bg-danger data-[level=2]:data-filled:bg-warn data-[level=3]:data-filled:bg-info data-[level=4]:data-filled:bg-success data-disabled:bg-bg-2 data-disabled:border-line data-disabled:cursor-not-allowed data-disabled:text-muted data-invalid:border-danger data-met:text-success disabled:cursor-not-allowed disabled:opacity-40 flex flex-1 flex-col focus-visible:-outline-offset-2 focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary focus-within:border-success forced-colors:data-filled:bg-[CanvasText] gap-1 gap-1.5 gap-2.5 h-1 h-
|
|
2
|
+
@source inline("bg-bg bg-line bg-transparent border border-line-strong border-success cursor-pointer data-[level=1]:data-filled:bg-danger data-[level=2]:data-filled:bg-warn data-[level=3]:data-filled:bg-info data-[level=4]:data-filled:bg-success data-disabled:bg-bg-2 data-disabled:border-line data-disabled:cursor-not-allowed data-disabled:text-muted data-invalid:border-danger data-met:text-success disabled:cursor-not-allowed disabled:opacity-40 flex flex-1 flex-col focus-visible:-outline-offset-2 focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary focus-within:border-success forced-colors:data-filled:bg-[CanvasText] gap-1 gap-1.5 gap-2.5 h-1 h-[var(--wc-control-h-lg,3rem)] h-[var(--wc-control-h-md,2.5rem)] h-[var(--wc-control-h-sm,2rem)] h-full hover:bg-line hover:text-fg items-center items-stretch justify-center leading-normal me-1.5 me-3 min-w-0 min-w-20 motion-reduce:transition-none motion-safe:animate-spin mt-1.5 mt-2 outline-none overflow-hidden placeholder:text-muted pointer-events-none px-2.5 px-3 px-4 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 self-center shrink-0 size-3.5 size-4 size-6 sr-only 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-end text-fg text-inherit text-muted text-success text-xs transition-colors w-10 w-12 w-8 w-full");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-passwordInput: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe segmentedControl – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("border border-line-2 cursor-pointer data-[state=checked]:bg-primary data-[state=checked]:text-on-primary data-disabled:cursor-not-allowed data-disabled:opacity-40 data-focus-visible:outline-2 data-focus-visible:outline-fg data-focus-visible:outline-offset-2 font-mono font-semibold forced-colors:data-[state=checked]:bg-[Highlight] forced-colors:data-[state=checked]:forced-color-adjust-none forced-colors:data-[state=checked]:text-[HighlightText] gap-0.5 gap-1.5 h-8 h-[26px] hover:text-fg inline-flex items-center motion-reduce:transition-none p-[3px] px-2.5 px-3 rounded-full shrink-0 size-3 size-[15px] sr-only text-[11px] text-[13px] text-muted transition-colors whitespace-nowrap");
|
|
2
|
+
@source inline("border border-line-2 cursor-pointer data-[state=checked]:bg-primary data-[state=checked]:text-on-primary data-disabled:cursor-not-allowed data-disabled:opacity-40 data-focus-visible:outline-2 data-focus-visible:outline-fg data-focus-visible:outline-offset-2 font-mono font-semibold forced-colors:data-[state=checked]:bg-[Highlight] forced-colors:data-[state=checked]:forced-color-adjust-none forced-colors:data-[state=checked]:text-[HighlightText] gap-0.5 gap-1.5 h-8 h-[26px] hover:text-fg inline-flex items-center motion-reduce:transition-none p-[3px] px-2.5 px-3 rounded-full shrink-0 size-3 size-[15px] sr-only text-[11px] text-[13px] text-muted transition-colors w-fit whitespace-nowrap");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-segmentedControl: 1;
|
|
5
5
|
}
|
package/dist/sources/select.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe select – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("-mt-1 -mx-1 -translate-y-1/2 absolute bg-bg bg-card 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=checked]:bg-line 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 focus-visible:border-primary focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus:border-primary font-mono 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-
|
|
2
|
+
@source inline("-mt-1 -mx-1 -translate-y-1/2 absolute bg-bg bg-card 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=checked]:bg-line 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 focus-visible:border-primary focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus:border-primary font-mono 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-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:text-fg inset-e-8 items-center justify-between justify-center leading-normal max-h-72 mb-1 min-w-0 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 outline-none overflow-y-auto p-1 pb-1 pe-2 pe-2.5 pe-3 placeholder:text-muted ps-2.5 ps-3 ps-4 pt-2 px-2.5 py-2 relative 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.5 size-4 size-6 size-[15px] size-full sr-only sticky 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-fg text-muted 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-select: 1;
|
|
5
5
|
}
|
package/dist/sources/slider.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe slider – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("absolute bg-bg bg-line-2 bg-line-strong bg-primary border-2 border-primary cursor-grab data-[orientation=vertical]:flex-col data-[orientation=vertical]:flex-row data-[orientation=vertical]:h-auto data-[orientation=vertical]:h-full data-[orientation=vertical]:h-px data-[orientation=vertical]:inset-x-auto data-[orientation=vertical]:inset-y-0 data-[orientation=vertical]:mb-0 data-[orientation=vertical]:me-14 data-[orientation=vertical]:min-h-40 data-[orientation=vertical]:ms-2 data-[orientation=vertical]:mt-0 data-[orientation=vertical]:start-full data-[orientation=vertical]:w-1.5 data-[orientation=vertical]:w-5 data-[orientation=vertical]:w-auto data-[orientation=vertical]:w-full data-disabled:border-line-strong data-disabled:cursor-not-allowed data-disabled:text-muted data-dragging:cursor-grabbing flex flex-1 flex-col focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 font-medium font-mono forced-colors:bg-[Highlight] forced-colors:border forced-colors:border-[CanvasText] forced-colors:forced-color-adjust-none gap-0.5 gap-2.5 gap-3 h-1.5 h-5 h-full inset-x-0 items-baseline items-center justify-between mb-6 mt-1 overflow-hidden relative rounded-full shadow-[0_1px_4px_rgba(0,0,0,.3)] size-5 sr-only tabular-nums text-[11px] text-[13px] text-fg text-muted text-xs top-full w-full w-px whitespace-nowrap");
|
|
2
|
+
@source inline("absolute bg-bg bg-line-2 bg-line-strong bg-primary border-2 border-primary cursor-grab data-[orientation=vertical]:flex-col data-[orientation=vertical]:flex-row data-[orientation=vertical]:h-auto data-[orientation=vertical]:h-full data-[orientation=vertical]:h-px data-[orientation=vertical]:inset-x-auto data-[orientation=vertical]:inset-y-0 data-[orientation=vertical]:mb-0 data-[orientation=vertical]:me-14 data-[orientation=vertical]:min-h-40 data-[orientation=vertical]:ms-2 data-[orientation=vertical]:mt-0 data-[orientation=vertical]:start-full data-[orientation=vertical]:w-1.5 data-[orientation=vertical]:w-5 data-[orientation=vertical]:w-auto data-[orientation=vertical]:w-full data-disabled:border-line-strong data-disabled:cursor-not-allowed data-disabled:text-muted data-dragging:cursor-grabbing flex flex-1 flex-col focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 font-medium font-mono forced-colors:bg-[Highlight] forced-colors:border forced-colors:border-[CanvasText] forced-colors:forced-color-adjust-none gap-0.5 gap-2.5 gap-3 h-1.5 h-5 h-full inset-x-0 items-baseline items-center justify-between justify-end mb-6 mt-1 overflow-hidden relative rounded-full shadow-[0_1px_4px_rgba(0,0,0,.3)] size-5 sr-only tabular-nums text-[11px] text-[13px] text-fg text-muted text-xs top-full w-full w-px whitespace-nowrap");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-slider: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe tagsInput – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("absolute bg-bg bg-card bg-line bg-transparent border border-line-2 border-line-strong border-primary 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=checked]:bg-line 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-highlighted:bg-line data-highlighted:bg-primary data-highlighted:text-on-primary data-invalid:border-danger flex flex-1 flex-col flex-wrap focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary font-mono forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:text-[HighlightText] gap-1 gap-1.5 gap-2 h-7 h-9 h-px hover:opacity-100 hover:text-fg inline-flex inset-x-0 items-center justify-center max-h-72 min-h-
|
|
2
|
+
@source inline("absolute bg-bg bg-card bg-line bg-transparent border border-line-2 border-line-strong border-primary 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=checked]:bg-line 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-highlighted:bg-line data-highlighted:bg-primary data-highlighted:text-on-primary data-invalid:border-danger flex flex-1 flex-col flex-wrap focus-visible:outline-2 focus-visible:outline-fg focus-visible:outline-offset-2 focus-within:border-primary font-mono forced-colors:data-highlighted:bg-[Highlight] forced-colors:data-highlighted:forced-color-adjust-none forced-colors:data-highlighted:text-[HighlightText] gap-1 gap-1.5 gap-2 h-7 h-9 h-px hover:opacity-100 hover:text-fg inline-flex inset-x-0 items-center justify-center max-h-72 min-h-[var(--wc-control-h-md,2.5rem)] min-w-0 min-w-24 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-auto mt-1 opacity-70 outline-none overflow-y-auto p-1 pb-1 pe-1 placeholder:text-muted ps-2 pt-2 px-1 px-2 px-2.5 py-1.5 py-2 relative rounded rounded-[var(--wc-control-radius-md,0.5rem)] rounded-full rounded-lg rounded-md rounded-popup shadow-[0_14px_32px_-12px_rgba(0,0,0,.45)] shrink-0 size-3.5 size-4 size-5 size-7 text-[11px] text-[length:var(--wc-control-text-md,15px)] text-current text-fg text-muted text-sm text-xs top-full tracking-label transition-colors truncate uppercase w-full z-50");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-tagsInput: 1;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Classes of the WireLayer recipe textarea – generated by scripts/sources.ts, do not edit */
|
|
2
|
-
@source inline("bg-bg bg-bg-2 block border border-danger border-line border-line-strong border-success cursor-not-allowed focus:border-danger focus:border-primary focus:border-success leading-normal motion-reduce:transition-none outline-none overflow-hidden pe-10 placeholder:text-muted px-2.5 px-3 px-4 py-1.5 py-3 py-[9px] resize-none resize-y rounded-[10px] rounded-
|
|
2
|
+
@source inline("bg-bg bg-bg-2 block border border-danger border-line border-line-strong border-success cursor-not-allowed focus:border-danger focus:border-primary focus:border-success leading-normal motion-reduce:transition-none outline-none overflow-hidden pe-10 placeholder:text-muted px-2.5 px-3 px-4 py-1.5 py-3 py-[9px] resize-none resize-y rounded-[var(--wc-control-radius-lg,10px)] rounded-[var(--wc-control-radius-md,0.5rem)] rounded-[var(--wc-control-radius-sm,0.375rem)] 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-fg text-muted transition-colors w-full");
|
|
3
3
|
:root {
|
|
4
4
|
--wc-recipe-textarea: 1;
|
|
5
5
|
}
|
package/dist/vite.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Plugin } from 'vite';
|
|
2
|
+
export interface WireLayerSourcesOptions {
|
|
3
|
+
/** Folders searched for imports, relative to the Vite root (default: the root) */
|
|
4
|
+
include?: string[];
|
|
5
|
+
/** Folder names skipped while searching (default: node_modules, dist and the build folders of Nuxt, Next, Astro) */
|
|
6
|
+
exclude?: string[];
|
|
7
|
+
}
|
|
8
|
+
/** Names imported from the WireLayer packages, by package; `*` for a namespace import (`import * as W`) */
|
|
9
|
+
export declare function findImports(code: string, found?: Map<string, Set<string>>): Map<string, Set<string>>;
|
|
10
|
+
/** The sources files (absolute paths) for the imported names – names without one (helpers, types) are skipped */
|
|
11
|
+
export declare function sourcesFiles(imports: Map<string, Set<string>>, root: string): string[];
|
|
12
|
+
/**
|
|
13
|
+
* Vite plugin for smaller CSS: imports the sources files of the components and recipes used in the app into the CSS
|
|
14
|
+
* file that imports `@wirecore/wirelayer-vue/theme.css` (or `styles-core.css`; the same for React). Put it before
|
|
15
|
+
* Tailwind's plugin. Components that are registered globally or imported automatically are not found – the warning
|
|
16
|
+
* "classes … are missing" names them in development; import their sources files by hand.
|
|
17
|
+
*/
|
|
18
|
+
export declare function wirelayer(options?: WireLayerSourcesOptions): Plugin;
|
|
19
|
+
//# sourceMappingURL=vite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../src/vite.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAiB,MAAM,MAAM,CAAC;AAKlD,MAAM,WAAW,uBAAuB;IACpC,kFAAkF;IAClF,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,oHAAoH;IACpH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB;AAUD,2GAA2G;AAC3G,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,2BAAiC,4BAe/E;AAED,iHAAiH;AACjH,wBAAgB,YAAY,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,YAc3E;AA2BD;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,OAAO,GAAE,uBAA4B,GAAG,MAAM,CAuEvE"}
|
package/dist/vite.js
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { existsSync, readdirSync, readFileSync, statSync } from 'node:fs';
|
|
3
|
+
import { createRequire } from 'node:module';
|
|
4
|
+
import { dirname, extname, join, relative } from 'node:path';
|
|
5
|
+
const PACKAGES = ['vue', 'react', 'blocks-vue', 'blocks-react', 'recipes'].map((name) => `@wirecore/wirelayer-${name}`);
|
|
6
|
+
/** The CSS file that gets the imports: the one importing the theme without component classes */
|
|
7
|
+
const ENTRY = /@import\s+['"]@wirecore\/wirelayer-(?:vue|react)\/(?:theme|styles-core)\.css['"]/;
|
|
8
|
+
const IMPORT = /(?:import|export)\s+(type\s+)?(\{[^}]*\}|\*\s+as\s+\w+)\s+from\s+['"](@wirecore\/wirelayer-[\w-]+)(?:\/[\w-]+)?['"]/g;
|
|
9
|
+
const SOURCE_FILES = new Set(['.vue', '.ts', '.tsx', '.js', '.jsx', '.mjs', '.mts', '.astro', '.mdx', '.svelte']);
|
|
10
|
+
const SKIPPED = ['node_modules', 'dist', '.git', '.nuxt', '.output', '.next', '.astro', '.vercel', 'storybook-static'];
|
|
11
|
+
/** Names imported from the WireLayer packages, by package; `*` for a namespace import (`import * as W`) */
|
|
12
|
+
export function findImports(code, found = new Map()) {
|
|
13
|
+
for (const [, typeOnly, names, pkg] of code.matchAll(IMPORT)) {
|
|
14
|
+
if (typeOnly || !PACKAGES.includes(pkg))
|
|
15
|
+
continue;
|
|
16
|
+
const set = found.get(pkg) ?? new Set();
|
|
17
|
+
found.set(pkg, set);
|
|
18
|
+
if (names.startsWith('*')) {
|
|
19
|
+
set.add('*');
|
|
20
|
+
continue;
|
|
21
|
+
}
|
|
22
|
+
for (const part of names.slice(1, -1).split(',')) {
|
|
23
|
+
const name = part.trim().split(/\s+as\s+/)[0];
|
|
24
|
+
if (name && !name.startsWith('type '))
|
|
25
|
+
set.add(name);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return found;
|
|
29
|
+
}
|
|
30
|
+
/** The sources files (absolute paths) for the imported names – names without one (helpers, types) are skipped */
|
|
31
|
+
export function sourcesFiles(imports, root) {
|
|
32
|
+
const require = createRequire(join(root, 'package.json'));
|
|
33
|
+
const files = new Set();
|
|
34
|
+
for (const [pkg, names] of imports) {
|
|
35
|
+
const folder = sourcesFolder(require, pkg);
|
|
36
|
+
if (!folder)
|
|
37
|
+
continue;
|
|
38
|
+
if (!existsSync(folder))
|
|
39
|
+
continue;
|
|
40
|
+
const wanted = names.has('*') ? readdirSync(folder).map((file) => file.slice(0, -4)) : [...names];
|
|
41
|
+
for (const name of wanted) {
|
|
42
|
+
const file = join(folder, `${name}.css`);
|
|
43
|
+
if (existsSync(file))
|
|
44
|
+
files.add(file);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return [...files].sort();
|
|
48
|
+
}
|
|
49
|
+
/** dist/sources of an installed package: up from its main entry to the folder of its package.json */
|
|
50
|
+
function sourcesFolder(require, pkg) {
|
|
51
|
+
let folder;
|
|
52
|
+
try {
|
|
53
|
+
folder = dirname(require.resolve(pkg));
|
|
54
|
+
}
|
|
55
|
+
catch {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
while (!existsSync(join(folder, 'package.json'))) {
|
|
59
|
+
const parent = dirname(folder);
|
|
60
|
+
if (parent === folder)
|
|
61
|
+
return undefined;
|
|
62
|
+
folder = parent;
|
|
63
|
+
}
|
|
64
|
+
return join(folder, 'dist/sources');
|
|
65
|
+
}
|
|
66
|
+
function sourceFilesIn(folder, skipped, out = []) {
|
|
67
|
+
for (const entry of readdirSync(folder, { withFileTypes: true })) {
|
|
68
|
+
if (entry.isDirectory()) {
|
|
69
|
+
if (!skipped.has(entry.name))
|
|
70
|
+
sourceFilesIn(join(folder, entry.name), skipped, out);
|
|
71
|
+
}
|
|
72
|
+
else if (SOURCE_FILES.has(extname(entry.name)))
|
|
73
|
+
out.push(join(folder, entry.name));
|
|
74
|
+
}
|
|
75
|
+
return out;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Vite plugin for smaller CSS: imports the sources files of the components and recipes used in the app into the CSS
|
|
79
|
+
* file that imports `@wirecore/wirelayer-vue/theme.css` (or `styles-core.css`; the same for React). Put it before
|
|
80
|
+
* Tailwind's plugin. Components that are registered globally or imported automatically are not found – the warning
|
|
81
|
+
* "classes … are missing" names them in development; import their sources files by hand.
|
|
82
|
+
*/
|
|
83
|
+
export function wirelayer(options = {}) {
|
|
84
|
+
let root = process.cwd();
|
|
85
|
+
const skipped = new Set(options.exclude ?? SKIPPED);
|
|
86
|
+
/** Imports per source file, so a changed file is read again on its own */
|
|
87
|
+
const perFile = new Map();
|
|
88
|
+
let imports = '';
|
|
89
|
+
const entries = new Set();
|
|
90
|
+
const read = (file) => {
|
|
91
|
+
try {
|
|
92
|
+
perFile.set(file, findImports(readFileSync(file, 'utf8')));
|
|
93
|
+
}
|
|
94
|
+
catch {
|
|
95
|
+
perFile.delete(file);
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
const collect = () => {
|
|
99
|
+
const all = new Map();
|
|
100
|
+
for (const found of perFile.values())
|
|
101
|
+
for (const [pkg, names] of found)
|
|
102
|
+
all.set(pkg, new Set([...(all.get(pkg) ?? []), ...names]));
|
|
103
|
+
return sourcesFiles(all, root)
|
|
104
|
+
.map((file) => `@import '${file.replaceAll('\\', '/')}';`)
|
|
105
|
+
.join('\n');
|
|
106
|
+
};
|
|
107
|
+
const scan = () => {
|
|
108
|
+
perFile.clear();
|
|
109
|
+
for (const folder of options.include ?? ['.']) {
|
|
110
|
+
const path = join(root, folder);
|
|
111
|
+
if (existsSync(path) && statSync(path).isDirectory())
|
|
112
|
+
for (const file of sourceFilesIn(path, skipped))
|
|
113
|
+
read(file);
|
|
114
|
+
}
|
|
115
|
+
imports = collect();
|
|
116
|
+
};
|
|
117
|
+
return {
|
|
118
|
+
name: 'wirelayer-sources',
|
|
119
|
+
enforce: 'pre',
|
|
120
|
+
configResolved(config) {
|
|
121
|
+
root = config.root;
|
|
122
|
+
},
|
|
123
|
+
buildStart() {
|
|
124
|
+
scan();
|
|
125
|
+
},
|
|
126
|
+
transform(code, id) {
|
|
127
|
+
const entry = id.split('?')[0].endsWith('.css') ? ENTRY.exec(code) : null;
|
|
128
|
+
if (!entry)
|
|
129
|
+
return;
|
|
130
|
+
entries.add(id);
|
|
131
|
+
// Right after the theme import – @import rules come before all others
|
|
132
|
+
const end = code.indexOf(';', entry.index) + 1;
|
|
133
|
+
return {
|
|
134
|
+
code: `${code.slice(0, end)}\n/* added by wirelayer() */\n${imports}\n${code.slice(end)}`,
|
|
135
|
+
map: null,
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
configureServer(server) {
|
|
139
|
+
// A new or changed import adds its sources file: the CSS is built again
|
|
140
|
+
const update = (file) => {
|
|
141
|
+
if (!SOURCE_FILES.has(extname(file)) || relative(root, file).startsWith('..'))
|
|
142
|
+
return;
|
|
143
|
+
if ([...skipped].some((name) => file.split(/[\\/]/).includes(name)))
|
|
144
|
+
return;
|
|
145
|
+
read(file);
|
|
146
|
+
const next = collect();
|
|
147
|
+
if (next === imports)
|
|
148
|
+
return;
|
|
149
|
+
imports = next;
|
|
150
|
+
for (const id of entries) {
|
|
151
|
+
const module = server.moduleGraph.getModuleById(id);
|
|
152
|
+
if (module)
|
|
153
|
+
void server.reloadModule(module);
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
server.watcher.on('add', update);
|
|
157
|
+
server.watcher.on('change', update);
|
|
158
|
+
},
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
//# sourceMappingURL=vite.js.map
|
package/dist/vite.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vite.js","sourceRoot":"","sources":["../src/vite.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAa7D,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,uBAAuB,IAAI,EAAE,CAAC,CAAC;AACxH,gGAAgG;AAChG,MAAM,KAAK,GAAG,kFAAkF,CAAC;AACjG,MAAM,MAAM,GACR,sHAAsH,CAAC;AAC3H,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,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O,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;oBAAE,OAAO;gBAC5E,IAAI,CAAC,IAAI,CAAC,CAAC;gBACX,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;gBACvB,IAAI,IAAI,KAAK,OAAO;oBAAE,OAAO;gBAC7B,OAAO,GAAG,IAAI,CAAC;gBACf,KAAK,MAAM,EAAE,IAAI,OAAO,EAAE,CAAC;oBACvB,MAAM,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;oBACpD,IAAI,MAAM;wBAAE,KAAK,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;gBACjD,CAAC;YACL,CAAC,CAAC;YACF,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;YACjC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QACxC,CAAC;KACJ,CAAC;AACN,CAAC"}
|
package/dist/widgets.d.ts
CHANGED
|
@@ -155,12 +155,12 @@ export declare const imageCropper: import("tailwind-variants").TVReturnType<{
|
|
|
155
155
|
viewport?: import("tailwind-variants").ClassValue;
|
|
156
156
|
grid?: import("tailwind-variants").ClassValue;
|
|
157
157
|
toolbar?: import("tailwind-variants").ClassValue;
|
|
158
|
+
selection?: import("tailwind-variants").ClassValue;
|
|
158
159
|
root?: import("tailwind-variants").ClassValue;
|
|
159
160
|
handle?: import("tailwind-variants").ClassValue;
|
|
160
161
|
toolIcon?: import("tailwind-variants").ClassValue;
|
|
161
162
|
tool?: import("tailwind-variants").ClassValue;
|
|
162
163
|
zoom?: import("tailwind-variants").ClassValue;
|
|
163
|
-
selection?: import("tailwind-variants").ClassValue;
|
|
164
164
|
};
|
|
165
165
|
};
|
|
166
166
|
} | {
|
|
@@ -171,12 +171,12 @@ export declare const imageCropper: import("tailwind-variants").TVReturnType<{
|
|
|
171
171
|
viewport?: import("tailwind-variants").ClassValue;
|
|
172
172
|
grid?: import("tailwind-variants").ClassValue;
|
|
173
173
|
toolbar?: import("tailwind-variants").ClassValue;
|
|
174
|
+
selection?: import("tailwind-variants").ClassValue;
|
|
174
175
|
root?: import("tailwind-variants").ClassValue;
|
|
175
176
|
handle?: import("tailwind-variants").ClassValue;
|
|
176
177
|
toolIcon?: import("tailwind-variants").ClassValue;
|
|
177
178
|
tool?: import("tailwind-variants").ClassValue;
|
|
178
179
|
zoom?: import("tailwind-variants").ClassValue;
|
|
179
|
-
selection?: import("tailwind-variants").ClassValue;
|
|
180
180
|
};
|
|
181
181
|
};
|
|
182
182
|
} | {}, {
|
|
@@ -199,12 +199,12 @@ export declare const imageCropper: import("tailwind-variants").TVReturnType<{
|
|
|
199
199
|
viewport?: import("tailwind-variants").ClassValue;
|
|
200
200
|
grid?: import("tailwind-variants").ClassValue;
|
|
201
201
|
toolbar?: import("tailwind-variants").ClassValue;
|
|
202
|
+
selection?: import("tailwind-variants").ClassValue;
|
|
202
203
|
root?: import("tailwind-variants").ClassValue;
|
|
203
204
|
handle?: import("tailwind-variants").ClassValue;
|
|
204
205
|
toolIcon?: import("tailwind-variants").ClassValue;
|
|
205
206
|
tool?: import("tailwind-variants").ClassValue;
|
|
206
207
|
zoom?: import("tailwind-variants").ClassValue;
|
|
207
|
-
selection?: import("tailwind-variants").ClassValue;
|
|
208
208
|
};
|
|
209
209
|
};
|
|
210
210
|
} | {}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecore/wirelayer-recipes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Framework-agnostic WireLayer component recipes (tailwind-variants)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
"types": "./dist/locales/*.d.ts",
|
|
30
30
|
"default": "./dist/locales/*.js"
|
|
31
31
|
},
|
|
32
|
+
"./vite": {
|
|
33
|
+
"types": "./dist/vite.d.ts",
|
|
34
|
+
"default": "./dist/vite.js"
|
|
35
|
+
},
|
|
32
36
|
"./tailwind.css": "./tailwind.css",
|
|
33
37
|
"./sources/*": "./dist/sources/*",
|
|
34
38
|
"./native.css": "./native.css"
|
|
@@ -43,8 +47,17 @@
|
|
|
43
47
|
"tailwind-merge": "^3.7.0",
|
|
44
48
|
"tailwind-variants": "^3.3.1"
|
|
45
49
|
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"vite": ">=7"
|
|
52
|
+
},
|
|
53
|
+
"peerDependenciesMeta": {
|
|
54
|
+
"vite": {
|
|
55
|
+
"optional": true
|
|
56
|
+
}
|
|
57
|
+
},
|
|
46
58
|
"devDependencies": {
|
|
47
|
-
"typescript": "~6.0.3"
|
|
59
|
+
"typescript": "~6.0.3",
|
|
60
|
+
"vite": "^8.3.4"
|
|
48
61
|
},
|
|
49
62
|
"scripts": {
|
|
50
63
|
"build": "tsc -p tsconfig.build.json && node ../../scripts/sources.ts recipes",
|
package/src/app.ts
CHANGED
|
@@ -138,7 +138,7 @@ export const tagsInput = tv({
|
|
|
138
138
|
// relative: the suggestions open below the field
|
|
139
139
|
base: 'relative flex w-full flex-col',
|
|
140
140
|
control: [
|
|
141
|
-
'flex min-h-
|
|
141
|
+
'flex min-h-[var(--wc-control-h-md,2.5rem)] w-full flex-wrap items-center gap-1.5 rounded-[var(--wc-control-radius-md,0.5rem)] border border-line-strong bg-bg px-2 py-1.5 text-fg',
|
|
142
142
|
'transition-colors focus-within:border-primary motion-reduce:transition-none',
|
|
143
143
|
'data-invalid:border-danger data-disabled:cursor-not-allowed data-disabled:border-line data-disabled:bg-bg-2',
|
|
144
144
|
],
|
|
@@ -153,7 +153,7 @@ export const tagsInput = tv({
|
|
|
153
153
|
],
|
|
154
154
|
deleteIcon: 'size-3.5',
|
|
155
155
|
itemInput: 'h-7 rounded-md border border-primary bg-bg px-2 text-sm outline-none',
|
|
156
|
-
input: 'h-7 min-w-24 flex-1 bg-transparent px-1 text-[15px] outline-none placeholder:text-muted',
|
|
156
|
+
input: 'h-7 min-w-24 flex-1 bg-transparent px-1 text-[length:var(--wc-control-text-md,15px)] outline-none placeholder:text-muted',
|
|
157
157
|
clear: [
|
|
158
158
|
'ms-auto flex size-7 cursor-pointer items-center justify-center rounded-full text-muted hover:text-fg',
|
|
159
159
|
focusRing,
|