@nxgt/material 3.60.0 → 3.63.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 +44 -0
- package/README.md +3 -2
- package/dist/alert-dialog-RHm6WtQj.js +189 -0
- package/dist/{async-slice-HJY_VJjD.js → async-slice-DmX59NyA.js} +3 -4
- package/dist/{button-7BuUCGRm.js → button-DfS_amfQ.js} +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-kQOrHlDX.js → chip-Cbndukko.js} +2 -2
- package/dist/{code-editor-Ckc9TTCM.js → code-editor-B0tN8Ha_.js} +11 -11
- package/dist/code-editor.js +54 -37
- package/dist/{code-language-items-rCPB0Xee.js → code-language-items-andgHKrM.js} +2 -2
- package/dist/components/ui/layout/sidebar/sidebar-tokens.css +13 -1
- package/dist/{components-BSM-h5IQ.js → components-Cm2doOJS.js} +13090 -12957
- package/dist/components.js +28 -26
- package/dist/dialog-Bd7Hid2L.js +219 -0
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-CiobN1wi.js → dropdown-menu-_SyVmSuy.js} +1 -1
- package/dist/editor.js +707 -706
- package/dist/{empty-state-DA517HAb.js → empty-state-D-2ZMXXJ.js} +2 -2
- package/dist/escape-owner-DpaP0lm1.js +19 -0
- package/dist/{field-blur-DdvY0NQQ.js → field-blur-DyOByjzw.js} +1 -1
- package/dist/{field-blur-context-DbJQZkEB.js → field-blur-context-DPe5_Nv5.js} +1 -1
- package/dist/hooks-a7_exKWS.js +329 -0
- package/dist/hooks.js +8 -102
- package/dist/{hover-card-DPs9huSs.js → hover-card-D_0smKBQ.js} +2 -2
- package/dist/i18n.js +8 -10
- package/dist/{icon-badge-C646JTOI.js → icon-badge-CBCU3ySF.js} +14 -14
- package/dist/{icon-button-DvP0Gy3j.js → icon-button-hKHsWTAt.js} +1 -1
- package/dist/illustrations-game.js +2 -0
- package/dist/lib/components/ui/display/list-tile/list-tile.d.ts +6 -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-toggle.d.ts +1 -1
- package/dist/lib/components/ui/feedback/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/unsaved-dialog/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/unsaved-dialog/unsaved-dialog.d.ts +20 -0
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/fields/textarea-field/textarea-footer.d.ts +2 -1
- package/dist/lib/components/ui/layout/app-shell/activity-layout.types.d.ts +6 -3
- package/dist/lib/components/ui/layout/app-shell/index.d.ts +1 -1
- package/dist/lib/components/ui/layout/app-shell/route-transition.d.ts +20 -2
- package/dist/lib/components/ui/layout/app-shell/shapes-clear-content.d.ts +2 -1
- package/dist/lib/components/ui/widgets/code-editor/configure-monaco.d.ts +2 -0
- package/dist/lib/components/ui/widgets/education/questions/index.d.ts +3 -1
- package/dist/lib/components/ui/widgets/education/questions/partials/question-content.d.ts +1 -1
- package/dist/lib/components/ui/widgets/education/questions/partials/question-top.d.ts +6 -0
- package/dist/lib/components/ui/widgets/education/questions/question-long-text.d.ts +5 -0
- package/dist/lib/components/ui/widgets/education/questions/question-media-content.d.ts +24 -0
- package/dist/lib/components/ui/widgets/education/questions/question-media-helpers.d.ts +11 -0
- package/dist/lib/components/ui/widgets/education/questions/question-media-view.d.ts +18 -0
- package/dist/lib/components/ui/widgets/education/questions/question-media-view.types.d.ts +32 -0
- package/dist/lib/components/ui/widgets/education/questions/question-options.d.ts +2 -2
- package/dist/lib/components/ui/widgets/education/questions/question-text.d.ts +1 -1
- package/dist/lib/components/ui/widgets/education/questions/question.d.ts +1 -1
- package/dist/lib/components/ui/widgets/education/questions/types.d.ts +38 -1
- package/dist/lib/components/ui/widgets/education/questions/use-reload-focus.d.ts +13 -0
- package/dist/lib/hooks/drafts-store.d.ts +4 -0
- package/dist/lib/hooks/index.d.ts +4 -0
- package/dist/lib/hooks/unsaved-guard-rules.d.ts +30 -0
- package/dist/lib/hooks/use-drafts.d.ts +75 -0
- package/dist/lib/hooks/use-react-router-block.d.ts +11 -0
- package/dist/lib/hooks/use-unsaved-guard/guard-core.d.ts +30 -0
- package/dist/lib/hooks/use-unsaved-guard/index.d.ts +3 -0
- package/dist/lib/hooks/use-unsaved-guard/types.d.ts +63 -0
- package/dist/lib/hooks/use-unsaved-guard/use-discard-guard.d.ts +15 -0
- package/dist/lib/hooks/use-unsaved-guard/use-unsaved-guard.d.ts +19 -0
- package/dist/lib/i18n/resources/en/en.d.ts +20 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +21 -1
- package/dist/lib/i18n/resources/fr/fr.d.ts +20 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +21 -1
- package/dist/lib/i18n/resources/resources.d.ts +40 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/illustrations-game/index.d.ts +17 -0
- package/dist/lib.js +1 -1
- package/dist/main.js +42 -43
- package/dist/map.js +63 -63
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +1 -2
- package/dist/{public-BYsrhyPW.js → public-D8JGp3PH.js} +823 -822
- package/dist/{rich-code-block-WJxDWPPY.js → rich-code-block-0R3bidsM.js} +5 -5
- package/dist/{sortable-provider-oPjlhlZo.js → sortable-provider-B75v53sB.js} +2 -2
- package/dist/{spinner-C5lObWXT.js → spinner-CAnpF3RK.js} +1 -1
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-CPEq5JG-.js → theme-toggle-pQ5F602V.js} +1 -1
- package/dist/{toolbar-items-ByvXcMHm.js → toolbar-items-_ezD5B0r.js} +4 -4
- package/dist/translate-material-CvZK8_S6.js +96 -0
- package/dist/{stored-language-B-tiWZU2.js → translator-Caf-d96e.js} +2497 -8
- package/dist/{escape-owner-r57kuPjn.js → typography-CEK19bj8.js} +17 -34
- package/dist/{use-chat-composer-CzOVaIed.js → use-chat-composer-Dpvi_-CR.js} +5164 -5338
- package/dist/{use-heading-spy-BOtygPFu.js → use-heading-spy-mmcyEGmm.js} +186 -71
- package/dist/{use-material-translation-B5j3jZs7.js → use-material-translation-C_1cWRzW.js} +1 -2
- package/dist/use-return-focus-1ZIchrBM.js +269 -0
- package/docs/components/data-display.md +1 -0
- package/docs/components/feedback-and-status.md +23 -0
- package/docs/components/navigation-and-layout.md +5 -4
- package/docs/components/rich-widgets.md +73 -1
- package/docs/guides/app-shell.md +17 -0
- package/docs/guides/code-editor.md +8 -0
- package/docs/guides/csp.md +4 -0
- package/docs/guides/helpers.md +120 -0
- package/docs/guides/icon-motifs.md +3 -1
- package/docs/guides/illustrations.md +33 -1
- package/docs/guides/migrating-to-3.md +4 -2
- package/docs/guides/theming.md +13 -3
- package/docs/previews/feedback-status-illustration-game.webp +0 -0
- package/docs/previews/feedback-status-unsaveddialog.webp +0 -0
- package/docs/roadmap.md +1 -1
- package/docs/troubleshooting.md +9 -6
- package/lib/components/ui/layout/sidebar/sidebar-tokens.css +13 -1
- package/package.json +7 -2
- package/dist/dialog-yfPkLqUQ.js +0 -482
- package/dist/i18n-provider-BehR6cU7.js +0 -79
- package/dist/translate-material-tUaLZUmT.js +0 -20
- package/dist/translator-B9XjUDRu.js +0 -2451
|
@@ -293,6 +293,7 @@ declare const _default: {
|
|
|
293
293
|
"true": "True",
|
|
294
294
|
"false": "False",
|
|
295
295
|
"answer-placeholder": "Your answer",
|
|
296
|
+
"code-placeholder": "Write your code",
|
|
296
297
|
"expected": "Expected: {answer}",
|
|
297
298
|
"next": "Next",
|
|
298
299
|
"previous": "Previous",
|
|
@@ -308,7 +309,20 @@ declare const _default: {
|
|
|
308
309
|
"kind-choice": "Multiple choice",
|
|
309
310
|
"kind-multi": "Select all that apply",
|
|
310
311
|
"kind-boolean": "True or false",
|
|
311
|
-
"kind-text": "Short answer"
|
|
312
|
+
"kind-text": "Short answer",
|
|
313
|
+
"kind-open": "Open answer",
|
|
314
|
+
"kind-code": "Code answer"
|
|
315
|
+
},
|
|
316
|
+
"question-media": {
|
|
317
|
+
"image": "Image for this question",
|
|
318
|
+
"audio": "Audio for this question",
|
|
319
|
+
"video": "Video for this question",
|
|
320
|
+
"document": "Document for this question",
|
|
321
|
+
"error-title": "The file did not load",
|
|
322
|
+
"error-description": "The link may have expired.",
|
|
323
|
+
"reload": "Reload",
|
|
324
|
+
"open": "Open the file",
|
|
325
|
+
"new-tab": "opens in a new tab"
|
|
312
326
|
},
|
|
313
327
|
"quiz": {
|
|
314
328
|
"count": "{count, plural, one {# question} other {# questions}}",
|
|
@@ -1329,6 +1343,12 @@ declare const _default: {
|
|
|
1329
1343
|
"dark": "Dark",
|
|
1330
1344
|
"system": "System"
|
|
1331
1345
|
},
|
|
1346
|
+
"unsaved": {
|
|
1347
|
+
"title": "Leave without saving?",
|
|
1348
|
+
"description": "Your changes have not been saved and will be lost.",
|
|
1349
|
+
"stay": "Stay",
|
|
1350
|
+
"leave": "Leave"
|
|
1351
|
+
},
|
|
1332
1352
|
"load-more": {
|
|
1333
1353
|
"shown": "Showing {shown} of {total}",
|
|
1334
1354
|
"shown-count": "{shown, plural, one {# shown} other {# shown}}",
|
|
@@ -303,6 +303,7 @@ export declare const fr: {
|
|
|
303
303
|
true: string;
|
|
304
304
|
false: string;
|
|
305
305
|
"answer-placeholder": string;
|
|
306
|
+
"code-placeholder": string;
|
|
306
307
|
expected: string;
|
|
307
308
|
next: string;
|
|
308
309
|
previous: string;
|
|
@@ -319,6 +320,19 @@ export declare const fr: {
|
|
|
319
320
|
"kind-multi": string;
|
|
320
321
|
"kind-boolean": string;
|
|
321
322
|
"kind-text": string;
|
|
323
|
+
"kind-open": string;
|
|
324
|
+
"kind-code": string;
|
|
325
|
+
};
|
|
326
|
+
"question-media": {
|
|
327
|
+
image: string;
|
|
328
|
+
audio: string;
|
|
329
|
+
video: string;
|
|
330
|
+
document: string;
|
|
331
|
+
"error-title": string;
|
|
332
|
+
"error-description": string;
|
|
333
|
+
reload: string;
|
|
334
|
+
open: string;
|
|
335
|
+
"new-tab": string;
|
|
322
336
|
};
|
|
323
337
|
quiz: {
|
|
324
338
|
count: string;
|
|
@@ -1339,6 +1353,12 @@ export declare const fr: {
|
|
|
1339
1353
|
dark: string;
|
|
1340
1354
|
system: string;
|
|
1341
1355
|
};
|
|
1356
|
+
unsaved: {
|
|
1357
|
+
title: string;
|
|
1358
|
+
description: string;
|
|
1359
|
+
stay: string;
|
|
1360
|
+
leave: string;
|
|
1361
|
+
};
|
|
1342
1362
|
"load-more": {
|
|
1343
1363
|
shown: string;
|
|
1344
1364
|
"shown-count": string;
|
|
@@ -293,6 +293,7 @@ declare const _default: {
|
|
|
293
293
|
"true": "Vrai",
|
|
294
294
|
"false": "Faux",
|
|
295
295
|
"answer-placeholder": "Votre réponse",
|
|
296
|
+
"code-placeholder": "Écrivez votre code",
|
|
296
297
|
"expected": "Attendu : {answer}",
|
|
297
298
|
"next": "Suivant",
|
|
298
299
|
"previous": "Précédent",
|
|
@@ -308,7 +309,20 @@ declare const _default: {
|
|
|
308
309
|
"kind-choice": "Choix unique",
|
|
309
310
|
"kind-multi": "Plusieurs réponses",
|
|
310
311
|
"kind-boolean": "Vrai ou faux",
|
|
311
|
-
"kind-text": "Réponse courte"
|
|
312
|
+
"kind-text": "Réponse courte",
|
|
313
|
+
"kind-open": "Réponse ouverte",
|
|
314
|
+
"kind-code": "Réponse en code"
|
|
315
|
+
},
|
|
316
|
+
"question-media": {
|
|
317
|
+
"image": "Image de cette question",
|
|
318
|
+
"audio": "Audio de cette question",
|
|
319
|
+
"video": "Vidéo de cette question",
|
|
320
|
+
"document": "Document de cette question",
|
|
321
|
+
"error-title": "Le fichier ne s’est pas chargé",
|
|
322
|
+
"error-description": "Le lien a peut-être expiré.",
|
|
323
|
+
"reload": "Recharger",
|
|
324
|
+
"open": "Ouvrir le fichier",
|
|
325
|
+
"new-tab": "s’ouvre dans un nouvel onglet"
|
|
312
326
|
},
|
|
313
327
|
"quiz": {
|
|
314
328
|
"count": "{count, plural, one {# question} other {# questions}}",
|
|
@@ -1329,6 +1343,12 @@ declare const _default: {
|
|
|
1329
1343
|
"dark": "Sombre",
|
|
1330
1344
|
"system": "Système"
|
|
1331
1345
|
},
|
|
1346
|
+
"unsaved": {
|
|
1347
|
+
"title": "Quitter sans enregistrer ?",
|
|
1348
|
+
"description": "Vos modifications n’ont pas été enregistrées et seront perdues.",
|
|
1349
|
+
"stay": "Rester",
|
|
1350
|
+
"leave": "Quitter"
|
|
1351
|
+
},
|
|
1332
1352
|
"load-more": {
|
|
1333
1353
|
"shown": "Affichage de {shown} sur {total}",
|
|
1334
1354
|
"shown-count": "{shown, plural, one {# affiché} other {# affichés}}",
|
|
@@ -301,6 +301,7 @@ export declare const resources: {
|
|
|
301
301
|
true: string;
|
|
302
302
|
false: string;
|
|
303
303
|
"answer-placeholder": string;
|
|
304
|
+
"code-placeholder": string;
|
|
304
305
|
expected: string;
|
|
305
306
|
next: string;
|
|
306
307
|
previous: string;
|
|
@@ -317,6 +318,19 @@ export declare const resources: {
|
|
|
317
318
|
"kind-multi": string;
|
|
318
319
|
"kind-boolean": string;
|
|
319
320
|
"kind-text": string;
|
|
321
|
+
"kind-open": string;
|
|
322
|
+
"kind-code": string;
|
|
323
|
+
};
|
|
324
|
+
"question-media": {
|
|
325
|
+
image: string;
|
|
326
|
+
audio: string;
|
|
327
|
+
video: string;
|
|
328
|
+
document: string;
|
|
329
|
+
"error-title": string;
|
|
330
|
+
"error-description": string;
|
|
331
|
+
reload: string;
|
|
332
|
+
open: string;
|
|
333
|
+
"new-tab": string;
|
|
320
334
|
};
|
|
321
335
|
quiz: {
|
|
322
336
|
count: string;
|
|
@@ -1337,6 +1351,12 @@ export declare const resources: {
|
|
|
1337
1351
|
dark: string;
|
|
1338
1352
|
system: string;
|
|
1339
1353
|
};
|
|
1354
|
+
unsaved: {
|
|
1355
|
+
title: string;
|
|
1356
|
+
description: string;
|
|
1357
|
+
stay: string;
|
|
1358
|
+
leave: string;
|
|
1359
|
+
};
|
|
1340
1360
|
"load-more": {
|
|
1341
1361
|
shown: string;
|
|
1342
1362
|
"shown-count": string;
|
|
@@ -3256,6 +3276,7 @@ export declare const resources: {
|
|
|
3256
3276
|
true: string;
|
|
3257
3277
|
false: string;
|
|
3258
3278
|
"answer-placeholder": string;
|
|
3279
|
+
"code-placeholder": string;
|
|
3259
3280
|
expected: string;
|
|
3260
3281
|
next: string;
|
|
3261
3282
|
previous: string;
|
|
@@ -3272,6 +3293,19 @@ export declare const resources: {
|
|
|
3272
3293
|
"kind-multi": string;
|
|
3273
3294
|
"kind-boolean": string;
|
|
3274
3295
|
"kind-text": string;
|
|
3296
|
+
"kind-open": string;
|
|
3297
|
+
"kind-code": string;
|
|
3298
|
+
};
|
|
3299
|
+
"question-media": {
|
|
3300
|
+
image: string;
|
|
3301
|
+
audio: string;
|
|
3302
|
+
video: string;
|
|
3303
|
+
document: string;
|
|
3304
|
+
"error-title": string;
|
|
3305
|
+
"error-description": string;
|
|
3306
|
+
reload: string;
|
|
3307
|
+
open: string;
|
|
3308
|
+
"new-tab": string;
|
|
3275
3309
|
};
|
|
3276
3310
|
quiz: {
|
|
3277
3311
|
count: string;
|
|
@@ -4292,6 +4326,12 @@ export declare const resources: {
|
|
|
4292
4326
|
dark: string;
|
|
4293
4327
|
system: string;
|
|
4294
4328
|
};
|
|
4329
|
+
unsaved: {
|
|
4330
|
+
title: string;
|
|
4331
|
+
description: string;
|
|
4332
|
+
stay: string;
|
|
4333
|
+
leave: string;
|
|
4334
|
+
};
|
|
4295
4335
|
"load-more": {
|
|
4296
4336
|
shown: string;
|
|
4297
4337
|
"shown-count": string;
|