@nanahoshi/mona-ui 0.41.0 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/docs/api/alert.json +1 -0
- package/docs/api/auto-complete.json +1 -0
- package/docs/api/auto-complete.md +2 -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/combo-box.md +2 -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/dropdowns.md +3 -1
- 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/i18n.md +20 -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/locales.md +14 -14
- 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/sparkline.md +85 -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/auto-complete.md +64 -0
- package/docs/combo-box.md +65 -0
- package/docs/installation.md +8 -0
- package/docs/manifest.json +1 -0
- package/docs/sparkline.md +303 -0
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +95 -30
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +58 -5
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +64 -29
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +39 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +25 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +25 -0
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-sparkline.mjs +573 -0
- package/i18n/catalogs/en-US.messages.json +5 -0
- package/llms.txt +3 -1
- package/locales/ar-sa/ar-sa.messages.json +5 -0
- package/locales/de-de/de-de.messages.json +5 -0
- package/locales/es-es/es-es.messages.json +5 -0
- package/locales/fr-fr/fr-fr.messages.json +5 -0
- package/locales/id-id/id-id.messages.json +5 -0
- package/locales/it-it/it-it.messages.json +5 -0
- package/locales/ja-jp/ja-jp.messages.json +5 -0
- package/locales/ko-kr/ko-kr.messages.json +5 -0
- package/locales/pl-pl/pl-pl.messages.json +5 -0
- package/locales/pt-br/pt-br.messages.json +5 -0
- package/locales/ru-ru/ru-ru.messages.json +5 -0
- package/locales/tr-tr/tr-tr.messages.json +5 -0
- package/locales/zh-cn/zh-cn.messages.json +5 -0
- package/locales/zh-tw/zh-tw.messages.json +5 -0
- package/package.json +5 -1
- package/sparkline/package.json +4 -0
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +42 -1
- package/types/nanahoshi-mona-ui-combo-box.d.ts +37 -1
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +54 -4
- package/types/nanahoshi-mona-ui-i18n.d.ts +12 -0
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +5 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +5 -0
- package/types/nanahoshi-mona-ui-sparkline.d.ts +228 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"ArrayFilterDescriptor":"query","ArrayFilterOperators":"query","BooleanFilterDescriptor":"query","BooleanFilterOperators":"query","Column":"grid","CommonFilterDescriptor":"query","CommonFilterOperators":"query","CompositeFilterDescriptor":"query","DateFilterDescriptor":"query","DateFilterOperators":"query","EmptyFilterDescriptor":"query","EmptyFilterOperators":"query","FieldDefinition":"query","FilterDescriptor":"query","FilterDescriptorBuildArgs":"filter","FilterLogic":"query","FilterMenuComponent":"filter","FilterMenuDataItem":"filter","FilterMenuValue":"filter","FilterOperators":"query","FilterService":"filter","FunctionFilterDescriptor":"query","FunctionFilterOperators":"query","GridDataState":"grid","GridFilterableDirective":"grid","GridSortableDirective":"grid","GridStateCompositeFilterDescriptor":"grid","GridStateFilterDescriptor":"grid","GridStateSortDescriptor":"grid","GroupDescriptor":"grid","NullFilterDescriptor":"query","NullFilterOperators":"query","NullOrEmptyFilterDescriptor":"query","NullOrEmptyFilterOperators":"query","NumericFilterDescriptor":"query","NumericFilterOperators":"query","Query":"query","QueryOptions":"query","RangeFilterBound":"query","RangeFilterDescriptor":"query","RangeFilterOperators":"query","SortDescriptor":"query","SortDirection":"query","StringFilterDescriptor":"query","StringFilterOperators":"query","compareValues":"query"},"name":"query","pages":[],"symbols":[{"description":"","kind":"class","name":"Query","typeParameters":["T"],"inputs":[],"methods":[{"description":"","name":"[Symbol.iterator]","signature":"[Symbol.iterator](): Iterator<T>"},{"description":"","name":"filter","signature":"filter<R>(filter: FilterDescriptor | CompositeFilterDescriptor, fieldSelector?: Selector<T, R>): IQuery<T>"},{"description":"Starts a query over the given items.","name":"from","signature":"from<T>(iterable: Iterable<T>, options: QueryOptions = {}): IQuery<T>"},{"description":"","name":"run","signature":"run(): T[]"},{"description":"","name":"sort","signature":"sort<R>(descriptor: readonly SortDescriptor[], fieldSelector?: Selector<T, R>): IQuery<T>"}],"outputs":[],"properties":[]},{"description":"Compares two field values with one total order, so sorts, group orders and min/max agree:\n- empty values come first and are equal to each other: null, undefined, NaN, invalid dates, and values\n with no natural order (objects, arrays, symbols, functions);\n- then booleans, numbers and bigints (by value), dates (`Date` or luxon `DateTime`, by time),\n and strings (by the locale, with digits compared by value: \"item 2\" before \"item 10\").","kind":"function","name":"compareValues","signature":"function compareValues(left: unknown, right: unknown, options?: QueryOptions): number;"},{"description":"","extends":[],"kind":"interface","methods":[{"description":"Compares two values of `field` (not two rows). Return a negative number when `left` comes first\nin ascending order; `dir: \"desc\"` reverses the result. Empty values are passed in as they are.","name":"sort","signature":"sort(left: TValue, right: TValue): number"}],"name":"SortDescriptor","properties":[{"description":"","name":"dir","type":"SortDirection"},{"description":"","name":"field","type":"string"}],"typeParameters":["TValue = unknown"],"usedBy":["GridDataState","GridSortableDirective","Query"]},{"description":"An empty `filters` list matches every item, whatever the logic.","extends":[],"kind":"interface","methods":[],"name":"CompositeFilterDescriptor","properties":[{"description":"","name":"filters","type":"Array<FilterDescriptor | CompositeFilterDescriptor>"},{"description":"","name":"logic","type":"FilterLogic"}],"usedBy":["FilterMenuComponent","FilterService","GridDataState","GridFilterableDirective","Query"]},{"description":"Options shared by sorting and filtering.","extends":[],"kind":"interface","methods":[],"name":"QueryOptions","properties":[{"description":"BCP 47 locale used to compare and lowercase strings. Defaults to the runtime's locale.","name":"locale","optional":true,"readonly":true,"type":"string"}],"usedBy":["compareValues","Query"]},{"description":"","kind":"type","name":"ArrayFilterDescriptor","signature":"type ArrayFilterDescriptor = FieldDefinition & { operator: ArrayFilterOperators; value: readonly unknown[] };","usedBy":["FilterDescriptor"]},{"description":"","kind":"type","name":"ArrayFilterOperators","signature":"type ArrayFilterOperators = \"in\" | \"notin\";","usedBy":["ArrayFilterDescriptor","FilterOperators"]},{"description":"","kind":"type","name":"BooleanFilterDescriptor","signature":"type BooleanFilterDescriptor = FieldDefinition & ({ operator: BooleanFilterOperators } | NullFilterDescriptor);","usedBy":["FilterDescriptor","FilterService"]},{"description":"","kind":"type","name":"BooleanFilterOperators","signature":"type BooleanFilterOperators = \"istrue\" | \"isfalse\" | NullFilterOperators;","usedBy":["BooleanFilterDescriptor","FilterOperators","FilterService"]},{"description":"","kind":"type","name":"CommonFilterDescriptor","signature":"type CommonFilterDescriptor = FieldDefinition & { operator: CommonFilterOperators; value: unknown };","usedBy":["FilterDescriptor"]},{"description":"","kind":"type","name":"CommonFilterOperators","signature":"type CommonFilterOperators = \"eq\" | \"neq\";","usedBy":["CommonFilterDescriptor","FilterOperators","NumericFilterOperators","StringFilterOperators"]},{"description":"","kind":"type","name":"DateFilterDescriptor","signature":"type DateFilterDescriptor = FieldDefinition & ( | { operator: DateFilterOperators; value: Date; } | NullFilterDescriptor );","usedBy":["FilterDescriptor","FilterService"]},{"description":"","kind":"type","name":"DateFilterOperators","signature":"type DateFilterOperators = NumericFilterOperators | NullFilterOperators;","usedBy":["DateFilterDescriptor","FilterOperators","FilterService"]},{"description":"","kind":"type","name":"EmptyFilterDescriptor","signature":"type EmptyFilterDescriptor = FieldDefinition & { operator: EmptyFilterOperators };","usedBy":["FilterDescriptor","StringFilterDescriptor"]},{"description":"","kind":"type","name":"EmptyFilterOperators","signature":"type EmptyFilterOperators = \"isempty\" | \"isnotempty\";","usedBy":["EmptyFilterDescriptor","FilterOperators","StringFilterOperators"]},{"description":"","kind":"type","name":"FieldDefinition","signature":"type FieldDefinition = { field: string };","usedBy":["ArrayFilterDescriptor","BooleanFilterDescriptor","CommonFilterDescriptor","DateFilterDescriptor","EmptyFilterDescriptor","FunctionFilterDescriptor","NullFilterDescriptor","NullOrEmptyFilterDescriptor","NumericFilterDescriptor","RangeFilterDescriptor","StringFilterDescriptor"]},{"description":"","kind":"type","name":"FilterDescriptor","signature":"type FilterDescriptor = | CommonFilterDescriptor | BooleanFilterDescriptor | NumericFilterDescriptor | StringFilterDescriptor | DateFilterDescriptor | NullFilterDescriptor | EmptyFilterDescriptor | NullOrEmptyFilterDescriptor | ArrayFilterDescriptor | RangeFilterDescriptor | FunctionFilterDescriptor;","usedBy":["CompositeFilterDescriptor","Query"]},{"description":"","kind":"type","name":"FilterLogic","signature":"type FilterLogic = \"and\" | \"or\";","usedBy":["CompositeFilterDescriptor","FilterDescriptorBuildArgs","GridStateCompositeFilterDescriptor"]},{"description":"","kind":"type","name":"FilterOperators","signature":"type FilterOperators = | CommonFilterOperators | BooleanFilterOperators | NumericFilterOperators | StringFilterOperators | DateFilterOperators | NullFilterOperators | EmptyFilterOperators | NullOrEmptyFilterOperators | ArrayFilterOperators | RangeFilterOperators | FunctionFilterOperators;","usedBy":["FilterDescriptorBuildArgs","FilterMenuComponent","FilterMenuDataItem","FilterMenuValue","GridStateFilterDescriptor"]},{"description":"","kind":"type","name":"FunctionFilterDescriptor","signature":"type FunctionFilterDescriptor = FieldDefinition & { operator: FunctionFilterOperators; predicate(value: unknown): boolean; };","usedBy":["FilterDescriptor"]},{"description":"","kind":"type","name":"FunctionFilterOperators","signature":"type FunctionFilterOperators = \"function\";","usedBy":["FilterOperators","FunctionFilterDescriptor"]},{"description":"","kind":"type","name":"NullFilterDescriptor","signature":"type NullFilterDescriptor = FieldDefinition & { operator: NullFilterOperators };","usedBy":["BooleanFilterDescriptor","DateFilterDescriptor","FilterDescriptor","NumericFilterDescriptor","StringFilterDescriptor"]},{"description":"","kind":"type","name":"NullFilterOperators","signature":"type NullFilterOperators = \"isnull\" | \"isnotnull\";","usedBy":["BooleanFilterOperators","DateFilterOperators","FilterOperators","NullFilterDescriptor","NumericFilterOperators","StringFilterOperators"]},{"description":"","kind":"type","name":"NullOrEmptyFilterDescriptor","signature":"type NullOrEmptyFilterDescriptor = FieldDefinition & { operator: NullOrEmptyFilterOperators };","usedBy":["FilterDescriptor","StringFilterDescriptor"]},{"description":"","kind":"type","name":"NullOrEmptyFilterOperators","signature":"type NullOrEmptyFilterOperators = \"isnullorempty\" | \"isnotnullorempty\";","usedBy":["FilterOperators","NullOrEmptyFilterDescriptor","StringFilterOperators"]},{"description":"","kind":"type","name":"NumericFilterDescriptor","signature":"type NumericFilterDescriptor = FieldDefinition & ( | { operator: NumericFilterOperators; value: number; } | NullFilterDescriptor );","usedBy":["FilterDescriptor","FilterService"]},{"description":"","kind":"type","name":"NumericFilterOperators","signature":"type NumericFilterOperators = CommonFilterOperators | \"gt\" | \"gte\" | \"lt\" | \"lte\" | NullFilterOperators;","usedBy":["DateFilterOperators","FilterOperators","FilterService","NumericFilterDescriptor"]},{"description":"A bound of a range filter. `null` leaves that end open.","kind":"type","name":"RangeFilterBound","signature":"type RangeFilterBound = number | Date | string | null;","usedBy":["RangeFilterDescriptor"]},{"description":"`between` and `notbetween` include both bounds.","kind":"type","name":"RangeFilterDescriptor","signature":"type RangeFilterDescriptor = FieldDefinition & { operator: RangeFilterOperators; value: readonly [from: RangeFilterBound, to: RangeFilterBound]; };","usedBy":["FilterDescriptor"]},{"description":"","kind":"type","name":"RangeFilterOperators","signature":"type RangeFilterOperators = \"between\" | \"notbetween\";","usedBy":["FilterOperators","RangeFilterDescriptor"]},{"description":"","kind":"type","name":"SortDirection","signature":"type SortDirection = \"asc\" | \"desc\";","usedBy":["Column","GridStateSortDescriptor","GroupDescriptor","SortDescriptor"]},{"description":"","kind":"type","name":"StringFilterDescriptor","signature":"type StringFilterDescriptor = FieldDefinition & ( | { operator: StringFilterOperators; value: string; } | NullFilterDescriptor | EmptyFilterDescriptor | NullOrEmptyFilterDescriptor );","usedBy":["FilterDescriptor","FilterService"]},{"description":"","kind":"type","name":"StringFilterOperators","signature":"type StringFilterOperators = | CommonFilterOperators | \"startswith\" | \"endswith\" | \"contains\" | \"doesnotcontain\" | NullFilterOperators | EmptyFilterOperators | NullOrEmptyFilterOperators;","usedBy":["FilterOperators","FilterService","StringFilterDescriptor"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"RadioButtonComponent":"radio-button","RadioButtonDirective":"radio-button","RadioButtonDirectiveProps":"radio-button","RadioGroupComponent":"radio-button"},"name":"radio-button","pages":[{"path":"radio-button","title":"Radio Button"}],"symbols":[{"description":"","implements":["FormValueControl<T>"],"kind":"component","name":"RadioButtonComponent","selector":"mona-radio-button","typeParameters":["T = unknown"],"inputs":[{"alias":"aria-describedby","defaultValue":"\"\"","description":"Id of an element that describes the radio button, such as an error message.","name":"ariaDescribedBy","type":"string"},{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name of the radio button when it has no visible label.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"Id of the element that labels the radio button.","name":"ariaLabelledBy","type":"string"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the label container element via `tailwind-merge`.","name":"userClass","type":"string"},{"defaultValue":"false","description":"Sets the disabled state of the radio button.","name":"disabled","type":"boolean"},{"defaultValue":"generated","description":"Id of the native radio input. Point a `<label for>` at it to label the radio button from outside.\nA unique id is generated when it isn't set.","name":"inputId","type":"string"},{"defaultValue":"false","description":"Marks the radio button as invalid. When bound to a signal form field via `[formField]`, this is\nwritten by the `FormField` directive.","name":"invalid","type":"boolean"},{"defaultValue":"\"\"","description":"Text label displayed alongside the radio button.\nWhen provided, takes precedence over projected content.\nWhen empty, projected content inside `<mona-radio-button>` is used.\nWhen both are absent, name the radio button with `aria-label` or `aria-labelledby`.","name":"label","type":"string"},{"defaultValue":"\"after\"","description":"Position of the label relative to the radio button circle.","name":"labelPosition","type":"\"before\" | \"after\""},{"defaultValue":"\"medium\"","description":"Font size applied to the label text.","name":"labelSize","type":"\"large\" | \"medium\" | \"small\""},{"defaultValue":"\"\"","description":"HTML `name` attribute forwarded to the native input.\nRadio buttons that share the same `name` form a mutually exclusive group in the browser.","name":"name","type":"string"},{"defaultValue":"undefined","description":"The identity value of this radio button within a group.\nCompared against `value()` to determine whether this button is selected.\nWhen this button is chosen, its `radioValue` is written to the form as the new group value.\nA radio button without one can't be selected.","name":"radioValue","type":"T"},{"defaultValue":"false","description":"Prevents value changes while the control stays focusable and readable. When bound to a signal form\nfield via `[formField]`, this is written by the `FormField` directive.","name":"readonly","type":"boolean"},{"defaultValue":"false","description":"Marks the radio button as required, as the native `required` attribute. When bound to a signal form\nfield via `[formField]`, this is written by the `FormField` directive.","name":"required","type":"boolean"},{"defaultValue":"\"full\"","description":"Sets the border radius of the radio button circle and indicator.","name":"rounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"false","description":"Marks the radio button as touched. Error styling requires both `invalid` and `touched` to be `true`.\nWhen bound to a signal form field via `[formField]`, this is written by the `FormField` directive.","name":"touched","type":"boolean"},{"defaultValue":"undefined","description":"The currently selected value of a group of radio buttons that aren't in a `mona-radio-group`. When\nbound to a signal form field via `[formField]`, the `FormField` directive keeps it in sync.","name":"value","twoWay":true,"type":"T"}],"methods":[{"description":"Moves focus to the native radio input.","name":"focus","signature":"focus(options?: FocusOptions): void"}],"outputs":[{"description":"Emits when the input loses focus.","name":"inputBlur","type":"FocusEvent"},{"description":"Emits when the input is clicked.","name":"inputClick","type":"MouseEvent"},{"description":"Emits when the input receives focus.","name":"inputFocus","type":"FocusEvent"},{"description":"Emits when the radio button loses focus or is selected.","name":"touch","type":"void"}],"properties":[],"page":{"path":"radio-button","title":"Radio Button"}},{"description":"","implements":["FormValueControl<T>"],"kind":"component","name":"RadioGroupComponent","selector":"mona-radio-group","typeParameters":["T = unknown"],"inputs":[{"alias":"aria-describedby","defaultValue":"\"\"","description":"Id of an element that describes the group, such as an error message.","name":"ariaDescribedBy","type":"string"},{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name of the group. A group needs a name from this, `aria-labelledby` or a `mona-label`.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"Id of the element that labels the group.","name":"ariaLabelledBy","type":"string"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the group via `tailwind-merge`.","name":"userClass","type":"string"},{"defaultValue":"false","description":"Disables every radio button in the group. When bound to a signal form field via `[formField]`, this\nis written by the `FormField` directive.","name":"disabled","type":"boolean"},{"defaultValue":"false","description":"Marks the group as invalid. It shows once `touched` is also true. When bound to a signal form field\nvia `[formField]`, this is written by the `FormField` directive.","name":"invalid","type":"boolean"},{"defaultValue":"\"\"","description":"The native `name` shared by the radio buttons in the group. A unique name is generated when it isn't\nset. When bound to a signal form field via `[formField]`, this is written by the `FormField` directive.","name":"name","type":"string"},{"defaultValue":"\"vertical\"","description":"The direction the radio buttons are laid out and announced in.","name":"orientation","type":"\"horizontal\" | \"vertical\""},{"defaultValue":"false","description":"Prevents value changes while the radio buttons stay focusable and readable. When bound to a signal\nform field via `[formField]`, this is written by the `FormField` directive.","name":"readonly","type":"boolean"},{"defaultValue":"false","description":"Marks the group as required. When bound to a signal form field via `[formField]`, this is written by\nthe `FormField` directive.","name":"required","type":"boolean"},{"defaultValue":"false","description":"Marks the group as touched. Error styling needs both `invalid` and `touched`. When bound to a signal\nform field via `[formField]`, this is written by the `FormField` directive.","name":"touched","type":"boolean"},{"defaultValue":"undefined","description":"The `radioValue` of the selected radio button.","name":"value","twoWay":true,"type":"T"}],"methods":[{"description":"Moves focus to the selected radio button, or the first enabled one.","name":"focus","signature":"focus(options?: FocusOptions): void"}],"outputs":[{"description":"Emits when a radio button is selected and when focus leaves the group.","name":"touch","type":"void"}],"properties":[],"page":{"path":"radio-button","title":"Radio Button"}},{"description":"","kind":"directive","name":"RadioButtonDirective","selector":"input[type='radio'][monaRadioButton]","inputs":[{"defaultValue":"false","description":"Marks the radio button as invalid, triggering error border and ring styling.","name":"invalid","type":"boolean"},{"defaultValue":"\"full\"","description":"Sets the border radius of the radio button.","name":"rounded","type":"RadioButtonDirectiveProps[\"rounded\"]"},{"defaultValue":"false","description":"Marks the radio button as touched. Error styling is only shown when both `invalid` and `touched` are `true`.","name":"touched","type":"boolean"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"radio-button","title":"Radio Button"}},{"description":"","kind":"type","name":"RadioButtonDirectiveProps","signature":"type RadioButtonDirectiveProps = VariantProps<typeof radioButtonDirectiveThemeVariants>;","page":{"path":"radio-button","title":"Radio Button"},"usedBy":["RadioButtonDirective"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"MonaRatingMessages":"i18n","RATING_DEFAULT_MESSAGES":"rating","RatingComponent":"rating","RatingHoveredItemTemplateDirective":"rating","RatingIconName":"rating","RatingItemTemplateContext":"rating","RatingItemTemplateDirective":"rating","RatingLabelPosition":"rating","RatingPrecision":"rating","RatingSelectedItemTemplateDirective":"rating","RatingSelectionMode":"rating"},"name":"rating","pages":[{"path":"rating","title":"Rating"}],"symbols":[{"description":"","implements":["FormValueControl<number>"],"kind":"component","name":"RatingComponent","selector":"mona-rating","inputs":[{"alias":"aria-describedby","defaultValue":"null","description":"Associates help text or an error description with the focusable rating control.","name":"ariaDescribedBy","type":"string | null"},{"alias":"aria-label","defaultValue":"null","description":"Explicit accessible name for the rating control. Provide `aria-label`,\n`aria-labelledby`, or `label` so assistive technology can announce the control.","name":"ariaLabel","type":"string | null"},{"alias":"aria-labelledby","defaultValue":"null","description":"IDs of external elements providing the accessible name for the rating control.","name":"ariaLabelledBy","type":"string | null"},{"defaultValue":"null","description":"Custom screen-reader value announcement. Receives the normalized value and the\nitem count and returns the string to expose through `aria-valuetext`.","name":"ariaValueText","type":"((value: number, maximum: number) => string) | null"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"string"},{"defaultValue":"false","description":"Lets a click on the current value clear the rating, so pointer and touch users can undo one. The\nkeyboard can always clear it with Home.","name":"clearable","type":"boolean"},{"defaultValue":"undefined","description":"CSS color for selected and hovered rating visuals. Empty, `null`, and `undefined` values use the\nprimary theme color.","name":"color","type":"string | null"},{"defaultValue":"false","description":"Disables pointer and keyboard interaction and removes the control from the tab\nsequence. When bound to a signal form field via `[formField]`, this is written by the signal\nforms `Field` directive.","name":"disabled","type":"boolean"},{"defaultValue":"\"star\"","description":"Built-in icon used for the default rating visuals. Choose `star`, `heart`,\n`circle`, `diamond`, or `flame`; use item templates to supply a custom icon.","name":"icon","type":"RatingIconName"},{"defaultValue":"false","description":"Marks the component as invalid. Error styling requires both `invalid` and\n`touched` to be `true`. When bound to a signal form field via `[formField]`, this is written\nby the signal forms `Field` directive.","name":"invalid","type":"boolean"},{"defaultValue":"5","description":"Number of rating items. Fractional values are floored and values below one are\nraised to one.","name":"itemsCount","type":"number"},{"defaultValue":"null","description":"Optional visible label rendered before or after the rating items. When no\nexplicit `aria-label` or `aria-labelledby` is supplied, the label provides the accessible\nname.","name":"label","type":"string | null"},{"defaultValue":"\"after\"","description":"Places the visible label before or after the item group.","name":"labelPosition","type":"RatingLabelPosition"},{"defaultValue":"\"item\"","description":"Selection granularity of the rating.","name":"precision","type":"RatingPrecision"},{"defaultValue":"false","description":"Prevents value changes while preserving focusability and normal visual emphasis.","name":"readonly","type":"boolean"},{"defaultValue":"false","description":"Shows the invalid state while the rating is `0` and the control is touched. The `required` rule of\nsignal forms doesn't treat `0` as empty, so it won't fail the form by itself: use `min(path, 1)` to reject an\nunrated value. When bound to a signal form field via `[formField]`, this is written by the `FormField` directive.","name":"required","type":"boolean"},{"defaultValue":"\"continuous\"","description":"Controls cumulative or single-item filling.","name":"selection","type":"RatingSelectionMode"},{"defaultValue":"\"medium\"","description":"Size preset controlling the icon dimensions, item hitboxes, spacing, and label\ntypography.","name":"size","type":"\"large\" | \"medium\" | \"small\""},{"defaultValue":"0","description":"Tab index applied to the focusable rating control when not disabled. Accepts a\nnumeric string and converts it to a number.","name":"tabindex","type":"string | number"},{"defaultValue":"false","description":"Marks the component as touched. When bound to a signal form field via\n`[formField]`, this is written by the signal forms `Field` directive.","name":"touched","type":"boolean"},{"defaultValue":"0","description":"Current rating value. `0` represents an unrated state. Values are normalized\nfor rendering but are not rewritten until the user interacts with the component.","name":"value","twoWay":true,"type":"number"}],"methods":[{"description":"Blurs the inner slider control if focused.","name":"blur","signature":"blur(): void"},{"description":"Focuses the inner slider control. Does nothing while disabled.","name":"focus","signature":"focus(options?: FocusOptions): void"}],"outputs":[{"description":"Emitted when the control loses focus or a pointer commits a rating, marking the field as touched.","name":"touch","type":"void"}],"properties":[],"page":{"path":"rating","title":"Rating"}},{"description":"Renders the pointer-preview visual for rating items. Overrides the default preset\noverlay whenever the visible state comes from pointer preview.","kind":"directive","name":"RatingHoveredItemTemplateDirective","selector":"ng-template[monaRatingHoveredItemTemplate]","templateContext":{"members":[{"description":"Zero-based item index.","name":"$implicit","type":"number"},{"description":"Visible fill amount between 0 and 1.","name":"fill","type":"number"},{"description":"Whether the visible state comes from pointer preview.","name":"hovered","type":"boolean"},{"description":"Zero-based item index.","name":"index","type":"number"},{"description":"One-based value represented by this item.","name":"itemValue","type":"number"},{"description":"Whether the visible state comes from the committed value.","name":"selected","type":"boolean"}],"type":"RatingItemTemplateContext"},"inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"rating","title":"Rating"}},{"description":"Renders the default (unselected) visual for every rating item. Overrides the\ndefault preset icon for the base layer of each item.","kind":"directive","name":"RatingItemTemplateDirective","selector":"ng-template[monaRatingItemTemplate]","templateContext":{"members":[{"description":"Zero-based item index.","name":"$implicit","type":"number"},{"description":"Visible fill amount between 0 and 1.","name":"fill","type":"number"},{"description":"Whether the visible state comes from pointer preview.","name":"hovered","type":"boolean"},{"description":"Zero-based item index.","name":"index","type":"number"},{"description":"One-based value represented by this item.","name":"itemValue","type":"number"},{"description":"Whether the visible state comes from the committed value.","name":"selected","type":"boolean"}],"type":"RatingItemTemplateContext"},"inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"rating","title":"Rating"}},{"description":"Renders the committed selected visual for rating items. Overrides the default\npreset overlay whenever the visible state comes from the committed value.","kind":"directive","name":"RatingSelectedItemTemplateDirective","selector":"ng-template[monaRatingSelectedItemTemplate]","templateContext":{"members":[{"description":"Zero-based item index.","name":"$implicit","type":"number"},{"description":"Visible fill amount between 0 and 1.","name":"fill","type":"number"},{"description":"Whether the visible state comes from pointer preview.","name":"hovered","type":"boolean"},{"description":"Zero-based item index.","name":"index","type":"number"},{"description":"One-based value represented by this item.","name":"itemValue","type":"number"},{"description":"Whether the visible state comes from the committed value.","name":"selected","type":"boolean"}],"type":"RatingItemTemplateContext"},"inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"rating","title":"Rating"}},{"description":"","kind":"constant","name":"RATING_DEFAULT_MESSAGES","signature":"const RATING_DEFAULT_MESSAGES: MonaRatingMessages;","page":{"path":"rating","title":"Rating"}},{"description":"Rendering context passed to the default, selected, and hovered item templates.","extends":[],"kind":"interface","methods":[],"name":"RatingItemTemplateContext","properties":[{"description":"Zero-based item index.","name":"$implicit","readonly":true,"type":"number"},{"description":"Visible fill amount between 0 and 1.","name":"fill","readonly":true,"type":"number"},{"description":"Whether the visible state comes from pointer preview.","name":"hovered","readonly":true,"type":"boolean"},{"description":"Zero-based item index.","name":"index","readonly":true,"type":"number"},{"description":"One-based value represented by this item.","name":"itemValue","readonly":true,"type":"number"},{"description":"Whether the visible state comes from the committed value.","name":"selected","readonly":true,"type":"boolean"}],"page":{"path":"rating","title":"Rating"}},{"description":"Built-in icon names available for the default rating visuals.","kind":"type","name":"RatingIconName","signature":"type RatingIconName = \"circle\" | \"diamond\" | \"flame\" | \"heart\" | \"star\";","page":{"path":"rating","title":"Rating"},"usedBy":["RatingComponent"]},{"description":"Position of the visible label relative to the rating items.","kind":"type","name":"RatingLabelPosition","signature":"type RatingLabelPosition = \"before\" | \"after\";","page":{"path":"rating","title":"Rating"},"usedBy":["RatingComponent"]},{"description":"Selection granularity of the rating. `\"item\"` selects whole items, `\"half\"` selects\nhalf-item increments.","kind":"type","name":"RatingPrecision","signature":"type RatingPrecision = \"item\" | \"half\";","page":{"path":"rating","title":"Rating"},"usedBy":["RatingComponent"]},{"description":"How the selected value is visualized across the items. `\"continuous\"` fills every\nitem up to the selected value, `\"single\"` fills only the item representing the selected value.","kind":"type","name":"RatingSelectionMode","signature":"type RatingSelectionMode = \"continuous\" | \"single\";","page":{"path":"rating","title":"Rating"},"usedBy":["RatingComponent"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"MonaScrollViewMessages":"i18n","PagerOverlay":"scroll-view","SCROLL_VIEW_DEFAULT_MESSAGES":"scroll-view","ScrollViewComponent":"scroll-view","ScrollViewSlideContext":"scroll-view","ScrollViewSlideDirective":"scroll-view"},"name":"scroll-view","pages":[{"path":"scroll-view","title":"Scroll View"}],"symbols":[{"description":"","kind":"component","name":"ScrollViewComponent","selector":"mona-scroll-view","inputs":[{"defaultValue":"true","description":"Sets whether page transitions are animated.\nPass a boolean for default duration (500ms) or a number for custom duration in milliseconds.","name":"animate","type":"boolean | number"},{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name of the carousel, saying what it shows. Use this or `aria-labelledby`; with neither,\nthe host is a plain group and a warning is logged in development.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"The id of the element that names the carousel.","name":"ariaLabelledBy","type":"string"},{"defaultValue":"false","description":"Shows the previous and next arrows. A swipe is a gesture, so give pointer users arrows or a pager too.","name":"arrows","type":"boolean"},{"alias":"class","defaultValue":"\"\"","description":"Sets custom CSS classes on the component host element. Merged with base classes via tailwind-merge.","name":"userClass","type":"string"},{"defaultValue":"[]","description":"Sets the data of the scroll view.","name":"data","type":"Iterable<unknown>"},{"description":"Sets the height of the scroll view.\nThis property is required.","name":"height","required":true,"type":"string | number"},{"defaultValue":"0","description":"Sets the active page of the scroll view.","name":"index","twoWay":true,"type":"number"},{"defaultValue":"false","description":"Sets whether the scroll view is infinite.","name":"infinite","type":"boolean"},{"defaultValue":"false","description":"Shows the pager. A swipe is a gesture, so give pointer users arrows or a pager too.","name":"pageable","type":"boolean"},{"defaultValue":"3","description":"Sets the background blur of the pager in pixels. It doesn't apply with `pagerOverlay` set to `\"none\"`.","name":"pagerBlur","type":"number"},{"defaultValue":"\"dark\"","description":"Sets the color of the pager.","name":"pagerOverlay","type":"PagerOverlay"},{"defaultValue":"\"medium\"","description":"Sets the border radius of the pager items.","name":"pagerRounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"\"medium\"","description":"Sets the border radius of the scroll view.","name":"rounded","type":"\"large\" | \"medium\" | \"none\" | \"small\""},{"description":"Sets the width of the scroll view.","name":"width","required":true,"type":"string | number"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"scroll-view","title":"Scroll View"}},{"description":"Marks the template that renders each slide. Bind `[monaScrollViewSlide]` to the same data as the scroll\nview, and `let-item` takes its type from it.","kind":"directive","name":"ScrollViewSlideDirective","selector":"ng-template[monaScrollViewSlide]","templateContext":{"members":[{"description":"","name":"$implicit","type":"T"},{"description":"","name":"height","type":"number"},{"description":"","name":"width","type":"number"}],"type":"ScrollViewSlideContext<T>"},"typeParameters":["T = unknown"],"inputs":[{"defaultValue":"\"\"","description":"The scroll view's data, bound only so that `let-item` takes its type from it. Leave it empty for\n`unknown`.","name":"monaScrollViewSlide","type":"Iterable<T> | \"\""}],"methods":[],"outputs":[],"properties":[],"page":{"path":"scroll-view","title":"Scroll View"}},{"description":"","kind":"constant","name":"SCROLL_VIEW_DEFAULT_MESSAGES","signature":"const SCROLL_VIEW_DEFAULT_MESSAGES: MonaScrollViewMessages;","page":{"path":"scroll-view","title":"Scroll View"}},{"description":"","extends":[],"kind":"interface","methods":[],"name":"ScrollViewSlideContext","properties":[{"description":"","name":"$implicit","type":"T"},{"description":"","name":"height","type":"number"},{"description":"","name":"width","type":"number"}],"typeParameters":["T = unknown"],"page":{"path":"scroll-view","title":"Scroll View"}},{"description":"","kind":"type","name":"PagerOverlay","signature":"type PagerOverlay = \"dark\" | \"light\" | \"none\";","page":{"path":"scroll-view","title":"Scroll View"},"usedBy":["ScrollViewComponent"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"SegmentedComponent":"segmented","SegmentedItemTemplateContext":"segmented","SegmentedItemTemplateDirective":"segmented","SegmentedOption":"segmented","SegmentedValue":"segmented"},"name":"segmented","pages":[{"path":"segmented","title":"Segmented"}],"symbols":[{"description":"","implements":["FormValueControl<T | null>"],"kind":"component","name":"SegmentedComponent","selector":"mona-segmented","typeParameters":["T extends SegmentedValue = SegmentedValue"],"inputs":[{"defaultValue":"\"stretch\"","description":"Controls the alignment of the items inside the segmented component.","name":"alignment","type":"\"center\" | \"end\" | \"start\" | \"stretch\""},{"defaultValue":"true","description":"Controls whether the selection indicator animates between selected options.\nWhen false, selection changes are applied immediately without transition.","name":"animate","type":"boolean"},{"alias":"aria-describedby","defaultValue":"\"\"","description":"Id of an element that describes the segmented control, such as a hint or an error message.","name":"ariaDescribedBy","type":"string"},{"alias":"aria-label","defaultValue":"null","description":"Accessible name for the radio group. Provide either `aria-label` or `aria-labelledby`.","name":"ariaLabel","type":"string | null"},{"alias":"aria-labelledby","defaultValue":"null","description":"ID of an external element that provides the accessible name for the radio group.","name":"ariaLabelledBy","type":"string | null"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"string"},{"defaultValue":"false","description":"Disables every option in the group and prevents value changes.","name":"disabled","type":"boolean"},{"defaultValue":"false","description":"Marks the component as invalid. Error styling requires both `invalid` and `touched` to be `true`.\nWhen bound to a signal form field via `[formField]`, this is written by the signal forms `FormField` directive.","name":"invalid","type":"boolean"},{"defaultValue":"\"\"","description":"The name of the radios, for a native `<form>`. Generated when empty, so two groups don't interfere.\nWhen bound to a signal form field via `[formField]`, this is written by the `FormField` directive.","name":"name","type":"string"},{"description":"The list of selectable options. Exactly one option is selected at a time.","name":"options","required":true,"type":"readonly SegmentedOption<T>[]"},{"defaultValue":"false","description":"Prevents value changes while the control stays focusable and readable. When bound to a signal form\nfield via `[formField]`, this is written by the `FormField` directive.","name":"readonly","type":"boolean"},{"defaultValue":"false","description":"Marks the group as required, as `aria-required`. When bound to a signal form field via `[formField]`,\nthis is written by the `FormField` directive.","name":"required","type":"boolean"},{"defaultValue":"\"medium\"","description":"Border-radius preset applied to the segmented container and its options.","name":"rounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"\"medium\"","description":"Size preset controlling the height, horizontal padding, text size, and spacing of each option.","name":"size","type":"\"large\" | \"medium\" | \"small\""},{"defaultValue":"false","description":"Marks the component as touched. When bound to a signal form field via `[formField]`,\nthis is written by the signal forms `FormField` directive.","name":"touched","type":"boolean"},{"defaultValue":"null","description":"The currently selected value. When it matches no current option, no option is checked.\nA `null` value is allowed initially but cannot be restored through segmented interaction.","name":"value","twoWay":true,"type":"T | null"}],"methods":[{"description":"Moves focus to the selected option, or the first enabled one.","name":"focus","signature":"focus(options?: FocusOptions): void"}],"outputs":[{"description":"Emitted when the selected value changes or focus leaves the group.","name":"touch","type":"void"}],"properties":[],"page":{"path":"segmented","title":"Segmented"}},{"description":"Renders the visual content of every segmented option. Overrides the default label\ntext of each option. Bind the options, as `[monaSegmentedItemTemplate]=\"options\"`, to type `let-option` from them.","kind":"directive","name":"SegmentedItemTemplateDirective","selector":"ng-template[monaSegmentedItemTemplate]","templateContext":{"members":[{"description":"The option rendered by this item.","name":"$implicit","type":"SegmentedOption<T>"},{"description":"Whether this option is disabled, either individually or via the group.","name":"disabled","type":"boolean"},{"description":"Zero-based option index.","name":"index","type":"number"},{"description":"The option rendered by this item.","name":"option","type":"SegmentedOption<T>"},{"description":"Whether this option is currently selected.","name":"selected","type":"boolean"}],"type":"SegmentedItemTemplateContext<T>"},"typeParameters":["T extends SegmentedValue = SegmentedValue"],"inputs":[{"alias":"monaSegmentedItemTemplate","defaultValue":"undefined","description":"The options, to type `let-option` from them. It changes nothing else.","name":"options","type":"readonly SegmentedOption<T>[] | \"\" | undefined"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"segmented","title":"Segmented"}},{"description":"Rendering context passed to the segmented item template.","extends":[],"kind":"interface","methods":[],"name":"SegmentedItemTemplateContext","properties":[{"description":"The option rendered by this item.","name":"$implicit","readonly":true,"type":"SegmentedOption<T>"},{"description":"Whether this option is disabled, either individually or via the group.","name":"disabled","readonly":true,"type":"boolean"},{"description":"Zero-based option index.","name":"index","readonly":true,"type":"number"},{"description":"The option rendered by this item.","name":"option","readonly":true,"type":"SegmentedOption<T>"},{"description":"Whether this option is currently selected.","name":"selected","readonly":true,"type":"boolean"}],"typeParameters":["T extends SegmentedValue = SegmentedValue"],"page":{"path":"segmented","title":"Segmented"}},{"description":"","extends":[],"kind":"interface","methods":[],"name":"SegmentedOption","properties":[{"description":"","name":"disabled","optional":true,"readonly":true,"type":"boolean"},{"description":"","name":"label","readonly":true,"type":"string"},{"description":"","name":"value","readonly":true,"type":"T"}],"typeParameters":["T extends SegmentedValue = SegmentedValue"],"page":{"path":"segmented","title":"Segmented"},"usedBy":["SegmentedComponent","SegmentedItemTemplateContext","SegmentedItemTemplateDirective"]},{"description":"","kind":"type","name":"SegmentedValue","signature":"type SegmentedValue = string | number;","page":{"path":"segmented","title":"Segmented"}}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"ClassInputType":"common","SeparatorComponent":"separator"},"name":"separator","pages":[{"path":"separator","title":"Separator"}],"symbols":[{"description":"A thin line between groups of content, across a column or down a row, with an optional label in its middle. Like an\n`<hr>`, it's a separator for assistive technology unless it's marked decorative.","kind":"component","name":"SeparatorComponent","selector":"mona-separator","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`, such as a margin.","name":"userClass","type":"ClassInputType"},{"defaultValue":"false","description":"Marks the line as only visual, so assistive technology skips it. Use it where the line repeats a\nboundary the content already makes, such as between cards.","name":"decorative","type":"boolean"},{"defaultValue":"\"\"","description":"Text in the middle of a horizontal line, such as \"or\" between two ways to sign in. It's read as text,\nand the line stays out of the way, as if it were decorative.","name":"label","type":"string"},{"defaultValue":"\"horizontal\"","description":"Whether the line runs across (`horizontal`, between stacked content) or down (`vertical`, between\nitems in a row). A vertical line stretches to the row's height. A labelled line is always horizontal.","name":"orientation","type":"NonNullable<\"horizontal\" | \"vertical\" | null | undefined>"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"separator","title":"Separator"}}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"ClassInputType":"common","MonaSheetMessages":"i18n","PopupCloseEvent":"popup","SHEET_DEFAULT_MESSAGES":"sheet","SheetComponent":"sheet","SheetMessages":"i18n","SheetPhysicalSide":"sheet","SheetSide":"sheet"},"name":"sheet","pages":[{"path":"sheet","title":"Sheet"}],"symbols":[{"description":"","kind":"component","name":"SheetComponent","selector":"mona-sheet","inputs":[{"alias":"aria-label","defaultValue":"undefined","description":"Accessible name used when no visible title is provided.","name":"ariaLabel","type":"string | undefined"},{"alias":"class","defaultValue":"undefined","description":"Additional CSS classes merged onto the sheet panel via `tailwind-merge`.","name":"userClass","type":"ClassInputType"},{"defaultValue":"true","description":"Whether the close button is displayed.","name":"closable","type":"boolean"},{"defaultValue":"true","description":"Whether clicking the backdrop requests that the sheet close.","name":"closeOnBackdropClick","type":"boolean"},{"defaultValue":"true","description":"Whether pressing Escape requests that the sheet close.","name":"closeOnEscape","type":"boolean"},{"description":"Supporting text displayed below the title.","name":"description","type":"string"},{"description":"Explicit sheet height. Numbers are interpreted as pixels.","name":"height","type":"number | string"},{"description":"Internationalization message overrides for accessible labels.","name":"messages","type":"Partial<SheetMessages>"},{"defaultValue":"\"right\"","description":"Edge of the viewport from which the sheet opens. `left` and `right` are physical; `start` and\n`end` follow the direction (`start` is the left edge in LTR and the right edge in RTL). The edge is fixed\nonce the sheet opens.","name":"side","type":"SheetSide"},{"description":"Title displayed in the sheet header and used as its accessible name.","name":"title","type":"string"},{"description":"Explicit sheet width. Numbers are interpreted as pixels.","name":"width","type":"number | string"}],"methods":[],"outputs":[{"description":"Emitted before the sheet closes. Call preventDefault() to keep it open.","name":"close","type":"PopupCloseEvent<unknown>"},{"description":"Emitted after the leave animation completes and the popup is disposed.","name":"closed","type":"void"}],"properties":[],"page":{"path":"sheet","title":"Sheet"}},{"description":"","kind":"constant","name":"SHEET_DEFAULT_MESSAGES","signature":"const SHEET_DEFAULT_MESSAGES: MonaSheetMessages;","page":{"path":"sheet","title":"Sheet"}},{"description":"A side resolved to a physical edge.","kind":"type","name":"SheetPhysicalSide","signature":"type SheetPhysicalSide = \"bottom\" | \"left\" | \"right\" | \"top\";","page":{"path":"sheet","title":"Sheet"}},{"description":"Edge the sheet opens from. `left` and `right` are physical, whatever the direction; `start` and `end` follow it\n(`start` is the left edge in LTR and the right edge in RTL).","kind":"type","name":"SheetSide","signature":"type SheetSide = \"bottom\" | \"end\" | \"left\" | \"right\" | \"start\" | \"top\";","page":{"path":"sheet","title":"Sheet"},"usedBy":["SheetComponent"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"ClassInputType":"common","InjectSidebarOptions":"sidebar","LocalStorageSidebarStorage":"sidebar","MonaSidebarMessages":"i18n","SIDEBAR_DEFAULT_MESSAGES":"sidebar","SIDEBAR_STORAGE":"sidebar","SidebarCollapsibleMode":"sidebar","SidebarComponent":"sidebar","SidebarContentDirective":"sidebar","SidebarController":"sidebar","SidebarFooterDirective":"sidebar","SidebarGroupActionDirective":"sidebar","SidebarGroupContentDirective":"sidebar","SidebarGroupDirective":"sidebar","SidebarGroupHeaderDirective":"sidebar","SidebarGroupLabelDirective":"sidebar","SidebarHeaderDirective":"sidebar","SidebarInputDirective":"sidebar","SidebarInsetDirective":"sidebar","SidebarLayoutComponent":"sidebar","SidebarLogicalSide":"sidebar","SidebarMenuActionDirective":"sidebar","SidebarMenuBadgeDirective":"sidebar","SidebarMenuButtonDirective":"sidebar","SidebarMenuButtonSize":"sidebar","SidebarMenuDirective":"sidebar","SidebarMenuItemDirective":"sidebar","SidebarMenuSkeletonComponent":"sidebar","SidebarMenuSubDirective":"sidebar","SidebarModalScope":"sidebar","SidebarRailDirective":"sidebar","SidebarSeparatorDirective":"sidebar","SidebarSide":"sidebar","SidebarStorage":"sidebar","SidebarTriggerDirective":"sidebar","SidebarVariant":"sidebar","injectSidebar":"sidebar","provideSidebarStorage":"sidebar"},"name":"sidebar","pages":[{"path":"sidebar","title":"Sidebar"},{"path":"sidebar/menus","title":"Sidebar Menus"},{"path":"sidebar/state","title":"Sidebar State & Behavior"}],"symbols":[{"description":"The sidebar region itself. Content is projected in author order, so header, content and footer\nparts appear exactly where they are written.\n\nBelow the layout's `mobileBreakpoint` it presents as a modal overlay drawer: focus is trapped\ninside it while open, restored to whatever opened it on close, and everything outside it is made\ninert, as far as the layout's `modalScope` says. It is not a navigation landmark by itself — wrap\nthe menus in a labelled `nav`, or set `role` and `aria-label` if the whole region is navigation.","kind":"component","name":"SidebarComponent","selector":"mona-sidebar","inputs":[{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name for the sidebar region. Required when `role` is set, and used as the\ndrawer's name on compact viewports, which otherwise has a localized default.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"The id of the element that names the sidebar region, in place of `aria-label`. A docked sidebar with no\n`role` ignores it.","name":"ariaLabelledBy","type":"string"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"},{"defaultValue":"\"offcanvas\"","description":"How the sidebar behaves when collapsed. `\"icon\"` keeps a narrow rail of icons visible,\n`\"offcanvas\"` removes it from the layout entirely, and `\"none\"` disables collapsing altogether.","name":"collapsible","type":"SidebarCollapsibleMode"},{"defaultValue":"true","description":"Sets whether this sidebar is open. Supports two-way binding. While the viewport is\ncompact this reflects the drawer, so one binding drives both presentations, and it reads `false` on\na phone from the start. To remember the docked state, use `persistKey` rather than saving this.","name":"expanded","twoWay":true,"type":"boolean"},{"defaultValue":"\"3rem\"","description":"Width of the icon rail while collapsed. Only applies when `collapsible` is `\"icon\"`.\nNumbers are treated as pixels.","name":"iconWidth","type":"string | number"},{"defaultValue":"\"\"","description":"Id for the sidebar element, referenced by triggers through `aria-controls`. Supply a\nstable value when the markup is server rendered, so the client does not hydrate onto a different\ngenerated id. Falls back to a generated id.","name":"id","type":"string"},{"defaultValue":"\"18rem\"","description":"Width of the overlay drawer on compact viewports. Numbers are treated as pixels.","name":"mobileWidth","type":"string | number"},{"defaultValue":"\"\"","description":"Remembers whether this sidebar was left open, under this key. Unset means nothing is\nstored — no key, no storage written.\n\nOnly the docked state is kept. A drawer is never restored open: on the viewport that makes one,\nit would cover the page on load. A stored value wins over `expanded`, and is pushed back out\nthrough that binding, so do not set a key on a sidebar whose state is already restored elsewhere.\n\nWhere it is kept is `SIDEBAR_STORAGE`, which defaults to `localStorage`. A server-rendered\napplication cannot read that until hydration and so flashes the default first; supply storage the\nserver can read through `provideSidebarStorage()`.","name":"persistKey","type":"string"},{"defaultValue":"\"\"","description":"ARIA role for the sidebar region. Leave unset and wrap the menus in a labelled `nav`\nwhen the sidebar holds more than navigation; set `\"navigation\"` with an `aria-label` when it does\nnot. Ignored on compact viewports, where the drawer is a `dialog`.","name":"role","type":"string"},{"defaultValue":"\"start\"","description":"Which edge the sidebar sits on. Prefer `\"start\"` and `\"end\"`, which follow the\ndocument's writing direction; `\"left\"` and `\"right\"` are aliases of them.","name":"side","type":"SidebarSide"},{"defaultValue":"\"sidebar\"","description":"The visual treatment of the sidebar. `\"floating\"` detaches it from the edge on its own\nsurface, and `\"inset\"` moves that raised surface onto the region beside it instead.","name":"variant","type":"SidebarVariant"},{"defaultValue":"\"16rem\"","description":"Width of the sidebar while expanded. Numbers are treated as pixels.","name":"width","type":"string | number"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar","title":"Sidebar"}},{"description":"Lays its children out in a row and owns what they share. Project one or more `mona-sidebar`\nelements and an element marked with `monaSidebarInset` into it. Each sidebar keeps its own open\nstate, on its own `[(expanded)]` binding, so a layout can hold a navigation column on one edge and\nan inspector on the other.\n\nBelow `mobileBreakpoint` sidebars present as overlay drawers instead of columns. A drawer has its\nown open state, so a sidebar collapsed on a desktop does not come back open on a phone, and it is\nreset whenever the viewport crosses the breakpoint. Only one drawer is open at a time: opening one\ncloses any other, and they share the single backdrop this layout paints behind them.","kind":"component","name":"SidebarLayoutComponent","selector":"mona-sidebar-layout","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"},{"defaultValue":"768","description":"Viewport width, in pixels, below which the sidebar presents as an overlay drawer.\nSet to `0` to keep the docked presentation at every size.","name":"mobileBreakpoint","type":"number"},{"defaultValue":"\"page\"","description":"How far an open drawer's modality reaches. `\"page\"` makes everything outside the drawer inert and\nlocks the page's scroll. Use `\"layout\"` for a sidebar embedded in part of a page: what's around the layout stays\nusable, so the drawer isn't `aria-modal`.","name":"modalScope","type":"SidebarModalScope"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar","title":"Sidebar"}},{"description":"A loading placeholder shaped like a menu item. Its label bar is clipped on the icon rail, where the\nreal labels are not visible either.","kind":"component","name":"SidebarMenuSkeletonComponent","selector":"mona-sidebar-menu-skeleton","inputs":[{"defaultValue":"\"60%\"","description":"Width of the label bar. Varying it across a list keeps the placeholder from looking\nlike a rigid grid. Numbers are treated as pixels.","name":"labelWidth","type":"string | number"},{"defaultValue":"true","description":"Renders a square standing in for the item's icon.","name":"showIcon","type":"boolean"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"A row in a sidebar menu. Applies to a `button` for an action and to an `a` for a destination —\nan anchor keeps `href`, `routerLink`, middle-click, open-in-new-tab and the browser's own status\nbar preview, none of which a button can offer.\n\nOn a compact viewport, following a link closes the drawer, since the destination it navigates to is\nunderneath it. A row that opens a submenu leaves the drawer open, and on the icon rail it expands the\nsidebar, since that's the only place the submenu can open.","exportAs":"monaSidebarMenuButton","kind":"directive","name":"SidebarMenuButtonDirective","selector":"a[monaSidebarMenuButton], button[monaSidebarMenuButton]","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"},{"defaultValue":"undefined","description":"Closes the overlay drawer after this row is activated. Only applies on compact\nviewports, where the drawer covers the destination being navigated to. Set to `false` for rows\nthat do not navigate. Leave it unset on a `monaCollapsibleTrigger`, which keeps the drawer open.","name":"closeOnSelect","type":"boolean | undefined"},{"defaultValue":"false","description":"Renders the row as unavailable and suppresses activation, including a `routerLink` and any `click`\nhandler on it. A disabled anchor gives up its `href`.","name":"disabled","type":"boolean"},{"defaultValue":"\"medium\"","description":"How much room this row's leading visual needs. Use `\"large\"` when it opens with\nsomething avatar sized, so the icon rail lets it fill the square instead of insetting and clipping it.","name":"size","type":"SidebarMenuButtonSize"},{"defaultValue":"\"\"","description":"Text identifying this item while the sidebar is collapsed to its icon rail, where the\nlabel is clipped away. Shown as a tooltip on hover and on keyboard focus, on the rail only.","name":"tooltip","type":"string"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"","kind":"directive","name":"SidebarMenuItemDirective","selector":"li[monaSidebarMenuItem]","inputs":[{"defaultValue":"false","description":"Marks this row as the current sidebar destination. The row owns the selected\nsurface so trailing badges and actions remain inside one continuous highlight.","name":"active","type":"boolean"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"The region at the bottom of the sidebar, below its content. Holds what stays put while the content\nscrolls — a profile menu, a sign-out.","kind":"directive","name":"SidebarFooterDirective","selector":"[monaSidebarFooter]","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar","title":"Sidebar"}},{"description":"The region at the top of the sidebar, above its content. Holds what stays put while the content\nscrolls — a workspace switcher, a search box.","kind":"directive","name":"SidebarHeaderDirective","selector":"[monaSidebarHeader]","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar","title":"Sidebar"}},{"description":"Marks the main region beside the sidebar. Fills the remaining width and scrolls independently.\nTakes on the raised surface when the sidebar uses the `inset` variant.\n\nIt sits beside the sidebars rather than inside one, so it answers to the layout as a whole: it steps\nout of the way for whichever drawer is open, and where a layout holds more than one sidebar it takes\nits surface from the first one in author order.","kind":"directive","name":"SidebarInsetDirective","selector":"[monaSidebarInset]","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar","title":"Sidebar"}},{"description":"A trailing count or status badge on a menu item. Stands down on the icon rail, where it would\ncrowd out the icon it belongs to.","kind":"directive","name":"SidebarMenuBadgeDirective","selector":"[monaSidebarMenuBadge]","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"","kind":"directive","name":"SidebarMenuDirective","selector":"ul[monaSidebarMenu]","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"An indented submenu inside a `monaSidebarMenuItem` that is also a `monaCollapsible`.\n\nIt carries no hiding of its own on the icon rail. `SidebarMenuItemDirective` closes the disclosure\nthere instead, which leaves the trigger's `aria-expanded` truthful and lets the collapsible content\ndirective apply its own `inert`. Hiding it here as well used to produce the opposite: a submenu the\ntrigger still described as expanded, with focusable items, that nobody could see.","kind":"directive","name":"SidebarMenuSubDirective","selector":"ul[monaSidebarMenuSub]","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"A thin strip along the sidebar's inner edge that toggles it. Place it inside `mona-sidebar`,\nwhich positions it. Hidden on narrow viewports, where the edge is too easy to hit by accident.\n\nDeliberately outside the tab order: it is a pointer shortcut for what `monaSidebarTrigger` already\ndoes, and a second tab stop onto a 4px strip would be noise for keyboard users. Provide a\n`monaSidebarTrigger` as well — the rail is not a substitute for it.","kind":"directive","name":"SidebarRailDirective","selector":"button[monaSidebarRail]","inputs":[{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name of the rail, which otherwise has a localized default.","name":"ariaLabel","type":"string"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar","title":"Sidebar"}},{"description":"A horizontal rule between sidebar regions. Tightens its inset on the icon rail.","kind":"directive","name":"SidebarSeparatorDirective","selector":"[monaSidebarSeparator]","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar","title":"Sidebar"}},{"description":"Toggles a sidebar. Can be placed anywhere inside a `mona-sidebar-layout`, including in the inset,\nand adds no styling of its own.\n\nBy default it drives the sidebar it is written inside. Set `for` to the id of a `mona-sidebar` to\ndrive that one instead, which is what a trigger in a shared header needs when the layout holds more\nthan one sidebar. A `for` that matches no sidebar leaves the trigger inert rather than throwing, so\na sidebar that has not rendered yet does not take the page down with it, and warns in development.\n\nA `button` is the right host and needs nothing further. On any other element the directive supplies\nthe rest of the button contract — `role`, a tab stop, and Enter/Space activation — so a `div`, a\n`span` or an `a` without `href` is still operable by keyboard rather than silently mouse-only.\n\nA sidebar that can't collapse has nothing for a trigger to do on a wide viewport, so the trigger\nreports itself as disabled there rather than as an open disclosure.","exportAs":"monaSidebarTrigger","kind":"directive","name":"SidebarTriggerDirective","selector":"[monaSidebarTrigger]","inputs":[{"defaultValue":"\"\"","description":"Id of the `mona-sidebar` to toggle. Leave unset to toggle the sidebar this trigger\nis written inside.","name":"for","type":"string"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar","title":"Sidebar"}},{"description":"","kind":"directive","name":"SidebarContentDirective","selector":"[monaSidebarContent]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar","title":"Sidebar"}},{"description":"A control in the corner of a group header — an add or overflow button. Stands down on the icon\nrail, where there is no header row left to sit in. Give it an `aria-label`: it is icon-only.","kind":"directive","name":"SidebarGroupActionDirective","selector":"button[monaSidebarGroupAction]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"The body of a `monaSidebarGroup`, below its header. Wraps the menu itself.","kind":"directive","name":"SidebarGroupContentDirective","selector":"[monaSidebarGroupContent]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"A titled section of the sidebar, grouping a label and its menu. Stack as many as the sidebar\nneeds; each is an ordinary block, so a `monaSidebarSeparator` between them is optional. A\n`monaSidebarGroupLabel` inside it names the group.","kind":"directive","name":"SidebarGroupDirective","selector":"[monaSidebarGroup]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"The row above a group's content, holding its label and any group action. Collapses to nothing on\nthe icon rail rather than leaving an empty gap where the label used to be.","kind":"directive","name":"SidebarGroupHeaderDirective","selector":"[monaSidebarGroupHeader]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"The name of a group, which the enclosing `monaSidebarGroup` is labelled by. Fades out on the icon\nrail, where there is no width to read it in.","kind":"directive","name":"SidebarGroupLabelDirective","selector":"[monaSidebarGroupLabel]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"A text input sized for the sidebar, composing `monaTextBox`. Stands down on the icon rail,\nwhere there is no room to type.","kind":"directive","name":"SidebarInputDirective","selector":"input[monaSidebarInput]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"A trailing control on a menu item — an overflow menu, a pin. Sits inside the row's highlight and\nstands down on the icon rail. Give it an `aria-label`: it is icon-only.","kind":"directive","name":"SidebarMenuActionDirective","selector":"button[monaSidebarMenuAction]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"sidebar/menus","title":"Sidebar Menus"}},{"description":"The default `SidebarStorage`: `localStorage`, under the sidebar's `persistKey`.\n\nReads report `null` anywhere `localStorage` cannot answer, and writes are dropped there. That\ncovers the server, where there is no such thing, and a browser that refuses it — Safari's private\nmode throws on access rather than returning empty, and a full quota throws on write. None of that\nis worth taking an application down over: the sidebar simply opens the way its input says.\n\nA server-rendered application gets the default state in its markup and the remembered one on\nhydration, which shows as a flash. Storage that the server can read too — a cookie, or state\ntransferred from the request — avoids it; supply it through `provideSidebarStorage()`.","kind":"class","name":"LocalStorageSidebarStorage","inputs":[],"methods":[{"description":"","name":"read","signature":"read(key: string): boolean | null"},{"description":"","name":"write","signature":"write(key: string, expanded: boolean): void"}],"outputs":[],"properties":[],"page":{"path":"sidebar/state","title":"Sidebar State & Behavior"}},{"description":"Reads a sidebar from an injection context: the one that encloses the caller, or from elsewhere in a\n`mona-sidebar-layout`, such as a toolbar in the inset, the layout's first sidebar. Name another one with `for`.\n\nReturns the sidebar's state and the commands that are safe to issue from anywhere — opening,\nclosing and toggling, each routed to whichever presentation is current. Structural facts such as\nthe side, variant and collapsible mode are readable but not settable; those are authored as inputs\non `mona-sidebar`, and writing them from a descendant would only desynchronise the two.\n\nIn a layout it follows the sidebar rather than holding it, because the caller may be created first. Until there is\none, it reads as closed and its commands do nothing.","kind":"function","name":"injectSidebar","signature":"function injectSidebar(options: InjectSidebarOptions & { optional: true }): SidebarController | null;\nfunction injectSidebar(options?: InjectSidebarOptions): SidebarController;","page":{"path":"sidebar/state","title":"Sidebar State & Behavior"}},{"description":"Replaces where sidebars remember whether they were left open. The default is `localStorage`, which\nthe server cannot read; supply a cookie- or request-backed storage here to have a server-rendered\napplication render the remembered state rather than correcting it on hydration.","kind":"function","name":"provideSidebarStorage","signature":"function provideSidebarStorage(storage: SidebarStorage | (() => SidebarStorage)): EnvironmentProviders;","page":{"path":"sidebar/state","title":"Sidebar State & Behavior"}},{"description":"","kind":"constant","name":"SIDEBAR_DEFAULT_MESSAGES","signature":"const SIDEBAR_DEFAULT_MESSAGES: MonaSidebarMessages;","page":{"path":"sidebar","title":"Sidebar"}},{"description":"Where sidebars given a `persistKey` remember whether they were left open. Defaults to\n`localStorage`. Replace it with `provideSidebarStorage()` — with something the server can read too,\nfor an application that renders there.","kind":"constant","name":"SIDEBAR_STORAGE","signature":"const SIDEBAR_STORAGE: InjectionToken<SidebarStorage>;","page":{"path":"sidebar/state","title":"Sidebar State & Behavior"}},{"description":"The safe, read-and-command view of one sidebar, returned by `injectSidebar()`.\n\nStructural facts — side, variant, collapsible mode — are readable but not settable. They are\nauthored as inputs on `mona-sidebar`, and letting a descendant write them would leave the service\nand the component disagreeing about the same sidebar, with the component winning on the next\nchange detection pass. Consumers who need them to change should bind the inputs.","extends":[],"kind":"interface","methods":[{"description":"Closes the sidebar. On a compact viewport this closes the drawer instead.","name":"collapse","signature":"collapse(): void"},{"description":"Opens the sidebar. On a compact viewport this opens the drawer instead.","name":"expand","signature":"expand(): void"},{"description":"Flips the sidebar between open and closed, on whichever presentation is current.","name":"toggle","signature":"toggle(): void"}],"name":"SidebarController","properties":[{"description":"How the sidebar behaves when collapsed, as authored on `mona-sidebar`.","name":"collapsible","readonly":true,"type":"Signal<SidebarCollapsibleMode>"},{"description":"Whether the viewport is narrow enough that the sidebar presents as an overlay drawer rather\nthan as a column in the layout.","name":"compact","readonly":true,"type":"Signal<boolean>"},{"description":"Whether the sidebar is showing at full width. On a compact viewport this reports the drawer's\nstate, so a single binding drives both presentations.","name":"expanded","readonly":true,"type":"Signal<boolean>"},{"description":"Whether the sidebar is currently reduced to its icon rail, meaning parts that only make sense\nat full width — labels, trailing actions, submenus — should step aside. Never true while\ncompact, where the drawer always presents at full width.","name":"iconOnly","readonly":true,"type":"Signal<boolean>"},{"description":"Whether the overlay drawer is open. Only meaningful while `compact` is true.","name":"mobileOpen","readonly":true,"type":"Signal<boolean>"},{"description":"Which edge the sidebar sits on, resolved to a direction-relative side.","name":"side","readonly":true,"type":"Signal<SidebarLogicalSide>"},{"description":"The id of the sidebar element, for `aria-controls` on a custom trigger.","name":"sidebarId","readonly":true,"type":"Signal<string>"},{"description":"The expanded state as a string, for `data-state` bindings and styling hooks.","name":"state","readonly":true,"type":"Signal<\"expanded\" | \"collapsed\">"},{"description":"The visual treatment of the sidebar, as authored on `mona-sidebar`.","name":"variant","readonly":true,"type":"Signal<SidebarVariant>"}],"page":{"path":"sidebar/state","title":"Sidebar State & Behavior"},"usedBy":["injectSidebar"]},{"description":"Where a sidebar remembers whether it was left open. Supplied through `SIDEBAR_STORAGE`, and only\never consulted for a sidebar that was given a `persistKey`.\n\nOnly the docked state is ever handed to it. A drawer on a compact viewport is deliberately never\npersisted: restoring one open would cover the page on load, in front of the content the reader\nasked for.","extends":[],"kind":"interface","methods":[{"description":"The remembered state for `key`, or `null` when nothing has been stored under it — including\nwhen this storage cannot answer, such as on the server. A `null` leaves the sidebar on whatever\nits `expanded` input says.","name":"read","signature":"read(key: string): boolean | null"},{"description":"Records the docked state for `key`. Failing to store it must not throw.","name":"write","signature":"write(key: string, expanded: boolean): void"}],"name":"SidebarStorage","properties":[],"page":{"path":"sidebar/state","title":"Sidebar State & Behavior"},"usedBy":["provideSidebarStorage","SIDEBAR_STORAGE"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"InjectSidebarOptions","properties":[{"description":"Reads the sidebar with this id in the enclosing layout, rather than the nearest one. Needs a layout.","name":"for","optional":true,"readonly":true,"type":"string"},{"description":"Returns `null` instead of throwing when there is no enclosing sidebar or layout.","name":"optional","optional":true,"readonly":true,"type":"boolean"}],"page":{"path":"sidebar/state","title":"Sidebar State & Behavior"},"usedBy":["injectSidebar"]},{"description":"How the sidebar behaves when it is collapsed.\n\n- `offcanvas` — the sidebar collapses to zero width and leaves the layout.\n- `icon` — the sidebar shrinks to a narrow rail that keeps icons visible.\n- `none` — the sidebar cannot be collapsed and stays at its full width.","kind":"type","name":"SidebarCollapsibleMode","signature":"type SidebarCollapsibleMode = \"offcanvas\" | \"icon\" | \"none\";","page":{"path":"sidebar/state","title":"Sidebar State & Behavior"},"usedBy":["SidebarComponent","SidebarController"]},{"description":"The direction-relative side, once the `left`/`right` aliases have been folded in.","kind":"type","name":"SidebarLogicalSide","signature":"type SidebarLogicalSide = \"start\" | \"end\";","page":{"path":"sidebar","title":"Sidebar"},"usedBy":["SidebarController"]},{"description":"How much room the button's leading visual needs.\n\n- `medium` — sized for an icon, which the icon rail insets so it sits centred in the square.\n- `large` — sized for a full-height visual such as an avatar, which fills the rail square edge to\n edge, and which is given a taller row while the sidebar is expanded.","kind":"type","name":"SidebarMenuButtonSize","signature":"type SidebarMenuButtonSize = \"medium\" | \"large\";","page":{"path":"sidebar/menus","title":"Sidebar Menus"},"usedBy":["SidebarMenuButtonDirective"]},{"description":"How far an open drawer's modality reaches.\n- `\"page\"` makes everything outside the drawer inert and locks the page's scroll, and the drawer is `aria-modal`.\n- `\"layout\"` does that within `mona-sidebar-layout` only, for a sidebar embedded in part of a page. What's around the\n layout stays usable, so the drawer isn't `aria-modal`.","kind":"type","name":"SidebarModalScope","signature":"type SidebarModalScope = \"page\" | \"layout\";","page":{"path":"sidebar/state","title":"Sidebar State & Behavior"},"usedBy":["SidebarLayoutComponent"]},{"description":"Which edge of the layout the sidebar sits on. Also determines its order within the layout\nand which side its rail and border are drawn on.\n\n`start` and `end` are the preferred values: they follow the document's writing direction, so a\n`start` sidebar sits on the left in LTR and on the right in RTL without the consumer branching.\n\n`left` and `right` are retained as aliases of `start` and `end`. They were always a poor\ndescription of the behaviour — the layout orders the sidebar with flexbox, which is\ndirection-relative, so `side=\"left\"` already rendered on the right under RTL.","kind":"type","name":"SidebarSide","signature":"type SidebarSide = \"start\" | \"end\" | \"left\" | \"right\";","page":{"path":"sidebar","title":"Sidebar"},"usedBy":["SidebarComponent"]},{"description":"The visual treatment of the sidebar region.\n\n- `sidebar` — flush against the edge of the layout, separated by a single border.\n- `floating` — detached from the edge, with its own rounded, bordered surface.\n- `inset` — the sidebar itself is plain, and the inset region beside it becomes the raised surface.","kind":"type","name":"SidebarVariant","signature":"type SidebarVariant = \"sidebar\" | \"floating\" | \"inset\";","page":{"path":"sidebar","title":"Sidebar"},"usedBy":["SidebarComponent","SidebarController"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"ClassInputType":"common","SkeletonComponent":"skeleton"},"name":"skeleton","pages":[{"path":"skeleton","title":"Skeleton"}],"symbols":[{"description":"A placeholder block standing in for content that has not loaded yet. Size it with `width` and\n`height`, which set inline styles, so utility classes for size have no effect.\n\nIt is decorative, so it is hidden from assistive technology. Mark the region it fills with\n`aria-busy` and describe what is loading there instead.","kind":"component","name":"SkeletonComponent","selector":"mona-skeleton","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"},{"defaultValue":"\"1rem\"","description":"Height of the placeholder. Numbers are treated as pixels.","name":"height","type":"string | number"},{"defaultValue":"\"medium\"","description":"Border-radius preset applied to the placeholder.","name":"rounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"\"100%\"","description":"Width of the placeholder. Numbers are treated as pixels.","name":"width","type":"string | number"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"skeleton","title":"Skeleton"}}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"MonaSliderMessages":"i18n","Orientation":"common","RangeSliderComponent":"slider","SLIDER_DEFAULT_MESSAGES":"slider","SliderComponent":"slider","SliderHandleTemplateContext":"slider","SliderHandleTemplateDirective":"slider","SliderLabelPosition":"slider","SliderTickValueTemplateContext":"slider","SliderTickValueTemplateDirective":"slider"},"name":"slider","pages":[{"path":"range-slider","title":"Range Slider"},{"path":"slider","title":"Slider"}],"symbols":[{"description":"","implements":["FormValueControl<[number, number]>"],"kind":"component","name":"RangeSliderComponent","selector":"mona-range-slider","inputs":[{"alias":"aria-describedby","defaultValue":"null","description":"Id of an element that describes the control, such as an error message. On a range slider it describes\neach handle.","name":"ariaDescribedBy","type":"string | null"},{"alias":"aria-label","defaultValue":"null","description":"Accessible name of the control. On a range slider it names the group holding both handles.","name":"ariaLabel","type":"string | null"},{"alias":"aria-label-end","defaultValue":"null","description":"Accessible name for the upper-value (secondary) handle.","name":"ariaLabelEnd","type":"string | null"},{"alias":"aria-label-start","defaultValue":"null","description":"Accessible name for the lower-value (primary) handle.","name":"ariaLabelStart","type":"string | null"},{"alias":"aria-labelledby","defaultValue":"null","description":"Id of the element that labels the control. On a range slider each handle reads it before its own\nname.","name":"ariaLabelledBy","type":"string | null"},{"defaultValue":"null","description":"Human-readable override for the `aria-valuenow` announcement. Pass a function that receives the current value and returns the string to announce.","name":"ariaValueText","type":"((value: number) => string) | null"},{"defaultValue":"false","description":"Renders the component with reduced visual emphasis and removes pointer interaction.","name":"disabled","type":"boolean"},{"defaultValue":"[]","description":"Additional CSS classes to apply to the slider handle.","name":"handleClasses","type":"string | string[]"},{"defaultValue":"{}","description":"Additional inline styles to apply to the slider handle.","name":"handleStyles","type":"Partial<CSSStyleDeclaration>"},{"defaultValue":"false","description":"Marks the control as invalid for form validation purposes, reflecting `aria-invalid` on the handle\nelement once the control is touched.","name":"invalid","type":"boolean"},{"defaultValue":"\"after\"","description":"Position of the label relative to the component.","name":"labelPosition","type":"SliderLabelPosition"},{"defaultValue":"1","description":"Controls which tick labels are shown — only every n<sup>th</sup> label is rendered.","name":"labelStep","type":"number"},{"defaultValue":"null","description":"Controls which ticks render at large size — only every n<sup>th</sup> tick is enlarged. Pass `null` to disable large ticks.","name":"largeTickStep","type":"number | null"},{"defaultValue":"10","description":"Upper bound of the value range. Must be greater than `minValue`.","name":"maxValue","type":"number"},{"defaultValue":"0","description":"Lower bound of the value range.","name":"minValue","type":"number"},{"defaultValue":"\"horizontal\"","description":"Layout orientation of the component.","name":"orientation","type":"Orientation"},{"defaultValue":"false","description":"Prevents value changes while the control stays focusable and readable. When bound to a signal form\nfield via `[formField]`, this is written by the `FormField` directive.","name":"readonly","type":"boolean"},{"defaultValue":"\"full\"","description":"Border-radius preset applied to the slider handle.","name":"rounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"null","description":"Background color of the filled selection area between the minimum and the current value. Accepts a CSS color string or a `CSSStyleDeclaration` partial.","name":"selectionBackground","type":"string | Partial<CSSStyleDeclaration> | null"},{"defaultValue":"10","description":"Multiplier applied to the step when the user holds Shift while pressing an arrow key.","name":"shiftMultiplier","type":"number"},{"defaultValue":"false","description":"Displays value labels alongside tick marks. Only takes effect when `showTicks` is `true`.","name":"showLabels","type":"boolean"},{"defaultValue":"false","description":"Displays tick marks at each step position along the track.","name":"showTicks","type":"boolean"},{"defaultValue":"1","description":"Controls how many ticks are visible — only every n<sup>th</sup> tick is rendered.","name":"smallTickStep","type":"number"},{"defaultValue":"1","description":"Distance between the values the control can take. `maxValue` can always be reached, even when it\nisn't a whole number of steps from `minValue`.","name":"step","type":"number"},{"defaultValue":"false","description":"Marks the slider as touched. Error styling requires both `invalid` and `touched` to be `true`.\nWhen bound to a signal form field via `[formField]`, this is written by the `FormField` directive.","name":"touched","type":"boolean"},{"defaultValue":"null","description":"Background color of the unfilled track portion. Accepts a CSS color string or a `CSSStyleDeclaration` partial.","name":"trackBackground","type":"string | Partial<CSSStyleDeclaration> | null"},{"defaultValue":"undefined","description":"Width (vertical orientation) or height (horizontal orientation) of the track. Accepts a pixel number or any CSS length string.","name":"trackSize","type":"string | number"},{"defaultValue":"[0, 10]","description":"Selected range as `[minimum, maximum]`.\nA value out of range, off the step grid or unsorted is shown at the nearest valid values, and the model keeps its\nown until the user changes it. A development warning reports it.","name":"value","twoWay":true,"type":"[number, number]"}],"methods":[{"description":"Moves focus to the lower handle. Does nothing while disabled.","name":"focus","signature":"focus(options?: FocusOptions): void"}],"outputs":[{"description":"Emitted when a handle loses focus. A click on the track moves focus to the handle first.","name":"touch","type":"void"}],"properties":[],"page":{"path":"range-slider","title":"Range Slider"}},{"description":"","implements":["FormValueControl<number>"],"kind":"component","name":"SliderComponent","selector":"mona-slider","inputs":[{"alias":"aria-describedby","defaultValue":"null","description":"Id of an element that describes the control, such as an error message. On a range slider it describes\neach handle.","name":"ariaDescribedBy","type":"string | null"},{"alias":"aria-label","defaultValue":"null","description":"Accessible name of the control. On a range slider it names the group holding both handles.","name":"ariaLabel","type":"string | null"},{"alias":"aria-labelledby","defaultValue":"null","description":"Id of the element that labels the control. On a range slider each handle reads it before its own\nname.","name":"ariaLabelledBy","type":"string | null"},{"defaultValue":"null","description":"Human-readable override for the `aria-valuenow` announcement. Pass a function that receives the current value and returns the string to announce.","name":"ariaValueText","type":"((value: number) => string) | null"},{"defaultValue":"false","description":"Renders the component with reduced visual emphasis and removes pointer interaction.","name":"disabled","type":"boolean"},{"defaultValue":"[]","description":"Additional CSS classes to apply to the slider handle.","name":"handleClasses","type":"string | string[]"},{"defaultValue":"{}","description":"Additional inline styles to apply to the slider handle.","name":"handleStyles","type":"Partial<CSSStyleDeclaration>"},{"defaultValue":"false","description":"Marks the control as invalid for form validation purposes, reflecting `aria-invalid` on the handle\nelement once the control is touched.","name":"invalid","type":"boolean"},{"defaultValue":"\"after\"","description":"Position of the label relative to the component.","name":"labelPosition","type":"SliderLabelPosition"},{"defaultValue":"1","description":"Controls which tick labels are shown — only every n<sup>th</sup> label is rendered.","name":"labelStep","type":"number"},{"defaultValue":"null","description":"Controls which ticks render at large size — only every n<sup>th</sup> tick is enlarged. Pass `null` to disable large ticks.","name":"largeTickStep","type":"number | null"},{"defaultValue":"undefined","description":"Upper bound that wins over `maxValue`. When bound to a signal form field via `[formField]`, this is\nwritten from the field's `max` rule.","name":"max","type":"number | undefined"},{"defaultValue":"10","description":"Upper bound of the value range. Must be greater than `minValue`.","name":"maxValue","type":"number"},{"defaultValue":"undefined","description":"Lower bound that wins over `minValue`. When bound to a signal form field via `[formField]`, this is\nwritten from the field's `min` rule.","name":"min","type":"number | undefined"},{"defaultValue":"0","description":"Lower bound of the value range.","name":"minValue","type":"number"},{"defaultValue":"\"horizontal\"","description":"Layout orientation of the component.","name":"orientation","type":"Orientation"},{"defaultValue":"false","description":"Prevents value changes while the control stays focusable and readable. When bound to a signal form\nfield via `[formField]`, this is written by the `FormField` directive.","name":"readonly","type":"boolean"},{"defaultValue":"\"full\"","description":"Border-radius preset applied to the slider handle.","name":"rounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"null","description":"Background color of the filled selection area between the minimum and the current value. Accepts a CSS color string or a `CSSStyleDeclaration` partial.","name":"selectionBackground","type":"string | Partial<CSSStyleDeclaration> | null"},{"defaultValue":"10","description":"Multiplier applied to the step when the user holds Shift while pressing an arrow key.","name":"shiftMultiplier","type":"number"},{"defaultValue":"false","description":"Displays value labels alongside tick marks. Only takes effect when `showTicks` is `true`.","name":"showLabels","type":"boolean"},{"defaultValue":"false","description":"Displays tick marks at each step position along the track.","name":"showTicks","type":"boolean"},{"defaultValue":"1","description":"Controls how many ticks are visible — only every n<sup>th</sup> tick is rendered.","name":"smallTickStep","type":"number"},{"defaultValue":"1","description":"Distance between the values the control can take. `maxValue` can always be reached, even when it\nisn't a whole number of steps from `minValue`.","name":"step","type":"number"},{"defaultValue":"false","description":"Marks the slider as touched. Error styling requires both `invalid` and `touched` to be `true`.\nWhen bound to a signal form field via `[formField]`, this is written by the `FormField` directive.","name":"touched","type":"boolean"},{"defaultValue":"null","description":"Background color of the unfilled track portion. Accepts a CSS color string or a `CSSStyleDeclaration` partial.","name":"trackBackground","type":"string | Partial<CSSStyleDeclaration> | null"},{"defaultValue":"undefined","description":"Width (vertical orientation) or height (horizontal orientation) of the track. Accepts a pixel number or any CSS length string.","name":"trackSize","type":"string | number"},{"defaultValue":"0","description":"Current value. A value out of range or off the step grid is shown at the nearest valid value, and\nthe model keeps its own until the user changes it, so a `maxValue` that loads late can't overwrite saved data. A\ndevelopment warning reports it.","name":"value","twoWay":true,"type":"number"}],"methods":[{"description":"Moves focus to the handle. Does nothing while disabled.","name":"focus","signature":"focus(options?: FocusOptions): void"}],"outputs":[{"description":"Emitted when a handle loses focus. A click on the track moves focus to the handle first.","name":"touch","type":"void"}],"properties":[],"page":{"path":"slider","title":"Slider"}},{"description":"","kind":"directive","name":"SliderHandleTemplateDirective","selector":"ng-template[monaSliderHandleTemplate]","templateContext":{"members":[{"description":"","name":"$implicit","type":"number"}],"type":"SliderHandleTemplateContext"},"inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"range-slider","title":"Range Slider"}},{"description":"","kind":"directive","name":"SliderTickValueTemplateDirective","selector":"ng-template[monaSliderTickValueTemplate]","templateContext":{"members":[{"description":"","name":"$implicit","type":"number"}],"type":"SliderTickValueTemplateContext"},"inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"range-slider","title":"Range Slider"}},{"description":"","kind":"constant","name":"SLIDER_DEFAULT_MESSAGES","signature":"const SLIDER_DEFAULT_MESSAGES: MonaSliderMessages;","page":{"path":"slider","title":"Slider"}},{"description":"","extends":[],"kind":"interface","methods":[],"name":"SliderHandleTemplateContext","properties":[{"description":"","name":"$implicit","readonly":true,"type":"number"}]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"SliderTickValueTemplateContext","properties":[{"description":"","name":"$implicit","readonly":true,"type":"number"}]},{"description":"","kind":"type","name":"SliderLabelPosition","signature":"type SliderLabelPosition = \"before\" | \"after\";","page":{"path":"range-slider","title":"Range Slider"},"usedBy":["RangeSliderComponent","SliderComponent"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"MonaSortableMessages":"i18n","PreventableEvent":"common","SORTABLE_DEFAULT_MESSAGES":"sortable","SortableDirective":"sortable","SortableGroupDirective":"sortable","SortableHandleDirective":"sortable","SortableItemDirective":"sortable","SortableMoveEvent":"sortable","SortableMoveEventOptions":"sortable","SortableMoveKey":"sortable","SortableOrientation":"sortable","moveItem":"sortable"},"name":"sortable","pages":[{"path":"sortable","title":"Sortable"}],"symbols":[{"description":"Lets the user reorder a list's items by dragging them, or with Control+Shift and the arrow keys (Command+Shift on\nmacOS), and announces each move. Mark each item with `monaSortableItem`, render every item of the array in order,\nand bind the array two-way, `[(monaSortable)]`, or handle `sortableMove`. The list doesn't reorder its elements\nitself. Lists inside one `monaSortableGroup` exchange items.","exportAs":"monaSortable","kind":"directive","name":"SortableDirective","selector":"[monaSortable]","typeParameters":["T = unknown"],"inputs":[{"alias":"monaSortable","description":"The list's items, in the order they're shown. Bind it two-way, `[(monaSortable)]`, to take each\nnew order.","name":"items","required":true,"type":"readonly T[]"},{"alias":"sortableCanEnter","defaultValue":"null","description":"Whether an item from another list of the group may come into this one, such as to keep a list\nunder a limit. The list's own items can always move within it. Without it, every item may come in.","name":"canEnter","type":"((item: T) => boolean) | null"},{"alias":"sortableDisabled","defaultValue":"false","description":"Stops items from moving within the list, out of it or into it.","name":"disabled","type":"boolean"},{"alias":"sortableLabel","defaultValue":"\"\"","description":"The list's name in the announcement of a move into it from another list. Without it, the list's\n`aria-label` or `aria-labelledby` text.","name":"label","type":"string"},{"alias":"sortableLockAxis","defaultValue":"false","description":"Keeps a dragged item on the list's axis: across for a horizontal list, up and down for a vertical\none. A list whose rows wrap doesn't lock.","name":"lockAxis","type":"boolean"},{"alias":"sortableOrientation","defaultValue":"\"vertical\"","description":"How the items are laid out, which sets the keys that move them: Up and Down in a column, Left and\nRight in a row, and all four in rows that wrap.","name":"orientation","type":"SortableOrientation"}],"methods":[],"outputs":[{"description":"Emitted with the list's new items after an item moves within it, out of it or into it, unless the\nmove was refused.","name":"monaSortableChange","type":"T[]"},{"description":"Emitted with a {@link SortableMoveEvent} when an item moves within this list or into it from\nanother list, before the lists emit their new items. This event is preventable.","name":"sortableMove","type":"SortableMoveEvent<T>"}],"properties":[{"description":"The shortcuts that move an item, in `aria-keyshortcuts` form, or `null` while the list is\ndisabled. Items put it on themselves; an item that's presentational can bind it on the element in it that takes\nfocus.","name":"keyShortcuts","readonly":true,"type":"Signal<string | null>"}],"page":{"path":"sortable","title":"Sortable"},"usedBy":["SortableMoveEvent","SortableMoveEventOptions"]},{"description":"An item of a `monaSortable` list, given the array element it shows. Drag it, or focus it, or a control in it, and\npress Control+Shift with an arrow key, Home or End (Command+Shift on macOS) to move it. On a touch screen, press and\nhold it first, so a swipe still scrolls.","exportAs":"monaSortableItem","kind":"directive","name":"SortableItemDirective","selector":"[monaSortableItem]","typeParameters":["T = unknown"],"inputs":[{"alias":"monaSortableItem","description":"The element of the list's array that this item shows.","name":"item","required":true,"type":"T"},{"alias":"sortableDisabled","defaultValue":"false","description":"Stops this item from moving. Other items still move past it.","name":"disabled","type":"boolean"},{"alias":"sortableLabel","defaultValue":"\"\"","description":"The item's name in announcements of its moves. Without it, the item's `aria-label`,\n`aria-labelledby` text or own text.","name":"label","type":"string"}],"methods":[],"outputs":[],"properties":[{"description":"The shortcuts that move this item, in `aria-keyshortcuts` form, or `null` when it can't move. The\nitem sets them on itself, unless it has `role=\"presentation\"` or `role=\"none\"`: then bind them on the element in\nit that takes focus.","name":"keyShortcuts","readonly":true,"type":"Signal<string | null>"}],"page":{"path":"sortable","title":"Sortable"}},{"description":"Connects the sortable lists inside it, so an item can move from one to another: dragged, or with Control+Shift and\nthe arrow keys that cross the lists, such as Left and Right between columns. The lists keep their own items; the\none an item lands in emits the move.","exportAs":"monaSortableGroup","kind":"directive","name":"SortableGroupDirective","selector":"[monaSortableGroup]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"sortable","title":"Sortable"}},{"description":"Marks the part of a sortable item that starts a drag, such as a grip icon. With a handle, the rest of the item\ndoesn't start one, so its text can be selected. The keyboard still moves the item from anywhere in it.","kind":"directive","name":"SortableHandleDirective","selector":"[monaSortableHandle]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"sortable","title":"Sortable"}},{"description":"A move of an item, by pointer or keyboard, within a sortable list or into another list of its group. The list the\nitem lands in emits it. Call `preventDefault()` to refuse the move: the lists then don't emit their new items, and\nthe item goes back where it was.","extends":["PreventableEvent"],"kind":"class","name":"SortableMoveEvent","typeParameters":["T = unknown"],"inputs":[],"methods":[],"outputs":[],"properties":[{"description":"The item's index in `currentItems`.","name":"currentIndex","readonly":true,"type":"number"},{"description":"The items of the list the item lands in, after the move.","name":"currentItems","readonly":true,"type":"readonly T[]"},{"description":"The list the item lands in: the one that emits this event.","name":"currentList","readonly":true,"type":"SortableDirective<T>"},{"description":"The item that moves.","name":"item","readonly":true,"type":"T"},{"description":"The item's index in its list before the move.","name":"previousIndex","readonly":true,"type":"number"},{"description":"The items of the list the item comes from, after the move. For a move within one list, the same array as\n`currentItems`.","name":"previousItems","readonly":true,"type":"readonly T[]"},{"description":"The list the item comes from. The same as `currentList` for a move within one list.","name":"previousList","readonly":true,"type":"SortableDirective<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":"sortable","title":"Sortable"},"usedBy":["SortableDirective"]},{"description":"A copy of `items` with the item at `from` moved to `to`, the index it has afterwards. Use it to apply a move that a\nlist reports by index, such as a reordered tab. Indexes out of range are clamped; the array isn't changed.","kind":"function","name":"moveItem","signature":"function moveItem<T>(items: readonly T[], from: number, to: number): T[];","page":{"path":"sortable","title":"Sortable"}},{"description":"","kind":"constant","name":"SORTABLE_DEFAULT_MESSAGES","signature":"const SORTABLE_DEFAULT_MESSAGES: MonaSortableMessages;","page":{"path":"sortable","title":"Sortable"}},{"description":"","extends":[],"kind":"interface","methods":[],"name":"SortableMoveEventOptions","properties":[{"description":"","name":"currentIndex","readonly":true,"type":"number"},{"description":"","name":"currentItems","readonly":true,"type":"readonly T[]"},{"description":"","name":"currentList","readonly":true,"type":"SortableDirective<T>"},{"description":"","name":"item","readonly":true,"type":"T"},{"description":"","name":"previousIndex","readonly":true,"type":"number"},{"description":"","name":"previousItems","readonly":true,"type":"readonly T[]"},{"description":"","name":"previousList","readonly":true,"type":"SortableDirective<T>"}],"typeParameters":["T"],"page":{"path":"sortable","title":"Sortable"}},{"description":"The keys that move an item, held with Control and Shift (Command and Shift on macOS).","kind":"type","name":"SortableMoveKey","signature":"type SortableMoveKey = \"ArrowDown\" | \"ArrowLeft\" | \"ArrowRight\" | \"ArrowUp\" | \"End\" | \"Home\";","page":{"path":"sortable","title":"Sortable"}},{"description":"How a sortable list lays out its items: in a column (`vertical`), in a row (`horizontal`), or in rows that wrap\n(`mixed`), such as a grid of cards.","kind":"type","name":"SortableOrientation","signature":"type SortableOrientation = \"horizontal\" | \"mixed\" | \"vertical\";","page":{"path":"sortable","title":"Sortable"},"usedBy":["SortableDirective"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"MonaSparklineMessages":"i18n","SPARKLINE_DEFAULT_MESSAGES":"sparkline","SparklineComponent":"sparkline","SparklineCurve":"sparkline","SparklineMarker":"sparkline","SparklineType":"sparkline"},"name":"sparkline","pages":[{"path":"sparkline","title":"Sparkline"}],"symbols":[{"description":"A word-sized chart of a series of values, to sit on a line of text or in a table cell: a line, an area, columns or\nwins and losses. It's an image to assistive technology, which reads its name and a summary of its values: how many,\nthe first, the last, the lowest and the highest, or how many wins, losses and draws.\n\nValues run from left to right, also in a right-to-left layout, as on a chart's axis.","kind":"component","name":"SparklineComponent","selector":"mona-sparkline","inputs":[{"alias":"aria-describedby","defaultValue":"\"\"","description":"Ids of elements that describe the sparkline further. The summary of its values is added after them\nwhen it has a name.","name":"ariaDescribedBy","type":"string"},{"alias":"aria-label","defaultValue":"\"\"","description":"The sparkline's name, what its values are, such as \"Weekly sales\". Assistive technology reads the\nsummary of its values after it. Without a name, the summary is the name.","name":"ariaLabel","type":"string"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`, such as a size: it's\n6rem wide and 1.5rem tall by default.","name":"userClass","type":"string"},{"defaultValue":"\"\"","description":"The color of the line, the area and the bars, as a CSS color. The first chart color when empty.\nThe `--mona-sparkline-color` custom property sets it from a style sheet.","name":"color","type":"string"},{"defaultValue":"\"linear\"","description":"How a line or an area joins its values, as a chart's line series does: `\"linear\"`, `\"monotone-x\"`\n(smooth, never past the values), `\"natural\"` (smoother, but it can swing past them), `\"step\"` (changing halfway\nbetween values) or `\"step-after\"` (holding each value until the next). Columns and win-loss bars ignore it.","name":"curve","type":"SparklineCurve"},{"defaultValue":"[]","description":"The values, in order. A `null`, or anything that isn't a finite number, leaves a gap.","name":"data","type":"Iterable<number | null | undefined>"},{"defaultValue":"false","description":"Hides the sparkline from assistive technology, for one beside text that already gives its values.","name":"decorative","type":"boolean"},{"defaultValue":"null","description":"How the values are formatted in the summary assistive technology reads, such as\n`{ style: \"currency\", currency: \"EUR\" }`. The locale's number format when `null`.","name":"format","type":"Intl.NumberFormatOptions | null"},{"defaultValue":"[]","description":"Values a line or area sparkline marks with a dot: `\"first\"`, `\"last\"`, `\"min\"` and `\"max\"`.","name":"markers","type":"readonly SparklineMarker[]"},{"defaultValue":"null","description":"The value at the top of the sparkline. Give several sparklines the same `min` and `max` to compare\nthem. When `null`, the highest value, or zero for columns, or the reference value when it's higher.","name":"max","type":"number | null"},{"defaultValue":"null","description":"The value at the bottom of the sparkline. When `null`, the lowest value, or zero for columns, or the\nreference value when it's lower.","name":"min","type":"number | null"},{"defaultValue":"\"\"","description":"The color of column bars below zero and of losses, as a CSS color. The error color when empty. The\n`--mona-sparkline-negative-color` custom property sets it from a style sheet.","name":"negativeColor","type":"string"},{"defaultValue":"null","description":"A value to draw a dashed line at, such as a target or an average. Not drawn on a win-loss\nsparkline.","name":"referenceValue","type":"number | null"},{"defaultValue":"\"line\"","description":"How the values are drawn: `\"line\"`, `\"area\"`, `\"column\"` or `\"win-loss\"`.","name":"type","type":"SparklineType"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"sparkline","title":"Sparkline"}},{"description":"","kind":"constant","name":"SPARKLINE_DEFAULT_MESSAGES","signature":"const SPARKLINE_DEFAULT_MESSAGES: MonaSparklineMessages;","page":{"path":"sparkline","title":"Sparkline"}},{"description":"How a line or an area sparkline joins its values, as a chart's line series does: `\"linear\"` with straight segments,\n`\"monotone-x\"` with a smooth curve that never swings past the values, `\"natural\"` with a smoother curve that can,\n`\"step\"` in steps that change halfway between values, and `\"step-after\"` in steps that hold each value until the\nnext one.","kind":"type","name":"SparklineCurve","signature":"type SparklineCurve = \"linear\" | \"monotone-x\" | \"natural\" | \"step\" | \"step-after\";","page":{"path":"sparkline","title":"Sparkline"},"usedBy":["SparklineComponent"]},{"description":"A value a line or area sparkline marks with a dot: its first, its last, its lowest or its highest.","kind":"type","name":"SparklineMarker","signature":"type SparklineMarker = \"first\" | \"last\" | \"max\" | \"min\";","page":{"path":"sparkline","title":"Sparkline"},"usedBy":["SparklineComponent"]},{"description":"How a sparkline draws its values: `\"line\"` joins them, `\"area\"` fills under the line, `\"column\"` draws a bar for\neach from zero, and `\"win-loss\"` draws a bar up for each positive value, down for each negative one and a short tick\nfor each zero, all of one height.","kind":"type","name":"SparklineType","signature":"type SparklineType = \"area\" | \"column\" | \"line\" | \"win-loss\";","page":{"path":"sparkline","title":"Sparkline"},"usedBy":["SparklineComponent"]}]}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# `@nanahoshi/mona-ui/sparkline`
|
|
2
|
+
|
|
3
|
+
Everything `@nanahoshi/mona-ui/sparkline` exports.
|
|
4
|
+
|
|
5
|
+
**Guides:** [Sparkline](../sparkline.md)
|
|
6
|
+
|
|
7
|
+
## `SparklineComponent`
|
|
8
|
+
|
|
9
|
+
Component.
|
|
10
|
+
|
|
11
|
+
A word-sized chart of a series of values, to sit on a line of text or in a table cell: a line, an area, columns or
|
|
12
|
+
wins and losses. It's an image to assistive technology, which reads its name and a summary of its values: how many,
|
|
13
|
+
the first, the last, the lowest and the highest, or how many wins, losses and draws.
|
|
14
|
+
|
|
15
|
+
Values run from left to right, also in a right-to-left layout, as on a chart's axis.
|
|
16
|
+
|
|
17
|
+
**Selector:** `mona-sparkline`
|
|
18
|
+
|
|
19
|
+
### Inputs
|
|
20
|
+
|
|
21
|
+
| Name | Type | Default | Description |
|
|
22
|
+
| --- | --- | --- | --- |
|
|
23
|
+
| `aria-describedby` | `string` | `""` | Ids of elements that describe the sparkline further. The summary of its values is added after them when it has a name. |
|
|
24
|
+
| `aria-label` | `string` | `""` | The sparkline's name, what its values are, such as "Weekly sales". Assistive technology reads the summary of its values after it. Without a name, the summary is the name. |
|
|
25
|
+
| `class` | `string` | `""` | Additional CSS classes merged onto the host element via `tailwind-merge`, such as a size: it's 6rem wide and 1.5rem tall by default. |
|
|
26
|
+
| `color` | `string` | `""` | The color of the line, the area and the bars, as a CSS color. The first chart color when empty. The `--mona-sparkline-color` custom property sets it from a style sheet. |
|
|
27
|
+
| `curve` | `SparklineCurve` | `"linear"` | How a line or an area joins its values, as a chart's line series does: `"linear"`, `"monotone-x"` (smooth, never past the values), `"natural"` (smoother, but it can swing past them), `"step"` (changing halfway between values) or `"step-after"` (holding each value until the next). Columns and win-loss bars ignore it. |
|
|
28
|
+
| `data` | `Iterable<number \| null \| undefined>` | `[]` | The values, in order. A `null`, or anything that isn't a finite number, leaves a gap. |
|
|
29
|
+
| `decorative` | `boolean` | `false` | Hides the sparkline from assistive technology, for one beside text that already gives its values. |
|
|
30
|
+
| `format` | `Intl.NumberFormatOptions \| null` | `null` | How the values are formatted in the summary assistive technology reads, such as `{ style: "currency", currency: "EUR" }`. The locale's number format when `null`. |
|
|
31
|
+
| `markers` | `readonly SparklineMarker[]` | `[]` | Values a line or area sparkline marks with a dot: `"first"`, `"last"`, `"min"` and `"max"`. |
|
|
32
|
+
| `max` | `number \| null` | `null` | The value at the top of the sparkline. Give several sparklines the same `min` and `max` to compare them. When `null`, the highest value, or zero for columns, or the reference value when it's higher. |
|
|
33
|
+
| `min` | `number \| null` | `null` | The value at the bottom of the sparkline. When `null`, the lowest value, or zero for columns, or the reference value when it's lower. |
|
|
34
|
+
| `negativeColor` | `string` | `""` | The color of column bars below zero and of losses, as a CSS color. The error color when empty. The `--mona-sparkline-negative-color` custom property sets it from a style sheet. |
|
|
35
|
+
| `referenceValue` | `number \| null` | `null` | A value to draw a dashed line at, such as a target or an average. Not drawn on a win-loss sparkline. |
|
|
36
|
+
| `type` | `SparklineType` | `"line"` | How the values are drawn: `"line"`, `"area"`, `"column"` or `"win-loss"`. |
|
|
37
|
+
|
|
38
|
+
## `SPARKLINE_DEFAULT_MESSAGES`
|
|
39
|
+
|
|
40
|
+
Constant.
|
|
41
|
+
|
|
42
|
+
```typescript
|
|
43
|
+
const SPARKLINE_DEFAULT_MESSAGES: MonaSparklineMessages;
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## `SparklineCurve`
|
|
47
|
+
|
|
48
|
+
Type alias.
|
|
49
|
+
|
|
50
|
+
How a line or an area sparkline joins its values, as a chart's line series does: `"linear"` with straight segments,
|
|
51
|
+
`"monotone-x"` with a smooth curve that never swings past the values, `"natural"` with a smoother curve that can,
|
|
52
|
+
`"step"` in steps that change halfway between values, and `"step-after"` in steps that hold each value until the
|
|
53
|
+
next one.
|
|
54
|
+
|
|
55
|
+
```typescript
|
|
56
|
+
type SparklineCurve = "linear" | "monotone-x" | "natural" | "step" | "step-after";
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**Used by:** [`SparklineComponent`](sparkline.md#sparklinecomponent)
|
|
60
|
+
|
|
61
|
+
## `SparklineMarker`
|
|
62
|
+
|
|
63
|
+
Type alias.
|
|
64
|
+
|
|
65
|
+
A value a line or area sparkline marks with a dot: its first, its last, its lowest or its highest.
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
type SparklineMarker = "first" | "last" | "max" | "min";
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Used by:** [`SparklineComponent`](sparkline.md#sparklinecomponent)
|
|
72
|
+
|
|
73
|
+
## `SparklineType`
|
|
74
|
+
|
|
75
|
+
Type alias.
|
|
76
|
+
|
|
77
|
+
How a sparkline draws its values: `"line"` joins them, `"area"` fills under the line, `"column"` draws a bar for
|
|
78
|
+
each from zero, and `"win-loss"` draws a bar up for each positive value, down for each negative one and a short tick
|
|
79
|
+
for each zero, all of one height.
|
|
80
|
+
|
|
81
|
+
```typescript
|
|
82
|
+
type SparklineType = "area" | "column" | "line" | "win-loss";
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
**Used by:** [`SparklineComponent`](sparkline.md#sparklinecomponent)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"ClassInputType":"common","SPINNER_DEFAULT_MESSAGES":"spinner","SpinnerAppearance":"spinner","SpinnerCancelOptions":"spinner","SpinnerComponent":"spinner","SpinnerOptions":"spinner","SpinnerRef":"spinner","SpinnerService":"spinner","SpinnerSize":"spinner","SpinnerUpdate":"spinner"},"name":"spinner","pages":[{"path":"spinner","title":"Spinner"}],"symbols":[{"description":"An indeterminate loading indicator primitive for communicating ongoing activity.\nSupports multiple appearances and standard sizes. It's a named image, so it's found when a screen reader reaches it,\nnot announced. To announce loading, use `SpinnerService` or a live region that's already on the page.","kind":"component","name":"SpinnerComponent","selector":"mona-spinner","inputs":[{"defaultValue":"\"default\"","description":"Visual appearance of the spinner animation.","name":"appearance","type":"SpinnerAppearance"},{"alias":"aria-label","defaultValue":"undefined","description":"Accessible name of the spinner when it is not decorative.\nWhen not set, falls back to the localized loading text.","name":"ariaLabel","type":"string | undefined"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"ClassInputType"},{"defaultValue":"false","description":"When `true`, removes the `img` role and hides the spinner from assistive technology with `aria-hidden=\"true\"`.\nUseful when visible text says the same thing, or a parent element already manages loading semantics (such as\n`aria-busy=\"true\"` on a button).","name":"decorative","type":"boolean"},{"defaultValue":"\"medium\"","description":"Size preset controlling the dimensions of the indicator.","name":"size","type":"SpinnerSize"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"spinner","title":"Spinner"}},{"description":"","kind":"service","name":"SpinnerService","inputs":[],"methods":[{"description":"Hides and destroys the spinner associated with the given `SpinnerRef` or string `id`.","name":"hide","signature":"hide(refOrId: SpinnerRef | string): void"},{"description":"Displays a spinner loading overlay according to the provided options.\nReturns a `SpinnerRef` handle for lifecycle management and updates.","name":"show","signature":"show(options?: SpinnerOptions): SpinnerRef"},{"description":"Wraps an Observable operation with a Spinner lifecycle.\nShows the spinner on subscription and closes it when the observable completes, errors, or is unsubscribed.\nCancelling a `cancellable` spinner completes the returned observable and unsubscribes from the source, which also\naborts an HTTP request.","name":"track","signature":"track<T>(source: Observable<T>, options?: SpinnerOptions): Observable<T>"}],"outputs":[],"properties":[],"page":{"path":"spinner","title":"Spinner"}},{"description":"","kind":"constant","name":"SPINNER_DEFAULT_MESSAGES","signature":"const SPINNER_DEFAULT_MESSAGES: { cancel: string; loading: string; };","page":{"path":"spinner","title":"Spinner"}},{"description":"","extends":[],"kind":"interface","methods":[{"description":"Idempotently closes the request and releases target leases.","name":"close","signature":"close(): void"},{"description":"Dynamically updates `text`, `appearance`, or `size`.","name":"update","signature":"update(update: SpinnerUpdate): void"}],"name":"SpinnerRef","properties":[{"description":"Emits when the user cancels the loading request. Completes when the request ends, without emitting if it wasn't\ncancelled.","name":"cancelled$","readonly":true,"type":"Observable<void>"},{"description":"Unique request identifier.","name":"id","readonly":true,"type":"string"}],"page":{"path":"spinner","title":"Spinner"},"usedBy":["SpinnerService"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"SpinnerCancelOptions","properties":[{"description":"","name":"onCancel","optional":true,"type":"() => void"},{"description":"","name":"text","optional":true,"type":"string"}],"page":{"path":"spinner","title":"Spinner"},"usedBy":["SpinnerOptions"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"SpinnerOptions","properties":[{"description":"","name":"appearance","optional":true,"type":"SpinnerAppearance"},{"description":"","name":"cancellable","optional":true,"type":"boolean | SpinnerCancelOptions"},{"description":"","name":"delay","optional":true,"type":"number"},{"description":"","name":"id","optional":true,"type":"string"},{"description":"","name":"minimumVisibleDuration","optional":true,"type":"number"},{"description":"","name":"size","optional":true,"type":"SpinnerSize"},{"description":"","name":"target","optional":true,"type":"HTMLElement | ElementRef<HTMLElement> | readonly (HTMLElement | ElementRef<HTMLElement>)[]"},{"description":"","name":"text","optional":true,"type":"string"},{"description":"","name":"zIndex","optional":true,"type":"number"}],"page":{"path":"spinner","title":"Spinner"},"usedBy":["SpinnerService"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"SpinnerUpdate","properties":[{"description":"","name":"appearance","optional":true,"type":"SpinnerAppearance"},{"description":"","name":"size","optional":true,"type":"SpinnerSize"},{"description":"","name":"text","optional":true,"type":"string"}],"page":{"path":"spinner","title":"Spinner"},"usedBy":["SpinnerRef"]},{"description":"","kind":"type","name":"SpinnerAppearance","signature":"type SpinnerAppearance = \"default\" | \"pulsing\" | \"pulsing-triad\" | \"pulsing-ring\" | \"converging-spinner\";","page":{"path":"spinner","title":"Spinner"},"usedBy":["SpinnerComponent","SpinnerOptions","SpinnerUpdate"]},{"description":"","kind":"type","name":"SpinnerSize","signature":"type SpinnerSize = \"small\" | \"medium\" | \"large\";","page":{"path":"spinner","title":"Spinner"},"usedBy":["SpinnerComponent","SpinnerOptions","SpinnerUpdate"]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"MonaSplitButtonMessages":"i18n","PopupMenuCheckboxItemComponent":"popup-menu","PopupMenuGroupComponent":"popup-menu","PopupMenuGroupTemplateDirective":"popup-menu","PopupMenuIconTemplateDirective":"popup-menu","PopupMenuItemClickEvent":"popup-menu","PopupMenuItemComponent":"popup-menu","PopupMenuRadioGroupComponent":"popup-menu","PopupMenuRadioItemComponent":"popup-menu","PopupMenuSeparatorComponent":"popup-menu","PopupMenuShortcutTemplateDirective":"popup-menu","PopupMenuTextTemplateDirective":"popup-menu","SPLIT_BUTTON_DEFAULT_MESSAGES":"split-button","SplitButtonCheckboxItemComponent":"split-button","SplitButtonComponent":"split-button","SplitButtonGroupComponent":"split-button","SplitButtonItemComponent":"split-button","SplitButtonMenuButtonTemplateDirective":"split-button","SplitButtonMenuGroupTemplateDirective":"split-button","SplitButtonMenuItemIconTemplateDirective":"split-button","SplitButtonMenuItemShortcutTemplateDirective":"split-button","SplitButtonMenuItemTextTemplateDirective":"split-button","SplitButtonRadioGroupComponent":"split-button","SplitButtonRadioItemComponent":"split-button","SplitButtonSeparatorComponent":"split-button","SplitButtonTextTemplateDirective":"split-button"},"name":"split-button","pages":[{"path":"split-button","title":"Split Button"}],"symbols":[{"description":"","kind":"component","name":"SplitButtonComponent","selector":"mona-split-button","inputs":[{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name for the main action button. Leave it empty when the button shows its name as\ntext; set it (or `aria-labelledby`) when it shows only an icon. The pair of buttons is a group named by the\nmain button.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"ID of an external element that provides the accessible name for the main action button.\nTakes precedence over `aria-label` when both are set.","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":"Renders the component with reduced visual emphasis\nand removes pointer interaction from both the main button and the menu toggle button. Disabling it closes the\nopen menu.","name":"disabled","type":"boolean"},{"defaultValue":"false","description":"Renders the main button as a square for icon-only content, removing horizontal text padding.\nSet `aria-label` so the main button has a name.","name":"iconOnly","type":"boolean"},{"defaultValue":"false","description":"Shows a loading indicator on the main button and keeps the menu from opening while an operation\nis in progress. Starting to load closes the open menu.","name":"loading","type":"boolean"},{"defaultValue":"\"default\"","description":"Visual style preset applied to the button.","name":"look","type":"\"default\" | \"error\" | \"ghost\" | \"info\" | \"outline\" | \"primary\" | \"secondary\" | \"success\" | \"warning\""},{"defaultValue":"\"\"","description":"Accessible name for the menu toggle button.\nIf not provided, it's the localized \"More {text} options\", or \"Show menu options\" when the main button has no\n`text` or `aria-label`.","name":"menuButtonAriaLabel","type":"string"},{"defaultValue":"0","description":"Minimum width of the popup menu in pixels.\nA value of `0` means no minimum width is applied.","name":"popupWidth","type":"number"},{"defaultValue":"\"medium\"","description":"Border-radius preset applied to the button.","name":"rounded","type":"\"full\" | \"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"\"medium\"","description":"Size preset controlling the button's dimensions.","name":"size","type":"\"large\" | \"medium\" | \"small\""},{"defaultValue":"\"\"","description":"Primary text content displayed in the main action button.\nIgnored when a `monaSplitButtonTextTemplate` is provided.","name":"text","type":"string"}],"methods":[],"outputs":[{"description":"Emitted when the main action button is clicked.","name":"buttonClick","type":"MouseEvent"},{"description":"Emitted when a menu item in the popup is clicked.","name":"menuItemClick","type":"PopupMenuItemClickEvent"}],"properties":[],"page":{"path":"split-button","title":"Split Button"}},{"description":"","extends":["PopupMenuCheckboxItemComponent"],"kind":"component","name":"SplitButtonCheckboxItemComponent","selector":"mona-split-button-checkbox-item","inputs":[{"defaultValue":"false","description":"The checked state of the menu item. Activating the item toggles it (unless its `menuClick` is\nprevented) and emits `checkedChange`, so it works with or without a two-way binding.","name":"checked","twoWay":true,"type":"boolean"},{"defaultValue":"false","description":"Sets the disabled state of the menu item.","name":"disabled","type":"boolean"},{"defaultValue":"\"\"","description":"The text of the menu item.","name":"label","type":"string"},{"description":"A value that identifies the item. It's the `value` of the item's `menuClick` events.","name":"value","type":"unknown"}],"methods":[],"outputs":[{"description":"The click event of the menu item.\nEmits when the menu item is selected by keyboard or mouse.","name":"menuClick","type":"PopupMenuItemClickEvent"}],"properties":[],"inherited":[{"from":"PopupMenuCheckboxItemComponent","inputs":[{"defaultValue":"false","description":"The checked state of the menu item. Activating the item toggles it (unless its `menuClick` is\nprevented) and emits `checkedChange`, so it works with or without a two-way binding.","name":"checked","twoWay":true,"type":"boolean"},{"defaultValue":"false","description":"Sets the disabled state of the menu item.","name":"disabled","type":"boolean"},{"defaultValue":"\"\"","description":"The text of the menu item.","name":"label","type":"string"},{"description":"A value that identifies the item. It's the `value` of the item's `menuClick` events.","name":"value","type":"unknown"}],"methods":[],"outputs":[{"description":"The click event of the menu item.\nEmits when the menu item is selected by keyboard or mouse.","name":"menuClick","type":"PopupMenuItemClickEvent"}],"properties":[]}],"page":{"path":"split-button","title":"Split Button"}},{"description":"","extends":["PopupMenuItemComponent"],"kind":"component","name":"SplitButtonItemComponent","selector":"mona-split-button-item","inputs":[{"defaultValue":"false","description":"Sets the disabled state of the menu item.","name":"disabled","type":"boolean"},{"defaultValue":"\"\"","description":"The text of the menu item.","name":"label","type":"string"},{"description":"A value that identifies the item. It's the `value` of the item's `menuClick` events, so\nhandlers don't depend on the label's text.","name":"value","type":"unknown"}],"methods":[],"outputs":[{"description":"The click event of the menu item.\nEmits when the menu item is selected by keyboard or mouse.","name":"menuClick","type":"PopupMenuItemClickEvent"}],"properties":[],"inherited":[{"from":"PopupMenuItemComponent","inputs":[{"defaultValue":"false","description":"Sets the disabled state of the menu item.","name":"disabled","type":"boolean"},{"defaultValue":"\"\"","description":"The text of the menu item.","name":"label","type":"string"},{"description":"A value that identifies the item. It's the `value` of the item's `menuClick` events, so\nhandlers don't depend on the label's text.","name":"value","type":"unknown"}],"methods":[],"outputs":[{"description":"The click event of the menu item.\nEmits when the menu item is selected by keyboard or mouse.","name":"menuClick","type":"PopupMenuItemClickEvent"}],"properties":[]}],"page":{"path":"split-button","title":"Split Button"}},{"description":"","extends":["PopupMenuRadioItemComponent"],"kind":"component","name":"SplitButtonRadioItemComponent","selector":"mona-split-button-radio-item","inputs":[{"defaultValue":"false","description":"Sets the disabled state of the menu item.","name":"disabled","type":"boolean"},{"defaultValue":"\"\"","description":"The text of the menu item.","name":"label","type":"string"},{"description":"The value of the radio item.","name":"value","required":true,"type":"string"}],"methods":[],"outputs":[{"description":"The click event of the menu item.\nEmits when the menu item is selected by keyboard or mouse, before the radio group selects it. Preventing it\nkeeps the group's value and the menu open.","name":"menuClick","type":"PopupMenuItemClickEvent"}],"properties":[],"inherited":[{"from":"PopupMenuRadioItemComponent","inputs":[{"defaultValue":"false","description":"Sets the disabled state of the menu item.","name":"disabled","type":"boolean"},{"defaultValue":"\"\"","description":"The text of the menu item.","name":"label","type":"string"},{"description":"The value of the radio item.","name":"value","required":true,"type":"string"}],"methods":[],"outputs":[{"description":"The click event of the menu item.\nEmits when the menu item is selected by keyboard or mouse, before the radio group selects it. Preventing it\nkeeps the group's value and the menu open.","name":"menuClick","type":"PopupMenuItemClickEvent"}],"properties":[]}],"page":{"path":"split-button","title":"Split Button"}},{"description":"","extends":["PopupMenuRadioGroupComponent"],"kind":"component","name":"SplitButtonRadioGroupComponent","selector":"mona-split-button-radio-group","inputs":[{"defaultValue":"\"\"","description":"The title of the radio group.","name":"title","type":"string"},{"defaultValue":"\"\"","description":"The value of the selected radio item.","name":"value","twoWay":true,"type":"string"}],"methods":[],"outputs":[],"properties":[],"inherited":[{"from":"PopupMenuRadioGroupComponent","inputs":[{"defaultValue":"\"\"","description":"The title of the radio group.","name":"title","type":"string"},{"defaultValue":"\"\"","description":"The value of the selected radio item.","name":"value","twoWay":true,"type":"string"}],"methods":[],"outputs":[],"properties":[]}],"page":{"path":"split-button","title":"Split Button"}},{"description":"","extends":["PopupMenuGroupComponent"],"kind":"component","name":"SplitButtonGroupComponent","selector":"mona-split-button-group","inputs":[{"description":"Sets the title of the menu group.","name":"title","type":"string"}],"methods":[],"outputs":[],"properties":[],"inherited":[{"from":"PopupMenuGroupComponent","inputs":[{"description":"Sets the title of the menu group.","name":"title","type":"string"}],"methods":[],"outputs":[],"properties":[]}],"page":{"path":"split-button","title":"Split Button"}},{"description":"","extends":["PopupMenuSeparatorComponent"],"kind":"component","name":"SplitButtonSeparatorComponent","selector":"mona-split-button-separator","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"split-button","title":"Split Button"}},{"description":"","kind":"directive","name":"SplitButtonMenuButtonTemplateDirective","selector":"ng-template[monaSplitButtonMenuButtonTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"split-button","title":"Split Button"}},{"description":"","extends":["PopupMenuGroupTemplateDirective"],"kind":"directive","name":"SplitButtonMenuGroupTemplateDirective","selector":"ng-template[monaSplitButtonMenuGroupTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"split-button","title":"Split Button"}},{"description":"","extends":["PopupMenuIconTemplateDirective"],"kind":"directive","name":"SplitButtonMenuItemIconTemplateDirective","selector":"ng-template[monaSplitButtonMenuItemIconTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"split-button","title":"Split Button"}},{"description":"","extends":["PopupMenuShortcutTemplateDirective"],"kind":"directive","name":"SplitButtonMenuItemShortcutTemplateDirective","selector":"ng-template[monaSplitButtonMenuItemShortcutTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"split-button","title":"Split Button"}},{"description":"","extends":["PopupMenuTextTemplateDirective"],"kind":"directive","name":"SplitButtonMenuItemTextTemplateDirective","selector":"ng-template[monaSplitButtonMenuItemTextTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"split-button","title":"Split Button"}},{"description":"","kind":"directive","name":"SplitButtonTextTemplateDirective","selector":"ng-template[monaSplitButtonTextTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"split-button","title":"Split Button"}},{"description":"","kind":"constant","name":"SPLIT_BUTTON_DEFAULT_MESSAGES","signature":"const SPLIT_BUTTON_DEFAULT_MESSAGES: MonaSplitButtonMessages;","page":{"path":"split-button","title":"Split Button"}}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"links":{"MonaSplitterMessages":"i18n","SPLITTER_DEFAULT_MESSAGES":"splitter","SplitterComponent":"splitter","SplitterPaneComponent":"splitter"},"name":"splitter","pages":[{"path":"splitter","title":"Splitter"}],"symbols":[{"description":"","kind":"component","name":"SplitterPaneComponent","selector":"mona-splitter-pane","inputs":[{"defaultValue":"false","description":"Whether the pane is collapsed.","name":"collapsed","twoWay":true,"type":"boolean"},{"defaultValue":"false","description":"Whether the pane is collapsible.","name":"collapsible","type":"boolean"},{"defaultValue":"\"\"","description":"Names the separator after this pane, for assistive technology. Without it, the separator has a generic\nname, which can't tell one from another when a splitter has several.","name":"label","type":"string"},{"defaultValue":"null","description":"The maximum size of the pane, in pixels. A number or a string like `\"200px\"`. Percentages aren't\nsupported, and are ignored with a warning in development.","name":"max","type":"string | number | null"},{"defaultValue":"null","description":"The minimum size of the pane, in pixels. A number or a string like `\"200px\"`. Percentages aren't\nsupported, and are ignored with a warning in development.","name":"min","type":"string | number | null"},{"defaultValue":"true","description":"Whether the pane is resizable. A separator only moves, by pointer or key, when the panes on both of its\nsides are.","name":"resizable","type":"boolean"},{"defaultValue":"\"\"","description":"The size of the pane.","name":"size","twoWay":true,"type":"string | number"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"splitter","title":"Splitter"}},{"description":"","kind":"component","name":"SplitterComponent","selector":"mona-splitter","inputs":[{"defaultValue":"10","description":"How far an arrow key moves a separator, in pixels.","name":"keyboardStep","type":"number"},{"defaultValue":"\"horizontal\"","description":"The layout direction of the splitter panes.","name":"orientation","type":"\"horizontal\" | \"vertical\""}],"methods":[],"outputs":[{"description":"Emitted with every pane's `size`, in order, once a drag ends, after each key that resizes, and when the\nseparator collapses or expands a pane. Use it to save a layout: `sizeChange` on a pane fires on every move, and these\nvalues can go straight back into `size`.","name":"resizeEnd","type":"readonly (string | number)[]"}],"properties":[],"page":{"path":"splitter","title":"Splitter"}},{"description":"","kind":"constant","name":"SPLITTER_DEFAULT_MESSAGES","signature":"const SPLITTER_DEFAULT_MESSAGES: MonaSplitterMessages;","page":{"path":"splitter","title":"Splitter"}}]}
|