@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
|
@@ -101,6 +101,32 @@
|
|
|
101
101
|
border-style: dashed;
|
|
102
102
|
background: transparent;
|
|
103
103
|
}
|
|
104
|
+
/* Out: dimmed, the name struck through, the avatar greyed, and the word
|
|
105
|
+
* "Out" written under the name, so colour and opacity are never the only cue. */
|
|
106
|
+
.nxgt-seat-ring [data-out] {
|
|
107
|
+
background: color-mix(in oklab, var(--muted) 60%, transparent);
|
|
108
|
+
border-color: var(--border);
|
|
109
|
+
}
|
|
110
|
+
.nxgt-seat-ring [data-out] [data-slot="seat-ring-avatar"] {
|
|
111
|
+
opacity: 0.55;
|
|
112
|
+
filter: grayscale(1);
|
|
113
|
+
}
|
|
114
|
+
.nxgt-seat-ring [data-out] [data-slot="seat-ring-label"] {
|
|
115
|
+
color: var(--muted-foreground);
|
|
116
|
+
text-decoration: line-through;
|
|
117
|
+
text-decoration-thickness: 2px;
|
|
118
|
+
}
|
|
119
|
+
.nxgt-seat-ring [data-slot="seat-ring-out"] {
|
|
120
|
+
padding-inline: 0.375rem;
|
|
121
|
+
border: 1px solid currentColor;
|
|
122
|
+
border-radius: 9999px;
|
|
123
|
+
color: var(--muted-foreground);
|
|
124
|
+
font-size: 0.6875rem;
|
|
125
|
+
font-weight: 600;
|
|
126
|
+
line-height: 1.25rem;
|
|
127
|
+
text-transform: uppercase;
|
|
128
|
+
letter-spacing: 0.04em;
|
|
129
|
+
}
|
|
104
130
|
.nxgt-seat-ring [data-highlighted] {
|
|
105
131
|
border-color: var(--primary-indicator, var(--primary));
|
|
106
132
|
box-shadow: 0 0 0 2px var(--primary-indicator, var(--primary));
|
|
@@ -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
|
+
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
@import "./theme-tile-background.css";
|
|
15
15
|
@import "./theme-tile-textures.css";
|
|
16
16
|
@import "./theme-tile-textures-night.css";
|
|
17
|
+
@import "./theme-tile-textures-day.css";
|
|
17
18
|
@import "./theme-tile-icons.css";
|
|
18
19
|
@import "./theme-picker-list.css";
|
|
19
20
|
@layer components {
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* ThemePicker's mini background, the two daytime skies: a sun and the clouds
|
|
2
|
+
* of `day-sky`, a low sun over its glow for `dawn-sky` (see theme-tile-textures.css). */
|
|
3
|
+
@layer components {
|
|
4
|
+
[data-slot="theme-tile-background"][data-preset="day-sky"] {
|
|
5
|
+
--mini-pattern:
|
|
6
|
+
radial-gradient(
|
|
7
|
+
circle at 80% 30%,
|
|
8
|
+
color-mix(in oklab, var(--mini-c) 60%, transparent) 0.4rem,
|
|
9
|
+
transparent 0.42rem
|
|
10
|
+
),
|
|
11
|
+
radial-gradient(
|
|
12
|
+
ellipse 1.1rem 0.3rem at 26% 24%,
|
|
13
|
+
color-mix(in oklab, var(--mini-a) 40%, transparent) 90%,
|
|
14
|
+
transparent
|
|
15
|
+
),
|
|
16
|
+
radial-gradient(
|
|
17
|
+
ellipse 0.8rem 0.25rem at 52% 62%,
|
|
18
|
+
color-mix(in oklab, var(--mini-a) 30%, transparent) 90%,
|
|
19
|
+
transparent
|
|
20
|
+
);
|
|
21
|
+
--mini-size: 100% 100%;
|
|
22
|
+
}
|
|
23
|
+
[data-slot="theme-tile-background"][data-preset="dawn-sky"] {
|
|
24
|
+
--mini-pattern:
|
|
25
|
+
radial-gradient(
|
|
26
|
+
circle at 24% 72%,
|
|
27
|
+
color-mix(in oklab, var(--mini-c) 60%, transparent) 0.4rem,
|
|
28
|
+
transparent 0.42rem
|
|
29
|
+
),
|
|
30
|
+
linear-gradient(
|
|
31
|
+
180deg,
|
|
32
|
+
transparent 40%,
|
|
33
|
+
color-mix(in oklab, var(--mini-b) 40%, transparent) 72%,
|
|
34
|
+
transparent 100%
|
|
35
|
+
),
|
|
36
|
+
radial-gradient(
|
|
37
|
+
ellipse 1.3rem 0.18rem at 70% 22%,
|
|
38
|
+
color-mix(in oklab, var(--mini-a) 36%, transparent) 90%,
|
|
39
|
+
transparent
|
|
40
|
+
);
|
|
41
|
+
--mini-size: 100% 100%;
|
|
42
|
+
}
|
|
43
|
+
}
|
package/lib/themes/teal.css
CHANGED
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
* Seeds: primary oklch(0.5 0.105 185), secondary oklch(0.52 0.09 215), tertiary oklch(0.52 0.12 60), neutral hue 190, tint 0.8.
|
|
3
3
|
* Contrast: 65 pairs, 0 failing.
|
|
4
4
|
* chroma-lowered: primary: chroma 0.105 to 0.088 (lowered to fit sRGB or AA).
|
|
5
|
-
* lightness-moved: secondary: lightness 0.520 to 0.
|
|
6
|
-
* chroma-lowered: secondary: chroma 0.090 to 0.
|
|
5
|
+
* lightness-moved: secondary: lightness 0.520 to 0.490 for AA.
|
|
6
|
+
* chroma-lowered: secondary: chroma 0.090 to 0.087 (lowered to fit sRGB or AA).
|
|
7
|
+
* lightness-moved: ring (dark): lightness moved 0.015 for AA under this tint.
|
|
8
|
+
* lightness-moved: track (dark): lightness moved 0.005 for AA under this tint.
|
|
7
9
|
*/
|
|
8
10
|
[data-nxgt-theme="teal"] {
|
|
9
11
|
--radius: 0.5rem;
|
|
10
|
-
--background: oklch(
|
|
12
|
+
--background: oklch(0.973 0.0064 190);
|
|
11
13
|
--foreground: oklch(0.227 0.0136 190);
|
|
12
14
|
--ground: color-mix(in oklab, var(--primary) 7%, var(--background));
|
|
13
15
|
--card: oklch(1 0 0);
|
|
@@ -19,7 +21,7 @@
|
|
|
19
21
|
--primary-foreground: oklch(0.984 0.003 190);
|
|
20
22
|
--primary-text: color-mix(in oklab, var(--primary) 96%, black);
|
|
21
23
|
--primary-indicator: var(--primary);
|
|
22
|
-
--secondary: oklch(0.
|
|
24
|
+
--secondary: oklch(0.49 0.0866 215);
|
|
23
25
|
--secondary-foreground: oklch(0.984 0.003 190);
|
|
24
26
|
--tertiary: var(--strix);
|
|
25
27
|
--tertiary-foreground: oklch(0.984 0.003 190);
|
|
@@ -76,13 +78,13 @@
|
|
|
76
78
|
[data-nxgt-theme="teal"]:is(.dark, [data-theme="dark"]),
|
|
77
79
|
:is(.dark, [data-theme="dark"]) [data-nxgt-theme="teal"],
|
|
78
80
|
[data-nxgt-theme="teal"] :is(.dark, [data-theme="dark"]):not([data-nxgt-theme="teal"] [data-nxgt-theme]:not([data-nxgt-theme="teal"]), [data-nxgt-theme="teal"] [data-nxgt-theme]:not([data-nxgt-theme="teal"]) *) {
|
|
79
|
-
--background: oklch(0.
|
|
81
|
+
--background: oklch(0.192 0.0128 190);
|
|
80
82
|
--foreground: oklch(0.943 0.0096 190);
|
|
81
83
|
--ground: color-mix(in oklab, var(--primary) 6%, color-mix(in oklab, var(--background) 55%, black));
|
|
82
|
-
--card: oklch(0.
|
|
84
|
+
--card: oklch(0.262 0.0152 190);
|
|
83
85
|
--card-edge: color-mix(in oklab, white 8%, var(--card));
|
|
84
86
|
--card-foreground: oklch(0.943 0.0096 190);
|
|
85
|
-
--popover: oklch(0.
|
|
87
|
+
--popover: oklch(0.262 0.0152 190);
|
|
86
88
|
--popover-foreground: oklch(0.943 0.0096 190);
|
|
87
89
|
--primary: oklch(0.5 0.0881 185);
|
|
88
90
|
--primary-foreground: oklch(0.995 0.002 190);
|
|
@@ -91,15 +93,15 @@
|
|
|
91
93
|
--secondary: oklch(0.675 0.09 215);
|
|
92
94
|
--secondary-foreground: oklch(0.995 0.002 190);
|
|
93
95
|
--tertiary: oklch(0.7 0.12 60);
|
|
94
|
-
--tertiary-foreground: oklch(0.
|
|
96
|
+
--tertiary-foreground: oklch(0.192 0.0128 190);
|
|
95
97
|
--strix: oklch(0.52 0.12 60);
|
|
96
|
-
--muted: oklch(0.
|
|
98
|
+
--muted: oklch(0.3 0.0176 190);
|
|
97
99
|
--muted-foreground: oklch(0.725 0.024 190);
|
|
98
|
-
--track: oklch(0.
|
|
100
|
+
--track: oklch(0.535 0.024 190);
|
|
99
101
|
--track-fill: oklch(0.85 0.09 185);
|
|
100
102
|
--tooltip: oklch(0.925 0.0096 190);
|
|
101
103
|
--tooltip-foreground: oklch(0.446 0.0344 190);
|
|
102
|
-
--accent: oklch(0.
|
|
104
|
+
--accent: oklch(0.3 0.0176 190);
|
|
103
105
|
--accent-foreground: oklch(0.943 0.0096 190);
|
|
104
106
|
--error: oklch(0.577 0.245 27.33);
|
|
105
107
|
--error-foreground: oklch(0.995 0.002 190);
|
|
@@ -111,17 +113,17 @@
|
|
|
111
113
|
--warning: oklch(0.7 0.15 70);
|
|
112
114
|
--warning-foreground: oklch(0.995 0.002 190);
|
|
113
115
|
--destructive: oklch(0.704 0.191 22.216);
|
|
114
|
-
--border: oklch(0.
|
|
115
|
-
--input: oklch(0.
|
|
116
|
-
--ring: oklch(0.
|
|
117
|
-
--sidebar: oklch(0.
|
|
116
|
+
--border: oklch(0.331 0.02 190);
|
|
117
|
+
--input: oklch(0.37 0.0216 190);
|
|
118
|
+
--ring: oklch(0.566 0.024 190);
|
|
119
|
+
--sidebar: oklch(0.232 0.0152 190);
|
|
118
120
|
--sidebar-foreground: oklch(0.943 0.0096 190);
|
|
119
121
|
--sidebar-primary: var(--primary);
|
|
120
122
|
--sidebar-primary-foreground: oklch(0.995 0.002 190);
|
|
121
|
-
--sidebar-accent: oklch(0.
|
|
123
|
+
--sidebar-accent: oklch(0.27 0.0176 190);
|
|
122
124
|
--sidebar-accent-foreground: oklch(0.943 0.0096 190);
|
|
123
|
-
--sidebar-border: oklch(0.
|
|
124
|
-
--sidebar-ring: oklch(0.
|
|
125
|
+
--sidebar-border: oklch(0.301 0.02 190);
|
|
126
|
+
--sidebar-ring: oklch(0.566 0.024 190);
|
|
125
127
|
--chart-1: oklch(0.488 0.243 264.376);
|
|
126
128
|
--chart-2: oklch(0.696 0.17 162.48);
|
|
127
129
|
--chart-3: oklch(0.769 0.188 70.08);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nxgt/material",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.75.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"email": "stevegires@gmail.com"
|
|
@@ -323,6 +323,10 @@
|
|
|
323
323
|
"style": "./lib/backgrounds/css-react/celestial.css",
|
|
324
324
|
"default": "./lib/backgrounds/css-react/celestial.css"
|
|
325
325
|
},
|
|
326
|
+
"./backgrounds/celestial-day.css": {
|
|
327
|
+
"style": "./lib/backgrounds/css-react/celestial-day.css",
|
|
328
|
+
"default": "./lib/backgrounds/css-react/celestial-day.css"
|
|
329
|
+
},
|
|
326
330
|
"./backgrounds/moon.css": {
|
|
327
331
|
"style": "./lib/backgrounds/css-react/moon.css",
|
|
328
332
|
"default": "./lib/backgrounds/css-react/moon.css"
|
|
@@ -372,7 +376,7 @@
|
|
|
372
376
|
"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"
|
|
373
377
|
},
|
|
374
378
|
"dependencies": {
|
|
375
|
-
"@nxgt/material-core": "^0.
|
|
379
|
+
"@nxgt/material-core": "^0.48.0",
|
|
376
380
|
"@base-ui/react": "^1.6.0",
|
|
377
381
|
"@dnd-kit/core": "^6.3.1",
|
|
378
382
|
"@dnd-kit/sortable": "^10.0.0",
|
|
@@ -459,7 +463,7 @@
|
|
|
459
463
|
"@fontsource-variable/inter": "^5",
|
|
460
464
|
"@fortawesome/fontawesome-free": "7.3.1",
|
|
461
465
|
"@nxgt/material-testing": "0.0.0",
|
|
462
|
-
"@nxgt/playwright": "^0.
|
|
466
|
+
"@nxgt/playwright": "^0.11.0",
|
|
463
467
|
"@react-leaflet/core": "^3.0.0",
|
|
464
468
|
"@react-pdf/renderer": "^4.9.0",
|
|
465
469
|
"@storybook/addon-a11y": "10.6.0",
|