@nxgt/material-vue 0.23.0 → 0.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/{Button-DcFHQ3oH.js → Button-CVIR6uLK.js} +1 -1
- package/dist/{HoverCardTrigger-D99aHKDX.js → HoverCardTrigger-iAL5ALrL.js} +2 -2
- package/dist/{camera-C7V5U_xH.js → camera-CZ8rAJJw.js} +4 -4
- package/dist/{components-BSnW1NZK.js → components-rxjZLVgg.js} +13601 -13611
- package/dist/components.js +5 -5
- package/dist/composables.js +2 -2
- package/dist/dnd.js +1 -1
- package/dist/{i18n-provider-BTm3J_K9.js → i18n-provider-BqWxpaKu.js} +1 -1
- package/dist/i18n.js +4 -4
- package/dist/{icon-button-DnjboAtZ.js → icon-button-DbEME76t.js} +1 -1
- package/dist/{image-cropper-canvas-DZGLMjV6.js → image-cropper-canvas-HzYWblQm.js} +435 -428
- package/dist/lib/components/ui/media/upload/network-upload-field/network-upload-field.utils.d.ts +0 -1
- package/dist/lib/i18n/resources/fr/material.json.d.ts +1 -1
- package/dist/lib/nuxt/module.d.ts +3 -1
- package/dist/lib/nuxt/pdf-fonts.d.ts +30 -1
- package/dist/lib.js +2 -2
- package/dist/main.js +10 -10
- package/dist/map.js +4 -4
- package/dist/{pdf-outline-sidebar-D45RuliO.js → pdf-outline-sidebar-OS2Y1474.js} +2 -2
- package/dist/{pdf-page-QUKMeod_.js → pdf-page-JmniMEx_.js} +1 -1
- package/dist/{pdf-page-list-DzfNykQj.js → pdf-page-list-B0lztX0G.js} +2 -2
- package/dist/{pdf-reader-Bmj2kN0E.js → pdf-reader-B1VMEqB1.js} +8 -8
- package/dist/{pdf-sidebar-CV_Hy9vw.js → pdf-sidebar-lzuYwLJg.js} +3 -3
- package/dist/{pdf-thumbnail-sidebar-Cgk8Y79g.js → pdf-thumbnail-sidebar-CD048QuU.js} +3 -3
- package/dist/{pdf-toolbar-Cj_fCmo3.js → pdf-toolbar-B6gRRcsv.js} +4 -4
- package/dist/pdf.js +2 -2
- package/dist/{sortable-provider-CxI3cMbb.js → sortable-provider-oEVjQiCl.js} +2 -2
- package/dist/{stored-language-D7FRT1hD.js → stored-language-rjOMJkyX.js} +1 -1
- package/dist/{stx-player-C3g6Pcxu.js → stx-player-QAMhUdS_.js} +2 -2
- package/dist/{translator-BJPRdlc8.js → translator-BCSJSO1-.js} +1 -1
- package/dist/{use-heading-spy-xe2FFmGU.js → use-heading-spy-d50_nxgR.js} +1 -1
- package/dist/{use-material-translation-gr5V24w5.js → use-material-translation-C5zPFhbk.js} +3 -3
- package/docs/getting-started.md +4 -1
- package/docs/guides/pdf.md +5 -2
- package/docs/roadmap.md +9 -0
- package/docs/troubleshooting.md +51 -2
- package/lib/nuxt/module.ts +23 -6
- package/lib/nuxt/pdf-fonts.ts +101 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -582,6 +582,7 @@ The ones that cost the most time. Every error message, with its fix, is in
|
|
|
582
582
|
| A map renders as an empty box under SSR, or `Cannot find package 'leaflet'` | wrap it in `<ClientOnly>`; `bun add leaflet @vue-leaflet/vue-leaflet` ([maps](https://cdn.jsdelivr.net/npm/@nxgt/material-vue@0/docs/guides/maps.md#browser-only)) |
|
|
583
583
|
| `PdfPeerMissingError: … needs the optional peers` when rendering a PDF | `bun add react @react-pdf/renderer@^4.9` |
|
|
584
584
|
| `Cannot find module '#standard-fonts/Helvetica'` on every request of a server with no `node_modules` | `nxgtMaterial: { pdf: { bundleStandardFonts: true } }`, or `pdfkitStandardFonts()` from `/vite` ([PDF guide](https://cdn.jsdelivr.net/npm/@nxgt/material-vue@0/docs/guides/pdf.md#fonts-on-a-fully-inlined-server)) |
|
|
585
|
+
| `Cannot find module '…/pdfkit/js/standard-fonts/Helvetica.cjs'` from a Nuxt or Nitro production server | use the Nuxt module, or add pdfkit's font files to `nitro.externals.traceInclude` ([troubleshooting](https://cdn.jsdelivr.net/npm/@nxgt/material-vue@0/docs/troubleshooting.md#cannot-find-module-pdfkitjsstandard-fontshelveticacjs)) |
|
|
585
586
|
| CSS or a test selecting `[data-variant=destructive]` on a menu item stops matching | menu items render `data-variant="error"`, for `variant="error"` and the deprecated `"destructive"` alike: select `[data-variant=error]` |
|
|
586
587
|
|
|
587
588
|
## Documentation
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./utils-CykWQ0iJ.js";
|
|
2
|
-
import { t } from "./use-material-translation-
|
|
2
|
+
import { t } from "./use-material-translation-C5zPFhbk.js";
|
|
3
3
|
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, mergeProps as d, normalizeClass as f, normalizeProps as p, openBlock as m, renderSlot as h, shallowRef as g, toDisplayString as _, unref as v, useAttrs as y, withCtx as b } from "vue";
|
|
4
4
|
import { Primitive as x, TooltipArrow as S, TooltipContent as C, TooltipPortal as w, TooltipProvider as T, TooltipRoot as E, TooltipTrigger as D, useForwardPropsEmits as O } from "reka-ui";
|
|
5
5
|
import { cva as k } from "class-variance-authority";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./utils-CykWQ0iJ.js";
|
|
2
|
-
import { t } from "./use-material-translation-
|
|
3
|
-
import { t as n } from "./Button-
|
|
2
|
+
import { t } from "./use-material-translation-C5zPFhbk.js";
|
|
3
|
+
import { t as n } from "./Button-CVIR6uLK.js";
|
|
4
4
|
import { createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, isRef as d, mergeProps as f, normalizeClass as p, normalizeProps as m, openBlock as h, renderSlot as g, toDisplayString as _, unref as v, useId as y, useTemplateRef as b, vModelText as x, withCtx as S, withDirectives as C } from "vue";
|
|
5
5
|
import { X as w } from "@lucide/vue";
|
|
6
6
|
import { DialogClose as T, DialogContent as E, DialogDescription as D, DialogOverlay as O, DialogPortal as k, DialogRoot as ee, DialogTitle as te, DialogTrigger as A, HoverCardContent as j, HoverCardPortal as M, HoverCardRoot as N, HoverCardTrigger as P, Label as F, useForwardProps as I, useForwardPropsEmits as L } from "reka-ui";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./utils-CykWQ0iJ.js";
|
|
2
|
-
import { ar as t, nr as n, rr as r } from "./components-
|
|
3
|
-
import { t as i } from "./use-material-translation-
|
|
4
|
-
import { t as a } from "./Button-
|
|
5
|
-
import { t as o } from "./icon-button-
|
|
2
|
+
import { ar as t, nr as n, rr as r } from "./components-rxjZLVgg.js";
|
|
3
|
+
import { t as i } from "./use-material-translation-C5zPFhbk.js";
|
|
4
|
+
import { t as a } from "./Button-CVIR6uLK.js";
|
|
5
|
+
import { t as o } from "./icon-button-DbEME76t.js";
|
|
6
6
|
import { createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, openBlock as h, ref as g, renderSlot as _, shallowRef as v, toDisplayString as y, unref as b, withCtx as x } from "vue";
|
|
7
7
|
import { Pause as S, Play as C } from "@lucide/vue";
|
|
8
8
|
//#region lib/components/ui/media/camera/camera-content.vue?vue&type=script&setup=true&lang.ts
|