@nxgt/material 3.65.0 → 3.67.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 +28 -0
- package/README.md +6 -2
- package/dist/{alert-dialog-C0nGUSCP.js → alert-dialog-BgQDxcYh.js} +1 -1
- package/dist/{async-slice-CyansBvD.js → async-slice-BCZyWgGr.js} +48 -25
- package/dist/{background-qdnet2A5.js → background-D1gC4m2R.js} +1 -1
- package/dist/backgrounds.js +1 -1
- package/dist/{button-D5k3K-gM.js → button-2de_lrix.js} +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-lWXIJkqo.js → chip-Cs0uEjpu.js} +2 -2
- package/dist/{code-editor-aXG4CdY-.js → code-editor-BYhBAfcc.js} +5 -5
- package/dist/code-editor.js +5 -5
- package/dist/{code-language-items-CsaXyApg.js → code-language-items-xhmbF6wA.js} +2 -2
- package/dist/components/components.css +2 -0
- package/dist/components/ui/layout/app-shell/activity-backdrop.css +4 -3
- package/dist/components/ui/primitives/tabs/tabs-nav-forced.css +27 -0
- package/dist/components/ui/primitives/toggle-group/toggle-group-segmented.css +10 -2
- package/dist/components/ui/primitives/toggle-group/toggle-group.css +5 -1
- package/dist/{components-DNcTvjlv.js → components-BRWaX4Xk.js} +17477 -17205
- package/dist/components.js +28 -28
- package/dist/{compose-refs-DZ0iIVF-.js → compose-refs-G4J4kaUA.js} +1 -1
- package/dist/{dialog-DWNaxpa-.js → dialog-Co5oksU1.js} +4 -4
- package/dist/dnd.js +2 -2
- package/dist/{dropdown-menu-ChvAIQIW.js → dropdown-menu-DdzyvN76.js} +1 -1
- package/dist/editor.js +365 -365
- package/dist/{empty-state-CFLcVzKL.js → empty-state-CQ0CV0kA.js} +2 -2
- package/dist/{field-blur-CV9orzdJ.js → field-blur-B2y-bNYi.js} +1 -1
- package/dist/{field-blur-context-C8BX8IBy.js → field-blur-context-BZtwcPUV.js} +1 -1
- package/dist/{hooks-DilW-3jc.js → hooks-DjuYsY-j.js} +2 -2
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-IeS_1RPH.js → hover-card-BeBVy6tB.js} +1 -1
- package/dist/i18n.js +3 -3
- package/dist/{icon-badge-Bf4SoA2i.js → icon-badge-DbYsbzwZ.js} +3 -3
- package/dist/{icon-button-l3dQTRrC.js → icon-button-Co6ttdv1.js} +1 -1
- package/dist/lib/components/ui/actions/back-link/back-link.d.ts +10 -0
- package/dist/lib/components/ui/actions/back-link/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/index.d.ts +2 -0
- package/dist/lib/components/ui/actions/link/link.d.ts +1 -19
- package/dist/lib/components/ui/actions/share-button/index.d.ts +3 -0
- package/dist/lib/components/ui/actions/share-button/share-button.d.ts +17 -0
- package/dist/lib/components/ui/actions/share-button/share-or-copy.d.ts +17 -0
- package/dist/lib/components/ui/collections/dnd/index.d.ts +1 -1
- package/dist/lib/components/ui/collections/row-menu/index.d.ts +1 -0
- package/dist/lib/components/ui/collections/row-menu/row-menu.d.ts +6 -1
- package/dist/lib/components/ui/collections/row-menu/use-row-menu-focus.d.ts +30 -0
- package/dist/lib/components/ui/display/enrolment-card/use-enrolment-card-labels.d.ts +1 -1
- package/dist/lib/components/ui/display/recovery-codes/use-recovery-codes-labels.d.ts +1 -1
- package/dist/lib/components/ui/display/recovery-codes-status/use-recovery-codes-status-labels.d.ts +1 -1
- package/dist/lib/components/ui/display/stat-card/partials/stat-card-link-parts.d.ts +7 -0
- package/dist/lib/components/ui/display/stat-card/stat-card.d.ts +6 -1
- package/dist/lib/components/ui/display/stat-card/types.d.ts +14 -0
- package/dist/lib/components/ui/feedback/step-up-dialog/use-step-up-labels.d.ts +1 -1
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/fields/number-field/number-control.d.ts +4 -1
- package/dist/lib/components/ui/fields/number-field/number-stepper.d.ts +5 -0
- package/dist/lib/components/ui/fields/verification-code/use-verification-labels.d.ts +1 -1
- package/dist/lib/components/ui/layout/app-shell/route-transition.d.ts +1 -1
- package/dist/lib/components/ui/media/media-player-host/use-host-engine.d.ts +1 -1
- package/dist/lib/components/ui/primitives/link/link-component-provider.d.ts +1 -1
- package/dist/lib/components/ui/primitives/link/nav-current.d.ts +22 -0
- package/dist/lib/components/ui/primitives/link/router-link.d.ts +25 -0
- package/dist/lib/components/ui/primitives/tabs/index.d.ts +2 -0
- package/dist/lib/components/ui/primitives/tabs/internal.d.ts +2 -0
- package/dist/lib/components/ui/primitives/tabs/partials/tabs-nav-link.d.ts +22 -0
- package/dist/lib/components/ui/primitives/tabs/tab-param-url.d.ts +53 -0
- package/dist/lib/components/ui/primitives/tabs/tabs-nav.d.ts +22 -0
- package/dist/lib/components/ui/primitives/tabs/tabs-selectors.d.ts +8 -0
- package/dist/lib/components/ui/primitives/tabs/use-tab-param.d.ts +35 -0
- package/dist/lib/components/ui/primitives/tabs/use-tabs-overflow.d.ts +4 -1
- package/dist/lib/components/ui/primitives/toggle-group/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/toggle-group/segmented-nav-item.d.ts +20 -0
- package/dist/lib/components/ui/primitives/toggle-group/segmented-nav.d.ts +22 -0
- package/dist/lib/components/ui/primitives/toggle-group/toggle-group.d.ts +4 -3
- package/dist/lib/i18n/resources/en/en.d.ts +5 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +6 -1
- package/dist/lib/i18n/resources/fr/fr.d.ts +5 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +6 -1
- package/dist/lib/i18n/resources/resources.d.ts +10 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +31 -54
- package/dist/main.js +42 -42
- package/dist/map.js +8 -8
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +1 -1
- package/dist/{public-B-greXGt.js → public-AXwv1h3v.js} +10 -10
- package/dist/{rich-code-block-Cv6s59vB.js → rich-code-block-qSvkA5rI.js} +5 -5
- package/dist/{sortable-provider-DVmZcglU.js → sortable-provider-DPk-RVEU.js} +3 -3
- package/dist/{spinner-OQAweH2r.js → spinner-PdSk7zEs.js} +1 -1
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-DPx44p6a.js → theme-toggle-CZQckLDd.js} +2 -2
- package/dist/{toggle-group-BkH23Jk4.js → toggle-group-DXXlqid2.js} +1 -1
- package/dist/{toolbar-items-CQ3S_XZw.js → toolbar-items-BmNYNaRB.js} +3 -3
- package/dist/{translate-material-BHL4g2UB.js → translate-material-BlCQ6AW9.js} +1 -1
- package/dist/{translator-BJsjXcAp.js → translator-ChpeKCO3.js} +8 -2
- package/dist/{typography-CwhEwPay.js → typography-C4JSRr2B.js} +1 -1
- package/dist/{use-chat-composer-R0vng5RU.js → use-chat-composer-OUa9akfM.js} +1725 -1719
- package/dist/{use-heading-spy-Brcn0l_J.js → use-heading-spy-K-HUp4o_.js} +4 -4
- package/dist/{use-material-translation-mY3U83TV.js → use-material-translation-DkE9J5NE.js} +1 -1
- package/dist/{use-return-focus-BQ413TNG.js → use-return-focus-KypnR7vv.js} +1 -1
- package/docs/components/README.md +3 -1
- package/docs/components/buttons-and-actions.md +50 -0
- package/docs/components/data-display.md +14 -1
- package/docs/components/data-table-filter-and-lists.md +68 -4
- package/docs/components/form-fields.md +9 -1
- package/docs/components/primitives.md +209 -0
- package/docs/previews/buttons-actions-backlink.webp +0 -0
- package/docs/previews/buttons-actions-sharebutton.webp +0 -0
- package/docs/previews/primitives-segmentednav.webp +0 -0
- package/docs/previews/primitives-tabsnav.webp +0 -0
- package/docs/roadmap.md +2 -1
- package/docs/troubleshooting.md +42 -3
- package/lib/components/components.css +2 -0
- package/lib/components/ui/layout/app-shell/activity-backdrop.css +4 -3
- package/lib/components/ui/primitives/tabs/tabs-nav-forced.css +27 -0
- package/lib/components/ui/primitives/toggle-group/toggle-group-segmented.css +10 -2
- package/lib/components/ui/primitives/toggle-group/toggle-group.css +5 -1
- package/package.json +1 -1
- /package/dist/lib/{components/ui/collections/dnd → lib}/compose-refs.d.ts +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* The indicator hides when no link is current (a `value` that matches none). */
|
|
2
|
+
[data-slot="tabs-nav"]:not(:has([data-state="active"]))
|
|
3
|
+
> [data-slot="tabs-indicator"] {
|
|
4
|
+
visibility: hidden;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/* TabsNav in forced colours: the current link keeps a mark. The indicator and
|
|
8
|
+
* the active link's ::after are backgrounds and borders, which the browser
|
|
9
|
+
* flattens; they are painted again with the system Highlight. React only
|
|
10
|
+
* (tabs-classes.ts is shared with Vue, so this is not a class there). */
|
|
11
|
+
@media (forced-colors: active) {
|
|
12
|
+
[data-slot="tabs-nav"][data-variant="underline"]
|
|
13
|
+
> [data-slot="tabs-indicator"],
|
|
14
|
+
[data-slot="tabs-nav"][data-variant="underline"]
|
|
15
|
+
[data-slot="tabs-trigger"][aria-current="page"]::after {
|
|
16
|
+
forced-color-adjust: none;
|
|
17
|
+
background: Highlight;
|
|
18
|
+
}
|
|
19
|
+
[data-slot="tabs-nav"][data-variant="segmented"]
|
|
20
|
+
> [data-slot="tabs-indicator"],
|
|
21
|
+
[data-slot="tabs-nav"][data-variant="segmented"]
|
|
22
|
+
[data-slot="tabs-trigger"][aria-current="page"]::after {
|
|
23
|
+
forced-color-adjust: none;
|
|
24
|
+
border: 2px solid Highlight;
|
|
25
|
+
background: Canvas;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -61,7 +61,8 @@
|
|
|
61
61
|
> .nxgt-toggle-group-item:hover:not(
|
|
62
62
|
:disabled,
|
|
63
63
|
[aria-checked="true"],
|
|
64
|
-
[aria-pressed="true"]
|
|
64
|
+
[aria-pressed="true"],
|
|
65
|
+
[aria-current="page"]
|
|
65
66
|
) {
|
|
66
67
|
background: var(--tg-seg-hover);
|
|
67
68
|
}
|
|
@@ -78,7 +79,11 @@
|
|
|
78
79
|
* every chosen state is primary). Forced colours: the pill is hidden and
|
|
79
80
|
* the SelectedItem rule in toggle-group.css wins (its layer-less rule). */
|
|
80
81
|
[data-variant="segmented"]
|
|
81
|
-
> .nxgt-toggle-group-item:is(
|
|
82
|
+
> .nxgt-toggle-group-item:is(
|
|
83
|
+
[aria-checked="true"],
|
|
84
|
+
[aria-pressed="true"],
|
|
85
|
+
[aria-current="page"]
|
|
86
|
+
) {
|
|
82
87
|
color: var(--primary-text);
|
|
83
88
|
}
|
|
84
89
|
|
|
@@ -135,6 +140,9 @@
|
|
|
135
140
|
/* Multiple: a pill per pressed item; touching pills join. Also a single
|
|
136
141
|
* group of 9 or more items, which has no sliding pill. */
|
|
137
142
|
[data-variant="segmented"] > .nxgt-toggle-group-item[aria-pressed="true"],
|
|
143
|
+
/* SegmentedNav: a scrolling track has no sliding pill, the current link
|
|
144
|
+
* paints its own. */
|
|
145
|
+
[data-variant="segmented"] > .nxgt-toggle-group-item[aria-current="page"],
|
|
138
146
|
[data-variant="segmented"]:has(> .nxgt-toggle-group-item:nth-of-type(9))
|
|
139
147
|
> .nxgt-toggle-group-item[aria-checked="true"] {
|
|
140
148
|
background: var(--tg-pill);
|
|
@@ -127,7 +127,11 @@
|
|
|
127
127
|
.nxgt-toggle-group-item {
|
|
128
128
|
border: 1px solid ButtonText;
|
|
129
129
|
}
|
|
130
|
-
.nxgt-toggle-group-item:is(
|
|
130
|
+
.nxgt-toggle-group-item:is(
|
|
131
|
+
[aria-checked="true"],
|
|
132
|
+
[aria-pressed="true"],
|
|
133
|
+
[aria-current="page"]
|
|
134
|
+
) {
|
|
131
135
|
forced-color-adjust: none;
|
|
132
136
|
background: SelectedItem;
|
|
133
137
|
color: SelectedItemText;
|
package/package.json
CHANGED
|
File without changes
|