minerva-design 1.12.0 → 1.13.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 +31 -0
- package/custom-elements.json +9487 -6501
- package/dist/angular/fesm2022/minerva-angular.mjs +21013 -16436
- package/dist/angular/fesm2022/minerva-angular.mjs.map +1 -1
- package/dist/angular/types/minerva-angular.d.ts +1230 -35
- package/dist/charts/canvas.d.cts +2 -2
- package/dist/charts/canvas.d.ts +2 -2
- package/dist/charts/core.cjs +1 -1
- package/dist/charts/core.d.cts +1 -1
- package/dist/charts/core.d.ts +1 -1
- package/dist/charts/core.js +20 -20
- package/dist/charts/engine/canvas.cjs +1 -1
- package/dist/charts/engine/canvas.cjs.map +1 -1
- package/dist/charts/engine/canvas.js +8 -1
- package/dist/charts/engine/canvas.js.map +1 -1
- package/dist/charts/engine/chart.cjs +1 -1
- package/dist/charts/engine/chart.cjs.map +1 -1
- package/dist/charts/engine/chart.js +1 -1
- package/dist/charts/engine/chart.js.map +1 -1
- package/dist/charts/engine/color.cjs +1 -1
- package/dist/charts/engine/color.cjs.map +1 -1
- package/dist/charts/engine/color.d.cts +2 -0
- package/dist/charts/engine/color.d.ts +2 -0
- package/dist/charts/engine/color.js +15 -15
- package/dist/charts/engine/color.js.map +1 -1
- package/dist/charts/engine/controller.cjs +1 -1
- package/dist/charts/engine/controller.cjs.map +1 -1
- package/dist/charts/engine/controller.js +188 -194
- package/dist/charts/engine/controller.js.map +1 -1
- package/dist/charts/engine/data.cjs +1 -1
- package/dist/charts/engine/data.cjs.map +1 -1
- package/dist/charts/engine/data.d.cts +2 -0
- package/dist/charts/engine/data.d.ts +2 -0
- package/dist/charts/engine/data.js +15 -13
- package/dist/charts/engine/data.js.map +1 -1
- package/dist/charts/engine/items.cjs +1 -1
- package/dist/charts/engine/items.cjs.map +1 -1
- package/dist/charts/engine/items.js +7 -7
- package/dist/charts/engine/items.js.map +1 -1
- package/dist/charts/engine/labels.cjs +1 -1
- package/dist/charts/engine/labels.cjs.map +1 -1
- package/dist/charts/engine/labels.d.cts +1 -1
- package/dist/charts/engine/labels.d.ts +1 -1
- package/dist/charts/engine/labels.js +4 -1
- package/dist/charts/engine/labels.js.map +1 -1
- package/dist/charts/engine/model.cjs +1 -1
- package/dist/charts/engine/model.cjs.map +1 -1
- package/dist/charts/engine/model.d.cts +6 -0
- package/dist/charts/engine/model.d.ts +6 -0
- package/dist/charts/engine/model.js +38 -33
- package/dist/charts/engine/model.js.map +1 -1
- package/dist/charts/engine/overlay.cjs +1 -1
- package/dist/charts/engine/overlay.cjs.map +1 -1
- package/dist/charts/engine/overlay.d.cts +47 -2
- package/dist/charts/engine/overlay.d.ts +47 -2
- package/dist/charts/engine/overlay.js +215 -105
- package/dist/charts/engine/overlay.js.map +1 -1
- package/dist/charts/engine/presets.cjs +2 -2
- package/dist/charts/engine/presets.cjs.map +1 -1
- package/dist/charts/engine/presets.d.cts +54 -1
- package/dist/charts/engine/presets.d.ts +54 -1
- package/dist/charts/engine/presets.js +235 -132
- package/dist/charts/engine/presets.js.map +1 -1
- package/dist/charts/engine/scene.cjs +1 -1
- package/dist/charts/engine/scene.cjs.map +1 -1
- package/dist/charts/engine/scene.d.cts +6 -2
- package/dist/charts/engine/scene.d.ts +6 -2
- package/dist/charts/engine/scene.js +141 -118
- package/dist/charts/engine/scene.js.map +1 -1
- package/dist/charts/engine/time.cjs +1 -1
- package/dist/charts/engine/time.cjs.map +1 -1
- package/dist/charts/engine/time.js +5 -0
- package/dist/charts/engine/time.js.map +1 -1
- package/dist/charts/engine/types.d.cts +23 -4
- package/dist/charts/engine/types.d.ts +23 -4
- package/dist/charts/index.cjs +1 -1
- package/dist/charts/index.d.cts +1 -1
- package/dist/charts/index.d.ts +1 -1
- package/dist/charts/index.js +26 -26
- package/dist/charts/react/charts.cjs +1 -1
- package/dist/charts/react/charts.cjs.map +1 -1
- package/dist/charts/react/charts.js +287 -124
- package/dist/charts/react/charts.js.map +1 -1
- package/dist/charts/react/types.d.cts +33 -1
- package/dist/charts/react/types.d.ts +33 -1
- package/dist/core/answer-sheet.d.cts +65 -0
- package/dist/core/answer-sheet.d.ts +65 -0
- package/dist/core/contracts.cjs +1 -1
- package/dist/core/contracts.cjs.map +1 -1
- package/dist/core/contracts.js +1 -1
- package/dist/core/contracts.js.map +1 -1
- package/dist/core/highlight/highlight.d.cts +21 -0
- package/dist/core/highlight/highlight.d.ts +21 -0
- package/dist/core/highlight/index.d.cts +2 -0
- package/dist/core/highlight/index.d.ts +2 -0
- package/dist/core/highlight/types.d.cts +20 -0
- package/dist/core/highlight/types.d.ts +20 -0
- package/dist/core/index.cjs +9 -6
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +5 -0
- package/dist/core/index.d.ts +5 -0
- package/dist/core/index.js +1693 -679
- package/dist/core/index.js.map +1 -1
- package/dist/core/kanban.d.cts +24 -0
- package/dist/core/kanban.d.ts +24 -0
- package/dist/core/media-player.d.cts +81 -0
- package/dist/core/media-player.d.ts +81 -0
- package/dist/core/slider.d.cts +71 -0
- package/dist/core/slider.d.ts +71 -0
- package/dist/core/styling-hooks/components/answer-sheet.d.cts +46 -0
- package/dist/core/styling-hooks/components/answer-sheet.d.ts +46 -0
- package/dist/core/styling-hooks/components/code-block.d.cts +5 -3
- package/dist/core/styling-hooks/components/code-block.d.ts +5 -3
- package/dist/core/styling-hooks/components/flashcard.d.cts +36 -0
- package/dist/core/styling-hooks/components/flashcard.d.ts +36 -0
- package/dist/core/styling-hooks/components/kanban-board.d.cts +12 -0
- package/dist/core/styling-hooks/components/kanban-board.d.ts +12 -0
- package/dist/core/styling-hooks/components/kanban-column.d.cts +41 -0
- package/dist/core/styling-hooks/components/kanban-column.d.ts +41 -0
- package/dist/core/styling-hooks/components/media-player.d.cts +44 -0
- package/dist/core/styling-hooks/components/media-player.d.ts +44 -0
- package/dist/core/styling-hooks/components/segmented-control.d.cts +32 -0
- package/dist/core/styling-hooks/components/segmented-control.d.ts +32 -0
- package/dist/core/styling-hooks/components/slider.d.cts +56 -0
- package/dist/core/styling-hooks/components/slider.d.ts +56 -0
- package/dist/core/styling-hooks/manifest.d.cts +265 -3
- package/dist/core/styling-hooks/manifest.d.ts +265 -3
- package/dist/core/styling-hooks/vocabulary.d.cts +2 -2
- package/dist/core/styling-hooks/vocabulary.d.ts +2 -2
- package/dist/core/styling-hooks.cjs +1 -1
- package/dist/core/styling-hooks.cjs.map +1 -1
- package/dist/core/styling-hooks.js +208 -7
- package/dist/core/styling-hooks.js.map +1 -1
- package/dist/core/tokens/code.d.cts +44 -0
- package/dist/core/tokens/code.d.ts +44 -0
- package/dist/core/tokens.css +41 -0
- package/dist/core/tokens.mini.base.css +38 -0
- package/dist/core/tokens.mini.css +118 -0
- package/dist/core/tokens.mini.palette-cool.css +20 -0
- package/dist/core/tokens.mini.palette-editorial.css +20 -0
- package/dist/core/tokens.mini.palette-graphite.css +20 -0
- package/dist/core/tokens.mini.palette-tech.css +20 -0
- package/dist/dom/center-in-scroller.d.cts +7 -0
- package/dist/dom/center-in-scroller.d.ts +7 -0
- package/dist/dom/core-web.cjs +1 -1
- package/dist/dom/core-web.js +2 -2
- package/dist/dom/index.cjs +1 -1
- package/dist/dom/index.cjs.map +1 -1
- package/dist/dom/index.d.cts +3 -0
- package/dist/dom/index.d.ts +3 -0
- package/dist/dom/index.js +161 -91
- package/dist/dom/index.js.map +1 -1
- package/dist/dom/interactive-target.d.cts +9 -0
- package/dist/dom/interactive-target.d.ts +9 -0
- package/dist/dom/nearest-in-row.d.cts +6 -0
- package/dist/dom/nearest-in-row.d.ts +6 -0
- package/dist/native/charts/src/canvas.cjs +1 -1
- package/dist/native/charts/src/canvas.js +7 -7
- package/dist/native/charts/src/engine/color.cjs +1 -1
- package/dist/native/charts/src/engine/color.cjs.map +1 -1
- package/dist/native/charts/src/engine/color.js +15 -15
- package/dist/native/charts/src/engine/color.js.map +1 -1
- package/dist/native/charts/src/engine/controller.cjs +1 -1
- package/dist/native/charts/src/engine/controller.cjs.map +1 -1
- package/dist/native/charts/src/engine/controller.js +189 -195
- package/dist/native/charts/src/engine/controller.js.map +1 -1
- package/dist/native/charts/src/engine/data.cjs +1 -1
- package/dist/native/charts/src/engine/data.cjs.map +1 -1
- package/dist/native/charts/src/engine/data.js +15 -13
- package/dist/native/charts/src/engine/data.js.map +1 -1
- package/dist/native/charts/src/engine/labels.cjs +1 -1
- package/dist/native/charts/src/engine/labels.cjs.map +1 -1
- package/dist/native/charts/src/engine/labels.js +4 -1
- package/dist/native/charts/src/engine/labels.js.map +1 -1
- package/dist/native/charts/src/engine/model.cjs +1 -1
- package/dist/native/charts/src/engine/model.cjs.map +1 -1
- package/dist/native/charts/src/engine/model.js +134 -129
- package/dist/native/charts/src/engine/model.js.map +1 -1
- package/dist/native/charts/src/engine/overlay.cjs +1 -1
- package/dist/native/charts/src/engine/overlay.cjs.map +1 -1
- package/dist/native/charts/src/engine/overlay.js +136 -36
- package/dist/native/charts/src/engine/overlay.js.map +1 -1
- package/dist/native/charts/src/engine/presets.cjs +2 -2
- package/dist/native/charts/src/engine/presets.cjs.map +1 -1
- package/dist/native/charts/src/engine/presets.js +193 -127
- package/dist/native/charts/src/engine/presets.js.map +1 -1
- package/dist/native/charts/src/engine/scene.cjs +1 -1
- package/dist/native/charts/src/engine/scene.cjs.map +1 -1
- package/dist/native/charts/src/engine/scene.js +141 -118
- package/dist/native/charts/src/engine/scene.js.map +1 -1
- package/dist/native/charts/src/engine/time.cjs +1 -1
- package/dist/native/charts/src/engine/time.cjs.map +1 -1
- package/dist/native/charts/src/engine/time.js +5 -0
- package/dist/native/charts/src/engine/time.js.map +1 -1
- package/dist/native/components/AnswerSheet/AnswerSheet.cjs +2 -0
- package/dist/native/components/AnswerSheet/AnswerSheet.cjs.map +1 -0
- package/dist/native/components/AnswerSheet/AnswerSheet.d.cts +85 -0
- package/dist/native/components/AnswerSheet/AnswerSheet.d.ts +85 -0
- package/dist/native/components/AnswerSheet/AnswerSheet.js +250 -0
- package/dist/native/components/AnswerSheet/AnswerSheet.js.map +1 -0
- package/dist/native/components/AnswerSheet/index.cjs +1 -0
- package/dist/native/components/AnswerSheet/index.d.cts +1 -0
- package/dist/native/components/AnswerSheet/index.d.ts +1 -0
- package/dist/native/components/AnswerSheet/index.js +2 -0
- package/dist/native/components/Chart/charts.cjs +1 -1
- package/dist/native/components/Chart/charts.cjs.map +1 -1
- package/dist/native/components/Chart/charts.js +16 -10
- package/dist/native/components/Chart/charts.js.map +1 -1
- package/dist/native/components/Chart/scene.cjs +1 -1
- package/dist/native/components/Chart/scene.cjs.map +1 -1
- package/dist/native/components/Chart/scene.js +213 -195
- package/dist/native/components/Chart/scene.js.map +1 -1
- package/dist/native/components/Charts/charts.cjs +1 -1
- package/dist/native/components/Charts/charts.cjs.map +1 -1
- package/dist/native/components/Charts/charts.js +19 -17
- package/dist/native/components/Charts/charts.js.map +1 -1
- package/dist/native/components/Editors/index.cjs +1 -1
- package/dist/native/components/Editors/index.cjs.map +1 -1
- package/dist/native/components/Editors/index.d.cts +15 -1
- package/dist/native/components/Editors/index.d.ts +15 -1
- package/dist/native/components/Editors/index.js +147 -109
- package/dist/native/components/Editors/index.js.map +1 -1
- package/dist/native/components/Flashcard/Flashcard.cjs +2 -0
- package/dist/native/components/Flashcard/Flashcard.cjs.map +1 -0
- package/dist/native/components/Flashcard/Flashcard.d.cts +91 -0
- package/dist/native/components/Flashcard/Flashcard.d.ts +91 -0
- package/dist/native/components/Flashcard/Flashcard.js +196 -0
- package/dist/native/components/Flashcard/Flashcard.js.map +1 -0
- package/dist/native/components/Flashcard/index.cjs +1 -0
- package/dist/native/components/Flashcard/index.d.cts +1 -0
- package/dist/native/components/Flashcard/index.d.ts +1 -0
- package/dist/native/components/Flashcard/index.js +2 -0
- package/dist/native/components/KanbanBoard/KanbanBoard.cjs +2 -0
- package/dist/native/components/KanbanBoard/KanbanBoard.cjs.map +1 -0
- package/dist/native/components/KanbanBoard/KanbanBoard.d.cts +76 -0
- package/dist/native/components/KanbanBoard/KanbanBoard.d.ts +76 -0
- package/dist/native/components/KanbanBoard/KanbanBoard.js +203 -0
- package/dist/native/components/KanbanBoard/KanbanBoard.js.map +1 -0
- package/dist/native/components/KanbanBoard/index.cjs +1 -0
- package/dist/native/components/KanbanBoard/index.d.cts +1 -0
- package/dist/native/components/KanbanBoard/index.d.ts +1 -0
- package/dist/native/components/KanbanBoard/index.js +2 -0
- package/dist/native/components/MediaControls/MediaControls.cjs +2 -0
- package/dist/native/components/MediaControls/MediaControls.cjs.map +1 -0
- package/dist/native/components/MediaControls/MediaControls.d.cts +76 -0
- package/dist/native/components/MediaControls/MediaControls.d.ts +76 -0
- package/dist/native/components/MediaControls/MediaControls.js +276 -0
- package/dist/native/components/MediaControls/MediaControls.js.map +1 -0
- package/dist/native/components/MediaControls/index.cjs +1 -0
- package/dist/native/components/MediaControls/index.d.cts +1 -0
- package/dist/native/components/MediaControls/index.d.ts +1 -0
- package/dist/native/components/MediaControls/index.js +2 -0
- package/dist/native/components/SegmentedControl/SegmentedControl.cjs +2 -0
- package/dist/native/components/SegmentedControl/SegmentedControl.cjs.map +1 -0
- package/dist/native/components/SegmentedControl/SegmentedControl.d.cts +73 -0
- package/dist/native/components/SegmentedControl/SegmentedControl.d.ts +73 -0
- package/dist/native/components/SegmentedControl/SegmentedControl.js +147 -0
- package/dist/native/components/SegmentedControl/SegmentedControl.js.map +1 -0
- package/dist/native/components/SegmentedControl/index.cjs +1 -0
- package/dist/native/components/SegmentedControl/index.d.cts +1 -0
- package/dist/native/components/SegmentedControl/index.d.ts +1 -0
- package/dist/native/components/SegmentedControl/index.js +2 -0
- package/dist/native/components/Slider/Slider.cjs +2 -0
- package/dist/native/components/Slider/Slider.cjs.map +1 -0
- package/dist/native/components/Slider/Slider.d.cts +91 -0
- package/dist/native/components/Slider/Slider.d.ts +91 -0
- package/dist/native/components/Slider/Slider.js +227 -0
- package/dist/native/components/Slider/Slider.js.map +1 -0
- package/dist/native/components/Slider/index.cjs +1 -0
- package/dist/native/components/Slider/index.d.cts +1 -0
- package/dist/native/components/Slider/index.d.ts +1 -0
- package/dist/native/components/Slider/index.js +2 -0
- package/dist/native/icon/types.d.cts +3 -2
- package/dist/native/icon/types.d.ts +3 -2
- package/dist/native/index.cjs +1 -1
- package/dist/native/index.d.cts +6 -0
- package/dist/native/index.d.ts +6 -0
- package/dist/native/index.js +76 -64
- package/dist/native/source/components/AnswerSheet/AnswerSheet.tsx +476 -0
- package/dist/native/source/components/AnswerSheet/index.ts +9 -0
- package/dist/native/source/components/Chart/charts.tsx +9 -0
- package/dist/native/source/components/Chart/scene.tsx +65 -33
- package/dist/native/source/components/Charts/charts.tsx +3 -0
- package/dist/native/source/components/Editors/index.tsx +97 -14
- package/dist/native/source/components/Flashcard/Flashcard.tsx +362 -0
- package/dist/native/source/components/Flashcard/index.ts +7 -0
- package/dist/native/source/components/KanbanBoard/KanbanBoard.tsx +412 -0
- package/dist/native/source/components/KanbanBoard/index.ts +7 -0
- package/dist/native/source/components/MediaControls/MediaControls.tsx +497 -0
- package/dist/native/source/components/MediaControls/index.ts +5 -0
- package/dist/native/source/components/SegmentedControl/SegmentedControl.tsx +330 -0
- package/dist/native/source/components/SegmentedControl/index.ts +8 -0
- package/dist/native/source/components/Slider/Slider.tsx +448 -0
- package/dist/native/source/components/Slider/index.ts +7 -0
- package/dist/native/source/icon/types.ts +3 -2
- package/dist/native/source/index.ts +6 -0
- package/dist/native/source/manifest.ts +22 -0
- package/dist/react/components/AnswerSheet/AnswerSheet.cjs +2 -0
- package/dist/react/components/AnswerSheet/AnswerSheet.cjs.map +1 -0
- package/dist/react/components/AnswerSheet/AnswerSheet.d.cts +14 -0
- package/dist/react/components/AnswerSheet/AnswerSheet.d.ts +14 -0
- package/dist/react/components/AnswerSheet/AnswerSheet.js +163 -0
- package/dist/react/components/AnswerSheet/AnswerSheet.js.map +1 -0
- package/dist/react/components/AnswerSheet/answerSheet.module.scss.cjs +2 -0
- package/dist/react/components/AnswerSheet/answerSheet.module.scss.cjs.map +1 -0
- package/dist/react/components/AnswerSheet/answerSheet.module.scss.js +26 -0
- package/dist/react/components/AnswerSheet/answerSheet.module.scss.js.map +1 -0
- package/dist/react/components/AnswerSheet/index.cjs +1 -0
- package/dist/react/components/AnswerSheet/index.d.cts +5 -0
- package/dist/react/components/AnswerSheet/index.d.ts +5 -0
- package/dist/react/components/AnswerSheet/index.js +3 -0
- package/dist/react/components/AnswerSheet/types.d.cts +106 -0
- package/dist/react/components/AnswerSheet/types.d.ts +106 -0
- package/dist/react/components/CodeBlock/CodeBlock.cjs +4 -1
- package/dist/react/components/CodeBlock/CodeBlock.cjs.map +1 -1
- package/dist/react/components/CodeBlock/CodeBlock.d.cts +11 -6
- package/dist/react/components/CodeBlock/CodeBlock.d.ts +11 -6
- package/dist/react/components/CodeBlock/CodeBlock.js +88 -55
- package/dist/react/components/CodeBlock/CodeBlock.js.map +1 -1
- package/dist/react/components/CodeBlock/codeBlock.module.scss.cjs +1 -1
- package/dist/react/components/CodeBlock/codeBlock.module.scss.cjs.map +1 -1
- package/dist/react/components/CodeBlock/codeBlock.module.scss.js +29 -6
- package/dist/react/components/CodeBlock/codeBlock.module.scss.js.map +1 -1
- package/dist/react/components/CodeBlock/types.d.cts +35 -7
- package/dist/react/components/CodeBlock/types.d.ts +35 -7
- package/dist/react/components/Flashcard/Flashcard.cjs +2 -0
- package/dist/react/components/Flashcard/Flashcard.cjs.map +1 -0
- package/dist/react/components/Flashcard/Flashcard.d.cts +15 -0
- package/dist/react/components/Flashcard/Flashcard.d.ts +15 -0
- package/dist/react/components/Flashcard/Flashcard.js +104 -0
- package/dist/react/components/Flashcard/Flashcard.js.map +1 -0
- package/dist/react/components/Flashcard/flashcard.module.scss.cjs +2 -0
- package/dist/react/components/Flashcard/flashcard.module.scss.cjs.map +1 -0
- package/dist/react/components/Flashcard/flashcard.module.scss.js +26 -0
- package/dist/react/components/Flashcard/flashcard.module.scss.js.map +1 -0
- package/dist/react/components/Flashcard/index.cjs +1 -0
- package/dist/react/components/Flashcard/index.d.cts +5 -0
- package/dist/react/components/Flashcard/index.d.ts +5 -0
- package/dist/react/components/Flashcard/index.js +3 -0
- package/dist/react/components/Flashcard/types.d.cts +92 -0
- package/dist/react/components/Flashcard/types.d.ts +92 -0
- package/dist/react/components/KanbanBoard/KanbanBoard.cjs +2 -0
- package/dist/react/components/KanbanBoard/KanbanBoard.cjs.map +1 -0
- package/dist/react/components/KanbanBoard/KanbanBoard.d.cts +25 -0
- package/dist/react/components/KanbanBoard/KanbanBoard.d.ts +25 -0
- package/dist/react/components/KanbanBoard/KanbanBoard.js +107 -0
- package/dist/react/components/KanbanBoard/KanbanBoard.js.map +1 -0
- package/dist/react/components/KanbanBoard/index.cjs +1 -0
- package/dist/react/components/KanbanBoard/index.d.cts +5 -0
- package/dist/react/components/KanbanBoard/index.d.ts +5 -0
- package/dist/react/components/KanbanBoard/index.js +3 -0
- package/dist/react/components/KanbanBoard/kanbanBoard.module.scss.cjs +2 -0
- package/dist/react/components/KanbanBoard/kanbanBoard.module.scss.cjs.map +1 -0
- package/dist/react/components/KanbanBoard/kanbanBoard.module.scss.js +27 -0
- package/dist/react/components/KanbanBoard/kanbanBoard.module.scss.js.map +1 -0
- package/dist/react/components/KanbanBoard/types.d.cts +100 -0
- package/dist/react/components/KanbanBoard/types.d.ts +100 -0
- package/dist/react/components/MediaPlayer/MediaPlayer.cjs +2 -0
- package/dist/react/components/MediaPlayer/MediaPlayer.cjs.map +1 -0
- package/dist/react/components/MediaPlayer/MediaPlayer.d.cts +13 -0
- package/dist/react/components/MediaPlayer/MediaPlayer.d.ts +13 -0
- package/dist/react/components/MediaPlayer/MediaPlayer.js +363 -0
- package/dist/react/components/MediaPlayer/MediaPlayer.js.map +1 -0
- package/dist/react/components/MediaPlayer/index.cjs +1 -0
- package/dist/react/components/MediaPlayer/index.d.cts +5 -0
- package/dist/react/components/MediaPlayer/index.d.ts +5 -0
- package/dist/react/components/MediaPlayer/index.js +3 -0
- package/dist/react/components/MediaPlayer/mediaPlayer.module.scss.cjs +2 -0
- package/dist/react/components/MediaPlayer/mediaPlayer.module.scss.cjs.map +1 -0
- package/dist/react/components/MediaPlayer/mediaPlayer.module.scss.js +30 -0
- package/dist/react/components/MediaPlayer/mediaPlayer.module.scss.js.map +1 -0
- package/dist/react/components/MediaPlayer/types.d.cts +139 -0
- package/dist/react/components/MediaPlayer/types.d.ts +139 -0
- package/dist/react/components/SegmentedControl/SegmentedControl.cjs +2 -0
- package/dist/react/components/SegmentedControl/SegmentedControl.cjs.map +1 -0
- package/dist/react/components/SegmentedControl/SegmentedControl.d.cts +14 -0
- package/dist/react/components/SegmentedControl/SegmentedControl.d.ts +14 -0
- package/dist/react/components/SegmentedControl/SegmentedControl.js +117 -0
- package/dist/react/components/SegmentedControl/SegmentedControl.js.map +1 -0
- package/dist/react/components/SegmentedControl/index.cjs +1 -0
- package/dist/react/components/SegmentedControl/index.d.cts +5 -0
- package/dist/react/components/SegmentedControl/index.d.ts +5 -0
- package/dist/react/components/SegmentedControl/index.js +3 -0
- package/dist/react/components/SegmentedControl/segmentedControl.module.scss.cjs +2 -0
- package/dist/react/components/SegmentedControl/segmentedControl.module.scss.cjs.map +1 -0
- package/dist/react/components/SegmentedControl/segmentedControl.module.scss.js +18 -0
- package/dist/react/components/SegmentedControl/segmentedControl.module.scss.js.map +1 -0
- package/dist/react/components/SegmentedControl/types.d.cts +81 -0
- package/dist/react/components/SegmentedControl/types.d.ts +81 -0
- package/dist/react/components/Slider/Slider.cjs +2 -0
- package/dist/react/components/Slider/Slider.cjs.map +1 -0
- package/dist/react/components/Slider/Slider.d.cts +12 -0
- package/dist/react/components/Slider/Slider.d.ts +12 -0
- package/dist/react/components/Slider/Slider.js +176 -0
- package/dist/react/components/Slider/Slider.js.map +1 -0
- package/dist/react/components/Slider/index.cjs +1 -0
- package/dist/react/components/Slider/index.d.cts +5 -0
- package/dist/react/components/Slider/index.d.ts +5 -0
- package/dist/react/components/Slider/index.js +3 -0
- package/dist/react/components/Slider/slider.module.scss.cjs +2 -0
- package/dist/react/components/Slider/slider.module.scss.cjs.map +1 -0
- package/dist/react/components/Slider/slider.module.scss.js +33 -0
- package/dist/react/components/Slider/slider.module.scss.js.map +1 -0
- package/dist/react/components/Slider/types.d.cts +125 -0
- package/dist/react/components/Slider/types.d.ts +125 -0
- package/dist/react/components/index.cjs +1 -1
- package/dist/react/components/index.d.cts +6 -0
- package/dist/react/components/index.d.ts +6 -0
- package/dist/react/components/index.js +61 -49
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.js +62 -56
- package/dist/react/style.css +8 -2
- package/dist/react/styles/answer-sheet.css +3 -0
- package/dist/react/styles/code-block.css +1 -1
- package/dist/react/styles/flashcard.css +3 -0
- package/dist/react/styles/kanban-board.css +3 -0
- package/dist/react/styles/media-player.css +3 -0
- package/dist/react/styles/segmented-control.css +3 -0
- package/dist/react/styles/slider.css +3 -0
- package/dist/react/styles/tokens.css +1 -1
- package/dist/taro/answer-sheet.d.ts +59 -0
- package/dist/taro/{components-DA7_jBUn.js → components-DoBebZ28.js} +72 -68
- package/dist/taro/display.d.ts +19 -1
- package/dist/taro/flashcard.d.ts +45 -0
- package/dist/taro/icons.js +1 -1
- package/dist/taro/index.d.ts +6 -0
- package/dist/taro/index.js +3313 -2176
- package/dist/taro/kanban-board.d.ts +49 -0
- package/dist/taro/media-player.d.ts +92 -0
- package/dist/taro/monaco.js +1 -1
- package/dist/taro/segmented-control.d.ts +42 -0
- package/dist/taro/slider.d.ts +52 -0
- package/dist/taro/style.css +969 -0
- package/dist/taro/theme.d.ts +9 -0
- package/dist/uni/AnswerSheet.vue +373 -0
- package/dist/uni/AnswerSheet.vue.d.ts +42 -0
- package/dist/uni/AreaChart.vue.d.ts +2 -2
- package/dist/uni/AutoComplete.vue.d.ts +3 -3
- package/dist/uni/AvatarGroup.vue.d.ts +1 -1
- package/dist/uni/Cascader.vue.d.ts +1 -1
- package/dist/uni/CodeBlock.vue +73 -5
- package/dist/uni/CodeBlock.vue.d.ts +11 -1
- package/dist/uni/CommandDialog.vue.d.ts +1 -1
- package/dist/uni/ContextMenu.vue.d.ts +1 -1
- package/dist/uni/DataTable.vue.d.ts +1 -1
- package/dist/uni/Divider.vue.d.ts +1 -1
- package/dist/uni/Flashcard.vue +188 -0
- package/dist/uni/Flashcard.vue.d.ts +56 -0
- package/dist/uni/GanttChart.vue.d.ts +9 -0
- package/dist/uni/Input.vue.d.ts +5 -5
- package/dist/uni/JsonField.vue.d.ts +4 -4
- package/dist/uni/KanbanBoard.vue +52 -0
- package/dist/uni/KanbanBoard.vue.d.ts +36 -0
- package/dist/uni/KanbanColumn.vue +93 -0
- package/dist/uni/KanbanColumn.vue.d.ts +45 -0
- package/dist/uni/List.vue.d.ts +1 -1
- package/dist/uni/MediaPlayer.vue +555 -0
- package/dist/uni/MediaPlayer.vue.d.ts +77 -0
- package/dist/uni/Menu.vue.d.ts +2 -2
- package/dist/uni/NumberInput.vue.d.ts +3 -3
- package/dist/uni/Pagination.vue.d.ts +2 -2
- package/dist/uni/QuadrantChart.vue +3 -0
- package/dist/uni/QuadrantChart.vue.d.ts +20 -0
- package/dist/uni/RangeAreaChart.vue.d.ts +2 -2
- package/dist/uni/Rating.vue.d.ts +2 -2
- package/dist/uni/ResponsiveGrid.vue.d.ts +1 -1
- package/dist/uni/SegmentedControl.vue +173 -0
- package/dist/uni/SegmentedControl.vue.d.ts +34 -0
- package/dist/uni/Skeleton.vue.d.ts +1 -1
- package/dist/uni/Slider.vue +359 -0
- package/dist/uni/Slider.vue.d.ts +63 -0
- package/dist/uni/Sparkline.vue.d.ts +2 -2
- package/dist/uni/Steps.vue.d.ts +1 -1
- package/dist/uni/Switch.vue.d.ts +2 -2
- package/dist/uni/Tabs.vue.d.ts +1 -1
- package/dist/uni/TagInput.vue.d.ts +1 -1
- package/dist/uni/Textarea.vue.d.ts +5 -5
- package/dist/uni/Upload.vue.d.ts +2 -2
- package/dist/uni/chart-types.d.ts +20 -3
- package/dist/uni/chart-types.js +14 -0
- package/dist/uni/charts-canvas.js +2 -2
- package/dist/uni/index.d.ts +7 -0
- package/dist/uni/index.js +7 -0
- package/dist/uni/manifest.d.ts +52 -3
- package/dist/uni/manifest.js +95 -1
- package/dist/uni/named-chart-options.d.ts +1 -0
- package/dist/uni/named-chart-options.js +1 -0
- package/dist/uni/style.css +969 -0
- package/dist/vue/components/AnswerSheet/AnswerSheet.vue.d.ts +22 -0
- package/dist/vue/components/AnswerSheet/AnswerSheet.vue.js +7 -0
- package/dist/vue/components/AnswerSheet/AnswerSheet.vue.js.map +1 -0
- package/dist/vue/components/AnswerSheet/AnswerSheet.vue_vue_type_script_setup_true_lang.js +182 -0
- package/dist/vue/components/AnswerSheet/AnswerSheet.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/vue/components/AnswerSheet/index.d.ts +3 -0
- package/dist/vue/components/AnswerSheet/index.js +2 -0
- package/dist/vue/components/AnswerSheet/types.d.ts +100 -0
- package/dist/vue/components/AutoComplete/AutoComplete.vue.d.ts +1 -1
- package/dist/vue/components/Chart/AreaChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/Bar3DChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/BarChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/BoxPlotChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/BubbleChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/BulletChart.vue.d.ts +3 -3
- package/dist/vue/components/Chart/CalendarHeatmap.vue.d.ts +3 -3
- package/dist/vue/components/Chart/CandlestickChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/Chart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/ChordChart.vue.d.ts +3 -3
- package/dist/vue/components/Chart/DependencyGraph.vue.d.ts +2 -2
- package/dist/vue/components/Chart/DepthChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/DonutChart.vue.d.ts +3 -3
- package/dist/vue/components/Chart/FunnelChart.vue.d.ts +3 -3
- package/dist/vue/components/Chart/GanttChart.vue.d.ts +18 -1
- package/dist/vue/components/Chart/GanttChart.vue.js.map +1 -1
- package/dist/vue/components/Chart/GanttChart.vue_vue_type_script_setup_true_lang.js +5 -0
- package/dist/vue/components/Chart/GanttChart.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/vue/components/Chart/GaugeChart.vue.d.ts +3 -3
- package/dist/vue/components/Chart/GraphChart.vue.d.ts +2 -2
- package/dist/vue/components/Chart/HeatmapChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/HistogramChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/HorizontalBarChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/Line3DChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/LineChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/MixedChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/OrderBookHeatmap.vue.d.ts +1 -1
- package/dist/vue/components/Chart/PieChart.vue.d.ts +3 -3
- package/dist/vue/components/Chart/QuadrantChart.vue.d.ts +28 -2
- package/dist/vue/components/Chart/QuadrantChart.vue.js.map +1 -1
- package/dist/vue/components/Chart/QuadrantChart.vue_vue_type_script_setup_true_lang.js +14 -2
- package/dist/vue/components/Chart/QuadrantChart.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/vue/components/Chart/RadarChart.vue.d.ts +3 -3
- package/dist/vue/components/Chart/RadialBarChart.vue.d.ts +3 -3
- package/dist/vue/components/Chart/RangeAreaChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/SankeyChart.vue.d.ts +3 -3
- package/dist/vue/components/Chart/Scatter3DChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/ScatterChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/ShapeChart.vue.d.ts +2 -2
- package/dist/vue/components/Chart/SunburstChart.vue.d.ts +3 -3
- package/dist/vue/components/Chart/Surface3DChart.vue.d.ts +1 -1
- package/dist/vue/components/Chart/TreeChart.vue.d.ts +2 -2
- package/dist/vue/components/Chart/TreemapChart.vue.d.ts +3 -3
- package/dist/vue/components/Chart/WaterfallChart.vue.d.ts +1 -1
- package/dist/vue/components/CodeBlock/CodeBlock.vue.d.ts +4 -0
- package/dist/vue/components/CodeBlock/CodeBlock.vue.js.map +1 -1
- package/dist/vue/components/CodeBlock/CodeBlock.vue_vue_type_script_setup_true_lang.js +107 -56
- package/dist/vue/components/CodeBlock/CodeBlock.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/vue/components/CodeBlock/CodeContent.d.ts +9 -0
- package/dist/vue/components/CodeBlock/CodeContent.js +33 -0
- package/dist/vue/components/CodeBlock/CodeContent.js.map +1 -0
- package/dist/vue/components/CodeBlock/types.d.ts +30 -2
- package/dist/vue/components/Flashcard/Flashcard.vue.d.ts +40 -0
- package/dist/vue/components/Flashcard/Flashcard.vue.js +7 -0
- package/dist/vue/components/Flashcard/Flashcard.vue.js.map +1 -0
- package/dist/vue/components/Flashcard/Flashcard.vue_vue_type_script_setup_true_lang.js +136 -0
- package/dist/vue/components/Flashcard/Flashcard.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/vue/components/Flashcard/index.d.ts +3 -0
- package/dist/vue/components/Flashcard/index.js +2 -0
- package/dist/vue/components/Flashcard/types.d.ts +82 -0
- package/dist/vue/components/KanbanBoard/KanbanBoard.vue.d.ts +22 -0
- package/dist/vue/components/KanbanBoard/KanbanBoard.vue.js +7 -0
- package/dist/vue/components/KanbanBoard/KanbanBoard.vue.js.map +1 -0
- package/dist/vue/components/KanbanBoard/KanbanBoard.vue_vue_type_script_setup_true_lang.js +52 -0
- package/dist/vue/components/KanbanBoard/KanbanBoard.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/vue/components/KanbanBoard/KanbanColumn.vue.d.ts +32 -0
- package/dist/vue/components/KanbanBoard/KanbanColumn.vue.js +7 -0
- package/dist/vue/components/KanbanBoard/KanbanColumn.vue.js.map +1 -0
- package/dist/vue/components/KanbanBoard/KanbanColumn.vue_vue_type_script_setup_true_lang.js +92 -0
- package/dist/vue/components/KanbanBoard/KanbanColumn.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/vue/components/KanbanBoard/index.d.ts +4 -0
- package/dist/vue/components/KanbanBoard/index.js +3 -0
- package/dist/vue/components/KanbanBoard/types.d.ts +71 -0
- package/dist/vue/components/MediaPlayer/MediaPlayer.vue.d.ts +56 -0
- package/dist/vue/components/MediaPlayer/MediaPlayer.vue.js +7 -0
- package/dist/vue/components/MediaPlayer/MediaPlayer.vue.js.map +1 -0
- package/dist/vue/components/MediaPlayer/MediaPlayer.vue_vue_type_script_setup_true_lang.js +417 -0
- package/dist/vue/components/MediaPlayer/MediaPlayer.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/vue/components/MediaPlayer/index.d.ts +3 -0
- package/dist/vue/components/MediaPlayer/index.js +2 -0
- package/dist/vue/components/MediaPlayer/types.d.ts +116 -0
- package/dist/vue/components/NumberInput/NumberInput.vue.d.ts +1 -1
- package/dist/vue/components/Popover/PopoverContent.vue_vue_type_script_setup_true_lang.js +10 -10
- package/dist/vue/components/Popover/PopoverContent.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/vue/components/SegmentedControl/SegmentedControl.vue.d.ts +19 -0
- package/dist/vue/components/SegmentedControl/SegmentedControl.vue.js +7 -0
- package/dist/vue/components/SegmentedControl/SegmentedControl.vue.js.map +1 -0
- package/dist/vue/components/SegmentedControl/SegmentedControl.vue_vue_type_script_setup_true_lang.js +142 -0
- package/dist/vue/components/SegmentedControl/SegmentedControl.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/vue/components/SegmentedControl/index.d.ts +3 -0
- package/dist/vue/components/SegmentedControl/index.js +2 -0
- package/dist/vue/components/SegmentedControl/types.d.ts +73 -0
- package/dist/vue/components/Slider/Slider.vue.d.ts +32 -0
- package/dist/vue/components/Slider/Slider.vue.js +7 -0
- package/dist/vue/components/Slider/Slider.vue.js.map +1 -0
- package/dist/vue/components/Slider/Slider.vue_vue_type_script_setup_true_lang.js +229 -0
- package/dist/vue/components/Slider/Slider.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/vue/components/Slider/index.d.ts +3 -0
- package/dist/vue/components/Slider/index.js +2 -0
- package/dist/vue/components/Slider/types.d.ts +90 -0
- package/dist/vue/components/Stack/HStack.vue.d.ts +1 -1
- package/dist/vue/components/Stack/Stack.vue.d.ts +1 -1
- package/dist/vue/components/Stack/VStack.vue.d.ts +1 -1
- package/dist/vue/components/Toast/parts.js +7 -7
- package/dist/vue/global.d.ts +7 -0
- package/dist/vue/groups/display.d.ts +3 -0
- package/dist/vue/groups/display.js +47 -36
- package/dist/vue/groups/display.js.map +1 -1
- package/dist/vue/groups/forms-basic.d.ts +2 -0
- package/dist/vue/groups/forms-basic.js +14 -8
- package/dist/vue/groups/forms-basic.js.map +1 -1
- package/dist/vue/groups/navigation.d.ts +1 -0
- package/dist/vue/groups/navigation.js +39 -36
- package/dist/vue/groups/navigation.js.map +1 -1
- package/dist/vue/index.js +166 -159
- package/dist/vue/internal/floating-layer.js +7 -7
- package/dist/weapp/answer-sheet/index.js +1 -0
- package/dist/weapp/answer-sheet/index.json +1 -0
- package/dist/weapp/answer-sheet/index.wxml +1 -0
- package/dist/weapp/answer-sheet/index.wxss +1 -0
- package/dist/weapp/charts/canvas.js +472 -68
- package/dist/weapp/charts/core.js +4 -0
- package/dist/weapp/code-block/index.wxml +1 -1
- package/dist/weapp/controls.js +2608 -268
- package/dist/weapp/controls.wxss +969 -0
- package/dist/weapp/flashcard/index.js +1 -0
- package/dist/weapp/flashcard/index.json +1 -0
- package/dist/weapp/flashcard/index.wxml +1 -0
- package/dist/weapp/flashcard/index.wxss +1 -0
- package/dist/weapp/kanban-board/index.js +1 -0
- package/dist/weapp/kanban-board/index.json +1 -0
- package/dist/weapp/kanban-board/index.wxml +1 -0
- package/dist/weapp/kanban-board/index.wxss +1 -0
- package/dist/weapp/kanban-column/index.js +1 -0
- package/dist/weapp/kanban-column/index.json +1 -0
- package/dist/weapp/kanban-column/index.wxml +1 -0
- package/dist/weapp/kanban-column/index.wxss +1 -0
- package/dist/weapp/media-player/index.js +1 -0
- package/dist/weapp/media-player/index.json +1 -0
- package/dist/weapp/media-player/index.wxml +1 -0
- package/dist/weapp/media-player/index.wxss +1 -0
- package/dist/weapp/segmented-control/index.js +1 -0
- package/dist/weapp/segmented-control/index.json +1 -0
- package/dist/weapp/segmented-control/index.wxml +1 -0
- package/dist/weapp/segmented-control/index.wxss +1 -0
- package/dist/weapp/slider/index.js +1 -0
- package/dist/weapp/slider/index.json +1 -0
- package/dist/weapp/slider/index.wxml +1 -0
- package/dist/weapp/slider/index.wxss +1 -0
- package/dist/weapp/tokens.component.wxss +118 -0
- package/dist/weapp/tokens.wxss +118 -0
- package/dist/weapp/types.d.ts +37 -0
- package/dist/web-components/cdn/minerva.js +810 -376
- package/dist/web-components/cdn/minerva.js.map +1 -1
- package/dist/web-components/components/answer-sheet/answer-sheet.d.ts +117 -0
- package/dist/web-components/components/answer-sheet/answer-sheet.js +177 -0
- package/dist/web-components/components/answer-sheet/answer-sheet.js.map +1 -0
- package/dist/web-components/components/chart/charts.d.ts +7 -1
- package/dist/web-components/components/chart/charts.js +12 -3
- package/dist/web-components/components/chart/charts.js.map +1 -1
- package/dist/web-components/components/chart/extended.d.ts +5 -0
- package/dist/web-components/components/chart/extended.js +6 -2
- package/dist/web-components/components/chart/extended.js.map +1 -1
- package/dist/web-components/components/code-block/code-block.d.ts +22 -6
- package/dist/web-components/components/code-block/code-block.js +57 -34
- package/dist/web-components/components/code-block/code-block.js.map +1 -1
- package/dist/web-components/components/flashcard/flashcard.d.ts +86 -0
- package/dist/web-components/components/flashcard/flashcard.js +143 -0
- package/dist/web-components/components/flashcard/flashcard.js.map +1 -0
- package/dist/web-components/components/kanban-board/kanban-board.d.ts +104 -0
- package/dist/web-components/components/kanban-board/kanban-board.js +172 -0
- package/dist/web-components/components/kanban-board/kanban-board.js.map +1 -0
- package/dist/web-components/components/media-player/media-player.d.ts +155 -0
- package/dist/web-components/components/media-player/media-player.js +373 -0
- package/dist/web-components/components/media-player/media-player.js.map +1 -0
- package/dist/web-components/components/menu/context-menu.js.map +1 -1
- package/dist/web-components/components/menu/menu-base.js.map +1 -1
- package/dist/web-components/components/popover/popover.js.map +1 -1
- package/dist/web-components/components/segmented-control/segmented-control.d.ts +86 -0
- package/dist/web-components/components/segmented-control/segmented-control.js +173 -0
- package/dist/web-components/components/segmented-control/segmented-control.js.map +1 -0
- package/dist/web-components/components/slider/slider.d.ts +123 -0
- package/dist/web-components/components/slider/slider.js +278 -0
- package/dist/web-components/components/slider/slider.js.map +1 -0
- package/dist/web-components/components/toast/toast.js.map +1 -1
- package/dist/web-components/components/tooltip/tooltip.js.map +1 -1
- package/dist/web-components/elements/answer-sheet.d.ts +1 -0
- package/dist/web-components/elements/answer-sheet.js +8 -0
- package/dist/web-components/elements/answer-sheet.js.map +1 -0
- package/dist/web-components/elements/flashcard.d.ts +1 -0
- package/dist/web-components/elements/flashcard.js +8 -0
- package/dist/web-components/elements/flashcard.js.map +1 -0
- package/dist/web-components/elements/kanban-board.d.ts +1 -0
- package/dist/web-components/elements/kanban-board.js +7 -0
- package/dist/web-components/elements/kanban-board.js.map +1 -0
- package/dist/web-components/elements/media-player.d.ts +1 -0
- package/dist/web-components/elements/media-player.js +8 -0
- package/dist/web-components/elements/media-player.js.map +1 -0
- package/dist/web-components/elements/segmented-control.d.ts +1 -0
- package/dist/web-components/elements/segmented-control.js +8 -0
- package/dist/web-components/elements/segmented-control.js.map +1 -0
- package/dist/web-components/elements/slider.d.ts +1 -0
- package/dist/web-components/elements/slider.js +8 -0
- package/dist/web-components/elements/slider.js.map +1 -0
- package/dist/web-components/html-custom-data.json +512 -2
- package/dist/web-components/index.d.ts +6 -0
- package/dist/web-components/index.js +38 -26
- package/dist/web-components/internal/dom.js.map +1 -1
- package/dist/web-components/styles/AnswerSheet/answerSheet.css.js +6 -0
- package/dist/web-components/styles/AnswerSheet/answerSheet.css.js.map +1 -0
- package/dist/web-components/styles/CodeBlock/codeBlock.css.js +1 -1
- package/dist/web-components/styles/CodeBlock/codeBlock.css.js.map +1 -1
- package/dist/web-components/styles/Flashcard/flashcard.css.js +6 -0
- package/dist/web-components/styles/Flashcard/flashcard.css.js.map +1 -0
- package/dist/web-components/styles/KanbanBoard/kanbanBoard.css.js +6 -0
- package/dist/web-components/styles/KanbanBoard/kanbanBoard.css.js.map +1 -0
- package/dist/web-components/styles/MediaPlayer/mediaPlayer.css.js +6 -0
- package/dist/web-components/styles/MediaPlayer/mediaPlayer.css.js.map +1 -0
- package/dist/web-components/styles/SegmentedControl/segmentedControl.css.js +6 -0
- package/dist/web-components/styles/SegmentedControl/segmentedControl.css.js.map +1 -0
- package/dist/web-components/styles/Slider/slider.css.js +6 -0
- package/dist/web-components/styles/Slider/slider.css.js.map +1 -0
- package/dist/web-components/types/react.d.ts +70 -3
- package/dist/web-components/types/solid.d.ts +52 -6
- package/dist/web-components/types/svelte.d.ts +52 -6
- package/dist/web-components/types/vue.d.ts +56 -3
- package/package.json +53 -1
|
@@ -39,6 +39,51 @@ export declare const stylingHooks: {
|
|
|
39
39
|
readonly color: readonly ["info", "success", "warning", "danger"];
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
|
+
readonly "answer-sheet": {
|
|
43
|
+
readonly description: "A grid of numbered pills to jump between the questions of a practice or exam session, grouped by section, each with a status";
|
|
44
|
+
readonly react: readonly ["AnswerSheet"];
|
|
45
|
+
readonly wc: "minerva-answer-sheet";
|
|
46
|
+
readonly parts: {
|
|
47
|
+
readonly root: {
|
|
48
|
+
readonly description: "The outermost element (a nav landmark)";
|
|
49
|
+
};
|
|
50
|
+
readonly total: {
|
|
51
|
+
readonly description: "The \"12 / 20 answered\" summary (with showSummary)";
|
|
52
|
+
};
|
|
53
|
+
readonly group: {
|
|
54
|
+
readonly description: "A section of questions (role=group when titled; the first one is untitled when items have no group)";
|
|
55
|
+
};
|
|
56
|
+
readonly "group-label": {
|
|
57
|
+
readonly description: "The title of a section";
|
|
58
|
+
};
|
|
59
|
+
readonly grid: {
|
|
60
|
+
readonly description: "The element holding the pills of a section";
|
|
61
|
+
};
|
|
62
|
+
readonly item: {
|
|
63
|
+
readonly description: "A question pill (a button; aria-current=step when current). Item states: current, disabled, flagged, status";
|
|
64
|
+
readonly itemStates: {
|
|
65
|
+
readonly current: true;
|
|
66
|
+
readonly disabled: true;
|
|
67
|
+
readonly flagged: true;
|
|
68
|
+
readonly status: readonly ["unanswered", "answered", "correct", "wrong", "skipped"];
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
readonly indicator: {
|
|
72
|
+
readonly description: "The flag dot of a flagged question";
|
|
73
|
+
};
|
|
74
|
+
readonly legend: {
|
|
75
|
+
readonly description: "The legend of the statuses (with showLegend)";
|
|
76
|
+
};
|
|
77
|
+
readonly "legend-item": {
|
|
78
|
+
readonly description: "An entry of the legend";
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
readonly states: {
|
|
82
|
+
readonly disabled: true;
|
|
83
|
+
readonly size: readonly ["small", "medium"];
|
|
84
|
+
readonly layout: readonly ["wrap", "scroll"];
|
|
85
|
+
};
|
|
86
|
+
};
|
|
42
87
|
readonly "app-shell": {
|
|
43
88
|
readonly description: "Application chrome: a collapsible sidebar, a header, the main landmark and a mobile navigation drawer";
|
|
44
89
|
readonly react: readonly ["AppShell"];
|
|
@@ -383,7 +428,7 @@ export declare const stylingHooks: {
|
|
|
383
428
|
};
|
|
384
429
|
};
|
|
385
430
|
readonly "code-block": {
|
|
386
|
-
readonly description: "A scrollable, focusable block of source text with
|
|
431
|
+
readonly description: "A scrollable, focusable block of source text with optional syntax highlighting, line numbers, language label and copy button";
|
|
387
432
|
readonly react: readonly ["CodeBlock"];
|
|
388
433
|
readonly wc: "minerva-code-block";
|
|
389
434
|
readonly parts: {
|
|
@@ -396,9 +441,11 @@ export declare const stylingHooks: {
|
|
|
396
441
|
readonly code: {
|
|
397
442
|
readonly description: "The <code> element";
|
|
398
443
|
};
|
|
444
|
+
readonly "line-number": {
|
|
445
|
+
readonly description: "The number of a line, in the gutter (with showLineNumbers; aria-hidden, generated content)";
|
|
446
|
+
};
|
|
399
447
|
readonly language: {
|
|
400
|
-
readonly description: "The language label
|
|
401
|
-
readonly only: "wc";
|
|
448
|
+
readonly description: "The language label (with showLanguage and a language)";
|
|
402
449
|
};
|
|
403
450
|
readonly "copy-button": {
|
|
404
451
|
readonly description: "The copy button (while copyable). Web components only: React renders an IconButton, which has its own hooks";
|
|
@@ -784,6 +831,41 @@ export declare const stylingHooks: {
|
|
|
784
831
|
readonly size: readonly ["small", "medium", "large"];
|
|
785
832
|
};
|
|
786
833
|
};
|
|
834
|
+
readonly flashcard: {
|
|
835
|
+
readonly description: "A two-sided study card that flips between a front (prompt) and a back (answer)";
|
|
836
|
+
readonly react: readonly ["Flashcard"];
|
|
837
|
+
readonly wc: "minerva-flashcard";
|
|
838
|
+
readonly parts: {
|
|
839
|
+
readonly root: {
|
|
840
|
+
readonly description: "The outermost element (card and footer)";
|
|
841
|
+
};
|
|
842
|
+
readonly card: {
|
|
843
|
+
readonly description: "The flipping card (role=button while flipOnClick); holds both faces";
|
|
844
|
+
readonly states: readonly ["state", "disabled"];
|
|
845
|
+
};
|
|
846
|
+
readonly front: {
|
|
847
|
+
readonly description: "The front face (the prompt)";
|
|
848
|
+
};
|
|
849
|
+
readonly back: {
|
|
850
|
+
readonly description: "The back face (the answer)";
|
|
851
|
+
};
|
|
852
|
+
readonly label: {
|
|
853
|
+
readonly description: "The small caption of a face";
|
|
854
|
+
};
|
|
855
|
+
readonly hint: {
|
|
856
|
+
readonly description: "The flip hint on the front face (with showHint)";
|
|
857
|
+
};
|
|
858
|
+
readonly footer: {
|
|
859
|
+
readonly description: "The footer below the card (not flipped)";
|
|
860
|
+
};
|
|
861
|
+
};
|
|
862
|
+
readonly states: {
|
|
863
|
+
readonly state: readonly ["active", "inactive"];
|
|
864
|
+
readonly disabled: true;
|
|
865
|
+
readonly variant: readonly ["elevated", "outline", "filled"];
|
|
866
|
+
readonly size: readonly ["small", "medium", "large"];
|
|
867
|
+
};
|
|
868
|
+
};
|
|
787
869
|
readonly "form-control": {
|
|
788
870
|
readonly description: "A field container: a label with a required indicator, one control, a helper text and an error message";
|
|
789
871
|
readonly react: readonly ["FormControl", "FormLabel", "FormHelperText", "FormErrorMessage", "FormField"];
|
|
@@ -959,6 +1041,57 @@ export declare const stylingHooks: {
|
|
|
959
1041
|
readonly required: true;
|
|
960
1042
|
};
|
|
961
1043
|
};
|
|
1044
|
+
readonly "kanban-board": {
|
|
1045
|
+
readonly description: "A horizontally scrolling board of status columns (KanbanColumn), equal-width by default";
|
|
1046
|
+
readonly react: readonly ["KanbanBoard"];
|
|
1047
|
+
readonly wc: "minerva-kanban-board";
|
|
1048
|
+
readonly parts: {
|
|
1049
|
+
readonly root: {
|
|
1050
|
+
readonly description: "The role=region scroll container holding the columns (keyboard scrollable)";
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
readonly states: {};
|
|
1054
|
+
};
|
|
1055
|
+
readonly "kanban-column": {
|
|
1056
|
+
readonly description: "A status column of a KanbanBoard: a header (accent, title, count, actions), a vertically scrolling list of cards and an optional footer";
|
|
1057
|
+
readonly react: readonly ["KanbanColumn"];
|
|
1058
|
+
readonly wc: "minerva-kanban-column";
|
|
1059
|
+
readonly parts: {
|
|
1060
|
+
readonly root: {
|
|
1061
|
+
readonly description: "The role=group column, labelled by its title and count (data-color names a theme accent)";
|
|
1062
|
+
};
|
|
1063
|
+
readonly header: {
|
|
1064
|
+
readonly description: "The header row (accent, title, count, actions)";
|
|
1065
|
+
};
|
|
1066
|
+
readonly indicator: {
|
|
1067
|
+
readonly description: "The accent dot before the title";
|
|
1068
|
+
};
|
|
1069
|
+
readonly title: {
|
|
1070
|
+
readonly description: "The title of the column";
|
|
1071
|
+
};
|
|
1072
|
+
readonly count: {
|
|
1073
|
+
readonly description: "The count badge (when count is set)";
|
|
1074
|
+
};
|
|
1075
|
+
readonly actions: {
|
|
1076
|
+
readonly description: "The header actions (when provided)";
|
|
1077
|
+
};
|
|
1078
|
+
readonly description: {
|
|
1079
|
+
readonly description: "The supporting text under the header (when provided)";
|
|
1080
|
+
};
|
|
1081
|
+
readonly list: {
|
|
1082
|
+
readonly description: "The role=list body holding the cards (each card is a role=listitem); scrolls vertically within a bounded board";
|
|
1083
|
+
};
|
|
1084
|
+
readonly empty: {
|
|
1085
|
+
readonly description: "The empty content shown instead of the list (no cards)";
|
|
1086
|
+
};
|
|
1087
|
+
readonly footer: {
|
|
1088
|
+
readonly description: "The footer below the list (when provided)";
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
readonly states: {
|
|
1092
|
+
readonly color: readonly ["primary", "success", "warning", "danger", "info", "neutral"];
|
|
1093
|
+
};
|
|
1094
|
+
};
|
|
962
1095
|
readonly "key-value-editor": {
|
|
963
1096
|
readonly description: "An editable list of key / value rows (headers, metadata, variables)";
|
|
964
1097
|
readonly react: readonly ["KeyValueEditor"];
|
|
@@ -1039,6 +1172,49 @@ export declare const stylingHooks: {
|
|
|
1039
1172
|
readonly size: readonly ["small", "medium", "large"];
|
|
1040
1173
|
};
|
|
1041
1174
|
};
|
|
1175
|
+
readonly "media-player": {
|
|
1176
|
+
readonly description: "An audio or video player with themed custom controls: play / pause, skip, seek bar, time, volume, playback speed and fullscreen";
|
|
1177
|
+
readonly react: readonly ["MediaPlayer"];
|
|
1178
|
+
readonly wc: "minerva-media-player";
|
|
1179
|
+
readonly parts: {
|
|
1180
|
+
readonly root: {
|
|
1181
|
+
readonly description: "The outermost element (the focusable player)";
|
|
1182
|
+
};
|
|
1183
|
+
readonly media: {
|
|
1184
|
+
readonly description: "The native <audio> or <video> element";
|
|
1185
|
+
};
|
|
1186
|
+
readonly title: {
|
|
1187
|
+
readonly description: "The title of the media (audio bar, video overlay)";
|
|
1188
|
+
};
|
|
1189
|
+
readonly controls: {
|
|
1190
|
+
readonly description: "The control bar";
|
|
1191
|
+
};
|
|
1192
|
+
readonly button: {
|
|
1193
|
+
readonly description: "A control button (play, skip, mute, speed, fullscreen, picture-in-picture)";
|
|
1194
|
+
};
|
|
1195
|
+
readonly seek: {
|
|
1196
|
+
readonly description: "The seek bar (role=slider) with the buffered range";
|
|
1197
|
+
};
|
|
1198
|
+
readonly time: {
|
|
1199
|
+
readonly description: "The current time / duration text";
|
|
1200
|
+
};
|
|
1201
|
+
readonly volume: {
|
|
1202
|
+
readonly description: "The volume bar (role=slider)";
|
|
1203
|
+
};
|
|
1204
|
+
readonly spinner: {
|
|
1205
|
+
readonly description: "The loading indicator (while buffering)";
|
|
1206
|
+
};
|
|
1207
|
+
readonly error: {
|
|
1208
|
+
readonly description: "The error message (media that can't be played)";
|
|
1209
|
+
};
|
|
1210
|
+
};
|
|
1211
|
+
readonly states: {
|
|
1212
|
+
readonly loading: true;
|
|
1213
|
+
readonly invalid: true;
|
|
1214
|
+
readonly status: readonly ["playing", "paused", "ended"];
|
|
1215
|
+
readonly variant: readonly ["audio", "video"];
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1042
1218
|
readonly menu: {
|
|
1043
1219
|
readonly description: "An action menu opened from a trigger button, with submenus, checkbox and radio items";
|
|
1044
1220
|
readonly react: readonly ["Menu"];
|
|
@@ -1610,6 +1786,37 @@ export declare const stylingHooks: {
|
|
|
1610
1786
|
};
|
|
1611
1787
|
readonly states: {};
|
|
1612
1788
|
};
|
|
1789
|
+
readonly "segmented-control": {
|
|
1790
|
+
readonly description: "A single-choice segmented switch for modes and filters, with a sliding thumb on the selected segment";
|
|
1791
|
+
readonly react: readonly ["SegmentedControl"];
|
|
1792
|
+
readonly wc: "minerva-segmented-control";
|
|
1793
|
+
readonly parts: {
|
|
1794
|
+
readonly root: {
|
|
1795
|
+
readonly description: "The element with role=\"radiogroup\" (the track)";
|
|
1796
|
+
};
|
|
1797
|
+
readonly indicator: {
|
|
1798
|
+
readonly description: "The sliding thumb under the selected segment";
|
|
1799
|
+
};
|
|
1800
|
+
readonly item: {
|
|
1801
|
+
readonly description: "A segment (role=\"radio\"). Item states: selected, disabled";
|
|
1802
|
+
readonly itemStates: {
|
|
1803
|
+
readonly selected: true;
|
|
1804
|
+
readonly disabled: true;
|
|
1805
|
+
};
|
|
1806
|
+
};
|
|
1807
|
+
readonly icon: {
|
|
1808
|
+
readonly description: "The icon of a segment";
|
|
1809
|
+
};
|
|
1810
|
+
readonly label: {
|
|
1811
|
+
readonly description: "The text label of a segment";
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
1814
|
+
readonly states: {
|
|
1815
|
+
readonly disabled: true;
|
|
1816
|
+
readonly size: readonly ["small", "medium", "large"];
|
|
1817
|
+
readonly color: readonly ["neutral", "primary"];
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1613
1820
|
readonly select: {
|
|
1614
1821
|
readonly description: "A single-choice dropdown: a combobox trigger and a listbox popup of options";
|
|
1615
1822
|
readonly react: readonly ["Select"];
|
|
@@ -1712,6 +1919,61 @@ export declare const stylingHooks: {
|
|
|
1712
1919
|
};
|
|
1713
1920
|
readonly states: {};
|
|
1714
1921
|
};
|
|
1922
|
+
readonly slider: {
|
|
1923
|
+
readonly description: "A range input: one thumb (or two with range) on a track, with optional marks, value label and tooltip";
|
|
1924
|
+
readonly react: readonly ["Slider"];
|
|
1925
|
+
readonly wc: "minerva-slider";
|
|
1926
|
+
readonly parts: {
|
|
1927
|
+
readonly root: {
|
|
1928
|
+
readonly description: "The outermost element";
|
|
1929
|
+
};
|
|
1930
|
+
readonly control: {
|
|
1931
|
+
readonly description: "The interactive area holding the rail, the marks and the thumbs";
|
|
1932
|
+
};
|
|
1933
|
+
readonly rail: {
|
|
1934
|
+
readonly description: "The full-length track";
|
|
1935
|
+
};
|
|
1936
|
+
readonly range: {
|
|
1937
|
+
readonly description: "The filled part of the track (up to the value, or between the thumbs)";
|
|
1938
|
+
};
|
|
1939
|
+
readonly thumb: {
|
|
1940
|
+
readonly description: "A thumb (role=slider). Item states: dragging, disabled";
|
|
1941
|
+
readonly itemStates: {
|
|
1942
|
+
readonly dragging: true;
|
|
1943
|
+
readonly disabled: true;
|
|
1944
|
+
};
|
|
1945
|
+
};
|
|
1946
|
+
readonly tooltip: {
|
|
1947
|
+
readonly description: "The value bubble of a thumb (with tooltip, while dragging or focused)";
|
|
1948
|
+
};
|
|
1949
|
+
readonly mark: {
|
|
1950
|
+
readonly description: "A tick of the scale. Item state: active (inside the filled range) / inactive";
|
|
1951
|
+
readonly itemStates: {
|
|
1952
|
+
readonly state: readonly ["active", "inactive"];
|
|
1953
|
+
};
|
|
1954
|
+
};
|
|
1955
|
+
readonly "mark-label": {
|
|
1956
|
+
readonly description: "The label of a mark";
|
|
1957
|
+
};
|
|
1958
|
+
readonly value: {
|
|
1959
|
+
readonly description: "The inline value label (with showValue)";
|
|
1960
|
+
};
|
|
1961
|
+
readonly input: {
|
|
1962
|
+
readonly description: "The hidden form input(s) (with name). React only: the custom element is form-associated itself";
|
|
1963
|
+
readonly only: "react";
|
|
1964
|
+
};
|
|
1965
|
+
};
|
|
1966
|
+
readonly states: {
|
|
1967
|
+
readonly disabled: true;
|
|
1968
|
+
readonly readonly: true;
|
|
1969
|
+
readonly invalid: true;
|
|
1970
|
+
readonly dragging: true;
|
|
1971
|
+
readonly size: readonly ["small", "medium", "large"];
|
|
1972
|
+
readonly color: readonly ["primary", "success", "info", "warning", "danger"];
|
|
1973
|
+
readonly orientation: readonly ["horizontal", "vertical"];
|
|
1974
|
+
readonly variant: readonly ["single", "range"];
|
|
1975
|
+
};
|
|
1976
|
+
};
|
|
1715
1977
|
readonly "split-layout": {
|
|
1716
1978
|
readonly description: "Main content with an optional aside column that splits beside it at a container breakpoint";
|
|
1717
1979
|
readonly react: readonly ["SplitLayout"];
|
|
@@ -26,12 +26,12 @@ export declare const STATE_VALUES: readonly ["open", "closed", "checked", "unche
|
|
|
26
26
|
* Boolean states: `data-<name>=""` while true, absent while false
|
|
27
27
|
* (`:state(<name>)` on the web components)
|
|
28
28
|
*/
|
|
29
|
-
export declare const BOOLEAN_STATES: readonly ["disabled", "invalid", "readonly", "loading", "required", "highlighted", "current", "dragging", "selected", "expanded", "today", "outside"];
|
|
29
|
+
export declare const BOOLEAN_STATES: readonly ["disabled", "invalid", "readonly", "loading", "required", "highlighted", "current", "dragging", "selected", "expanded", "today", "outside", "flagged"];
|
|
30
30
|
/**
|
|
31
31
|
* Keyed states: `data-<name>="<value>"` (`:state(<name>-<value>)` on the
|
|
32
32
|
* web components). The values are listed per component.
|
|
33
33
|
*/
|
|
34
|
-
export declare const KEYED_STATES: readonly ["size", "variant", "color", "orientation", "side", "align", "placement", "shape", "status", "sort", "fill"];
|
|
34
|
+
export declare const KEYED_STATES: readonly ["size", "variant", "color", "orientation", "side", "align", "placement", "shape", "status", "sort", "fill", "layout"];
|
|
35
35
|
export type StateValue = (typeof STATE_VALUES)[number];
|
|
36
36
|
export type BooleanState = (typeof BOOLEAN_STATES)[number];
|
|
37
37
|
export type KeyedState = (typeof KEYED_STATES)[number];
|
|
@@ -26,12 +26,12 @@ export declare const STATE_VALUES: readonly ["open", "closed", "checked", "unche
|
|
|
26
26
|
* Boolean states: `data-<name>=""` while true, absent while false
|
|
27
27
|
* (`:state(<name>)` on the web components)
|
|
28
28
|
*/
|
|
29
|
-
export declare const BOOLEAN_STATES: readonly ["disabled", "invalid", "readonly", "loading", "required", "highlighted", "current", "dragging", "selected", "expanded", "today", "outside"];
|
|
29
|
+
export declare const BOOLEAN_STATES: readonly ["disabled", "invalid", "readonly", "loading", "required", "highlighted", "current", "dragging", "selected", "expanded", "today", "outside", "flagged"];
|
|
30
30
|
/**
|
|
31
31
|
* Keyed states: `data-<name>="<value>"` (`:state(<name>-<value>)` on the
|
|
32
32
|
* web components). The values are listed per component.
|
|
33
33
|
*/
|
|
34
|
-
export declare const KEYED_STATES: readonly ["size", "variant", "color", "orientation", "side", "align", "placement", "shape", "status", "sort", "fill"];
|
|
34
|
+
export declare const KEYED_STATES: readonly ["size", "variant", "color", "orientation", "side", "align", "placement", "shape", "status", "sort", "fill", "layout"];
|
|
35
35
|
export type StateValue = (typeof STATE_VALUES)[number];
|
|
36
36
|
export type BooleanState = (typeof BOOLEAN_STATES)[number];
|
|
37
37
|
export type KeyedState = (typeof KEYED_STATES)[number];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=[`open`,`closed`,`checked`,`unchecked`,`indeterminate`,`active`,`inactive`],t=[`disabled`,`invalid`,`readonly`,`loading`,`required`,`highlighted`,`current`,`dragging`,`selected`,`expanded`,`today`,`outside`],n=[`size`,`variant`,`color`,`orientation`,`side`,`align`,`placement`,`shape`,`status`,`sort`,`fill`],r={component:`data-minerva`,part:`data-part`},i=e=>`data-${e}`;function a(e,n){return e===`state`?String(n):t.includes(e)?e:`${e}-${n}`}var o=`--`;function s(e,t,n){return`${e}--${a(t,n)}`}var c=`Adding a component, part, state (component or item state) or state value is a minor change. Removing or renaming one is a major change. Class names and DOM structure without hooks are private.`,l=e=>e,u={alert:l({description:`An inline message with an icon, a title, a description, an action and optional close / collapse buttons`,react:[`Alert`],wc:`minerva-alert`,parts:{root:{description:`The alert (role=alert for danger / warning, status otherwise); state open / closed only while collapsible`},icon:{description:`The icon (role=img)`},title:{description:`The title (holds the collapse button)`},trigger:{description:`The expand / collapse button of a collapsible alert`},description:{description:`The message`},action:{description:`The action wrapper`},"close-button":{description:`The close button`}},states:{state:[`open`,`closed`],size:[`small`,`medium`,`large`],variant:[`subtle`,`outline`,`solid`],color:[`info`,`success`,`warning`,`danger`]}}),"app-shell":l({description:`Application chrome: a collapsible sidebar, a header, the main landmark and a mobile navigation drawer`,react:[`AppShell`],wc:`minerva-app-shell`,parts:{root:{description:"The shell (`state`: whether the mobile navigation drawer is open)",states:[`state`]},"skip-link":{description:`The skip to content link`},sidebar:{description:`The desktop sidebar (<aside>)`},header:{description:`The header bar`},main:{description:`The <main> landmark`},overlay:{description:`The backdrop of the mobile drawer`,states:[`state`]},content:{description:`The mobile navigation drawer (role=dialog)`,states:[`state`]},"close-button":{description:`The close button of the mobile drawer`}},states:{state:[`open`,`closed`]}}),autocomplete:l({description:`A text input (combobox) suggesting filtered options in a dropdown listbox`,react:[`AutoComplete`],wc:`minerva-autocomplete`,parts:{root:{description:`The root wrapper (label, field and anchor of the dropdown)`,states:[`state`,`disabled`,`readonly`,`loading`]},label:{description:`The visible label`},field:{description:`The input box (web components only: React renders a nested Input, style its hooks)`,only:`wc`},input:{description:`The native <input role=combobox> (web components only: React renders a nested Input, style its hooks)`,only:`wc`},content:{description:`The positioned dropdown`,states:[`state`,`side`,`align`,`placement`]},list:{description:`The role=listbox list`},item:{description:`An option. Item states: highlighted (active option or hovered), disabled`,itemStates:{highlighted:!0,disabled:!0}},"group-label":{description:`A group heading`},empty:{description:`The empty state (no matching option)`},loading:{description:`The loading state (while loading)`}},states:{state:[`open`,`closed`],disabled:!0,readonly:!0,loading:!0,side:[`top`,`right`,`bottom`,`left`],align:[`start`,`end`],placement:[`top-start`,`top-end`,`right-start`,`right-end`,`bottom-start`,`bottom-end`,`left-start`,`left-end`]}}),avatar:l({description:`A picture of a person, falling back to their initials or custom content`,react:[`Avatar`],wc:`minerva-avatar`,parts:{root:{description:`The avatar box (role=img while the fallback is shown); no size state for a size in pixels`},image:{description:`The <img>`},fallback:{description:`The initials / fallback content wrapper (no image)`}},states:{size:[`xsmall`,`small`,`medium`,`large`,`xlarge`,`xxlarge`],shape:[`circle`,`square`,`rounded`]}}),"avatar-group":l({description:`Overlapping avatars with an optional "+N" indicator`,react:[`AvatarGroup`],wc:`minerva-avatar-group`,parts:{root:{description:`The group (role=group)`},item:{description:`The wrapper of each visible avatar`},count:{description:`The "+N" indicator of the hidden avatars`}},states:{}}),badge:l({description:`A small count or status indicator, standalone or attached to a corner of an element`,react:[`Badge`],wc:`minerva-badge`,parts:{root:{description:`The outermost element: the badge itself when standalone, the wrapper of the children when attached`},badge:{description:`The badge attached to a corner of the children (a standalone badge is the root)`,states:[`size`,`variant`,`color`]},icon:{description:`The icon before the content`}},states:{size:[`small`,`medium`,`large`],variant:[`solid`,`subtle`,`outline`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`]}}),box:l({description:`A polymorphic container with padding, margin, size, background, radius and shadow shorthands`,react:[`Box`],wc:`minerva-box`,parts:{root:{description:"The rendered element (`as`). React only: the <minerva-box> element itself is the box (style the element)",only:`react`}},states:{}}),button:l({description:`A native button with a color, a variant, a size and states`,react:[`Button`],wc:`minerva-button`,parts:{root:{description:`The native <button>`},label:{description:`The label wrapper`},"start-icon":{description:`The icon before the label`},"end-icon":{description:`The icon after the label`},spinner:{description:`The loading spinner (while loading)`}},states:{state:[`active`,`inactive`],disabled:!0,loading:!0,size:[`xsmall`,`small`,`medium`,`large`,`xlarge`],variant:[`solid`,`outline`,`ghost`,`link`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`],shape:[`square`,`rounded`,`circle`]}}),card:l({description:`A content container of header, content and footer sections; optionally a link or a button`,react:[`Card`],wc:`minerva-card`,parts:{root:{description:`The card root (div, article, section, a or button)`}},states:{variant:[`default`,`outline`,`elevated`,`filled`,`ghost`],disabled:!0}}),"card-content":l({description:`The main body of a card`,react:[`CardContent`],wc:`minerva-card-content`,parts:{root:{description:`The section box`}},states:{}}),"card-description":l({description:`The secondary text below a card title`,react:[`CardDescription`],wc:`minerva-card-description`,parts:{root:{description:`The paragraph`}},states:{}}),"card-footer":l({description:`The bottom section of a card, e.g. for actions`,react:[`CardFooter`],wc:`minerva-card-footer`,parts:{root:{description:`The section box`}},states:{}}),"card-header":l({description:`The top section of a card, usually holding its title and description`,react:[`CardHeader`],wc:`minerva-card-header`,parts:{root:{description:`The section box`}},states:{}}),"card-title":l({description:`The heading of a card (h3 by default)`,react:[`CardTitle`],wc:`minerva-card-title`,parts:{root:{description:`The heading element`}},states:{}}),cascader:l({description:`A field picking a path in a tree of options through cascading columns (optionally searchable)`,react:[`Cascader`],wc:`minerva-cascader`,parts:{root:{description:`The root wrapper (anchor of the dropdown)`,states:[`state`,`disabled`,`readonly`,`invalid`]},control:{description:`The field box (input, clear button, chevron)`},input:{description:`The native <input role=combobox> (web components only: React renders a nested Input, style its hooks)`,only:`wc`},"clear-button":{description:`The clear button (while there is a value)`},icon:{description:`The chevron`},content:{description:`The positioned dropdown`,states:[`state`,`side`,`align`,`placement`]},column:{description:`A column of options (role=listbox)`},item:{description:`An option (column option or search result). Item states: selected (on the selected path), expanded (its children column is shown; never the selected leaf at the end of the path), disabled, loading (children loading)`,itemStates:{selected:!0,expanded:!0,disabled:!0,loading:!0}}},states:{state:[`open`,`closed`],disabled:!0,readonly:!0,invalid:!0,side:[`top`,`bottom`],align:[`start`,`end`],placement:[`bottom-start`,`bottom-end`,`top-start`,`top-end`]}}),checkbox:l({description:`A native checkbox with a label, a helper text and an indeterminate state`,react:[`Checkbox`],wc:`minerva-checkbox`,parts:{root:{description:`The wrapper (the clickable row and the helper text)`},input:{description:`The native <input type="checkbox">`},control:{description:`The visual box (draws the checkmark)`},label:{description:`The label text`},"helper-text":{description:`The helper / error text`}},states:{state:[`checked`,`unchecked`,`indeterminate`],disabled:!0,invalid:!0,readonly:!0,required:!0,size:[`small`,`medium`,`large`],color:[`primary`,`success`,`info`,`warning`,`danger`],shape:[`square`,`circle`,`rounded`]}}),"code-block":l({description:`A scrollable, focusable block of source text with an optional copy button`,react:[`CodeBlock`],wc:`minerva-code-block`,parts:{root:{description:`The positioned outer wrapper of the region and its actions (only when copyable, or with a language label)`},region:{description:`The <pre> scroll region (role=region): the visible box of the code`},code:{description:`The <code> element`},language:{description:`The language label. Web components only: React's CodeBlock has no language prop`,only:`wc`},"copy-button":{description:`The copy button (while copyable). Web components only: React renders an IconButton, which has its own hooks`,only:`wc`}},states:{}}),"code-editor":l({description:`A labelled Monaco code editor on a local engine, degrading to a textarea with a retry action`,react:[`MonacoCodeEditor`],wc:`minerva-code-editor`,parts:{root:{description:`The role=group root`},label:{description:`The visible label`},surface:{description:`The editor surface (sized by the height)`},loading:{description:`The loading indicator (while the editor loads)`},error:{description:`The unavailable message and retry action (when the editor failed)`},fallback:{description:`The fallback <textarea> (when the editor failed)`},"retry-button":{description:`The retry button. Web components only: React renders a Button, which has its own hooks`,only:`wc`}},states:{disabled:!0,loading:!0}}),"command-dialog":l({description:`A searchable command palette in a modal dialog`,react:[`CommandDialog`],wc:`minerva-command-dialog`,parts:{overlay:{description:`The backdrop`,states:[`state`]},content:{description:`The dialog panel (role=dialog)`,states:[`state`]},header:{description:`The title row (accessible name of the dialog)`},description:{description:`The description below the title`},search:{description:`The search field (icon, input and Enter hint)`},input:{description:`The search input (role=combobox)`},list:{description:`The results list (role=listbox)`},item:{description:`A result (role=option). Item state: highlighted (active result)`,itemStates:{highlighted:!0}},empty:{description:`The text shown when no command matches`}},states:{state:[`open`,`closed`]}}),"confirm-dialog":l({description:`A small modal alertdialog asking to confirm an action (Cancel / Confirm)`,react:[`ConfirmDialog`],wc:`minerva-confirm-dialog`,parts:{overlay:{description:`The backdrop`,states:[`state`]},content:{description:`The dialog panel (role=alertdialog)`,states:[`state`,`color`,`loading`]},header:{description:`The title (accessible name of the dialog)`},description:{description:`The description below the title`},body:{description:`The optional extra content`},footer:{description:`The actions row (Cancel and Confirm buttons)`},"cancel-button":{description:`The Cancel <minerva-button> (web components only: in React it is a Button with its own hooks, [data-minerva=button] in the footer)`,only:`wc`},"confirm-button":{description:`The Confirm <minerva-button> (web components only: in React it is a Button with its own hooks, [data-minerva=button] in the footer)`,only:`wc`},"close-button":{description:`The close (×) button`}},states:{state:[`open`,`closed`],color:[`primary`,`danger`,`warning`],loading:!0}}),"context-menu":l({description:`A menu opened at the pointer on right click / long press / Shift+F10 in its area`,react:[`ContextMenu`],wc:`minerva-context-menu`,parts:{trigger:{description:`The area: the native element child of ContextMenu (state open / closed, disabled). React only: a component child (e.g. a Minerva Card) keeps its own hooks; on the web components the area is your own child element, style it from the host states (minerva-context-menu:state(open) > .my-area)`,states:[`state`,`disabled`],only:`react`},content:{description:`A menu panel (role=menu: the root menu and its submenus, each with its own placement)`,states:[`state`,`size`,`side`,`align`,`placement`]},item:{description:`An item (role=menuitem, menuitemcheckbox or menuitemradio). Item states: highlighted (focused), disabled, checked / unchecked (checkbox and radio items), expanded (submenu trigger while its submenu is open)`,itemStates:{highlighted:!0,disabled:!0,state:[`checked`,`unchecked`],expanded:!0}},"item-indicator":{description:`The check mark / radio dot of a checkbox or radio item`},icon:{description:`The icon of an item`},"item-label":{description:`The label of an item`},shortcut:{description:`The keyboard shortcut hint of an item`},group:{description:`A group of entries (role=group, also radio groups)`},label:{description:`A group heading or section label`},separator:{description:`A separator`}},states:{state:[`open`,`closed`],disabled:!0,size:[`small`,`medium`],side:[`top`,`right`,`bottom`,`left`],align:[`start`,`center`,`end`],placement:[`top`,`top-start`,`top-end`,`right`,`right-start`,`right-end`,`bottom`,`bottom-start`,`bottom-end`,`left`,`left-start`,`left-end`]}}),"data-table":l({description:`A data table with sortable columns, row selection, fixed columns, empty / loading / error states and pagination`,react:[`DataTable`,`Table`,`TableRoot`,`TableRow`,`TableHeader`,`TableCell`],wc:`minerva-data-table`,parts:{root:{description:`The outer wrapper of the table, the error state and the pagination (React: rendered by DataTable only)`},viewport:{description:`The scroll wrapper of the table (a focusable region while it scrolls)`},table:{description:`The <table>`,states:[`size`,`variant`]},row:{description:`A <tr> (header and body rows; selected rows have aria-selected=true). Item state: selected (body rows)`,itemStates:{selected:!0}},"header-cell":{description:`A <th> column header (sortable headers have aria-sort). Item state: sort (sortable headers only)`,itemStates:{sort:[`ascending`,`descending`,`none`]}},cell:{description:`A <td> body cell`},"sort-button":{description:`The sort button of a sortable header`},checkbox:{description:`A row / select-all selection checkbox`},empty:{description:`The cell of the empty state`},skeleton:{description:`A skeleton bar of the loading rows`},error:{description:`The error state (role=alert)`},"retry-button":{description:`The retry button of the error state. Web components only: React renders a Button, which has its own hooks`,only:`wc`},pagination:{description:`The <minerva-pagination> (its root and item parts are exported as pagination-root / pagination-item). Web components only: React renders a Pagination, which has its own hooks`,only:`wc`}},states:{loading:!0,size:[`small`,`medium`,`large`],variant:[`simple`,`striped`,`bordered`]}}),"date-picker":l({description:`A local date field with an accessible popup month calendar`,react:[`DatePicker`],wc:`minerva-date-picker`,parts:{root:{description:`The field wrapper (anchor of the panel)`,states:[`state`,`disabled`,`readonly`,`invalid`,`size`]},control:{description:`The input box (web components only: React renders a nested Input, style its hooks)`,only:`wc`},input:{description:`The native <input> (web components only: React renders a nested Input, style its hooks)`,only:`wc`},"clear-button":{description:`The clear button (web components only: React renders a nested IconButton, style its hooks)`,only:`wc`},icon:{description:`The calendar icon (shown when there is no clear button)`},day:{description:`A calendar day cell (web components only)`,only:`wc`},content:{description:`The popup panel (role=dialog)`,states:[`state`,`side`,`align`,`placement`]}},states:{state:[`open`,`closed`],disabled:!0,readonly:!0,invalid:!0,size:[`small`,`medium`,`large`],side:[`top`,`bottom`],align:[`start`,`end`],placement:[`bottom-start`,`bottom-end`,`top-start`,`top-end`]}}),"description-list":l({description:`Labeled metadata fields as a native <dl> of term / description rows`,react:[`DescriptionList`],wc:`minerva-description-list`,parts:{root:{description:`The <dl>`},row:{description:`Each row (one term / description pair)`},term:{description:`Each <dt>`},description:{description:`Each <dd>`}},states:{}}),divider:l({description:`A horizontal or vertical separator line, optionally with text (horizontal only)`,react:[`Divider`],wc:`minerva-divider`,parts:{root:{description:`The <hr>, or the role=separator element of a divider with text (align: position of the text)`},label:{description:`The text between the two halves of the line`}},states:{orientation:[`horizontal`,`vertical`],variant:[`solid`,`dashed`,`dotted`],align:[`left`,`center`,`right`]}}),drawer:l({description:`A side panel dialog sliding in from an edge over an overlay`,react:[`Drawer`,`DrawerContent`,`DrawerHeader`,`DrawerBody`,`DrawerFooter`],wc:`minerva-drawer`,parts:{overlay:{description:`The backdrop`,states:[`state`]},content:{description:`The dialog panel (role=dialog)`,states:[`state`,`side`,`size`]},header:{description:`The title (accessible name of the dialog)`},description:{description:`The description below the title (visually hidden when no description is given)`},body:{description:`The scrollable body`},footer:{description:`The actions row`},"close-button":{description:`The close (×) button`}},states:{state:[`open`,`closed`],side:[`left`,`right`,`top`,`bottom`],size:[`small`,`medium`,`large`,`full`]}}),empty:l({description:`An empty state: icon, title, description, actions and footer content`,react:[`Empty`],wc:`minerva-empty`,parts:{root:{description:`The region (role=status); size only for the unframed sized layout`},icon:{description:`The icon wrapper`},title:{description:`The title (accessible name of the region)`},description:{description:`The description`},actions:{description:`The actions row`},footer:{description:`The footer content`}},states:{size:[`small`,`medium`,`large`]}}),"form-control":l({description:`A field container: a label with a required indicator, one control, a helper text and an error message`,react:[`FormControl`,`FormLabel`,`FormHelperText`,`FormErrorMessage`,`FormField`],wc:`minerva-form-control`,parts:{root:{description:`The field container`},label:{description:`The <label>`},"required-indicator":{description:`The required marker of the label`},"helper-text":{description:`The helper text (hidden while invalid)`},"error-message":{description:`The error message (role="alert", while invalid)`}},states:{disabled:!0,invalid:!0,readonly:!0,required:!0}}),"form-layout":l({description:`A responsive column grid for form fields`,react:[`FormLayout`],wc:`minerva-form-layout`,parts:{root:{description:`The form layout box (React: the native <form>; web components: the grid's query container, inside your own <form>)`},layout:{description:"The grid. Web components only: React renders a nested ResponsiveGrid (style its `responsive-grid` hooks)",only:`wc`}},states:{}}),"grid-item":l({description:`A cell of a responsive grid, optionally spanning the full row`,react:[`GridItem`],wc:`minerva-grid-item`,parts:{root:{description:"The grid cell (or the `asChild` child). React only: the <minerva-grid-item> element itself is the cell (style the element)",only:`react`}},states:{}}),hstack:l({description:`A horizontal stack (row), centered on the cross axis by default`,react:[`HStack`],wc:`minerva-hstack`,parts:{root:{description:`The flex container`}},states:{}}),"html-preview":l({description:`A sandboxed iframe preview of sanitized HTML, at desktop or mobile width`,react:[`HtmlPreview`],wc:`minerva-html-preview`,parts:{root:{description:`The scrolling container`},frame:{description:`The sandboxed <iframe>`}},states:{}}),"icon-button":l({description:`A button that only contains an icon, with a tooltip, toggle and loading states`,react:[`IconButton`],wc:`minerva-icon-button`,parts:{root:{description:`The native <button>; state active while a toggle button is pressed, inactive otherwise`},icon:{description:`The icon wrapper (hidden from assistive technologies)`},spinner:{description:`The loading indicator (while loading)`},tooltip:{description:`The tooltip (role=tooltip). Web components only: React wraps the button in a <Tooltip> component, which has its own hooks`,only:`wc`}},states:{state:[`active`,`inactive`],disabled:!0,loading:!0,size:[`xsmall`,`small`,`medium`,`large`],variant:[`ghost`,`solid`,`outline`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`],shape:[`circle`,`square`]}}),input:l({description:`A single-line text field with prefix / suffix, clear button, password toggle and character count`,react:[`Input`],wc:`minerva-input`,parts:{root:{description:`The field box (wraps the input and its addons)`},input:{description:`The native <input>`},prefix:{description:`The content before the text`},suffix:{description:`The content after the text`},"clear-button":{description:`The clear button (while there is a value)`},"password-toggle":{description:`The password visibility toggle (type=password)`},count:{description:`The character counter`}},states:{disabled:!0,invalid:!0,readonly:!0,required:!0,size:[`small`,`medium`,`large`],variant:[`outline`,`filled`,`unstyled`]}}),"json-field":l({description:`A strict-JSON text field with a format button and syntax feedback`,react:[`JsonField`],wc:`minerva-json-field`,parts:{root:{description:`The wrapper`},toolbar:{description:`The toolbar above the text (format button)`},"format-button":{description:`The format button (web components only: React renders an IconButton, styled with its own hooks)`,only:`wc`},input:{description:`The native <textarea> (web components only: React renders a Textarea, styled with its own hooks)`,only:`wc`},status:{description:`The validation status line (role=status)`}},states:{disabled:!0,invalid:!0,readonly:!0,required:!0}}),"key-value-editor":l({description:`An editable list of key / value rows (headers, metadata, variables)`,react:[`KeyValueEditor`],wc:`minerva-key-value-editor`,parts:{root:{description:`The container`},row:{description:`Each row (key field, value field and remove button). Item state: invalid (the key or the value has an error)`,itemStates:{invalid:!0}},"remove-button":{description:`The remove button of a row (web components only: React renders an IconButton, styled with its own hooks)`,only:`wc`},"add-button":{description:`The add button (web components only: React renders a Button, styled with its own hooks)`,only:`wc`}},states:{disabled:!0}}),list:l({description:`A quiet operational list of rows (role=list)`,react:[`List`],wc:`minerva-list`,parts:{root:{description:`The list (React: the <ul>; web components: its wrapper)`}},states:{}}),"list-item":l({description:`A list row with primary / secondary text, a decorative icon and actions`,react:[`ListItem`],wc:`minerva-list-item`,parts:{root:{description:`The row`},icon:{description:`The decorative leading icon wrapper`},label:{description:`The primary text`},description:{description:`The secondary text`},actions:{description:`The trailing actions wrapper`}},states:{}}),"loading-state":l({description:`A page / route / section loading presentation: a spinner next to a label in a polite status region`,react:[`LoadingState`],wc:`minerva-loading-state`,parts:{root:{description:`The status region`},spinner:{description:`The decorative spinner (wraps a ProgressIndicator in React; the <minerva-progress> element in the web components)`},label:{description:`The label`}},states:{size:[`small`,`medium`,`large`]}}),menu:l({description:`An action menu opened from a trigger button, with submenus, checkbox and radio items`,react:[`Menu`],wc:`minerva-menu`,parts:{trigger:{description:`The trigger: the native element child of Menu (state open / closed, disabled). React only: a component child (e.g. a Minerva Button) keeps its own hooks and gets aria-expanded; on the web components the trigger is your slotted element, style it from the host states (minerva-menu:state(open) > [slot=trigger])`,states:[`state`,`disabled`],only:`react`},content:{description:`A menu panel (role=menu: the root menu and its submenus, each with its own placement)`,states:[`state`,`size`,`side`,`align`,`placement`]},item:{description:`An item (role=menuitem, menuitemcheckbox or menuitemradio). Item states: highlighted (focused), disabled, checked / unchecked (checkbox and radio items), expanded (submenu trigger while its submenu is open)`,itemStates:{highlighted:!0,disabled:!0,state:[`checked`,`unchecked`],expanded:!0}},"item-indicator":{description:`The check mark / radio dot of a checkbox or radio item`},icon:{description:`The icon of an item`},"item-label":{description:`The label of an item`},shortcut:{description:`The keyboard shortcut hint of an item`},group:{description:`A group of entries (role=group, also radio groups)`},label:{description:`A group heading or section label`},separator:{description:`A separator`}},states:{state:[`open`,`closed`],disabled:!0,size:[`small`,`medium`],side:[`top`,`right`,`bottom`,`left`],align:[`start`,`center`,`end`],placement:[`top`,`top-start`,`top-end`,`right`,`right-start`,`right-end`,`bottom`,`bottom-start`,`bottom-end`,`left`,`left-start`,`left-end`]}}),modal:l({description:`A modal dialog over an overlay`,react:[`Modal`,`ModalContent`,`ModalHeader`,`ModalBody`,`ModalFooter`],wc:`minerva-modal`,parts:{overlay:{description:`The backdrop`,states:[`state`]},content:{description:`The dialog panel (role=dialog)`,states:[`state`,`size`]},header:{description:`The title (accessible name of the dialog)`},description:{description:`The description below the title`},body:{description:`The scrollable body`},footer:{description:`The actions row`},"close-button":{description:`The close (×) button`}},states:{state:[`open`,`closed`],size:[`small`,`medium`,`large`,`xlarge`,`full`]}}),"month-calendar":l({description:`A month grid of days with event counts, navigation and the events of the selected day`,react:[`MonthCalendar`],wc:`minerva-month-calendar`,parts:{root:{description:`The calendar <section>`},heading:{description:`The month heading`},"nav-button":{description:`The previous / today / next buttons`},grid:{description:`The role=grid element`},day:{description:`A day cell (role=gridcell). Item states: selected, today, outside (day of the previous / next month), disabled`,itemStates:{selected:!0,today:!0,outside:!0,disabled:!0}},events:{description:`The events section of the selected day`},event:{description:`An event (a button when events are clickable)`},empty:{description:`The text shown when the selected day has no event`}},states:{disabled:!0,size:[`small`,`medium`,`large`]}}),"nav-tree":l({description:`Sidebar navigation with sections, nested expandable branches, an active item and a compact mode`,react:[`NavTree`],wc:`minerva-nav-tree`,parts:{root:{description:`The <nav> landmark`},group:{description:`A section of items`},"group-label":{description:`The title of a section`},item:{description:`A link / button row (aria-current=page when active, aria-expanded on branches; not rendered by renderLink). Item states: current (active link), expanded (open branch), disabled`,itemStates:{current:!0,expanded:!0,disabled:!0}},icon:{description:`The icon of an item`},label:{description:`The label of an item`},description:{description:`The secondary text of an item`}},states:{}}),"number-input":l({description:`A numeric field (spinbutton) with min / max / step and stepper buttons`,react:[`NumberInput`],wc:`minerva-number-input`,parts:{root:{description:`The field box (wraps the input and the stepper)`},input:{description:`The native <input> (role="spinbutton")`},stepper:{description:`The increment / decrement column`},increment:{description:`The increment button`},decrement:{description:`The decrement button`}},states:{disabled:!0,invalid:!0,readonly:!0,required:!0,size:[`small`,`medium`,`large`]}}),option:l({description:`A selectable option of a select (role=option); its states are the item states of the select's options: selected, highlighted, disabled`,react:[`SelectItem`],wc:`minerva-option`,parts:{root:{description:`The option row`},label:{description:`The content wrapper`},indicator:{description:`The check mark (while selected)`}},states:{selected:!0,highlighted:!0,disabled:!0}}),"option-group":l({description:`A group of select options (role=group), labelled by a select-label`,react:[`SelectGroup`],wc:`minerva-option-group`,parts:{root:{description:`The group wrapper`}},states:{}}),page:l({description:`The padded, vertically spaced column of a screen's content`,react:[`Page`],wc:`minerva-page`,parts:{root:{description:`The page column`}},states:{}}),"page-header":l({description:`The page heading (h1) with an optional description and actions`,react:[`PageHeader`],wc:`minerva-page-header`,parts:{root:{description:`The <header>`},title:{description:`The <h1>`},description:{description:`The description paragraph`},actions:{description:`The actions wrapper`}},states:{}}),"page-section":l({description:`A page region named by its h2 title, with optional description, icon and actions`,react:[`PageSection`],wc:`minerva-page-section`,parts:{root:{description:`The <section>`},header:{description:`The title row (title, description and actions)`},title:{description:`The <h2>`},icon:{description:`The decorative icon wrapper, inside the title`},description:{description:`The description paragraph`},actions:{description:`The actions wrapper`}},states:{}}),"page-tab":l({description:`One open page of a page tabs strip`,react:[`PageTab`],wc:`minerva-page-tab`,parts:{root:{description:`The item wrapper`},trigger:{description:`The label <button> (selects the page)`},icon:{description:`The icon before the label`},label:{description:`The (truncated) label`},action:{description:`The wrapper of the separate control next to the label`},"close-button":{description:"The built-in close button (`closable`; React passes its own control as `action`)",only:`wc`}},states:{current:!0,disabled:!0}}),"page-tabs":l({description:`A horizontally scrolling strip of open application pages (route navigation)`,react:[`PageTabs`],wc:`minerva-page-tabs`,parts:{root:{description:`The <nav> landmark`},viewport:{description:`The scrolling viewport of the items`},list:{description:`The item list`},"scroll-button":{description:`The scroll left / right buttons (while the items overflow). Web components only: React renders IconButton components, which have their own hooks`,only:`wc`},actions:{description:`The global actions after the list`}},states:{}}),pagination:l({description:`Page navigation with page buttons, an optional total, quick jumper and page size selector`,react:[`Pagination`],wc:`minerva-pagination`,parts:{root:{description:`The <nav> landmark`},item:{description:`A page / previous / next / jump button (the current page has aria-current=page). Item states: current (the current page), disabled`,itemStates:{current:!0,disabled:!0}},total:{description:`The total text`},jumper:{description:`The quick jumper label (wraps its input)`},"size-changer":{description:`The page size <select>`},"simple-input":{description:`The page input of the simple mode`}},states:{disabled:!0,size:[`small`,`medium`,`large`],shape:[`circle`,`rounded`,`square`],variant:[`solid`,`outline`,`ghost`]}}),"palette-toggle":l({description:`A color palette switch (a group of toggle buttons), orthogonal to the light / dark mode`,react:[`PaletteToggle`],wc:`minerva-palette-toggle`,parts:{root:{description:`The role=group wrapper`},item:{description:`Every option button (aria-pressed on the selected one). Item state: active (the selected palette, aria-pressed) / inactive`,itemStates:{state:[`active`,`inactive`]}}},states:{}}),popover:l({description:`A click-triggered interactive panel (role=dialog) anchored to its trigger`,react:[`PopoverTrigger`,`PopoverContent`],wc:`minerva-popover`,parts:{trigger:{description:`The trigger <button> (React only: the web component's trigger is the slotted element, style it directly; not rendered with asChild, the child keeps its own hooks)`,states:[`state`],only:`react`},content:{description:`The positioned panel (role=dialog)`,states:[`state`,`side`,`align`,`placement`]},arrow:{description:`The arrow pointing at the anchor (with arrow)`}},states:{state:[`open`,`closed`],side:[`top`,`right`,`bottom`,`left`],align:[`start`,`center`,`end`],placement:[`top`,`top-start`,`top-end`,`right`,`right-start`,`right-end`,`bottom`,`bottom-start`,`bottom-end`,`left`,`left-start`,`left-end`]}}),progress:l({description:`A loading indicator: spinner, circle, wave, bar or dotted bar; the bar and circle also show a determinate value`,react:[`ProgressIndicator`],wc:`minerva-progress`,parts:{root:{description:`The indicator (role=progressbar unless decorative); color current follows the text color`},icon:{description:`The icon before the indicator`},indicator:{description:`The indicator (ring, wave or bar; a filled bar or arc when determinate)`},value:{description:`The formatted value of a determinate indicator`},label:{description:`The visible label`}},states:{variant:[`spinner`,`bar`,`wave`,`circle`,`dotted-bar`],size:[`xsmall`,`small`,`medium`,`large`,`xlarge`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`,`current`]}}),prose:l({description:`Theme-aware typography for semantic HTML (articles, Markdown)`,react:[`Prose`],wc:`minerva-prose`,parts:{root:{description:"The typography container (or the `asChild` child). React only: the <minerva-prose> element itself is the container (style the element)",only:`react`}},states:{}}),radio:l({description:`A radio button with a label and a helper / error text`,react:[`Radio`],wc:`minerva-radio`,parts:{root:{description:`The wrapper (the clickable row and the helper text)`},input:{description:`The native <input type="radio"> (React only: the web component host is the radio itself)`,only:`react`},control:{description:`The visual radio mark`},label:{description:`The label text`},"helper-text":{description:`The helper / error text`}},states:{state:[`checked`,`unchecked`],disabled:!0,invalid:!0,size:[`small`,`medium`,`large`],color:[`primary`,`success`,`warning`,`danger`]}}),"radio-group":l({description:`A set of radios of which one can be selected, with a label and a helper text`,react:[`RadioGroup`],wc:`minerva-radio-group`,parts:{root:{description:`The wrapper`},label:{description:`The visible group label`},list:{description:`The element with role="radiogroup" (the radios)`},"helper-text":{description:`The helper text`}},states:{disabled:!0,invalid:!0,required:!0,orientation:[`horizontal`,`vertical`],size:[`small`,`medium`,`large`],color:[`primary`,`success`,`warning`,`danger`]}}),rating:l({description:`A score drawn as 5 stars, display-only or an interactive slider, optionally followed by the value and the number of ratings`,react:[`Rating`],wc:`minerva-rating`,parts:{root:{description:`The root (role="slider", or role="img" when display-only)`},stars:{description:`The star row`},star:{description:`Each star. Item state: fill`,itemStates:{fill:[`full`,`half`,`empty`]}},value:{description:`The score and the count`},count:{description:`The number of ratings`}},states:{readonly:!0,size:[`small`,`medium`,`large`]}}),"rating-scale":l({description:`Several labelled ratings sharing one scale (one rating per row)`,react:[`RatingScale`],wc:`minerva-rating-scale`,parts:{root:{description:`The list of rows`},row:{description:`Each row (a label and a rating)`},label:{description:`The label of a row`}},states:{readonly:!0,size:[`small`,`medium`,`large`]}}),"responsive-grid":l({description:`An equal-width column grid whose column count follows its own width (container queries)`,react:[`ResponsiveGrid`],wc:`minerva-responsive-grid`,parts:{root:{description:`The query container`},layout:{description:`The grid (its children are the grid items)`}},states:{}}),select:l({description:`A single-choice dropdown: a combobox trigger and a listbox popup of options`,react:[`Select`],wc:`minerva-select`,parts:{root:{description:`The trigger (<button role=combobox>)`,states:[`state`,`disabled`,`invalid`,`required`,`size`]},value:{description:`The selected label / placeholder`},icon:{description:`The chevron`},content:{description:`The listbox popup (role=listbox)`,states:[`state`,`side`,`align`,`placement`]},item:{description:"An option rendered from the `options` property (web components only: React options are SelectItem elements, see option). Item states: selected, highlighted, disabled",only:`wc`,itemStates:{selected:!0,highlighted:!0,disabled:!0}},"group-label":{description:"A group heading rendered from the `options` property (web components only: React uses SelectLabel, see select-label)",only:`wc`}},states:{state:[`open`,`closed`],disabled:!0,invalid:!0,required:!0,size:[`small`,`medium`,`large`],side:[`top`,`bottom`],align:[`start`,`end`],placement:[`bottom-start`,`bottom-end`,`top-start`,`top-end`]}}),"select-label":l({description:`The (non-selectable) heading of a group of select options`,react:[`SelectLabel`],wc:`minerva-select-label`,parts:{root:{description:`The label`}},states:{}}),"select-separator":l({description:`A presentational divider between select options or groups`,react:[`SelectSeparator`],wc:`minerva-select-separator`,parts:{root:{description:`The line`}},states:{}}),skeleton:l({description:`Placeholder shapes shown while content loads (lines, avatar, title, paragraph, card)`,react:[`Skeleton`],wc:`minerva-skeleton`,parts:{root:{description:`The busy region (role=status), or the single block of a decorative skeleton`},avatar:{description:`The avatar placeholder`},title:{description:`The title placeholder`},line:{description:`Each line placeholder (also the paragraph lines)`}},states:{variant:[`text`,`circular`,`rectangular`,`rounded`,`button`,`image`,`card`]}}),"skeleton-text":l({description:`A decorative block of text-line placeholders (hidden from assistive technologies)`,react:[`SkeletonText`],wc:`minerva-skeleton-text`,parts:{root:{description:`The block of lines`},line:{description:`Each line placeholder`}},states:{}}),"split-layout":l({description:`Main content with an optional aside column that splits beside it at a container breakpoint`,react:[`SplitLayout`],wc:`minerva-split-layout`,parts:{root:{description:`The query container`},main:{description:`The main column`},aside:{description:`The aside column (when there is aside content)`}},states:{}}),stack:l({description:`A flex row / column with a token gap, optional separators and attached groups`,react:[`Stack`],wc:`minerva-stack`,parts:{root:{description:`The flex container`}},states:{orientation:[`horizontal`,`vertical`]}}),"stat-card":l({description:`A labelled metric with an optional icon and description`,react:[`StatCard`],wc:`minerva-stat-card`,parts:{root:{description:`The card`},icon:{description:`The decorative icon wrapper`},label:{description:`The metric name (<dt>)`},value:{description:`The metric value (<dd>)`},description:{description:`The description paragraph`}},states:{}}),steps:l({description:`The stages of a workflow as an ordered list, navigable or read-only`,react:[`Steps`],wc:`minerva-steps`,parts:{root:{description:`The <ol>`},item:{description:`A step <li> (the current step has aria-current=step). Item states: current (the current step, like pagination / nav-tree items; it has no status), status (complete: before the current step, upcoming: after it), disabled (navigable steps only: a disabled step has no effect in read-only steps)`,itemStates:{current:!0,disabled:!0,status:[`complete`,`upcoming`]}},button:{description:`The <button> of a step (navigable) or its static wrapper (read-only)`},indicator:{description:`The numbered indicator of a step`},label:{description:`The label of a step`}},states:{readonly:!0}}),switch:l({description:`A two-state toggle (role=switch): a slider, with optional side labels, or two segments`,react:[`Switch`],wc:`minerva-switch`,parts:{root:{description:`The outer element (<label>; a <span> with side labels; the group of segments)`},input:{description:`The native <input type="checkbox" role="switch">`},control:{description:`The slider box (wraps the track and the thumb)`},track:{description:`The track`},thumb:{description:`The thumb`},icon:{description:`The icon (in the thumb or after the slider)`},label:{description:`The label text`},side:{description:`The off / on side labels (buttons)`},segment:{description:`The off / on segments (buttons, variant="segmented")`}},states:{state:[`checked`,`unchecked`],disabled:!0,loading:!0,invalid:!0,readonly:!0,required:!0,size:[`small`,`medium`,`large`],color:[`primary`,`success`,`info`,`warning`,`danger`],shape:[`round`,`square`],variant:[`slider`,`segmented`]}}),tab:l({description:`A role=tab trigger of a tabs group`,react:[`Tab`],wc:`minerva-tab`,parts:{root:{description:`The visual tab trigger`}},states:{state:[`active`,`inactive`],disabled:!0,orientation:[`horizontal`,`vertical`],variant:[`line`,`enclosed`,`soft`,`pills`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`]}}),"tab-panel":l({description:`The role=tabpanel content of a tab`,react:[`TabPanel`],wc:`minerva-tab-panel`,parts:{root:{description:`The panel wrapper`}},states:{state:[`active`,`inactive`],orientation:[`horizontal`,`vertical`]}}),"table-cell-content":l({description:`Bounded, wrapping content inside a table cell, with an optional muted secondary line`,react:[`TableCellContent`],wc:`minerva-table-cell-content`,parts:{root:{description:`The wrapper (bounded width)`},primary:{description:`The primary line (<code> when monospace)`},secondary:{description:`The muted secondary line`}},states:{}}),tabs:l({description:`Accessible tabs: a tab list and the panels of its tabs, with a variant, a color and an orientation`,react:[`Tabs`,`TabList`],wc:`minerva-tabs`,parts:{root:{description:`The root wrapper of the tab list and the panels`},list:{description:`The role=tablist container of the tabs`,states:[`orientation`,`variant`]}},states:{orientation:[`horizontal`,`vertical`],variant:[`line`,`enclosed`,`soft`,`pills`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`]}}),tag:l({description:`A small label for marking and categorizing, optionally clickable, toggleable or closable`,react:[`Tag`],wc:`minerva-tag`,parts:{root:{description:`The tag (a plain, non-interactive element); state active while a clickable tag is pressed, inactive otherwise`},action:{description:`The native <button> of a clickable tag`},label:{description:`The label wrapper`},icon:{description:`The icon before the label`},avatar:{description:`The avatar before the label`},spinner:{description:`The loading spinner (while loading)`},"close-button":{description:`The close button`}},states:{state:[`active`,`inactive`],disabled:!0,loading:!0,size:[`small`,`medium`,`large`],variant:[`subtle`,`outline`,`solid`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`],shape:[`square`,`rounded`,`circle`]}}),"tag-input":l({description:`A text field that collects a list of tags, with optional suggestions`,react:[`TagInput`],wc:`minerva-tag-input`,parts:{root:{description:`The wrapper`},tags:{description:`The list of tags`},tag:{description:`A tag (web components only: React renders a Tag, styled with its own hooks)`,only:`wc`},"remove-button":{description:`The remove button of a tag (web components only, see tag)`,only:`wc`},control:{description:`The text field box (web components only: React renders an Input, styled with its own hooks)`,only:`wc`},input:{description:`The native text <input> (role="combobox"; web components only, see control)`,only:`wc`},list:{description:`The suggestion list (role=listbox, while open)`},option:{description:`A suggestion (role=option; the highlighted one has aria-selected="true. Item state: highlighted")`,itemStates:{highlighted:!0}},empty:{description:`The text shown when no suggestion matches`},"add-button":{description:`The add button (web components only: React renders an IconButton, styled with its own hooks)`,only:`wc`},"clear-button":{description:`The clear button (web components only: React renders an IconButton, styled with its own hooks)`,only:`wc`}},states:{state:[`open`,`closed`],disabled:!0,invalid:!0,readonly:!0,required:!0,size:[`small`,`medium`,`large`]}}),"text-link":l({description:`A styled native link (default inline link, subtle link with a chevron, action row)`,react:[`TextLink`],wc:`minerva-text-link`,parts:{root:{description:`The native <a> (React: the slotted child with asChild)`}},states:{variant:[`default`,`subtle`,`action`]}}),textarea:l({description:`A multi-line text field sharing the input's look`,react:[`Textarea`],wc:`minerva-textarea`,parts:{root:{description:`The native <textarea>`}},states:{disabled:!0,invalid:!0,readonly:!0,required:!0,size:[`small`,`medium`,`large`],variant:[`outline`,`filled`,`unstyled`]}}),"theme-toggle":l({description:`A light / dark / system theme switch (a group of toggle buttons)`,react:[`ThemeToggle`],wc:`minerva-theme-toggle`,parts:{root:{description:`The role=group wrapper`},item:{description:`Every option button (aria-pressed on the selected one). Item state: active (the selected option, aria-pressed) / inactive`,itemStates:{state:[`active`,`inactive`]}}},states:{}}),"time-picker":l({description:`A time field with a popup of hours / minutes / seconds columns`,react:[`TimePicker`],wc:`minerva-time-picker`,parts:{root:{description:`The field wrapper (anchor of the panel)`,states:[`state`,`disabled`,`readonly`,`invalid`,`size`]},control:{description:`The input box (web components only: React renders a nested Input, style its hooks)`,only:`wc`},input:{description:`The native <input> (web components only: React renders a nested Input, style its hooks)`,only:`wc`},"clear-button":{description:`The clear button (web components only: React renders a nested IconButton, style its hooks)`,only:`wc`},icon:{description:`The clock icon (shown when there is no clear button)`},content:{description:`The popup panel (role=dialog)`,states:[`state`,`side`,`align`,`placement`]},column:{description:`An hours / minutes / seconds / AM-PM column (role=listbox)`},item:{description:`A time unit (role=option). Item states: selected, disabled`,itemStates:{selected:!0,disabled:!0}}},states:{state:[`open`,`closed`],disabled:!0,readonly:!0,invalid:!0,size:[`small`,`medium`,`large`],side:[`top`,`bottom`],align:[`start`,`end`],placement:[`bottom-start`,`bottom-end`,`top-start`,`top-end`]}}),"toast-region":l({description:`The fixed stack (role=region) rendering the toasts of the toast() API`,react:[`ToastProvider`],wc:`minerva-toast-region`,parts:{root:{description:`The fixed stack (role=region)`},toast:{description:`A toast (role=status, or alert for danger). Item states: open / closed (while leaving), color, loading`,itemStates:{state:[`open`,`closed`],color:[`info`,`success`,`warning`,`danger`],loading:!0}},icon:{description:`The icon of a toast (spinner while loading)`},title:{description:`The title of a toast`},description:{description:`The description of a toast`},action:{description:`The action button of a toast`},"close-button":{description:`The close (×) button of a toast`},progress:{description:`The countdown bar of a timed toast`}},states:{}}),toolbar:l({description:`A wrapping row of related controls (role=group)`,react:[`Toolbar`],wc:`minerva-toolbar`,parts:{root:{description:`The group`}},states:{}}),tooltip:l({description:`Informative content shown when the wrapped element is hovered or focused`,react:[`Tooltip`],wc:`minerva-tooltip`,parts:{trigger:{description:`The wrapper around the trigger (React: not rendered with asChild, the child keeps its own hooks)`,states:[`state`,`disabled`]},content:{description:`The positioned tooltip (role=tooltip, while shown)`,states:[`state`,`color`,`variant`,`shape`,`side`,`align`,`placement`]},arrow:{description:`The arrow pointing at the trigger (with arrow)`}},states:{state:[`open`,`closed`],disabled:!0,color:[`neutral`,`info`,`success`,`warning`,`danger`],variant:[`solid`,`subtle`,`glass`],shape:[`default`,`rounded`,`thought`,`square`],side:[`top`,`right`,`bottom`,`left`],align:[`start`,`center`,`end`],placement:[`top`,`top-start`,`top-end`,`right`,`right-start`,`right-end`,`bottom`,`bottom-start`,`bottom-end`,`left`,`left-start`,`left-end`]}}),upload:l({description:`A file picker with a drop zone, validation and a list of files with their status`,react:[`Upload`],wc:`minerva-upload`,parts:{root:{description:`The container (role=group)`},label:{description:`The visible label`},dropzone:{description:`The drop target`},"select-button":{description:`The select button (web components only: React renders a nested Button, style its hooks)`,only:`wc`},error:{description:`The selection error (web components only: React renders a nested Alert, style its hooks)`,only:`wc`},list:{description:`The file list`},item:{description:`A file. Item state: status of the file`,itemStates:{status:[`uploading`,`done`,`error`]}},"retry-button":{description:`The retry button of a failed file (web components only: React renders a nested IconButton, style its hooks)`,only:`wc`},"remove-button":{description:`The remove button of a file (web components only: React renders a nested IconButton, style its hooks)`,only:`wc`}},states:{disabled:!0,loading:!0,dragging:!0}}),"virtual-list":l({description:`A virtualized scrolling list that only renders the visible rows, with infinite loading`,react:[`VirtualList`],wc:`minerva-virtual-list`,parts:{root:{description:`The scroll container (role=region)`},list:{description:`The list (role=list) sized to all the rows`},item:{description:`A rendered row (role=listitem)`},loading:{description:`The loading indicator row (while loading)`}},states:{loading:!0}}),vstack:l({description:`A vertical stack (column), stretched on the cross axis by default`,react:[`VStack`],wc:`minerva-vstack`,parts:{root:{description:`The flex container`}},states:{}}),"week-strip":l({description:`The seven days of a week in a row, with a selected day, today, per-day markers and optional week navigation`,react:[`WeekStrip`],wc:`minerva-week-strip`,parts:{root:{description:`The outermost element`},heading:{description:`The month of the week (with showNavigation)`},"nav-button":{description:`The previous / next week buttons (with showNavigation)`},list:{description:`The role=listbox element holding the days`},day:{description:`A day (role=option). Item states: selected, today, disabled`,itemStates:{selected:!0,today:!0,disabled:!0}},indicator:{description:`The marker of a day: empty, a count badge or a dot`}},states:{disabled:!0,size:[`small`,`medium`,`large`]}})},d=[`minerva-config`,`minerva-confirm-provider`,`minerva-description-item`,`minerva-menu-checkbox-item`,`minerva-menu-group`,`minerva-menu-item`,`minerva-menu-label`,`minerva-menu-radio-item`,`minerva-menu-separator`,`minerva-tooltip-provider`],f=e=>t.includes(e);function p(e={}){return Object.entries(e).map(([e,t])=>f(e)||t===!0?`[${i(e)}]`:`[${i(e)}="${t}"]`).join(``)}function m(e={}){return Object.entries(e).map(([e,t])=>`:state(${a(e,t===!0?void 0:t)})`).join(``)}function h(e,t,n,r){return`[data-minerva="${e}"]${t?`[data-part="${t}"]`:``}${p(n)}${p(r)}`}function g(e,t={}){return[e,...Object.entries(t).map(([t,n])=>s(e,t,n===!0?void 0:n))].join(` `)}function _(e,t,n,r){let i=u[e]?.wc??`minerva-${e}`,a=t&&r?g(t,r):t;return`${i}${m(n)}${a?`::part(${a})`:``}`}function v(e){return Object.fromEntries(Object.keys(e).sort().map(t=>{let n=e[t];return[t,Array.isArray(n)?[...n].sort():n]}))}function y(e=u){return Object.fromEntries(Object.keys(e).sort().map(t=>{let n=e[t];return[t,{react:[...n.react].sort(),wc:n.wc,parts:Object.fromEntries(Object.keys(n.parts).sort().map(e=>{let{states:t,only:r,itemStates:i}=n.parts[e];return[e,{...t?{states:[...t].sort()}:{},...r?{only:r}:{},...i?{itemStates:v(i)}:{}}]})),states:v(n.states)}]}))}exports.ATTRIBUTES=r,exports.BOOLEAN_STATES=t,exports.ITEM_STATE_SEPARATOR=o,exports.KEYED_STATES=n,exports.NON_VISUAL_ELEMENTS=d,exports.STABILITY_POLICY=c,exports.STATE_VALUES=e,exports.customStateName=a,exports.defineHooks=l,exports.hookSurface=y,exports.itemPartName=s,exports.reactSelector=h,exports.reactStateSelector=p,exports.stateAttribute=i,exports.stylingHooks=u,exports.wcItemParts=g,exports.wcSelector=_,exports.wcStateSelector=m;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=[`open`,`closed`,`checked`,`unchecked`,`indeterminate`,`active`,`inactive`],t=[`disabled`,`invalid`,`readonly`,`loading`,`required`,`highlighted`,`current`,`dragging`,`selected`,`expanded`,`today`,`outside`,`flagged`],n=[`size`,`variant`,`color`,`orientation`,`side`,`align`,`placement`,`shape`,`status`,`sort`,`fill`,`layout`],r={component:`data-minerva`,part:`data-part`},i=e=>`data-${e}`;function a(e,n){return e===`state`?String(n):t.includes(e)?e:`${e}-${n}`}var o=`--`;function s(e,t,n){return`${e}--${a(t,n)}`}var c=`Adding a component, part, state (component or item state) or state value is a minor change. Removing or renaming one is a major change. Class names and DOM structure without hooks are private.`,l=e=>e,u={alert:l({description:`An inline message with an icon, a title, a description, an action and optional close / collapse buttons`,react:[`Alert`],wc:`minerva-alert`,parts:{root:{description:`The alert (role=alert for danger / warning, status otherwise); state open / closed only while collapsible`},icon:{description:`The icon (role=img)`},title:{description:`The title (holds the collapse button)`},trigger:{description:`The expand / collapse button of a collapsible alert`},description:{description:`The message`},action:{description:`The action wrapper`},"close-button":{description:`The close button`}},states:{state:[`open`,`closed`],size:[`small`,`medium`,`large`],variant:[`subtle`,`outline`,`solid`],color:[`info`,`success`,`warning`,`danger`]}}),"answer-sheet":l({description:`A grid of numbered pills to jump between the questions of a practice or exam session, grouped by section, each with a status`,react:[`AnswerSheet`],wc:`minerva-answer-sheet`,parts:{root:{description:`The outermost element (a nav landmark)`},total:{description:`The "12 / 20 answered" summary (with showSummary)`},group:{description:`A section of questions (role=group when titled; the first one is untitled when items have no group)`},"group-label":{description:`The title of a section`},grid:{description:`The element holding the pills of a section`},item:{description:`A question pill (a button; aria-current=step when current). Item states: current, disabled, flagged, status`,itemStates:{current:!0,disabled:!0,flagged:!0,status:[`unanswered`,`answered`,`correct`,`wrong`,`skipped`]}},indicator:{description:`The flag dot of a flagged question`},legend:{description:`The legend of the statuses (with showLegend)`},"legend-item":{description:`An entry of the legend`}},states:{disabled:!0,size:[`small`,`medium`],layout:[`wrap`,`scroll`]}}),"app-shell":l({description:`Application chrome: a collapsible sidebar, a header, the main landmark and a mobile navigation drawer`,react:[`AppShell`],wc:`minerva-app-shell`,parts:{root:{description:"The shell (`state`: whether the mobile navigation drawer is open)",states:[`state`]},"skip-link":{description:`The skip to content link`},sidebar:{description:`The desktop sidebar (<aside>)`},header:{description:`The header bar`},main:{description:`The <main> landmark`},overlay:{description:`The backdrop of the mobile drawer`,states:[`state`]},content:{description:`The mobile navigation drawer (role=dialog)`,states:[`state`]},"close-button":{description:`The close button of the mobile drawer`}},states:{state:[`open`,`closed`]}}),autocomplete:l({description:`A text input (combobox) suggesting filtered options in a dropdown listbox`,react:[`AutoComplete`],wc:`minerva-autocomplete`,parts:{root:{description:`The root wrapper (label, field and anchor of the dropdown)`,states:[`state`,`disabled`,`readonly`,`loading`]},label:{description:`The visible label`},field:{description:`The input box (web components only: React renders a nested Input, style its hooks)`,only:`wc`},input:{description:`The native <input role=combobox> (web components only: React renders a nested Input, style its hooks)`,only:`wc`},content:{description:`The positioned dropdown`,states:[`state`,`side`,`align`,`placement`]},list:{description:`The role=listbox list`},item:{description:`An option. Item states: highlighted (active option or hovered), disabled`,itemStates:{highlighted:!0,disabled:!0}},"group-label":{description:`A group heading`},empty:{description:`The empty state (no matching option)`},loading:{description:`The loading state (while loading)`}},states:{state:[`open`,`closed`],disabled:!0,readonly:!0,loading:!0,side:[`top`,`right`,`bottom`,`left`],align:[`start`,`end`],placement:[`top-start`,`top-end`,`right-start`,`right-end`,`bottom-start`,`bottom-end`,`left-start`,`left-end`]}}),avatar:l({description:`A picture of a person, falling back to their initials or custom content`,react:[`Avatar`],wc:`minerva-avatar`,parts:{root:{description:`The avatar box (role=img while the fallback is shown); no size state for a size in pixels`},image:{description:`The <img>`},fallback:{description:`The initials / fallback content wrapper (no image)`}},states:{size:[`xsmall`,`small`,`medium`,`large`,`xlarge`,`xxlarge`],shape:[`circle`,`square`,`rounded`]}}),"avatar-group":l({description:`Overlapping avatars with an optional "+N" indicator`,react:[`AvatarGroup`],wc:`minerva-avatar-group`,parts:{root:{description:`The group (role=group)`},item:{description:`The wrapper of each visible avatar`},count:{description:`The "+N" indicator of the hidden avatars`}},states:{}}),badge:l({description:`A small count or status indicator, standalone or attached to a corner of an element`,react:[`Badge`],wc:`minerva-badge`,parts:{root:{description:`The outermost element: the badge itself when standalone, the wrapper of the children when attached`},badge:{description:`The badge attached to a corner of the children (a standalone badge is the root)`,states:[`size`,`variant`,`color`]},icon:{description:`The icon before the content`}},states:{size:[`small`,`medium`,`large`],variant:[`solid`,`subtle`,`outline`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`]}}),box:l({description:`A polymorphic container with padding, margin, size, background, radius and shadow shorthands`,react:[`Box`],wc:`minerva-box`,parts:{root:{description:"The rendered element (`as`). React only: the <minerva-box> element itself is the box (style the element)",only:`react`}},states:{}}),button:l({description:`A native button with a color, a variant, a size and states`,react:[`Button`],wc:`minerva-button`,parts:{root:{description:`The native <button>`},label:{description:`The label wrapper`},"start-icon":{description:`The icon before the label`},"end-icon":{description:`The icon after the label`},spinner:{description:`The loading spinner (while loading)`}},states:{state:[`active`,`inactive`],disabled:!0,loading:!0,size:[`xsmall`,`small`,`medium`,`large`,`xlarge`],variant:[`solid`,`outline`,`ghost`,`link`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`],shape:[`square`,`rounded`,`circle`]}}),card:l({description:`A content container of header, content and footer sections; optionally a link or a button`,react:[`Card`],wc:`minerva-card`,parts:{root:{description:`The card root (div, article, section, a or button)`}},states:{variant:[`default`,`outline`,`elevated`,`filled`,`ghost`],disabled:!0}}),"card-content":l({description:`The main body of a card`,react:[`CardContent`],wc:`minerva-card-content`,parts:{root:{description:`The section box`}},states:{}}),"card-description":l({description:`The secondary text below a card title`,react:[`CardDescription`],wc:`minerva-card-description`,parts:{root:{description:`The paragraph`}},states:{}}),"card-footer":l({description:`The bottom section of a card, e.g. for actions`,react:[`CardFooter`],wc:`minerva-card-footer`,parts:{root:{description:`The section box`}},states:{}}),"card-header":l({description:`The top section of a card, usually holding its title and description`,react:[`CardHeader`],wc:`minerva-card-header`,parts:{root:{description:`The section box`}},states:{}}),"card-title":l({description:`The heading of a card (h3 by default)`,react:[`CardTitle`],wc:`minerva-card-title`,parts:{root:{description:`The heading element`}},states:{}}),cascader:l({description:`A field picking a path in a tree of options through cascading columns (optionally searchable)`,react:[`Cascader`],wc:`minerva-cascader`,parts:{root:{description:`The root wrapper (anchor of the dropdown)`,states:[`state`,`disabled`,`readonly`,`invalid`]},control:{description:`The field box (input, clear button, chevron)`},input:{description:`The native <input role=combobox> (web components only: React renders a nested Input, style its hooks)`,only:`wc`},"clear-button":{description:`The clear button (while there is a value)`},icon:{description:`The chevron`},content:{description:`The positioned dropdown`,states:[`state`,`side`,`align`,`placement`]},column:{description:`A column of options (role=listbox)`},item:{description:`An option (column option or search result). Item states: selected (on the selected path), expanded (its children column is shown; never the selected leaf at the end of the path), disabled, loading (children loading)`,itemStates:{selected:!0,expanded:!0,disabled:!0,loading:!0}}},states:{state:[`open`,`closed`],disabled:!0,readonly:!0,invalid:!0,side:[`top`,`bottom`],align:[`start`,`end`],placement:[`bottom-start`,`bottom-end`,`top-start`,`top-end`]}}),checkbox:l({description:`A native checkbox with a label, a helper text and an indeterminate state`,react:[`Checkbox`],wc:`minerva-checkbox`,parts:{root:{description:`The wrapper (the clickable row and the helper text)`},input:{description:`The native <input type="checkbox">`},control:{description:`The visual box (draws the checkmark)`},label:{description:`The label text`},"helper-text":{description:`The helper / error text`}},states:{state:[`checked`,`unchecked`,`indeterminate`],disabled:!0,invalid:!0,readonly:!0,required:!0,size:[`small`,`medium`,`large`],color:[`primary`,`success`,`info`,`warning`,`danger`],shape:[`square`,`circle`,`rounded`]}}),"code-block":l({description:`A scrollable, focusable block of source text with optional syntax highlighting, line numbers, language label and copy button`,react:[`CodeBlock`],wc:`minerva-code-block`,parts:{root:{description:`The positioned outer wrapper of the region and its actions (only when copyable, or with a language label)`},region:{description:`The <pre> scroll region (role=region): the visible box of the code`},code:{description:`The <code> element`},"line-number":{description:`The number of a line, in the gutter (with showLineNumbers; aria-hidden, generated content)`},language:{description:`The language label (with showLanguage and a language)`},"copy-button":{description:`The copy button (while copyable). Web components only: React renders an IconButton, which has its own hooks`,only:`wc`}},states:{}}),"code-editor":l({description:`A labelled Monaco code editor on a local engine, degrading to a textarea with a retry action`,react:[`MonacoCodeEditor`],wc:`minerva-code-editor`,parts:{root:{description:`The role=group root`},label:{description:`The visible label`},surface:{description:`The editor surface (sized by the height)`},loading:{description:`The loading indicator (while the editor loads)`},error:{description:`The unavailable message and retry action (when the editor failed)`},fallback:{description:`The fallback <textarea> (when the editor failed)`},"retry-button":{description:`The retry button. Web components only: React renders a Button, which has its own hooks`,only:`wc`}},states:{disabled:!0,loading:!0}}),"command-dialog":l({description:`A searchable command palette in a modal dialog`,react:[`CommandDialog`],wc:`minerva-command-dialog`,parts:{overlay:{description:`The backdrop`,states:[`state`]},content:{description:`The dialog panel (role=dialog)`,states:[`state`]},header:{description:`The title row (accessible name of the dialog)`},description:{description:`The description below the title`},search:{description:`The search field (icon, input and Enter hint)`},input:{description:`The search input (role=combobox)`},list:{description:`The results list (role=listbox)`},item:{description:`A result (role=option). Item state: highlighted (active result)`,itemStates:{highlighted:!0}},empty:{description:`The text shown when no command matches`}},states:{state:[`open`,`closed`]}}),"confirm-dialog":l({description:`A small modal alertdialog asking to confirm an action (Cancel / Confirm)`,react:[`ConfirmDialog`],wc:`minerva-confirm-dialog`,parts:{overlay:{description:`The backdrop`,states:[`state`]},content:{description:`The dialog panel (role=alertdialog)`,states:[`state`,`color`,`loading`]},header:{description:`The title (accessible name of the dialog)`},description:{description:`The description below the title`},body:{description:`The optional extra content`},footer:{description:`The actions row (Cancel and Confirm buttons)`},"cancel-button":{description:`The Cancel <minerva-button> (web components only: in React it is a Button with its own hooks, [data-minerva=button] in the footer)`,only:`wc`},"confirm-button":{description:`The Confirm <minerva-button> (web components only: in React it is a Button with its own hooks, [data-minerva=button] in the footer)`,only:`wc`},"close-button":{description:`The close (×) button`}},states:{state:[`open`,`closed`],color:[`primary`,`danger`,`warning`],loading:!0}}),"context-menu":l({description:`A menu opened at the pointer on right click / long press / Shift+F10 in its area`,react:[`ContextMenu`],wc:`minerva-context-menu`,parts:{trigger:{description:`The area: the native element child of ContextMenu (state open / closed, disabled). React only: a component child (e.g. a Minerva Card) keeps its own hooks; on the web components the area is your own child element, style it from the host states (minerva-context-menu:state(open) > .my-area)`,states:[`state`,`disabled`],only:`react`},content:{description:`A menu panel (role=menu: the root menu and its submenus, each with its own placement)`,states:[`state`,`size`,`side`,`align`,`placement`]},item:{description:`An item (role=menuitem, menuitemcheckbox or menuitemradio). Item states: highlighted (focused), disabled, checked / unchecked (checkbox and radio items), expanded (submenu trigger while its submenu is open)`,itemStates:{highlighted:!0,disabled:!0,state:[`checked`,`unchecked`],expanded:!0}},"item-indicator":{description:`The check mark / radio dot of a checkbox or radio item`},icon:{description:`The icon of an item`},"item-label":{description:`The label of an item`},shortcut:{description:`The keyboard shortcut hint of an item`},group:{description:`A group of entries (role=group, also radio groups)`},label:{description:`A group heading or section label`},separator:{description:`A separator`}},states:{state:[`open`,`closed`],disabled:!0,size:[`small`,`medium`],side:[`top`,`right`,`bottom`,`left`],align:[`start`,`center`,`end`],placement:[`top`,`top-start`,`top-end`,`right`,`right-start`,`right-end`,`bottom`,`bottom-start`,`bottom-end`,`left`,`left-start`,`left-end`]}}),"data-table":l({description:`A data table with sortable columns, row selection, fixed columns, empty / loading / error states and pagination`,react:[`DataTable`,`Table`,`TableRoot`,`TableRow`,`TableHeader`,`TableCell`],wc:`minerva-data-table`,parts:{root:{description:`The outer wrapper of the table, the error state and the pagination (React: rendered by DataTable only)`},viewport:{description:`The scroll wrapper of the table (a focusable region while it scrolls)`},table:{description:`The <table>`,states:[`size`,`variant`]},row:{description:`A <tr> (header and body rows; selected rows have aria-selected=true). Item state: selected (body rows)`,itemStates:{selected:!0}},"header-cell":{description:`A <th> column header (sortable headers have aria-sort). Item state: sort (sortable headers only)`,itemStates:{sort:[`ascending`,`descending`,`none`]}},cell:{description:`A <td> body cell`},"sort-button":{description:`The sort button of a sortable header`},checkbox:{description:`A row / select-all selection checkbox`},empty:{description:`The cell of the empty state`},skeleton:{description:`A skeleton bar of the loading rows`},error:{description:`The error state (role=alert)`},"retry-button":{description:`The retry button of the error state. Web components only: React renders a Button, which has its own hooks`,only:`wc`},pagination:{description:`The <minerva-pagination> (its root and item parts are exported as pagination-root / pagination-item). Web components only: React renders a Pagination, which has its own hooks`,only:`wc`}},states:{loading:!0,size:[`small`,`medium`,`large`],variant:[`simple`,`striped`,`bordered`]}}),"date-picker":l({description:`A local date field with an accessible popup month calendar`,react:[`DatePicker`],wc:`minerva-date-picker`,parts:{root:{description:`The field wrapper (anchor of the panel)`,states:[`state`,`disabled`,`readonly`,`invalid`,`size`]},control:{description:`The input box (web components only: React renders a nested Input, style its hooks)`,only:`wc`},input:{description:`The native <input> (web components only: React renders a nested Input, style its hooks)`,only:`wc`},"clear-button":{description:`The clear button (web components only: React renders a nested IconButton, style its hooks)`,only:`wc`},icon:{description:`The calendar icon (shown when there is no clear button)`},day:{description:`A calendar day cell (web components only)`,only:`wc`},content:{description:`The popup panel (role=dialog)`,states:[`state`,`side`,`align`,`placement`]}},states:{state:[`open`,`closed`],disabled:!0,readonly:!0,invalid:!0,size:[`small`,`medium`,`large`],side:[`top`,`bottom`],align:[`start`,`end`],placement:[`bottom-start`,`bottom-end`,`top-start`,`top-end`]}}),"description-list":l({description:`Labeled metadata fields as a native <dl> of term / description rows`,react:[`DescriptionList`],wc:`minerva-description-list`,parts:{root:{description:`The <dl>`},row:{description:`Each row (one term / description pair)`},term:{description:`Each <dt>`},description:{description:`Each <dd>`}},states:{}}),divider:l({description:`A horizontal or vertical separator line, optionally with text (horizontal only)`,react:[`Divider`],wc:`minerva-divider`,parts:{root:{description:`The <hr>, or the role=separator element of a divider with text (align: position of the text)`},label:{description:`The text between the two halves of the line`}},states:{orientation:[`horizontal`,`vertical`],variant:[`solid`,`dashed`,`dotted`],align:[`left`,`center`,`right`]}}),drawer:l({description:`A side panel dialog sliding in from an edge over an overlay`,react:[`Drawer`,`DrawerContent`,`DrawerHeader`,`DrawerBody`,`DrawerFooter`],wc:`minerva-drawer`,parts:{overlay:{description:`The backdrop`,states:[`state`]},content:{description:`The dialog panel (role=dialog)`,states:[`state`,`side`,`size`]},header:{description:`The title (accessible name of the dialog)`},description:{description:`The description below the title (visually hidden when no description is given)`},body:{description:`The scrollable body`},footer:{description:`The actions row`},"close-button":{description:`The close (×) button`}},states:{state:[`open`,`closed`],side:[`left`,`right`,`top`,`bottom`],size:[`small`,`medium`,`large`,`full`]}}),empty:l({description:`An empty state: icon, title, description, actions and footer content`,react:[`Empty`],wc:`minerva-empty`,parts:{root:{description:`The region (role=status); size only for the unframed sized layout`},icon:{description:`The icon wrapper`},title:{description:`The title (accessible name of the region)`},description:{description:`The description`},actions:{description:`The actions row`},footer:{description:`The footer content`}},states:{size:[`small`,`medium`,`large`]}}),flashcard:l({description:`A two-sided study card that flips between a front (prompt) and a back (answer)`,react:[`Flashcard`],wc:`minerva-flashcard`,parts:{root:{description:`The outermost element (card and footer)`},card:{description:`The flipping card (role=button while flipOnClick); holds both faces`,states:[`state`,`disabled`]},front:{description:`The front face (the prompt)`},back:{description:`The back face (the answer)`},label:{description:`The small caption of a face`},hint:{description:`The flip hint on the front face (with showHint)`},footer:{description:`The footer below the card (not flipped)`}},states:{state:[`active`,`inactive`],disabled:!0,variant:[`elevated`,`outline`,`filled`],size:[`small`,`medium`,`large`]}}),"form-control":l({description:`A field container: a label with a required indicator, one control, a helper text and an error message`,react:[`FormControl`,`FormLabel`,`FormHelperText`,`FormErrorMessage`,`FormField`],wc:`minerva-form-control`,parts:{root:{description:`The field container`},label:{description:`The <label>`},"required-indicator":{description:`The required marker of the label`},"helper-text":{description:`The helper text (hidden while invalid)`},"error-message":{description:`The error message (role="alert", while invalid)`}},states:{disabled:!0,invalid:!0,readonly:!0,required:!0}}),"form-layout":l({description:`A responsive column grid for form fields`,react:[`FormLayout`],wc:`minerva-form-layout`,parts:{root:{description:`The form layout box (React: the native <form>; web components: the grid's query container, inside your own <form>)`},layout:{description:"The grid. Web components only: React renders a nested ResponsiveGrid (style its `responsive-grid` hooks)",only:`wc`}},states:{}}),"grid-item":l({description:`A cell of a responsive grid, optionally spanning the full row`,react:[`GridItem`],wc:`minerva-grid-item`,parts:{root:{description:"The grid cell (or the `asChild` child). React only: the <minerva-grid-item> element itself is the cell (style the element)",only:`react`}},states:{}}),hstack:l({description:`A horizontal stack (row), centered on the cross axis by default`,react:[`HStack`],wc:`minerva-hstack`,parts:{root:{description:`The flex container`}},states:{}}),"html-preview":l({description:`A sandboxed iframe preview of sanitized HTML, at desktop or mobile width`,react:[`HtmlPreview`],wc:`minerva-html-preview`,parts:{root:{description:`The scrolling container`},frame:{description:`The sandboxed <iframe>`}},states:{}}),"icon-button":l({description:`A button that only contains an icon, with a tooltip, toggle and loading states`,react:[`IconButton`],wc:`minerva-icon-button`,parts:{root:{description:`The native <button>; state active while a toggle button is pressed, inactive otherwise`},icon:{description:`The icon wrapper (hidden from assistive technologies)`},spinner:{description:`The loading indicator (while loading)`},tooltip:{description:`The tooltip (role=tooltip). Web components only: React wraps the button in a <Tooltip> component, which has its own hooks`,only:`wc`}},states:{state:[`active`,`inactive`],disabled:!0,loading:!0,size:[`xsmall`,`small`,`medium`,`large`],variant:[`ghost`,`solid`,`outline`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`],shape:[`circle`,`square`]}}),input:l({description:`A single-line text field with prefix / suffix, clear button, password toggle and character count`,react:[`Input`],wc:`minerva-input`,parts:{root:{description:`The field box (wraps the input and its addons)`},input:{description:`The native <input>`},prefix:{description:`The content before the text`},suffix:{description:`The content after the text`},"clear-button":{description:`The clear button (while there is a value)`},"password-toggle":{description:`The password visibility toggle (type=password)`},count:{description:`The character counter`}},states:{disabled:!0,invalid:!0,readonly:!0,required:!0,size:[`small`,`medium`,`large`],variant:[`outline`,`filled`,`unstyled`]}}),"json-field":l({description:`A strict-JSON text field with a format button and syntax feedback`,react:[`JsonField`],wc:`minerva-json-field`,parts:{root:{description:`The wrapper`},toolbar:{description:`The toolbar above the text (format button)`},"format-button":{description:`The format button (web components only: React renders an IconButton, styled with its own hooks)`,only:`wc`},input:{description:`The native <textarea> (web components only: React renders a Textarea, styled with its own hooks)`,only:`wc`},status:{description:`The validation status line (role=status)`}},states:{disabled:!0,invalid:!0,readonly:!0,required:!0}}),"kanban-board":l({description:`A horizontally scrolling board of status columns (KanbanColumn), equal-width by default`,react:[`KanbanBoard`],wc:`minerva-kanban-board`,parts:{root:{description:`The role=region scroll container holding the columns (keyboard scrollable)`}},states:{}}),"kanban-column":l({description:`A status column of a KanbanBoard: a header (accent, title, count, actions), a vertically scrolling list of cards and an optional footer`,react:[`KanbanColumn`],wc:`minerva-kanban-column`,parts:{root:{description:`The role=group column, labelled by its title and count (data-color names a theme accent)`},header:{description:`The header row (accent, title, count, actions)`},indicator:{description:`The accent dot before the title`},title:{description:`The title of the column`},count:{description:`The count badge (when count is set)`},actions:{description:`The header actions (when provided)`},description:{description:`The supporting text under the header (when provided)`},list:{description:`The role=list body holding the cards (each card is a role=listitem); scrolls vertically within a bounded board`},empty:{description:`The empty content shown instead of the list (no cards)`},footer:{description:`The footer below the list (when provided)`}},states:{color:[`primary`,`success`,`warning`,`danger`,`info`,`neutral`]}}),"key-value-editor":l({description:`An editable list of key / value rows (headers, metadata, variables)`,react:[`KeyValueEditor`],wc:`minerva-key-value-editor`,parts:{root:{description:`The container`},row:{description:`Each row (key field, value field and remove button). Item state: invalid (the key or the value has an error)`,itemStates:{invalid:!0}},"remove-button":{description:`The remove button of a row (web components only: React renders an IconButton, styled with its own hooks)`,only:`wc`},"add-button":{description:`The add button (web components only: React renders a Button, styled with its own hooks)`,only:`wc`}},states:{disabled:!0}}),list:l({description:`A quiet operational list of rows (role=list)`,react:[`List`],wc:`minerva-list`,parts:{root:{description:`The list (React: the <ul>; web components: its wrapper)`}},states:{}}),"list-item":l({description:`A list row with primary / secondary text, a decorative icon and actions`,react:[`ListItem`],wc:`minerva-list-item`,parts:{root:{description:`The row`},icon:{description:`The decorative leading icon wrapper`},label:{description:`The primary text`},description:{description:`The secondary text`},actions:{description:`The trailing actions wrapper`}},states:{}}),"loading-state":l({description:`A page / route / section loading presentation: a spinner next to a label in a polite status region`,react:[`LoadingState`],wc:`minerva-loading-state`,parts:{root:{description:`The status region`},spinner:{description:`The decorative spinner (wraps a ProgressIndicator in React; the <minerva-progress> element in the web components)`},label:{description:`The label`}},states:{size:[`small`,`medium`,`large`]}}),"media-player":l({description:`An audio or video player with themed custom controls: play / pause, skip, seek bar, time, volume, playback speed and fullscreen`,react:[`MediaPlayer`],wc:`minerva-media-player`,parts:{root:{description:`The outermost element (the focusable player)`},media:{description:`The native <audio> or <video> element`},title:{description:`The title of the media (audio bar, video overlay)`},controls:{description:`The control bar`},button:{description:`A control button (play, skip, mute, speed, fullscreen, picture-in-picture)`},seek:{description:`The seek bar (role=slider) with the buffered range`},time:{description:`The current time / duration text`},volume:{description:`The volume bar (role=slider)`},spinner:{description:`The loading indicator (while buffering)`},error:{description:`The error message (media that can't be played)`}},states:{loading:!0,invalid:!0,status:[`playing`,`paused`,`ended`],variant:[`audio`,`video`]}}),menu:l({description:`An action menu opened from a trigger button, with submenus, checkbox and radio items`,react:[`Menu`],wc:`minerva-menu`,parts:{trigger:{description:`The trigger: the native element child of Menu (state open / closed, disabled). React only: a component child (e.g. a Minerva Button) keeps its own hooks and gets aria-expanded; on the web components the trigger is your slotted element, style it from the host states (minerva-menu:state(open) > [slot=trigger])`,states:[`state`,`disabled`],only:`react`},content:{description:`A menu panel (role=menu: the root menu and its submenus, each with its own placement)`,states:[`state`,`size`,`side`,`align`,`placement`]},item:{description:`An item (role=menuitem, menuitemcheckbox or menuitemradio). Item states: highlighted (focused), disabled, checked / unchecked (checkbox and radio items), expanded (submenu trigger while its submenu is open)`,itemStates:{highlighted:!0,disabled:!0,state:[`checked`,`unchecked`],expanded:!0}},"item-indicator":{description:`The check mark / radio dot of a checkbox or radio item`},icon:{description:`The icon of an item`},"item-label":{description:`The label of an item`},shortcut:{description:`The keyboard shortcut hint of an item`},group:{description:`A group of entries (role=group, also radio groups)`},label:{description:`A group heading or section label`},separator:{description:`A separator`}},states:{state:[`open`,`closed`],disabled:!0,size:[`small`,`medium`],side:[`top`,`right`,`bottom`,`left`],align:[`start`,`center`,`end`],placement:[`top`,`top-start`,`top-end`,`right`,`right-start`,`right-end`,`bottom`,`bottom-start`,`bottom-end`,`left`,`left-start`,`left-end`]}}),modal:l({description:`A modal dialog over an overlay`,react:[`Modal`,`ModalContent`,`ModalHeader`,`ModalBody`,`ModalFooter`],wc:`minerva-modal`,parts:{overlay:{description:`The backdrop`,states:[`state`]},content:{description:`The dialog panel (role=dialog)`,states:[`state`,`size`]},header:{description:`The title (accessible name of the dialog)`},description:{description:`The description below the title`},body:{description:`The scrollable body`},footer:{description:`The actions row`},"close-button":{description:`The close (×) button`}},states:{state:[`open`,`closed`],size:[`small`,`medium`,`large`,`xlarge`,`full`]}}),"month-calendar":l({description:`A month grid of days with event counts, navigation and the events of the selected day`,react:[`MonthCalendar`],wc:`minerva-month-calendar`,parts:{root:{description:`The calendar <section>`},heading:{description:`The month heading`},"nav-button":{description:`The previous / today / next buttons`},grid:{description:`The role=grid element`},day:{description:`A day cell (role=gridcell). Item states: selected, today, outside (day of the previous / next month), disabled`,itemStates:{selected:!0,today:!0,outside:!0,disabled:!0}},events:{description:`The events section of the selected day`},event:{description:`An event (a button when events are clickable)`},empty:{description:`The text shown when the selected day has no event`}},states:{disabled:!0,size:[`small`,`medium`,`large`]}}),"nav-tree":l({description:`Sidebar navigation with sections, nested expandable branches, an active item and a compact mode`,react:[`NavTree`],wc:`minerva-nav-tree`,parts:{root:{description:`The <nav> landmark`},group:{description:`A section of items`},"group-label":{description:`The title of a section`},item:{description:`A link / button row (aria-current=page when active, aria-expanded on branches; not rendered by renderLink). Item states: current (active link), expanded (open branch), disabled`,itemStates:{current:!0,expanded:!0,disabled:!0}},icon:{description:`The icon of an item`},label:{description:`The label of an item`},description:{description:`The secondary text of an item`}},states:{}}),"number-input":l({description:`A numeric field (spinbutton) with min / max / step and stepper buttons`,react:[`NumberInput`],wc:`minerva-number-input`,parts:{root:{description:`The field box (wraps the input and the stepper)`},input:{description:`The native <input> (role="spinbutton")`},stepper:{description:`The increment / decrement column`},increment:{description:`The increment button`},decrement:{description:`The decrement button`}},states:{disabled:!0,invalid:!0,readonly:!0,required:!0,size:[`small`,`medium`,`large`]}}),option:l({description:`A selectable option of a select (role=option); its states are the item states of the select's options: selected, highlighted, disabled`,react:[`SelectItem`],wc:`minerva-option`,parts:{root:{description:`The option row`},label:{description:`The content wrapper`},indicator:{description:`The check mark (while selected)`}},states:{selected:!0,highlighted:!0,disabled:!0}}),"option-group":l({description:`A group of select options (role=group), labelled by a select-label`,react:[`SelectGroup`],wc:`minerva-option-group`,parts:{root:{description:`The group wrapper`}},states:{}}),page:l({description:`The padded, vertically spaced column of a screen's content`,react:[`Page`],wc:`minerva-page`,parts:{root:{description:`The page column`}},states:{}}),"page-header":l({description:`The page heading (h1) with an optional description and actions`,react:[`PageHeader`],wc:`minerva-page-header`,parts:{root:{description:`The <header>`},title:{description:`The <h1>`},description:{description:`The description paragraph`},actions:{description:`The actions wrapper`}},states:{}}),"page-section":l({description:`A page region named by its h2 title, with optional description, icon and actions`,react:[`PageSection`],wc:`minerva-page-section`,parts:{root:{description:`The <section>`},header:{description:`The title row (title, description and actions)`},title:{description:`The <h2>`},icon:{description:`The decorative icon wrapper, inside the title`},description:{description:`The description paragraph`},actions:{description:`The actions wrapper`}},states:{}}),"page-tab":l({description:`One open page of a page tabs strip`,react:[`PageTab`],wc:`minerva-page-tab`,parts:{root:{description:`The item wrapper`},trigger:{description:`The label <button> (selects the page)`},icon:{description:`The icon before the label`},label:{description:`The (truncated) label`},action:{description:`The wrapper of the separate control next to the label`},"close-button":{description:"The built-in close button (`closable`; React passes its own control as `action`)",only:`wc`}},states:{current:!0,disabled:!0}}),"page-tabs":l({description:`A horizontally scrolling strip of open application pages (route navigation)`,react:[`PageTabs`],wc:`minerva-page-tabs`,parts:{root:{description:`The <nav> landmark`},viewport:{description:`The scrolling viewport of the items`},list:{description:`The item list`},"scroll-button":{description:`The scroll left / right buttons (while the items overflow). Web components only: React renders IconButton components, which have their own hooks`,only:`wc`},actions:{description:`The global actions after the list`}},states:{}}),pagination:l({description:`Page navigation with page buttons, an optional total, quick jumper and page size selector`,react:[`Pagination`],wc:`minerva-pagination`,parts:{root:{description:`The <nav> landmark`},item:{description:`A page / previous / next / jump button (the current page has aria-current=page). Item states: current (the current page), disabled`,itemStates:{current:!0,disabled:!0}},total:{description:`The total text`},jumper:{description:`The quick jumper label (wraps its input)`},"size-changer":{description:`The page size <select>`},"simple-input":{description:`The page input of the simple mode`}},states:{disabled:!0,size:[`small`,`medium`,`large`],shape:[`circle`,`rounded`,`square`],variant:[`solid`,`outline`,`ghost`]}}),"palette-toggle":l({description:`A color palette switch (a group of toggle buttons), orthogonal to the light / dark mode`,react:[`PaletteToggle`],wc:`minerva-palette-toggle`,parts:{root:{description:`The role=group wrapper`},item:{description:`Every option button (aria-pressed on the selected one). Item state: active (the selected palette, aria-pressed) / inactive`,itemStates:{state:[`active`,`inactive`]}}},states:{}}),popover:l({description:`A click-triggered interactive panel (role=dialog) anchored to its trigger`,react:[`PopoverTrigger`,`PopoverContent`],wc:`minerva-popover`,parts:{trigger:{description:`The trigger <button> (React only: the web component's trigger is the slotted element, style it directly; not rendered with asChild, the child keeps its own hooks)`,states:[`state`],only:`react`},content:{description:`The positioned panel (role=dialog)`,states:[`state`,`side`,`align`,`placement`]},arrow:{description:`The arrow pointing at the anchor (with arrow)`}},states:{state:[`open`,`closed`],side:[`top`,`right`,`bottom`,`left`],align:[`start`,`center`,`end`],placement:[`top`,`top-start`,`top-end`,`right`,`right-start`,`right-end`,`bottom`,`bottom-start`,`bottom-end`,`left`,`left-start`,`left-end`]}}),progress:l({description:`A loading indicator: spinner, circle, wave, bar or dotted bar; the bar and circle also show a determinate value`,react:[`ProgressIndicator`],wc:`minerva-progress`,parts:{root:{description:`The indicator (role=progressbar unless decorative); color current follows the text color`},icon:{description:`The icon before the indicator`},indicator:{description:`The indicator (ring, wave or bar; a filled bar or arc when determinate)`},value:{description:`The formatted value of a determinate indicator`},label:{description:`The visible label`}},states:{variant:[`spinner`,`bar`,`wave`,`circle`,`dotted-bar`],size:[`xsmall`,`small`,`medium`,`large`,`xlarge`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`,`current`]}}),prose:l({description:`Theme-aware typography for semantic HTML (articles, Markdown)`,react:[`Prose`],wc:`minerva-prose`,parts:{root:{description:"The typography container (or the `asChild` child). React only: the <minerva-prose> element itself is the container (style the element)",only:`react`}},states:{}}),radio:l({description:`A radio button with a label and a helper / error text`,react:[`Radio`],wc:`minerva-radio`,parts:{root:{description:`The wrapper (the clickable row and the helper text)`},input:{description:`The native <input type="radio"> (React only: the web component host is the radio itself)`,only:`react`},control:{description:`The visual radio mark`},label:{description:`The label text`},"helper-text":{description:`The helper / error text`}},states:{state:[`checked`,`unchecked`],disabled:!0,invalid:!0,size:[`small`,`medium`,`large`],color:[`primary`,`success`,`warning`,`danger`]}}),"radio-group":l({description:`A set of radios of which one can be selected, with a label and a helper text`,react:[`RadioGroup`],wc:`minerva-radio-group`,parts:{root:{description:`The wrapper`},label:{description:`The visible group label`},list:{description:`The element with role="radiogroup" (the radios)`},"helper-text":{description:`The helper text`}},states:{disabled:!0,invalid:!0,required:!0,orientation:[`horizontal`,`vertical`],size:[`small`,`medium`,`large`],color:[`primary`,`success`,`warning`,`danger`]}}),rating:l({description:`A score drawn as 5 stars, display-only or an interactive slider, optionally followed by the value and the number of ratings`,react:[`Rating`],wc:`minerva-rating`,parts:{root:{description:`The root (role="slider", or role="img" when display-only)`},stars:{description:`The star row`},star:{description:`Each star. Item state: fill`,itemStates:{fill:[`full`,`half`,`empty`]}},value:{description:`The score and the count`},count:{description:`The number of ratings`}},states:{readonly:!0,size:[`small`,`medium`,`large`]}}),"rating-scale":l({description:`Several labelled ratings sharing one scale (one rating per row)`,react:[`RatingScale`],wc:`minerva-rating-scale`,parts:{root:{description:`The list of rows`},row:{description:`Each row (a label and a rating)`},label:{description:`The label of a row`}},states:{readonly:!0,size:[`small`,`medium`,`large`]}}),"responsive-grid":l({description:`An equal-width column grid whose column count follows its own width (container queries)`,react:[`ResponsiveGrid`],wc:`minerva-responsive-grid`,parts:{root:{description:`The query container`},layout:{description:`The grid (its children are the grid items)`}},states:{}}),"segmented-control":l({description:`A single-choice segmented switch for modes and filters, with a sliding thumb on the selected segment`,react:[`SegmentedControl`],wc:`minerva-segmented-control`,parts:{root:{description:`The element with role="radiogroup" (the track)`},indicator:{description:`The sliding thumb under the selected segment`},item:{description:`A segment (role="radio"). Item states: selected, disabled`,itemStates:{selected:!0,disabled:!0}},icon:{description:`The icon of a segment`},label:{description:`The text label of a segment`}},states:{disabled:!0,size:[`small`,`medium`,`large`],color:[`neutral`,`primary`]}}),select:l({description:`A single-choice dropdown: a combobox trigger and a listbox popup of options`,react:[`Select`],wc:`minerva-select`,parts:{root:{description:`The trigger (<button role=combobox>)`,states:[`state`,`disabled`,`invalid`,`required`,`size`]},value:{description:`The selected label / placeholder`},icon:{description:`The chevron`},content:{description:`The listbox popup (role=listbox)`,states:[`state`,`side`,`align`,`placement`]},item:{description:"An option rendered from the `options` property (web components only: React options are SelectItem elements, see option). Item states: selected, highlighted, disabled",only:`wc`,itemStates:{selected:!0,highlighted:!0,disabled:!0}},"group-label":{description:"A group heading rendered from the `options` property (web components only: React uses SelectLabel, see select-label)",only:`wc`}},states:{state:[`open`,`closed`],disabled:!0,invalid:!0,required:!0,size:[`small`,`medium`,`large`],side:[`top`,`bottom`],align:[`start`,`end`],placement:[`bottom-start`,`bottom-end`,`top-start`,`top-end`]}}),"select-label":l({description:`The (non-selectable) heading of a group of select options`,react:[`SelectLabel`],wc:`minerva-select-label`,parts:{root:{description:`The label`}},states:{}}),"select-separator":l({description:`A presentational divider between select options or groups`,react:[`SelectSeparator`],wc:`minerva-select-separator`,parts:{root:{description:`The line`}},states:{}}),skeleton:l({description:`Placeholder shapes shown while content loads (lines, avatar, title, paragraph, card)`,react:[`Skeleton`],wc:`minerva-skeleton`,parts:{root:{description:`The busy region (role=status), or the single block of a decorative skeleton`},avatar:{description:`The avatar placeholder`},title:{description:`The title placeholder`},line:{description:`Each line placeholder (also the paragraph lines)`}},states:{variant:[`text`,`circular`,`rectangular`,`rounded`,`button`,`image`,`card`]}}),"skeleton-text":l({description:`A decorative block of text-line placeholders (hidden from assistive technologies)`,react:[`SkeletonText`],wc:`minerva-skeleton-text`,parts:{root:{description:`The block of lines`},line:{description:`Each line placeholder`}},states:{}}),slider:l({description:`A range input: one thumb (or two with range) on a track, with optional marks, value label and tooltip`,react:[`Slider`],wc:`minerva-slider`,parts:{root:{description:`The outermost element`},control:{description:`The interactive area holding the rail, the marks and the thumbs`},rail:{description:`The full-length track`},range:{description:`The filled part of the track (up to the value, or between the thumbs)`},thumb:{description:`A thumb (role=slider). Item states: dragging, disabled`,itemStates:{dragging:!0,disabled:!0}},tooltip:{description:`The value bubble of a thumb (with tooltip, while dragging or focused)`},mark:{description:`A tick of the scale. Item state: active (inside the filled range) / inactive`,itemStates:{state:[`active`,`inactive`]}},"mark-label":{description:`The label of a mark`},value:{description:`The inline value label (with showValue)`},input:{description:`The hidden form input(s) (with name). React only: the custom element is form-associated itself`,only:`react`}},states:{disabled:!0,readonly:!0,invalid:!0,dragging:!0,size:[`small`,`medium`,`large`],color:[`primary`,`success`,`info`,`warning`,`danger`],orientation:[`horizontal`,`vertical`],variant:[`single`,`range`]}}),"split-layout":l({description:`Main content with an optional aside column that splits beside it at a container breakpoint`,react:[`SplitLayout`],wc:`minerva-split-layout`,parts:{root:{description:`The query container`},main:{description:`The main column`},aside:{description:`The aside column (when there is aside content)`}},states:{}}),stack:l({description:`A flex row / column with a token gap, optional separators and attached groups`,react:[`Stack`],wc:`minerva-stack`,parts:{root:{description:`The flex container`}},states:{orientation:[`horizontal`,`vertical`]}}),"stat-card":l({description:`A labelled metric with an optional icon and description`,react:[`StatCard`],wc:`minerva-stat-card`,parts:{root:{description:`The card`},icon:{description:`The decorative icon wrapper`},label:{description:`The metric name (<dt>)`},value:{description:`The metric value (<dd>)`},description:{description:`The description paragraph`}},states:{}}),steps:l({description:`The stages of a workflow as an ordered list, navigable or read-only`,react:[`Steps`],wc:`minerva-steps`,parts:{root:{description:`The <ol>`},item:{description:`A step <li> (the current step has aria-current=step). Item states: current (the current step, like pagination / nav-tree items; it has no status), status (complete: before the current step, upcoming: after it), disabled (navigable steps only: a disabled step has no effect in read-only steps)`,itemStates:{current:!0,disabled:!0,status:[`complete`,`upcoming`]}},button:{description:`The <button> of a step (navigable) or its static wrapper (read-only)`},indicator:{description:`The numbered indicator of a step`},label:{description:`The label of a step`}},states:{readonly:!0}}),switch:l({description:`A two-state toggle (role=switch): a slider, with optional side labels, or two segments`,react:[`Switch`],wc:`minerva-switch`,parts:{root:{description:`The outer element (<label>; a <span> with side labels; the group of segments)`},input:{description:`The native <input type="checkbox" role="switch">`},control:{description:`The slider box (wraps the track and the thumb)`},track:{description:`The track`},thumb:{description:`The thumb`},icon:{description:`The icon (in the thumb or after the slider)`},label:{description:`The label text`},side:{description:`The off / on side labels (buttons)`},segment:{description:`The off / on segments (buttons, variant="segmented")`}},states:{state:[`checked`,`unchecked`],disabled:!0,loading:!0,invalid:!0,readonly:!0,required:!0,size:[`small`,`medium`,`large`],color:[`primary`,`success`,`info`,`warning`,`danger`],shape:[`round`,`square`],variant:[`slider`,`segmented`]}}),tab:l({description:`A role=tab trigger of a tabs group`,react:[`Tab`],wc:`minerva-tab`,parts:{root:{description:`The visual tab trigger`}},states:{state:[`active`,`inactive`],disabled:!0,orientation:[`horizontal`,`vertical`],variant:[`line`,`enclosed`,`soft`,`pills`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`]}}),"tab-panel":l({description:`The role=tabpanel content of a tab`,react:[`TabPanel`],wc:`minerva-tab-panel`,parts:{root:{description:`The panel wrapper`}},states:{state:[`active`,`inactive`],orientation:[`horizontal`,`vertical`]}}),"table-cell-content":l({description:`Bounded, wrapping content inside a table cell, with an optional muted secondary line`,react:[`TableCellContent`],wc:`minerva-table-cell-content`,parts:{root:{description:`The wrapper (bounded width)`},primary:{description:`The primary line (<code> when monospace)`},secondary:{description:`The muted secondary line`}},states:{}}),tabs:l({description:`Accessible tabs: a tab list and the panels of its tabs, with a variant, a color and an orientation`,react:[`Tabs`,`TabList`],wc:`minerva-tabs`,parts:{root:{description:`The root wrapper of the tab list and the panels`},list:{description:`The role=tablist container of the tabs`,states:[`orientation`,`variant`]}},states:{orientation:[`horizontal`,`vertical`],variant:[`line`,`enclosed`,`soft`,`pills`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`]}}),tag:l({description:`A small label for marking and categorizing, optionally clickable, toggleable or closable`,react:[`Tag`],wc:`minerva-tag`,parts:{root:{description:`The tag (a plain, non-interactive element); state active while a clickable tag is pressed, inactive otherwise`},action:{description:`The native <button> of a clickable tag`},label:{description:`The label wrapper`},icon:{description:`The icon before the label`},avatar:{description:`The avatar before the label`},spinner:{description:`The loading spinner (while loading)`},"close-button":{description:`The close button`}},states:{state:[`active`,`inactive`],disabled:!0,loading:!0,size:[`small`,`medium`,`large`],variant:[`subtle`,`outline`,`solid`],color:[`primary`,`neutral`,`success`,`warning`,`danger`,`info`],shape:[`square`,`rounded`,`circle`]}}),"tag-input":l({description:`A text field that collects a list of tags, with optional suggestions`,react:[`TagInput`],wc:`minerva-tag-input`,parts:{root:{description:`The wrapper`},tags:{description:`The list of tags`},tag:{description:`A tag (web components only: React renders a Tag, styled with its own hooks)`,only:`wc`},"remove-button":{description:`The remove button of a tag (web components only, see tag)`,only:`wc`},control:{description:`The text field box (web components only: React renders an Input, styled with its own hooks)`,only:`wc`},input:{description:`The native text <input> (role="combobox"; web components only, see control)`,only:`wc`},list:{description:`The suggestion list (role=listbox, while open)`},option:{description:`A suggestion (role=option; the highlighted one has aria-selected="true. Item state: highlighted")`,itemStates:{highlighted:!0}},empty:{description:`The text shown when no suggestion matches`},"add-button":{description:`The add button (web components only: React renders an IconButton, styled with its own hooks)`,only:`wc`},"clear-button":{description:`The clear button (web components only: React renders an IconButton, styled with its own hooks)`,only:`wc`}},states:{state:[`open`,`closed`],disabled:!0,invalid:!0,readonly:!0,required:!0,size:[`small`,`medium`,`large`]}}),"text-link":l({description:`A styled native link (default inline link, subtle link with a chevron, action row)`,react:[`TextLink`],wc:`minerva-text-link`,parts:{root:{description:`The native <a> (React: the slotted child with asChild)`}},states:{variant:[`default`,`subtle`,`action`]}}),textarea:l({description:`A multi-line text field sharing the input's look`,react:[`Textarea`],wc:`minerva-textarea`,parts:{root:{description:`The native <textarea>`}},states:{disabled:!0,invalid:!0,readonly:!0,required:!0,size:[`small`,`medium`,`large`],variant:[`outline`,`filled`,`unstyled`]}}),"theme-toggle":l({description:`A light / dark / system theme switch (a group of toggle buttons)`,react:[`ThemeToggle`],wc:`minerva-theme-toggle`,parts:{root:{description:`The role=group wrapper`},item:{description:`Every option button (aria-pressed on the selected one). Item state: active (the selected option, aria-pressed) / inactive`,itemStates:{state:[`active`,`inactive`]}}},states:{}}),"time-picker":l({description:`A time field with a popup of hours / minutes / seconds columns`,react:[`TimePicker`],wc:`minerva-time-picker`,parts:{root:{description:`The field wrapper (anchor of the panel)`,states:[`state`,`disabled`,`readonly`,`invalid`,`size`]},control:{description:`The input box (web components only: React renders a nested Input, style its hooks)`,only:`wc`},input:{description:`The native <input> (web components only: React renders a nested Input, style its hooks)`,only:`wc`},"clear-button":{description:`The clear button (web components only: React renders a nested IconButton, style its hooks)`,only:`wc`},icon:{description:`The clock icon (shown when there is no clear button)`},content:{description:`The popup panel (role=dialog)`,states:[`state`,`side`,`align`,`placement`]},column:{description:`An hours / minutes / seconds / AM-PM column (role=listbox)`},item:{description:`A time unit (role=option). Item states: selected, disabled`,itemStates:{selected:!0,disabled:!0}}},states:{state:[`open`,`closed`],disabled:!0,readonly:!0,invalid:!0,size:[`small`,`medium`,`large`],side:[`top`,`bottom`],align:[`start`,`end`],placement:[`bottom-start`,`bottom-end`,`top-start`,`top-end`]}}),"toast-region":l({description:`The fixed stack (role=region) rendering the toasts of the toast() API`,react:[`ToastProvider`],wc:`minerva-toast-region`,parts:{root:{description:`The fixed stack (role=region)`},toast:{description:`A toast (role=status, or alert for danger). Item states: open / closed (while leaving), color, loading`,itemStates:{state:[`open`,`closed`],color:[`info`,`success`,`warning`,`danger`],loading:!0}},icon:{description:`The icon of a toast (spinner while loading)`},title:{description:`The title of a toast`},description:{description:`The description of a toast`},action:{description:`The action button of a toast`},"close-button":{description:`The close (×) button of a toast`},progress:{description:`The countdown bar of a timed toast`}},states:{}}),toolbar:l({description:`A wrapping row of related controls (role=group)`,react:[`Toolbar`],wc:`minerva-toolbar`,parts:{root:{description:`The group`}},states:{}}),tooltip:l({description:`Informative content shown when the wrapped element is hovered or focused`,react:[`Tooltip`],wc:`minerva-tooltip`,parts:{trigger:{description:`The wrapper around the trigger (React: not rendered with asChild, the child keeps its own hooks)`,states:[`state`,`disabled`]},content:{description:`The positioned tooltip (role=tooltip, while shown)`,states:[`state`,`color`,`variant`,`shape`,`side`,`align`,`placement`]},arrow:{description:`The arrow pointing at the trigger (with arrow)`}},states:{state:[`open`,`closed`],disabled:!0,color:[`neutral`,`info`,`success`,`warning`,`danger`],variant:[`solid`,`subtle`,`glass`],shape:[`default`,`rounded`,`thought`,`square`],side:[`top`,`right`,`bottom`,`left`],align:[`start`,`center`,`end`],placement:[`top`,`top-start`,`top-end`,`right`,`right-start`,`right-end`,`bottom`,`bottom-start`,`bottom-end`,`left`,`left-start`,`left-end`]}}),upload:l({description:`A file picker with a drop zone, validation and a list of files with their status`,react:[`Upload`],wc:`minerva-upload`,parts:{root:{description:`The container (role=group)`},label:{description:`The visible label`},dropzone:{description:`The drop target`},"select-button":{description:`The select button (web components only: React renders a nested Button, style its hooks)`,only:`wc`},error:{description:`The selection error (web components only: React renders a nested Alert, style its hooks)`,only:`wc`},list:{description:`The file list`},item:{description:`A file. Item state: status of the file`,itemStates:{status:[`uploading`,`done`,`error`]}},"retry-button":{description:`The retry button of a failed file (web components only: React renders a nested IconButton, style its hooks)`,only:`wc`},"remove-button":{description:`The remove button of a file (web components only: React renders a nested IconButton, style its hooks)`,only:`wc`}},states:{disabled:!0,loading:!0,dragging:!0}}),"virtual-list":l({description:`A virtualized scrolling list that only renders the visible rows, with infinite loading`,react:[`VirtualList`],wc:`minerva-virtual-list`,parts:{root:{description:`The scroll container (role=region)`},list:{description:`The list (role=list) sized to all the rows`},item:{description:`A rendered row (role=listitem)`},loading:{description:`The loading indicator row (while loading)`}},states:{loading:!0}}),vstack:l({description:`A vertical stack (column), stretched on the cross axis by default`,react:[`VStack`],wc:`minerva-vstack`,parts:{root:{description:`The flex container`}},states:{}}),"week-strip":l({description:`The seven days of a week in a row, with a selected day, today, per-day markers and optional week navigation`,react:[`WeekStrip`],wc:`minerva-week-strip`,parts:{root:{description:`The outermost element`},heading:{description:`The month of the week (with showNavigation)`},"nav-button":{description:`The previous / next week buttons (with showNavigation)`},list:{description:`The role=listbox element holding the days`},day:{description:`A day (role=option). Item states: selected, today, disabled`,itemStates:{selected:!0,today:!0,disabled:!0}},indicator:{description:`The marker of a day: empty, a count badge or a dot`}},states:{disabled:!0,size:[`small`,`medium`,`large`]}})},d=[`minerva-config`,`minerva-confirm-provider`,`minerva-description-item`,`minerva-menu-checkbox-item`,`minerva-menu-group`,`minerva-menu-item`,`minerva-menu-label`,`minerva-menu-radio-item`,`minerva-menu-separator`,`minerva-tooltip-provider`],f=e=>t.includes(e);function p(e={}){return Object.entries(e).map(([e,t])=>f(e)||t===!0?`[${i(e)}]`:`[${i(e)}="${t}"]`).join(``)}function m(e={}){return Object.entries(e).map(([e,t])=>`:state(${a(e,t===!0?void 0:t)})`).join(``)}function h(e,t,n,r){return`[data-minerva="${e}"]${t?`[data-part="${t}"]`:``}${p(n)}${p(r)}`}function g(e,t={}){return[e,...Object.entries(t).map(([t,n])=>s(e,t,n===!0?void 0:n))].join(` `)}function _(e,t,n,r){let i=u[e]?.wc??`minerva-${e}`,a=t&&r?g(t,r):t;return`${i}${m(n)}${a?`::part(${a})`:``}`}function v(e){return Object.fromEntries(Object.keys(e).sort().map(t=>{let n=e[t];return[t,Array.isArray(n)?[...n].sort():n]}))}function y(e=u){return Object.fromEntries(Object.keys(e).sort().map(t=>{let n=e[t];return[t,{react:[...n.react].sort(),wc:n.wc,parts:Object.fromEntries(Object.keys(n.parts).sort().map(e=>{let{states:t,only:r,itemStates:i}=n.parts[e];return[e,{...t?{states:[...t].sort()}:{},...r?{only:r}:{},...i?{itemStates:v(i)}:{}}]})),states:v(n.states)}]}))}exports.ATTRIBUTES=r,exports.BOOLEAN_STATES=t,exports.ITEM_STATE_SEPARATOR=o,exports.KEYED_STATES=n,exports.NON_VISUAL_ELEMENTS=d,exports.STABILITY_POLICY=c,exports.STATE_VALUES=e,exports.customStateName=a,exports.defineHooks=l,exports.hookSurface=y,exports.itemPartName=s,exports.reactSelector=h,exports.reactStateSelector=p,exports.stateAttribute=i,exports.stylingHooks=u,exports.wcItemParts=g,exports.wcSelector=_,exports.wcStateSelector=m;
|
|
2
2
|
//# sourceMappingURL=styling-hooks.cjs.map
|