minerva-design 1.0.0 → 1.0.2
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 +12 -0
- package/custom-elements.json +663 -0
- package/dist/angular/fesm2022/minerva-angular.mjs +1163 -34
- package/dist/angular/fesm2022/minerva-angular.mjs.map +1 -1
- package/dist/angular/types/minerva-angular.d.ts +237 -1
- package/dist/core/calendar-date.d.cts +5 -0
- package/dist/core/calendar-date.d.ts +5 -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/index.cjs +6 -6
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +671 -630
- package/dist/core/index.js.map +1 -1
- package/dist/core/styling-hooks/components/date-picker.d.cts +45 -0
- package/dist/core/styling-hooks/components/date-picker.d.ts +45 -0
- package/dist/core/styling-hooks/manifest.d.cts +44 -0
- package/dist/core/styling-hooks/manifest.d.ts +44 -0
- package/dist/core/styling-hooks.cjs +1 -1
- package/dist/core/styling-hooks.cjs.map +1 -1
- package/dist/core/styling-hooks.js +62 -0
- package/dist/core/styling-hooks.js.map +1 -1
- package/dist/native/components/Calendar/Calendar.cjs +1 -1
- package/dist/native/components/Calendar/Calendar.cjs.map +1 -1
- package/dist/native/components/Calendar/Calendar.d.cts +2 -0
- package/dist/native/components/Calendar/Calendar.d.ts +2 -0
- package/dist/native/components/Calendar/Calendar.js +115 -112
- package/dist/native/components/Calendar/Calendar.js.map +1 -1
- package/dist/native/components/Checkbox/Checkbox.cjs +1 -1
- package/dist/native/components/Checkbox/Checkbox.cjs.map +1 -1
- package/dist/native/components/Checkbox/Checkbox.js +8 -8
- package/dist/native/components/Checkbox/CheckboxGroup.cjs +1 -1
- package/dist/native/components/Checkbox/CheckboxGroup.cjs.map +1 -1
- package/dist/native/components/Checkbox/CheckboxGroup.js +6 -6
- package/dist/native/components/DatePicker/DatePicker.cjs +2 -0
- package/dist/native/components/DatePicker/DatePicker.cjs.map +1 -0
- package/dist/native/components/DatePicker/DatePicker.d.cts +40 -0
- package/dist/native/components/DatePicker/DatePicker.d.ts +40 -0
- package/dist/native/components/DatePicker/DatePicker.js +110 -0
- package/dist/native/components/DatePicker/DatePicker.js.map +1 -0
- package/dist/native/components/DatePicker/index.cjs +1 -0
- package/dist/native/components/DatePicker/index.d.cts +2 -0
- package/dist/native/components/DatePicker/index.d.ts +2 -0
- package/dist/native/components/DatePicker/index.js +2 -0
- package/dist/native/components/Radio/RadioGroup.cjs +1 -1
- package/dist/native/components/Radio/RadioGroup.cjs.map +1 -1
- package/dist/native/components/Radio/RadioGroup.js +9 -9
- package/dist/native/components/Switch/Switch.cjs +1 -1
- package/dist/native/components/Switch/Switch.cjs.map +1 -1
- package/dist/native/components/Switch/Switch.js +23 -23
- package/dist/native/components/Switch/Switch.js.map +1 -1
- package/dist/native/index.cjs +1 -1
- package/dist/native/index.d.cts +1 -0
- package/dist/native/index.d.ts +1 -0
- package/dist/native/index.js +70 -68
- package/dist/native/source/components/Calendar/Calendar.tsx +14 -6
- package/dist/native/source/components/DatePicker/DatePicker.tsx +201 -0
- package/dist/native/source/components/DatePicker/index.ts +2 -0
- package/dist/native/source/index.ts +1 -0
- package/dist/native/source/manifest.ts +6 -0
- package/dist/react/components/DatePicker/DatePicker.cjs +2 -0
- package/dist/react/components/DatePicker/DatePicker.cjs.map +1 -0
- package/dist/react/components/DatePicker/DatePicker.d.cts +13 -0
- package/dist/react/components/DatePicker/DatePicker.d.ts +13 -0
- package/dist/react/components/DatePicker/DatePicker.js +315 -0
- package/dist/react/components/DatePicker/DatePicker.js.map +1 -0
- package/dist/react/components/DatePicker/datePicker.module.scss.cjs +2 -0
- package/dist/react/components/DatePicker/datePicker.module.scss.cjs.map +1 -0
- package/dist/react/components/DatePicker/datePicker.module.scss.js +23 -0
- package/dist/react/components/DatePicker/datePicker.module.scss.js.map +1 -0
- package/dist/react/components/DatePicker/index.cjs +1 -0
- package/dist/react/components/DatePicker/index.d.cts +5 -0
- package/dist/react/components/DatePicker/index.d.ts +5 -0
- package/dist/react/components/DatePicker/index.js +3 -0
- package/dist/react/components/DatePicker/types.d.cts +97 -0
- package/dist/react/components/DatePicker/types.d.ts +97 -0
- package/dist/react/components/Tooltip/Tooltip.cjs +1 -1
- package/dist/react/components/Tooltip/Tooltip.cjs.map +1 -1
- package/dist/react/components/Tooltip/Tooltip.js +5 -5
- package/dist/react/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/react/components/index.cjs +1 -1
- package/dist/react/components/index.d.cts +1 -0
- package/dist/react/components/index.d.ts +1 -0
- package/dist/react/components/index.js +3 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.js +7 -6
- package/dist/react/style.css +1 -0
- package/dist/react/styles/date-picker.css +7 -0
- package/dist/taro/date-picker.d.ts +20 -0
- package/dist/taro/index.d.ts +1 -0
- package/dist/taro/index.js +1155 -990
- package/dist/uni/DatePicker.vue +225 -0
- package/dist/uni/DatePicker.vue.d.ts +36 -0
- package/dist/uni/MonthCalendar.vue +2 -0
- package/dist/uni/MonthCalendar.vue.d.ts +2 -0
- package/dist/uni/index.d.ts +1 -0
- package/dist/uni/index.js +1 -0
- package/dist/uni/manifest.d.ts +7 -0
- package/dist/uni/manifest.js +8 -0
- package/dist/vue/components/DatePicker/DatePicker.vue.d.ts +36 -0
- package/dist/vue/components/DatePicker/DatePicker.vue.js +7 -0
- package/dist/vue/components/DatePicker/DatePicker.vue.js.map +1 -0
- package/dist/vue/components/DatePicker/DatePicker.vue_vue_type_script_setup_true_lang.js +380 -0
- package/dist/vue/components/DatePicker/DatePicker.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/dist/vue/components/DatePicker/index.d.ts +2 -0
- package/dist/vue/components/DatePicker/index.js +2 -0
- package/dist/vue/components/DatePicker/types.d.ts +26 -0
- package/dist/vue/components/MonthCalendar/MonthCalendar.vue.d.ts +1 -1
- package/dist/vue/global.d.ts +108 -0
- package/dist/vue/groups/forms-pickers.d.ts +1 -0
- package/dist/vue/groups/forms-pickers.js +5 -2
- package/dist/vue/groups/forms-pickers.js.map +1 -1
- package/dist/vue/index.js +95 -94
- package/dist/weapp/controls.js +259 -76
- package/dist/weapp/date-picker/index.js +1 -0
- package/dist/weapp/date-picker/index.json +1 -0
- package/dist/weapp/date-picker/index.wxml +1 -0
- package/dist/weapp/date-picker/index.wxss +1 -0
- package/dist/weapp/types.d.ts +19 -0
- package/dist/web-components/cdn/minerva.js +461 -335
- package/dist/web-components/cdn/minerva.js.map +1 -1
- package/dist/web-components/components/date-picker/date-picker.d.ts +110 -0
- package/dist/web-components/components/date-picker/date-picker.js +378 -0
- package/dist/web-components/components/date-picker/date-picker.js.map +1 -0
- package/dist/web-components/elements/date-picker.d.ts +1 -0
- package/dist/web-components/elements/date-picker.js +8 -0
- package/dist/web-components/elements/date-picker.js.map +1 -0
- package/dist/web-components/html-custom-data.json +85 -0
- package/dist/web-components/index.d.ts +1 -0
- package/dist/web-components/index.js +8 -6
- package/dist/web-components/styles/DatePicker/datePicker.css.js +6 -0
- package/dist/web-components/styles/DatePicker/datePicker.css.js.map +1 -0
- package/dist/web-components/types/react.d.ts +12 -0
- package/dist/web-components/types/solid.d.ts +9 -0
- package/dist/web-components/types/svelte.d.ts +9 -0
- package/dist/web-components/types/vue.d.ts +10 -0
- package/package.json +9 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styling-hooks.js","names":["alertHooks","appShellHooks","autocompleteHooks","avatarHooks","avatarGroupHooks","badgeHooks","boxHooks","buttonHooks","cardHooks","cardContentHooks","cardDescriptionHooks","cardFooterHooks","cardHeaderHooks","cardTitleHooks","cascaderHooks","checkboxHooks","codeBlockHooks","codeEditorHooks","commandDialogHooks","confirmDialogHooks","contextMenuHooks","dataTableHooks","descriptionListHooks","dividerHooks","drawerHooks","emptyHooks","formControlHooks","formLayoutHooks","gridItemHooks","hstackHooks","htmlPreviewHooks","iconButtonHooks","inputHooks","jsonFieldHooks","keyValueEditorHooks","listHooks","listItemHooks","loadingStateHooks","menuHooks","modalHooks","monthCalendarHooks","navTreeHooks","numberInputHooks","optionHooks","optionGroupHooks","pageHooks","pageHeaderHooks","pageSectionHooks","pageTabHooks","pageTabsHooks","paginationHooks","paletteToggleHooks","popoverHooks","progressHooks","proseHooks","radioHooks","radioGroupHooks","ratingHooks","ratingScaleHooks","responsiveGridHooks","selectHooks","selectLabelHooks","selectSeparatorHooks","skeletonHooks","skeletonTextHooks","splitLayoutHooks","stackHooks","statCardHooks","stepsHooks","switchHooks","tabHooks","tabPanelHooks","tableCellContentHooks","tabsHooks","tagHooks","tagInputHooks","textLinkHooks","textareaHooks","themeToggleHooks","timePickerHooks","toastRegionHooks","toolbarHooks","tooltipHooks","uploadHooks","virtualListHooks","vstackHooks","STATE_VALUES","BOOLEAN_STATES","KEYED_STATES","ATTRIBUTES","stateAttribute","key","customStateName","value","ITEM_STATE_SEPARATOR","itemPartName","part","STABILITY_POLICY","defineHooks","spec","stylingHooks","NON_VISUAL_ELEMENTS","isBoolean","reactStateSelector","states","wcStateSelector","reactSelector","component","itemStates","wcItemParts","wcSelector","tag","parts","sortedStates","hookSurface","manifest","name","only"],"sources":["../../../core/src/styling-hooks/vocabulary.ts","../../../core/src/styling-hooks/types.ts","../../../core/src/styling-hooks/components/alert.ts","../../../core/src/styling-hooks/components/app-shell.ts","../../../core/src/styling-hooks/components/autocomplete.ts","../../../core/src/styling-hooks/components/avatar.ts","../../../core/src/styling-hooks/components/avatar-group.ts","../../../core/src/styling-hooks/components/badge.ts","../../../core/src/styling-hooks/components/box.ts","../../../core/src/styling-hooks/components/button.ts","../../../core/src/styling-hooks/components/card.ts","../../../core/src/styling-hooks/components/card-content.ts","../../../core/src/styling-hooks/components/card-description.ts","../../../core/src/styling-hooks/components/card-footer.ts","../../../core/src/styling-hooks/components/card-header.ts","../../../core/src/styling-hooks/components/card-title.ts","../../../core/src/styling-hooks/components/cascader.ts","../../../core/src/styling-hooks/components/checkbox.ts","../../../core/src/styling-hooks/components/code-block.ts","../../../core/src/styling-hooks/components/code-editor.ts","../../../core/src/styling-hooks/components/command-dialog.ts","../../../core/src/styling-hooks/components/confirm-dialog.ts","../../../core/src/styling-hooks/components/context-menu.ts","../../../core/src/styling-hooks/components/data-table.ts","../../../core/src/styling-hooks/components/description-list.ts","../../../core/src/styling-hooks/components/divider.ts","../../../core/src/styling-hooks/components/drawer.ts","../../../core/src/styling-hooks/components/empty.ts","../../../core/src/styling-hooks/components/form-control.ts","../../../core/src/styling-hooks/components/form-layout.ts","../../../core/src/styling-hooks/components/grid-item.ts","../../../core/src/styling-hooks/components/hstack.ts","../../../core/src/styling-hooks/components/html-preview.ts","../../../core/src/styling-hooks/components/icon-button.ts","../../../core/src/styling-hooks/components/input.ts","../../../core/src/styling-hooks/components/json-field.ts","../../../core/src/styling-hooks/components/key-value-editor.ts","../../../core/src/styling-hooks/components/list.ts","../../../core/src/styling-hooks/components/list-item.ts","../../../core/src/styling-hooks/components/loading-state.ts","../../../core/src/styling-hooks/components/menu.ts","../../../core/src/styling-hooks/components/modal.ts","../../../core/src/styling-hooks/components/month-calendar.ts","../../../core/src/styling-hooks/components/nav-tree.ts","../../../core/src/styling-hooks/components/number-input.ts","../../../core/src/styling-hooks/components/option.ts","../../../core/src/styling-hooks/components/option-group.ts","../../../core/src/styling-hooks/components/page.ts","../../../core/src/styling-hooks/components/page-header.ts","../../../core/src/styling-hooks/components/page-section.ts","../../../core/src/styling-hooks/components/page-tab.ts","../../../core/src/styling-hooks/components/page-tabs.ts","../../../core/src/styling-hooks/components/pagination.ts","../../../core/src/styling-hooks/components/palette-toggle.ts","../../../core/src/styling-hooks/components/popover.ts","../../../core/src/styling-hooks/components/progress.ts","../../../core/src/styling-hooks/components/prose.ts","../../../core/src/styling-hooks/components/radio.ts","../../../core/src/styling-hooks/components/radio-group.ts","../../../core/src/styling-hooks/components/rating.ts","../../../core/src/styling-hooks/components/rating-scale.ts","../../../core/src/styling-hooks/components/responsive-grid.ts","../../../core/src/styling-hooks/components/select.ts","../../../core/src/styling-hooks/components/select-label.ts","../../../core/src/styling-hooks/components/select-separator.ts","../../../core/src/styling-hooks/components/skeleton.ts","../../../core/src/styling-hooks/components/skeleton-text.ts","../../../core/src/styling-hooks/components/split-layout.ts","../../../core/src/styling-hooks/components/stack.ts","../../../core/src/styling-hooks/components/stat-card.ts","../../../core/src/styling-hooks/components/steps.ts","../../../core/src/styling-hooks/components/switch.ts","../../../core/src/styling-hooks/components/tab.ts","../../../core/src/styling-hooks/components/tab-panel.ts","../../../core/src/styling-hooks/components/table-cell-content.ts","../../../core/src/styling-hooks/components/tabs.ts","../../../core/src/styling-hooks/components/tag.ts","../../../core/src/styling-hooks/components/tag-input.ts","../../../core/src/styling-hooks/components/text-link.ts","../../../core/src/styling-hooks/components/textarea.ts","../../../core/src/styling-hooks/components/theme-toggle.ts","../../../core/src/styling-hooks/components/time-picker.ts","../../../core/src/styling-hooks/components/toast-region.ts","../../../core/src/styling-hooks/components/toolbar.ts","../../../core/src/styling-hooks/components/tooltip.ts","../../../core/src/styling-hooks/components/upload.ts","../../../core/src/styling-hooks/components/virtual-list.ts","../../../core/src/styling-hooks/components/vstack.ts","../../../core/src/styling-hooks/manifest.ts","../../../core/src/styling-hooks/selectors.ts"],"sourcesContent":["/**\n * The state vocabulary of Minerva's public styling hooks: one set of names\n * shared by every component, in React (`data-*` attributes) and in the web\n * components (custom states, `:state()`).\n *\n * | Kind | React | Web components |\n * | ------- | ------------------------- | ---------------------- |\n * | state | `[data-state=\"open\"]` | `:state(open)` |\n * | boolean | `[data-disabled]` | `:state(disabled)` |\n * | keyed | `[data-size=\"small\"]` | `:state(size-small)` |\n *\n * Item states (a menu item, an option, a table row, a day...) use the same\n * names on the item itself: `[data-part=\"item\"][data-highlighted]` in React;\n * on the web components either the custom states of the item element when\n * it is a light-DOM element of its own (`minerva-option:state(selected)`),\n * or `<part>--<state>` part names next to the part name when the item is\n * rendered in a shadow root (`::part(item item--highlighted)`, see\n * `itemPartName`).\n *\n * Adding a name here is a minor change; removing or renaming one is a major\n * change (see `STABILITY_POLICY`).\n */\n\n/** Values of `data-state` (`:state(<value>)` on the web components) */\nexport const STATE_VALUES = [\n \"open\",\n \"closed\",\n \"checked\",\n \"unchecked\",\n \"indeterminate\",\n \"active\",\n \"inactive\",\n] as const;\n\n/**\n * Boolean states: `data-<name>=\"\"` while true, absent while false\n * (`:state(<name>)` on the web components)\n */\nexport const BOOLEAN_STATES = [\n \"disabled\",\n \"invalid\",\n \"readonly\",\n \"loading\",\n \"required\",\n \"highlighted\",\n \"current\",\n \"dragging\",\n \"selected\",\n \"expanded\",\n \"today\",\n \"outside\",\n] as const;\n\n/**\n * Keyed states: `data-<name>=\"<value>\"` (`:state(<name>-<value>)` on the\n * web components). The values are listed per component.\n */\nexport const KEYED_STATES = [\n \"size\",\n \"variant\",\n \"color\",\n \"orientation\",\n \"side\",\n \"align\",\n \"placement\",\n \"shape\",\n \"status\",\n \"sort\",\n \"fill\",\n] as const;\n\nexport type StateValue = (typeof STATE_VALUES)[number];\nexport type BooleanState = (typeof BOOLEAN_STATES)[number];\nexport type KeyedState = (typeof KEYED_STATES)[number];\n/** Every state hook key: `state`, a boolean state or a keyed state */\nexport type StateKey = \"state\" | BooleanState | KeyedState;\n\n/** Attribute names of the hooks rendered by the React components */\nexport const ATTRIBUTES = {\n component: \"data-minerva\",\n part: \"data-part\",\n} as const;\n\n/** The React attribute of a state key (`size` -> `data-size`). */\nexport const stateAttribute = (key: StateKey): `data-${string}` =>\n `data-${key}`;\n\n/**\n * The custom state name (`:state(<name>)`) of a web component state:\n * `state` -> its value, a boolean -> its key, a keyed state -> `key-value`.\n */\nexport function customStateName(key: StateKey, value?: string): string {\n if (key === \"state\") return String(value);\n if ((BOOLEAN_STATES as readonly string[]).includes(key)) return key;\n return `${key}-${value}`;\n}\n\n/** Separator of an item state part name: `item--highlighted` */\nexport const ITEM_STATE_SEPARATOR = \"--\";\n\n/**\n * The part name of an item state (web components, items rendered in a shadow\n * root): `<part>--<custom state name>`, e.g. `item--highlighted`,\n * `item--checked`, `header-cell--sort-ascending`. The element keeps its part\n * name too, so `::part(item item--highlighted)` matches a highlighted item.\n */\nexport function itemPartName(\n part: string,\n key: StateKey,\n value?: string,\n): string {\n return `${part}${ITEM_STATE_SEPARATOR}${customStateName(key, value)}`;\n}\n\n/**\n * Stability policy of the hook surface (`styling-hooks.lock.json`):\n * adding a component, part, state key or value (item states included) is a\n * minor change; removing\n * or renaming one (or moving a state to another part) is a major change.\n * CSS classes, the DOM structure and the elements that carry no hook are\n * private and may change in any release.\n */\nexport const STABILITY_POLICY =\n \"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.\";\n","import type {\n BooleanState,\n KeyedState,\n StateKey,\n StateValue,\n} from \"./vocabulary\";\n\n/** Implementation a hook is limited to (absent: both libraries render it) */\nexport type HookImplementation = \"react\" | \"wc\";\n\n/** The state hooks a component (or an item) renders, with their values. */\nexport type ComponentStateSpec = {\n /** Values `data-state` takes */\n readonly state?: readonly StateValue[];\n} & { readonly [K in BooleanState]?: true } & {\n readonly [K in KeyedState]?: readonly string[];\n};\n\n/** A styling part: `data-part=\"<name>\"` (React) / `part=\"<name>\"` (WC). */\nexport interface PartHookSpec {\n /** What the part is (English; tooling and the custom elements manifest) */\n readonly description: string;\n /**\n * State keys rendered on this part in React, in addition to the root.\n * The `root` part carries every component state unless it lists its own.\n * On the web components every state is a custom state of the host.\n */\n readonly states?: readonly StateKey[];\n /**\n * Only rendered by one library (structure that has no counterpart in the\n * other one). Explain why in `description`.\n */\n readonly only?: HookImplementation;\n /**\n * Item states: states of each rendered instance of this part (a menu item,\n * an option, a table row, a day cell...), independent of the component's\n * states. Same vocabulary, own values.\n *\n * - React: `data-*` attributes on the part element itself\n * (`[data-minerva=\"menu\"][data-part=\"item\"][data-highlighted]`).\n * - Web components (the part is in the shadow root): one extra part name\n * per state, `<part>--<state>` (`itemPartName`), next to the part name:\n * `minerva-menu::part(item item--highlighted)`.\n *\n * Items that are light-DOM custom elements of their own (`<minerva-option>`,\n * `<minerva-tab>`...) are components of the manifest instead: their states\n * are custom states of the item element (`minerva-option:state(selected)`).\n */\n readonly itemStates?: ComponentStateSpec;\n}\n\n/** The public styling hooks of one component. */\nexport interface ComponentHookSpec {\n /** What the component is (English) */\n readonly description: string;\n /** React exports whose DOM carries `data-minerva=\"<component>\"` */\n readonly react: readonly string[];\n /** Custom element tag (`minerva-<component>`), `null` for React-only */\n readonly wc: string | null;\n /** Styling parts, by name */\n readonly parts: Readonly<Record<string, PartHookSpec>>;\n /** State hooks and their values */\n readonly states: ComponentStateSpec;\n}\n\n/** Declares the hooks of a component (keeps the literal types). */\nexport const defineHooks = <const T extends ComponentHookSpec>(spec: T): T =>\n spec;\n\nexport type { StateKey };\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"An inline message with an icon, a title, a description, an action and optional close / collapse buttons\",\n react: [\"Alert\"],\n wc: \"minerva-alert\",\n parts: {\n root: {\n description:\n \"The alert (role=alert for danger / warning, status otherwise); state open / closed only while collapsible\",\n },\n icon: { description: \"The icon (role=img)\" },\n title: { description: \"The title (holds the collapse button)\" },\n trigger: {\n description: \"The expand / collapse button of a collapsible alert\",\n },\n description: { description: \"The message\" },\n action: { description: \"The action wrapper\" },\n \"close-button\": { description: \"The close button\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n size: [\"small\", \"medium\", \"large\"],\n variant: [\"subtle\", \"outline\", \"solid\"],\n color: [\"info\", \"success\", \"warning\", \"danger\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Application chrome: a collapsible sidebar, a header, the main landmark and a mobile navigation drawer\",\n react: [\"AppShell\"],\n wc: \"minerva-app-shell\",\n parts: {\n root: {\n description:\n \"The shell (`state`: whether the mobile navigation drawer is open)\",\n states: [\"state\"],\n },\n \"skip-link\": { description: \"The skip to content link\" },\n sidebar: { description: \"The desktop sidebar (<aside>)\" },\n header: { description: \"The header bar\" },\n main: { description: \"The <main> landmark\" },\n overlay: {\n description: \"The backdrop of the mobile drawer\",\n states: [\"state\"],\n },\n content: {\n description: \"The mobile navigation drawer (role=dialog)\",\n states: [\"state\"],\n },\n \"close-button\": { description: \"The close button of the mobile drawer\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A text input (combobox) suggesting filtered options in a dropdown listbox\",\n react: [\"AutoComplete\"],\n wc: \"minerva-autocomplete\",\n parts: {\n root: {\n description: \"The root wrapper (label, field and anchor of the dropdown)\",\n states: [\"state\", \"disabled\", \"readonly\", \"loading\"],\n },\n label: { description: \"The visible label\" },\n field: {\n description:\n \"The input box (web components only: React renders a nested Input, style its hooks)\",\n only: \"wc\",\n },\n input: {\n description:\n \"The native <input role=combobox> (web components only: React renders a nested Input, style its hooks)\",\n only: \"wc\",\n },\n content: {\n description: \"The positioned dropdown\",\n states: [\"state\", \"side\", \"align\", \"placement\"],\n },\n list: { description: \"The role=listbox list\" },\n item: {\n description:\n \"An option. Item states: highlighted (active option or hovered), disabled\",\n itemStates: { highlighted: true, disabled: true },\n },\n \"group-label\": { description: \"A group heading\" },\n empty: { description: \"The empty state (no matching option)\" },\n loading: { description: \"The loading state (while loading)\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n readonly: true,\n loading: true,\n side: [\"top\", \"right\", \"bottom\", \"left\"],\n align: [\"start\", \"end\"],\n placement: [\n \"top-start\",\n \"top-end\",\n \"right-start\",\n \"right-end\",\n \"bottom-start\",\n \"bottom-end\",\n \"left-start\",\n \"left-end\",\n ],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A picture of a person, falling back to their initials or custom content\",\n react: [\"Avatar\"],\n wc: \"minerva-avatar\",\n parts: {\n root: {\n description:\n \"The avatar box (role=img while the fallback is shown); no size state for a size in pixels\",\n },\n image: { description: \"The <img>\" },\n fallback: {\n description: \"The initials / fallback content wrapper (no image)\",\n },\n },\n states: {\n size: [\"xsmall\", \"small\", \"medium\", \"large\", \"xlarge\", \"xxlarge\"],\n shape: [\"circle\", \"square\", \"rounded\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: 'Overlapping avatars with an optional \"+N\" indicator',\n react: [\"AvatarGroup\"],\n wc: \"minerva-avatar-group\",\n parts: {\n root: { description: \"The group (role=group)\" },\n item: { description: \"The wrapper of each visible avatar\" },\n count: { description: 'The \"+N\" indicator of the hidden avatars' },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A small count or status indicator, standalone or attached to a corner of an element\",\n react: [\"Badge\"],\n wc: \"minerva-badge\",\n parts: {\n root: {\n description:\n \"The outermost element: the badge itself when standalone, the wrapper of the children when attached\",\n },\n badge: {\n description:\n \"The badge attached to a corner of the children (a standalone badge is the root)\",\n states: [\"size\", \"variant\", \"color\"],\n },\n icon: { description: \"The icon before the content\" },\n },\n states: {\n size: [\"small\", \"medium\", \"large\"],\n variant: [\"solid\", \"subtle\", \"outline\"],\n color: [\"primary\", \"neutral\", \"success\", \"warning\", \"danger\", \"info\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A polymorphic container with padding, margin, size, background, radius and shadow shorthands\",\n react: [\"Box\"],\n wc: \"minerva-box\",\n parts: {\n root: {\n description:\n \"The rendered element (`as`). React only: the <minerva-box> element itself is the box (style the element)\",\n only: \"react\",\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A native button with a color, a variant, a size and states\",\n react: [\"Button\"],\n wc: \"minerva-button\",\n parts: {\n root: { description: \"The native <button>\" },\n label: { description: \"The label wrapper\" },\n \"start-icon\": { description: \"The icon before the label\" },\n \"end-icon\": { description: \"The icon after the label\" },\n spinner: { description: \"The loading spinner (while loading)\" },\n },\n states: {\n state: [\"active\", \"inactive\"],\n disabled: true,\n loading: true,\n size: [\"xsmall\", \"small\", \"medium\", \"large\", \"xlarge\"],\n variant: [\"solid\", \"outline\", \"ghost\", \"link\"],\n color: [\"primary\", \"neutral\", \"success\", \"warning\", \"danger\", \"info\"],\n shape: [\"square\", \"rounded\", \"circle\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A content container of header, content and footer sections; optionally a link or a button\",\n react: [\"Card\"],\n wc: \"minerva-card\",\n parts: {\n root: {\n description: \"The card root (div, article, section, a or button)\",\n },\n },\n states: {\n variant: [\"default\", \"outline\", \"elevated\", \"filled\", \"ghost\"],\n disabled: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The main body of a card\",\n react: [\"CardContent\"],\n wc: \"minerva-card-content\",\n parts: {\n root: { description: \"The section box\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The secondary text below a card title\",\n react: [\"CardDescription\"],\n wc: \"minerva-card-description\",\n parts: {\n root: { description: \"The paragraph\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The bottom section of a card, e.g. for actions\",\n react: [\"CardFooter\"],\n wc: \"minerva-card-footer\",\n parts: {\n root: { description: \"The section box\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"The top section of a card, usually holding its title and description\",\n react: [\"CardHeader\"],\n wc: \"minerva-card-header\",\n parts: {\n root: { description: \"The section box\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The heading of a card (h3 by default)\",\n react: [\"CardTitle\"],\n wc: \"minerva-card-title\",\n parts: {\n root: { description: \"The heading element\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A field picking a path in a tree of options through cascading columns (optionally searchable)\",\n react: [\"Cascader\"],\n wc: \"minerva-cascader\",\n parts: {\n root: {\n description: \"The root wrapper (anchor of the dropdown)\",\n states: [\"state\", \"disabled\", \"readonly\", \"invalid\"],\n },\n control: { description: \"The field box (input, clear button, chevron)\" },\n input: {\n description:\n \"The native <input role=combobox> (web components only: React renders a nested Input, style its hooks)\",\n only: \"wc\",\n },\n \"clear-button\": {\n description: \"The clear button (while there is a value)\",\n },\n icon: { description: \"The chevron\" },\n content: {\n description: \"The positioned dropdown\",\n states: [\"state\", \"side\", \"align\", \"placement\"],\n },\n column: { description: \"A column of options (role=listbox)\" },\n item: {\n description:\n \"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)\",\n itemStates: {\n selected: true,\n expanded: true,\n disabled: true,\n loading: true,\n },\n },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n readonly: true,\n invalid: true,\n side: [\"top\", \"bottom\"],\n align: [\"start\", \"end\"],\n placement: [\"bottom-start\", \"bottom-end\", \"top-start\", \"top-end\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A native checkbox with a label, a helper text and an indeterminate state\",\n react: [\"Checkbox\"],\n wc: \"minerva-checkbox\",\n parts: {\n root: {\n description: \"The wrapper (the clickable row and the helper text)\",\n },\n input: { description: 'The native <input type=\"checkbox\">' },\n control: { description: \"The visual box (draws the checkmark)\" },\n label: { description: \"The label text\" },\n \"helper-text\": { description: \"The helper / error text\" },\n },\n states: {\n state: [\"checked\", \"unchecked\", \"indeterminate\"],\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n color: [\"primary\", \"success\", \"info\", \"warning\", \"danger\"],\n shape: [\"square\", \"circle\", \"rounded\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A scrollable, focusable block of source text with an optional copy button\",\n react: [\"CodeBlock\"],\n wc: \"minerva-code-block\",\n parts: {\n root: {\n description:\n \"The positioned outer wrapper of the region and its actions (only when copyable, or with a language label)\",\n },\n region: {\n description:\n \"The <pre> scroll region (role=region): the visible box of the code\",\n },\n code: { description: \"The <code> element\" },\n language: {\n description:\n \"The language label. Web components only: React's CodeBlock has no language prop\",\n only: \"wc\",\n },\n \"copy-button\": {\n description:\n \"The copy button (while copyable). Web components only: React renders an IconButton, which has its own hooks\",\n only: \"wc\",\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A labelled Monaco code editor on a local engine, degrading to a textarea with a retry action\",\n react: [\"MonacoCodeEditor\"],\n wc: \"minerva-code-editor\",\n parts: {\n root: { description: \"The role=group root\" },\n label: { description: \"The visible label\" },\n surface: { description: \"The editor surface (sized by the height)\" },\n loading: { description: \"The loading indicator (while the editor loads)\" },\n error: {\n description:\n \"The unavailable message and retry action (when the editor failed)\",\n },\n fallback: {\n description: \"The fallback <textarea> (when the editor failed)\",\n },\n \"retry-button\": {\n description:\n \"The retry button. Web components only: React renders a Button, which has its own hooks\",\n only: \"wc\",\n },\n },\n states: {\n disabled: true,\n loading: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A searchable command palette in a modal dialog\",\n react: [\"CommandDialog\"],\n wc: \"minerva-command-dialog\",\n parts: {\n overlay: { description: \"The backdrop\", states: [\"state\"] },\n content: {\n description: \"The dialog panel (role=dialog)\",\n states: [\"state\"],\n },\n header: { description: \"The title row (accessible name of the dialog)\" },\n description: { description: \"The description below the title\" },\n search: { description: \"The search field (icon, input and Enter hint)\" },\n input: { description: \"The search input (role=combobox)\" },\n list: { description: \"The results list (role=listbox)\" },\n item: {\n description:\n \"A result (role=option). Item state: highlighted (active result)\",\n itemStates: { highlighted: true },\n },\n empty: { description: \"The text shown when no command matches\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A small modal alertdialog asking to confirm an action (Cancel / Confirm)\",\n react: [\"ConfirmDialog\"],\n wc: \"minerva-confirm-dialog\",\n parts: {\n overlay: { description: \"The backdrop\", states: [\"state\"] },\n content: {\n description: \"The dialog panel (role=alertdialog)\",\n states: [\"state\", \"color\", \"loading\"],\n },\n header: { description: \"The title (accessible name of the dialog)\" },\n description: { description: \"The description below the title\" },\n body: { description: \"The optional extra content\" },\n footer: { description: \"The actions row (Cancel and Confirm buttons)\" },\n \"cancel-button\": {\n description:\n \"The Cancel <minerva-button> (web components only: in React it is a Button with its own hooks, [data-minerva=button] in the footer)\",\n only: \"wc\",\n },\n \"confirm-button\": {\n description:\n \"The Confirm <minerva-button> (web components only: in React it is a Button with its own hooks, [data-minerva=button] in the footer)\",\n only: \"wc\",\n },\n \"close-button\": { description: \"The close (×) button\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n color: [\"primary\", \"danger\", \"warning\"],\n loading: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A menu opened at the pointer on right click / long press / Shift+F10 in its area\",\n react: [\"ContextMenu\"],\n wc: \"minerva-context-menu\",\n parts: {\n trigger: {\n description:\n \"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)\",\n states: [\"state\", \"disabled\"],\n only: \"react\",\n },\n content: {\n description:\n \"A menu panel (role=menu: the root menu and its submenus, each with its own placement)\",\n states: [\"state\", \"size\", \"side\", \"align\", \"placement\"],\n },\n item: {\n description:\n \"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)\",\n itemStates: {\n highlighted: true,\n disabled: true,\n state: [\"checked\", \"unchecked\"],\n expanded: true,\n },\n },\n \"item-indicator\": {\n description: \"The check mark / radio dot of a checkbox or radio item\",\n },\n icon: { description: \"The icon of an item\" },\n \"item-label\": { description: \"The label of an item\" },\n shortcut: { description: \"The keyboard shortcut hint of an item\" },\n group: {\n description: \"A group of entries (role=group, also radio groups)\",\n },\n label: { description: \"A group heading or section label\" },\n separator: { description: \"A separator\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n size: [\"small\", \"medium\"],\n side: [\"top\", \"right\", \"bottom\", \"left\"],\n align: [\"start\", \"center\", \"end\"],\n placement: [\n \"top\",\n \"top-start\",\n \"top-end\",\n \"right\",\n \"right-start\",\n \"right-end\",\n \"bottom\",\n \"bottom-start\",\n \"bottom-end\",\n \"left\",\n \"left-start\",\n \"left-end\",\n ],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A data table with sortable columns, row selection, fixed columns, empty / loading / error states and pagination\",\n react: [\n \"DataTable\",\n \"Table\",\n \"TableRoot\",\n \"TableRow\",\n \"TableHeader\",\n \"TableCell\",\n ],\n wc: \"minerva-data-table\",\n parts: {\n root: {\n description:\n \"The outer wrapper of the table, the error state and the pagination (React: rendered by DataTable only)\",\n },\n viewport: {\n description:\n \"The scroll wrapper of the table (a focusable region while it scrolls)\",\n },\n table: {\n description: \"The <table>\",\n states: [\"size\", \"variant\"],\n },\n row: {\n description:\n \"A <tr> (header and body rows; selected rows have aria-selected=true). Item state: selected (body rows)\",\n itemStates: { selected: true },\n },\n \"header-cell\": {\n description:\n \"A <th> column header (sortable headers have aria-sort). Item state: sort (sortable headers only)\",\n itemStates: { sort: [\"ascending\", \"descending\", \"none\"] },\n },\n cell: { description: \"A <td> body cell\" },\n \"sort-button\": { description: \"The sort button of a sortable header\" },\n checkbox: { description: \"A row / select-all selection checkbox\" },\n empty: { description: \"The cell of the empty state\" },\n skeleton: { description: \"A skeleton bar of the loading rows\" },\n error: { description: \"The error state (role=alert)\" },\n \"retry-button\": {\n description:\n \"The retry button of the error state. Web components only: React renders a Button, which has its own hooks\",\n only: \"wc\",\n },\n pagination: {\n description:\n \"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\",\n only: \"wc\",\n },\n },\n states: {\n loading: true,\n size: [\"small\", \"medium\", \"large\"],\n variant: [\"simple\", \"striped\", \"bordered\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Labeled metadata fields as a native <dl> of term / description rows\",\n react: [\"DescriptionList\"],\n wc: \"minerva-description-list\",\n parts: {\n root: { description: \"The <dl>\" },\n row: { description: \"Each row (one term / description pair)\" },\n term: { description: \"Each <dt>\" },\n description: { description: \"Each <dd>\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A horizontal or vertical separator line, optionally with text (horizontal only)\",\n react: [\"Divider\"],\n wc: \"minerva-divider\",\n parts: {\n root: {\n description:\n \"The <hr>, or the role=separator element of a divider with text (align: position of the text)\",\n },\n label: { description: \"The text between the two halves of the line\" },\n },\n states: {\n orientation: [\"horizontal\", \"vertical\"],\n variant: [\"solid\", \"dashed\", \"dotted\"],\n align: [\"left\", \"center\", \"right\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A side panel dialog sliding in from an edge over an overlay\",\n react: [\n \"Drawer\",\n \"DrawerContent\",\n \"DrawerHeader\",\n \"DrawerBody\",\n \"DrawerFooter\",\n ],\n wc: \"minerva-drawer\",\n parts: {\n overlay: { description: \"The backdrop\", states: [\"state\"] },\n content: {\n description: \"The dialog panel (role=dialog)\",\n states: [\"state\", \"side\", \"size\"],\n },\n header: { description: \"The title (accessible name of the dialog)\" },\n description: {\n description:\n \"The description below the title (visually hidden when no description is given)\",\n },\n body: { description: \"The scrollable body\" },\n footer: { description: \"The actions row\" },\n \"close-button\": { description: \"The close (×) button\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n side: [\"left\", \"right\", \"top\", \"bottom\"],\n size: [\"small\", \"medium\", \"large\", \"full\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"An empty state: icon, title, description, actions and footer content\",\n react: [\"Empty\"],\n wc: \"minerva-empty\",\n parts: {\n root: {\n description:\n \"The region (role=status); size only for the unframed sized layout\",\n },\n icon: { description: \"The icon wrapper\" },\n title: { description: \"The title (accessible name of the region)\" },\n description: { description: \"The description\" },\n actions: { description: \"The actions row\" },\n footer: { description: \"The footer content\" },\n },\n states: {\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A field container: a label with a required indicator, one control, a helper text and an error message\",\n react: [\n \"FormControl\",\n \"FormLabel\",\n \"FormHelperText\",\n \"FormErrorMessage\",\n \"FormField\",\n ],\n wc: \"minerva-form-control\",\n parts: {\n root: { description: \"The field container\" },\n label: { description: \"The <label>\" },\n \"required-indicator\": { description: \"The required marker of the label\" },\n \"helper-text\": { description: \"The helper text (hidden while invalid)\" },\n \"error-message\": {\n description: 'The error message (role=\"alert\", while invalid)',\n },\n },\n states: {\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A responsive column grid for form fields\",\n react: [\"FormLayout\"],\n wc: \"minerva-form-layout\",\n parts: {\n root: {\n description:\n \"The form layout box (React: the native <form>; web components: the grid's query container, inside your own <form>)\",\n },\n layout: {\n description:\n \"The grid. Web components only: React renders a nested ResponsiveGrid (style its `responsive-grid` hooks)\",\n only: \"wc\",\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A cell of a responsive grid, optionally spanning the full row\",\n react: [\"GridItem\"],\n wc: \"minerva-grid-item\",\n parts: {\n root: {\n description:\n \"The grid cell (or the `asChild` child). React only: the <minerva-grid-item> element itself is the cell (style the element)\",\n only: \"react\",\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A horizontal stack (row), centered on the cross axis by default\",\n react: [\"HStack\"],\n wc: \"minerva-hstack\",\n parts: {\n root: { description: \"The flex container\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A sandboxed iframe preview of sanitized HTML, at desktop or mobile width\",\n react: [\"HtmlPreview\"],\n wc: \"minerva-html-preview\",\n parts: {\n root: { description: \"The scrolling container\" },\n frame: { description: \"The sandboxed <iframe>\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A button that only contains an icon, with a tooltip, toggle and loading states\",\n react: [\"IconButton\"],\n wc: \"minerva-icon-button\",\n parts: {\n root: {\n description:\n \"The native <button>; state active while a toggle button is pressed, inactive otherwise\",\n },\n icon: {\n description: \"The icon wrapper (hidden from assistive technologies)\",\n },\n spinner: { description: \"The loading indicator (while loading)\" },\n tooltip: {\n description:\n \"The tooltip (role=tooltip). Web components only: React wraps the button in a <Tooltip> component, which has its own hooks\",\n only: \"wc\",\n },\n },\n states: {\n state: [\"active\", \"inactive\"],\n disabled: true,\n loading: true,\n size: [\"xsmall\", \"small\", \"medium\", \"large\"],\n variant: [\"ghost\", \"solid\", \"outline\"],\n color: [\"primary\", \"neutral\", \"success\", \"warning\", \"danger\", \"info\"],\n shape: [\"circle\", \"square\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A single-line text field with prefix / suffix, clear button, password toggle and character count\",\n react: [\"Input\"],\n wc: \"minerva-input\",\n parts: {\n root: { description: \"The field box (wraps the input and its addons)\" },\n input: { description: \"The native <input>\" },\n prefix: { description: \"The content before the text\" },\n suffix: { description: \"The content after the text\" },\n \"clear-button\": {\n description: \"The clear button (while there is a value)\",\n },\n \"password-toggle\": {\n description: \"The password visibility toggle (type=password)\",\n },\n count: { description: \"The character counter\" },\n },\n states: {\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n variant: [\"outline\", \"filled\", \"unstyled\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A strict-JSON text field with a format button and syntax feedback\",\n react: [\"JsonField\"],\n wc: \"minerva-json-field\",\n parts: {\n root: { description: \"The wrapper\" },\n toolbar: { description: \"The toolbar above the text (format button)\" },\n \"format-button\": {\n description:\n \"The format button (web components only: React renders an IconButton, styled with its own hooks)\",\n only: \"wc\",\n },\n input: {\n description:\n \"The native <textarea> (web components only: React renders a Textarea, styled with its own hooks)\",\n only: \"wc\",\n },\n status: { description: \"The validation status line (role=status)\" },\n },\n states: {\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"An editable list of key / value rows (headers, metadata, variables)\",\n react: [\"KeyValueEditor\"],\n wc: \"minerva-key-value-editor\",\n parts: {\n root: { description: \"The container\" },\n row: {\n description:\n \"Each row (key field, value field and remove button). Item state: invalid (the key or the value has an error)\",\n itemStates: { invalid: true },\n },\n \"remove-button\": {\n description:\n \"The remove button of a row (web components only: React renders an IconButton, styled with its own hooks)\",\n only: \"wc\",\n },\n \"add-button\": {\n description:\n \"The add button (web components only: React renders a Button, styled with its own hooks)\",\n only: \"wc\",\n },\n },\n states: {\n disabled: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A quiet operational list of rows (role=list)\",\n react: [\"List\"],\n wc: \"minerva-list\",\n parts: {\n root: {\n description: \"The list (React: the <ul>; web components: its wrapper)\",\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A list row with primary / secondary text, a decorative icon and actions\",\n react: [\"ListItem\"],\n wc: \"minerva-list-item\",\n parts: {\n root: { description: \"The row\" },\n icon: { description: \"The decorative leading icon wrapper\" },\n label: { description: \"The primary text\" },\n description: { description: \"The secondary text\" },\n actions: { description: \"The trailing actions wrapper\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A page / route / section loading presentation: a spinner next to a label in a polite status region\",\n react: [\"LoadingState\"],\n wc: \"minerva-loading-state\",\n parts: {\n root: { description: \"The status region\" },\n spinner: {\n description:\n \"The decorative spinner (wraps a ProgressIndicator in React; the <minerva-progress> element in the web components)\",\n },\n label: { description: \"The label\" },\n },\n states: {\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"An action menu opened from a trigger button, with submenus, checkbox and radio items\",\n react: [\"Menu\"],\n wc: \"minerva-menu\",\n parts: {\n trigger: {\n description:\n \"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])\",\n states: [\"state\", \"disabled\"],\n only: \"react\",\n },\n content: {\n description:\n \"A menu panel (role=menu: the root menu and its submenus, each with its own placement)\",\n states: [\"state\", \"size\", \"side\", \"align\", \"placement\"],\n },\n item: {\n description:\n \"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)\",\n itemStates: {\n highlighted: true,\n disabled: true,\n state: [\"checked\", \"unchecked\"],\n expanded: true,\n },\n },\n \"item-indicator\": {\n description: \"The check mark / radio dot of a checkbox or radio item\",\n },\n icon: { description: \"The icon of an item\" },\n \"item-label\": { description: \"The label of an item\" },\n shortcut: { description: \"The keyboard shortcut hint of an item\" },\n group: {\n description: \"A group of entries (role=group, also radio groups)\",\n },\n label: { description: \"A group heading or section label\" },\n separator: { description: \"A separator\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n size: [\"small\", \"medium\"],\n side: [\"top\", \"right\", \"bottom\", \"left\"],\n align: [\"start\", \"center\", \"end\"],\n placement: [\n \"top\",\n \"top-start\",\n \"top-end\",\n \"right\",\n \"right-start\",\n \"right-end\",\n \"bottom\",\n \"bottom-start\",\n \"bottom-end\",\n \"left\",\n \"left-start\",\n \"left-end\",\n ],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A modal dialog over an overlay\",\n react: [\"Modal\", \"ModalContent\", \"ModalHeader\", \"ModalBody\", \"ModalFooter\"],\n wc: \"minerva-modal\",\n parts: {\n overlay: { description: \"The backdrop\", states: [\"state\"] },\n content: {\n description: \"The dialog panel (role=dialog)\",\n states: [\"state\", \"size\"],\n },\n header: { description: \"The title (accessible name of the dialog)\" },\n description: { description: \"The description below the title\" },\n body: { description: \"The scrollable body\" },\n footer: { description: \"The actions row\" },\n \"close-button\": { description: \"The close (×) button\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n size: [\"small\", \"medium\", \"large\", \"xlarge\", \"full\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A month grid of days with event counts, navigation and the events of the selected day\",\n react: [\"MonthCalendar\"],\n wc: \"minerva-month-calendar\",\n parts: {\n root: { description: \"The calendar <section>\" },\n heading: { description: \"The month heading\" },\n \"nav-button\": { description: \"The previous / today / next buttons\" },\n grid: { description: \"The role=grid element\" },\n day: {\n description:\n \"A day cell (role=gridcell). Item states: selected, today, outside (day of the previous / next month), disabled\",\n itemStates: {\n selected: true,\n today: true,\n outside: true,\n disabled: true,\n },\n },\n events: { description: \"The events section of the selected day\" },\n event: { description: \"An event (a button when events are clickable)\" },\n empty: { description: \"The text shown when the selected day has no event\" },\n },\n states: {\n disabled: true,\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Sidebar navigation with sections, nested expandable branches, an active item and a compact mode\",\n react: [\"NavTree\"],\n wc: \"minerva-nav-tree\",\n parts: {\n root: { description: \"The <nav> landmark\" },\n group: { description: \"A section of items\" },\n \"group-label\": { description: \"The title of a section\" },\n item: {\n description:\n \"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\",\n itemStates: { current: true, expanded: true, disabled: true },\n },\n icon: { description: \"The icon of an item\" },\n label: { description: \"The label of an item\" },\n description: { description: \"The secondary text of an item\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A numeric field (spinbutton) with min / max / step and stepper buttons\",\n react: [\"NumberInput\"],\n wc: \"minerva-number-input\",\n parts: {\n root: { description: \"The field box (wraps the input and the stepper)\" },\n input: { description: 'The native <input> (role=\"spinbutton\")' },\n stepper: { description: \"The increment / decrement column\" },\n increment: { description: \"The increment button\" },\n decrement: { description: \"The decrement button\" },\n },\n states: {\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A selectable option of a select (role=option); its states are the item states of the select's options: selected, highlighted, disabled\",\n react: [\"SelectItem\"],\n wc: \"minerva-option\",\n parts: {\n root: { description: \"The option row\" },\n label: { description: \"The content wrapper\" },\n indicator: { description: \"The check mark (while selected)\" },\n },\n states: {\n selected: true,\n highlighted: true,\n disabled: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A group of select options (role=group), labelled by a select-label\",\n react: [\"SelectGroup\"],\n wc: \"minerva-option-group\",\n parts: {\n root: { description: \"The group wrapper\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The padded, vertically spaced column of a screen's content\",\n react: [\"Page\"],\n wc: \"minerva-page\",\n parts: {\n root: { description: \"The page column\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The page heading (h1) with an optional description and actions\",\n react: [\"PageHeader\"],\n wc: \"minerva-page-header\",\n parts: {\n root: { description: \"The <header>\" },\n title: { description: \"The <h1>\" },\n description: { description: \"The description paragraph\" },\n actions: { description: \"The actions wrapper\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A page region named by its h2 title, with optional description, icon and actions\",\n react: [\"PageSection\"],\n wc: \"minerva-page-section\",\n parts: {\n root: { description: \"The <section>\" },\n header: { description: \"The title row (title, description and actions)\" },\n title: { description: \"The <h2>\" },\n icon: { description: \"The decorative icon wrapper, inside the title\" },\n description: { description: \"The description paragraph\" },\n actions: { description: \"The actions wrapper\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"One open page of a page tabs strip\",\n react: [\"PageTab\"],\n wc: \"minerva-page-tab\",\n parts: {\n root: { description: \"The item wrapper\" },\n trigger: { description: \"The label <button> (selects the page)\" },\n icon: { description: \"The icon before the label\" },\n label: { description: \"The (truncated) label\" },\n action: {\n description: \"The wrapper of the separate control next to the label\",\n },\n \"close-button\": {\n description:\n \"The built-in close button (`closable`; React passes its own control as `action`)\",\n only: \"wc\",\n },\n },\n states: {\n current: true,\n disabled: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A horizontally scrolling strip of open application pages (route navigation)\",\n react: [\"PageTabs\"],\n wc: \"minerva-page-tabs\",\n parts: {\n root: { description: \"The <nav> landmark\" },\n viewport: { description: \"The scrolling viewport of the items\" },\n list: { description: \"The item list\" },\n \"scroll-button\": {\n description:\n \"The scroll left / right buttons (while the items overflow). Web components only: React renders IconButton components, which have their own hooks\",\n only: \"wc\",\n },\n actions: { description: \"The global actions after the list\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Page navigation with page buttons, an optional total, quick jumper and page size selector\",\n react: [\"Pagination\"],\n wc: \"minerva-pagination\",\n parts: {\n root: { description: \"The <nav> landmark\" },\n item: {\n description:\n \"A page / previous / next / jump button (the current page has aria-current=page). Item states: current (the current page), disabled\",\n itemStates: { current: true, disabled: true },\n },\n total: { description: \"The total text\" },\n jumper: { description: \"The quick jumper label (wraps its input)\" },\n \"size-changer\": { description: \"The page size <select>\" },\n \"simple-input\": { description: \"The page input of the simple mode\" },\n },\n states: {\n disabled: true,\n size: [\"small\", \"medium\", \"large\"],\n shape: [\"circle\", \"rounded\", \"square\"],\n variant: [\"solid\", \"outline\", \"ghost\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A color palette switch (a group of toggle buttons), orthogonal to the light / dark mode\",\n react: [\"PaletteToggle\"],\n wc: \"minerva-palette-toggle\",\n parts: {\n root: { description: \"The role=group wrapper\" },\n item: {\n description:\n \"Every option button (aria-pressed on the selected one). Item state: active (the selected palette, aria-pressed) / inactive\",\n itemStates: { state: [\"active\", \"inactive\"] },\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A click-triggered interactive panel (role=dialog) anchored to its trigger\",\n react: [\"PopoverTrigger\", \"PopoverContent\"],\n wc: \"minerva-popover\",\n parts: {\n trigger: {\n description:\n \"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)\",\n states: [\"state\"],\n only: \"react\",\n },\n content: {\n description: \"The positioned panel (role=dialog)\",\n states: [\"state\", \"side\", \"align\", \"placement\"],\n },\n arrow: { description: \"The arrow pointing at the anchor (with arrow)\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n side: [\"top\", \"right\", \"bottom\", \"left\"],\n align: [\"start\", \"center\", \"end\"],\n placement: [\n \"top\",\n \"top-start\",\n \"top-end\",\n \"right\",\n \"right-start\",\n \"right-end\",\n \"bottom\",\n \"bottom-start\",\n \"bottom-end\",\n \"left\",\n \"left-start\",\n \"left-end\",\n ],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"An indeterminate loading indicator: spinner, circle, wave, bar or dotted bar\",\n react: [\"ProgressIndicator\"],\n wc: \"minerva-progress\",\n parts: {\n root: {\n description:\n \"The indicator (role=progressbar unless decorative); color current follows the text color\",\n },\n icon: { description: \"The icon before the indicator\" },\n indicator: { description: \"The animated indicator (ring, wave or bar)\" },\n label: { description: \"The visible label\" },\n },\n states: {\n // the `dottedBar` variant is `dotted-bar` (kebab-case state values)\n variant: [\"spinner\", \"bar\", \"wave\", \"circle\", \"dotted-bar\"],\n size: [\"xsmall\", \"small\", \"medium\", \"large\", \"xlarge\"],\n color: [\"primary\", \"neutral\", \"current\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"Theme-aware typography for semantic HTML (articles, Markdown)\",\n react: [\"Prose\"],\n wc: \"minerva-prose\",\n parts: {\n root: {\n description:\n \"The typography container (or the `asChild` child). React only: the <minerva-prose> element itself is the container (style the element)\",\n only: \"react\",\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A radio button with a label and a helper / error text\",\n react: [\"Radio\"],\n wc: \"minerva-radio\",\n parts: {\n root: {\n description: \"The wrapper (the clickable row and the helper text)\",\n },\n input: {\n description:\n 'The native <input type=\"radio\"> (React only: the web component host is the radio itself)',\n only: \"react\",\n },\n control: { description: \"The visual radio mark\" },\n label: { description: \"The label text\" },\n \"helper-text\": { description: \"The helper / error text\" },\n },\n states: {\n state: [\"checked\", \"unchecked\"],\n disabled: true,\n invalid: true,\n size: [\"small\", \"medium\", \"large\"],\n color: [\"primary\", \"success\", \"warning\", \"danger\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A set of radios of which one can be selected, with a label and a helper text\",\n react: [\"RadioGroup\"],\n wc: \"minerva-radio-group\",\n parts: {\n root: { description: \"The wrapper\" },\n label: { description: \"The visible group label\" },\n list: { description: 'The element with role=\"radiogroup\" (the radios)' },\n \"helper-text\": { description: \"The helper text\" },\n },\n states: {\n disabled: true,\n invalid: true,\n required: true,\n orientation: [\"horizontal\", \"vertical\"],\n size: [\"small\", \"medium\", \"large\"],\n color: [\"primary\", \"success\", \"warning\", \"danger\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A score drawn as 5 stars, display-only or an interactive slider, optionally followed by the value and the number of ratings\",\n react: [\"Rating\"],\n wc: \"minerva-rating\",\n parts: {\n root: {\n description: 'The root (role=\"slider\", or role=\"img\" when display-only)',\n },\n stars: { description: \"The star row\" },\n star: {\n description: \"Each star. Item state: fill\",\n itemStates: { fill: [\"full\", \"half\", \"empty\"] },\n },\n value: { description: \"The score and the count\" },\n count: { description: \"The number of ratings\" },\n },\n states: {\n readonly: true,\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Several labelled ratings sharing one scale (one rating per row)\",\n react: [\"RatingScale\"],\n wc: \"minerva-rating-scale\",\n parts: {\n root: { description: \"The list of rows\" },\n row: { description: \"Each row (a label and a rating)\" },\n label: { description: \"The label of a row\" },\n },\n states: {\n readonly: true,\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"An equal-width column grid whose column count follows its own width (container queries)\",\n react: [\"ResponsiveGrid\"],\n wc: \"minerva-responsive-grid\",\n parts: {\n root: { description: \"The query container\" },\n layout: { description: \"The grid (its children are the grid items)\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A single-choice dropdown: a combobox trigger and a listbox popup of options\",\n react: [\"Select\"],\n wc: \"minerva-select\",\n parts: {\n root: {\n description: \"The trigger (<button role=combobox>)\",\n states: [\"state\", \"disabled\", \"invalid\", \"required\", \"size\"],\n },\n value: { description: \"The selected label / placeholder\" },\n icon: { description: \"The chevron\" },\n content: {\n description: \"The listbox popup (role=listbox)\",\n states: [\"state\", \"side\", \"align\", \"placement\"],\n },\n item: {\n description:\n \"An option rendered from the `options` property (web components only: React options are SelectItem elements, see option). Item states: selected, highlighted, disabled\",\n only: \"wc\",\n itemStates: { selected: true, highlighted: true, disabled: true },\n },\n \"group-label\": {\n description:\n \"A group heading rendered from the `options` property (web components only: React uses SelectLabel, see select-label)\",\n only: \"wc\",\n },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n invalid: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n side: [\"top\", \"bottom\"],\n align: [\"start\", \"end\"],\n placement: [\"bottom-start\", \"bottom-end\", \"top-start\", \"top-end\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The (non-selectable) heading of a group of select options\",\n react: [\"SelectLabel\"],\n wc: \"minerva-select-label\",\n parts: {\n root: { description: \"The label\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A presentational divider between select options or groups\",\n react: [\"SelectSeparator\"],\n wc: \"minerva-select-separator\",\n parts: {\n root: { description: \"The line\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Placeholder shapes shown while content loads (lines, avatar, title, paragraph, card)\",\n react: [\"Skeleton\"],\n wc: \"minerva-skeleton\",\n parts: {\n root: {\n description:\n \"The busy region (role=status), or the single block of a decorative skeleton\",\n },\n avatar: { description: \"The avatar placeholder\" },\n title: { description: \"The title placeholder\" },\n line: { description: \"Each line placeholder (also the paragraph lines)\" },\n },\n states: {\n variant: [\n \"text\",\n \"circular\",\n \"rectangular\",\n \"rounded\",\n \"button\",\n \"image\",\n \"card\",\n ],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A decorative block of text-line placeholders (hidden from assistive technologies)\",\n react: [\"SkeletonText\"],\n wc: \"minerva-skeleton-text\",\n parts: {\n root: { description: \"The block of lines\" },\n line: { description: \"Each line placeholder\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Main content with an optional aside column that splits beside it at a container breakpoint\",\n react: [\"SplitLayout\"],\n wc: \"minerva-split-layout\",\n parts: {\n root: { description: \"The query container\" },\n main: { description: \"The main column\" },\n aside: { description: \"The aside column (when there is aside content)\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A flex row / column with a token gap, optional separators and attached groups\",\n react: [\"Stack\"],\n wc: \"minerva-stack\",\n parts: {\n root: { description: \"The flex container\" },\n },\n states: {\n orientation: [\"horizontal\", \"vertical\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A labelled metric with an optional icon and description\",\n react: [\"StatCard\"],\n wc: \"minerva-stat-card\",\n parts: {\n root: { description: \"The card\" },\n icon: { description: \"The decorative icon wrapper\" },\n label: { description: \"The metric name (<dt>)\" },\n value: { description: \"The metric value (<dd>)\" },\n description: { description: \"The description paragraph\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"The stages of a workflow as an ordered list, navigable or read-only\",\n react: [\"Steps\"],\n wc: \"minerva-steps\",\n parts: {\n root: { description: \"The <ol>\" },\n item: {\n description:\n \"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)\",\n itemStates: {\n current: true,\n disabled: true,\n status: [\"complete\", \"upcoming\"],\n },\n },\n button: {\n description:\n \"The <button> of a step (navigable) or its static wrapper (read-only)\",\n },\n indicator: { description: \"The numbered indicator of a step\" },\n label: { description: \"The label of a step\" },\n },\n states: {\n readonly: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A two-state toggle (role=switch): a slider, with optional side labels, or two segments\",\n react: [\"Switch\"],\n wc: \"minerva-switch\",\n parts: {\n root: {\n description:\n \"The outer element (<label>; a <span> with side labels; the group of segments)\",\n },\n input: { description: 'The native <input type=\"checkbox\" role=\"switch\">' },\n control: { description: \"The slider box (wraps the track and the thumb)\" },\n track: { description: \"The track\" },\n thumb: { description: \"The thumb\" },\n icon: { description: \"The icon (in the thumb or after the slider)\" },\n label: { description: \"The label text\" },\n side: { description: \"The off / on side labels (buttons)\" },\n segment: {\n description: 'The off / on segments (buttons, variant=\"segmented\")',\n },\n },\n states: {\n state: [\"checked\", \"unchecked\"],\n disabled: true,\n loading: true,\n invalid: true,\n readonly: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n color: [\"primary\", \"success\", \"info\", \"warning\", \"danger\"],\n shape: [\"round\", \"square\"],\n variant: [\"slider\", \"segmented\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A role=tab trigger of a tabs group\",\n react: [\"Tab\"],\n wc: \"minerva-tab\",\n parts: {\n root: { description: \"The visual tab trigger\" },\n },\n states: {\n state: [\"active\", \"inactive\"],\n disabled: true,\n orientation: [\"horizontal\", \"vertical\"],\n variant: [\"line\", \"enclosed\", \"soft\", \"pills\"],\n color: [\"primary\", \"neutral\", \"success\", \"warning\", \"danger\", \"info\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The role=tabpanel content of a tab\",\n react: [\"TabPanel\"],\n wc: \"minerva-tab-panel\",\n parts: {\n root: { description: \"The panel wrapper\" },\n },\n states: {\n state: [\"active\", \"inactive\"],\n orientation: [\"horizontal\", \"vertical\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Bounded, wrapping content inside a table cell, with an optional muted secondary line\",\n react: [\"TableCellContent\"],\n wc: \"minerva-table-cell-content\",\n parts: {\n root: { description: \"The wrapper (bounded width)\" },\n primary: { description: \"The primary line (<code> when monospace)\" },\n secondary: { description: \"The muted secondary line\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Accessible tabs: a tab list and the panels of its tabs, with a variant, a color and an orientation\",\n react: [\"Tabs\", \"TabList\"],\n wc: \"minerva-tabs\",\n parts: {\n root: { description: \"The root wrapper of the tab list and the panels\" },\n list: {\n description: \"The role=tablist container of the tabs\",\n states: [\"orientation\", \"variant\"],\n },\n },\n states: {\n orientation: [\"horizontal\", \"vertical\"],\n variant: [\"line\", \"enclosed\", \"soft\", \"pills\"],\n color: [\"primary\", \"neutral\", \"success\", \"warning\", \"danger\", \"info\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A small label for marking and categorizing, optionally clickable, toggleable or closable\",\n react: [\"Tag\"],\n wc: \"minerva-tag\",\n parts: {\n root: {\n description:\n \"The tag (a plain, non-interactive element); state active while a clickable tag is pressed, inactive otherwise\",\n },\n action: { description: \"The native <button> of a clickable tag\" },\n label: { description: \"The label wrapper\" },\n icon: { description: \"The icon before the label\" },\n avatar: { description: \"The avatar before the label\" },\n spinner: { description: \"The loading spinner (while loading)\" },\n \"close-button\": { description: \"The close button\" },\n },\n states: {\n state: [\"active\", \"inactive\"],\n disabled: true,\n loading: true,\n size: [\"small\", \"medium\", \"large\"],\n variant: [\"subtle\", \"outline\", \"solid\"],\n color: [\"primary\", \"neutral\", \"success\", \"warning\", \"danger\", \"info\"],\n shape: [\"square\", \"rounded\", \"circle\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A text field that collects a list of tags, with optional suggestions\",\n react: [\"TagInput\"],\n wc: \"minerva-tag-input\",\n parts: {\n root: { description: \"The wrapper\" },\n tags: { description: \"The list of tags\" },\n tag: {\n description:\n \"A tag (web components only: React renders a Tag, styled with its own hooks)\",\n only: \"wc\",\n },\n \"remove-button\": {\n description: \"The remove button of a tag (web components only, see tag)\",\n only: \"wc\",\n },\n control: {\n description:\n \"The text field box (web components only: React renders an Input, styled with its own hooks)\",\n only: \"wc\",\n },\n input: {\n description:\n 'The native text <input> (role=\"combobox\"; web components only, see control)',\n only: \"wc\",\n },\n list: { description: \"The suggestion list (role=listbox, while open)\" },\n option: {\n description:\n 'A suggestion (role=option; the highlighted one has aria-selected=\"true. Item state: highlighted\")',\n itemStates: { highlighted: true },\n },\n empty: { description: \"The text shown when no suggestion matches\" },\n \"add-button\": {\n description:\n \"The add button (web components only: React renders an IconButton, styled with its own hooks)\",\n only: \"wc\",\n },\n \"clear-button\": {\n description:\n \"The clear button (web components only: React renders an IconButton, styled with its own hooks)\",\n only: \"wc\",\n },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A styled native link (default inline link, subtle link with a chevron, action row)\",\n react: [\"TextLink\"],\n wc: \"minerva-text-link\",\n parts: {\n root: {\n description: \"The native <a> (React: the slotted child with asChild)\",\n },\n },\n states: {\n variant: [\"default\", \"subtle\", \"action\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A multi-line text field sharing the input's look\",\n react: [\"Textarea\"],\n wc: \"minerva-textarea\",\n parts: {\n root: { description: \"The native <textarea>\" },\n },\n states: {\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n variant: [\"outline\", \"filled\", \"unstyled\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A light / dark / system theme switch (a group of toggle buttons)\",\n react: [\"ThemeToggle\"],\n wc: \"minerva-theme-toggle\",\n parts: {\n root: { description: \"The role=group wrapper\" },\n item: {\n description:\n \"Every option button (aria-pressed on the selected one). Item state: active (the selected option, aria-pressed) / inactive\",\n itemStates: { state: [\"active\", \"inactive\"] },\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A time field with a popup of hours / minutes / seconds columns\",\n react: [\"TimePicker\"],\n wc: \"minerva-time-picker\",\n parts: {\n root: {\n description: \"The field wrapper (anchor of the panel)\",\n states: [\"state\", \"disabled\", \"readonly\", \"invalid\", \"size\"],\n },\n control: {\n description:\n \"The input box (web components only: React renders a nested Input, style its hooks)\",\n only: \"wc\",\n },\n input: {\n description:\n \"The native <input> (web components only: React renders a nested Input, style its hooks)\",\n only: \"wc\",\n },\n \"clear-button\": {\n description:\n \"The clear button (web components only: React renders a nested IconButton, style its hooks)\",\n only: \"wc\",\n },\n icon: {\n description: \"The clock icon (shown when there is no clear button)\",\n },\n content: {\n description: \"The popup panel (role=dialog)\",\n states: [\"state\", \"side\", \"align\", \"placement\"],\n },\n column: {\n description: \"An hours / minutes / seconds / AM-PM column (role=listbox)\",\n },\n item: {\n description: \"A time unit (role=option). Item states: selected, disabled\",\n itemStates: { selected: true, disabled: true },\n },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n readonly: true,\n invalid: true,\n size: [\"small\", \"medium\", \"large\"],\n side: [\"top\", \"bottom\"],\n align: [\"start\", \"end\"],\n placement: [\"bottom-start\", \"bottom-end\", \"top-start\", \"top-end\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"The fixed stack (role=region) rendering the toasts of the toast() API\",\n react: [\"ToastProvider\"],\n wc: \"minerva-toast-region\",\n parts: {\n root: { description: \"The fixed stack (role=region)\" },\n toast: {\n description:\n \"A toast (role=status, or alert for danger). Item states: open / closed (while leaving), color, loading\",\n itemStates: {\n state: [\"open\", \"closed\"],\n color: [\"info\", \"success\", \"warning\", \"danger\"],\n loading: true,\n },\n },\n icon: { description: \"The icon of a toast (spinner while loading)\" },\n title: { description: \"The title of a toast\" },\n description: { description: \"The description of a toast\" },\n action: { description: \"The action button of a toast\" },\n \"close-button\": { description: \"The close (×) button of a toast\" },\n progress: { description: \"The countdown bar of a timed toast\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A wrapping row of related controls (role=group)\",\n react: [\"Toolbar\"],\n wc: \"minerva-toolbar\",\n parts: {\n root: { description: \"The group\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nconst PLACEMENTS = [\n \"top\",\n \"top-start\",\n \"top-end\",\n \"right\",\n \"right-start\",\n \"right-end\",\n \"bottom\",\n \"bottom-start\",\n \"bottom-end\",\n \"left\",\n \"left-start\",\n \"left-end\",\n] as const;\n\nexport default defineHooks({\n description:\n \"Informative content shown when the wrapped element is hovered or focused\",\n react: [\"Tooltip\"],\n wc: \"minerva-tooltip\",\n parts: {\n trigger: {\n description:\n \"The wrapper around the trigger (React: not rendered with asChild, the child keeps its own hooks)\",\n states: [\"state\", \"disabled\"],\n },\n content: {\n description: \"The positioned tooltip (role=tooltip, while shown)\",\n states: [\n \"state\",\n \"color\",\n \"variant\",\n \"shape\",\n \"side\",\n \"align\",\n \"placement\",\n ],\n },\n arrow: { description: \"The arrow pointing at the trigger (with arrow)\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n color: [\"neutral\", \"info\", \"success\", \"warning\", \"danger\"],\n variant: [\"solid\", \"subtle\", \"glass\"],\n shape: [\"default\", \"rounded\", \"thought\", \"square\"],\n side: [\"top\", \"right\", \"bottom\", \"left\"],\n align: [\"start\", \"center\", \"end\"],\n placement: PLACEMENTS,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A file picker with a drop zone, validation and a list of files with their status\",\n react: [\"Upload\"],\n wc: \"minerva-upload\",\n parts: {\n root: { description: \"The container (role=group)\" },\n label: { description: \"The visible label\" },\n dropzone: { description: \"The drop target\" },\n \"select-button\": {\n description:\n \"The select button (web components only: React renders a nested Button, style its hooks)\",\n only: \"wc\",\n },\n error: {\n description:\n \"The selection error (web components only: React renders a nested Alert, style its hooks)\",\n only: \"wc\",\n },\n list: { description: \"The file list\" },\n item: {\n description: \"A file. Item state: status of the file\",\n itemStates: { status: [\"uploading\", \"done\", \"error\"] },\n },\n \"retry-button\": {\n description:\n \"The retry button of a failed file (web components only: React renders a nested IconButton, style its hooks)\",\n only: \"wc\",\n },\n \"remove-button\": {\n description:\n \"The remove button of a file (web components only: React renders a nested IconButton, style its hooks)\",\n only: \"wc\",\n },\n },\n states: {\n disabled: true,\n loading: true,\n dragging: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A virtualized scrolling list that only renders the visible rows, with infinite loading\",\n react: [\"VirtualList\"],\n wc: \"minerva-virtual-list\",\n parts: {\n root: { description: \"The scroll container (role=region)\" },\n list: { description: \"The list (role=list) sized to all the rows\" },\n item: { description: \"A rendered row (role=listitem)\" },\n loading: { description: \"The loading indicator row (while loading)\" },\n },\n states: {\n loading: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A vertical stack (column), stretched on the cross axis by default\",\n react: [\"VStack\"],\n wc: \"minerva-vstack\",\n parts: {\n root: { description: \"The flex container\" },\n },\n states: {},\n});\n","// One module per component in ./components (sorted). The core tests check\n// that every module is listed here.\nimport alertHooks from \"./components/alert\";\nimport appShellHooks from \"./components/app-shell\";\nimport autocompleteHooks from \"./components/autocomplete\";\nimport avatarHooks from \"./components/avatar\";\nimport avatarGroupHooks from \"./components/avatar-group\";\nimport badgeHooks from \"./components/badge\";\nimport boxHooks from \"./components/box\";\nimport buttonHooks from \"./components/button\";\nimport cardHooks from \"./components/card\";\nimport cardContentHooks from \"./components/card-content\";\nimport cardDescriptionHooks from \"./components/card-description\";\nimport cardFooterHooks from \"./components/card-footer\";\nimport cardHeaderHooks from \"./components/card-header\";\nimport cardTitleHooks from \"./components/card-title\";\nimport cascaderHooks from \"./components/cascader\";\nimport checkboxHooks from \"./components/checkbox\";\nimport codeBlockHooks from \"./components/code-block\";\nimport codeEditorHooks from \"./components/code-editor\";\nimport commandDialogHooks from \"./components/command-dialog\";\nimport confirmDialogHooks from \"./components/confirm-dialog\";\nimport contextMenuHooks from \"./components/context-menu\";\nimport dataTableHooks from \"./components/data-table\";\nimport descriptionListHooks from \"./components/description-list\";\nimport dividerHooks from \"./components/divider\";\nimport drawerHooks from \"./components/drawer\";\nimport emptyHooks from \"./components/empty\";\nimport formControlHooks from \"./components/form-control\";\nimport formLayoutHooks from \"./components/form-layout\";\nimport gridItemHooks from \"./components/grid-item\";\nimport hstackHooks from \"./components/hstack\";\nimport htmlPreviewHooks from \"./components/html-preview\";\nimport iconButtonHooks from \"./components/icon-button\";\nimport inputHooks from \"./components/input\";\nimport jsonFieldHooks from \"./components/json-field\";\nimport keyValueEditorHooks from \"./components/key-value-editor\";\nimport listHooks from \"./components/list\";\nimport listItemHooks from \"./components/list-item\";\nimport loadingStateHooks from \"./components/loading-state\";\nimport menuHooks from \"./components/menu\";\nimport modalHooks from \"./components/modal\";\nimport monthCalendarHooks from \"./components/month-calendar\";\nimport navTreeHooks from \"./components/nav-tree\";\nimport numberInputHooks from \"./components/number-input\";\nimport optionHooks from \"./components/option\";\nimport optionGroupHooks from \"./components/option-group\";\nimport pageHooks from \"./components/page\";\nimport pageHeaderHooks from \"./components/page-header\";\nimport pageSectionHooks from \"./components/page-section\";\nimport pageTabHooks from \"./components/page-tab\";\nimport pageTabsHooks from \"./components/page-tabs\";\nimport paginationHooks from \"./components/pagination\";\nimport paletteToggleHooks from \"./components/palette-toggle\";\nimport popoverHooks from \"./components/popover\";\nimport progressHooks from \"./components/progress\";\nimport proseHooks from \"./components/prose\";\nimport radioHooks from \"./components/radio\";\nimport radioGroupHooks from \"./components/radio-group\";\nimport ratingHooks from \"./components/rating\";\nimport ratingScaleHooks from \"./components/rating-scale\";\nimport responsiveGridHooks from \"./components/responsive-grid\";\nimport selectHooks from \"./components/select\";\nimport selectLabelHooks from \"./components/select-label\";\nimport selectSeparatorHooks from \"./components/select-separator\";\nimport skeletonHooks from \"./components/skeleton\";\nimport skeletonTextHooks from \"./components/skeleton-text\";\nimport splitLayoutHooks from \"./components/split-layout\";\nimport stackHooks from \"./components/stack\";\nimport statCardHooks from \"./components/stat-card\";\nimport stepsHooks from \"./components/steps\";\nimport switchHooks from \"./components/switch\";\nimport tabHooks from \"./components/tab\";\nimport tabPanelHooks from \"./components/tab-panel\";\nimport tableCellContentHooks from \"./components/table-cell-content\";\nimport tabsHooks from \"./components/tabs\";\nimport tagHooks from \"./components/tag\";\nimport tagInputHooks from \"./components/tag-input\";\nimport textLinkHooks from \"./components/text-link\";\nimport textareaHooks from \"./components/textarea\";\nimport themeToggleHooks from \"./components/theme-toggle\";\nimport timePickerHooks from \"./components/time-picker\";\nimport toastRegionHooks from \"./components/toast-region\";\nimport toolbarHooks from \"./components/toolbar\";\nimport tooltipHooks from \"./components/tooltip\";\nimport uploadHooks from \"./components/upload\";\nimport virtualListHooks from \"./components/virtual-list\";\nimport vstackHooks from \"./components/vstack\";\n\n/**\n * The public styling hooks of every Minerva component, by component name:\n * `data-minerva=\"<name>\"` in React, the `<minerva-<name>>` element in the\n * web components. Single source of truth of the docs (\"Styling hooks\"\n * sections), the contract tests and `styling-hooks.lock.json`.\n */\nexport const stylingHooks = {\n alert: alertHooks,\n \"app-shell\": appShellHooks,\n autocomplete: autocompleteHooks,\n avatar: avatarHooks,\n \"avatar-group\": avatarGroupHooks,\n badge: badgeHooks,\n box: boxHooks,\n button: buttonHooks,\n card: cardHooks,\n \"card-content\": cardContentHooks,\n \"card-description\": cardDescriptionHooks,\n \"card-footer\": cardFooterHooks,\n \"card-header\": cardHeaderHooks,\n \"card-title\": cardTitleHooks,\n cascader: cascaderHooks,\n checkbox: checkboxHooks,\n \"code-block\": codeBlockHooks,\n \"code-editor\": codeEditorHooks,\n \"command-dialog\": commandDialogHooks,\n \"confirm-dialog\": confirmDialogHooks,\n \"context-menu\": contextMenuHooks,\n \"data-table\": dataTableHooks,\n \"description-list\": descriptionListHooks,\n divider: dividerHooks,\n drawer: drawerHooks,\n empty: emptyHooks,\n \"form-control\": formControlHooks,\n \"form-layout\": formLayoutHooks,\n \"grid-item\": gridItemHooks,\n hstack: hstackHooks,\n \"html-preview\": htmlPreviewHooks,\n \"icon-button\": iconButtonHooks,\n input: inputHooks,\n \"json-field\": jsonFieldHooks,\n \"key-value-editor\": keyValueEditorHooks,\n list: listHooks,\n \"list-item\": listItemHooks,\n \"loading-state\": loadingStateHooks,\n menu: menuHooks,\n modal: modalHooks,\n \"month-calendar\": monthCalendarHooks,\n \"nav-tree\": navTreeHooks,\n \"number-input\": numberInputHooks,\n option: optionHooks,\n \"option-group\": optionGroupHooks,\n page: pageHooks,\n \"page-header\": pageHeaderHooks,\n \"page-section\": pageSectionHooks,\n \"page-tab\": pageTabHooks,\n \"page-tabs\": pageTabsHooks,\n pagination: paginationHooks,\n \"palette-toggle\": paletteToggleHooks,\n popover: popoverHooks,\n progress: progressHooks,\n prose: proseHooks,\n radio: radioHooks,\n \"radio-group\": radioGroupHooks,\n rating: ratingHooks,\n \"rating-scale\": ratingScaleHooks,\n \"responsive-grid\": responsiveGridHooks,\n select: selectHooks,\n \"select-label\": selectLabelHooks,\n \"select-separator\": selectSeparatorHooks,\n skeleton: skeletonHooks,\n \"skeleton-text\": skeletonTextHooks,\n \"split-layout\": splitLayoutHooks,\n stack: stackHooks,\n \"stat-card\": statCardHooks,\n steps: stepsHooks,\n switch: switchHooks,\n tab: tabHooks,\n \"tab-panel\": tabPanelHooks,\n \"table-cell-content\": tableCellContentHooks,\n tabs: tabsHooks,\n tag: tagHooks,\n \"tag-input\": tagInputHooks,\n \"text-link\": textLinkHooks,\n textarea: textareaHooks,\n \"theme-toggle\": themeToggleHooks,\n \"time-picker\": timePickerHooks,\n \"toast-region\": toastRegionHooks,\n toolbar: toolbarHooks,\n tooltip: tooltipHooks,\n upload: uploadHooks,\n \"virtual-list\": virtualListHooks,\n vstack: vstackHooks,\n} as const;\n\n/** The manifest type (component name -> spec) */\nexport type StylingHooksManifest = typeof stylingHooks;\n/** Name of a component with styling hooks */\nexport type HookComponentName = keyof StylingHooksManifest;\n/** Part names of a component */\nexport type HookPartName<C extends HookComponentName> = Extract<\n keyof StylingHooksManifest[C][\"parts\"],\n string\n>;\n\n/**\n * Custom elements without styling hooks: they render no box of their own\n * (configuration / providers, `display: contents` with no shadow content).\n * `<minerva-description-item>` is data for its list: style the `row`,\n * `term` and `description` parts of `description-list`. The\n * `<minerva-menu-*>` elements are declarative data for `<minerva-menu>` /\n * `<minerva-context-menu>`: style the menu's item / group / separator /\n * label parts.\n */\nexport const NON_VISUAL_ELEMENTS = [\n \"minerva-config\",\n \"minerva-confirm-provider\",\n \"minerva-description-item\",\n \"minerva-menu-checkbox-item\",\n \"minerva-menu-group\",\n \"minerva-menu-item\",\n \"minerva-menu-label\",\n \"minerva-menu-radio-item\",\n \"minerva-menu-separator\",\n \"minerva-tooltip-provider\",\n] as const;\n","import { stylingHooks, type HookComponentName } from \"./manifest\";\nimport type { ComponentHookSpec } from \"./types\";\nimport {\n BOOLEAN_STATES,\n customStateName,\n itemPartName,\n stateAttribute,\n type StateKey,\n} from \"./vocabulary\";\n\n/** State hooks of a selector: `{ state: \"open\" }`, `{ disabled: true }`... */\nexport type StateSelector = Partial<Record<StateKey, string | true>>;\n\nconst isBoolean = (key: string) =>\n (BOOLEAN_STATES as readonly string[]).includes(key);\n\n/** `[data-state=\"open\"]`, `[data-disabled]`, `[data-size=\"small\"]`... */\nexport function reactStateSelector(states: StateSelector = {}): string {\n return Object.entries(states)\n .map(([key, value]) =>\n isBoolean(key) || value === true\n ? `[${stateAttribute(key as StateKey)}]`\n : `[${stateAttribute(key as StateKey)}=\"${value}\"]`,\n )\n .join(\"\");\n}\n\n/** `:state(open)`, `:state(disabled)`, `:state(size-small)`... */\nexport function wcStateSelector(states: StateSelector = {}): string {\n return Object.entries(states)\n .map(\n ([key, value]) =>\n `:state(${customStateName(key as StateKey, value === true ? undefined : value)})`,\n )\n .join(\"\");\n}\n\n/**\n * React selector of a component / part (compound: robust to portals and\n * nesting): `[data-minerva=\"button\"][data-part=\"label\"]`. Item states are\n * attributes of the part element too:\n * `reactSelector(\"menu\", \"item\", undefined, { highlighted: true })` ->\n * `[data-minerva=\"menu\"][data-part=\"item\"][data-highlighted]`.\n */\nexport function reactSelector(\n component: HookComponentName | (string & {}),\n part?: string,\n states?: StateSelector,\n itemStates?: StateSelector,\n): string {\n return `[data-minerva=\"${component}\"]${part ? `[data-part=\"${part}\"]` : \"\"}${reactStateSelector(states)}${reactStateSelector(itemStates)}`;\n}\n\n/**\n * The part names of an item in states (web components):\n * `wcItemParts(\"item\", { highlighted: true })` -> `item item--highlighted`.\n */\nexport function wcItemParts(part: string, itemStates: StateSelector = {}) {\n return [\n part,\n ...Object.entries(itemStates).map(([key, value]) =>\n itemPartName(part, key as StateKey, value === true ? undefined : value),\n ),\n ].join(\" \");\n}\n\n/**\n * Web component selector of a component / part; states are custom states\n * of the host: `minerva-button:state(loading)::part(label)`. Item states\n * (items rendered in the shadow root) are part names:\n * `wcSelector(\"menu\", \"item\", undefined, { highlighted: true })` ->\n * `minerva-menu::part(item item--highlighted)`.\n */\nexport function wcSelector(\n component: HookComponentName | (string & {}),\n part?: string,\n states?: StateSelector,\n itemStates?: StateSelector,\n): string {\n const spec = (stylingHooks as Record<string, ComponentHookSpec>)[component];\n const tag = spec?.wc ?? `minerva-${component}`;\n const parts = part && itemStates ? wcItemParts(part, itemStates) : part;\n return `${tag}${wcStateSelector(states)}${parts ? `::part(${parts})` : \"\"}`;\n}\n\n/** State keys and values, sorted (lock file) */\nfunction sortedStates(states: ComponentHookSpec[\"states\"]) {\n return Object.fromEntries(\n Object.keys(states)\n .sort()\n .map((key) => {\n const value = (states as Record<string, unknown>)[key];\n return [key, Array.isArray(value) ? [...value].sort() : value];\n }),\n );\n}\n\n/** The public hook surface (no descriptions): what the lock file records. */\nexport function hookSurface(\n manifest: Record<string, ComponentHookSpec> = stylingHooks,\n) {\n return Object.fromEntries(\n Object.keys(manifest)\n .sort()\n .map((name) => {\n const spec = manifest[name];\n return [\n name,\n {\n react: [...spec.react].sort(),\n wc: spec.wc,\n parts: Object.fromEntries(\n Object.keys(spec.parts)\n .sort()\n .map((part) => {\n const { states, only, itemStates } = spec.parts[part];\n return [\n part,\n {\n ...(states ? { states: [...states].sort() } : {}),\n ...(only ? { only } : {}),\n ...(itemStates\n ? { itemStates: sortedStates(itemStates) }\n : {}),\n },\n ];\n }),\n ),\n states: sortedStates(spec.states),\n },\n ];\n }),\n );\n}\n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qB,EACd,IAA8Cd,GAC9C;CACA,OAAO,OAAO,YACZ,OAAO,KAAKe,CAAQ,CAAC,CAClB,KAAK,CAAC,CACN,KAAK,MAAS;EACb,IAAMhB,IAAOgB,EAASC;EACtB,OAAO,CACLA,GACA;GACE,OAAO,CAAC,GAAGjB,EAAK,KAAK,CAAC,CAAC,KAAK;GAC5B,IAAIA,EAAK;GACT,OAAO,OAAO,YACZ,OAAO,KAAKA,EAAK,KAAK,CAAC,CACpB,KAAK,CAAC,CACN,KAAK,MAAS;IACb,IAAM,EAAE,WAAQ,SAAM,kBAAeA,EAAK,MAAMH;IAChD,OAAO,CACLA,GACA;KACE,GAAIQ,IAAS,EAAE,QAAQ,CAAC,GAAGA,CAAM,CAAC,CAAC,KAAK,EAAE,IAAI,CAAC;KAC/C,GAAIa,IAAO,EAAE,QAAK,IAAI,CAAC;KACvB,GAAIT,IACA,EAAE,YAAYK,EAAaL,CAAU,EAAE,IACvC,CAAC;IACP,CACF;GACF,CAAC,CACL;GACA,QAAQK,EAAad,EAAK,MAAM;EAClC,CACF;CACF,CAAC,CACL;AACF"}
|
|
1
|
+
{"version":3,"file":"styling-hooks.js","names":["alertHooks","appShellHooks","autocompleteHooks","avatarHooks","avatarGroupHooks","badgeHooks","boxHooks","buttonHooks","cardHooks","cardContentHooks","cardDescriptionHooks","cardFooterHooks","cardHeaderHooks","cardTitleHooks","cascaderHooks","checkboxHooks","codeBlockHooks","codeEditorHooks","commandDialogHooks","confirmDialogHooks","contextMenuHooks","dataTableHooks","datePickerHooks","descriptionListHooks","dividerHooks","drawerHooks","emptyHooks","formControlHooks","formLayoutHooks","gridItemHooks","hstackHooks","htmlPreviewHooks","iconButtonHooks","inputHooks","jsonFieldHooks","keyValueEditorHooks","listHooks","listItemHooks","loadingStateHooks","menuHooks","modalHooks","monthCalendarHooks","navTreeHooks","numberInputHooks","optionHooks","optionGroupHooks","pageHooks","pageHeaderHooks","pageSectionHooks","pageTabHooks","pageTabsHooks","paginationHooks","paletteToggleHooks","popoverHooks","progressHooks","proseHooks","radioHooks","radioGroupHooks","ratingHooks","ratingScaleHooks","responsiveGridHooks","selectHooks","selectLabelHooks","selectSeparatorHooks","skeletonHooks","skeletonTextHooks","splitLayoutHooks","stackHooks","statCardHooks","stepsHooks","switchHooks","tabHooks","tabPanelHooks","tableCellContentHooks","tabsHooks","tagHooks","tagInputHooks","textLinkHooks","textareaHooks","themeToggleHooks","timePickerHooks","toastRegionHooks","toolbarHooks","tooltipHooks","uploadHooks","virtualListHooks","vstackHooks","STATE_VALUES","BOOLEAN_STATES","KEYED_STATES","ATTRIBUTES","stateAttribute","key","customStateName","value","ITEM_STATE_SEPARATOR","itemPartName","part","STABILITY_POLICY","defineHooks","spec","stylingHooks","NON_VISUAL_ELEMENTS","isBoolean","reactStateSelector","states","wcStateSelector","reactSelector","component","itemStates","wcItemParts","wcSelector","tag","parts","sortedStates","hookSurface","manifest","name","only"],"sources":["../../../core/src/styling-hooks/vocabulary.ts","../../../core/src/styling-hooks/types.ts","../../../core/src/styling-hooks/components/alert.ts","../../../core/src/styling-hooks/components/app-shell.ts","../../../core/src/styling-hooks/components/autocomplete.ts","../../../core/src/styling-hooks/components/avatar.ts","../../../core/src/styling-hooks/components/avatar-group.ts","../../../core/src/styling-hooks/components/badge.ts","../../../core/src/styling-hooks/components/box.ts","../../../core/src/styling-hooks/components/button.ts","../../../core/src/styling-hooks/components/card.ts","../../../core/src/styling-hooks/components/card-content.ts","../../../core/src/styling-hooks/components/card-description.ts","../../../core/src/styling-hooks/components/card-footer.ts","../../../core/src/styling-hooks/components/card-header.ts","../../../core/src/styling-hooks/components/card-title.ts","../../../core/src/styling-hooks/components/cascader.ts","../../../core/src/styling-hooks/components/checkbox.ts","../../../core/src/styling-hooks/components/code-block.ts","../../../core/src/styling-hooks/components/code-editor.ts","../../../core/src/styling-hooks/components/command-dialog.ts","../../../core/src/styling-hooks/components/confirm-dialog.ts","../../../core/src/styling-hooks/components/context-menu.ts","../../../core/src/styling-hooks/components/data-table.ts","../../../core/src/styling-hooks/components/date-picker.ts","../../../core/src/styling-hooks/components/description-list.ts","../../../core/src/styling-hooks/components/divider.ts","../../../core/src/styling-hooks/components/drawer.ts","../../../core/src/styling-hooks/components/empty.ts","../../../core/src/styling-hooks/components/form-control.ts","../../../core/src/styling-hooks/components/form-layout.ts","../../../core/src/styling-hooks/components/grid-item.ts","../../../core/src/styling-hooks/components/hstack.ts","../../../core/src/styling-hooks/components/html-preview.ts","../../../core/src/styling-hooks/components/icon-button.ts","../../../core/src/styling-hooks/components/input.ts","../../../core/src/styling-hooks/components/json-field.ts","../../../core/src/styling-hooks/components/key-value-editor.ts","../../../core/src/styling-hooks/components/list.ts","../../../core/src/styling-hooks/components/list-item.ts","../../../core/src/styling-hooks/components/loading-state.ts","../../../core/src/styling-hooks/components/menu.ts","../../../core/src/styling-hooks/components/modal.ts","../../../core/src/styling-hooks/components/month-calendar.ts","../../../core/src/styling-hooks/components/nav-tree.ts","../../../core/src/styling-hooks/components/number-input.ts","../../../core/src/styling-hooks/components/option.ts","../../../core/src/styling-hooks/components/option-group.ts","../../../core/src/styling-hooks/components/page.ts","../../../core/src/styling-hooks/components/page-header.ts","../../../core/src/styling-hooks/components/page-section.ts","../../../core/src/styling-hooks/components/page-tab.ts","../../../core/src/styling-hooks/components/page-tabs.ts","../../../core/src/styling-hooks/components/pagination.ts","../../../core/src/styling-hooks/components/palette-toggle.ts","../../../core/src/styling-hooks/components/popover.ts","../../../core/src/styling-hooks/components/progress.ts","../../../core/src/styling-hooks/components/prose.ts","../../../core/src/styling-hooks/components/radio.ts","../../../core/src/styling-hooks/components/radio-group.ts","../../../core/src/styling-hooks/components/rating.ts","../../../core/src/styling-hooks/components/rating-scale.ts","../../../core/src/styling-hooks/components/responsive-grid.ts","../../../core/src/styling-hooks/components/select.ts","../../../core/src/styling-hooks/components/select-label.ts","../../../core/src/styling-hooks/components/select-separator.ts","../../../core/src/styling-hooks/components/skeleton.ts","../../../core/src/styling-hooks/components/skeleton-text.ts","../../../core/src/styling-hooks/components/split-layout.ts","../../../core/src/styling-hooks/components/stack.ts","../../../core/src/styling-hooks/components/stat-card.ts","../../../core/src/styling-hooks/components/steps.ts","../../../core/src/styling-hooks/components/switch.ts","../../../core/src/styling-hooks/components/tab.ts","../../../core/src/styling-hooks/components/tab-panel.ts","../../../core/src/styling-hooks/components/table-cell-content.ts","../../../core/src/styling-hooks/components/tabs.ts","../../../core/src/styling-hooks/components/tag.ts","../../../core/src/styling-hooks/components/tag-input.ts","../../../core/src/styling-hooks/components/text-link.ts","../../../core/src/styling-hooks/components/textarea.ts","../../../core/src/styling-hooks/components/theme-toggle.ts","../../../core/src/styling-hooks/components/time-picker.ts","../../../core/src/styling-hooks/components/toast-region.ts","../../../core/src/styling-hooks/components/toolbar.ts","../../../core/src/styling-hooks/components/tooltip.ts","../../../core/src/styling-hooks/components/upload.ts","../../../core/src/styling-hooks/components/virtual-list.ts","../../../core/src/styling-hooks/components/vstack.ts","../../../core/src/styling-hooks/manifest.ts","../../../core/src/styling-hooks/selectors.ts"],"sourcesContent":["/**\n * The state vocabulary of Minerva's public styling hooks: one set of names\n * shared by every component, in React (`data-*` attributes) and in the web\n * components (custom states, `:state()`).\n *\n * | Kind | React | Web components |\n * | ------- | ------------------------- | ---------------------- |\n * | state | `[data-state=\"open\"]` | `:state(open)` |\n * | boolean | `[data-disabled]` | `:state(disabled)` |\n * | keyed | `[data-size=\"small\"]` | `:state(size-small)` |\n *\n * Item states (a menu item, an option, a table row, a day...) use the same\n * names on the item itself: `[data-part=\"item\"][data-highlighted]` in React;\n * on the web components either the custom states of the item element when\n * it is a light-DOM element of its own (`minerva-option:state(selected)`),\n * or `<part>--<state>` part names next to the part name when the item is\n * rendered in a shadow root (`::part(item item--highlighted)`, see\n * `itemPartName`).\n *\n * Adding a name here is a minor change; removing or renaming one is a major\n * change (see `STABILITY_POLICY`).\n */\n\n/** Values of `data-state` (`:state(<value>)` on the web components) */\nexport const STATE_VALUES = [\n \"open\",\n \"closed\",\n \"checked\",\n \"unchecked\",\n \"indeterminate\",\n \"active\",\n \"inactive\",\n] as const;\n\n/**\n * Boolean states: `data-<name>=\"\"` while true, absent while false\n * (`:state(<name>)` on the web components)\n */\nexport const BOOLEAN_STATES = [\n \"disabled\",\n \"invalid\",\n \"readonly\",\n \"loading\",\n \"required\",\n \"highlighted\",\n \"current\",\n \"dragging\",\n \"selected\",\n \"expanded\",\n \"today\",\n \"outside\",\n] as const;\n\n/**\n * Keyed states: `data-<name>=\"<value>\"` (`:state(<name>-<value>)` on the\n * web components). The values are listed per component.\n */\nexport const KEYED_STATES = [\n \"size\",\n \"variant\",\n \"color\",\n \"orientation\",\n \"side\",\n \"align\",\n \"placement\",\n \"shape\",\n \"status\",\n \"sort\",\n \"fill\",\n] as const;\n\nexport type StateValue = (typeof STATE_VALUES)[number];\nexport type BooleanState = (typeof BOOLEAN_STATES)[number];\nexport type KeyedState = (typeof KEYED_STATES)[number];\n/** Every state hook key: `state`, a boolean state or a keyed state */\nexport type StateKey = \"state\" | BooleanState | KeyedState;\n\n/** Attribute names of the hooks rendered by the React components */\nexport const ATTRIBUTES = {\n component: \"data-minerva\",\n part: \"data-part\",\n} as const;\n\n/** The React attribute of a state key (`size` -> `data-size`). */\nexport const stateAttribute = (key: StateKey): `data-${string}` =>\n `data-${key}`;\n\n/**\n * The custom state name (`:state(<name>)`) of a web component state:\n * `state` -> its value, a boolean -> its key, a keyed state -> `key-value`.\n */\nexport function customStateName(key: StateKey, value?: string): string {\n if (key === \"state\") return String(value);\n if ((BOOLEAN_STATES as readonly string[]).includes(key)) return key;\n return `${key}-${value}`;\n}\n\n/** Separator of an item state part name: `item--highlighted` */\nexport const ITEM_STATE_SEPARATOR = \"--\";\n\n/**\n * The part name of an item state (web components, items rendered in a shadow\n * root): `<part>--<custom state name>`, e.g. `item--highlighted`,\n * `item--checked`, `header-cell--sort-ascending`. The element keeps its part\n * name too, so `::part(item item--highlighted)` matches a highlighted item.\n */\nexport function itemPartName(\n part: string,\n key: StateKey,\n value?: string,\n): string {\n return `${part}${ITEM_STATE_SEPARATOR}${customStateName(key, value)}`;\n}\n\n/**\n * Stability policy of the hook surface (`styling-hooks.lock.json`):\n * adding a component, part, state key or value (item states included) is a\n * minor change; removing\n * or renaming one (or moving a state to another part) is a major change.\n * CSS classes, the DOM structure and the elements that carry no hook are\n * private and may change in any release.\n */\nexport const STABILITY_POLICY =\n \"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.\";\n","import type {\n BooleanState,\n KeyedState,\n StateKey,\n StateValue,\n} from \"./vocabulary\";\n\n/** Implementation a hook is limited to (absent: both libraries render it) */\nexport type HookImplementation = \"react\" | \"wc\";\n\n/** The state hooks a component (or an item) renders, with their values. */\nexport type ComponentStateSpec = {\n /** Values `data-state` takes */\n readonly state?: readonly StateValue[];\n} & { readonly [K in BooleanState]?: true } & {\n readonly [K in KeyedState]?: readonly string[];\n};\n\n/** A styling part: `data-part=\"<name>\"` (React) / `part=\"<name>\"` (WC). */\nexport interface PartHookSpec {\n /** What the part is (English; tooling and the custom elements manifest) */\n readonly description: string;\n /**\n * State keys rendered on this part in React, in addition to the root.\n * The `root` part carries every component state unless it lists its own.\n * On the web components every state is a custom state of the host.\n */\n readonly states?: readonly StateKey[];\n /**\n * Only rendered by one library (structure that has no counterpart in the\n * other one). Explain why in `description`.\n */\n readonly only?: HookImplementation;\n /**\n * Item states: states of each rendered instance of this part (a menu item,\n * an option, a table row, a day cell...), independent of the component's\n * states. Same vocabulary, own values.\n *\n * - React: `data-*` attributes on the part element itself\n * (`[data-minerva=\"menu\"][data-part=\"item\"][data-highlighted]`).\n * - Web components (the part is in the shadow root): one extra part name\n * per state, `<part>--<state>` (`itemPartName`), next to the part name:\n * `minerva-menu::part(item item--highlighted)`.\n *\n * Items that are light-DOM custom elements of their own (`<minerva-option>`,\n * `<minerva-tab>`...) are components of the manifest instead: their states\n * are custom states of the item element (`minerva-option:state(selected)`).\n */\n readonly itemStates?: ComponentStateSpec;\n}\n\n/** The public styling hooks of one component. */\nexport interface ComponentHookSpec {\n /** What the component is (English) */\n readonly description: string;\n /** React exports whose DOM carries `data-minerva=\"<component>\"` */\n readonly react: readonly string[];\n /** Custom element tag (`minerva-<component>`), `null` for React-only */\n readonly wc: string | null;\n /** Styling parts, by name */\n readonly parts: Readonly<Record<string, PartHookSpec>>;\n /** State hooks and their values */\n readonly states: ComponentStateSpec;\n}\n\n/** Declares the hooks of a component (keeps the literal types). */\nexport const defineHooks = <const T extends ComponentHookSpec>(spec: T): T =>\n spec;\n\nexport type { StateKey };\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"An inline message with an icon, a title, a description, an action and optional close / collapse buttons\",\n react: [\"Alert\"],\n wc: \"minerva-alert\",\n parts: {\n root: {\n description:\n \"The alert (role=alert for danger / warning, status otherwise); state open / closed only while collapsible\",\n },\n icon: { description: \"The icon (role=img)\" },\n title: { description: \"The title (holds the collapse button)\" },\n trigger: {\n description: \"The expand / collapse button of a collapsible alert\",\n },\n description: { description: \"The message\" },\n action: { description: \"The action wrapper\" },\n \"close-button\": { description: \"The close button\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n size: [\"small\", \"medium\", \"large\"],\n variant: [\"subtle\", \"outline\", \"solid\"],\n color: [\"info\", \"success\", \"warning\", \"danger\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Application chrome: a collapsible sidebar, a header, the main landmark and a mobile navigation drawer\",\n react: [\"AppShell\"],\n wc: \"minerva-app-shell\",\n parts: {\n root: {\n description:\n \"The shell (`state`: whether the mobile navigation drawer is open)\",\n states: [\"state\"],\n },\n \"skip-link\": { description: \"The skip to content link\" },\n sidebar: { description: \"The desktop sidebar (<aside>)\" },\n header: { description: \"The header bar\" },\n main: { description: \"The <main> landmark\" },\n overlay: {\n description: \"The backdrop of the mobile drawer\",\n states: [\"state\"],\n },\n content: {\n description: \"The mobile navigation drawer (role=dialog)\",\n states: [\"state\"],\n },\n \"close-button\": { description: \"The close button of the mobile drawer\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A text input (combobox) suggesting filtered options in a dropdown listbox\",\n react: [\"AutoComplete\"],\n wc: \"minerva-autocomplete\",\n parts: {\n root: {\n description: \"The root wrapper (label, field and anchor of the dropdown)\",\n states: [\"state\", \"disabled\", \"readonly\", \"loading\"],\n },\n label: { description: \"The visible label\" },\n field: {\n description:\n \"The input box (web components only: React renders a nested Input, style its hooks)\",\n only: \"wc\",\n },\n input: {\n description:\n \"The native <input role=combobox> (web components only: React renders a nested Input, style its hooks)\",\n only: \"wc\",\n },\n content: {\n description: \"The positioned dropdown\",\n states: [\"state\", \"side\", \"align\", \"placement\"],\n },\n list: { description: \"The role=listbox list\" },\n item: {\n description:\n \"An option. Item states: highlighted (active option or hovered), disabled\",\n itemStates: { highlighted: true, disabled: true },\n },\n \"group-label\": { description: \"A group heading\" },\n empty: { description: \"The empty state (no matching option)\" },\n loading: { description: \"The loading state (while loading)\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n readonly: true,\n loading: true,\n side: [\"top\", \"right\", \"bottom\", \"left\"],\n align: [\"start\", \"end\"],\n placement: [\n \"top-start\",\n \"top-end\",\n \"right-start\",\n \"right-end\",\n \"bottom-start\",\n \"bottom-end\",\n \"left-start\",\n \"left-end\",\n ],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A picture of a person, falling back to their initials or custom content\",\n react: [\"Avatar\"],\n wc: \"minerva-avatar\",\n parts: {\n root: {\n description:\n \"The avatar box (role=img while the fallback is shown); no size state for a size in pixels\",\n },\n image: { description: \"The <img>\" },\n fallback: {\n description: \"The initials / fallback content wrapper (no image)\",\n },\n },\n states: {\n size: [\"xsmall\", \"small\", \"medium\", \"large\", \"xlarge\", \"xxlarge\"],\n shape: [\"circle\", \"square\", \"rounded\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: 'Overlapping avatars with an optional \"+N\" indicator',\n react: [\"AvatarGroup\"],\n wc: \"minerva-avatar-group\",\n parts: {\n root: { description: \"The group (role=group)\" },\n item: { description: \"The wrapper of each visible avatar\" },\n count: { description: 'The \"+N\" indicator of the hidden avatars' },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A small count or status indicator, standalone or attached to a corner of an element\",\n react: [\"Badge\"],\n wc: \"minerva-badge\",\n parts: {\n root: {\n description:\n \"The outermost element: the badge itself when standalone, the wrapper of the children when attached\",\n },\n badge: {\n description:\n \"The badge attached to a corner of the children (a standalone badge is the root)\",\n states: [\"size\", \"variant\", \"color\"],\n },\n icon: { description: \"The icon before the content\" },\n },\n states: {\n size: [\"small\", \"medium\", \"large\"],\n variant: [\"solid\", \"subtle\", \"outline\"],\n color: [\"primary\", \"neutral\", \"success\", \"warning\", \"danger\", \"info\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A polymorphic container with padding, margin, size, background, radius and shadow shorthands\",\n react: [\"Box\"],\n wc: \"minerva-box\",\n parts: {\n root: {\n description:\n \"The rendered element (`as`). React only: the <minerva-box> element itself is the box (style the element)\",\n only: \"react\",\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A native button with a color, a variant, a size and states\",\n react: [\"Button\"],\n wc: \"minerva-button\",\n parts: {\n root: { description: \"The native <button>\" },\n label: { description: \"The label wrapper\" },\n \"start-icon\": { description: \"The icon before the label\" },\n \"end-icon\": { description: \"The icon after the label\" },\n spinner: { description: \"The loading spinner (while loading)\" },\n },\n states: {\n state: [\"active\", \"inactive\"],\n disabled: true,\n loading: true,\n size: [\"xsmall\", \"small\", \"medium\", \"large\", \"xlarge\"],\n variant: [\"solid\", \"outline\", \"ghost\", \"link\"],\n color: [\"primary\", \"neutral\", \"success\", \"warning\", \"danger\", \"info\"],\n shape: [\"square\", \"rounded\", \"circle\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A content container of header, content and footer sections; optionally a link or a button\",\n react: [\"Card\"],\n wc: \"minerva-card\",\n parts: {\n root: {\n description: \"The card root (div, article, section, a or button)\",\n },\n },\n states: {\n variant: [\"default\", \"outline\", \"elevated\", \"filled\", \"ghost\"],\n disabled: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The main body of a card\",\n react: [\"CardContent\"],\n wc: \"minerva-card-content\",\n parts: {\n root: { description: \"The section box\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The secondary text below a card title\",\n react: [\"CardDescription\"],\n wc: \"minerva-card-description\",\n parts: {\n root: { description: \"The paragraph\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The bottom section of a card, e.g. for actions\",\n react: [\"CardFooter\"],\n wc: \"minerva-card-footer\",\n parts: {\n root: { description: \"The section box\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"The top section of a card, usually holding its title and description\",\n react: [\"CardHeader\"],\n wc: \"minerva-card-header\",\n parts: {\n root: { description: \"The section box\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The heading of a card (h3 by default)\",\n react: [\"CardTitle\"],\n wc: \"minerva-card-title\",\n parts: {\n root: { description: \"The heading element\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A field picking a path in a tree of options through cascading columns (optionally searchable)\",\n react: [\"Cascader\"],\n wc: \"minerva-cascader\",\n parts: {\n root: {\n description: \"The root wrapper (anchor of the dropdown)\",\n states: [\"state\", \"disabled\", \"readonly\", \"invalid\"],\n },\n control: { description: \"The field box (input, clear button, chevron)\" },\n input: {\n description:\n \"The native <input role=combobox> (web components only: React renders a nested Input, style its hooks)\",\n only: \"wc\",\n },\n \"clear-button\": {\n description: \"The clear button (while there is a value)\",\n },\n icon: { description: \"The chevron\" },\n content: {\n description: \"The positioned dropdown\",\n states: [\"state\", \"side\", \"align\", \"placement\"],\n },\n column: { description: \"A column of options (role=listbox)\" },\n item: {\n description:\n \"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)\",\n itemStates: {\n selected: true,\n expanded: true,\n disabled: true,\n loading: true,\n },\n },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n readonly: true,\n invalid: true,\n side: [\"top\", \"bottom\"],\n align: [\"start\", \"end\"],\n placement: [\"bottom-start\", \"bottom-end\", \"top-start\", \"top-end\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A native checkbox with a label, a helper text and an indeterminate state\",\n react: [\"Checkbox\"],\n wc: \"minerva-checkbox\",\n parts: {\n root: {\n description: \"The wrapper (the clickable row and the helper text)\",\n },\n input: { description: 'The native <input type=\"checkbox\">' },\n control: { description: \"The visual box (draws the checkmark)\" },\n label: { description: \"The label text\" },\n \"helper-text\": { description: \"The helper / error text\" },\n },\n states: {\n state: [\"checked\", \"unchecked\", \"indeterminate\"],\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n color: [\"primary\", \"success\", \"info\", \"warning\", \"danger\"],\n shape: [\"square\", \"circle\", \"rounded\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A scrollable, focusable block of source text with an optional copy button\",\n react: [\"CodeBlock\"],\n wc: \"minerva-code-block\",\n parts: {\n root: {\n description:\n \"The positioned outer wrapper of the region and its actions (only when copyable, or with a language label)\",\n },\n region: {\n description:\n \"The <pre> scroll region (role=region): the visible box of the code\",\n },\n code: { description: \"The <code> element\" },\n language: {\n description:\n \"The language label. Web components only: React's CodeBlock has no language prop\",\n only: \"wc\",\n },\n \"copy-button\": {\n description:\n \"The copy button (while copyable). Web components only: React renders an IconButton, which has its own hooks\",\n only: \"wc\",\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A labelled Monaco code editor on a local engine, degrading to a textarea with a retry action\",\n react: [\"MonacoCodeEditor\"],\n wc: \"minerva-code-editor\",\n parts: {\n root: { description: \"The role=group root\" },\n label: { description: \"The visible label\" },\n surface: { description: \"The editor surface (sized by the height)\" },\n loading: { description: \"The loading indicator (while the editor loads)\" },\n error: {\n description:\n \"The unavailable message and retry action (when the editor failed)\",\n },\n fallback: {\n description: \"The fallback <textarea> (when the editor failed)\",\n },\n \"retry-button\": {\n description:\n \"The retry button. Web components only: React renders a Button, which has its own hooks\",\n only: \"wc\",\n },\n },\n states: {\n disabled: true,\n loading: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A searchable command palette in a modal dialog\",\n react: [\"CommandDialog\"],\n wc: \"minerva-command-dialog\",\n parts: {\n overlay: { description: \"The backdrop\", states: [\"state\"] },\n content: {\n description: \"The dialog panel (role=dialog)\",\n states: [\"state\"],\n },\n header: { description: \"The title row (accessible name of the dialog)\" },\n description: { description: \"The description below the title\" },\n search: { description: \"The search field (icon, input and Enter hint)\" },\n input: { description: \"The search input (role=combobox)\" },\n list: { description: \"The results list (role=listbox)\" },\n item: {\n description:\n \"A result (role=option). Item state: highlighted (active result)\",\n itemStates: { highlighted: true },\n },\n empty: { description: \"The text shown when no command matches\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A small modal alertdialog asking to confirm an action (Cancel / Confirm)\",\n react: [\"ConfirmDialog\"],\n wc: \"minerva-confirm-dialog\",\n parts: {\n overlay: { description: \"The backdrop\", states: [\"state\"] },\n content: {\n description: \"The dialog panel (role=alertdialog)\",\n states: [\"state\", \"color\", \"loading\"],\n },\n header: { description: \"The title (accessible name of the dialog)\" },\n description: { description: \"The description below the title\" },\n body: { description: \"The optional extra content\" },\n footer: { description: \"The actions row (Cancel and Confirm buttons)\" },\n \"cancel-button\": {\n description:\n \"The Cancel <minerva-button> (web components only: in React it is a Button with its own hooks, [data-minerva=button] in the footer)\",\n only: \"wc\",\n },\n \"confirm-button\": {\n description:\n \"The Confirm <minerva-button> (web components only: in React it is a Button with its own hooks, [data-minerva=button] in the footer)\",\n only: \"wc\",\n },\n \"close-button\": { description: \"The close (×) button\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n color: [\"primary\", \"danger\", \"warning\"],\n loading: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A menu opened at the pointer on right click / long press / Shift+F10 in its area\",\n react: [\"ContextMenu\"],\n wc: \"minerva-context-menu\",\n parts: {\n trigger: {\n description:\n \"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)\",\n states: [\"state\", \"disabled\"],\n only: \"react\",\n },\n content: {\n description:\n \"A menu panel (role=menu: the root menu and its submenus, each with its own placement)\",\n states: [\"state\", \"size\", \"side\", \"align\", \"placement\"],\n },\n item: {\n description:\n \"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)\",\n itemStates: {\n highlighted: true,\n disabled: true,\n state: [\"checked\", \"unchecked\"],\n expanded: true,\n },\n },\n \"item-indicator\": {\n description: \"The check mark / radio dot of a checkbox or radio item\",\n },\n icon: { description: \"The icon of an item\" },\n \"item-label\": { description: \"The label of an item\" },\n shortcut: { description: \"The keyboard shortcut hint of an item\" },\n group: {\n description: \"A group of entries (role=group, also radio groups)\",\n },\n label: { description: \"A group heading or section label\" },\n separator: { description: \"A separator\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n size: [\"small\", \"medium\"],\n side: [\"top\", \"right\", \"bottom\", \"left\"],\n align: [\"start\", \"center\", \"end\"],\n placement: [\n \"top\",\n \"top-start\",\n \"top-end\",\n \"right\",\n \"right-start\",\n \"right-end\",\n \"bottom\",\n \"bottom-start\",\n \"bottom-end\",\n \"left\",\n \"left-start\",\n \"left-end\",\n ],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A data table with sortable columns, row selection, fixed columns, empty / loading / error states and pagination\",\n react: [\n \"DataTable\",\n \"Table\",\n \"TableRoot\",\n \"TableRow\",\n \"TableHeader\",\n \"TableCell\",\n ],\n wc: \"minerva-data-table\",\n parts: {\n root: {\n description:\n \"The outer wrapper of the table, the error state and the pagination (React: rendered by DataTable only)\",\n },\n viewport: {\n description:\n \"The scroll wrapper of the table (a focusable region while it scrolls)\",\n },\n table: {\n description: \"The <table>\",\n states: [\"size\", \"variant\"],\n },\n row: {\n description:\n \"A <tr> (header and body rows; selected rows have aria-selected=true). Item state: selected (body rows)\",\n itemStates: { selected: true },\n },\n \"header-cell\": {\n description:\n \"A <th> column header (sortable headers have aria-sort). Item state: sort (sortable headers only)\",\n itemStates: { sort: [\"ascending\", \"descending\", \"none\"] },\n },\n cell: { description: \"A <td> body cell\" },\n \"sort-button\": { description: \"The sort button of a sortable header\" },\n checkbox: { description: \"A row / select-all selection checkbox\" },\n empty: { description: \"The cell of the empty state\" },\n skeleton: { description: \"A skeleton bar of the loading rows\" },\n error: { description: \"The error state (role=alert)\" },\n \"retry-button\": {\n description:\n \"The retry button of the error state. Web components only: React renders a Button, which has its own hooks\",\n only: \"wc\",\n },\n pagination: {\n description:\n \"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\",\n only: \"wc\",\n },\n },\n states: {\n loading: true,\n size: [\"small\", \"medium\", \"large\"],\n variant: [\"simple\", \"striped\", \"bordered\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A local date field with an accessible popup month calendar\",\n react: [\"DatePicker\"],\n wc: \"minerva-date-picker\",\n parts: {\n root: {\n description: \"The field wrapper (anchor of the panel)\",\n states: [\"state\", \"disabled\", \"readonly\", \"invalid\", \"size\"],\n },\n control: {\n description:\n \"The input box (web components only: React renders a nested Input, style its hooks)\",\n only: \"wc\",\n },\n input: {\n description:\n \"The native <input> (web components only: React renders a nested Input, style its hooks)\",\n only: \"wc\",\n },\n \"clear-button\": {\n description:\n \"The clear button (web components only: React renders a nested IconButton, style its hooks)\",\n only: \"wc\",\n },\n icon: {\n description: \"The calendar icon (shown when there is no clear button)\",\n },\n day: {\n description: \"A calendar day cell (web components only)\",\n only: \"wc\",\n },\n content: {\n description: \"The popup panel (role=dialog)\",\n states: [\"state\", \"side\", \"align\", \"placement\"],\n },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n readonly: true,\n invalid: true,\n size: [\"small\", \"medium\", \"large\"],\n side: [\"top\", \"bottom\"],\n align: [\"start\", \"end\"],\n placement: [\"bottom-start\", \"bottom-end\", \"top-start\", \"top-end\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Labeled metadata fields as a native <dl> of term / description rows\",\n react: [\"DescriptionList\"],\n wc: \"minerva-description-list\",\n parts: {\n root: { description: \"The <dl>\" },\n row: { description: \"Each row (one term / description pair)\" },\n term: { description: \"Each <dt>\" },\n description: { description: \"Each <dd>\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A horizontal or vertical separator line, optionally with text (horizontal only)\",\n react: [\"Divider\"],\n wc: \"minerva-divider\",\n parts: {\n root: {\n description:\n \"The <hr>, or the role=separator element of a divider with text (align: position of the text)\",\n },\n label: { description: \"The text between the two halves of the line\" },\n },\n states: {\n orientation: [\"horizontal\", \"vertical\"],\n variant: [\"solid\", \"dashed\", \"dotted\"],\n align: [\"left\", \"center\", \"right\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A side panel dialog sliding in from an edge over an overlay\",\n react: [\n \"Drawer\",\n \"DrawerContent\",\n \"DrawerHeader\",\n \"DrawerBody\",\n \"DrawerFooter\",\n ],\n wc: \"minerva-drawer\",\n parts: {\n overlay: { description: \"The backdrop\", states: [\"state\"] },\n content: {\n description: \"The dialog panel (role=dialog)\",\n states: [\"state\", \"side\", \"size\"],\n },\n header: { description: \"The title (accessible name of the dialog)\" },\n description: {\n description:\n \"The description below the title (visually hidden when no description is given)\",\n },\n body: { description: \"The scrollable body\" },\n footer: { description: \"The actions row\" },\n \"close-button\": { description: \"The close (×) button\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n side: [\"left\", \"right\", \"top\", \"bottom\"],\n size: [\"small\", \"medium\", \"large\", \"full\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"An empty state: icon, title, description, actions and footer content\",\n react: [\"Empty\"],\n wc: \"minerva-empty\",\n parts: {\n root: {\n description:\n \"The region (role=status); size only for the unframed sized layout\",\n },\n icon: { description: \"The icon wrapper\" },\n title: { description: \"The title (accessible name of the region)\" },\n description: { description: \"The description\" },\n actions: { description: \"The actions row\" },\n footer: { description: \"The footer content\" },\n },\n states: {\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A field container: a label with a required indicator, one control, a helper text and an error message\",\n react: [\n \"FormControl\",\n \"FormLabel\",\n \"FormHelperText\",\n \"FormErrorMessage\",\n \"FormField\",\n ],\n wc: \"minerva-form-control\",\n parts: {\n root: { description: \"The field container\" },\n label: { description: \"The <label>\" },\n \"required-indicator\": { description: \"The required marker of the label\" },\n \"helper-text\": { description: \"The helper text (hidden while invalid)\" },\n \"error-message\": {\n description: 'The error message (role=\"alert\", while invalid)',\n },\n },\n states: {\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A responsive column grid for form fields\",\n react: [\"FormLayout\"],\n wc: \"minerva-form-layout\",\n parts: {\n root: {\n description:\n \"The form layout box (React: the native <form>; web components: the grid's query container, inside your own <form>)\",\n },\n layout: {\n description:\n \"The grid. Web components only: React renders a nested ResponsiveGrid (style its `responsive-grid` hooks)\",\n only: \"wc\",\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A cell of a responsive grid, optionally spanning the full row\",\n react: [\"GridItem\"],\n wc: \"minerva-grid-item\",\n parts: {\n root: {\n description:\n \"The grid cell (or the `asChild` child). React only: the <minerva-grid-item> element itself is the cell (style the element)\",\n only: \"react\",\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A horizontal stack (row), centered on the cross axis by default\",\n react: [\"HStack\"],\n wc: \"minerva-hstack\",\n parts: {\n root: { description: \"The flex container\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A sandboxed iframe preview of sanitized HTML, at desktop or mobile width\",\n react: [\"HtmlPreview\"],\n wc: \"minerva-html-preview\",\n parts: {\n root: { description: \"The scrolling container\" },\n frame: { description: \"The sandboxed <iframe>\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A button that only contains an icon, with a tooltip, toggle and loading states\",\n react: [\"IconButton\"],\n wc: \"minerva-icon-button\",\n parts: {\n root: {\n description:\n \"The native <button>; state active while a toggle button is pressed, inactive otherwise\",\n },\n icon: {\n description: \"The icon wrapper (hidden from assistive technologies)\",\n },\n spinner: { description: \"The loading indicator (while loading)\" },\n tooltip: {\n description:\n \"The tooltip (role=tooltip). Web components only: React wraps the button in a <Tooltip> component, which has its own hooks\",\n only: \"wc\",\n },\n },\n states: {\n state: [\"active\", \"inactive\"],\n disabled: true,\n loading: true,\n size: [\"xsmall\", \"small\", \"medium\", \"large\"],\n variant: [\"ghost\", \"solid\", \"outline\"],\n color: [\"primary\", \"neutral\", \"success\", \"warning\", \"danger\", \"info\"],\n shape: [\"circle\", \"square\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A single-line text field with prefix / suffix, clear button, password toggle and character count\",\n react: [\"Input\"],\n wc: \"minerva-input\",\n parts: {\n root: { description: \"The field box (wraps the input and its addons)\" },\n input: { description: \"The native <input>\" },\n prefix: { description: \"The content before the text\" },\n suffix: { description: \"The content after the text\" },\n \"clear-button\": {\n description: \"The clear button (while there is a value)\",\n },\n \"password-toggle\": {\n description: \"The password visibility toggle (type=password)\",\n },\n count: { description: \"The character counter\" },\n },\n states: {\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n variant: [\"outline\", \"filled\", \"unstyled\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A strict-JSON text field with a format button and syntax feedback\",\n react: [\"JsonField\"],\n wc: \"minerva-json-field\",\n parts: {\n root: { description: \"The wrapper\" },\n toolbar: { description: \"The toolbar above the text (format button)\" },\n \"format-button\": {\n description:\n \"The format button (web components only: React renders an IconButton, styled with its own hooks)\",\n only: \"wc\",\n },\n input: {\n description:\n \"The native <textarea> (web components only: React renders a Textarea, styled with its own hooks)\",\n only: \"wc\",\n },\n status: { description: \"The validation status line (role=status)\" },\n },\n states: {\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"An editable list of key / value rows (headers, metadata, variables)\",\n react: [\"KeyValueEditor\"],\n wc: \"minerva-key-value-editor\",\n parts: {\n root: { description: \"The container\" },\n row: {\n description:\n \"Each row (key field, value field and remove button). Item state: invalid (the key or the value has an error)\",\n itemStates: { invalid: true },\n },\n \"remove-button\": {\n description:\n \"The remove button of a row (web components only: React renders an IconButton, styled with its own hooks)\",\n only: \"wc\",\n },\n \"add-button\": {\n description:\n \"The add button (web components only: React renders a Button, styled with its own hooks)\",\n only: \"wc\",\n },\n },\n states: {\n disabled: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A quiet operational list of rows (role=list)\",\n react: [\"List\"],\n wc: \"minerva-list\",\n parts: {\n root: {\n description: \"The list (React: the <ul>; web components: its wrapper)\",\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A list row with primary / secondary text, a decorative icon and actions\",\n react: [\"ListItem\"],\n wc: \"minerva-list-item\",\n parts: {\n root: { description: \"The row\" },\n icon: { description: \"The decorative leading icon wrapper\" },\n label: { description: \"The primary text\" },\n description: { description: \"The secondary text\" },\n actions: { description: \"The trailing actions wrapper\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A page / route / section loading presentation: a spinner next to a label in a polite status region\",\n react: [\"LoadingState\"],\n wc: \"minerva-loading-state\",\n parts: {\n root: { description: \"The status region\" },\n spinner: {\n description:\n \"The decorative spinner (wraps a ProgressIndicator in React; the <minerva-progress> element in the web components)\",\n },\n label: { description: \"The label\" },\n },\n states: {\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"An action menu opened from a trigger button, with submenus, checkbox and radio items\",\n react: [\"Menu\"],\n wc: \"minerva-menu\",\n parts: {\n trigger: {\n description:\n \"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])\",\n states: [\"state\", \"disabled\"],\n only: \"react\",\n },\n content: {\n description:\n \"A menu panel (role=menu: the root menu and its submenus, each with its own placement)\",\n states: [\"state\", \"size\", \"side\", \"align\", \"placement\"],\n },\n item: {\n description:\n \"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)\",\n itemStates: {\n highlighted: true,\n disabled: true,\n state: [\"checked\", \"unchecked\"],\n expanded: true,\n },\n },\n \"item-indicator\": {\n description: \"The check mark / radio dot of a checkbox or radio item\",\n },\n icon: { description: \"The icon of an item\" },\n \"item-label\": { description: \"The label of an item\" },\n shortcut: { description: \"The keyboard shortcut hint of an item\" },\n group: {\n description: \"A group of entries (role=group, also radio groups)\",\n },\n label: { description: \"A group heading or section label\" },\n separator: { description: \"A separator\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n size: [\"small\", \"medium\"],\n side: [\"top\", \"right\", \"bottom\", \"left\"],\n align: [\"start\", \"center\", \"end\"],\n placement: [\n \"top\",\n \"top-start\",\n \"top-end\",\n \"right\",\n \"right-start\",\n \"right-end\",\n \"bottom\",\n \"bottom-start\",\n \"bottom-end\",\n \"left\",\n \"left-start\",\n \"left-end\",\n ],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A modal dialog over an overlay\",\n react: [\"Modal\", \"ModalContent\", \"ModalHeader\", \"ModalBody\", \"ModalFooter\"],\n wc: \"minerva-modal\",\n parts: {\n overlay: { description: \"The backdrop\", states: [\"state\"] },\n content: {\n description: \"The dialog panel (role=dialog)\",\n states: [\"state\", \"size\"],\n },\n header: { description: \"The title (accessible name of the dialog)\" },\n description: { description: \"The description below the title\" },\n body: { description: \"The scrollable body\" },\n footer: { description: \"The actions row\" },\n \"close-button\": { description: \"The close (×) button\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n size: [\"small\", \"medium\", \"large\", \"xlarge\", \"full\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A month grid of days with event counts, navigation and the events of the selected day\",\n react: [\"MonthCalendar\"],\n wc: \"minerva-month-calendar\",\n parts: {\n root: { description: \"The calendar <section>\" },\n heading: { description: \"The month heading\" },\n \"nav-button\": { description: \"The previous / today / next buttons\" },\n grid: { description: \"The role=grid element\" },\n day: {\n description:\n \"A day cell (role=gridcell). Item states: selected, today, outside (day of the previous / next month), disabled\",\n itemStates: {\n selected: true,\n today: true,\n outside: true,\n disabled: true,\n },\n },\n events: { description: \"The events section of the selected day\" },\n event: { description: \"An event (a button when events are clickable)\" },\n empty: { description: \"The text shown when the selected day has no event\" },\n },\n states: {\n disabled: true,\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Sidebar navigation with sections, nested expandable branches, an active item and a compact mode\",\n react: [\"NavTree\"],\n wc: \"minerva-nav-tree\",\n parts: {\n root: { description: \"The <nav> landmark\" },\n group: { description: \"A section of items\" },\n \"group-label\": { description: \"The title of a section\" },\n item: {\n description:\n \"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\",\n itemStates: { current: true, expanded: true, disabled: true },\n },\n icon: { description: \"The icon of an item\" },\n label: { description: \"The label of an item\" },\n description: { description: \"The secondary text of an item\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A numeric field (spinbutton) with min / max / step and stepper buttons\",\n react: [\"NumberInput\"],\n wc: \"minerva-number-input\",\n parts: {\n root: { description: \"The field box (wraps the input and the stepper)\" },\n input: { description: 'The native <input> (role=\"spinbutton\")' },\n stepper: { description: \"The increment / decrement column\" },\n increment: { description: \"The increment button\" },\n decrement: { description: \"The decrement button\" },\n },\n states: {\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A selectable option of a select (role=option); its states are the item states of the select's options: selected, highlighted, disabled\",\n react: [\"SelectItem\"],\n wc: \"minerva-option\",\n parts: {\n root: { description: \"The option row\" },\n label: { description: \"The content wrapper\" },\n indicator: { description: \"The check mark (while selected)\" },\n },\n states: {\n selected: true,\n highlighted: true,\n disabled: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A group of select options (role=group), labelled by a select-label\",\n react: [\"SelectGroup\"],\n wc: \"minerva-option-group\",\n parts: {\n root: { description: \"The group wrapper\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The padded, vertically spaced column of a screen's content\",\n react: [\"Page\"],\n wc: \"minerva-page\",\n parts: {\n root: { description: \"The page column\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The page heading (h1) with an optional description and actions\",\n react: [\"PageHeader\"],\n wc: \"minerva-page-header\",\n parts: {\n root: { description: \"The <header>\" },\n title: { description: \"The <h1>\" },\n description: { description: \"The description paragraph\" },\n actions: { description: \"The actions wrapper\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A page region named by its h2 title, with optional description, icon and actions\",\n react: [\"PageSection\"],\n wc: \"minerva-page-section\",\n parts: {\n root: { description: \"The <section>\" },\n header: { description: \"The title row (title, description and actions)\" },\n title: { description: \"The <h2>\" },\n icon: { description: \"The decorative icon wrapper, inside the title\" },\n description: { description: \"The description paragraph\" },\n actions: { description: \"The actions wrapper\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"One open page of a page tabs strip\",\n react: [\"PageTab\"],\n wc: \"minerva-page-tab\",\n parts: {\n root: { description: \"The item wrapper\" },\n trigger: { description: \"The label <button> (selects the page)\" },\n icon: { description: \"The icon before the label\" },\n label: { description: \"The (truncated) label\" },\n action: {\n description: \"The wrapper of the separate control next to the label\",\n },\n \"close-button\": {\n description:\n \"The built-in close button (`closable`; React passes its own control as `action`)\",\n only: \"wc\",\n },\n },\n states: {\n current: true,\n disabled: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A horizontally scrolling strip of open application pages (route navigation)\",\n react: [\"PageTabs\"],\n wc: \"minerva-page-tabs\",\n parts: {\n root: { description: \"The <nav> landmark\" },\n viewport: { description: \"The scrolling viewport of the items\" },\n list: { description: \"The item list\" },\n \"scroll-button\": {\n description:\n \"The scroll left / right buttons (while the items overflow). Web components only: React renders IconButton components, which have their own hooks\",\n only: \"wc\",\n },\n actions: { description: \"The global actions after the list\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Page navigation with page buttons, an optional total, quick jumper and page size selector\",\n react: [\"Pagination\"],\n wc: \"minerva-pagination\",\n parts: {\n root: { description: \"The <nav> landmark\" },\n item: {\n description:\n \"A page / previous / next / jump button (the current page has aria-current=page). Item states: current (the current page), disabled\",\n itemStates: { current: true, disabled: true },\n },\n total: { description: \"The total text\" },\n jumper: { description: \"The quick jumper label (wraps its input)\" },\n \"size-changer\": { description: \"The page size <select>\" },\n \"simple-input\": { description: \"The page input of the simple mode\" },\n },\n states: {\n disabled: true,\n size: [\"small\", \"medium\", \"large\"],\n shape: [\"circle\", \"rounded\", \"square\"],\n variant: [\"solid\", \"outline\", \"ghost\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A color palette switch (a group of toggle buttons), orthogonal to the light / dark mode\",\n react: [\"PaletteToggle\"],\n wc: \"minerva-palette-toggle\",\n parts: {\n root: { description: \"The role=group wrapper\" },\n item: {\n description:\n \"Every option button (aria-pressed on the selected one). Item state: active (the selected palette, aria-pressed) / inactive\",\n itemStates: { state: [\"active\", \"inactive\"] },\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A click-triggered interactive panel (role=dialog) anchored to its trigger\",\n react: [\"PopoverTrigger\", \"PopoverContent\"],\n wc: \"minerva-popover\",\n parts: {\n trigger: {\n description:\n \"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)\",\n states: [\"state\"],\n only: \"react\",\n },\n content: {\n description: \"The positioned panel (role=dialog)\",\n states: [\"state\", \"side\", \"align\", \"placement\"],\n },\n arrow: { description: \"The arrow pointing at the anchor (with arrow)\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n side: [\"top\", \"right\", \"bottom\", \"left\"],\n align: [\"start\", \"center\", \"end\"],\n placement: [\n \"top\",\n \"top-start\",\n \"top-end\",\n \"right\",\n \"right-start\",\n \"right-end\",\n \"bottom\",\n \"bottom-start\",\n \"bottom-end\",\n \"left\",\n \"left-start\",\n \"left-end\",\n ],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"An indeterminate loading indicator: spinner, circle, wave, bar or dotted bar\",\n react: [\"ProgressIndicator\"],\n wc: \"minerva-progress\",\n parts: {\n root: {\n description:\n \"The indicator (role=progressbar unless decorative); color current follows the text color\",\n },\n icon: { description: \"The icon before the indicator\" },\n indicator: { description: \"The animated indicator (ring, wave or bar)\" },\n label: { description: \"The visible label\" },\n },\n states: {\n // the `dottedBar` variant is `dotted-bar` (kebab-case state values)\n variant: [\"spinner\", \"bar\", \"wave\", \"circle\", \"dotted-bar\"],\n size: [\"xsmall\", \"small\", \"medium\", \"large\", \"xlarge\"],\n color: [\"primary\", \"neutral\", \"current\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"Theme-aware typography for semantic HTML (articles, Markdown)\",\n react: [\"Prose\"],\n wc: \"minerva-prose\",\n parts: {\n root: {\n description:\n \"The typography container (or the `asChild` child). React only: the <minerva-prose> element itself is the container (style the element)\",\n only: \"react\",\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A radio button with a label and a helper / error text\",\n react: [\"Radio\"],\n wc: \"minerva-radio\",\n parts: {\n root: {\n description: \"The wrapper (the clickable row and the helper text)\",\n },\n input: {\n description:\n 'The native <input type=\"radio\"> (React only: the web component host is the radio itself)',\n only: \"react\",\n },\n control: { description: \"The visual radio mark\" },\n label: { description: \"The label text\" },\n \"helper-text\": { description: \"The helper / error text\" },\n },\n states: {\n state: [\"checked\", \"unchecked\"],\n disabled: true,\n invalid: true,\n size: [\"small\", \"medium\", \"large\"],\n color: [\"primary\", \"success\", \"warning\", \"danger\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A set of radios of which one can be selected, with a label and a helper text\",\n react: [\"RadioGroup\"],\n wc: \"minerva-radio-group\",\n parts: {\n root: { description: \"The wrapper\" },\n label: { description: \"The visible group label\" },\n list: { description: 'The element with role=\"radiogroup\" (the radios)' },\n \"helper-text\": { description: \"The helper text\" },\n },\n states: {\n disabled: true,\n invalid: true,\n required: true,\n orientation: [\"horizontal\", \"vertical\"],\n size: [\"small\", \"medium\", \"large\"],\n color: [\"primary\", \"success\", \"warning\", \"danger\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A score drawn as 5 stars, display-only or an interactive slider, optionally followed by the value and the number of ratings\",\n react: [\"Rating\"],\n wc: \"minerva-rating\",\n parts: {\n root: {\n description: 'The root (role=\"slider\", or role=\"img\" when display-only)',\n },\n stars: { description: \"The star row\" },\n star: {\n description: \"Each star. Item state: fill\",\n itemStates: { fill: [\"full\", \"half\", \"empty\"] },\n },\n value: { description: \"The score and the count\" },\n count: { description: \"The number of ratings\" },\n },\n states: {\n readonly: true,\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Several labelled ratings sharing one scale (one rating per row)\",\n react: [\"RatingScale\"],\n wc: \"minerva-rating-scale\",\n parts: {\n root: { description: \"The list of rows\" },\n row: { description: \"Each row (a label and a rating)\" },\n label: { description: \"The label of a row\" },\n },\n states: {\n readonly: true,\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"An equal-width column grid whose column count follows its own width (container queries)\",\n react: [\"ResponsiveGrid\"],\n wc: \"minerva-responsive-grid\",\n parts: {\n root: { description: \"The query container\" },\n layout: { description: \"The grid (its children are the grid items)\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A single-choice dropdown: a combobox trigger and a listbox popup of options\",\n react: [\"Select\"],\n wc: \"minerva-select\",\n parts: {\n root: {\n description: \"The trigger (<button role=combobox>)\",\n states: [\"state\", \"disabled\", \"invalid\", \"required\", \"size\"],\n },\n value: { description: \"The selected label / placeholder\" },\n icon: { description: \"The chevron\" },\n content: {\n description: \"The listbox popup (role=listbox)\",\n states: [\"state\", \"side\", \"align\", \"placement\"],\n },\n item: {\n description:\n \"An option rendered from the `options` property (web components only: React options are SelectItem elements, see option). Item states: selected, highlighted, disabled\",\n only: \"wc\",\n itemStates: { selected: true, highlighted: true, disabled: true },\n },\n \"group-label\": {\n description:\n \"A group heading rendered from the `options` property (web components only: React uses SelectLabel, see select-label)\",\n only: \"wc\",\n },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n invalid: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n side: [\"top\", \"bottom\"],\n align: [\"start\", \"end\"],\n placement: [\"bottom-start\", \"bottom-end\", \"top-start\", \"top-end\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The (non-selectable) heading of a group of select options\",\n react: [\"SelectLabel\"],\n wc: \"minerva-select-label\",\n parts: {\n root: { description: \"The label\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A presentational divider between select options or groups\",\n react: [\"SelectSeparator\"],\n wc: \"minerva-select-separator\",\n parts: {\n root: { description: \"The line\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Placeholder shapes shown while content loads (lines, avatar, title, paragraph, card)\",\n react: [\"Skeleton\"],\n wc: \"minerva-skeleton\",\n parts: {\n root: {\n description:\n \"The busy region (role=status), or the single block of a decorative skeleton\",\n },\n avatar: { description: \"The avatar placeholder\" },\n title: { description: \"The title placeholder\" },\n line: { description: \"Each line placeholder (also the paragraph lines)\" },\n },\n states: {\n variant: [\n \"text\",\n \"circular\",\n \"rectangular\",\n \"rounded\",\n \"button\",\n \"image\",\n \"card\",\n ],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A decorative block of text-line placeholders (hidden from assistive technologies)\",\n react: [\"SkeletonText\"],\n wc: \"minerva-skeleton-text\",\n parts: {\n root: { description: \"The block of lines\" },\n line: { description: \"Each line placeholder\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Main content with an optional aside column that splits beside it at a container breakpoint\",\n react: [\"SplitLayout\"],\n wc: \"minerva-split-layout\",\n parts: {\n root: { description: \"The query container\" },\n main: { description: \"The main column\" },\n aside: { description: \"The aside column (when there is aside content)\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A flex row / column with a token gap, optional separators and attached groups\",\n react: [\"Stack\"],\n wc: \"minerva-stack\",\n parts: {\n root: { description: \"The flex container\" },\n },\n states: {\n orientation: [\"horizontal\", \"vertical\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A labelled metric with an optional icon and description\",\n react: [\"StatCard\"],\n wc: \"minerva-stat-card\",\n parts: {\n root: { description: \"The card\" },\n icon: { description: \"The decorative icon wrapper\" },\n label: { description: \"The metric name (<dt>)\" },\n value: { description: \"The metric value (<dd>)\" },\n description: { description: \"The description paragraph\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"The stages of a workflow as an ordered list, navigable or read-only\",\n react: [\"Steps\"],\n wc: \"minerva-steps\",\n parts: {\n root: { description: \"The <ol>\" },\n item: {\n description:\n \"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)\",\n itemStates: {\n current: true,\n disabled: true,\n status: [\"complete\", \"upcoming\"],\n },\n },\n button: {\n description:\n \"The <button> of a step (navigable) or its static wrapper (read-only)\",\n },\n indicator: { description: \"The numbered indicator of a step\" },\n label: { description: \"The label of a step\" },\n },\n states: {\n readonly: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A two-state toggle (role=switch): a slider, with optional side labels, or two segments\",\n react: [\"Switch\"],\n wc: \"minerva-switch\",\n parts: {\n root: {\n description:\n \"The outer element (<label>; a <span> with side labels; the group of segments)\",\n },\n input: { description: 'The native <input type=\"checkbox\" role=\"switch\">' },\n control: { description: \"The slider box (wraps the track and the thumb)\" },\n track: { description: \"The track\" },\n thumb: { description: \"The thumb\" },\n icon: { description: \"The icon (in the thumb or after the slider)\" },\n label: { description: \"The label text\" },\n side: { description: \"The off / on side labels (buttons)\" },\n segment: {\n description: 'The off / on segments (buttons, variant=\"segmented\")',\n },\n },\n states: {\n state: [\"checked\", \"unchecked\"],\n disabled: true,\n loading: true,\n invalid: true,\n readonly: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n color: [\"primary\", \"success\", \"info\", \"warning\", \"danger\"],\n shape: [\"round\", \"square\"],\n variant: [\"slider\", \"segmented\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A role=tab trigger of a tabs group\",\n react: [\"Tab\"],\n wc: \"minerva-tab\",\n parts: {\n root: { description: \"The visual tab trigger\" },\n },\n states: {\n state: [\"active\", \"inactive\"],\n disabled: true,\n orientation: [\"horizontal\", \"vertical\"],\n variant: [\"line\", \"enclosed\", \"soft\", \"pills\"],\n color: [\"primary\", \"neutral\", \"success\", \"warning\", \"danger\", \"info\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"The role=tabpanel content of a tab\",\n react: [\"TabPanel\"],\n wc: \"minerva-tab-panel\",\n parts: {\n root: { description: \"The panel wrapper\" },\n },\n states: {\n state: [\"active\", \"inactive\"],\n orientation: [\"horizontal\", \"vertical\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Bounded, wrapping content inside a table cell, with an optional muted secondary line\",\n react: [\"TableCellContent\"],\n wc: \"minerva-table-cell-content\",\n parts: {\n root: { description: \"The wrapper (bounded width)\" },\n primary: { description: \"The primary line (<code> when monospace)\" },\n secondary: { description: \"The muted secondary line\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"Accessible tabs: a tab list and the panels of its tabs, with a variant, a color and an orientation\",\n react: [\"Tabs\", \"TabList\"],\n wc: \"minerva-tabs\",\n parts: {\n root: { description: \"The root wrapper of the tab list and the panels\" },\n list: {\n description: \"The role=tablist container of the tabs\",\n states: [\"orientation\", \"variant\"],\n },\n },\n states: {\n orientation: [\"horizontal\", \"vertical\"],\n variant: [\"line\", \"enclosed\", \"soft\", \"pills\"],\n color: [\"primary\", \"neutral\", \"success\", \"warning\", \"danger\", \"info\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A small label for marking and categorizing, optionally clickable, toggleable or closable\",\n react: [\"Tag\"],\n wc: \"minerva-tag\",\n parts: {\n root: {\n description:\n \"The tag (a plain, non-interactive element); state active while a clickable tag is pressed, inactive otherwise\",\n },\n action: { description: \"The native <button> of a clickable tag\" },\n label: { description: \"The label wrapper\" },\n icon: { description: \"The icon before the label\" },\n avatar: { description: \"The avatar before the label\" },\n spinner: { description: \"The loading spinner (while loading)\" },\n \"close-button\": { description: \"The close button\" },\n },\n states: {\n state: [\"active\", \"inactive\"],\n disabled: true,\n loading: true,\n size: [\"small\", \"medium\", \"large\"],\n variant: [\"subtle\", \"outline\", \"solid\"],\n color: [\"primary\", \"neutral\", \"success\", \"warning\", \"danger\", \"info\"],\n shape: [\"square\", \"rounded\", \"circle\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A text field that collects a list of tags, with optional suggestions\",\n react: [\"TagInput\"],\n wc: \"minerva-tag-input\",\n parts: {\n root: { description: \"The wrapper\" },\n tags: { description: \"The list of tags\" },\n tag: {\n description:\n \"A tag (web components only: React renders a Tag, styled with its own hooks)\",\n only: \"wc\",\n },\n \"remove-button\": {\n description: \"The remove button of a tag (web components only, see tag)\",\n only: \"wc\",\n },\n control: {\n description:\n \"The text field box (web components only: React renders an Input, styled with its own hooks)\",\n only: \"wc\",\n },\n input: {\n description:\n 'The native text <input> (role=\"combobox\"; web components only, see control)',\n only: \"wc\",\n },\n list: { description: \"The suggestion list (role=listbox, while open)\" },\n option: {\n description:\n 'A suggestion (role=option; the highlighted one has aria-selected=\"true. Item state: highlighted\")',\n itemStates: { highlighted: true },\n },\n empty: { description: \"The text shown when no suggestion matches\" },\n \"add-button\": {\n description:\n \"The add button (web components only: React renders an IconButton, styled with its own hooks)\",\n only: \"wc\",\n },\n \"clear-button\": {\n description:\n \"The clear button (web components only: React renders an IconButton, styled with its own hooks)\",\n only: \"wc\",\n },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A styled native link (default inline link, subtle link with a chevron, action row)\",\n react: [\"TextLink\"],\n wc: \"minerva-text-link\",\n parts: {\n root: {\n description: \"The native <a> (React: the slotted child with asChild)\",\n },\n },\n states: {\n variant: [\"default\", \"subtle\", \"action\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A multi-line text field sharing the input's look\",\n react: [\"Textarea\"],\n wc: \"minerva-textarea\",\n parts: {\n root: { description: \"The native <textarea>\" },\n },\n states: {\n disabled: true,\n invalid: true,\n readonly: true,\n required: true,\n size: [\"small\", \"medium\", \"large\"],\n variant: [\"outline\", \"filled\", \"unstyled\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A light / dark / system theme switch (a group of toggle buttons)\",\n react: [\"ThemeToggle\"],\n wc: \"minerva-theme-toggle\",\n parts: {\n root: { description: \"The role=group wrapper\" },\n item: {\n description:\n \"Every option button (aria-pressed on the selected one). Item state: active (the selected option, aria-pressed) / inactive\",\n itemStates: { state: [\"active\", \"inactive\"] },\n },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A time field with a popup of hours / minutes / seconds columns\",\n react: [\"TimePicker\"],\n wc: \"minerva-time-picker\",\n parts: {\n root: {\n description: \"The field wrapper (anchor of the panel)\",\n states: [\"state\", \"disabled\", \"readonly\", \"invalid\", \"size\"],\n },\n control: {\n description:\n \"The input box (web components only: React renders a nested Input, style its hooks)\",\n only: \"wc\",\n },\n input: {\n description:\n \"The native <input> (web components only: React renders a nested Input, style its hooks)\",\n only: \"wc\",\n },\n \"clear-button\": {\n description:\n \"The clear button (web components only: React renders a nested IconButton, style its hooks)\",\n only: \"wc\",\n },\n icon: {\n description: \"The clock icon (shown when there is no clear button)\",\n },\n content: {\n description: \"The popup panel (role=dialog)\",\n states: [\"state\", \"side\", \"align\", \"placement\"],\n },\n column: {\n description: \"An hours / minutes / seconds / AM-PM column (role=listbox)\",\n },\n item: {\n description: \"A time unit (role=option). Item states: selected, disabled\",\n itemStates: { selected: true, disabled: true },\n },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n readonly: true,\n invalid: true,\n size: [\"small\", \"medium\", \"large\"],\n side: [\"top\", \"bottom\"],\n align: [\"start\", \"end\"],\n placement: [\"bottom-start\", \"bottom-end\", \"top-start\", \"top-end\"],\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"The fixed stack (role=region) rendering the toasts of the toast() API\",\n react: [\"ToastProvider\"],\n wc: \"minerva-toast-region\",\n parts: {\n root: { description: \"The fixed stack (role=region)\" },\n toast: {\n description:\n \"A toast (role=status, or alert for danger). Item states: open / closed (while leaving), color, loading\",\n itemStates: {\n state: [\"open\", \"closed\"],\n color: [\"info\", \"success\", \"warning\", \"danger\"],\n loading: true,\n },\n },\n icon: { description: \"The icon of a toast (spinner while loading)\" },\n title: { description: \"The title of a toast\" },\n description: { description: \"The description of a toast\" },\n action: { description: \"The action button of a toast\" },\n \"close-button\": { description: \"The close (×) button of a toast\" },\n progress: { description: \"The countdown bar of a timed toast\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description: \"A wrapping row of related controls (role=group)\",\n react: [\"Toolbar\"],\n wc: \"minerva-toolbar\",\n parts: {\n root: { description: \"The group\" },\n },\n states: {},\n});\n","import { defineHooks } from \"../types\";\n\nconst PLACEMENTS = [\n \"top\",\n \"top-start\",\n \"top-end\",\n \"right\",\n \"right-start\",\n \"right-end\",\n \"bottom\",\n \"bottom-start\",\n \"bottom-end\",\n \"left\",\n \"left-start\",\n \"left-end\",\n] as const;\n\nexport default defineHooks({\n description:\n \"Informative content shown when the wrapped element is hovered or focused\",\n react: [\"Tooltip\"],\n wc: \"minerva-tooltip\",\n parts: {\n trigger: {\n description:\n \"The wrapper around the trigger (React: not rendered with asChild, the child keeps its own hooks)\",\n states: [\"state\", \"disabled\"],\n },\n content: {\n description: \"The positioned tooltip (role=tooltip, while shown)\",\n states: [\n \"state\",\n \"color\",\n \"variant\",\n \"shape\",\n \"side\",\n \"align\",\n \"placement\",\n ],\n },\n arrow: { description: \"The arrow pointing at the trigger (with arrow)\" },\n },\n states: {\n state: [\"open\", \"closed\"],\n disabled: true,\n color: [\"neutral\", \"info\", \"success\", \"warning\", \"danger\"],\n variant: [\"solid\", \"subtle\", \"glass\"],\n shape: [\"default\", \"rounded\", \"thought\", \"square\"],\n side: [\"top\", \"right\", \"bottom\", \"left\"],\n align: [\"start\", \"center\", \"end\"],\n placement: PLACEMENTS,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A file picker with a drop zone, validation and a list of files with their status\",\n react: [\"Upload\"],\n wc: \"minerva-upload\",\n parts: {\n root: { description: \"The container (role=group)\" },\n label: { description: \"The visible label\" },\n dropzone: { description: \"The drop target\" },\n \"select-button\": {\n description:\n \"The select button (web components only: React renders a nested Button, style its hooks)\",\n only: \"wc\",\n },\n error: {\n description:\n \"The selection error (web components only: React renders a nested Alert, style its hooks)\",\n only: \"wc\",\n },\n list: { description: \"The file list\" },\n item: {\n description: \"A file. Item state: status of the file\",\n itemStates: { status: [\"uploading\", \"done\", \"error\"] },\n },\n \"retry-button\": {\n description:\n \"The retry button of a failed file (web components only: React renders a nested IconButton, style its hooks)\",\n only: \"wc\",\n },\n \"remove-button\": {\n description:\n \"The remove button of a file (web components only: React renders a nested IconButton, style its hooks)\",\n only: \"wc\",\n },\n },\n states: {\n disabled: true,\n loading: true,\n dragging: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A virtualized scrolling list that only renders the visible rows, with infinite loading\",\n react: [\"VirtualList\"],\n wc: \"minerva-virtual-list\",\n parts: {\n root: { description: \"The scroll container (role=region)\" },\n list: { description: \"The list (role=list) sized to all the rows\" },\n item: { description: \"A rendered row (role=listitem)\" },\n loading: { description: \"The loading indicator row (while loading)\" },\n },\n states: {\n loading: true,\n },\n});\n","import { defineHooks } from \"../types\";\n\nexport default defineHooks({\n description:\n \"A vertical stack (column), stretched on the cross axis by default\",\n react: [\"VStack\"],\n wc: \"minerva-vstack\",\n parts: {\n root: { description: \"The flex container\" },\n },\n states: {},\n});\n","// One module per component in ./components (sorted). The core tests check\n// that every module is listed here.\nimport alertHooks from \"./components/alert\";\nimport appShellHooks from \"./components/app-shell\";\nimport autocompleteHooks from \"./components/autocomplete\";\nimport avatarHooks from \"./components/avatar\";\nimport avatarGroupHooks from \"./components/avatar-group\";\nimport badgeHooks from \"./components/badge\";\nimport boxHooks from \"./components/box\";\nimport buttonHooks from \"./components/button\";\nimport cardHooks from \"./components/card\";\nimport cardContentHooks from \"./components/card-content\";\nimport cardDescriptionHooks from \"./components/card-description\";\nimport cardFooterHooks from \"./components/card-footer\";\nimport cardHeaderHooks from \"./components/card-header\";\nimport cardTitleHooks from \"./components/card-title\";\nimport cascaderHooks from \"./components/cascader\";\nimport checkboxHooks from \"./components/checkbox\";\nimport codeBlockHooks from \"./components/code-block\";\nimport codeEditorHooks from \"./components/code-editor\";\nimport commandDialogHooks from \"./components/command-dialog\";\nimport confirmDialogHooks from \"./components/confirm-dialog\";\nimport contextMenuHooks from \"./components/context-menu\";\nimport dataTableHooks from \"./components/data-table\";\nimport datePickerHooks from \"./components/date-picker\";\nimport descriptionListHooks from \"./components/description-list\";\nimport dividerHooks from \"./components/divider\";\nimport drawerHooks from \"./components/drawer\";\nimport emptyHooks from \"./components/empty\";\nimport formControlHooks from \"./components/form-control\";\nimport formLayoutHooks from \"./components/form-layout\";\nimport gridItemHooks from \"./components/grid-item\";\nimport hstackHooks from \"./components/hstack\";\nimport htmlPreviewHooks from \"./components/html-preview\";\nimport iconButtonHooks from \"./components/icon-button\";\nimport inputHooks from \"./components/input\";\nimport jsonFieldHooks from \"./components/json-field\";\nimport keyValueEditorHooks from \"./components/key-value-editor\";\nimport listHooks from \"./components/list\";\nimport listItemHooks from \"./components/list-item\";\nimport loadingStateHooks from \"./components/loading-state\";\nimport menuHooks from \"./components/menu\";\nimport modalHooks from \"./components/modal\";\nimport monthCalendarHooks from \"./components/month-calendar\";\nimport navTreeHooks from \"./components/nav-tree\";\nimport numberInputHooks from \"./components/number-input\";\nimport optionHooks from \"./components/option\";\nimport optionGroupHooks from \"./components/option-group\";\nimport pageHooks from \"./components/page\";\nimport pageHeaderHooks from \"./components/page-header\";\nimport pageSectionHooks from \"./components/page-section\";\nimport pageTabHooks from \"./components/page-tab\";\nimport pageTabsHooks from \"./components/page-tabs\";\nimport paginationHooks from \"./components/pagination\";\nimport paletteToggleHooks from \"./components/palette-toggle\";\nimport popoverHooks from \"./components/popover\";\nimport progressHooks from \"./components/progress\";\nimport proseHooks from \"./components/prose\";\nimport radioHooks from \"./components/radio\";\nimport radioGroupHooks from \"./components/radio-group\";\nimport ratingHooks from \"./components/rating\";\nimport ratingScaleHooks from \"./components/rating-scale\";\nimport responsiveGridHooks from \"./components/responsive-grid\";\nimport selectHooks from \"./components/select\";\nimport selectLabelHooks from \"./components/select-label\";\nimport selectSeparatorHooks from \"./components/select-separator\";\nimport skeletonHooks from \"./components/skeleton\";\nimport skeletonTextHooks from \"./components/skeleton-text\";\nimport splitLayoutHooks from \"./components/split-layout\";\nimport stackHooks from \"./components/stack\";\nimport statCardHooks from \"./components/stat-card\";\nimport stepsHooks from \"./components/steps\";\nimport switchHooks from \"./components/switch\";\nimport tabHooks from \"./components/tab\";\nimport tabPanelHooks from \"./components/tab-panel\";\nimport tableCellContentHooks from \"./components/table-cell-content\";\nimport tabsHooks from \"./components/tabs\";\nimport tagHooks from \"./components/tag\";\nimport tagInputHooks from \"./components/tag-input\";\nimport textLinkHooks from \"./components/text-link\";\nimport textareaHooks from \"./components/textarea\";\nimport themeToggleHooks from \"./components/theme-toggle\";\nimport timePickerHooks from \"./components/time-picker\";\nimport toastRegionHooks from \"./components/toast-region\";\nimport toolbarHooks from \"./components/toolbar\";\nimport tooltipHooks from \"./components/tooltip\";\nimport uploadHooks from \"./components/upload\";\nimport virtualListHooks from \"./components/virtual-list\";\nimport vstackHooks from \"./components/vstack\";\n\n/**\n * The public styling hooks of every Minerva component, by component name:\n * `data-minerva=\"<name>\"` in React, the `<minerva-<name>>` element in the\n * web components. Single source of truth of the docs (\"Styling hooks\"\n * sections), the contract tests and `styling-hooks.lock.json`.\n */\nexport const stylingHooks = {\n alert: alertHooks,\n \"app-shell\": appShellHooks,\n autocomplete: autocompleteHooks,\n avatar: avatarHooks,\n \"avatar-group\": avatarGroupHooks,\n badge: badgeHooks,\n box: boxHooks,\n button: buttonHooks,\n card: cardHooks,\n \"card-content\": cardContentHooks,\n \"card-description\": cardDescriptionHooks,\n \"card-footer\": cardFooterHooks,\n \"card-header\": cardHeaderHooks,\n \"card-title\": cardTitleHooks,\n cascader: cascaderHooks,\n checkbox: checkboxHooks,\n \"code-block\": codeBlockHooks,\n \"code-editor\": codeEditorHooks,\n \"command-dialog\": commandDialogHooks,\n \"confirm-dialog\": confirmDialogHooks,\n \"context-menu\": contextMenuHooks,\n \"data-table\": dataTableHooks,\n \"date-picker\": datePickerHooks,\n \"description-list\": descriptionListHooks,\n divider: dividerHooks,\n drawer: drawerHooks,\n empty: emptyHooks,\n \"form-control\": formControlHooks,\n \"form-layout\": formLayoutHooks,\n \"grid-item\": gridItemHooks,\n hstack: hstackHooks,\n \"html-preview\": htmlPreviewHooks,\n \"icon-button\": iconButtonHooks,\n input: inputHooks,\n \"json-field\": jsonFieldHooks,\n \"key-value-editor\": keyValueEditorHooks,\n list: listHooks,\n \"list-item\": listItemHooks,\n \"loading-state\": loadingStateHooks,\n menu: menuHooks,\n modal: modalHooks,\n \"month-calendar\": monthCalendarHooks,\n \"nav-tree\": navTreeHooks,\n \"number-input\": numberInputHooks,\n option: optionHooks,\n \"option-group\": optionGroupHooks,\n page: pageHooks,\n \"page-header\": pageHeaderHooks,\n \"page-section\": pageSectionHooks,\n \"page-tab\": pageTabHooks,\n \"page-tabs\": pageTabsHooks,\n pagination: paginationHooks,\n \"palette-toggle\": paletteToggleHooks,\n popover: popoverHooks,\n progress: progressHooks,\n prose: proseHooks,\n radio: radioHooks,\n \"radio-group\": radioGroupHooks,\n rating: ratingHooks,\n \"rating-scale\": ratingScaleHooks,\n \"responsive-grid\": responsiveGridHooks,\n select: selectHooks,\n \"select-label\": selectLabelHooks,\n \"select-separator\": selectSeparatorHooks,\n skeleton: skeletonHooks,\n \"skeleton-text\": skeletonTextHooks,\n \"split-layout\": splitLayoutHooks,\n stack: stackHooks,\n \"stat-card\": statCardHooks,\n steps: stepsHooks,\n switch: switchHooks,\n tab: tabHooks,\n \"tab-panel\": tabPanelHooks,\n \"table-cell-content\": tableCellContentHooks,\n tabs: tabsHooks,\n tag: tagHooks,\n \"tag-input\": tagInputHooks,\n \"text-link\": textLinkHooks,\n textarea: textareaHooks,\n \"theme-toggle\": themeToggleHooks,\n \"time-picker\": timePickerHooks,\n \"toast-region\": toastRegionHooks,\n toolbar: toolbarHooks,\n tooltip: tooltipHooks,\n upload: uploadHooks,\n \"virtual-list\": virtualListHooks,\n vstack: vstackHooks,\n} as const;\n\n/** The manifest type (component name -> spec) */\nexport type StylingHooksManifest = typeof stylingHooks;\n/** Name of a component with styling hooks */\nexport type HookComponentName = keyof StylingHooksManifest;\n/** Part names of a component */\nexport type HookPartName<C extends HookComponentName> = Extract<\n keyof StylingHooksManifest[C][\"parts\"],\n string\n>;\n\n/**\n * Custom elements without styling hooks: they render no box of their own\n * (configuration / providers, `display: contents` with no shadow content).\n * `<minerva-description-item>` is data for its list: style the `row`,\n * `term` and `description` parts of `description-list`. The\n * `<minerva-menu-*>` elements are declarative data for `<minerva-menu>` /\n * `<minerva-context-menu>`: style the menu's item / group / separator /\n * label parts.\n */\nexport const NON_VISUAL_ELEMENTS = [\n \"minerva-config\",\n \"minerva-confirm-provider\",\n \"minerva-description-item\",\n \"minerva-menu-checkbox-item\",\n \"minerva-menu-group\",\n \"minerva-menu-item\",\n \"minerva-menu-label\",\n \"minerva-menu-radio-item\",\n \"minerva-menu-separator\",\n \"minerva-tooltip-provider\",\n] as const;\n","import { stylingHooks, type HookComponentName } from \"./manifest\";\nimport type { ComponentHookSpec } from \"./types\";\nimport {\n BOOLEAN_STATES,\n customStateName,\n itemPartName,\n stateAttribute,\n type StateKey,\n} from \"./vocabulary\";\n\n/** State hooks of a selector: `{ state: \"open\" }`, `{ disabled: true }`... */\nexport type StateSelector = Partial<Record<StateKey, string | true>>;\n\nconst isBoolean = (key: string) =>\n (BOOLEAN_STATES as readonly string[]).includes(key);\n\n/** `[data-state=\"open\"]`, `[data-disabled]`, `[data-size=\"small\"]`... */\nexport function reactStateSelector(states: StateSelector = {}): string {\n return Object.entries(states)\n .map(([key, value]) =>\n isBoolean(key) || value === true\n ? `[${stateAttribute(key as StateKey)}]`\n : `[${stateAttribute(key as StateKey)}=\"${value}\"]`,\n )\n .join(\"\");\n}\n\n/** `:state(open)`, `:state(disabled)`, `:state(size-small)`... */\nexport function wcStateSelector(states: StateSelector = {}): string {\n return Object.entries(states)\n .map(\n ([key, value]) =>\n `:state(${customStateName(key as StateKey, value === true ? undefined : value)})`,\n )\n .join(\"\");\n}\n\n/**\n * React selector of a component / part (compound: robust to portals and\n * nesting): `[data-minerva=\"button\"][data-part=\"label\"]`. Item states are\n * attributes of the part element too:\n * `reactSelector(\"menu\", \"item\", undefined, { highlighted: true })` ->\n * `[data-minerva=\"menu\"][data-part=\"item\"][data-highlighted]`.\n */\nexport function reactSelector(\n component: HookComponentName | (string & {}),\n part?: string,\n states?: StateSelector,\n itemStates?: StateSelector,\n): string {\n return `[data-minerva=\"${component}\"]${part ? `[data-part=\"${part}\"]` : \"\"}${reactStateSelector(states)}${reactStateSelector(itemStates)}`;\n}\n\n/**\n * The part names of an item in states (web components):\n * `wcItemParts(\"item\", { highlighted: true })` -> `item item--highlighted`.\n */\nexport function wcItemParts(part: string, itemStates: StateSelector = {}) {\n return [\n part,\n ...Object.entries(itemStates).map(([key, value]) =>\n itemPartName(part, key as StateKey, value === true ? undefined : value),\n ),\n ].join(\" \");\n}\n\n/**\n * Web component selector of a component / part; states are custom states\n * of the host: `minerva-button:state(loading)::part(label)`. Item states\n * (items rendered in the shadow root) are part names:\n * `wcSelector(\"menu\", \"item\", undefined, { highlighted: true })` ->\n * `minerva-menu::part(item item--highlighted)`.\n */\nexport function wcSelector(\n component: HookComponentName | (string & {}),\n part?: string,\n states?: StateSelector,\n itemStates?: StateSelector,\n): string {\n const spec = (stylingHooks as Record<string, ComponentHookSpec>)[component];\n const tag = spec?.wc ?? `minerva-${component}`;\n const parts = part && itemStates ? wcItemParts(part, itemStates) : part;\n return `${tag}${wcStateSelector(states)}${parts ? `::part(${parts})` : \"\"}`;\n}\n\n/** State keys and values, sorted (lock file) */\nfunction sortedStates(states: ComponentHookSpec[\"states\"]) {\n return Object.fromEntries(\n Object.keys(states)\n .sort()\n .map((key) => {\n const value = (states as Record<string, unknown>)[key];\n return [key, Array.isArray(value) ? [...value].sort() : value];\n }),\n );\n}\n\n/** The public hook surface (no descriptions): what the lock file records. */\nexport function hookSurface(\n manifest: Record<string, ComponentHookSpec> = stylingHooks,\n) {\n return Object.fromEntries(\n Object.keys(manifest)\n .sort()\n .map((name) => {\n const spec = manifest[name];\n return [\n name,\n {\n react: [...spec.react].sort(),\n wc: spec.wc,\n parts: Object.fromEntries(\n Object.keys(spec.parts)\n .sort()\n .map((part) => {\n const { states, only, itemStates } = spec.parts[part];\n return [\n part,\n {\n ...(states ? { states: [...states].sort() } : {}),\n ...(only ? { only } : {}),\n ...(itemStates\n ? { itemStates: sortedStates(itemStates) }\n : {}),\n },\n ];\n }),\n ),\n states: sortedStates(spec.states),\n },\n ];\n }),\n );\n}\n"],"mappings":";AAwBA,IAAauF,IAAe;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;AACF,GAMaC,IAAiB;CAC5B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,GAMaC,IAAe;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,GASaC,IAAa;CACxB,WAAW;CACX,MAAM;AACR,GAGaC,KAAkB,MAC7B,QAAQC;AAMV,SAAgBC,EAAgB,GAAe,GAAwB;CAGrE,OAFID,MAAQ,UAAgB,OAAOE,CAAK,IACnCN,EAAqC,SAASI,CAAG,IAAUA,IACzD,GAAGA,EAAI,GAAGE;AACnB;AAGA,IAAaC,IAAuB;AAQpC,SAAgBC,EACd,GACA,GACA,GACQ;CACR,OAAO,GAAGC,MAA8BJ,EAAgBD,GAAKE,CAAK;AACpE;AAUA,IAAaI,IACX,oMCzDWC,KAAkD,MAC7DC,GwF6BWC,IAAe;CAC1B,OvF/FaF,EAAY;EACzB,aACE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