@nxgt/material-vue 0.29.0 → 0.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist/{Button-D1uzdbOJ.js → Button-CNbJT5qV.js} +5 -5
  3. package/dist/{HoverCardTrigger-DaM5d4hE.js → HoverCardTrigger-BTAHE6wK.js} +11 -2
  4. package/dist/{camera-DZ5nYW-v.js → camera-l87FB3uW.js} +3 -3
  5. package/dist/components/theme-tokens.css +2 -2
  6. package/dist/components/ui/primitives/label/label.css +14 -21
  7. package/dist/{components-Cteo76NG.js → components-DSl6EpOS.js} +6827 -6809
  8. package/dist/components.js +5 -5
  9. package/dist/dnd.js +1 -1
  10. package/dist/{form-scope-BvdPqk6T.js → form-scope-BTUGjQdY.js} +1 -1
  11. package/dist/{icon-button-D60G5B_Z.js → icon-button-DXXjxBgr.js} +6 -6
  12. package/dist/lib/components/ui/collections/data-table/partials/data-table-toolbar.d.ts +14 -9
  13. package/dist/lib/components/ui/dates/calendar/calendar-weekday.d.ts +4 -0
  14. package/dist/lib/components/ui/feedback/toast/toast-classes.d.ts +13 -0
  15. package/dist/lib/components/ui/layout/app-shell/use-navigation-sheet.d.ts +3 -2
  16. package/dist/main.js +5 -5
  17. package/dist/map.js +3 -3
  18. package/dist/material-vue.css +1 -1
  19. package/dist/{pdf-outline-sidebar-Bln9F9gF.js → pdf-outline-sidebar-DQ6BCQhR.js} +1 -1
  20. package/dist/{pdf-page-BVtXjnHS.js → pdf-page-cuvGDdM2.js} +1 -1
  21. package/dist/{pdf-page-list-D3eng5h4.js → pdf-page-list-B94WdjV4.js} +2 -2
  22. package/dist/{pdf-reader-CPms5uyj.js → pdf-reader-CEkr3KzC.js} +7 -7
  23. package/dist/{pdf-sidebar-lzBEntPH.js → pdf-sidebar-DJf--6rP.js} +2 -2
  24. package/dist/{pdf-thumbnail-sidebar-DB3PmiGW.js → pdf-thumbnail-sidebar-JLWNyl-p.js} +2 -2
  25. package/dist/{pdf-toolbar-mWlGTWU1.js → pdf-toolbar-B_MDicKL.js} +3 -3
  26. package/dist/pdf.js +1 -1
  27. package/dist/{sortable-provider-Dml11nQY.js → sortable-provider-Cb3tm9Cy.js} +1 -1
  28. package/dist/{stx-player-BpQHnHaa.js → stx-player-DWy055hI.js} +1 -1
  29. package/docs/components/data-table-filter-and-lists.md +15 -6
  30. package/docs/components/date-and-time.md +6 -1
  31. package/docs/components/feedback-and-status.md +17 -2
  32. package/docs/components/primitives.md +7 -6
  33. package/docs/guides/app-shell.md +2 -1
  34. package/docs/previews/date-time-calendar.webp +0 -0
  35. package/docs/previews/date-time-datefield.webp +0 -0
  36. package/docs/previews/date-time-daterangefield.webp +0 -0
  37. package/docs/previews/feedback-status-toast.webp +0 -0
  38. package/docs/roadmap.md +76 -38
  39. package/docs/troubleshooting.md +99 -8
  40. package/lib/components/theme-tokens.css +2 -2
  41. package/lib/components/ui/primitives/label/label.css +14 -21
  42. package/package.json +2 -2
@@ -1,33 +1,26 @@
1
- /* The required mark of `Label withAsterisk`. Drawn, not typed: a "*" in the
2
- * label's text joined its name ("Email *") for `getByLabel(…, { exact })`,
3
- * `getByLabelText` and screen readers, and generated text (`content: "*"`)
4
- * joins the accessible name too. An empty `content` painted by a mask adds
5
- * nothing to the name or the text. The field's own `required` /
6
- * `aria-required` is what is announced. Restyle it from your own CSS:
7
- * `background-color` for the colour, `width` / `height` for the size. */
8
- [data-slot="label-text"][data-required]::after {
9
- content: "";
1
+ /* The required mark of `Label withAsterisk`: an `aria-hidden` inline SVG in
2
+ * the label's markup, not a "*" in its text. A typed "*" joined the label's
3
+ * name ("Email *") for `getByLabel(…, { exact })`, `getByLabelText` and
4
+ * screen readers, and so does generated text (`content: "*"`). The field's
5
+ * own `required` / `aria-required` is what is announced. Drawn by the markup,
6
+ * it loads no image: a Content-Security-Policy whose `img-src` refuses
7
+ * `data:` draws it too. Restyle it from your own CSS: `color` for the colour,
8
+ * `width` / `height` for the size. */
9
+ [data-slot="label-required-mark"] {
10
10
  display: inline-block;
11
11
  flex: none;
12
12
  align-self: flex-start;
13
13
  width: 0.5em;
14
14
  height: 0.5em;
15
15
  margin-block-start: 0.05em;
16
- background-color: var(--color-error);
17
- --label-required-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 1v8M1.5 3l7 4M8.5 3l-7 4' stroke='black' stroke-width='1.75' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
18
- mask-image: var(--label-required-mark);
19
- mask-size: contain;
20
- mask-repeat: no-repeat;
21
- mask-position: center;
22
- /* A browser's print stylesheet drops backgrounds; this one is the mark. */
23
- print-color-adjust: exact;
24
- -webkit-print-color-adjust: exact;
16
+ color: var(--color-error);
17
+ overflow: visible;
25
18
  }
26
19
 
27
- /* Forced colours replace background-color with the system palette's own;
20
+ /* Forced colours keep an SVG's `currentColor` stroke as authored;
28
21
  * CanvasText keeps the mark visible on any theme. */
29
22
  @media (forced-colors: active) {
30
- [data-slot="label-text"][data-required]::after {
31
- background-color: CanvasText;
23
+ [data-slot="label-required-mark"] {
24
+ color: CanvasText;
32
25
  }
33
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxgt/material-vue",
3
- "version": "0.29.0",
3
+ "version": "0.30.1",
4
4
  "license": "MIT",
5
5
  "bugs": {
6
6
  "email": "stevegires@gmail.com"
@@ -119,7 +119,7 @@
119
119
  "docs:previews": "vitest run --project previews"
120
120
  },
121
121
  "dependencies": {
122
- "@nxgt/material-core": "^0.7.0",
122
+ "@nxgt/material-core": "^0.7.1",
123
123
  "@floating-ui/dom": "^1.8.0",
124
124
  "@fortawesome/fontawesome-common-types": "7.3.1",
125
125
  "@lucide/vue": "^1.45.0",