@nxgt/material 3.93.0 → 3.94.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.
Files changed (92) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +2 -1
  3. package/dist/{alert-dialog-D37eph4I.js → alert-dialog-BaqK-rmd.js} +1 -1
  4. package/dist/{async-slice-BSqwhAj-.js → async-slice-BfNpIJAH.js} +1 -1
  5. package/dist/{button-CG9SBAT-.js → button-CozGHXAv.js} +1 -1
  6. package/dist/{calculator-YD3I3y-I.js → calculator-BIx6cwgU.js} +10 -10
  7. package/dist/calculator-field.js +6 -6
  8. package/dist/{calculator-segment-Cjec9zi7.js → calculator-segment-BsaxUtzL.js} +1 -1
  9. package/dist/calculator.js +1 -1
  10. package/dist/charts.js +3 -3
  11. package/dist/{chip-BbUSBl3i.js → chip-DMEUGYdC.js} +2 -2
  12. package/dist/{code-editor-ZEM7AAcs.js → code-editor-BWfky-aN.js} +4 -4
  13. package/dist/code-editor.js +4 -4
  14. package/dist/{code-language-items-CAuHPrHd.js → code-language-items-BUaNYJuw.js} +2 -2
  15. package/dist/{components-CuFTrmGy.js → components-CZpdAQMh.js} +19525 -19105
  16. package/dist/components.js +38 -38
  17. package/dist/{conversion-variant-DmEtTCSP.js → conversion-variant-aIBhul_U.js} +3 -3
  18. package/dist/{currency-field-CabGnVO9.js → currency-field-IcEMAcAw.js} +5 -5
  19. package/dist/{dialog-Jhpx6ulb.js → dialog-H40HjqXN.js} +3 -3
  20. package/dist/dnd.js +1 -1
  21. package/dist/{dropdown-menu-nl0Q3tQ2.js → dropdown-menu-CawkIlW8.js} +1 -1
  22. package/dist/editor.js +442 -442
  23. package/dist/{empty-state-mrJuqph3.js → empty-state-sRVjgCis.js} +1 -1
  24. package/dist/{financial-variant-P8gFA9aI.js → financial-variant-Bqo9-swy.js} +5 -5
  25. package/dist/{hooks-CjSpziWf.js → hooks-BTj_WJm9.js} +2 -2
  26. package/dist/hooks.js +2 -2
  27. package/dist/{hover-card-BNb1M8ij.js → hover-card-BZU1DWGY.js} +1 -1
  28. package/dist/i18n.js +3 -3
  29. package/dist/{icon-badge-CVMHwdFm.js → icon-badge-CXgvqMsM.js} +1 -1
  30. package/dist/{icon-button-Ch0PThsa.js → icon-button-B9WjQ3RO.js} +1 -1
  31. package/dist/{input-group-CPMSQcBx.js → input-group-Df9vp2EZ.js} +1 -1
  32. package/dist/lib/components/ui/display/entity-header/entity-metadata.d.ts +0 -7
  33. package/dist/lib/components/ui/display/entity-header/entity-stats.d.ts +2 -1
  34. package/dist/lib/components/ui/display/markdown/markdown.d.ts +2 -2
  35. package/dist/lib/components/ui/display/markdown/rehype-katex-classes.d.ts +21 -0
  36. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  37. package/dist/lib/components/ui/fields/index.d.ts +1 -0
  38. package/dist/lib/components/ui/fields/markdown-textarea-field/index.d.ts +2 -0
  39. package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-preview.d.ts +6 -0
  40. package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-syntax-help.d.ts +4 -0
  41. package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-tabs.d.ts +13 -0
  42. package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-textarea-field.d.ts +23 -0
  43. package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-textarea-form-field.d.ts +3 -0
  44. package/dist/lib/components/ui/fields/markdown-textarea-field/use-text-value.d.ts +6 -0
  45. package/dist/lib/components/ui/widgets/education/questions/index.d.ts +1 -1
  46. package/dist/lib/components/ui/widgets/education/questions/partials/question-hints.d.ts +9 -0
  47. package/dist/lib/components/ui/widgets/education/questions/partials/question-reveal.d.ts +13 -0
  48. package/dist/lib/components/ui/widgets/education/questions/partials/rich-text.d.ts +17 -0
  49. package/dist/lib/components/ui/widgets/education/questions/types.d.ts +40 -1
  50. package/dist/lib/i18n/resources/en/en.d.ts +24 -0
  51. package/dist/lib/i18n/resources/en/material.json.d.ts +24 -0
  52. package/dist/lib/i18n/resources/fr/fr.d.ts +24 -0
  53. package/dist/lib/i18n/resources/fr/material.json.d.ts +24 -0
  54. package/dist/lib/i18n/resources/resources.d.ts +48 -0
  55. package/dist/lib/i18n/translator.d.ts +1 -1
  56. package/dist/lib.js +1 -1
  57. package/dist/main.js +54 -54
  58. package/dist/map.js +7 -7
  59. package/dist/material.css +1 -1
  60. package/dist/pdf-reader.js +1 -1
  61. package/dist/{percent-field-TWyupyr_.js → percent-field-DrI4_J7x.js} +1 -1
  62. package/dist/{picker-surface-CoNsDWxX.js → picker-surface-D2aYI4v7.js} +4 -4
  63. package/dist/{popover-BA1U82Wk.js → popover-QQYPWzw6.js} +1 -1
  64. package/dist/{pos-types-BQqv-kb6.js → pos-types-BIeZGGAs.js} +1 -1
  65. package/dist/{pos-variant-D043n5y8.js → pos-variant-Cdn1AVoA.js} +4 -4
  66. package/dist/print.js +1 -1
  67. package/dist/{programmer-variant-jneMqtLs.js → programmer-variant-CMBybkqw.js} +2 -2
  68. package/dist/{public-DgrbdeZj.js → public-CPxFxbi4.js} +9 -9
  69. package/dist/{rich-code-block-CGNjHawR.js → rich-code-block-DKJ8eKzL.js} +5 -5
  70. package/dist/{scientific-variant-1L7brNNT.js → scientific-variant-CXL1ayb7.js} +2 -2
  71. package/dist/{sortable-provider-DZLV_svg.js → sortable-provider-BYqwwyr1.js} +2 -2
  72. package/dist/{spinner-CQqRWxAW.js → spinner-D7ol2n_-.js} +1 -1
  73. package/dist/{tabs-DQTx3C8e.js → tabs-DyiFTy5g.js} +1 -1
  74. package/dist/theme-picker.js +2 -2
  75. package/dist/{theme-toggle-3NQ3VmJH.js → theme-toggle-QZ0bIrg9.js} +1 -1
  76. package/dist/{toolbar-items-BYCdJGUf.js → toolbar-items-BpOEBsSt.js} +4 -4
  77. package/dist/{translate-material-jxfcGlD5.js → translate-material-DlMetRSJ.js} +1 -1
  78. package/dist/{translator-6XuDmqUJ.js → translator-VtzVrnLm.js} +48 -0
  79. package/dist/{use-chat-composer-1eb4I1kM.js → use-chat-composer-DQ2rTD_q.js} +17 -17
  80. package/dist/{use-heading-spy-CzPujlKr.js → use-heading-spy-17B5xa7B.js} +4 -4
  81. package/dist/{use-material-translation-BUPqNmAg.js → use-material-translation-Cx5u36V5.js} +1 -1
  82. package/dist/{use-return-focus-B_enQxp5.js → use-return-focus-S7g7q_Yn.js} +1 -1
  83. package/docs/components/data-display.md +7 -6
  84. package/docs/components/form-fields.md +39 -0
  85. package/docs/components/rich-widgets.md +29 -0
  86. package/docs/guides/csp.md +20 -8
  87. package/docs/guides/forms.md +1 -0
  88. package/docs/guides/i18n.md +1 -1
  89. package/docs/previews/data-display-entityheader.webp +0 -0
  90. package/docs/previews/form-fields-markdowntextareafield.webp +0 -0
  91. package/docs/troubleshooting.md +22 -6
  92. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @nxgt/material
