@nxgt/material 3.73.0 → 3.75.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 +72 -0
- package/README.md +10 -7
- package/dist/{alert-dialog-A8K8zai1.js → alert-dialog-BfO_ri-N.js} +1 -1
- package/dist/{async-slice-B8933IHY.js → async-slice-roMAJVzG.js} +1 -1
- package/dist/{background-D1gC4m2R.js → background-Q4Ek3rNy.js} +3 -1
- package/dist/backgrounds/css-react/celestial-day.css +85 -0
- package/dist/backgrounds/css-react/celestial.css +11 -11
- package/dist/backgrounds.js +1 -1
- package/dist/{button-C8moFnIT.js → button-DgenqmpS.js} +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-B6AY1E91.js → chip-CiDczNxO.js} +2 -2
- package/dist/{code-editor-DQZIKL54.js → code-editor-CohlhFsA.js} +5 -5
- package/dist/code-editor.js +5 -5
- package/dist/{code-language-items-8VL0aMKG.js → code-language-items-Cs8GLYDp.js} +2 -2
- package/dist/components/ui/collections/data-table/data-table-items-actions.css +37 -0
- package/dist/components/ui/collections/data-table/data-table-items-chevron.css +28 -0
- package/dist/components/ui/collections/data-table/data-table-items-tiles.css +7 -0
- package/dist/components/ui/collections/data-table/index.css +5 -1
- package/dist/components/ui/display/seat-ring/seat-ring.css +26 -0
- package/dist/components/ui/display/secret-card/secret-card.css +5 -1
- package/dist/components/ui/feedback/celebration/celebration.css +49 -0
- package/dist/components/ui/feedback/feedback.css +4 -0
- package/dist/components/ui/feedback/moment/moment.css +22 -0
- package/dist/{components-Cvp2F9uk.js → components-zJdfH4im.js} +16930 -16524
- package/dist/components.js +28 -28
- package/dist/{dialog-WuLTwxkr.js → dialog-AGsB3bv4.js} +4 -4
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-tadySeGH.js → dropdown-menu-CzR6JP31.js} +1 -1
- package/dist/editor.js +10 -10
- package/dist/{empty-state-ZYiFSSBQ.js → empty-state-DjHGMp5F.js} +2 -2
- package/dist/{field-blur-BYR0yE5L.js → field-blur-CdASxjL7.js} +1 -1
- package/dist/{field-blur-context-bEhByoK-.js → field-blur-context-kZ4SD7xu.js} +1 -1
- package/dist/{hooks-GpwD8iDu.js → hooks-Dqq8O3Az.js} +2 -2
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-BowaI_ra.js → hover-card-BPKqte4a.js} +1 -1
- package/dist/i18n.js +3 -3
- package/dist/{icon-badge-B1B0Lg02.js → icon-badge-B9uvDoyY.js} +3 -3
- package/dist/{icon-button-BbGU17cb.js → icon-button-Cr-DyDGg.js} +1 -1
- package/dist/lib/backgrounds/background/available.d.ts +4 -4
- package/dist/lib/backgrounds/background/background.d.ts +1 -1
- package/dist/lib/backgrounds/background/types.d.ts +1 -1
- package/dist/lib/components/ui/collections/data-table/layout-types.d.ts +13 -0
- package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-item-actions.d.ts +12 -0
- package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-item-title.d.ts +2 -1
- package/dist/lib/components/ui/collections/data-table/select-checkbox.d.ts +2 -1
- package/dist/lib/components/ui/collections/filter/bar/filter-bar-classes.d.ts +2 -2
- package/dist/lib/components/ui/collections/filter/bar/filter-bar-view.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/facets/filter-facets.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/query/types.d.ts +6 -0
- package/dist/lib/components/ui/collections/filter/query/view-types.d.ts +1 -0
- package/dist/lib/components/ui/collections/filter/sections/chips/filter-chip-body.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/sections/filter-search.d.ts +1 -0
- package/dist/lib/components/ui/collections/filter/sections/filter-sections-classes.d.ts +8 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-band-classes.d.ts +3 -2
- package/dist/lib/components/ui/collections/server-table/partials/server-table-empty-page.d.ts +4 -0
- package/dist/lib/components/ui/collections/server-table/server-table-classes.d.ts +8 -2
- package/dist/lib/components/ui/collections/server-table/types.d.ts +11 -1
- package/dist/lib/components/ui/display/change-history/partials/changes-collapse.d.ts +2 -1
- package/dist/lib/components/ui/display/highlighted-text/highlight-ranges.d.ts +11 -0
- package/dist/lib/components/ui/display/highlighted-text/highlighted-text.d.ts +16 -0
- package/dist/lib/components/ui/display/highlighted-text/index.d.ts +2 -0
- package/dist/lib/components/ui/display/index.d.ts +1 -0
- package/dist/lib/components/ui/display/list-tile/list-tile.d.ts +10 -1
- package/dist/lib/components/ui/display/list-tile/partials/list-tile-box.d.ts +16 -0
- package/dist/lib/components/ui/display/list-tile/partials/list-tile-classes.d.ts +3 -1
- package/dist/lib/components/ui/display/list-tile/partials/list-tile-line.d.ts +1 -1
- package/dist/lib/components/ui/display/list-tile/partials/list-tile-row.d.ts +1 -1
- package/dist/lib/components/ui/display/seat-ring/types.d.ts +6 -0
- package/dist/lib/components/ui/display/secret-card/types.d.ts +6 -0
- package/dist/lib/components/ui/feedback/celebration/celebration.d.ts +24 -0
- package/dist/lib/components/ui/feedback/celebration/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/countdown-timer/countdown-ring.d.ts +1 -1
- package/dist/lib/components/ui/feedback/countdown-timer/countdown-timer.d.ts +2 -1
- package/dist/lib/components/ui/feedback/index.d.ts +2 -0
- package/dist/lib/components/ui/feedback/moment/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/moment/moment-body.d.ts +9 -0
- package/dist/lib/components/ui/feedback/moment/moment.d.ts +33 -0
- package/dist/lib/components/ui/fields/choice-list/choice-list-control.d.ts +17 -0
- package/dist/lib/components/ui/fields/choice-list/choice-list-focus.d.ts +7 -0
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/fields/number-field/number-stepper.d.ts +11 -0
- package/dist/lib/components/ui/fields/quantity-field/quantity-row.d.ts +8 -0
- package/dist/lib/components/ui/overlays/command/command-dialog.d.ts +8 -1
- package/dist/lib/components/ui/primitives/tabs/tabs-overflow-classes.d.ts +1 -1
- package/dist/lib/components/ui/selection/chip-group-field/chip-group-field.d.ts +2 -2
- package/dist/lib/components/ui/selection/chip-group-field/partials/chip-group-option.d.ts +5 -3
- package/dist/lib/components/ui/selection/choice-group/choice-group-root.d.ts +3 -1
- package/dist/lib/components/ui/widgets/chat/chat-thread-header-parts.d.ts +17 -0
- package/dist/lib/components/ui/widgets/chat/chat-thread-header.d.ts +9 -3
- package/dist/lib/components/ui/widgets/chat/proposal/chat-tool-activity.d.ts +3 -1
- package/dist/lib/i18n/resources/en/en.d.ts +4 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +5 -1
- package/dist/lib/i18n/resources/fr/fr.d.ts +4 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +5 -1
- package/dist/lib/i18n/resources/resources.d.ts +8 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/illustrations-game/index.d.ts +6 -5
- package/dist/lib.js +1 -1
- 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-CFj2qn7l.js → public-DC9VQw4Z.js} +9 -9
- package/dist/{rich-code-block-B7Teg7-e.js → rich-code-block-DBSL9zEN.js} +5 -5
- package/dist/{sortable-provider-DU2zp_jn.js → sortable-provider-C4tk5esY.js} +2 -2
- package/dist/{spinner-C5Kb6MWu.js → spinner-B2MubVWb.js} +1 -1
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-B1JZg7mU.js → theme-toggle-BInlu21G.js} +1 -1
- package/dist/{toolbar-items-m_1FTFPQ.js → toolbar-items-CRJSx1MU.js} +3 -3
- package/dist/{translate-material-D1ndrd7a.js → translate-material-pVlPJ1v4.js} +1 -1
- package/dist/{translator-CtEC_AQa.js → translator-BoYCward.js} +10 -2
- package/dist/{typography-prQHb3gI.js → typography-B6YMbCge.js} +1 -1
- package/dist/{use-chat-composer-BAoUsyKN.js → use-chat-composer-BvWQogJe.js} +2046 -2037
- package/dist/{use-heading-spy-Bzj5mIUZ.js → use-heading-spy-B_Z4ArDh.js} +4 -4
- package/dist/{use-material-translation-C6H0B4kE.js → use-material-translation-CIS2n3RB.js} +1 -1
- package/dist/{use-return-focus-CkUX1HFl.js → use-return-focus-DNQtADAR.js} +1 -1
- package/docs/components/data-display.md +60 -6
- package/docs/components/data-table-filter-and-lists.md +22 -6
- package/docs/components/feedback-and-status.md +69 -1
- package/docs/components/form-fields.md +22 -3
- package/docs/components/navigation-and-layout.md +1 -1
- package/docs/components/overlays-and-menus.md +2 -1
- package/docs/components/primitives.md +2 -2
- package/docs/components/rich-widgets.md +3 -2
- package/docs/components/selection-and-choice.md +3 -3
- package/docs/getting-started.md +1 -1
- package/docs/guides/app-shell.md +1 -1
- package/docs/guides/backgrounds.md +23 -11
- package/docs/guides/cards-and-tiles.md +42 -3
- package/docs/guides/i18n.md +4 -1
- package/docs/guides/icon-motifs.md +7 -7
- package/docs/guides/illustrations.md +6 -5
- package/docs/guides/theming.md +5 -1
- package/docs/previews/backgrounds-day-and-dawn-sky.webp +0 -0
- package/docs/previews/data-display-highlightedtext.webp +0 -0
- package/docs/previews/feedback-status-illustration-game.webp +0 -0
- package/docs/roadmap.md +1 -0
- package/docs/troubleshooting.md +44 -4
- package/lib/backgrounds/css-react/celestial-day.css +85 -0
- package/lib/backgrounds/css-react/celestial.css +11 -11
- package/lib/components/ui/collections/data-table/data-table-items-actions.css +37 -0
- package/lib/components/ui/collections/data-table/data-table-items-chevron.css +28 -0
- package/lib/components/ui/collections/data-table/data-table-items-tiles.css +7 -0
- package/lib/components/ui/collections/data-table/index.css +5 -1
- package/lib/components/ui/display/seat-ring/seat-ring.css +26 -0
- package/lib/components/ui/display/secret-card/secret-card.css +5 -1
- package/lib/components/ui/feedback/celebration/celebration.css +49 -0
- package/lib/components/ui/feedback/feedback.css +4 -0
- package/lib/components/ui/feedback/moment/moment.css +22 -0
- package/lib/theme-picker/theme-picker.css +1 -0
- package/lib/theme-picker/theme-tile-textures-day.css +43 -0
- package/lib/themes/teal.css +20 -18
- package/package.json +7 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* SecretCard: a card whose secret face is not rendered until it is revealed.
|
|
1
|
+
/* SecretCard (`data-size="sm"` is the compact card): a card whose secret face is not rendered until it is revealed.
|
|
2
2
|
* It carries `data-tone`, so the tone's tokens resolve on it. The hidden face
|
|
3
3
|
* is a quiet diagonal pattern in the tone's ring colour. The card's border is
|
|
4
4
|
* that colour too (set by a utility class on the Card, which wins over the
|
|
@@ -40,6 +40,10 @@
|
|
|
40
40
|
font-weight: 600;
|
|
41
41
|
user-select: text;
|
|
42
42
|
}
|
|
43
|
+
.nxgt-secret-card[data-size="sm"] [data-slot="secret-card-pattern"],
|
|
44
|
+
.nxgt-secret-card[data-size="sm"] [data-slot="secret-card-back"] {
|
|
45
|
+
min-height: 0;
|
|
46
|
+
}
|
|
43
47
|
.nxgt-secret-card [data-slot="secret-card-actions"] {
|
|
44
48
|
flex-wrap: wrap;
|
|
45
49
|
gap: 0.5rem;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* Celebration: a one-shot burst of confetti. Each piece is a span that flies
|
|
2
|
+
* out, falls and fades once (`animation-iteration-count: 1`, `forwards`: it
|
|
3
|
+
* never loops). Colours are theme tokens; the layer ignores the pointer.
|
|
4
|
+
* Under prefers-reduced-motion the component renders nothing, and
|
|
5
|
+
* reduced-motion.css ends any animation of a `data-slot` element anyway. */
|
|
6
|
+
@layer components {
|
|
7
|
+
.nxgt-celebration {
|
|
8
|
+
position: fixed;
|
|
9
|
+
inset: 0;
|
|
10
|
+
z-index: 60;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
pointer-events: none;
|
|
13
|
+
}
|
|
14
|
+
.nxgt-celebration-piece {
|
|
15
|
+
position: absolute;
|
|
16
|
+
left: 50%;
|
|
17
|
+
top: 45%;
|
|
18
|
+
width: 0.5rem;
|
|
19
|
+
height: 0.9rem;
|
|
20
|
+
border-radius: 1px;
|
|
21
|
+
background-color: var(--nxgt-celebration-color);
|
|
22
|
+
animation: nxgt-celebration-burst var(--nxgt-celebration-duration, 2400ms)
|
|
23
|
+
var(--nxgt-ease-effects, ease-out) var(--nxgt-celebration-delay, 0ms) 1
|
|
24
|
+
both;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@keyframes nxgt-celebration-burst {
|
|
29
|
+
0% {
|
|
30
|
+
opacity: 1;
|
|
31
|
+
transform: translate(0, 0) rotate(0deg);
|
|
32
|
+
}
|
|
33
|
+
35% {
|
|
34
|
+
opacity: 1;
|
|
35
|
+
transform: translate(
|
|
36
|
+
calc(var(--nxgt-celebration-x) * 0.7),
|
|
37
|
+
var(--nxgt-celebration-up)
|
|
38
|
+
)
|
|
39
|
+
rotate(calc(var(--nxgt-celebration-spin) * 0.4));
|
|
40
|
+
}
|
|
41
|
+
100% {
|
|
42
|
+
opacity: 0;
|
|
43
|
+
transform: translate(
|
|
44
|
+
var(--nxgt-celebration-x),
|
|
45
|
+
var(--nxgt-celebration-down)
|
|
46
|
+
)
|
|
47
|
+
rotate(var(--nxgt-celebration-spin));
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
@import "./spinner/spinner.css";
|
|
2
|
+
/* Moment: the full-screen announcement. */
|
|
3
|
+
@import "./moment/moment.css";
|
|
4
|
+
/* Celebration: the one-shot confetti burst. */
|
|
5
|
+
@import "./celebration/celebration.css";
|
|
2
6
|
/* Illustration: the classes of the state scenes (EmptyState, ErrorState, @nxgt/material/illustrations). */
|
|
3
7
|
@import "./state-frame/illustration.css";
|
|
4
8
|
@import "./progress/progress.css";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* Moment: a full-screen one-off announcement. The surface is the tone's
|
|
2
|
+
* container (the `data-tone` channel), the text the foreground colour, so it
|
|
3
|
+
* reads at AA in light and dark. It fades in and its picture pops in (the
|
|
4
|
+
* keyframes are dialog.css's `nxgt-fade-in` and the `nxgt-pop` of styles.css);
|
|
5
|
+
* under prefers-reduced-motion reduced-motion.css ends both at once (the
|
|
6
|
+
* content carries `data-slot`). */
|
|
7
|
+
@layer components {
|
|
8
|
+
.nxgt-moment {
|
|
9
|
+
background-color: var(--nxgt-tone-container, var(--background));
|
|
10
|
+
color: var(--foreground);
|
|
11
|
+
}
|
|
12
|
+
.nxgt-moment[data-state="open"] {
|
|
13
|
+
animation: nxgt-fade-in 240ms var(--nxgt-ease-effects) backwards;
|
|
14
|
+
}
|
|
15
|
+
.nxgt-moment[data-state="closed"] {
|
|
16
|
+
animation: nxgt-fade-out 160ms var(--nxgt-ease-emphasized-accelerate) both;
|
|
17
|
+
}
|
|
18
|
+
.nxgt-moment[data-state="open"] [data-slot="moment-illustration"] {
|
|
19
|
+
animation: nxgt-pop 520ms var(--nxgt-ease-emphasized-decelerate) 80ms
|
|
20
|
+
backwards;
|
|
21
|
+
}
|
|
22
|
+
}
|