@nxgt/material 3.86.2 → 3.87.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/CHANGELOG.md +16 -0
- package/README.md +1 -0
- package/dist/{alert-dialog-DZnt8PYE.js → alert-dialog-DC_9MW49.js} +1 -1
- package/dist/{async-slice-D3OdV2BS.js → async-slice-C6XbESai.js} +1 -1
- package/dist/{button-MAL5an7L.js → button-BksHtogl.js} +1 -1
- package/dist/{calculator-C3a8YMwl.js → calculator-C_dTrMWE.js} +10 -10
- package/dist/calculator-field.js +6 -6
- package/dist/{calculator-segment-BigMpjhn.js → calculator-segment-FOUl66f6.js} +1 -1
- package/dist/calculator.js +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-DKAKoNxq.js → chip-BWaC87zs.js} +2 -2
- package/dist/{code-editor-B6dFQSUJ.js → code-editor-ddbQ0pEc.js} +4 -4
- package/dist/code-editor.js +4 -4
- package/dist/{code-language-items-CXEMiWoF.js → code-language-items-jRlQfjAm.js} +2 -2
- package/dist/components/components.css +2 -0
- package/dist/components/ui/collections/marking-list/marking-list.css +16 -0
- package/dist/components/ui/primitives/toggle-group/toggle-group-connected.css +1 -1
- package/dist/components/ui/primitives/toggle-group/toggle-group-segmented.css +1 -1
- package/dist/components/ui/primitives/toggle-group/toggle-group-separate.css +1 -1
- package/dist/components/ui/primitives/toggle-group/toggle-group.css +12 -1
- package/dist/{components-BTukNsPn.js → components-B5p3JKhQ.js} +15864 -15487
- package/dist/components.js +37 -37
- package/dist/{conversion-variant-BT5n4-jm.js → conversion-variant-Cauk0BMS.js} +3 -3
- package/dist/{currency-field-t41sFYg_.js → currency-field-Dy2e9kSr.js} +4 -4
- package/dist/{dialog-BjKiRXJg.js → dialog-DNDT81SC.js} +3 -3
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-IRFp4CH9.js → dropdown-menu-DtVC2xQW.js} +1 -1
- package/dist/editor.js +7 -7
- package/dist/{empty-state-C70prDDr.js → empty-state-Dfsp5UF4.js} +1 -1
- package/dist/{financial-variant-BIpzs8IL.js → financial-variant-0fJAMale.js} +5 -5
- package/dist/{hooks-CjO11MS7.js → hooks-kPRle6lM.js} +2 -2
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-cU_aJa18.js → hover-card-CsxW7S7D.js} +1 -1
- package/dist/i18n.js +3 -3
- package/dist/{icon-badge-D3KO6uEQ.js → icon-badge-8CPy2xAU.js} +1 -1
- package/dist/{icon-button-DrqNk1Ww.js → icon-button-caFcCpXV.js} +1 -1
- package/dist/lib/components/ui/collections/filter/sections/filter-sections-classes.d.ts +4 -3
- package/dist/lib/components/ui/collections/index.d.ts +1 -0
- package/dist/lib/components/ui/collections/marking-list/index.d.ts +2 -0
- package/dist/lib/components/ui/collections/marking-list/marking-list.d.ts +11 -0
- package/dist/lib/components/ui/collections/marking-list/marking-list.utils.d.ts +18 -0
- package/dist/lib/components/ui/collections/marking-list/partials/marking-row-item.d.ts +16 -0
- package/dist/lib/components/ui/collections/marking-list/partials/marking-segments.d.ts +20 -0
- package/dist/lib/components/ui/collections/marking-list/partials/marking-set-remaining.d.ts +11 -0
- package/dist/lib/components/ui/collections/marking-list/partials/marking-tally.d.ts +14 -0
- package/dist/lib/components/ui/collections/marking-list/types.d.ts +74 -0
- package/dist/lib/components/ui/collections/marking-list/use-marking-expanded.d.ts +9 -0
- package/dist/lib/components/ui/collections/marking-list/use-marking-focus.d.ts +22 -0
- package/dist/lib/components/ui/collections/marking-list/use-marking-handlers.d.ts +11 -0
- package/dist/lib/components/ui/collections/marking-list/use-tally-speech.d.ts +16 -0
- package/dist/lib/components/ui/collections/page-footer/page-footer.d.ts +5 -1
- package/dist/lib/components/ui/collections/server-table/index.d.ts +1 -1
- package/dist/lib/components/ui/collections/server-table/server-table-paging.d.ts +8 -0
- package/dist/lib/components/ui/collections/server-table/types-paging.d.ts +6 -0
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/i18n/resources/en/en.d.ts +10 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +10 -0
- package/dist/lib/i18n/resources/fr/fr.d.ts +10 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +10 -0
- package/dist/lib/i18n/resources/resources.d.ts +20 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +53 -53
- package/dist/map.js +7 -7
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/{percent-field-D47IlaPF.js → percent-field-B6mJfY_p.js} +1 -1
- package/dist/{picker-surface-Cg4V4-E0.js → picker-surface-CVAW0t-r.js} +4 -4
- package/dist/{popover-Dzk4-l9U.js → popover-DhRPftzZ.js} +1 -1
- package/dist/{pos-types-JOXMY4Y2.js → pos-types-QcM9WTr0.js} +1 -1
- package/dist/{pos-variant-B2mS8bMB.js → pos-variant-BeON2e_Q.js} +4 -4
- package/dist/print.js +1 -1
- package/dist/{programmer-variant-C_Tl0P4_.js → programmer-variant-3cEMiII7.js} +2 -2
- package/dist/{public-ByAsqBOf.js → public-DezkDXv3.js} +10 -10
- package/dist/{rich-code-block-CJAfqk6b.js → rich-code-block-DloPqrFQ.js} +5 -5
- package/dist/{scientific-variant-CskM4MLV.js → scientific-variant-0Fq8HLiY.js} +2 -2
- package/dist/{sortable-provider-ICS_vkLA.js → sortable-provider-OB35mdNh.js} +2 -2
- package/dist/{spinner-CweqX5A9.js → spinner-CngjH5-n.js} +1 -1
- package/dist/{tabs-95Y2LmnV.js → tabs-C0CPqX5U.js} +1 -1
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-WAFkncYx.js → theme-toggle-BfXRbCwj.js} +1 -1
- package/dist/{toolbar-items-BsgzHSNf.js → toolbar-items-BU5_H3UA.js} +4 -4
- package/dist/{translate-material-DTIAPmlU.js → translate-material-B1wzg7uX.js} +1 -1
- package/dist/{translator-BRZNhsy5.js → translator-BwUYrek9.js} +20 -0
- package/dist/{use-chat-composer-CleSUh_y.js → use-chat-composer-Bsc1gCRQ.js} +15 -15
- package/dist/{use-heading-spy-D8WbHJuK.js → use-heading-spy-BpeWvZ2y.js} +4 -4
- package/dist/{use-material-translation-CCy1Me0h.js → use-material-translation-BDVGF7-Z.js} +1 -1
- package/dist/{use-return-focus-BA8G1qVU.js → use-return-focus-BttT8j1o.js} +1 -1
- package/docs/components/data-table-filter-and-lists.md +103 -0
- package/docs/components/primitives.md +4 -1
- package/docs/guides/theming.md +1 -1
- package/docs/previews/data-table-filter-lists-markinglist.webp +0 -0
- package/docs/roadmap.md +7 -2
- package/lib/components/components.css +2 -0
- package/lib/components/ui/collections/marking-list/marking-list.css +16 -0
- package/lib/components/ui/primitives/toggle-group/toggle-group-connected.css +1 -1
- package/lib/components/ui/primitives/toggle-group/toggle-group-segmented.css +1 -1
- package/lib/components/ui/primitives/toggle-group/toggle-group-separate.css +1 -1
- package/lib/components/ui/primitives/toggle-group/toggle-group.css +12 -1
- package/package.json +2 -2
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
border-radius: var(--tg-inner);
|
|
56
56
|
}
|
|
57
57
|
[data-variant="segmented"] > .nxgt-toggle-group-item[data-icon-only] {
|
|
58
|
-
min-width: calc(var(--tg-h) + 0.25rem);
|
|
58
|
+
min-width: max(var(--tg-touch), calc(var(--tg-h) + 0.25rem));
|
|
59
59
|
}
|
|
60
60
|
[data-variant="segmented"]
|
|
61
61
|
> .nxgt-toggle-group-item:hover:not(
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
scale var(--tg-fast) var(--tg-spring-fast);
|
|
66
66
|
}
|
|
67
67
|
[data-variant="separate"] > .nxgt-toggle-group-item[data-icon-only] {
|
|
68
|
-
width: calc(var(--tg-h) + 0.25rem);
|
|
68
|
+
width: max(var(--tg-touch), calc(var(--tg-h) + 0.25rem));
|
|
69
69
|
padding-inline-start: 0.25rem;
|
|
70
70
|
}
|
|
71
71
|
[data-variant="separate"] > .nxgt-toggle-group-item:hover:not(:disabled) {
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
--tg-spring: var(--nxgt-spring);
|
|
14
14
|
--tg-fast: var(--nxgt-spring-fast-duration);
|
|
15
15
|
--tg-slow: var(--nxgt-spring-duration);
|
|
16
|
+
--tg-touch: 0px;
|
|
16
17
|
--tg-h: 2.25rem;
|
|
17
18
|
--tg-pad: 1rem;
|
|
18
19
|
--tg-font: 0.875rem;
|
|
@@ -63,7 +64,8 @@
|
|
|
63
64
|
justify-content: center;
|
|
64
65
|
gap: var(--tg-lead-gap);
|
|
65
66
|
box-sizing: border-box;
|
|
66
|
-
min-width: var(--tg-h);
|
|
67
|
+
min-width: max(var(--tg-touch), var(--tg-h));
|
|
68
|
+
min-height: var(--tg-touch);
|
|
67
69
|
height: var(--tg-h);
|
|
68
70
|
padding-inline: var(--tg-pad);
|
|
69
71
|
border: 0;
|
|
@@ -104,6 +106,15 @@
|
|
|
104
106
|
cursor: not-allowed;
|
|
105
107
|
opacity: 0.45;
|
|
106
108
|
}
|
|
109
|
+
/* Touch: every item is a 44x44 box on a coarse pointer (a size sm item is
|
|
110
|
+
* 32px, an icon-only one about 36 to 42px wide). --tg-touch is the floor
|
|
111
|
+
* the item's min-width and min-height, and the variants' icon-only widths,
|
|
112
|
+
* take through max(); a fine pointer keeps the sizes above. */
|
|
113
|
+
@media (pointer: coarse) {
|
|
114
|
+
.nxgt-toggle-group {
|
|
115
|
+
--tg-touch: 2.75rem;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
107
118
|
|
|
108
119
|
/* The check a selected label-only item draws in (connected only). At rest
|
|
109
120
|
* it takes no room: no width, and a margin that cancels the gap. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nxgt/material",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.87.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"email": "stevegires@gmail.com"
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
"docs:previews": "rm -rf node_modules/.cache/nxgt-preview-free/missing && NXGT_PREVIEW_FREE=1 vitest run --project previews && bun .storybook/preview-free-report.ts"
|
|
391
391
|
},
|
|
392
392
|
"dependencies": {
|
|
393
|
-
"@nxgt/material-core": "^0.
|
|
393
|
+
"@nxgt/material-core": "^0.52.0",
|
|
394
394
|
"@base-ui/react": "^1.6.0",
|
|
395
395
|
"@dnd-kit/core": "^6.3.1",
|
|
396
396
|
"@dnd-kit/sortable": "^10.0.0",
|