2
2
 
3
+ ## 3.94.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2734](https://github.com/softistx/nxgt-material/pull/2734) [`3bd1eab`](https://github.com/softistx/nxgt-material/commit/3bd1eabd518a0c96510af3951ec17380e110799c) Thanks [@SteveGT96](https://github.com/SteveGT96)! - feat(entity-header): lay the metadata out as a grid of equal columns, a small label above each value, instead of a wrapping row of label-beside-value pairs. A link or a text button in a value keeps the text's height, so every value of a row is as tall as plain text and none sits lower (its 44px tap target stays as a hit area on a touch pointer, adding no height), and a long value wraps inside its column ([#2731](https://github.com/softistx/nxgt-material/issues/2731)). The default look changes; the `dl`, `dt`, `dd` and `data-slot="entity-metadata"` markup is unchanged. A self-contained test that measured label and value on one line, or the position of a metadata item, needs its numbers updated.
8
+
9
+ - [#2718](https://github.com/softistx/nxgt-material/pull/2718) [`ceafaa0`](https://github.com/softistx/nxgt-material/commit/ceafaa063f79873c8c557c2de4187883710862f6) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `MarkdownTextareaField` and `MarkdownTextareaFormField` (React Hook Form) are new, exported from `@nxgt/material` and `@nxgt/material/components`: a textarea for Markdown with the usual label, helper text, error and `maxLength` counter, a Write / Preview tab list whose preview is rendered by `Markdown` (math on, `mermaid` off by default), and a collapsed formatting help. New `material.markdown-textarea-field.*` i18n keys (en, fr).
10
+
11
+ - [#2717](https://github.com/softistx/nxgt-material/pull/2717) [`98f3a28`](https://github.com/softistx/nxgt-material/commit/98f3a2836acab8d685c554178a7839caa579af9e) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `QuestionCard` takes rich content ([#2713](https://github.com/softistx/nxgt-material/issues/2713)): `question.markdown` draws the prompt, string option labels, explanation and hints as safe Markdown with math (mermaid off, raw HTML not rendered); `question.hints` are revealed one at a time ("Show hint 1 of N", the focus moves to the hint); `QuestionOption.explanation` and `question.references` appear once revealed or in a `preview`; a `code` question takes `starterCode` and `examples` (a table). The single `hint` keeps working but is deprecated in favour of `hints`. New exports: the `QuestionReference` and `QuestionExample` types; new `material.quiz.rich.*` strings (English and French).
12
+
13
+ ### Patch Changes
14
+
15
+ - [#2725](https://github.com/softistx/nxgt-material/pull/2725) [`bccd1c0`](https://github.com/softistx/nxgt-material/commit/bccd1c0de2c1a928592743de7bf91ca5c4788b41) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `Markdown`'s math renders under a strict CSP on the server too: KaTeX's inline `style="…"` attributes are replaced by `mk-<hash>` classes and one `<style>` holding their rules, which takes the nonce of the nearest `NonceProvider` (`style-src-elem 'nonce-…'` allows it), so `style-src-attr 'none'` no longer needs relaxing for math and the formula keeps its layout. Math under a nonce policy therefore needs `NonceProvider` around `Markdown` (as `ScrollArea` and `Select` already do). Only mermaid's mindmap and architecture diagrams still add an un-nonced `<style>` to `<head>`: see the CSP guide. Fixes [#2166](https://github.com/softistx/nxgt-material/issues/2166).
16
+
17
+ - [#2727](https://github.com/softistx/nxgt-material/pull/2727) [`e0bdb20`](https://github.com/softistx/nxgt-material/commit/e0bdb208ce99599edfb51ba82a9dbf70317bb94f) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `RecordDetails`: the « · » of the « Added on … · Updated on … » line now leads the second segment instead of standing alone, so a wrapped line never ends on a dangling separator; it still renders only between two dates.
18
+
3
19
  ## 3.93.0
4
20
 
5
21
  ### Minor Changes
package/README.md CHANGED
@@ -667,6 +667,7 @@ Not components: what the stylesheet gives any element.
667
667
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/form-fields-choicelistfield.webp" width="120" alt="ChoiceListField"> | [`ChoiceListField`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/form-fields.md#choicelistfield) · `ChoiceListFormField` | An editable list of answer choices with correct marks: single (radios) or multiple (checkboxes), min and max rows, reorder buttons, a stable id per row, errors per row and for the list; `rowDetail` adds an explanation textarea under each row (`ChoiceRow.explanation`). | not yet (#2720) |
668
668
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/form-fields-textfield.webp" width="120" alt="TextField"> | [`TextField`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/form-fields.md#textfield) · `TextFormField` | Labelled input with leading / trailing adornments and helper text. | `TextField`, `TextFormField` |
669
669
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/form-fields-textareafield.webp" width="120" alt="TextareaField"> | [`TextareaField`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/form-fields.md#textareafield) · `TextareaFormField` | Labelled textarea with row sizing and a `maxLength` counter. | `TextareaField`, `TextareaFormField` |
670
+ | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/form-fields-markdowntextareafield.webp" width="120" alt="MarkdownTextareaField"> | [`MarkdownTextareaField`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/form-fields.md#markdowntextareafield) · `MarkdownTextareaFormField` | Textarea for Markdown and math with a Write / Preview tab list. | not yet (#2719) |
670
671
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/form-fields-emailfield.webp" width="120" alt="EmailField"> | [`EmailField`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/form-fields.md#emailfield) · `EmailFormField` | Validates on blur; shows a `mailto:` button once the address is valid. | `EmailField`, `EmailFormField` |
671
672
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/form-fields-passwordfield.webp" width="120" alt="PasswordField"> | [`PasswordField`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/form-fields.md#passwordfield) · `PasswordFormField` | Show / hide toggle and an optional strength meter (`scorePassword`). | `PasswordField`, `PasswordFormField` |
672
673
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/form-fields-numberfield.webp" width="120" alt="NumberField"> | [`NumberField`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/form-fields.md#numberfield) · `NumberFormField` | Emits `number \| null`, with min / max / step clamping, +/− buttons and a suffix. | `NumberField`, `NumberFormField` |
@@ -922,7 +923,7 @@ Not components: what the stylesheet gives any element.
922
923
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/rich-widgets-richtextviewer.webp" width="120" alt="RichTextViewer"> | [`RichTextViewer`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/rich-widgets.md#richtextviewer) | Read-only view of a saved document (HTML, JSON or Markdown) with the editor's typography; sanitised, server-safe, no editor. From `@nxgt/material/editor/viewer`. | — (a `vue` issue, not a port) |
923
924
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/rich-widgets-codeeditor.webp" width="120" alt="CodeEditor"> | [`CodeEditor`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/rich-widgets.md#codeeditor) · `CodeEditorFormField` | Monaco code field in theme presets (App, Moonlight, Soft, or your own `defineCodeTheme`), with a floating tool pill, a status bar, `markers` for your own problems, a `readOnly` reader look, view props, a `ref` handle, file tabs (`files`) and full screen. From `@nxgt/material/code-editor`. | `CodeEditor`, `CodeEditorFormField` |
924
925
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/rich-widgets-codeeditor-diff.webp" width="120" alt="CodeDiff"> | [`CodeDiff`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/rich-widgets.md#codediff) | A Monaco diff in the code editor's frame and themes: side by side or inline (always inline on a phone), previous/next change, `+N −M` counts and copy. From `@nxgt/material/code-editor`. | `CodeDiff` |
925
- | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/rich-widgets-quiz.webp" width="120" alt="Quiz"> | [`Quiz`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/rich-widgets.md#quiz), `QuestionCard` · [`QuestionNavigator`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/rich-widgets.md#questionnavigator) | Exam or practice quizzes: step progress, instant feedback with explanations and hints, a time limit, keyboard shortcuts, and a results screen with a score ring, a breakdown and a retry of the misses. Container queries. | `Quiz`, `QuestionCard` (modes and results: React only for now); `QuestionNavigator` React only for now |
926
+ | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/rich-widgets-quiz.webp" width="120" alt="Quiz"> | [`Quiz`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/rich-widgets.md#quiz), `QuestionCard` · [`QuestionNavigator`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/rich-widgets.md#questionnavigator) | Exam or practice quizzes: step progress, instant feedback with explanations and hints, a time limit, keyboard shortcuts, `QuestionCard` rich content (Markdown and math, progressive hints, per-option explanations, references, code starter and examples), and a results screen with a score ring, a breakdown and a retry of the misses. Container queries. | `Quiz`, `QuestionCard` (modes and results: React only for now); `QuestionNavigator` React only for now |
926
927
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/rich-widgets-drawing.webp" width="120" alt="Drawing"> | [`Drawing`, `Rect`, `Ellipse`, `Circle`, `Line`, `Polygon`, `Path`, `Text`, `Group`, `Image`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/rich-widgets.md#drawing) from `@nxgt/material/draw` | Vector drawings from a scene of plain data or from JSX: theme-role colours that follow light and dark, no inline style (strict CSP), a `title` or `decorative` enforced by the type, focusable nodes with `onClick` and a focus ring, text that wraps with Inter's metrics and is refined by the browser. Client-only entry. | React only for now |
927
928
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/rich-widgets-barcode.webp" width="120" alt="Barcode"> | [`Barcode`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/rich-widgets.md#barcode), `LabelSheet`, `Label`, `barcodeGeometry` | Code 128 and Data Matrix as accessible SVG that follows the theme and prints black on white, and a printed sheet of labels. Its own entry, `@nxgt/material/barcode`, server-safe. | React only for now |
928
929
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/rich-widgets-calculator.webp" width="120" alt="Calculator"> | [`Calculator`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/rich-widgets.md#calculator) | Exact decimal calculator with the usual precedence, a shaped keypad, tape, memory, keyboard, copy and paste. Its own entry, `@nxgt/material/calculator`; `CalculatorField` and `CalculatorFormField` are in `@nxgt/material/calculator-field`. | React only for now |
@@ -4,7 +4,7 @@ import { o as n } from "./dist-DVRQkaTK.js";
4
4
  import { r } from "./dist-DWZXlCZR.js";
5
5
  import { a as i } from "./dist-DHdUUM1w.js";
6
6
  import { t as a } from "./in-dialog-D61Yeaol.js";
7
- import { a as o, c as s, d as c, i as l, l as u, n as d, o as f, r as p, s as m, t as h, u as g } from "./use-return-focus-B_enQxp5.js";
7
+ import { a as o, c as s, d as c, i as l, l as u, n as d, o as f, r as p, s as m, t as h, u as g } from "./use-return-focus-S7g7q_Yn.js";
8
8
  import { i as _ } from "./escape-owner-DpaP0lm1.js";
9
9
  import * as v from "react";
10
10
  import { Fragment as y, isValidElement as b } from "react";
@@ -1,4 +1,4 @@
1
- import { l as e, r as t, s as n, u as r } from "./translator-6XuDmqUJ.js";
1
+ import { l as e, r as t, s as n, u as r } from "./translator-VtzVrnLm.js";
2
2
  import { t as i } from "./_baseIsEqual-C6ksIHya.js";
3
3
  import { useMemo as a } from "react";
4
4
  import { asyncThunkCreator as o, buildCreateSlice as s } from "@reduxjs/toolkit";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { n as t, t as n } from "./dist-DVRQkaTK.js";
3
- import { n as r, t as i } from "./spinner-CQqRWxAW.js";
3
+ import { n as r, t as i } from "./spinner-D7ol2n_-.js";
4
4
  import { t as a } from "./dist-DkQbkF9T.js";
5
5
  import { a as o, i as s, n as c, o as l, s as u, t as d } from "./use-click-lock-Bwg_caHO.js";
6
6
  import { t as f } from "./is-production-GLw59WU8.js";
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { d as t, n, r, t as i } from "./tabs-DQTx3C8e.js";
3
- import { t as a } from "./button-CG9SBAT-.js";
4
- import { t as o } from "./use-material-translation-BUPqNmAg.js";
5
- import { t as s } from "./icon-button-Ch0PThsa.js";
2
+ import { d as t, n, r, t as i } from "./tabs-DyiFTy5g.js";
3
+ import { t as a } from "./button-CozGHXAv.js";
4
+ import { t as o } from "./use-material-translation-Cx5u36V5.js";
5
+ import { t as s } from "./icon-button-B9WjQ3RO.js";
6
6
  import { t as c } from "./copy-to-clipboard-Be5Ffvs_.js";
7
7
  import { t as l } from "./useEvent-2fKq-6w8.js";
8
8
  import { t as u } from "./useLatest-C2PnQEeD.js";
@@ -11,7 +11,7 @@ import { t as f } from "./skeleton-DSdtr2qc.js";
11
11
  import { t as p } from "./live-status-BGPaN8r8.js";
12
12
  import { n as m, t as h } from "./calculator-context-BugcKuVG.js";
13
13
  import { a as g, c as _, i as v, l as y, n as b, o as ee, r as te, s as ne } from "./calculator-announce-DRd2c6Dq.js";
14
- import { i as re, t as ie } from "./pos-types-BQqv-kb6.js";
14
+ import { i as re, t as ie } from "./pos-types-BIeZGGAs.js";
15
15
  import { a as ae, r as oe } from "./key-layout-cR79xfGE.js";
16
16
  import { n as x, r as se, t as ce } from "./programmer-word-CNCF7DJF.js";
17
17
  import { t as le } from "./standard-layout-BuSRr3TY.js";
@@ -279,11 +279,11 @@ function Le({ helpId: e }) {
279
279
  //#endregion
280
280
  //#region lib/components/ui/widgets/calculator/variants/variant-loader.ts
281
281
  var Re = {
282
- scientific: () => import("./scientific-variant-1L7brNNT.js"),
283
- pos: () => import("./pos-variant-D043n5y8.js"),
284
- programmer: () => import("./programmer-variant-jneMqtLs.js"),
285
- financial: () => import("./financial-variant-P8gFA9aI.js"),
286
- conversion: () => import("./conversion-variant-DmEtTCSP.js")
282
+ scientific: () => import("./scientific-variant-CXL1ayb7.js"),
283
+ pos: () => import("./pos-variant-Cdn1AVoA.js"),
284
+ programmer: () => import("./programmer-variant-CMBybkqw.js"),
285
+ financial: () => import("./financial-variant-Bqo9-swy.js"),
286
+ conversion: () => import("./conversion-variant-aIBhul_U.js")
287
287
  }, B = "failed", V = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Set(), W = () => {
288
288
  for (let e of U) e();
289
289
  };
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { t } from "./button-CG9SBAT-.js";
3
- import { t as n } from "./use-material-translation-BUPqNmAg.js";
4
- import { t as r } from "./icon-button-Ch0PThsa.js";
5
- import { a as i, i as a, n as o, r as s, t as c } from "./picker-surface-CoNsDWxX.js";
6
- import { r as l, t as u } from "./currency-field-CabGnVO9.js";
2
+ import { t } from "./button-CozGHXAv.js";
3
+ import { t as n } from "./use-material-translation-Cx5u36V5.js";
4
+ import { t as r } from "./icon-button-B9WjQ3RO.js";
5
+ import { a as i, i as a, n as o, r as s, t as c } from "./picker-surface-D2aYI4v7.js";
6
+ import { r as l, t as u } from "./currency-field-IcEMAcAw.js";
7
7
  import { r as d, t as f } from "./field-blur-DkiZOVNV.js";
8
- import { t as p } from "./calculator-YD3I3y-I.js";
8
+ import { t as p } from "./calculator-BIx6cwgU.js";
9
9
  import { useId as m, useState as h } from "react";
10
10
  import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
11
11
  import { Calculator as y } from "lucide-react";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./use-material-translation-BUPqNmAg.js";
1
+ import { t as e } from "./use-material-translation-Cx5u36V5.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
3
  //#region lib/components/ui/widgets/calculator/partials/calculator-segment.tsx
4
4
  function n({ label: n, choices: r, value: i, nameKey: a, onChange: o }) {
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./calculator-YD3I3y-I.js";
1
+ import { n as e, t } from "./calculator-BIx6cwgU.js";
2
2
  export { e as CALCULATOR_VARIANTS, t as Calculator };
package/dist/charts.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./ui.utils-CAnKTCw5.js";
2
2
  import { t } from "./utils-BLfntITJ.js";
3
3
  import { t as n } from "./warn-once-C_e47JM8.js";
4
- import { t as r } from "./button-CG9SBAT-.js";
5
- import { t as i } from "./use-material-translation-BUPqNmAg.js";
4
+ import { t as r } from "./button-CozGHXAv.js";
5
+ import { t as i } from "./use-material-translation-Cx5u36V5.js";
6
6
  import { t as a } from "./use-ssr-media-query-C6M5m8sf.js";
7
7
  import { i as o, n as s, r as c, t as l } from "./util-4heV2LPI.js";
8
8
  import { t as u } from "./useIsomorphicLayoutEffect-DfgAhWcH.js";
9
- import { t as d } from "./chip-BbUSBl3i.js";
9
+ import { t as d } from "./chip-DMEUGYdC.js";
10
10
  import { c as f, d as p, f as m, i as h, o as g, p as _, s as v, t as y } from "./line-path-C5pZGC49.js";
11
11
  import { t as b } from "./live-status-BGPaN8r8.js";
12
12
  import { t as x } from "./linear-G97mfnKF.js";
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { n as t } from "./spinner-CQqRWxAW.js";
2
+ import { n as t } from "./spinner-D7ol2n_-.js";
3
3
  import { s as n } from "./use-click-lock-Bwg_caHO.js";
4
- import { t as r } from "./use-material-translation-BUPqNmAg.js";
4
+ import { t as r } from "./use-material-translation-Cx5u36V5.js";
5
5
  import { t as i } from "./react-node-text-Crkpfpco.js";
6
6
  import { cloneElement as a, isValidElement as o } from "react";
7
7
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -1,12 +1,12 @@
1
1
  import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
2
2
  import { t } from "./utils-BLfntITJ.js";
3
3
  import { t as n } from "./dist-DWZXlCZR.js";
4
- import { c as r, d as i, f as a, n as o, t as s } from "./dropdown-menu-nl0Q3tQ2.js";
4
+ import { c as r, d as i, f as a, n as o, t as s } from "./dropdown-menu-CawkIlW8.js";
5
5
  import { a as c, i as l, n as u } from "./field-blur-context-BLGgf_3z.js";
6
- import { a as d, o as f, r as p, s as m, t as h } from "./toolbar-items-BYCdJGUf.js";
6
+ import { a as d, o as f, r as p, s as m, t as h } from "./toolbar-items-BpOEBsSt.js";
7
7
  import { t as g } from "./is-production-GLw59WU8.js";
8
- import { t as _ } from "./use-material-translation-BUPqNmAg.js";
9
- import { i as v, n as y, o as b, t as x } from "./code-language-items-CAuHPrHd.js";
8
+ import { t as _ } from "./use-material-translation-Cx5u36V5.js";
9
+ import { i as v, n as y, o as b, t as x } from "./code-language-items-BUaNYJuw.js";
10
10
  import { t as S } from "./useIsomorphicLayoutEffect-DfgAhWcH.js";
11
11
  import { n as C, t as w } from "./escape-owner-DpaP0lm1.js";
12
12
  import { t as T } from "./skeleton-DSdtr2qc.js";
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { t } from "./dist-DWZXlCZR.js";
3
- import { o as n, r, s as i, t as a } from "./toolbar-items-BYCdJGUf.js";
4
- import { t as o } from "./use-material-translation-BUPqNmAg.js";
5
- import { i as s, n as c, o as l } from "./code-language-items-CAuHPrHd.js";
3
+ import { o as n, r, s as i, t as a } from "./toolbar-items-BpOEBsSt.js";
4
+ import { t as o } from "./use-material-translation-Cx5u36V5.js";
5
+ import { i as s, n as c, o as l } from "./code-language-items-BUaNYJuw.js";
6
6
  import { t as u } from "./skeleton-DSdtr2qc.js";
7
7
  import { t as d } from "./live-status-BGPaN8r8.js";
8
8
  import { t as f } from "./use-mobile-BDro060N.js";
9
9
  import { t as p } from "./react-node-text-Crkpfpco.js";
10
- import { a as m, c as h, d as g, f as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, t as T, u as E } from "./code-editor-ZEM7AAcs.js";
10
+ import { a as m, c as h, d as g, f as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, t as T, u as E } from "./code-editor-BWfky-aN.js";
11
11
  import { r as D, t as O } from "./field-blur-DkiZOVNV.js";
12
12
  import { useEffect as k, useRef as A, useState as j } from "react";
13
13
  import { Fragment as M, jsx as N, jsxs as P } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { d as e, f as t } from "./dropdown-menu-nl0Q3tQ2.js";
2
- import { t as n } from "./use-material-translation-BUPqNmAg.js";
1
+ import { d as e, f as t } from "./dropdown-menu-CawkIlW8.js";
2
+ import { t as n } from "./use-material-translation-Cx5u36V5.js";
3
3
  import { t as r } from "./copy-to-clipboard-Be5Ffvs_.js";
4
4
  import { t as i } from "./live-status-BGPaN8r8.js";
5
5
  import { useEffect as a, useRef as o, useState as s } from "react";