@nanahoshi/mona-ui 0.42.0 → 0.43.1
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/README.md +2 -0
- package/docs/api/alert.json +1 -0
- package/docs/api/auto-complete.json +1 -0
- package/docs/api/avatar.json +1 -0
- package/docs/api/badge.json +1 -0
- package/docs/api/breadcrumb.json +1 -0
- package/docs/api/button-group.json +1 -0
- package/docs/api/button.json +1 -0
- package/docs/api/calendar.json +1 -0
- package/docs/api/card.json +1 -0
- package/docs/api/chart.json +1 -0
- package/docs/api/check-box.json +1 -0
- package/docs/api/chip.json +1 -0
- package/docs/api/circular-progress-bar.json +1 -0
- package/docs/api/collapsible.json +1 -0
- package/docs/api/color-gradient.json +1 -0
- package/docs/api/color-palette.json +1 -0
- package/docs/api/color-picker.json +1 -0
- package/docs/api/combo-box.json +1 -0
- package/docs/api/command.json +1 -0
- package/docs/api/common.json +1 -0
- package/docs/api/contextmenu.json +1 -0
- package/docs/api/date-input.json +1 -0
- package/docs/api/date-picker.json +1 -0
- package/docs/api/date-range-picker.json +1 -0
- package/docs/api/datetime-picker.json +1 -0
- package/docs/api/dialog.json +1 -0
- package/docs/api/dropdown-button.json +1 -0
- package/docs/api/dropdown-list.json +1 -0
- package/docs/api/dropdown-tree.json +1 -0
- package/docs/api/dropdowns.json +1 -0
- package/docs/api/editor.json +1 -0
- package/docs/api/expansion-panel.json +1 -0
- package/docs/api/fieldset.json +1 -0
- package/docs/api/file-upload.json +1 -0
- package/docs/api/filter.json +1 -0
- package/docs/api/form-field.json +1 -0
- package/docs/api/grid.json +1 -0
- package/docs/api/i18n.json +1 -0
- package/docs/api/index.json +1 -0
- package/docs/api/kanban.json +1 -0
- package/docs/api/label.json +1 -0
- package/docs/api/list-box.json +1 -0
- package/docs/api/list-view.json +1 -0
- package/docs/api/list.json +1 -0
- package/docs/api/locales.json +1 -0
- package/docs/api/masked-text-box.json +1 -0
- package/docs/api/menubar.json +1 -0
- package/docs/api/multi-select-tree.json +1 -0
- package/docs/api/multi-select.json +1 -0
- package/docs/api/notification.json +1 -0
- package/docs/api/numeric-text-box.json +1 -0
- package/docs/api/otp-input.json +1 -0
- package/docs/api/pager.json +1 -0
- package/docs/api/placeholder.json +1 -0
- package/docs/api/popover.json +1 -0
- package/docs/api/popup-menu.json +1 -0
- package/docs/api/popup.json +1 -0
- package/docs/api/progress-bar.json +1 -0
- package/docs/api/qr-code.json +1 -0
- package/docs/api/query.json +1 -0
- package/docs/api/radio-button.json +1 -0
- package/docs/api/rating.json +1 -0
- package/docs/api/scroll-view.json +1 -0
- package/docs/api/segmented.json +1 -0
- package/docs/api/separator.json +1 -0
- package/docs/api/sheet.json +1 -0
- package/docs/api/sidebar.json +1 -0
- package/docs/api/skeleton.json +1 -0
- package/docs/api/slider.json +1 -0
- package/docs/api/sortable.json +1 -0
- package/docs/api/sparkline.json +1 -0
- package/docs/api/spinner.json +1 -0
- package/docs/api/split-button.json +1 -0
- package/docs/api/splitter.json +1 -0
- package/docs/api/stepper.json +1 -0
- package/docs/api/switch.json +1 -0
- package/docs/api/tabs.json +1 -0
- package/docs/api/text-area.json +1 -0
- package/docs/api/text-box.json +1 -0
- package/docs/api/theme.json +1 -0
- package/docs/api/time-picker.json +1 -0
- package/docs/api/time-selector.json +1 -0
- package/docs/api/toolbar.json +1 -0
- package/docs/api/tooltip.json +1 -0
- package/docs/api/tree-view.json +1 -0
- package/docs/api/window.json +1 -0
- package/docs/installation.md +8 -0
- package/docs/manifest.json +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"AttributeConfig":"common","InputType":"text-box","TEXT_BOX_DEFAULT_MESSAGES":"text-box","TextBoxComponent":"text-box","TextBoxDirective":"text-box","TextBoxPrefixTemplateDirective":"text-box","TextBoxSuffixTemplateDirective":"text-box"},"name":"text-box","pages":[{"path":"input","title":"Input"},{"path":"textbox","title":"Text Box"}],"symbols":[{"description":"","implements":["FormValueControl<string>"],"kind":"component","name":"TextBoxComponent","selector":"mona-text-box","inputs":[{"alias":"aria-describedby","defaultValue":"\"\"","description":"Id of an element that describes the inner input, such as a hint or an error message.","name":"ariaDescribedBy","type":"string"},{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name of the inner input. Prefer a visible label, linked through {@link inputId} or\n`aria-labelledby`; the placeholder is not a label.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"Id of the element that labels the inner input.","name":"ariaLabelledBy","type":"string"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"string"},{"defaultValue":"false","description":"Displays a clear button that resets the value to empty.\nThe button is hidden while the value is empty or the text box is disabled or read-only.","name":"clearButton","type":"boolean"},{"defaultValue":"false","description":"Renders the component with reduced visual emphasis and removes pointer interaction.","name":"disabled","type":"boolean"},{"defaultValue":"{}","description":"Additional HTML attributes applied directly to the inner `<input>` element.","name":"inputAttributes","type":"AttributeConfig"},{"defaultValue":"\"\"","description":"Additional CSS classes applied to the inner `<input>` element.","name":"inputClass","type":"string | string[]"},{"defaultValue":"generated","description":"Id of the inner `<input>` element. Point a `<label for>` or `<mona-label for>` at it to label the\ntext box. A unique id is generated when it isn't set.","name":"inputId","type":"string"},{"defaultValue":"null","description":"Inline styles applied to the inner `<input>` element.\nAccepts a style string or a `CSSStyleDeclaration` partial.","name":"inputStyle","type":"string | Partial<CSSStyleDeclaration> | null"},{"defaultValue":"false","description":"Marks the text box as invalid. When bound to a signal form field via `[formField]`,\nthis is written by the `FormField` directive.","name":"invalid","type":"boolean"},{"defaultValue":"undefined","description":"Maximum number of characters, set as `maxlength` on the inner input. When bound to a signal form\nfield via `[formField]`, this is written from the field's `maxLength` rule.","name":"maxLength","type":"number | undefined"},{"defaultValue":"undefined","description":"Minimum number of characters, set as `minlength` on the inner input. When bound to a signal form\nfield via `[formField]`, this is written from the field's `minLength` rule.","name":"minLength","type":"number | undefined"},{"defaultValue":"\"\"","description":"Name of the inner input, used by browsers and password managers for autofill. When bound to a\nsignal form field via `[formField]`, this is written by the `FormField` directive.","name":"name","type":"string"},{"defaultValue":"\"\"","description":"Placeholder text shown when no value has been entered.","name":"placeholder","type":"string"},{"defaultValue":"false","description":"Prevents value changes while preserving the component's visual state.","name":"readonly","type":"boolean"},{"defaultValue":"false","description":"Marks the text box as required.\nTriggers the invalid state when the value is empty and the field has been touched.","name":"required","type":"boolean"},{"defaultValue":"\"medium\"","description":"Border-radius preset applied to the component.","name":"rounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"\"medium\"","description":"Size preset controlling the component's dimensions.","name":"size","type":"\"large\" | \"medium\" | \"small\""},{"defaultValue":"false","description":"Sets the touched state of the text box. When bound to a signal form field via `[formField]`,\nthis is written by the `FormField` directive.","name":"touched","type":"boolean"},{"defaultValue":"\"text\"","description":"Sets the `type` attribute of the inner `<input>` element.","name":"type","type":"InputType"},{"defaultValue":"\"\"","description":"Two-way bindable current value of the text box.","name":"value","twoWay":true,"type":"string"}],"methods":[{"description":"Focuses the inner input and places the caret after the value, so the end of a long value is in view.","name":"focus","signature":"focus(options?: FocusOptions): void"}],"outputs":[{"description":"Emitted when the inner input loses focus, including when focus moves to the clear button or to\ncontent in the prefix or suffix templates.","name":"inputBlur","type":"FocusEvent"},{"description":"Emitted when the inner input gains focus.","name":"inputFocus","type":"FocusEvent"},{"description":"Emitted when focus leaves the text box, including its clear button and prefix and suffix content.\nForm directives (`[formField]`, `ngModel`, `formControl`) listen to this to mark the field as touched.","name":"touch","type":"void"}],"properties":[],"page":{"path":"textbox","title":"Text Box"}},{"description":"","kind":"directive","name":"TextBoxDirective","selector":"input[monaTextBox]","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"string"},{"defaultValue":"false","description":"Marks the input as invalid, triggering error border and ring styling.","name":"invalid","type":"boolean"},{"defaultValue":"\"medium\"","description":"Border-radius preset applied to the component.","name":"rounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"\"medium\"","description":"Size preset controlling the component's dimensions.","name":"size","type":"\"large\" | \"medium\" | \"small\""},{"defaultValue":"false","description":"Marks the input as touched. Error styling is only shown when both `invalid` and `touched` are `true`.","name":"touched","type":"boolean"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"input","title":"Input"}},{"description":"Marks an `<ng-template>` as a prefix slot. The template is rendered inside the container's left side. Multiple prefix\ntemplates are supported and render in source order.","kind":"directive","name":"TextBoxPrefixTemplateDirective","selector":"ng-template[monaTextBoxPrefixTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"textbox","title":"Text Box"}},{"description":"Marks an `<ng-template>` as a suffix slot. The template is rendered inside the container's right side, after the\noptional clear button. Multiple suffix templates are supported and render in source order.","kind":"directive","name":"TextBoxSuffixTemplateDirective","selector":"ng-template[monaTextBoxSuffixTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"textbox","title":"Text Box"}},{"description":"","kind":"constant","name":"TEXT_BOX_DEFAULT_MESSAGES","signature":"const TEXT_BOX_DEFAULT_MESSAGES: { clear: string; };","page":{"path":"textbox","title":"Text Box"}},{"description":"","kind":"type","name":"InputType","signature":"type InputType = \"email\" | \"password\" | \"search\" | \"tel\" | \"text\" | \"url\";","page":{"path":"input","title":"Input"},"usedBy":["TextBoxComponent"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"BuiltInThemeName":"theme","DefaultThemeStrategy":"theme","GeneratedThemeColorPalette":"theme","LocalStorageThemeStorage":"theme","SidebarColorRoleSeeds":"theme","THEME_ROOT":"theme","THEME_STORAGE":"theme","THEME_STRATEGY":"theme","ThemeAvailability":"theme","ThemeColorPaletteRegistration":"theme","ThemeColorPaletteSeeds":"theme","ThemeColorVariable":"theme","ThemeColors":"theme","ThemeComponentVariable":"theme","ThemeComponents":"theme","ThemeEffectLevel":"theme","ThemeEffectVariable":"theme","ThemeEffects":"theme","ThemeFamilyRegistration":"theme","ThemeFamilyVariants":"theme","ThemeMotion":"theme","ThemeMotionVariable":"theme","ThemeName":"theme","ThemeOptions":"theme","ThemeOverrideRegistration":"theme","ThemePreference":"theme","ThemeProfile":"theme","ThemeProfileOverrides":"theme","ThemeSelection":"theme","ThemeService":"theme","ThemeShadowVariable":"theme","ThemeShadows":"theme","ThemeShape":"theme","ThemeShapeVariable":"theme","ThemeStorage":"theme","ThemeStrategy":"theme","ThemeVariable":"theme","ThemeVariables":"theme","ThemeVariant":"theme","ThemeVariantPreference":"theme","annaTheme":"theme","builtInThemes":"theme","createSidebarColorRoles":"theme","flattenThemeProfile":"theme","generateThemeColorPalette":"theme","lunaTheme":"theme","monaTheme":"theme","provideThemeColorPalette":"theme","provideThemeFamily":"theme","provideThemeOptions":"theme","provideThemeOverrides":"theme","provideThemeRoot":"theme","provideThemeStorage":"theme"},"name":"theme","pages":[],"symbols":[{"description":"","kind":"service","name":"ThemeService","inputs":[],"methods":[{"description":"The registered themes and the variants each one has. A custom `ThemeStrategy` reports them through its\noptional `availableThemes()`, and this is empty for one that doesn't.","name":"availableThemes","signature":"availableThemes(): readonly ThemeAvailability[]"},{"description":"Removes the runtime color palette and restores the registered profile and provider overrides.","name":"clearColorPalette","signature":"clearColorPalette(): void"},{"description":"Applies a runtime-generated semantic color palette after all registered profile overrides.\nThe palette remains active across theme and light/dark switches until cleared.","name":"setColorPalette","signature":"setColorPalette(seeds: ThemeColorPaletteSeeds): void"},{"description":"Updates only the runtime primary seed while retaining any other active runtime seeds.","name":"setPrimaryColor","signature":"setPrimaryColor(primary: string): void"},{"description":"Switches the theme, and remembers it if a `persistKey` was given. `\"system\"` follows the operating system's\nsetting from then on, and takes the variant a theme has when it only has one.","name":"setTheme","signature":"setTheme(preference: ThemePreference): void"},{"description":"Whether `setTheme` would accept this. A saved choice can be checked with it before it's restored.","name":"supportsVariant","signature":"supportsVariant(name: ThemeName, variant: ThemeVariant): boolean"}],"outputs":[],"properties":[{"description":"The consumer-provided seeds for the active runtime color palette, or `null` when provider defaults are active.","name":"colorPaletteSeeds","readonly":true,"type":"Signal<ThemeColorPaletteSeeds | null>"},{"description":"What was asked for, which is where `\"system\"` shows. `selection` says what that came to.","name":"preference","readonly":true,"type":"Signal<ThemePreference>"},{"description":"","name":"profile","readonly":true,"type":"Signal<ThemeProfile>"},{"description":"The theme and variant in effect. It's always `light` or `dark`, whatever was asked for.","name":"selection","readonly":true,"type":"Signal<ThemeSelection>"},{"description":"","name":"themeName","readonly":true,"type":"Signal<string>"},{"description":"","name":"themeVariant","readonly":true,"type":"Signal<ThemeVariant>"}]},{"description":"","kind":"class","name":"DefaultThemeStrategy","inputs":[],"methods":[{"description":"","name":"availableThemes","signature":"availableThemes(): readonly ThemeAvailability[]"},{"description":"","name":"resolve","signature":"resolve(selection: ThemeSelection): ThemeProfile"}],"outputs":[],"properties":[]},{"description":"The default `ThemeStorage`: `localStorage`, as JSON, under the `persistKey`.\n\nReads report `null` anywhere `localStorage` can't answer, and writes are dropped there. That covers the\nserver, a browser that refuses it, and a full quota. `ThemeService` checks what comes back, so a value that\nisn't a preference, or names a theme that's gone, counts as nothing stored.\n\nA server-rendered application gets `initialTheme` in its markup and the remembered theme on hydration, which\nshows as a flash. Storage that the server can read too, such as a cookie, avoids it; supply it through\n`provideThemeStorage()`.","kind":"class","name":"LocalStorageThemeStorage","inputs":[],"methods":[{"description":"","name":"read","signature":"read(key: string): ThemePreference | null"},{"description":"","name":"write","signature":"write(key: string, preference: ThemePreference): void"}],"outputs":[],"properties":[]},{"description":"Builds the sidebar's own colour roles. The sidebar is a persistent chrome region rather than page\ncontent, so it is given a surface of its own instead of borrowing the page's — which is what lets a\ntheme sit it slightly apart from the content beside it without every consumer restyling it.\n\nOnly `background` has to be chosen per theme. Hover defaults to the neutral interaction roles, while\nthe sidebar's primary pair follows the selected-state roles. This keeps ordinary navigation quiet,\nreserves identity colour for the current item, and makes runtime primary-palette changes flow through\nwithout rebuilding the sidebar recipe.","kind":"function","name":"createSidebarColorRoles","signature":"function createSidebarColorRoles(seeds: SidebarColorRoleSeeds): ThemeColors;"},{"description":"","kind":"function","name":"flattenThemeProfile","signature":"function flattenThemeProfile(profile: ThemeProfile): ThemeVariables;"},{"description":"Generates accessible light and dark color-role overrides from consumer-provided CSS colors.\nSeed lightness is treated as source identity; the generated variants use fixed tonal anchors.","kind":"function","name":"generateThemeColorPalette","signature":"function generateThemeColorPalette(seeds: ThemeColorPaletteSeeds): GeneratedThemeColorPalette;"},{"description":"Generates a light and a dark palette from the seeds, and applies whichever the theme has.","kind":"function","name":"provideThemeColorPalette","signature":"function provideThemeColorPalette(registration: ThemeColorPaletteRegistration): EnvironmentProviders;"},{"description":"","kind":"function","name":"provideThemeFamily","signature":"function provideThemeFamily(registration: ThemeFamilyRegistration): EnvironmentProviders;"},{"description":"","kind":"function","name":"provideThemeOptions","signature":"function provideThemeOptions(options: ThemeOptions): EnvironmentProviders;"},{"description":"","kind":"function","name":"provideThemeOverrides","signature":"function provideThemeOverrides(registration: ThemeOverrideRegistration): EnvironmentProviders;"},{"description":"Applies the theme to an element in place of `<html>`, for an application embedded in part of a page. Overlays\nrender outside any such element, so the overlay container gets the theme too. Each application has its own\noverlay container, so two embedded applications can have two themes.","kind":"function","name":"provideThemeRoot","signature":"function provideThemeRoot(root: HTMLElement | (() => HTMLElement | null)): EnvironmentProviders;"},{"description":"Replaces where the theme is remembered, which is `localStorage` by default. Only used when\n`provideThemeOptions()` has a `persistKey`. Supply something the server can read too, such as a cookie, to have a\nserver-rendered application render the remembered theme rather than correcting it on hydration.","kind":"function","name":"provideThemeStorage","signature":"function provideThemeStorage(storage: ThemeStorage | (() => ThemeStorage)): EnvironmentProviders;"},{"description":"","kind":"constant","name":"annaTheme","signature":"const annaTheme: Readonly<{ name: string; variants: { light: Readonly<{ colors: Readonly<Record<`--color-${string}`, string>>; components: Readonly<Record<ThemeComponentVariable, string>>; custom: Readonly<{ \"--mona-indicator-color\": \"var(--color-primary)\"; \"--mona-indicator-foreground\": \"var(--color-primary-foreground)\"; \"--mona-primary-text-color\": \"var(--color-primary)\"; }>; effects: Readonly<Record<ThemeEffectVariable, string>>; motion: Readonly<Record<ThemeMotionVariable, string>>; shape: Readonly<Record<ThemeShapeVariable, string>>; shadows: Readonly<Record<`--shadow-${string}`, string>>; }>; dark: Readonly<{ colors: Readonly<Record<`--color-${string}`, string>>; components: Readonly<Record<ThemeComponentVariable, string>>; custom: Readonly<{ \"--mona-indicator-color\": \"var(--color-primary-border)\"; \"--mona-indicator-foreground\": \"#161718\"; \"--mona-primary-text-color\": \"var(--color-focus-indicator)\"; }>; effects: Readonly<Record<ThemeEffectVariable, string>>; motion: Readonly<Record<ThemeMotionVariable, string>>; shape: Readonly<Record<ThemeShapeVariable, string>>; shadows: Readonly<Record<`--shadow-${string}`, string>>; }>; }; }>;"},{"description":"","kind":"constant","name":"builtInThemes","signature":"const builtInThemes: Readonly<{ anna: Readonly<{ name: string; variants: { light: Readonly<{ colors: Readonly<Record<`--color-${string}`, string>>; components: Readonly<Record<ThemeComponentVariable, string>>; custom: Readonly<{ \"--mona-indicator-color\": \"var(--color-primary)\"; \"--mona-indicator-foreground\": \"var(--color-primary-foreground)\"; \"--mona-primary-text-color\": \"var(--color-primary)\"; }>; effects: Readonly<Record<ThemeEffectVariable, string>>; motion: Readonly<Record<ThemeMotionVariable, string>>; shape: Readonly<Record<ThemeShapeVariable, string>>; shadows: Readonly<Record<`--shadow-${string}`, string>>; }>; dark: Readonly<{ colors: Readonly<Record<`--color-${string}`, string>>; components: Readonly<Record<ThemeComponentVariable, string>>; custom: Readonly<{ \"--mona-indicator-color\": \"var(--color-primary-border)\"; \"--mona-indicator-foreground\": \"#161718\"; \"--mona-primary-text-color\": \"var(--color-focus-indicator)\"; }>; effects: Readonly<Record<ThemeEffectVariable, string>>; motion: Readonly<Record<ThemeMotionVariable, string>>; shape: Readonly<Record<ThemeShapeVariable, string>>; shadows: Readonly<Record<`--shadow-${string}`, string>>; }>; }; }>; luna: Readonly<{ name: string; variants: { light: Readonly<{ colors: Readonly<Record<`--color-${string}`, string>>; shadows: Readonly<Record<`--shadow-${string}`, string>>; motion: Readonly<{ \"--mona-motion-fast\": \"180ms\"; \"--mona-motion-standard\": \"320ms\"; }>; effects: Readonly<{ \"--mona-effect-control-background-color\": \"rgb(243 244 245 / 0.78)\"; \"--mona-effect-control-fallback-background-color\": \"#f3f4f5\"; \"--mona-effect-control-background-image\": \"none\"; \"--mona-effect-control-backdrop-filter\": \"blur(16px) saturate(110%)\"; \"--mona-effect-raised-background-color\": \"rgb(252 252 252 / 0.76)\"; \"--mona-effect-raised-fallback-background-color\": \"#fbfbfb\"; \"--mona-effect-raised-background-image\": \"none\"; \"--mona-effect-raised-backdrop-filter\": \"blur(22px) saturate(112%)\"; \"--mona-effect-overlay-background-color\": \"rgb(249 249 250 / 0.72)\"; \"--mona-effect-overlay-fallback-background-color\": \"#f9f9fa\"; \"--mona-effect-overlay-background-image\": \"none\"; \"--mona-effect-overlay-backdrop-filter\": \"blur(28px) saturate(115%)\"; }>; shape: Readonly<Record<ThemeShapeVariable, string>>; custom: Readonly<{ \"--mona-date-popup-calendar-backdrop-filter\": \"none\"; \"--mona-date-popup-calendar-background\": \"transparent\"; \"--mona-date-popup-calendar-background-image\": \"none\"; \"--mona-dropdown-popup-list-background\": \"transparent\"; \"--mona-input-addon-background\": \"color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)\"; \"--mona-menu-item-hover-background\": \"rgb(37 37 37 / 0.06)\"; \"--mona-menu-item-hover-foreground\": \"var(--color-foreground)\"; \"--mona-menubar-backdrop-filter\": \"var(--mona-effect-control-backdrop-filter)\"; \"--mona-menubar-background-image\": \"var(--mona-effect-control-background-image)\"; }>; components: Readonly<{ \"--mona-calendar-background\": \"var(--mona-effect-raised-background-color)\"; \"--mona-calendar-shadow\": \"var(--shadow-raised)\"; \"--mona-list-background\": \"var(--color-surface)\"; \"--mona-list-disabled-background\": \"var(--color-disabled-background)\"; \"--mona-list-group-background\": \"rgb(37 37 37 / 0.05)\"; \"--mona-list-group-border-width\": \"1px\"; \"--mona-list-group-font-weight\": \"650\"; \"--mona-menubar-background\": \"var(--mona-effect-control-background-color)\"; \"--mona-menubar-shadow\": \"var(--shadow-control)\"; \"--mona-pager-background\": \"var(--mona-effect-raised-background-color)\"; \"--mona-slider-handle-border-color\": \"var(--color-border-control)\"; }>; }>; dark: Readonly<{ colors: Readonly<Record<`--color-${string}`, string>>; shadows: Readonly<Record<`--shadow-${string}`, string>>; motion: Readonly<{ \"--mona-motion-fast\": \"180ms\"; \"--mona-motion-standard\": \"320ms\"; }>; effects: Readonly<{ \"--mona-effect-control-background-color\": \"rgb(37 37 39 / 0.74)\"; \"--mona-effect-control-fallback-background-color\": \"#252527\"; \"--mona-effect-control-background-image\": \"none\"; \"--mona-effect-control-backdrop-filter\": \"blur(16px) saturate(110%)\"; \"--mona-effect-raised-background-color\": \"rgb(32 32 34 / 0.78)\"; \"--mona-effect-raised-fallback-background-color\": \"#202022\"; \"--mona-effect-raised-background-image\": \"none\"; \"--mona-effect-raised-backdrop-filter\": \"blur(22px) saturate(112%)\"; \"--mona-effect-overlay-background-color\": \"rgb(38 38 40 / 0.74)\"; \"--mona-effect-overlay-fallback-background-color\": \"#262628\"; \"--mona-effect-overlay-background-image\": \"none\"; \"--mona-effect-overlay-backdrop-filter\": \"blur(28px) saturate(115%)\"; }>; shape: Readonly<Record<ThemeShapeVariable, string>>; custom: Readonly<{ \"--mona-date-popup-calendar-backdrop-filter\": \"none\"; \"--mona-date-popup-calendar-background\": \"transparent\"; \"--mona-date-popup-calendar-background-image\": \"none\"; \"--mona-dropdown-popup-list-background\": \"transparent\"; \"--mona-input-addon-background\": \"color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)\"; \"--mona-menubar-backdrop-filter\": \"var(--mona-effect-control-backdrop-filter)\"; \"--mona-menubar-background-image\": \"var(--mona-effect-control-background-image)\"; }>; components: Readonly<{ \"--mona-calendar-background\": \"var(--mona-effect-raised-background-color)\"; \"--mona-calendar-shadow\": \"var(--shadow-raised)\"; \"--mona-list-background\": \"var(--color-surface)\"; \"--mona-list-disabled-background\": \"var(--color-disabled-background)\"; \"--mona-list-group-background\": \"rgb(255 255 255 / 0.04)\"; \"--mona-list-group-border-width\": \"1px\"; \"--mona-list-group-font-weight\": \"650\"; \"--mona-menubar-background\": \"var(--mona-effect-control-background-color)\"; \"--mona-menubar-shadow\": \"var(--shadow-control)\"; \"--mona-pager-background\": \"var(--mona-effect-raised-background-color)\"; \"--mona-slider-handle-border-color\": \"var(--color-border-control)\"; }>; }>; }; }>; mona: Readonly<{ name: string; variants: { light: Readonly<{ colors: Readonly<Record<`--color-${string}`, string>>; components: Readonly<Record<ThemeComponentVariable, string>>; effects: Readonly<Record<ThemeEffectVariable, string>>; motion: Readonly<Record<ThemeMotionVariable, string>>; shape: Readonly<Record<ThemeShapeVariable, string>>; shadows: Readonly<Record<`--shadow-${string}`, string>>; }>; dark: Readonly<{ colors: Readonly<Record<`--color-${string}`, string>>; components: Readonly<Record<ThemeComponentVariable, string>>; effects: Readonly<Record<ThemeEffectVariable, string>>; motion: Readonly<Record<ThemeMotionVariable, string>>; shape: Readonly<Record<ThemeShapeVariable, string>>; shadows: Readonly<Record<`--shadow-${string}`, string>>; }>; }; }>; }>;"},{"description":"","kind":"constant","name":"lunaTheme","signature":"const lunaTheme: Readonly<{ name: string; variants: { light: Readonly<{ colors: Readonly<Record<`--color-${string}`, string>>; shadows: Readonly<Record<`--shadow-${string}`, string>>; motion: Readonly<{ \"--mona-motion-fast\": \"180ms\"; \"--mona-motion-standard\": \"320ms\"; }>; effects: Readonly<{ \"--mona-effect-control-background-color\": \"rgb(243 244 245 / 0.78)\"; \"--mona-effect-control-fallback-background-color\": \"#f3f4f5\"; \"--mona-effect-control-background-image\": \"none\"; \"--mona-effect-control-backdrop-filter\": \"blur(16px) saturate(110%)\"; \"--mona-effect-raised-background-color\": \"rgb(252 252 252 / 0.76)\"; \"--mona-effect-raised-fallback-background-color\": \"#fbfbfb\"; \"--mona-effect-raised-background-image\": \"none\"; \"--mona-effect-raised-backdrop-filter\": \"blur(22px) saturate(112%)\"; \"--mona-effect-overlay-background-color\": \"rgb(249 249 250 / 0.72)\"; \"--mona-effect-overlay-fallback-background-color\": \"#f9f9fa\"; \"--mona-effect-overlay-background-image\": \"none\"; \"--mona-effect-overlay-backdrop-filter\": \"blur(28px) saturate(115%)\"; }>; shape: Readonly<Record<ThemeShapeVariable, string>>; custom: Readonly<{ \"--mona-date-popup-calendar-backdrop-filter\": \"none\"; \"--mona-date-popup-calendar-background\": \"transparent\"; \"--mona-date-popup-calendar-background-image\": \"none\"; \"--mona-dropdown-popup-list-background\": \"transparent\"; \"--mona-input-addon-background\": \"color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)\"; \"--mona-menu-item-hover-background\": \"rgb(37 37 37 / 0.06)\"; \"--mona-menu-item-hover-foreground\": \"var(--color-foreground)\"; \"--mona-menubar-backdrop-filter\": \"var(--mona-effect-control-backdrop-filter)\"; \"--mona-menubar-background-image\": \"var(--mona-effect-control-background-image)\"; }>; components: Readonly<{ \"--mona-calendar-background\": \"var(--mona-effect-raised-background-color)\"; \"--mona-calendar-shadow\": \"var(--shadow-raised)\"; \"--mona-list-background\": \"var(--color-surface)\"; \"--mona-list-disabled-background\": \"var(--color-disabled-background)\"; \"--mona-list-group-background\": \"rgb(37 37 37 / 0.05)\"; \"--mona-list-group-border-width\": \"1px\"; \"--mona-list-group-font-weight\": \"650\"; \"--mona-menubar-background\": \"var(--mona-effect-control-background-color)\"; \"--mona-menubar-shadow\": \"var(--shadow-control)\"; \"--mona-pager-background\": \"var(--mona-effect-raised-background-color)\"; \"--mona-slider-handle-border-color\": \"var(--color-border-control)\"; }>; }>; dark: Readonly<{ colors: Readonly<Record<`--color-${string}`, string>>; shadows: Readonly<Record<`--shadow-${string}`, string>>; motion: Readonly<{ \"--mona-motion-fast\": \"180ms\"; \"--mona-motion-standard\": \"320ms\"; }>; effects: Readonly<{ \"--mona-effect-control-background-color\": \"rgb(37 37 39 / 0.74)\"; \"--mona-effect-control-fallback-background-color\": \"#252527\"; \"--mona-effect-control-background-image\": \"none\"; \"--mona-effect-control-backdrop-filter\": \"blur(16px) saturate(110%)\"; \"--mona-effect-raised-background-color\": \"rgb(32 32 34 / 0.78)\"; \"--mona-effect-raised-fallback-background-color\": \"#202022\"; \"--mona-effect-raised-background-image\": \"none\"; \"--mona-effect-raised-backdrop-filter\": \"blur(22px) saturate(112%)\"; \"--mona-effect-overlay-background-color\": \"rgb(38 38 40 / 0.74)\"; \"--mona-effect-overlay-fallback-background-color\": \"#262628\"; \"--mona-effect-overlay-background-image\": \"none\"; \"--mona-effect-overlay-backdrop-filter\": \"blur(28px) saturate(115%)\"; }>; shape: Readonly<Record<ThemeShapeVariable, string>>; custom: Readonly<{ \"--mona-date-popup-calendar-backdrop-filter\": \"none\"; \"--mona-date-popup-calendar-background\": \"transparent\"; \"--mona-date-popup-calendar-background-image\": \"none\"; \"--mona-dropdown-popup-list-background\": \"transparent\"; \"--mona-input-addon-background\": \"color-mix(in srgb, var(--color-input-background), var(--color-foreground) 8%)\"; \"--mona-menubar-backdrop-filter\": \"var(--mona-effect-control-backdrop-filter)\"; \"--mona-menubar-background-image\": \"var(--mona-effect-control-background-image)\"; }>; components: Readonly<{ \"--mona-calendar-background\": \"var(--mona-effect-raised-background-color)\"; \"--mona-calendar-shadow\": \"var(--shadow-raised)\"; \"--mona-list-background\": \"var(--color-surface)\"; \"--mona-list-disabled-background\": \"var(--color-disabled-background)\"; \"--mona-list-group-background\": \"rgb(255 255 255 / 0.04)\"; \"--mona-list-group-border-width\": \"1px\"; \"--mona-list-group-font-weight\": \"650\"; \"--mona-menubar-background\": \"var(--mona-effect-control-background-color)\"; \"--mona-menubar-shadow\": \"var(--shadow-control)\"; \"--mona-pager-background\": \"var(--mona-effect-raised-background-color)\"; \"--mona-slider-handle-border-color\": \"var(--color-border-control)\"; }>; }>; }; }>;"},{"description":"","kind":"constant","name":"monaTheme","signature":"const monaTheme: Readonly<{ name: string; variants: { light: Readonly<{ colors: Readonly<Record<`--color-${string}`, string>>; components: Readonly<Record<ThemeComponentVariable, string>>; effects: Readonly<Record<ThemeEffectVariable, string>>; motion: Readonly<Record<ThemeMotionVariable, string>>; shape: Readonly<Record<ThemeShapeVariable, string>>; shadows: Readonly<Record<`--shadow-${string}`, string>>; }>; dark: Readonly<{ colors: Readonly<Record<`--color-${string}`, string>>; components: Readonly<Record<ThemeComponentVariable, string>>; effects: Readonly<Record<ThemeEffectVariable, string>>; motion: Readonly<Record<ThemeMotionVariable, string>>; shape: Readonly<Record<ThemeShapeVariable, string>>; shadows: Readonly<Record<`--shadow-${string}`, string>>; }>; }; }>;"},{"description":"The element the theme is written to. Defaults to `<html>`. Replace it with `provideThemeRoot()`.","kind":"constant","name":"THEME_ROOT","signature":"const THEME_ROOT: InjectionToken<HTMLElement | null>;"},{"description":"Where the theme is remembered when `provideThemeOptions()` has a `persistKey`. Defaults to `localStorage`.\nReplace it with `provideThemeStorage()`.","kind":"constant","name":"THEME_STORAGE","signature":"const THEME_STORAGE: InjectionToken<ThemeStorage>;"},{"description":"","kind":"constant","name":"THEME_STRATEGY","signature":"const THEME_STRATEGY: InjectionToken<ThemeStrategy>;"},{"description":"Where the theme is remembered. Supplied through `THEME_STORAGE`, and only ever consulted when\n`provideThemeOptions()` was given a `persistKey`.","extends":[],"kind":"interface","methods":[{"description":"The remembered preference for `key`, or `null` when nothing has been stored under it, including when this\nstorage can't answer, such as on the server. A `null` leaves the theme on `initialTheme`.","name":"read","signature":"read(key: string): ThemePreference | null"},{"description":"Records the preference for `key`. Failing to store it must not throw.","name":"write","signature":"write(key: string, preference: ThemePreference): void"}],"name":"ThemeStorage","properties":[],"usedBy":["provideThemeStorage","THEME_STORAGE"]},{"description":"","extends":[],"kind":"interface","methods":[{"description":"The registered themes and their variants, for `ThemeService.availableThemes()`.","name":"availableThemes","signature":"availableThemes(): readonly ThemeAvailability[]"},{"description":"","name":"resolve","signature":"resolve(selection: ThemeSelection): ThemeProfile"}],"name":"ThemeStrategy","properties":[],"usedBy":["THEME_STRATEGY"]},{"description":"Inputs to the sidebar colour roles. Everything but the background falls back to the theme's\ncorresponding page role, so a theme only states what it wants the sidebar to do differently.","extends":[],"kind":"interface","methods":[],"name":"SidebarColorRoleSeeds","properties":[{"description":"","name":"accent","optional":true,"readonly":true,"type":"string"},{"description":"","name":"accentForeground","optional":true,"readonly":true,"type":"string"},{"description":"","name":"background","readonly":true,"type":"string"},{"description":"","name":"border","optional":true,"readonly":true,"type":"string"},{"description":"","name":"foreground","optional":true,"readonly":true,"type":"string"},{"description":"","name":"primary","optional":true,"readonly":true,"type":"string"},{"description":"","name":"primaryForeground","optional":true,"readonly":true,"type":"string"},{"description":"","name":"ring","optional":true,"readonly":true,"type":"string"}],"usedBy":["createSidebarColorRoles"]},{"description":"A registered theme and the variants it has.","extends":[],"kind":"interface","methods":[],"name":"ThemeAvailability","properties":[{"description":"","name":"name","readonly":true,"type":"ThemeName"},{"description":"","name":"variants","readonly":true,"type":"readonly ThemeVariant[]"}],"usedBy":["DefaultThemeStrategy","ThemeService","ThemeStrategy"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ThemeColorPaletteRegistration","properties":[{"description":"","name":"seeds","readonly":true,"type":"ThemeColorPaletteSeeds"},{"description":"","name":"theme","readonly":true,"type":"ThemeName"}],"usedBy":["provideThemeColorPalette"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ThemeColorPaletteSeeds","properties":[{"description":"","name":"error","optional":true,"readonly":true,"type":"string"},{"description":"","name":"info","optional":true,"readonly":true,"type":"string"},{"description":"","name":"primary","readonly":true,"type":"string"},{"description":"","name":"secondary","optional":true,"readonly":true,"type":"string"},{"description":"","name":"success","optional":true,"readonly":true,"type":"string"},{"description":"","name":"warning","optional":true,"readonly":true,"type":"string"}],"usedBy":["generateThemeColorPalette","ThemeColorPaletteRegistration","ThemeService"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ThemeFamilyRegistration","properties":[{"description":"","name":"name","readonly":true,"type":"ThemeName"},{"description":"","name":"variants","readonly":true,"type":"ThemeFamilyVariants"}],"usedBy":["provideThemeFamily"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ThemeOptions","properties":[{"description":"","name":"initialTheme","readonly":true,"type":"ThemePreference"},{"description":"Remembers the theme under this key, in `THEME_STORAGE`, and restores it in place of `initialTheme`. Nothing is\nstored without one. A runtime color palette isn't part of what's remembered.","name":"persistKey","optional":true,"readonly":true,"type":"string"}],"usedBy":["provideThemeOptions"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ThemeOverrideRegistration","properties":[{"description":"","name":"common","optional":true,"readonly":true,"type":"ThemeProfileOverrides"},{"description":"","name":"dark","optional":true,"readonly":true,"type":"ThemeProfileOverrides"},{"description":"","name":"light","optional":true,"readonly":true,"type":"ThemeProfileOverrides"},{"description":"","name":"theme","readonly":true,"type":"ThemeName"}],"usedBy":["provideThemeOverrides"]},{"description":"What's asked for: a theme and a variant, which can be `\"system\"`.","extends":[],"kind":"interface","methods":[],"name":"ThemePreference","properties":[{"description":"","name":"name","readonly":true,"type":"ThemeName"},{"description":"","name":"variant","readonly":true,"type":"ThemeVariantPreference"}],"usedBy":["LocalStorageThemeStorage","ThemeOptions","ThemeService","ThemeStorage"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ThemeProfile","properties":[{"description":"","name":"colors","readonly":true,"type":"ThemeColors"},{"description":"","name":"components","readonly":true,"type":"ThemeComponents"},{"description":"","name":"custom","optional":true,"readonly":true,"type":"ThemeVariables"},{"description":"","name":"effects","readonly":true,"type":"ThemeEffects"},{"description":"","name":"motion","readonly":true,"type":"ThemeMotion"},{"description":"","name":"shadows","readonly":true,"type":"ThemeShadows"},{"description":"","name":"shape","readonly":true,"type":"ThemeShape"}],"usedBy":["DefaultThemeStrategy","flattenThemeProfile","ThemeFamilyVariants","ThemeService","ThemeStrategy"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ThemeProfileOverrides","properties":[{"description":"","name":"colors","optional":true,"readonly":true,"type":"ThemeColors"},{"description":"","name":"components","optional":true,"readonly":true,"type":"Partial<ThemeComponents>"},{"description":"","name":"custom","optional":true,"readonly":true,"type":"ThemeVariables"},{"description":"","name":"effects","optional":true,"readonly":true,"type":"Partial<ThemeEffects>"},{"description":"","name":"motion","optional":true,"readonly":true,"type":"Partial<ThemeMotion>"},{"description":"","name":"shadows","optional":true,"readonly":true,"type":"ThemeShadows"},{"description":"","name":"shape","optional":true,"readonly":true,"type":"Partial<ThemeShape>"}],"usedBy":["ThemeOverrideRegistration"]},{"description":"What's in effect: a theme and the variant it came to.","extends":[],"kind":"interface","methods":[],"name":"ThemeSelection","properties":[{"description":"","name":"name","readonly":true,"type":"ThemeName"},{"description":"","name":"variant","readonly":true,"type":"ThemeVariant"}],"usedBy":["DefaultThemeStrategy","ThemeService","ThemeStrategy"]},{"description":"","kind":"type","name":"BuiltInThemeName","signature":"type BuiltInThemeName = \"anna\" | \"luna\" | \"mona\";"},{"description":"","kind":"type","name":"GeneratedThemeColorPalette","signature":"type GeneratedThemeColorPalette = Readonly<Record<ThemeVariant, ThemeColors>>;","usedBy":["generateThemeColorPalette"]},{"description":"","kind":"type","name":"ThemeColors","signature":"type ThemeColors = Readonly<Record<ThemeColorVariable, string>>;","usedBy":["createSidebarColorRoles","GeneratedThemeColorPalette","ThemeProfile","ThemeProfileOverrides"]},{"description":"","kind":"type","name":"ThemeColorVariable","signature":"type ThemeColorVariable = `--color-${string}`;","usedBy":["ThemeColors"]},{"description":"","kind":"type","name":"ThemeComponents","signature":"type ThemeComponents = Readonly<Record<ThemeComponentVariable, string>>;","usedBy":["ThemeProfile","ThemeProfileOverrides"]},{"description":"","kind":"type","name":"ThemeComponentVariable","signature":"type ThemeComponentVariable = | \"--mona-calendar-background\" | \"--mona-calendar-shadow\" | \"--mona-list-background\" | \"--mona-list-disabled-background\" | \"--mona-list-group-background\" | \"--mona-list-group-border-width\" | \"--mona-list-group-font-weight\" | \"--mona-menubar-background\" | \"--mona-menubar-shadow\" | \"--mona-pager-background\" | \"--mona-slider-handle-border-color\";","usedBy":["annaTheme","builtInThemes","monaTheme","ThemeComponents"]},{"description":"","kind":"type","name":"ThemeEffectLevel","signature":"type ThemeEffectLevel = \"control\" | \"overlay\" | \"raised\";"},{"description":"","kind":"type","name":"ThemeEffects","signature":"type ThemeEffects = Readonly<Record<ThemeEffectVariable, string>>;","usedBy":["ThemeProfile","ThemeProfileOverrides"]},{"description":"","kind":"type","name":"ThemeEffectVariable","signature":"type ThemeEffectVariable = | `--mona-effect-${ThemeEffectLevel}-background-color` | `--mona-effect-${ThemeEffectLevel}-fallback-background-color` | `--mona-effect-${ThemeEffectLevel}-background-image` | `--mona-effect-${ThemeEffectLevel}-backdrop-filter`;","usedBy":["annaTheme","builtInThemes","monaTheme","ThemeEffects"]},{"description":"","kind":"type","name":"ThemeFamilyVariants","signature":"type ThemeFamilyVariants = Readonly< | { readonly dark: ThemeProfile; readonly light?: ThemeProfile } | { readonly dark?: ThemeProfile; readonly light: ThemeProfile } >;","usedBy":["ThemeFamilyRegistration"]},{"description":"","kind":"type","name":"ThemeMotion","signature":"type ThemeMotion = Readonly<Record<ThemeMotionVariable, string>>;","usedBy":["ThemeProfile","ThemeProfileOverrides"]},{"description":"","kind":"type","name":"ThemeMotionVariable","signature":"type ThemeMotionVariable = \"--mona-motion-fast\" | \"--mona-motion-standard\";","usedBy":["annaTheme","builtInThemes","monaTheme","ThemeMotion"]},{"description":"","kind":"type","name":"ThemeName","signature":"type ThemeName = string;","usedBy":["ThemeAvailability","ThemeColorPaletteRegistration","ThemeFamilyRegistration","ThemeOverrideRegistration","ThemePreference","ThemeSelection","ThemeService"]},{"description":"","kind":"type","name":"ThemeShadows","signature":"type ThemeShadows = Readonly<Record<ThemeShadowVariable, string>>;","usedBy":["ThemeProfile","ThemeProfileOverrides"]},{"description":"","kind":"type","name":"ThemeShadowVariable","signature":"type ThemeShadowVariable = `--shadow-${string}`;","usedBy":["ThemeShadows"]},{"description":"","kind":"type","name":"ThemeShape","signature":"type ThemeShape = Readonly<Record<ThemeShapeVariable, string>>;","usedBy":["ThemeProfile","ThemeProfileOverrides"]},{"description":"","kind":"type","name":"ThemeShapeVariable","signature":"type ThemeShapeVariable = \"--radius-sm\" | \"--radius-md\" | \"--radius-lg\";","usedBy":["annaTheme","builtInThemes","lunaTheme","monaTheme","ThemeShape"]},{"description":"","kind":"type","name":"ThemeVariable","signature":"type ThemeVariable = `--${string}`;","usedBy":["ThemeVariables"]},{"description":"","kind":"type","name":"ThemeVariables","signature":"type ThemeVariables = Readonly<Record<ThemeVariable, string>>;","usedBy":["flattenThemeProfile","ThemeProfile","ThemeProfileOverrides"]},{"description":"","kind":"type","name":"ThemeVariant","signature":"type ThemeVariant = \"light\" | \"dark\";","usedBy":["GeneratedThemeColorPalette","ThemeAvailability","ThemeSelection","ThemeService","ThemeVariantPreference"]},{"description":"A variant, or `\"system\"` to follow the operating system's light or dark setting.","kind":"type","name":"ThemeVariantPreference","signature":"type ThemeVariantPreference = ThemeVariant | \"system\";","usedBy":["ThemePreference"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"AdaptiveMode":"dropdowns","HourFormat":"date-input","ListSizeInputType":"list","MonaTimePickerMessages":"i18n","PopupCloseEvent":"popup","PreventableEvent":"common","TIME_PICKER_DEFAULT_MESSAGES":"time-picker","TimePickerComponent":"time-picker"},"name":"time-picker","pages":[{"path":"time-picker","title":"Time Picker"}],"symbols":[{"description":"","implements":["FormValueControl<Date | null>"],"kind":"component","name":"TimePickerComponent","selector":"mona-time-picker","inputs":[{"defaultValue":"\"none\"","description":"Opens the popup as a sheet along the bottom of the screen on a small screen (narrower than 640\npixels) with `\"auto\"`, so it's easy to reach with a thumb. With `\"none\"`, it always opens under the field.","name":"adaptiveMode","type":"AdaptiveMode"},{"defaultValue":"\"\"","description":"Title of the bottom sheet the popup opens as with `adaptiveMode=\"auto\"`. When empty, the sheet\nshows the field's name.","name":"adaptiveTitle","type":"string"},{"alias":"aria-describedby","defaultValue":"\"\"","description":"Id of an element that describes the input, such as a hint or an error message.","name":"ariaDescribedBy","type":"string"},{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name of the input. Prefer a visible label, linked through {@link inputId} or\n`aria-labelledby`; the placeholder is not a label.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"Id of the element that labels the input.","name":"ariaLabelledBy","type":"string"},{"alias":"class","defaultValue":"\"\"","description":"Extra classes for the input's container.","name":"userClass","type":"string"},{"defaultValue":"false","description":"Sets the disabled state of the time picker.","name":"disabled","type":"boolean"},{"defaultValue":"null","description":"Sets the format of the time picker. If not specified, derives from the active locale, hourFormat,\nand showSeconds. Typed text is also accepted with one-digit hours, minutes and seconds.","name":"format","type":"string | null"},{"defaultValue":"null","description":"Sets the hour format of the time picker. When null, the active locale's clock is used: 12-hour for\nen-US, 24-hour for de-DE.","name":"hourFormat","type":"HourFormat | null"},{"defaultValue":"1","description":"Sets the hour step of the time picker.","name":"hourStep","type":"number"},{"defaultValue":"generated","description":"Id of the inner `<input>` element. Point a `<label for>` or `<mona-label for>` at it to label the\ntime picker. A unique id is generated when it isn't set.","name":"inputId","type":"string"},{"defaultValue":"false","description":"Marks the time picker as invalid. When bound to a signal form field via `[formField]`,\nthis is written by the `FormField` directive.","name":"invalid","type":"boolean"},{"defaultValue":"undefined","description":"Sets the latest time of the time picker. Only the time of day is compared; a later typed time is\nreported as a `maxDate` error.","name":"max","type":"Date | undefined"},{"defaultValue":"undefined","description":"Sets the earliest time of the time picker. Only the time of day is compared; an earlier typed time\nis reported as a `minDate` error.","name":"min","type":"Date | undefined"},{"defaultValue":"1","description":"Sets the minute step of the time picker.","name":"minuteStep","type":"number"},{"defaultValue":"\"\"","description":"Sets the placeholder of the time picker.","name":"placeholder","type":"string"},{"defaultValue":"\"\"","description":"Sets the class of the popup element.","name":"popupClass","type":"string"},{"defaultValue":"undefined","description":"Sets the height of the popup element. When not set, the popup fits the time selector.","name":"popupHeight","type":"ListSizeInputType"},{"defaultValue":"undefined","description":"Sets the width of the popup element. When not set, the popup fits the time selector.","name":"popupWidth","type":"ListSizeInputType"},{"defaultValue":"false","description":"Sets the readonly state of the time picker.","name":"readonly","type":"boolean"},{"defaultValue":"false","description":"When true, the input is readonly but the popup button remains enabled.","name":"readonlyInput","type":"boolean"},{"defaultValue":"false","description":"Sets the required state of the time picker.\nWhen bound to a signal form field via `[formField]`, this is written by the `FormField` directive.","name":"required","type":"boolean"},{"defaultValue":"\"medium\"","description":"Sets the border radius of the time picker.","name":"rounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"1","description":"Sets the second step of the time picker.","name":"secondStep","type":"number"},{"defaultValue":"false","description":"Sets the visibility of the clear button. Clearing empties the value at once.","name":"showClearButton","type":"boolean"},{"defaultValue":"false","description":"Sets the visibility of the second selector.","name":"showSeconds","type":"boolean"},{"defaultValue":"\"medium\"","description":"Sets the size of the time picker.","name":"size","type":"\"large\" | \"medium\" | \"small\""},{"defaultValue":"false","description":"Sets the touched state of the time picker. When bound to a signal form field via `[formField]`,\nthis is written by the `FormField` directive.","name":"touched","type":"boolean"},{"defaultValue":"null","description":"Two-way bindable current time value. Typed text is written on Enter and when the input loses\nfocus, on the current value's day (today when empty); text that isn't a valid time keeps the previous value\nand marks the field invalid.","name":"value","twoWay":true,"type":"Date | null"}],"methods":[{"description":"Focuses the input and places the caret after the text. Read-only pickers take focus too.","name":"focus","signature":"focus(options?: FocusOptions): void"}],"outputs":[{"description":"Emits when the popup is about to close. This event is preventable.","name":"close","type":"PopupCloseEvent<unknown>"},{"description":"Emits after the popup is closed.","name":"closed","type":"void"},{"description":"Emits when the popup is about to open. This event is preventable.","name":"open","type":"PreventableEvent<Event>"},{"description":"Emits after the popup is opened.","name":"opened","type":"void"},{"description":"Emitted when focus leaves the time picker and its popup.\nThe `FormField` directive listens to this to mark the field as touched.","name":"touch","type":"void"}],"properties":[],"page":{"path":"time-picker","title":"Time Picker"}},{"description":"","kind":"constant","name":"TIME_PICKER_DEFAULT_MESSAGES","signature":"const TIME_PICKER_DEFAULT_MESSAGES: MonaTimePickerMessages;","page":{"path":"time-picker","title":"Time Picker"}}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"HourFormat":"date-input","MonaTimeSelectorMessages":"i18n","TIME_SELECTOR_DEFAULT_MESSAGES":"time-selector","TimeSelectorComponent":"time-selector"},"name":"time-selector","pages":[],"symbols":[{"description":"","implements":["FormValueControl<Date | null>"],"kind":"component","name":"TimeSelectorComponent","selector":"mona-time-selector","inputs":[{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible label for the time selector group.","name":"ariaLabel","type":"string"},{"defaultValue":"false","description":"","name":"disabled","type":"boolean"},{"defaultValue":"false","description":"Moves focus to the hour list when the selector first renders. The pickers set it for their popups;\nan inline selector leaves focus where it is, so the page doesn't jump to it on load.","name":"focusOnMount","type":"boolean"},{"defaultValue":"true","description":"Shows the Set button. Without it, every change of hour, minute, second or AM/PM made by the user\nis written to the value at once.","name":"footer","type":"boolean"},{"defaultValue":"null","description":"The clock to show: \"12\" with an AM/PM list, or \"24\". When not set, the active locale's own clock\nis used (12-hour for en-US, 24-hour for de-DE).","name":"hourFormat","type":"HourFormat | null"},{"defaultValue":"1","description":"","name":"hourStep","type":"number"},{"defaultValue":"false","description":"Marks the time selector as invalid. When bound to a signal form field via `[formField]`,\nthis is written by the `FormField` directive.","name":"invalid","type":"boolean"},{"defaultValue":"undefined","description":"","name":"max","type":"Date | undefined"},{"defaultValue":"undefined","description":"","name":"min","type":"Date | undefined"},{"defaultValue":"1","description":"","name":"minuteStep","type":"number"},{"defaultValue":"false","description":"Prevents value changes while preserving the component's visual state.","name":"readonly","type":"boolean"},{"defaultValue":"false","description":"Sets whether the time selector is required. When bound to a signal form field via `[formField]`,\nthis is written by the `FormField` directive.","name":"required","type":"boolean"},{"defaultValue":"\"medium\"","description":"","name":"rounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"1","description":"","name":"secondStep","type":"number"},{"defaultValue":"false","description":"","name":"showSeconds","type":"boolean"},{"defaultValue":"\"medium\"","description":"","name":"size","type":"\"large\" | \"medium\" | \"small\""},{"defaultValue":"false","description":"Sets the touched state of the time selector. When bound to a signal form field via `[formField]`,\nthis is written by the `FormField` directive.","name":"touched","type":"boolean"},{"defaultValue":"null","description":"Two-way bindable current time value. It is written by the Set button and Enter, or, without a\nfooter, by each change the user makes; never on its own.","name":"value","twoWay":true,"type":"Date | null"}],"methods":[{"description":"Moves focus to the list that had it last, the hour list at first.","name":"focus","signature":"focus(options?: FocusOptions): void"}],"outputs":[{"description":"Emitted when focus leaves the time selector, as a native input is touched on blur. Moving between\nits lists and buttons doesn't count. The `FormField` directive listens to this to mark the field as touched.","name":"touch","type":"void"}],"properties":[]},{"description":"","kind":"constant","name":"TIME_SELECTOR_DEFAULT_MESSAGES","signature":"const TIME_SELECTOR_DEFAULT_MESSAGES: MonaTimeSelectorMessages;"}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"ClassInputType":"common","MonaToolbarMessages":"i18n","PreventableEvent":"common","TOOLBAR_DEFAULT_MESSAGES":"toolbar","ToolbarComponent":"toolbar","ToolbarItemDirective":"toolbar","ToolbarItemOverflow":"toolbar","ToolbarOverflow":"toolbar"},"name":"toolbar","pages":[{"path":"toolbar","title":"Toolbar"}],"symbols":[{"description":"A row of controls, such as formatting buttons, that's one Tab stop: the arrow keys move between its controls. Items\nmarked `monaToolbarItem` that don't fit move into a More menu at the end, last ones first, and come back as the row\nwidens.","kind":"component","name":"ToolbarComponent","selector":"mona-toolbar","inputs":[{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name of the toolbar, such as \"Formatting\". A toolbar needs a name, from this or\n`aria-labelledby`, since assistive technology announces it on the way in.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"ID of the element whose text names the toolbar, such as a visible heading.","name":"ariaLabelledBy","type":"string"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"},{"defaultValue":"\"\"","description":"Name of the More button, in place of the localized \"More\".","name":"moreLabel","type":"string"},{"defaultValue":"\"menu\"","description":"What happens to items that don't fit: `menu` moves the `monaToolbarItem`s into a More menu at the end,\nlast ones first, and `wrap` puts the controls on more rows.","name":"overflow","type":"ToolbarOverflow"},{"defaultValue":"\"medium\"","description":"The space between controls and the size of the More button. Match it to the controls' size.","name":"size","type":"NonNullable<\"small\" | \"medium\" | \"large\" | null | undefined>"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"toolbar","title":"Toolbar"}},{"description":"Marks a control directly inside `<mona-toolbar>` as one that moves into the toolbar's More menu when\nthere's no room for it, last ones first. In the menu it's an item with the control's text, disabled with it and\nchecked while it's pressed, and choosing it clicks the control.","kind":"directive","name":"ToolbarItemDirective","selector":"[monaToolbarItem]","inputs":[{"alias":"monaToolbarItem","defaultValue":"\"auto\"","description":"Whether the item can move into the More menu: `auto` when there's no room for it, `never` to keep it in\nthe toolbar, such as a search box.","name":"overflow","type":"\"\" | ToolbarItemOverflow | null | undefined"},{"defaultValue":"\"\"","description":"The item's text in the More menu. Without it, the menu uses the control's `aria-label`, then its text.","name":"overflowText","type":"string"}],"methods":[],"outputs":[{"description":"Emitted when the item is chosen from the More menu. Unless it's prevented, the toolbar then clicks the\ncontrol, which suits a button. Handle it for a control a click doesn't operate, or keep that control in the toolbar\nwith `overflow=\"never\"`.","name":"overflowActivate","type":"PreventableEvent<Event>"}],"properties":[],"page":{"path":"toolbar","title":"Toolbar"}},{"description":"","kind":"constant","name":"TOOLBAR_DEFAULT_MESSAGES","signature":"const TOOLBAR_DEFAULT_MESSAGES: MonaToolbarMessages;","page":{"path":"toolbar","title":"Toolbar"}},{"description":"Whether a toolbar item moves into the More menu when there's no room for it (`auto`) or stays (`never`).","kind":"type","name":"ToolbarItemOverflow","signature":"type ToolbarItemOverflow = \"auto\" | \"never\";","page":{"path":"toolbar","title":"Toolbar"},"usedBy":["ToolbarItemDirective"]},{"description":"What a toolbar does with items that don't fit: moves them into a More menu, or wraps them onto more rows.","kind":"type","name":"ToolbarOverflow","signature":"type ToolbarOverflow = \"menu\" | \"wrap\";","page":{"path":"toolbar","title":"Toolbar"},"usedBy":["ToolbarComponent"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"ConnectionPoint":"popup","OverlaySide":"tooltip","PopoverPosition":"popover","PopupAnchor":"popup","PopupOffset":"popup","Position":"common","TooltipComponent":"tooltip","TooltipDirective":"tooltip","TooltipPosition":"tooltip","getOffsetForPosition":"tooltip","getPositionConnectionPoints":"tooltip","tooltipArrowThemeVariants":"tooltip"},"name":"tooltip","pages":[{"path":"tooltip","title":"Tooltip"},{"path":"tooltip-directive","title":"Tooltip Directive"}],"symbols":[{"description":"","kind":"component","name":"TooltipComponent","selector":"mona-tooltip","inputs":[{"defaultValue":"false","description":"Whether the tooltip is disabled. When disabled, the tooltip will not be shown, and an open one\ncloses.","name":"disabled","type":"boolean"},{"defaultValue":"0","description":"The delay in milliseconds before hiding the tooltip after the pointer or focus leaves. A pointer\nthat leaves always gets a short grace, so it can move onto the tooltip.","name":"hideDelay","type":"number"},{"defaultValue":"\"top\"","description":"The side of the target the tooltip opens on. `left` and `right` are physical; `start` and `end`\nfollow the text direction. It flips to the opposite side when there isn't room.","name":"position","type":"TooltipPosition"},{"defaultValue":"\"medium\"","description":"The border radius of the tooltip.","name":"rounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"0","description":"The delay in milliseconds before showing the tooltip after the trigger event.","name":"showDelay","type":"number"},{"description":"The target element(s) to which the tooltip is attached.\nCan be an Element, ElementRef, or CSS selector string. A selector matches elements anywhere in the document,\nincluding ones added later.","name":"target","required":true,"type":"PopupAnchor"}],"methods":[],"outputs":[{"description":"Emitted when the tooltip popup is hidden.","name":"hidden","type":"void"},{"description":"Emitted when the tooltip popup is shown.","name":"shown","type":"void"}],"properties":[],"page":{"path":"tooltip","title":"Tooltip"}},{"description":"","kind":"directive","name":"TooltipDirective","selector":"[monaTooltip]","inputs":[{"defaultValue":"null","description":"Reads the tooltip's text from the matched element, in place of its `title`, which then stays where\nit is. An empty result shows nothing.","name":"contentOf","type":"((element: HTMLElement) => string) | null"},{"defaultValue":"false","description":"Whether the tooltip is disabled. When disabled, the tooltip will not be shown, and an open one\ncloses. On a button or another control, `[disabled]` also reaches the control, so use {@link tooltipDisabled}\nthere.","name":"disabled","type":"boolean"},{"defaultValue":"\"[title]\"","description":"The filter to select elements that will have tooltips.\nIt can be a CSS selector that matches elements within the host element, including ones added later.\nOnly applies when `mode` is set to `content`.","name":"filter","type":"string"},{"defaultValue":"0","description":"The delay in milliseconds before hiding the tooltip after the pointer or focus leaves. A pointer\nthat leaves always gets a short grace, so it can move onto the tooltip.","name":"hideDelay","type":"number"},{"defaultValue":"\"host\"","description":"The mode of the tooltip.\n\"host\" mode shows the host's tooltip content, or its title attribute.\n\"content\" mode uses the title attribute of elements matching the filter.","name":"mode","type":"\"host\" | \"content\""},{"defaultValue":"\"\"","description":"The tooltip's content in host mode: text, or a template. Without it, the host's `title` is shown.","name":"monaTooltip","type":"string | TemplateRef<unknown> | null | undefined"},{"defaultValue":"\"top\"","description":"The side of the target the tooltip opens on. `left` and `right` are physical; `start` and `end`\nfollow the text direction. It flips to the opposite side when there isn't room.","name":"position","type":"TooltipPosition"},{"defaultValue":"0","description":"The delay in milliseconds before showing the tooltip after the trigger event.","name":"showDelay","type":"number"},{"defaultValue":"false","description":"Disables only the tooltip, like {@link disabled}, on an element whose own `disabled` would take the\nsame binding, such as a `monaButton` or a native control.","name":"tooltipDisabled","type":"boolean"},{"alias":"tooltipRounded","defaultValue":"\"medium\"","description":"The border radius of the tooltip.","name":"rounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""}],"methods":[],"outputs":[{"description":"Emitted when the tooltip popup is hidden.","name":"hidden","type":"void"},{"description":"Emitted when the tooltip popup is shown.","name":"shown","type":"void"}],"properties":[],"page":{"path":"tooltip","title":"Tooltip"}},{"description":"**Deprecated.** No longer used by the tooltip or popover, which keep the gap on the side they flip to and place\n`left` and `right` physically in RTL. Kept for existing callers. Gets the appropriate offset for a tooltip based on its position.\nThe offset ensures proper spacing between the tooltip and its anchor element.","kind":"function","name":"getOffsetForPosition","signature":"function getOffsetForPosition(position: Position, arrowVisible: boolean): PopupOffset;","page":{"path":"tooltip","title":"Tooltip"}},{"description":"**Deprecated.** No longer used by the tooltip or popover. Kept for existing callers.","kind":"function","name":"getPositionConnectionPoints","signature":"function getPositionConnectionPoints(position: Position): { anchor: ConnectionPoint; popup: ConnectionPoint };","page":{"path":"tooltip","title":"Tooltip"}},{"description":"","kind":"constant","name":"tooltipArrowThemeVariants","signature":"const tooltipArrowThemeVariants: (props?: ClassProp | undefined) => string;","page":{"path":"tooltip","title":"Tooltip"}},{"description":"A side of the anchor. `start` and `end` follow the direction.","kind":"type","name":"OverlaySide","signature":"type OverlaySide = \"bottom\" | \"end\" | \"left\" | \"right\" | \"start\" | \"top\";","page":{"path":"tooltip","title":"Tooltip"},"usedBy":["PopoverPosition","TooltipPosition"]},{"description":"The side of its anchor a tooltip opens on. `left` and `right` are physical in every direction; `start` and `end`\nfollow the text direction.","kind":"type","name":"TooltipPosition","signature":"type TooltipPosition = OverlaySide;","page":{"path":"tooltip","title":"Tooltip"},"usedBy":["TooltipComponent","TooltipDirective"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"CheckableOptions":"tree-view","ChildrenLoadErrorEvent":"tree-view","ChildrenSelector":"tree-view","DataStructure":"tree-view","DisableOptions":"tree-view","DraggableOptions":"tree-view","DropPosition":"tree-view","DropPositionChangeEvent":"tree-view","DropdownTreeComponent":"dropdown-tree","ExpandableOptions":"tree-view","FilterChangeEvent":"common","FilterableOptions":"common","GridSelectableDirective":"grid","ITreeView":"tree-view","ListViewSelectableDirective":"list-view","MonaTreeViewMessages":"i18n","MultiSelectTreeComponent":"multi-select-tree","MultipleSelectionConfig":"tree-view","NodeCheckEvent":"tree-view","NodeClickEvent":"tree-view","NodeDragEndEvent":"tree-view","NodeDragEvent":"tree-view","NodeDragStartEvent":"tree-view","NodeDropEvent":"tree-view","NodeDropOriginalEvent":"tree-view","NodeItem":"tree-view","NodeKeySelector":"tree-view","NodeMoveSnapshot":"tree-view","NodeSelectEvent":"tree-view","PreventableEvent":"common","SelectableOptions":"tree-view","SingleSelectionConfig":"tree-view","TREE_VIEW_DEFAULT_MESSAGES":"tree-view","TreeNode":"tree-view","TreeViewCheckableDirective":"tree-view","TreeViewComponent":"tree-view","TreeViewDisableDirective":"tree-view","TreeViewDragAndDropDirective":"tree-view","TreeViewExpandableDirective":"tree-view","TreeViewFilterableDirective":"tree-view","TreeViewNodeTemplateContext":"tree-view","TreeViewNodeTemplateDirective":"tree-view","TreeViewSelectableDirective":"tree-view","moveFlatTreeNode":"tree-view","moveTreeNode":"tree-view"},"name":"tree-view","pages":[{"path":"tree-view","title":"Tree View"}],"symbols":[{"description":"","kind":"component","name":"TreeViewComponent","selector":"mona-tree-view","typeParameters":["T"],"inputs":[{"defaultValue":"true","description":"Enables CSS transitions when nodes expand or collapse. Accepts the attribute form\n(`animate=\"false\"`).","name":"animate","type":"boolean"},{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name of the tree. Describe what the tree represents; it also names the filter input\n(\"Filter {name}\"). Set this or `aria-labelledby`: an unnamed tree logs a warning in development. A plain\n`aria-label` attribute on `mona-tree-view` doesn't name the tree.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"Id of the element that names the tree, as an alternative to `aria-label`.","name":"ariaLabelledBy","type":"string"},{"defaultValue":"\"\"","description":"Property name or accessor used to derive a node's children from a data item. Accepts a property name, a function returning the children, or a function returning an observable of the children.","name":"children","type":"ChildrenSelector<T>"},{"defaultValue":"[]","description":"Collection of items to render.","name":"data","type":"Iterable<T>"},{"defaultValue":"null","description":"Predicate that determines whether a node has children. Required when the children selector returns an observable.","name":"hasChildren","type":"Predicate<T> | null"},{"defaultValue":"\"\"","description":"Property name that holds a node's unique identifier. Required when `mode` is set to `\"flat\"`.","name":"idField","type":"string"},{"defaultValue":"\"hierarchical\"","description":"Shape of the source data: `\"hierarchical\"` for nested items via `children`, or `\"flat\"` for a flat list linked by `idField` and `parentIdField`.","name":"mode","type":"DataStructure"},{"defaultValue":"\"\"","description":"Property name that holds a node's parent identifier. Required when `mode` is set to `\"flat\"`.","name":"parentIdField","type":"string"},{"defaultValue":"\"\"","description":"Property name or accessor used to derive the display text from a data item.","name":"textField","type":"string | Selector<T, string>"}],"methods":[{"description":"Moves a node in the tree's internal structure, without going through `data`.","name":"moveNode","signature":"moveNode(source: NodeItem<T>, target: NodeItem<T>, position: DropPosition): NodeMoveSnapshot | null"},{"description":"Reverts a move previously performed by `moveNode`.","name":"undoMoveNode","signature":"undoMoveNode(snapshot: NodeMoveSnapshot): void"}],"outputs":[{"description":"Emitted when the tree-view loses focus.","name":"blur","type":"FocusEvent"},{"description":"Emitted when the children observable of a node errors. The node is collapsed again and marked\nas failed (its expander reads \"Retry loading {node}\"), the failure is announced, and expanding the node\nretries the load.","name":"childrenLoadError","type":"ChildrenLoadErrorEvent<T>"},{"description":"Emitted when the tree-view gains focus.","name":"focus","type":"FocusEvent"},{"description":"Emitted when a node is clicked.","name":"nodeClick","type":"NodeClickEvent<T>"}],"properties":[],"page":{"path":"tree-view","title":"Tree View"}},{"description":"","exportAs":"monaTreeViewCheckable","kind":"directive","name":"TreeViewCheckableDirective","selector":"mona-tree-view[monaTreeViewCheckable]","typeParameters":["T","K = T"],"inputs":[{"defaultValue":"\"\"","description":"Property name or accessor used to derive a node's check key from its data. Falls back to the node's data when unset.","name":"checkBy","type":"NodeKeySelector<T, K> | undefined"},{"defaultValue":"[]","description":"Keys of the currently checked nodes.","name":"checkedKeys","type":"Iterable<K>"},{"defaultValue":"null","description":"Predicate that determines whether a node displays a checkbox. When unset, every node displays a checkbox.","name":"hasCheckbox","type":"((data: T, uid: string) => boolean) | null"},{"alias":"monaTreeViewCheckable","defaultValue":"\"\"","description":"Configures check mode and whether checking a node also checks its children or parents. Merged over `{ checkChildren: true, checkDisabledChildren: false, checkParents: true, childrenOnly: false, enabled: true, mode: \"multiple\" }` when applied bare.","name":"options","type":"Partial<CheckableOptions> | \"\""}],"methods":[],"outputs":[{"description":"Emitted with the checked keys when the user checks or unchecks a node, including the children and\nparents that check follows (`checkChildren`, `checkParents`). Not emitted for keys set through `checkedKeys`,\nnor for keys the tree derives on its own: checked parents of checked children set from code, lazily loaded\nchildren of a checked node, and ancestors after a drop. Those are reported with the next user change.","name":"checkedKeysChange","type":"K[]"},{"description":"Emitted when a node is checked or unchecked.","name":"nodeCheck","type":"NodeCheckEvent<T>"}],"properties":[],"page":{"path":"tree-view","title":"Tree View"}},{"description":"","exportAs":"monaTreeViewExpandable","kind":"directive","name":"TreeViewExpandableDirective","selector":"mona-tree-view[monaTreeViewExpandable]","typeParameters":["T","K = T"],"inputs":[{"defaultValue":"\"\"","description":"Property name or accessor used to derive a node's expand key from its data. Falls back to the node's data when unset.","name":"expandBy","type":"NodeKeySelector<T, K> | undefined"},{"defaultValue":"[]","description":"Keys of the currently expanded nodes.","name":"expandedKeys","type":"Iterable<K>"},{"alias":"monaTreeViewExpandable","defaultValue":"\"\"","description":"Configures whether expanding and collapsing nodes is enabled. Merged over `{ enabled: true }` when applied bare.","name":"options","type":"Partial<ExpandableOptions> | \"\""}],"methods":[],"outputs":[{"description":"Emitted when a node is collapsed.","name":"collapse","type":"NodeItem<T>"},{"description":"Emitted when a node is expanded.","name":"expand","type":"NodeItem<T>"},{"description":"Emitted with the expanded keys when the user expands or collapses a node. Not emitted for keys set\nthrough `expandedKeys`, nor for the expansion a filter applies (which is undone when the filter is cleared).","name":"expandedKeysChange","type":"K[]"}],"properties":[],"page":{"path":"tree-view","title":"Tree View"}},{"description":"","exportAs":"monaTreeViewSelectable","kind":"directive","name":"TreeViewSelectableDirective","selector":"mona-tree-view[monaTreeViewSelectable]","typeParameters":["T","K = T"],"inputs":[{"alias":"monaTreeViewSelectable","defaultValue":"\"\"","description":"Configures selection mode, toggleability, and whether only child nodes are selectable. Merged over `{ childrenOnly: false, enabled: true, mode: \"single\", toggleable: false }` when applied bare.","name":"options","type":"Partial<SelectableOptions> | \"\""},{"defaultValue":"\"\"","description":"Property name or accessor used to derive a node's selection key from its data. Falls back to the node's data when unset.","name":"selectBy","type":"NodeKeySelector<T, K> | undefined"},{"defaultValue":"[]","description":"Keys of the currently selected nodes.","name":"selectedKeys","type":"Iterable<K>"}],"methods":[],"outputs":[{"description":"Emitted before the user selects or deselects a node, by click or Enter. Call `preventDefault()`\nto keep the selection as it is; `selectionChange` follows when it isn't prevented.","name":"nodeSelect","type":"NodeSelectEvent<T>"},{"description":"Emitted with the selected keys when the user selects or deselects a node. Not emitted for keys set\nthrough `selectedKeys`.","name":"selectedKeysChange","type":"K[]"},{"description":"Emitted with the node after the user selects or deselects it (after a `nodeSelect` that wasn't\nprevented).","name":"selectionChange","type":"NodeItem<T>"}],"properties":[],"page":{"path":"tree-view","title":"Tree View"}},{"description":"","exportAs":"monaTreeViewDragAndDrop","kind":"directive","name":"TreeViewDragAndDropDirective","selector":"mona-tree-view[monaTreeViewDragAndDrop]","typeParameters":["T"],"inputs":[{"alias":"monaTreeViewDragAndDrop","defaultValue":"\"\"","description":"Configures whether dragging nodes to reorder or reparent them is enabled. Merged over `{ enabled: true }` when applied bare.","name":"options","type":"Partial<DraggableOptions> | \"\""}],"methods":[],"outputs":[{"description":"Emitted while a node is being dragged.","name":"nodeDrag","type":"NodeDragEvent<T>"},{"description":"Emitted when a node drag ends, dropped or not. Not cancelable: the drag is over either way.","name":"nodeDragEnd","type":"NodeDragEndEvent<T>"},{"description":"Emitted when a node drag starts.","name":"nodeDragStart","type":"NodeDragStartEvent<T>"},{"description":"Emitted when a node is dropped on another node, or moved with Ctrl+Shift+Arrow (Cmd+Shift+Arrow on\nmacOS). The tree doesn't move the node: the handler applies the move (with `moveTreeNode`,\n`moveFlatTreeNode` or `event.treeView.moveNode`). Call `preventDefault()` when the move isn't applied.","name":"nodeDrop","type":"NodeDropEvent<T>"}],"properties":[],"page":{"path":"tree-view","title":"Tree View"}},{"description":"","exportAs":"monaTreeViewFilterable","kind":"directive","name":"TreeViewFilterableDirective","selector":"mona-tree-view[monaTreeViewFilterable]","typeParameters":["T"],"inputs":[{"defaultValue":"\"\"","description":"Current filter text used to narrow the visible nodes. Two-way bindable (`[(filter)]`); the user's\ntyping updates it, so setting it from code (including back to `\"\"`) always applies.","name":"filter","twoWay":true,"type":"string"},{"defaultValue":"\"\"","description":"Placeholder text shown in the filter input.","name":"filterPlaceholder","type":"string"},{"alias":"monaTreeViewFilterable","defaultValue":"\"\"","description":"Configures the filter operator, case sensitivity, and debounce delay. Merged over `{ enabled: true, operator: \"contains\", caseSensitive: false, debounce: 0 }` when applied bare.","name":"options","type":"Partial<FilterableOptions> | \"\""}],"methods":[],"outputs":[{"description":"Emitted when the user types in the filter input, before the filter applies. Call\n`preventDefault()` to keep the current filter; otherwise `filterChange` reports the new text.","name":"filterInput","type":"FilterChangeEvent"}],"properties":[],"page":{"path":"tree-view","title":"Tree View"}},{"description":"","exportAs":"monaTreeViewDisable","kind":"directive","name":"TreeViewDisableDirective","selector":"mona-tree-view[monaTreeViewDisable]","typeParameters":["T","K = T"],"inputs":[{"defaultValue":"\"\"","description":"Property name or accessor used to derive a node's disable key from its data. Falls back to the node's data when unset.","name":"disableBy","type":"NodeKeySelector<T, K> | undefined"},{"defaultValue":"[]","description":"Keys of the currently disabled nodes.","name":"disabledKeys","type":"Iterable<K>"},{"alias":"monaTreeViewDisable","defaultValue":"\"\"","description":"Configures whether disabling a node also disables its children. Merged over `{ disableChildren: true, enabled: true }` when applied bare.","name":"options","type":"Partial<DisableOptions> | \"\""}],"methods":[],"outputs":[],"properties":[],"page":{"path":"tree-view","title":"Tree View"}},{"description":"Template for each node's content. The data item is the template's implicit value (`let-dataItem`) and the node's\nelement is `element`. Bind the tree view's data to `monaTreeViewNodeTemplateOf` to type the data item; without it,\nthe data item is `any` in templates.","kind":"directive","name":"TreeViewNodeTemplateDirective","selector":"ng-template[monaTreeViewNodeTemplate]","templateContext":{"members":[{"description":"The node's data item (`let-dataItem`).","name":"$implicit","type":"T"},{"description":"The node's element (`let-element=\"element\"`).","name":"element","type":"HTMLElement"}],"type":"TreeViewNodeTemplateContext<T>"},"typeParameters":["T = any"],"inputs":[{"defaultValue":"null","description":"The tree view's data, used only to type the template's data item. Optional.","name":"monaTreeViewNodeTemplateOf","type":"Iterable<T> | null | undefined"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"tree-view","title":"Tree View"}},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"NodeCheckEvent","typeParameters":["T"],"inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"nodeItem","readonly":true,"type":"NodeItem<T>"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["TreeViewCheckableDirective"]},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"NodeClickEvent","typeParameters":["T"],"inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"nodeItem","readonly":true,"type":"NodeItem<T>"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["TreeViewComponent"]},{"description":"","kind":"class","name":"NodeDragEndEvent","typeParameters":["T"],"inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"nodeItem","readonly":true,"type":"NodeItem<T>"}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["TreeViewDragAndDropDirective"]},{"description":"","kind":"class","name":"NodeDragEvent","typeParameters":["T"],"inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"nodeItem","readonly":true,"type":"NodeItem<T>"},{"description":"","name":"originalEvent","readonly":true,"type":"MouseEvent | TouchEvent"},{"description":"","name":"targetNodeItem","readonly":true,"type":"NodeItem<T> | null"},{"description":"","name":"type","readonly":true,"type":"string"}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["TreeViewDragAndDropDirective"]},{"description":"","kind":"class","name":"NodeDragStartEvent","typeParameters":["T"],"inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"nodeItem","readonly":true,"type":"NodeItem<T>"}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["TreeViewDragAndDropDirective"]},{"description":"A request to move a node: a drop, or a keyboard move (Ctrl+Shift+Arrow), whose original event is then the\n`KeyboardEvent`.","kind":"class","name":"NodeDropEvent","typeParameters":["T"],"inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"nodeItem","readonly":true,"type":"NodeItem<T>"},{"description":"","name":"position","readonly":true,"type":"DropPosition"},{"description":"","name":"sourceNode","readonly":true,"type":"NodeItem<T>"},{"description":"","name":"targetNode","readonly":true,"type":"NodeItem<T>"},{"description":"","name":"treeView","readonly":true,"type":"ITreeView<T>"}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["moveFlatTreeNode","moveTreeNode","TreeViewDragAndDropDirective"]},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"NodeSelectEvent","typeParameters":["T"],"inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"nodeItem","readonly":true,"type":"NodeItem<T>"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["TreeViewSelectableDirective"]},{"description":"A node of a tree, wrapping its data item. Read `data`, `uid` and `nodeItem`; the tree keeps the rest, and writing to it\nwould put the node out of step with the tree.","kind":"class","name":"TreeNode","typeParameters":["T"],"inputs":[],"methods":[],"outputs":[],"properties":[{"description":"The data item this node was created from.","name":"data","readonly":true,"type":"T"},{"description":"A plain snapshot of the node (its data, uid and whether it has children), as the tree view's events carry it.","name":"nodeItem","readonly":true,"type":"NodeItem<T>"},{"description":"A unique id generated for the node when it is created.","name":"uid","readonly":true,"type":"string"}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["DropPositionChangeEvent"]},{"description":"Moves a node within a generic flat tree structure that uses parentId references.","kind":"function","name":"moveFlatTreeNode","signature":"function moveFlatTreeNode<T extends object>(treeData: Iterable<T>, event: NodeDropEvent<T>, idKey: keyof T, parentIdKey: keyof T): T[];","page":{"path":"tree-view","title":"Tree View"}},{"description":"Moves a node within a generic hierarchical tree structure.","kind":"function","name":"moveTreeNode","signature":"function moveTreeNode<T extends object>(treeData: Iterable<T>, event: NodeDropEvent<T>, idKey: keyof T, childrenKey: keyof T): T[];","page":{"path":"tree-view","title":"Tree View"}},{"description":"","kind":"constant","name":"TREE_VIEW_DEFAULT_MESSAGES","signature":"const TREE_VIEW_DEFAULT_MESSAGES: MonaTreeViewMessages;","page":{"path":"tree-view","title":"Tree View"}},{"description":"","extends":[],"kind":"interface","methods":[{"description":"","name":"moveNode","signature":"moveNode(source: NodeItem<T>, target: NodeItem<T>, position: DropPosition): NodeMoveSnapshot | null"},{"description":"","name":"undoMoveNode","signature":"undoMoveNode(snapshot: NodeMoveSnapshot): void"}],"name":"ITreeView","properties":[],"typeParameters":["T"],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["NodeDropEvent"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"CheckableOptions","properties":[{"description":"Determines whether checking a node should also check its children.\nOnly applicable when `mode` is set to `multiple`.","name":"checkChildren","optional":true,"type":"boolean"},{"description":"Determines whether checking a node should also check its disabled children.\nOnly applicable when `mode` is set to `multiple`.","name":"checkDisabledChildren","optional":true,"type":"boolean"},{"description":"Determines whether checking a node should also check its parents.\nOnly applicable when `mode` is set to `multiple`.","name":"checkParents","optional":true,"type":"boolean"},{"description":"Determines whether only the children of the node should be checkable.","name":"childrenOnly","optional":true,"type":"boolean"},{"description":"Determines if the checkboxes are enabled.","name":"enabled","optional":true,"type":"boolean"},{"description":"Specifies the check mode.","name":"mode","optional":true,"type":"\"multiple\" | \"single\""}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["TreeViewCheckableDirective"]},{"description":"Reports that the children of a node couldn't be loaded from an asynchronous children selector. The node is\ncollapsed again, and expanding it retries the load.","extends":[],"kind":"interface","methods":[],"name":"ChildrenLoadErrorEvent","properties":[{"description":"What the children observable errored with.","name":"error","readonly":true,"type":"unknown"},{"description":"The node whose children failed to load.","name":"node","readonly":true,"type":"NodeItem<T>"}],"typeParameters":["T"],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["TreeViewComponent"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"DisableOptions","properties":[{"description":"Determines whether the children of the node should be disabled as well.","name":"disableChildren","type":"boolean"},{"description":"Determines if the disabling is enabled.","name":"enabled","type":"boolean"}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["TreeViewDisableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"DraggableOptions","properties":[{"description":"Determines if the dragging is enabled.","name":"enabled","type":"boolean"}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["TreeViewDragAndDropDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"DropPositionChangeEvent","properties":[{"description":"","name":"position","type":"DropPosition"},{"description":"","name":"targetNode","type":"TreeNode<T> | null"}],"typeParameters":["T"],"page":{"path":"tree-view","title":"Tree View"}},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ExpandableOptions","properties":[{"description":"Determines if the expanding is enabled.","name":"enabled","type":"boolean"}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["TreeViewExpandableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"MultipleSelectionConfig","properties":[{"description":"Allows multiple items to be selected simultaneously.","name":"mode","type":"\"multiple\""}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["SelectableOptions"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"NodeItem","properties":[{"description":"","name":"data","type":"T"},{"description":"","name":"hasChildren","type":"boolean"},{"description":"","name":"uid","type":"string"}],"typeParameters":["T"],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["ChildrenLoadErrorEvent","ITreeView","NodeCheckEvent","NodeClickEvent","NodeDragEndEvent","NodeDragEvent","NodeDragStartEvent","NodeDropEvent","NodeSelectEvent","TreeNode","TreeViewComponent","TreeViewExpandableDirective","TreeViewSelectableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"NodeMoveSnapshot","properties":[{"description":"","name":"originalIndex","readonly":true,"type":"number"},{"description":"","name":"originalParentUid","readonly":true,"type":"string | null"},{"description":"","name":"sourceNodeUid","readonly":true,"type":"string"}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["ITreeView","TreeViewComponent"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"SingleSelectionConfig","properties":[{"description":"Allows only one item to be selected at a time.","name":"mode","type":"\"single\""},{"description":"Determines if clicking an already selected item will deselect it.","name":"toggleable","optional":true,"type":"boolean"}],"page":{"path":"tree-view","title":"Tree View"},"usedBy":["SelectableOptions"]},{"description":"The context of a `monaTreeViewNodeTemplate`.","extends":[],"kind":"interface","methods":[],"name":"TreeViewNodeTemplateContext","properties":[{"description":"The node's data item (`let-dataItem`).","name":"$implicit","readonly":true,"type":"T"},{"description":"The node's element (`let-element=\"element\"`).","name":"element","readonly":true,"type":"HTMLElement"}],"typeParameters":["T"],"page":{"path":"tree-view","title":"Tree View"}},{"description":"","kind":"type","name":"ChildrenSelector","signature":"type ChildrenSelector<T> = string | Selector<T, Iterable<T> | Observable<Iterable<T>>>;","page":{"path":"tree-view","title":"Tree View"},"usedBy":["DropdownTreeComponent","MultiSelectTreeComponent","TreeViewComponent"]},{"description":"","kind":"type","name":"DataStructure","signature":"type DataStructure = \"flat\" | \"hierarchical\";","page":{"path":"tree-view","title":"Tree View"},"usedBy":["DropdownTreeComponent","MultiSelectTreeComponent","TreeViewComponent"]},{"description":"","kind":"type","name":"DropPosition","signature":"type DropPosition = \"before\" | \"after\" | \"inside\" | \"outside\";","page":{"path":"tree-view","title":"Tree View"},"usedBy":["DropPositionChangeEvent","ITreeView","NodeDropEvent","TreeViewComponent"]},{"description":"The event behind a `nodeDrop`: the pointer event of a drop, or the key press of a keyboard move.","kind":"type","name":"NodeDropOriginalEvent","signature":"type NodeDropOriginalEvent = MouseEvent | TouchEvent | KeyboardEvent;","page":{"path":"tree-view","title":"Tree View"}},{"description":"","kind":"type","name":"NodeKeySelector","signature":"type NodeKeySelector<T, K = unknown> = string | Selector<T, K> | null;","page":{"path":"tree-view","title":"Tree View"},"usedBy":["TreeViewCheckableDirective","TreeViewDisableDirective","TreeViewExpandableDirective","TreeViewSelectableDirective"]},{"description":"","kind":"type","name":"SelectableOptions","signature":"type SelectableOptions = { enabled: boolean; childrenOnly: boolean; } & (SingleSelectionConfig | MultipleSelectionConfig);","page":{"path":"tree-view","title":"Tree View"},"usedBy":["GridSelectableDirective","ListViewSelectableDirective","TreeViewSelectableDirective"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"Action":"common","MonaWindowMessages":"i18n","MoveEvent":"window","PopupCloseEvent":"popup","PopupCloseSource":"popup","PopupRef":"popup","ResizeEvent":"window","WINDOW_DATA":"window","WINDOW_DEFAULT_MESSAGES":"window","WindowActionTemplateContext":"window","WindowActionTemplateDirective":"window","WindowComponent":"window","WindowContentTemplateDirective":"window","WindowFooterTemplateDirective":"window","WindowMessages":"i18n","WindowRef":"window","WindowResult":"window","WindowService":"window","WindowSettings":"window","WindowTitleTemplateDirective":"window"},"name":"window","pages":[{"path":"window","title":"Window"}],"symbols":[{"description":"","kind":"component","name":"WindowComponent","selector":"mona-window","inputs":[{"alias":"aria-label","defaultValue":"undefined","description":"Accessible name for the window when it has no `title` or title template.","name":"ariaLabel","type":"string | undefined"},{"defaultValue":"true","description":"Sets the visibility of the close button in the window header.","name":"closable","type":"boolean"},{"defaultValue":"true","description":"Sets whether the window should close when the escape key is pressed.","name":"closeOnEscape","type":"boolean"},{"defaultValue":"true","description":"Sets whether the window can be dragged by the user.","name":"draggable","type":"boolean"},{"description":"Sets the element that should receive focus when the window is opened.\nAccepts an element reference or a query selector string.","name":"focusedElement","type":"HTMLElement | ElementRef<HTMLElement> | string | null"},{"description":"Sets the height of the window.","name":"height","twoWay":true,"type":"number"},{"description":"Sets the left position of the window.","name":"left","twoWay":true,"type":"number"},{"defaultValue":"\"default\"","description":"Sets the look of the window.","name":"look","type":"\"default\" | \"primary\""},{"description":"Sets the maximum height of the window.","name":"maxHeight","type":"number"},{"defaultValue":"true","description":"Sets whether the user can maximize the window.","name":"maximizable","type":"boolean"},{"description":"Sets the maximum width of the window.","name":"maxWidth","type":"number"},{"description":"Internationalization message overrides for accessible labels.","name":"messages","type":"Partial<WindowMessages>"},{"description":"Sets the minimum height of the window.","name":"minHeight","type":"number"},{"defaultValue":"true","description":"Sets whether the user can minimize the window.","name":"minimizable","type":"boolean"},{"description":"Sets the minimum width of the window.","name":"minWidth","type":"number"},{"defaultValue":"false","description":"Sets whether the window should have an overlay behind it.","name":"modal","type":"boolean"},{"defaultValue":"false","description":"Sets whether the user can resize the window.","name":"resizable","type":"boolean"},{"defaultValue":"\"medium\"","description":"Sets the border radius of the window.","name":"rounded","type":"\"large\" | \"medium\" | \"none\" | \"small\""},{"description":"Sets the title of the window.","name":"title","type":"string"},{"description":"Sets the top position of the window.","name":"top","twoWay":true,"type":"number"},{"description":"Sets the width of the window.","name":"width","twoWay":true,"type":"number"}],"methods":[{"description":"Closes the window.","name":"closeWindow","signature":"closeWindow(): void"},{"description":"Moves the window, in pixels. An axis that isn't given keeps its place.","name":"move","signature":"move(position: { top?: number; left?: number }): void"},{"description":"Opens the window. Called once after the first render; call it again to reopen a window that was closed. Does\nnothing while the window is open.","name":"openWindow","signature":"openWindow(): void"},{"description":"Resizes the window, in pixels. A dimension that isn't given keeps its size.","name":"resize","signature":"resize(dimensions: { width?: number; height?: number }): void"}],"outputs":[{"description":"Emits before the window closes, whatever closes it: the close button, Escape, a programmatic close,\nor the component being destroyed. Call `preventDefault()` to keep it open (a close caused by destruction can't\nbe kept).","name":"close","type":"PopupCloseEvent<unknown>"},{"description":"Emitted after the window has fully closed (post-animation). Preventing this event has no effect.","name":"closed","type":"void"},{"description":"Emits when the window dragging ends.","name":"dragEnd","type":"void"},{"description":"Emits when the window dragging starts.","name":"dragStart","type":"void"}],"properties":[],"page":{"path":"window","title":"Window"}},{"description":"","kind":"directive","name":"WindowActionTemplateDirective","selector":"ng-template[monaWindowActionTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"window","title":"Window"}},{"description":"","kind":"directive","name":"WindowContentTemplateDirective","selector":"ng-template[monaWindowContentTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"window","title":"Window"}},{"description":"","kind":"directive","name":"WindowFooterTemplateDirective","selector":"ng-template[monaWindowFooterTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"window","title":"Window"}},{"description":"","kind":"directive","name":"WindowTitleTemplateDirective","selector":"ng-template[monaWindowTitleTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"window","title":"Window"}},{"description":"","kind":"service","name":"WindowService","inputs":[],"methods":[{"description":"Opens a window.","name":"open","signature":"open<R = unknown, D = unknown>(settings: WindowSettings<D>): WindowRef<R>"}],"outputs":[],"properties":[],"page":{"path":"window","title":"Window"}},{"description":"A handle on an open window.","kind":"class","name":"WindowRef","typeParameters":["R = unknown"],"inputs":[],"methods":[{"description":"Centers the window in the viewport. It stays centered as its size changes, until it is moved.","name":"center","signature":"center(): void"},{"description":"Closes the window. `close$` can still prevent it.","name":"close","signature":"close(result?: R): void"},{"description":"Closes the window after the given delay, in milliseconds.","name":"closeWithDelay","signature":"closeWithDelay(delay: number, result?: R): void"},{"description":"Moves the window, in pixels from the viewport's top-left corner. An axis that isn't given keeps its place.","name":"move","signature":"move(params: { top?: number; left?: number }): void"},{"description":"Resizes the window, in pixels. A dimension that isn't given keeps its size; `center` centers the window\nafterward.","name":"resize","signature":"resize(params: { width?: number; height?: number; center?: boolean }): void"}],"outputs":[],"properties":[{"description":"Emits before the window closes, whatever closes it. Call `preventDefault()` to keep it open. Completes once the\nwindow has closed.","name":"close$","readonly":true,"type":"Observable<PopupCloseEvent<R>>"},{"description":"Emits how the window closed, once it has closed, then completes. Replays to late subscribers.","name":"closed$","readonly":true,"type":"Observable<WindowResult<R>>"},{"description":"The hosted component, when `content` is a component rather than a `TemplateRef`.","name":"component","readonly":true,"type":"ComponentRef<unknown> | null"},{"description":"Emits while the window is dragged. Completes when it closes.","name":"drag$","readonly":true,"type":"Observable<MoveEvent>"},{"description":"Emits when a drag ends. Completes when the window closes.","name":"dragEnd$","readonly":true,"type":"Observable<void>"},{"description":"Emits when a drag starts. Completes when the window closes.","name":"dragStart$","readonly":true,"type":"Observable<void>"},{"description":"The window's overlay element.","name":"element","readonly":true,"type":"HTMLElement"},{"description":"The window's current rendered height, in pixels.","name":"height","readonly":true,"type":"number"},{"description":"The underlying `PopupRef`, for advanced overlay access.","name":"popupRef","readonly":true,"type":"PopupRef"},{"description":"Emits while the window is resized by the user. Completes when it closes.","name":"resize$","readonly":true,"type":"Observable<ResizeEvent>"},{"description":"The window's current rendered width, in pixels.","name":"width","readonly":true,"type":"number"}],"page":{"path":"window","title":"Window"},"usedBy":["WindowActionTemplateContext","WindowService"]},{"description":"The `data` a window was opened with, for a component given as its `content`.","kind":"constant","name":"WINDOW_DATA","signature":"const WINDOW_DATA: InjectionToken<unknown>;","page":{"path":"window","title":"Window"}},{"description":"","kind":"constant","name":"WINDOW_DEFAULT_MESSAGES","signature":"const WINDOW_DEFAULT_MESSAGES: MonaWindowMessages;","page":{"path":"window","title":"Window"}},{"description":"","extends":[],"kind":"interface","methods":[],"name":"MoveEvent","properties":[{"description":"","name":"left","type":"number"},{"description":"","name":"top","type":"number"}],"page":{"path":"window","title":"Window"},"usedBy":["WindowRef"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ResizeEvent","properties":[{"description":"","name":"height","type":"number"},{"description":"","name":"left","type":"number"},{"description":"","name":"top","type":"number"},{"description":"","name":"width","type":"number"}],"page":{"path":"window","title":"Window"},"usedBy":["WindowRef"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"WindowActionTemplateContext","properties":[{"description":"The window's own `WindowRef`, exposed to a `monaWindowActionTemplate` via `let-windowRef`.","name":"$implicit","type":"WindowRef"}],"page":{"path":"window","title":"Window"},"usedBy":["WindowSettings"]},{"description":"How a window closed, emitted once by `WindowRef.closed$`.","extends":[],"kind":"interface","methods":[],"name":"WindowResult","properties":[{"description":"The value passed to `close(value)`; `undefined` for the close button, Escape and the host being destroyed.","name":"value","readonly":true,"type":"R | undefined"},{"description":"What closed the window: the close button, Escape, or a programmatic close.","name":"via","readonly":true,"type":"PopupCloseSource"}],"typeParameters":["R = unknown"],"page":{"path":"window","title":"Window"},"usedBy":["WindowRef"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"WindowSettings","properties":[{"description":"Template rendered next to the minimize/maximize/close buttons.","name":"actionTemplate","optional":true,"type":"TemplateRef<WindowActionTemplateContext>"},{"description":"Accessible name for a window without a `title`.","name":"ariaLabel","optional":true,"type":"string"},{"description":"Whether the title bar shows a close button.","name":"closable","optional":true,"type":"boolean"},{"description":"Whether pressing Escape closes the window.","name":"closeOnEscape","optional":true,"type":"boolean"},{"description":"The window's content — a template reference or a component class.","name":"content","optional":true,"type":"TemplateRef<unknown> | Type<unknown>"},{"description":"Data for the content: a component injects it with `WINDOW_DATA`, a template gets it as its implicit context\n(`let-data`).","name":"data","optional":true,"type":"D"},{"description":"Whether the user can move the window by its title bar. Unlike the `WindowComponent` input, this defaults to\n`false`.","name":"draggable","optional":true,"type":"boolean"},{"description":"The element that receives focus when the window opens: an element, an element reference, or a CSS selector\nmatched inside the window.","name":"focusedElement","optional":true,"type":"HTMLElement | ElementRef<HTMLElement> | string | null"},{"description":"Template rendered in the window's footer area.","name":"footerTemplate","optional":true,"type":"TemplateRef<unknown>"},{"description":"Height in pixels. When omitted, the window fits its content.","name":"height","optional":true,"type":"number"},{"description":"Parent injector for the window's content. Pass the opener's injector so a component given as `content` can\ninject what the opener provides. Default: the root injector.","name":"injector","optional":true,"type":"Injector"},{"description":"Distance from the viewport's left edge in pixels. When omitted, the window is centered horizontally.","name":"left","optional":true,"type":"number"},{"description":"The title bar's color scheme.","name":"look","optional":true,"type":"\"default\" | \"primary\""},{"description":"Maximum height in pixels, also the limit for resizing. When omitted, the viewport's height is the limit.","name":"maxHeight","optional":true,"type":"number"},{"description":"Whether the title bar shows a maximize button.","name":"maximizable","optional":true,"type":"boolean"},{"description":"Maximum width in pixels, also the limit for resizing. When omitted, the viewport's width is the limit.","name":"maxWidth","optional":true,"type":"number"},{"description":"Overrides for the window's messages, such as the title bar button labels.","name":"messages","optional":true,"type":"Partial<WindowMessages>"},{"description":"Minimum height in pixels. Resizing stops at it, or at 50 pixels when omitted.","name":"minHeight","optional":true,"type":"number"},{"description":"Whether the title bar shows a minimize button.","name":"minimizable","optional":true,"type":"boolean"},{"description":"Minimum width in pixels. Resizing stops at it, or at 50 pixels when omitted.","name":"minWidth","optional":true,"type":"number"},{"description":"Whether the window is modal: a backdrop, `aria-modal=\"true\"`, focus kept inside, page scroll locked, and the\nrest of the page inert.","name":"modal","optional":true,"type":"boolean"},{"description":"Return `true` to cancel a close. See `preventClose` is service-only.","name":"preventClose","optional":true,"type":"Action<PopupCloseEvent, boolean>"},{"description":"Whether the user can resize the window by its edges and corners, or from the title bar with the keyboard.","name":"resizable","optional":true,"type":"boolean"},{"description":"Border-radius preset for the window.","name":"rounded","optional":true,"type":"\"large\" | \"medium\" | \"none\" | \"small\""},{"description":"The window's title — a plain string or a template reference.","name":"title","optional":true,"type":"string | TemplateRef<unknown>"},{"description":"Distance from the viewport's top edge in pixels. When omitted, the window is centered vertically.","name":"top","optional":true,"type":"number"},{"description":"Width in pixels. When omitted, the window fits its content.","name":"width","optional":true,"type":"number"},{"description":"Class(es) applied to the window's overlay element.","name":"windowClass","optional":true,"type":"string | string[]"}],"typeParameters":["D = unknown"],"page":{"path":"window","title":"Window"},"usedBy":["WindowService"]}]}
|
package/docs/installation.md
CHANGED
|
@@ -178,6 +178,14 @@ See [Export](chart.md#export) for how to export a chart.
|
|
|
178
178
|
|
|
179
179
|
The documentation is also available as markdown, for coding agents. Point an agent at `/llms.txt`, which lists every page with a link to its markdown, or at `node_modules/@nanahoshi/mona-ui/llms.txt`, which matches the installed version.
|
|
180
180
|
|
|
181
|
+
Agents that support the Model Context Protocol (MCP), such as Claude Code, Cursor and VS Code, can use the `@nanahoshi/mona-ui-mcp` server instead. It answers from the docs of the installed version, a page section or a component's inputs at a time, so the agent doesn't read them all. It also checks a template for elements, inputs and outputs that don't exist, and lists the imports the template needs. Add it from your project's folder:
|
|
182
|
+
|
|
183
|
+
```bash
|
|
184
|
+
claude mcp add mona-ui -- npx -y @nanahoshi/mona-ui-mcp
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
Other clients run the command `npx` with the arguments `-y @nanahoshi/mona-ui-mcp`. The server's [README](https://github.com/nanahoshi-dev/mona-ui/tree/main/projects/mona-ui-mcp#readme) shows the setup for each client, and the tools it offers.
|
|
188
|
+
|
|
181
189
|
## Next Steps
|
|
182
190
|
|
|
183
191
|
- [Theming](theming.md): choose a theme, and match it to your brand.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"essentials":"Mona UI is an Angular component library styled with Tailwind CSS 4. Its components are standalone and signal based: inputs are `input()` and `model()`, events are `output()`.\n\n## Essentials\n\n- Install with `npm install @nanahoshi/mona-ui`. The application needs Tailwind CSS 4.\n- Import the styles in the main stylesheet, after Tailwind: `@import \"tailwindcss\";` then `@import \"@nanahoshi/mona-ui/styles.css\";`. Without it, components render unstyled.\n- Import every symbol from its entry point, such as `import { ButtonDirective } from \"@nanahoshi/mona-ui/button\";`. Each page below names its entry point. The root `@nanahoshi/mona-ui` exports nothing.\n- Add what you import to the standalone component's `imports` array. There are no NgModules.\n- No provider is required. Optional ones: `provideThemeOptions` (`@nanahoshi/mona-ui/theme`) to pick a theme, `provideMonaI18n` (`@nanahoshi/mona-ui/i18n`) for locale and messages, `provideNotificationDefaults` (`@nanahoshi/mona-ui/notification`) and `provideSidebarStorage` (`@nanahoshi/mona-ui/sidebar`).\n- Form controls implement `FormValueControl` from `@angular/forms/signals`: bind them with `[formField]`. They have no `ControlValueAccessor`, but `[(ngModel)]` and `[formControl]` still work, because Angular binds a control's `value` and `touch` directly.\n\n## Common mistakes\n\n- Importing from `@nanahoshi/mona-ui` instead of an entry point such as `@nanahoshi/mona-ui/grid`.\n- Leaving out `@nanahoshi/mona-ui/styles.css`, or importing it before Tailwind.\n- Treating a `placeholder` as a label. Give each control a name: a `<label for>` pointed at its input id, `aria-label` or `aria-labelledby`. Those two are inputs on every component that takes a name, and the component moves them to the element that has the role.\n- Expecting the grid, list box or tabs to change their data. They report the change through an event, and you write it back to the data you bound.\n- Putting `[disabled]` on a `monaTooltip` that sits on a button: it disables the button too. Use `[tooltipDisabled]`.\n- Using the rich text editor without its packages and styles. Mona UI doesn't install them: add `@tiptap/core`, `@tiptap/pm`, `@tiptap/starter-kit`, `@tiptap/extension-highlight`, `@tiptap/extension-image`, `@tiptap/extension-list`, `@tiptap/extension-subscript`, `@tiptap/extension-superscript`, `@tiptap/extension-table`, `@tiptap/extension-text-align`, `@tiptap/extension-text-style`, `remixicon` and `@tailwindcss/typography`, then `@import \"remixicon/fonts/remixicon.css\";` and `@plugin \"@tailwindcss/typography\";` to the global stylesheet.\n- Exporting a chart without its packages. `exportChart` and `downloadChart` need `jspdf`, `svg2pdf.js` and `html2canvas-pro`, which Mona UI doesn't install.","pages":[{"category":"Get Started","description":"What Mona UI is, what it includes and how it is built.","file":"docs/introduction.md","kind":"guide","path":"introduction","slug":"introduction","title":"Introduction"},{"category":"Get Started","description":"Install the package, set up its styles and choose a theme.","file":"docs/installation.md","kind":"guide","path":"installation","slug":"installation","title":"Installation"},{"category":"Get Started","description":"Choose and switch themes, follow the system's dark mode, and use theme tokens in your own styles.","entryPoint":"theme","file":"docs/theming.md","kind":"guide","path":"theming","slug":"theming","title":"Theming"},{"category":"Get Started","description":"Mona, Luna and Anna side by side, and when to use each one.","file":"docs/theming-built-in-themes.md","kind":"guide","path":"theming/built-in-themes","slug":"theming-built-in-themes","title":"Built-in Themes"},{"category":"Get Started","description":"Generate a palette from brand colors, override tokens, or let users choose a color.","file":"docs/theming-custom-colors.md","kind":"guide","path":"theming/custom-colors","slug":"theming-custom-colors","title":"Custom Colors"},{"category":"Get Started","description":"Register a theme of your own, from scratch or based on a built-in theme.","file":"docs/theming-custom-themes.md","kind":"guide","path":"theming/custom-themes","slug":"theming-custom-themes","title":"Custom Themes"},{"category":"Get Started","description":"Connect Mona UI controls to Angular signal forms.","file":"docs/forms.md","kind":"guide","path":"forms","slug":"forms","title":"Forms"},{"category":"Actions","description":"Styles a native button and adds loading, toggle and disabled behavior.","entryPoint":"button","file":"docs/button.md","kind":"component","path":"button","slug":"button","title":"Button"},{"category":"Actions","description":"Joins related buttons into one control with a shared look and size.","entryPoint":"button-group","file":"docs/button-group.md","kind":"component","path":"button-group","slug":"button-group","title":"Button Group"},{"category":"Actions","description":"A single button that opens a menu of actions.","entryPoint":"dropdown-button","file":"docs/dropdown-button.md","kind":"component","path":"dropdown-button","slug":"dropdown-button","title":"Dropdown Button"},{"category":"Actions","description":"A primary action button paired with a menu of secondary actions.","entryPoint":"split-button","file":"docs/split-button.md","kind":"component","path":"split-button","slug":"split-button","title":"Split Button"},{"category":"Actions","description":"A row of controls that is one Tab stop, moving what doesn't fit into a More menu.","entryPoint":"toolbar","file":"docs/toolbar.md","kind":"component","path":"toolbar","slug":"toolbar","title":"Toolbar"},{"category":"Form Fields","description":"A numeric input whose value is a decimal string, for exact values like money.","entryPoint":"numeric-text-box","file":"docs/decimal-textbox.md","kind":"component","path":"decimal-textbox","slug":"decimal-textbox","title":"Decimal Text Box"},{"category":"Form Fields","description":"A rich text editor with a configurable toolbar and an HTML value.","entryPoint":"editor","file":"docs/editor.md","kind":"component","path":"editor","slug":"editor","title":"Editor"},{"category":"Form Fields","description":"Groups related form controls under a labelled border.","entryPoint":"fieldset","file":"docs/fieldset.md","kind":"component","path":"fieldset","slug":"fieldset","title":"Fieldset"},{"category":"Form Fields","description":"Picks files from a drop zone or the file dialog, checks them, and uploads them with progress.","entryPoint":"file-upload","file":"docs/file-upload.md","kind":"component","path":"file-upload","slug":"file-upload","title":"File Upload"},{"category":"Form Fields","description":"Labels one form control, describes it with a hint and shows its validation errors.","entryPoint":"form-field","file":"docs/form-field.md","kind":"component","path":"form-field","slug":"form-field","title":"Form Field"},{"category":"Form Fields","description":"Styles a native input element and keeps its browser behavior.","entryPoint":"text-box","file":"docs/input.md","kind":"component","path":"input","slug":"input","title":"Input"},{"category":"Form Fields","description":"Styled, accessible labels associated with form controls.","entryPoint":"label","file":"docs/label.md","kind":"component","path":"label","slug":"label","title":"Label"},{"category":"Form Fields","description":"A text input for values in a fixed format, such as phone numbers, that fills in the format as you type.","entryPoint":"masked-text-box","file":"docs/masked-textbox.md","kind":"component","path":"masked-textbox","slug":"masked-textbox","title":"Masked Text Box"},{"category":"Form Fields","description":"A number input with spinner buttons, bounds and decimal formatting.","entryPoint":"numeric-text-box","file":"docs/numeric-textbox.md","kind":"component","path":"numeric-textbox","slug":"numeric-textbox","title":"Numeric Text Box"},{"category":"Form Fields","description":"A segmented input for one-time passwords and verification codes.","entryPoint":"otp-input","file":"docs/otp-input.md","kind":"component","path":"otp-input","slug":"otp-input","title":"OTP Input"},{"category":"Form Fields","description":"Styles a native textarea element and keeps its browser behavior.","entryPoint":"text-area","file":"docs/textarea.md","kind":"component","path":"textarea","slug":"textarea","title":"Text Area"},{"category":"Form Fields","description":"A text input with prefix and suffix slots and an optional clear button.","entryPoint":"text-box","file":"docs/textbox.md","kind":"component","path":"textbox","slug":"textbox","title":"Text Box"},{"category":"Selection","description":"A text input that suggests matching options as the user types.","entryPoint":"auto-complete","file":"docs/auto-complete.md","kind":"component","path":"auto-complete","slug":"auto-complete","title":"Auto Complete"},{"category":"Selection","description":"A checkbox with label handling and an indeterminate state.","entryPoint":"check-box","file":"docs/checkbox.md","kind":"component","path":"checkbox","slug":"checkbox","title":"Checkbox"},{"category":"Selection","description":"A text input that resolves typed text to one item from a collection.","entryPoint":"combo-box","file":"docs/combo-box.md","kind":"component","path":"combo-box","slug":"combo-box","title":"Combo Box"},{"category":"Selection","description":"A closed control that opens a list for choosing exactly one option.","entryPoint":"dropdown-list","file":"docs/dropdown-list.md","kind":"component","path":"dropdown-list","slug":"dropdown-list","title":"Dropdown List"},{"category":"Selection","description":"A closed control that opens a tree for choosing one item from a hierarchy.","entryPoint":"dropdown-tree","file":"docs/dropdown-tree.md","kind":"component","path":"dropdown-tree","slug":"dropdown-tree","title":"Dropdown Tree"},{"category":"Selection","description":"A control that shows selected options as removable tags.","entryPoint":"multi-select","file":"docs/multi-select.md","kind":"component","path":"multi-select","slug":"multi-select","title":"Multi Select"},{"category":"Selection","description":"A control that opens a tree with checkboxes and shows the checked items as removable tags.","entryPoint":"multi-select-tree","file":"docs/multi-select-tree.md","kind":"component","path":"multi-select-tree","slug":"multi-select-tree","title":"Multi Select Tree"},{"category":"Selection","description":"Radio buttons and groups for choosing one option from several.","entryPoint":"radio-button","file":"docs/radio-button.md","kind":"component","path":"radio-button","slug":"radio-button","title":"Radio Button"},{"category":"Selection","description":"A two-handle slider for selecting a numeric interval.","entryPoint":"slider","file":"docs/range-slider.md","kind":"component","path":"range-slider","slug":"range-slider","title":"Range Slider"},{"category":"Selection","description":"Choose a value from a visual scale of icons, in whole or half steps.","entryPoint":"rating","file":"docs/rating.md","kind":"component","path":"rating","slug":"rating","title":"Rating"},{"category":"Selection","description":"A compact set of mutually exclusive options.","entryPoint":"segmented","file":"docs/segmented.md","kind":"component","path":"segmented","slug":"segmented","title":"Segmented"},{"category":"Selection","description":"A single-handle slider for selecting a numeric value.","entryPoint":"slider","file":"docs/slider.md","kind":"component","path":"slider","slug":"slider","title":"Slider"},{"category":"Selection","description":"A binary on and off toggle with optional state labels.","entryPoint":"switch","file":"docs/switch.md","kind":"component","path":"switch","slug":"switch","title":"Switch"},{"category":"Date, Time & Color","description":"Date selection in single, multiple and range modes across month, year and decade views.","entryPoint":"calendar","file":"docs/calendar.md","kind":"component","path":"calendar","slug":"calendar","title":"Calendar"},{"category":"Date, Time & Color","description":"A color editor for saturation, value, hue and alpha.","entryPoint":"color-gradient","file":"docs/color-gradient.md","kind":"component","path":"color-gradient","slug":"color-gradient","title":"Color Gradient"},{"category":"Date, Time & Color","description":"A grid of selectable color swatches from a built-in or custom scheme.","entryPoint":"color-palette","file":"docs/color-palette.md","kind":"component","path":"color-palette","slug":"color-palette","title":"Color Palette"},{"category":"Date, Time & Color","description":"A compact control that opens a color palette or gradient editor.","entryPoint":"color-picker","file":"docs/color-picker.md","kind":"component","path":"color-picker","slug":"color-picker","title":"Color Picker"},{"category":"Date, Time & Color","description":"A date input that opens a calendar popup.","entryPoint":"date-picker","file":"docs/date-picker.md","kind":"component","path":"date-picker","slug":"date-picker","title":"Date Picker"},{"category":"Date, Time & Color","description":"Two date inputs for a range of days, with a calendar popup that shows two months.","entryPoint":"date-range-picker","file":"docs/date-range-picker.md","kind":"component","path":"date-range-picker","slug":"date-range-picker","title":"Date Range Picker"},{"category":"Date, Time & Color","description":"An input for choosing a date and a time together.","entryPoint":"datetime-picker","file":"docs/datetime-picker.md","kind":"component","path":"datetime-picker","slug":"datetime-picker","title":"Date Time Picker"},{"category":"Date, Time & Color","description":"A time input that opens a time selector popup.","entryPoint":"time-picker","file":"docs/time-picker.md","kind":"component","path":"time-picker","slug":"time-picker","title":"Time Picker"},{"category":"Data","description":"Shows a person or entity as an image, text label or projected content, alone or stacked in a group.","entryPoint":"avatar","file":"docs/avatar.md","kind":"component","path":"avatar","slug":"avatar","title":"Avatar"},{"category":"Data","description":"A small filled or outlined label for a count or a status.","entryPoint":"badge","file":"docs/badge.md","kind":"component","path":"badge","slug":"badge","title":"Badge"},{"category":"Data","description":"A compact label that can be selected, removed or given a prefix.","entryPoint":"chip","file":"docs/chip.md","kind":"component","path":"chip","slug":"chip","title":"Chip"},{"category":"Data","description":"A board of columns that cards move between by dragging or with the keyboard, with column limits.","entryPoint":"kanban","file":"docs/kanban.md","kind":"component","path":"kanban","slug":"kanban","title":"Kanban"},{"category":"Data","description":"A selectable list with a toolbar for moving items and transferring them between lists.","entryPoint":"list-box","file":"docs/list-box.md","kind":"component","path":"list-box","slug":"list-box","title":"List Box"},{"category":"Data","description":"Renders a collection as a list, with optional selection, grouping and paging.","entryPoint":"list-view","file":"docs/list-view.md","kind":"component","path":"list-view","slug":"list-view","title":"List View"},{"category":"Data","description":"Pagination controls with page buttons, a page-size selector and a page-jump input.","entryPoint":"pager","file":"docs/pager.md","kind":"component","path":"pager","slug":"pager","title":"Pager"},{"category":"Data","description":"Encodes text or a URL as a scannable QR code, with logo overlays and PNG, SVG and PDF export.","entryPoint":"qr-code","file":"docs/qr-code.md","kind":"component","path":"qr-code","slug":"qr-code","title":"QR Code"},{"category":"Data","description":"Lets users reorder any list by dragging or with the keyboard, and move items between connected lists.","entryPoint":"sortable","file":"docs/sortable.md","kind":"component","path":"sortable","slug":"sortable","title":"Sortable"},{"category":"Data","description":"Hierarchical data as an expandable, keyboard-navigable tree.","entryPoint":"tree-view","file":"docs/tree-view.md","kind":"component","path":"tree-view","slug":"tree-view","title":"Tree View"},{"category":"Grid","description":"Tabular data in typed columns with paging, templates and a toolbar, extended by feature directives.","entryPoint":"grid","file":"docs/grid.md","kind":"component","path":"grid","slug":"grid","title":"Grid Overview"},{"category":"Grid","description":"Sort rows by column headers and filter them from a header menu or a filter row.","entryPoint":"grid","file":"docs/grid-sorting-filtering.md","kind":"component","path":"grid-sorting-filtering","slug":"grid-sorting-filtering","title":"Sorting & Filtering"},{"category":"Grid","description":"Group rows by column values and show sums, averages and other aggregates in footers.","entryPoint":"grid","file":"docs/grid-grouping.md","kind":"component","path":"grid-grouping","slug":"grid-grouping","title":"Grouping & Aggregates"},{"category":"Grid","description":"Show hierarchical rows in a grid, nested or linked by a parent key, with expandable levels.","entryPoint":"grid","file":"docs/grid-tree.md","kind":"component","path":"grid-tree","slug":"grid-tree","title":"Tree List"},{"category":"Grid","description":"Select rows by key with checkboxes, clicks and the keyboard, or a range of cells to copy and paste.","entryPoint":"grid","file":"docs/grid-selection.md","kind":"component","path":"grid-selection","slug":"grid-selection","title":"Selection"},{"category":"Grid","description":"Edit cells or rows inline with Signal Forms, and add, save, cancel and remove rows.","entryPoint":"grid","file":"docs/grid-editing.md","kind":"component","path":"grid-editing","slug":"grid-editing","title":"Editing"},{"category":"Grid","description":"Group, resize, reorder, lock and hide columns, by pointer, keyboard or the column chooser.","entryPoint":"grid","file":"docs/grid-columns.md","kind":"component","path":"grid-columns","slug":"grid-columns","title":"Columns"},{"category":"Grid","description":"Expandable detail rows, row reordering by drag or keyboard, row classes and row sizing.","entryPoint":"grid","file":"docs/grid-rows.md","kind":"component","path":"grid-rows","slug":"grid-rows","title":"Rows"},{"category":"Grid","description":"Load pages from a server, or render only the visible rows of a large data set.","entryPoint":"grid","file":"docs/grid-server.md","kind":"component","path":"grid-server","slug":"grid-server","title":"Server Binding & Virtualization"},{"category":"Grid","description":"Save and restore the grid's columns, sort, filter, groups and page size, and export rows as CSV, Excel or PDF.","entryPoint":"grid","file":"docs/grid-state-export.md","kind":"component","path":"grid-state-export","slug":"grid-state-export","title":"State & Export"},{"category":"Charts","description":"High-performance Canvas charts composed from series, axes and interaction parts.","entryPoint":"chart","file":"docs/chart.md","kind":"component","path":"chart","slug":"chart","title":"Chart Overview"},{"category":"Charts","description":"Line, area and range area series for values that change across a continuous or category axis.","entryPoint":"chart","file":"docs/chart-line-area.md","kind":"component","path":"chart-line-area","slug":"chart-line-area","title":"Line & Area"},{"category":"Charts","description":"Bar, range bar and waterfall series for comparing values, intervals and running totals.","entryPoint":"chart","file":"docs/chart-bar.md","kind":"component","path":"chart-bar","slug":"chart-bar","title":"Bar & Waterfall"},{"category":"Charts","description":"Scatter and bubble series for the relationship between two or three numeric values.","entryPoint":"chart","file":"docs/chart-scatter.md","kind":"component","path":"chart-scatter","slug":"chart-scatter","title":"Scatter & Bubble"},{"category":"Charts","description":"Candlestick and OHLC series for open, high, low and close prices.","entryPoint":"chart","file":"docs/chart-financial.md","kind":"component","path":"chart-financial","slug":"chart-financial","title":"Financial"},{"category":"Charts","description":"A heatmap series that colors a grid of cells by value, with a color legend.","entryPoint":"chart","file":"docs/chart-heatmap.md","kind":"component","path":"chart-heatmap","slug":"chart-heatmap","title":"Heatmap"},{"category":"Charts","description":"Pie and donut series for the parts of a whole, with slice labels and a donut center.","entryPoint":"chart","file":"docs/chart-pie.md","kind":"component","path":"chart-pie","slug":"chart-pie","title":"Pie & Donut"},{"category":"Charts","description":"A funnel series for stages that narrow, with conversion and drop-off between them.","entryPoint":"chart","file":"docs/chart-funnel.md","kind":"component","path":"chart-funnel","slug":"chart-funnel","title":"Funnel"},{"category":"Charts","description":"A treemap series that tiles hierarchical data by value.","entryPoint":"chart","file":"docs/chart-treemap.md","kind":"component","path":"chart-treemap","slug":"chart-treemap","title":"Treemap"},{"category":"Charts","description":"Radar and polar series on angular and radial axes, for comparing metrics or directions.","entryPoint":"chart","file":"docs/chart-radar.md","kind":"component","path":"chart-radar","slug":"chart-radar","title":"Radar & Polar"},{"category":"Charts","description":"Radial bar, rose and gauge series that draw values as arcs around a center.","entryPoint":"chart","file":"docs/chart-radial.md","kind":"component","path":"chart-radial","slug":"chart-radial","title":"Radial"},{"category":"Charts","description":"A word-sized line, area, column or win-loss chart, for a table cell or a line of text.","entryPoint":"sparkline","file":"docs/sparkline.md","kind":"component","path":"sparkline","slug":"sparkline","title":"Sparkline"},{"category":"Navigation","description":"A navigation trail showing where the current page sits in a hierarchy.","entryPoint":"breadcrumb","file":"docs/breadcrumb.md","kind":"component","path":"breadcrumb","slug":"breadcrumb","title":"Breadcrumb"},{"category":"Navigation","description":"A searchable list of actions or options, operated from one input, inline or in a dialog.","entryPoint":"command","file":"docs/command.md","kind":"component","path":"command","slug":"command","title":"Command Menu"},{"category":"Navigation","description":"A popup menu attached to an element, opened by right-click or keyboard.","entryPoint":"contextmenu","file":"docs/contextmenu.md","kind":"component","path":"contextmenu","slug":"contextmenu","title":"Context Menu"},{"category":"Navigation","description":"A persistent horizontal bar of top-level menus.","entryPoint":"menubar","file":"docs/menubar.md","kind":"component","path":"menubar","slug":"menubar","title":"Menubar"},{"category":"Navigation","description":"Opens a menu from an element you already have, such as an icon button or a row action.","entryPoint":"popup-menu","file":"docs/popup-menu.md","kind":"component","path":"popup-menu","slug":"popup-menu","title":"Popup Menu"},{"category":"Navigation","description":"A composable application shell with collapsible side panels.","entryPoint":"sidebar","file":"docs/sidebar.md","kind":"component","path":"sidebar","slug":"sidebar","title":"Sidebar"},{"category":"Navigation","description":"Groups, menus, rows, submenus, badges, actions and loading rows inside a sidebar.","entryPoint":"sidebar","file":"docs/sidebar-menus.md","kind":"component","path":"sidebar/menus","slug":"sidebar-menus","title":"Sidebar Menus"},{"category":"Navigation","description":"Collapsing, controlled and remembered state, the drawer on small screens, and reading a sidebar from code.","entryPoint":"sidebar","file":"docs/sidebar-state.md","kind":"component","path":"sidebar/state","slug":"sidebar-state","title":"Sidebar State & Behavior"},{"category":"Navigation","description":"Guides users through a sequential, multi-step process.","entryPoint":"stepper","file":"docs/stepper.md","kind":"component","path":"stepper","slug":"stepper","title":"Stepper"},{"category":"Navigation","description":"Switches between panels of related content.","entryPoint":"tabs","file":"docs/tabs.md","kind":"component","path":"tabs","slug":"tabs","title":"Tabs"},{"category":"Overlays","description":"Modal or non-modal messages, confirmations and content dialogs.","entryPoint":"dialog","file":"docs/dialog.md","kind":"component","path":"dialog","slug":"dialog","title":"Dialog"},{"category":"Overlays","description":"A floating panel anchored to a target and opened by a configurable trigger.","entryPoint":"popover","file":"docs/popover.md","kind":"component","path":"popover","slug":"popover","title":"Popover"},{"category":"Overlays","description":"Positions arbitrary content relative to an anchor, a point or the viewport.","entryPoint":"popup","file":"docs/popup.md","kind":"component","path":"popup","slug":"popup","title":"Popup"},{"category":"Overlays","description":"A modal panel attached to an edge of the viewport.","entryPoint":"sheet","file":"docs/sheet.md","kind":"component","path":"sheet","slug":"sheet","title":"Sheet"},{"category":"Overlays","description":"A floating tooltip with projected content, anchored to a separate target.","entryPoint":"tooltip","file":"docs/tooltip.md","kind":"component","path":"tooltip","slug":"tooltip","title":"Tooltip"},{"category":"Overlays","description":"Replaces a native title attribute with a styled tooltip.","entryPoint":"tooltip","file":"docs/tooltip-directive.md","kind":"component","path":"tooltip-directive","slug":"tooltip-directive","title":"Tooltip Directive"},{"category":"Overlays","description":"A draggable, resizable floating window that can be minimized and maximized.","entryPoint":"window","file":"docs/window.md","kind":"component","path":"window","slug":"window","title":"Window"},{"category":"Layout","description":"Groups related content and actions on one raised surface.","entryPoint":"card","file":"docs/card.md","kind":"component","path":"card","slug":"card","title":"Card"},{"category":"Layout","description":"A headless disclosure primitive for expandable regions.","entryPoint":"collapsible","file":"docs/collapsible.md","kind":"component","path":"collapsible","slug":"collapsible","title":"Collapsible"},{"category":"Layout","description":"A header that shows and hides its content, designed to stack with other panels.","entryPoint":"expansion-panel","file":"docs/expansion-panel.md","kind":"component","path":"expansion-panel","slug":"expansion-panel","title":"Expansion Panel"},{"category":"Layout","description":"A fixed-size carousel that pages through a collection one item at a time.","entryPoint":"scroll-view","file":"docs/scroll-view.md","kind":"component","path":"scroll-view","slug":"scroll-view","title":"Scroll View"},{"category":"Layout","description":"A thin line between groups of content, across or down, with an optional label.","entryPoint":"separator","file":"docs/separator.md","kind":"component","path":"separator","slug":"separator","title":"Separator"},{"category":"Layout","description":"Lays out panes in a row or column that can be resized and collapsed.","entryPoint":"splitter","file":"docs/splitter.md","kind":"component","path":"splitter","slug":"splitter","title":"Splitter"},{"category":"Feedback","description":"A message that stays on the page, tinted for what it means, with optional actions and dismissal.","entryPoint":"alert","file":"docs/alert.md","kind":"component","path":"alert","slug":"alert","title":"Alert"},{"category":"Feedback","description":"A circular progress indicator with an optional custom label.","entryPoint":"circular-progress-bar","file":"docs/circular-progress-bar.md","kind":"component","path":"circular-progress-bar","slug":"circular-progress-bar","title":"Circular Progress Bar"},{"category":"Feedback","description":"Transient toast notifications with optional auto-dismiss.","entryPoint":"notification","file":"docs/notification.md","kind":"component","path":"notification","slug":"notification","title":"Notification"},{"category":"Feedback","description":"Fills an empty area with a muted label or projected content.","entryPoint":"placeholder","file":"docs/placeholder.md","kind":"component","path":"placeholder","slug":"placeholder","title":"Placeholder"},{"category":"Feedback","description":"A horizontal progress indicator with determinate and indeterminate modes.","entryPoint":"progress-bar","file":"docs/progress-bar.md","kind":"component","path":"progress-bar","slug":"progress-bar","title":"Progress Bar"},{"category":"Feedback","description":"A decorative placeholder block for content that is still loading.","entryPoint":"skeleton","file":"docs/skeleton.md","kind":"component","path":"skeleton","slug":"skeleton","title":"Skeleton"},{"category":"Feedback","description":"An animated loading indicator and a service for loading overlays.","entryPoint":"spinner","file":"docs/spinner.md","kind":"component","path":"spinner","slug":"spinner","title":"Spinner"}],"schemaVersion":1,"version":"0.43.1"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanahoshi/mona-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.43.1",
|
|
4
4
|
"description": "A very light Angular UI framework",
|
|
5
5
|
"author": "Nanahoshi",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/nanahoshi-dev/mona-ui"
|
|
8
|
+
"url": "git+https://github.com/nanahoshi-dev/mona-ui.git"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
11
|
"./i18n/catalogs/*.json": "./i18n/catalogs/*.json",
|