@nanahoshi/mona-ui 0.25.0 → 0.26.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/command/package.json +4 -0
- package/docs/auto-complete.md +733 -0
- package/docs/avatar.md +220 -0
- package/docs/breadcrumb.md +320 -0
- package/docs/button-group.md +392 -0
- package/docs/button.md +256 -0
- package/docs/calendar.md +515 -0
- package/docs/card.md +292 -0
- package/docs/chart.md +4058 -0
- package/docs/checkbox.md +374 -0
- package/docs/chip.md +339 -0
- package/docs/circular-progress-bar.md +287 -0
- package/docs/collapsible.md +308 -0
- package/docs/color-gradient.md +336 -0
- package/docs/color-palette.md +317 -0
- package/docs/color-picker.md +387 -0
- package/docs/combo-box.md +764 -0
- package/docs/command.md +582 -0
- package/docs/contextmenu.md +530 -0
- package/docs/date-picker.md +251 -0
- package/docs/datetime-picker.md +284 -0
- package/docs/decimal-textbox.md +260 -0
- package/docs/dialog.md +822 -0
- package/docs/dropdown-button.md +507 -0
- package/docs/dropdown-list.md +779 -0
- package/docs/editor.md +374 -0
- package/docs/expansion-panel.md +348 -0
- package/docs/fieldset.md +217 -0
- package/docs/forms.md +162 -0
- package/docs/grid.md +2053 -0
- package/docs/input.md +197 -0
- package/docs/installation.md +54 -0
- package/docs/introduction.md +46 -0
- package/docs/label.md +340 -0
- package/docs/list-box.md +637 -0
- package/docs/list-view.md +584 -0
- package/docs/menubar.md +559 -0
- package/docs/multi-select.md +765 -0
- package/docs/notification.md +460 -0
- package/docs/numeric-textbox.md +301 -0
- package/docs/otp-input.md +539 -0
- package/docs/pager.md +513 -0
- package/docs/placeholder.md +176 -0
- package/docs/popover.md +423 -0
- package/docs/popup-menu.md +658 -0
- package/docs/popup.md +617 -0
- package/docs/progress-bar.md +368 -0
- package/docs/radio-button.md +451 -0
- package/docs/range-slider.md +367 -0
- package/docs/rating.md +518 -0
- package/docs/scroll-view.md +375 -0
- package/docs/segmented.md +434 -0
- package/docs/sheet.md +348 -0
- package/docs/sidebar.md +1126 -0
- package/docs/skeleton.md +181 -0
- package/docs/slider.md +423 -0
- package/docs/spinner.md +370 -0
- package/docs/split-button.md +522 -0
- package/docs/splitter.md +342 -0
- package/docs/stepper.md +539 -0
- package/docs/switch.md +340 -0
- package/docs/tabs.md +542 -0
- package/docs/textarea.md +196 -0
- package/docs/textbox.md +332 -0
- package/docs/theming.md +403 -0
- package/docs/time-picker.md +254 -0
- package/docs/tooltip-directive.md +340 -0
- package/docs/tooltip.md +321 -0
- package/docs/tree-view.md +1018 -0
- package/docs/window.md +663 -0
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +8 -0
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-button.mjs +14 -2
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +5 -2
- package/fesm2022/nanahoshi-mona-ui-chart.mjs +108 -22
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-chip.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +16 -2
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-command.mjs +924 -0
- package/fesm2022/nanahoshi-mona-ui-common.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +10 -6
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +9 -5
- package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +9 -5
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +55 -1
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +3 -2
- package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +13 -0
- package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +5 -0
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-2tVhD2hK.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-DjNnVxHE.mjs} +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-BAN70Wcn.mjs → nanahoshi-mona-ui-grid-grid-list.component-ihQIKeP-.mjs} +5 -5
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-C_kCaA5b.mjs → nanahoshi-mona-ui-grid-grid-row.component-BpnybNcs.mjs} +18 -35
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-BsNfrAHz.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-CYlgfc7c.mjs} +5 -5
- package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CEfVa7eo.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-LCzfCYd3.mjs} +4653 -4529
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +1 -0
- package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +168 -0
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +19 -1
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +14 -0
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +32 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +10 -0
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +15 -8
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +8 -5
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +9 -0
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-popover.mjs +14 -6
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +48 -183
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +4 -0
- package/fesm2022/nanahoshi-mona-ui-rating.mjs +2 -0
- package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +7 -3
- package/fesm2022/nanahoshi-mona-ui-segmented.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-sheet.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +8 -3
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +10 -7
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +18 -21
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +11 -8
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +9 -1
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +53 -21
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +2 -1
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +16 -5
- package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +13 -11
- package/fesm2022/nanahoshi-mona-ui-window.mjs +12 -5
- package/i18n/catalogs/en-US.messages.json +10 -0
- package/internal/popup-menu/package.json +4 -0
- package/llms.txt +123 -0
- package/locales/ar-sa/ar-sa.messages.json +10 -0
- package/locales/de-de/de-de.messages.json +10 -0
- package/locales/es-es/es-es.messages.json +10 -0
- package/locales/fr-fr/fr-fr.messages.json +10 -0
- package/locales/id-id/id-id.messages.json +10 -0
- package/locales/it-it/it-it.messages.json +10 -0
- package/locales/ja-jp/ja-jp.messages.json +10 -0
- package/locales/ko-kr/ko-kr.messages.json +10 -0
- package/locales/pt-br/pt-br.messages.json +10 -0
- package/locales/ru-ru/ru-ru.messages.json +10 -0
- package/locales/tr-tr/tr-tr.messages.json +10 -0
- package/locales/zh-cn/zh-cn.messages.json +10 -0
- package/locales/zh-tw/zh-tw.messages.json +10 -0
- package/package.json +9 -1
- package/styles.css +12 -2
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +1 -1
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +8 -0
- package/types/nanahoshi-mona-ui-button.d.ts +12 -0
- package/types/nanahoshi-mona-ui-calendar.d.ts +3 -0
- package/types/nanahoshi-mona-ui-chart.d.ts +200 -0
- package/types/nanahoshi-mona-ui-check-box.d.ts +4 -0
- package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +4 -0
- package/types/nanahoshi-mona-ui-collapsible.d.ts +10 -0
- package/types/nanahoshi-mona-ui-combo-box.d.ts +1 -1
- package/types/nanahoshi-mona-ui-command.d.ts +253 -0
- package/types/nanahoshi-mona-ui-common.d.ts +17 -1
- package/types/nanahoshi-mona-ui-contextmenu.d.ts +5 -2
- package/types/nanahoshi-mona-ui-date-picker.d.ts +2 -1
- package/types/nanahoshi-mona-ui-datetime-picker.d.ts +2 -1
- package/types/nanahoshi-mona-ui-dialog.d.ts +58 -1
- package/types/nanahoshi-mona-ui-dropdown-button.d.ts +7 -3
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +55 -1
- package/types/nanahoshi-mona-ui-editor.d.ts +31 -0
- package/types/nanahoshi-mona-ui-expansion-panel.d.ts +13 -0
- package/types/nanahoshi-mona-ui-fieldset.d.ts +5 -0
- package/types/nanahoshi-mona-ui-grid.d.ts +162 -35
- package/types/nanahoshi-mona-ui-i18n.d.ts +144 -1
- package/types/nanahoshi-mona-ui-internal-list.d.ts +16 -1
- package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +165 -0
- package/types/nanahoshi-mona-ui-internal-tree.d.ts +21 -2
- package/types/nanahoshi-mona-ui-internal.d.ts +4 -5
- package/types/nanahoshi-mona-ui-label.d.ts +1 -0
- package/types/nanahoshi-mona-ui-list-box.d.ts +27 -4
- package/types/nanahoshi-mona-ui-list-view.d.ts +34 -1
- package/types/nanahoshi-mona-ui-list.d.ts +1 -1
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +10 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +10 -0
- package/types/nanahoshi-mona-ui-menubar.d.ts +10 -3
- package/types/nanahoshi-mona-ui-multi-select.d.ts +3 -3
- package/types/nanahoshi-mona-ui-notification.d.ts +9 -0
- package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +1 -1
- package/types/nanahoshi-mona-ui-otp-input.d.ts +1 -0
- package/types/nanahoshi-mona-ui-pager.d.ts +5 -1
- package/types/nanahoshi-mona-ui-popover.d.ts +9 -1
- package/types/nanahoshi-mona-ui-popup-menu.d.ts +48 -161
- package/types/nanahoshi-mona-ui-popup.d.ts +16 -0
- package/types/nanahoshi-mona-ui-progress-bar.d.ts +4 -0
- package/types/nanahoshi-mona-ui-rating.d.ts +2 -0
- package/types/nanahoshi-mona-ui-segmented.d.ts +1 -0
- package/types/nanahoshi-mona-ui-sheet.d.ts +1 -1
- package/types/nanahoshi-mona-ui-slider.d.ts +2 -0
- package/types/nanahoshi-mona-ui-spinner.d.ts +7 -0
- package/types/nanahoshi-mona-ui-split-button.d.ts +7 -4
- package/types/nanahoshi-mona-ui-stepper.d.ts +11 -2
- package/types/nanahoshi-mona-ui-tabs.d.ts +4 -1
- package/types/nanahoshi-mona-ui-text-box.d.ts +9 -1
- package/types/nanahoshi-mona-ui-time-picker.d.ts +2 -1
- package/types/nanahoshi-mona-ui-tooltip.d.ts +10 -2
- package/types/nanahoshi-mona-ui-tree-view.d.ts +6 -5
- package/types/nanahoshi-mona-ui-window.d.ts +66 -1
package/llms.txt
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Mona UI
|
|
2
|
+
|
|
3
|
+
Mona UI is an Angular component library styled with Tailwind CSS 4. Its components are standalone and signal based: inputs are `input()` and `model()`, events are `output()`.
|
|
4
|
+
|
|
5
|
+
## Essentials
|
|
6
|
+
|
|
7
|
+
- Install with `npm install @nanahoshi/mona-ui`. The application needs Tailwind CSS 4.
|
|
8
|
+
- Import the styles in the main stylesheet, after Tailwind: `@import "tailwindcss";` then `@import "@nanahoshi/mona-ui/styles.css";`. Without it, components render unstyled.
|
|
9
|
+
- Import every symbol from its entry point, such as `import { ButtonDirective } from "@nanahoshi/mona-ui/button";`. Each page below names its entry point. The root `@nanahoshi/mona-ui` exports nothing.
|
|
10
|
+
- Add what you import to the standalone component's `imports` array. There are no NgModules.
|
|
11
|
+
- No provider is required. Optional ones: `provideThemeOptions` (`@nanahoshi/mona-ui/theme`) to pick a theme, `provideMonaI18n` (`@nanahoshi/mona-ui/i18n`) for locale and messages, `provideNotificationDefaults` (`@nanahoshi/mona-ui/notification`) and `provideSidebarStorage` (`@nanahoshi/mona-ui/sidebar`).
|
|
12
|
+
- Form controls implement `FormValueControl` from `@angular/forms/signals`: bind them with `[formField]`. They have no `ControlValueAccessor`, but `[(ngModel)]` and `[formControl]` still work, because Angular binds a control's `value` and `touch` directly.
|
|
13
|
+
|
|
14
|
+
## Common mistakes
|
|
15
|
+
|
|
16
|
+
- Importing from `@nanahoshi/mona-ui` instead of an entry point such as `@nanahoshi/mona-ui/grid`.
|
|
17
|
+
- Leaving out `@nanahoshi/mona-ui/styles.css`, or importing it before Tailwind.
|
|
18
|
+
- Treating a `placeholder` as a label. Give each control a name: a `<label for>` pointed at its input id, `aria-label` or `aria-labelledby`. Those two are inputs on every component that takes a name, and the component moves them to the element that has the role.
|
|
19
|
+
- Expecting the grid, list box or tabs to change their data. They report the change through an event, and you write it back to the data you bound.
|
|
20
|
+
- Putting `[disabled]` on a `monaTooltip` that sits on a button: it disables the button too. Use `[tooltipDisabled]`.
|
|
21
|
+
- Using the rich text editor without its extra styles: `@import "remixicon/fonts/remixicon.css";` and `@plugin "@tailwindcss/typography";`.
|
|
22
|
+
|
|
23
|
+
## Get Started
|
|
24
|
+
|
|
25
|
+
- [Introduction](docs/introduction.md): What Mona UI is, what it includes and how it is built.
|
|
26
|
+
- [Installation](docs/installation.md): Install the package, set up its styles and choose a theme.
|
|
27
|
+
- [Theming](docs/theming.md): Customize colors, density and shape through design tokens.
|
|
28
|
+
- [Forms](docs/forms.md): Connect Mona UI controls to Angular signal forms.
|
|
29
|
+
|
|
30
|
+
## Actions
|
|
31
|
+
|
|
32
|
+
- [Button](docs/button.md): Styles a native button and adds loading, toggle and disabled behavior.
|
|
33
|
+
- [Button Group](docs/button-group.md): Joins related buttons into one control with a shared look and size.
|
|
34
|
+
- [Dropdown Button](docs/dropdown-button.md): A single button that opens a menu of actions.
|
|
35
|
+
- [Split Button](docs/split-button.md): A primary action button paired with a menu of secondary actions.
|
|
36
|
+
|
|
37
|
+
## Form Fields
|
|
38
|
+
|
|
39
|
+
- [Decimal Text Box](docs/decimal-textbox.md): A numeric input whose value is a decimal string, for exact values like money.
|
|
40
|
+
- [Editor](docs/editor.md): A rich text editor with a configurable toolbar and an HTML value.
|
|
41
|
+
- [Fieldset](docs/fieldset.md): Groups related form controls under a labelled border.
|
|
42
|
+
- [Input](docs/input.md): Styles a native input element and keeps its browser behavior.
|
|
43
|
+
- [Label](docs/label.md): Styled, accessible labels associated with form controls.
|
|
44
|
+
- [Numeric Text Box](docs/numeric-textbox.md): A number input with spinner buttons, bounds and decimal formatting.
|
|
45
|
+
- [OTP Input](docs/otp-input.md): A segmented input for one-time passwords and verification codes.
|
|
46
|
+
- [Text Area](docs/textarea.md): Styles a native textarea element and keeps its browser behavior.
|
|
47
|
+
- [Text Box](docs/textbox.md): A text input with prefix and suffix slots and an optional clear button.
|
|
48
|
+
|
|
49
|
+
## Selection
|
|
50
|
+
|
|
51
|
+
- [Auto Complete](docs/auto-complete.md): A text input that suggests matching options as the user types.
|
|
52
|
+
- [Checkbox](docs/checkbox.md): A checkbox with label handling and an indeterminate state.
|
|
53
|
+
- [Combo Box](docs/combo-box.md): A text input that resolves typed text to one item from a collection.
|
|
54
|
+
- [Dropdown List](docs/dropdown-list.md): A closed control that opens a list for choosing exactly one option.
|
|
55
|
+
- [Multi Select](docs/multi-select.md): A control that shows selected options as removable tags.
|
|
56
|
+
- [Radio Button](docs/radio-button.md): Radio buttons and groups for choosing one option from several.
|
|
57
|
+
- [Range Slider](docs/range-slider.md): A two-handle slider for selecting a numeric interval.
|
|
58
|
+
- [Rating](docs/rating.md): Choose a value from a visual scale of icons, in whole or half steps.
|
|
59
|
+
- [Segmented](docs/segmented.md): A compact set of mutually exclusive options.
|
|
60
|
+
- [Slider](docs/slider.md): A single-handle slider for selecting a numeric value.
|
|
61
|
+
- [Switch](docs/switch.md): A binary on and off toggle with optional state labels.
|
|
62
|
+
|
|
63
|
+
## Date, Time & Color
|
|
64
|
+
|
|
65
|
+
- [Calendar](docs/calendar.md): Date selection in single, multiple and range modes across month, year and decade views.
|
|
66
|
+
- [Color Gradient](docs/color-gradient.md): A color editor for saturation, value, hue and alpha.
|
|
67
|
+
- [Color Palette](docs/color-palette.md): A grid of selectable color swatches from a built-in or custom scheme.
|
|
68
|
+
- [Color Picker](docs/color-picker.md): A compact control that opens a color palette or gradient editor.
|
|
69
|
+
- [Date Picker](docs/date-picker.md): A date input that opens a calendar popup.
|
|
70
|
+
- [Date Time Picker](docs/datetime-picker.md): An input for choosing a date and a time together.
|
|
71
|
+
- [Time Picker](docs/time-picker.md): A time input that opens a time selector popup.
|
|
72
|
+
|
|
73
|
+
## Data
|
|
74
|
+
|
|
75
|
+
- [Avatar](docs/avatar.md): Shows a person or entity as an image, text label or projected content.
|
|
76
|
+
- [Chip](docs/chip.md): A compact label that can be selected, removed or given a prefix.
|
|
77
|
+
- [Grid](docs/grid.md): Tabular data with paging, sorting, filtering, grouping, selection and editing.
|
|
78
|
+
- [List Box](docs/list-box.md): A selectable list with a toolbar for moving items and transferring them between lists.
|
|
79
|
+
- [List View](docs/list-view.md): Renders a collection as a list, with optional selection, grouping and paging.
|
|
80
|
+
- [Pager](docs/pager.md): Pagination controls with page buttons, a page-size selector and a page-jump input.
|
|
81
|
+
- [Tree View](docs/tree-view.md): Hierarchical data as an expandable, keyboard-navigable tree.
|
|
82
|
+
|
|
83
|
+
## Charts
|
|
84
|
+
|
|
85
|
+
- [Chart](docs/chart.md): High-performance Canvas charts composed from series, axes and interaction parts.
|
|
86
|
+
|
|
87
|
+
## Navigation
|
|
88
|
+
|
|
89
|
+
- [Breadcrumb](docs/breadcrumb.md): A navigation trail showing where the current page sits in a hierarchy.
|
|
90
|
+
- [Command Menu](docs/command.md): A searchable list of actions or options, operated from one input, inline or in a dialog.
|
|
91
|
+
- [Context Menu](docs/contextmenu.md): A popup menu attached to an element, opened by right-click or keyboard.
|
|
92
|
+
- [Menubar](docs/menubar.md): A persistent horizontal bar of top-level menus.
|
|
93
|
+
- [Popup Menu](docs/popup-menu.md): Opens a menu from an element you already have, such as an icon button or a row action.
|
|
94
|
+
- [Sidebar](docs/sidebar.md): A composable application shell with collapsible side panels.
|
|
95
|
+
- [Stepper](docs/stepper.md): Guides users through a sequential, multi-step process.
|
|
96
|
+
- [Tabs](docs/tabs.md): Switches between panels of related content.
|
|
97
|
+
|
|
98
|
+
## Overlays
|
|
99
|
+
|
|
100
|
+
- [Dialog](docs/dialog.md): Modal or non-modal messages, confirmations and content dialogs.
|
|
101
|
+
- [Popover](docs/popover.md): A floating panel anchored to a target and opened by a configurable trigger.
|
|
102
|
+
- [Popup](docs/popup.md): Positions arbitrary content relative to an anchor, a point or the viewport.
|
|
103
|
+
- [Sheet](docs/sheet.md): A modal panel attached to an edge of the viewport.
|
|
104
|
+
- [Tooltip](docs/tooltip.md): A floating tooltip with projected content, anchored to a separate target.
|
|
105
|
+
- [Tooltip Directive](docs/tooltip-directive.md): Replaces a native title attribute with a styled tooltip.
|
|
106
|
+
- [Window](docs/window.md): A draggable, resizable floating window that can be minimized and maximized.
|
|
107
|
+
|
|
108
|
+
## Layout
|
|
109
|
+
|
|
110
|
+
- [Card](docs/card.md): Groups related content and actions on one raised surface.
|
|
111
|
+
- [Collapsible](docs/collapsible.md): A headless disclosure primitive for expandable regions.
|
|
112
|
+
- [Expansion Panel](docs/expansion-panel.md): A header that shows and hides its content, designed to stack with other panels.
|
|
113
|
+
- [Scroll View](docs/scroll-view.md): A fixed-size carousel that pages through a collection one item at a time.
|
|
114
|
+
- [Splitter](docs/splitter.md): Lays out panes in a row or column that can be resized and collapsed.
|
|
115
|
+
|
|
116
|
+
## Feedback
|
|
117
|
+
|
|
118
|
+
- [Circular Progress Bar](docs/circular-progress-bar.md): A circular progress indicator with an optional custom label.
|
|
119
|
+
- [Notification](docs/notification.md): Transient toast notifications with optional auto-dismiss.
|
|
120
|
+
- [Placeholder](docs/placeholder.md): Fills an empty area with a muted label or projected content.
|
|
121
|
+
- [Progress Bar](docs/progress-bar.md): A horizontal progress indicator with determinate and indeterminate modes.
|
|
122
|
+
- [Skeleton](docs/skeleton.md): A decorative placeholder block for content that is still loading.
|
|
123
|
+
- [Spinner](docs/spinner.md): An animated loading indicator and a service for loading overlays.
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "مسح"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "قائمة الأوامر",
|
|
162
|
+
"inputLabel": "البحث في الأوامر",
|
|
163
|
+
"listLabel": "النتائج",
|
|
164
|
+
"loading": "جارٍ التحميل",
|
|
165
|
+
"noResults": "لم يتم العثور على نتائج",
|
|
166
|
+
"placeholder": "اكتب أمرًا أو ابحث…",
|
|
167
|
+
"resultsAvailable": "عدد النتائج المتاحة: {count}"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "منتقي التاريخ",
|
|
162
171
|
"openCalendar": "فتح التقويم"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "عامل تصفية {column}: {operator}",
|
|
312
321
|
"filterPlaceholder": "تصفية…",
|
|
313
322
|
"group": "مجموعة",
|
|
323
|
+
"groupOptions": "خيارات مجموعة {column}",
|
|
314
324
|
"loading": "جارٍ التحميل",
|
|
315
325
|
"modified": "تم التعديل",
|
|
316
326
|
"moveAsNext": "نقل كعنصر تالٍ",
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "Leeren"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "Befehlsmenü",
|
|
162
|
+
"inputLabel": "Befehle suchen",
|
|
163
|
+
"listLabel": "Ergebnisse",
|
|
164
|
+
"loading": "Wird geladen",
|
|
165
|
+
"noResults": "Keine Ergebnisse gefunden",
|
|
166
|
+
"placeholder": "Befehl eingeben oder suchen…",
|
|
167
|
+
"resultsAvailable": "{count, plural, =1 {1 Ergebnis verfügbar} other {# Ergebnisse verfügbar}}"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "Datumsauswahl",
|
|
162
171
|
"openCalendar": "Kalender öffnen"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "Filteroperator für {column}: {operator}",
|
|
312
321
|
"filterPlaceholder": "Filtern...",
|
|
313
322
|
"group": "Gruppe",
|
|
323
|
+
"groupOptions": "Gruppenoptionen für {column}",
|
|
314
324
|
"loading": "Wird geladen",
|
|
315
325
|
"modified": "Geändert",
|
|
316
326
|
"moveAsNext": "Als Nächstes verschieben",
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "Limpiar"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "Menú de comandos",
|
|
162
|
+
"inputLabel": "Buscar comandos",
|
|
163
|
+
"listLabel": "Resultados",
|
|
164
|
+
"loading": "Cargando",
|
|
165
|
+
"noResults": "No se han encontrado resultados",
|
|
166
|
+
"placeholder": "Escribe un comando o busca…",
|
|
167
|
+
"resultsAvailable": "{count, plural, =1 {1 resultado disponible} other {# resultados disponibles}}"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "Selector de fecha",
|
|
162
171
|
"openCalendar": "Abrir calendario"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "Operador de filtro de {column}: {operator}",
|
|
312
321
|
"filterPlaceholder": "Filtrar...",
|
|
313
322
|
"group": "Grupo",
|
|
323
|
+
"groupOptions": "Opciones de grupo de {column}",
|
|
314
324
|
"loading": "Cargando",
|
|
315
325
|
"modified": "Modificado",
|
|
316
326
|
"moveAsNext": "Mover como siguiente",
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "Effacer"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "Menu de commandes",
|
|
162
|
+
"inputLabel": "Rechercher des commandes",
|
|
163
|
+
"listLabel": "Résultats",
|
|
164
|
+
"loading": "Chargement",
|
|
165
|
+
"noResults": "Aucun résultat trouvé",
|
|
166
|
+
"placeholder": "Saisissez une commande ou recherchez…",
|
|
167
|
+
"resultsAvailable": "{count, plural, =1 {1 résultat disponible} other {# résultats disponibles}}"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "Sélecteur de date",
|
|
162
171
|
"openCalendar": "Ouvrir le calendrier"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "Opérateur de filtre de {column} : {operator}",
|
|
312
321
|
"filterPlaceholder": "Filtrer...",
|
|
313
322
|
"group": "Groupe",
|
|
323
|
+
"groupOptions": "Options du groupe {column}",
|
|
314
324
|
"loading": "Chargement",
|
|
315
325
|
"modified": "Modifié",
|
|
316
326
|
"moveAsNext": "Déplacer à la position suivante",
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "Bersihkan"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "Menu perintah",
|
|
162
|
+
"inputLabel": "Cari perintah",
|
|
163
|
+
"listLabel": "Hasil",
|
|
164
|
+
"loading": "Memuat",
|
|
165
|
+
"noResults": "Tidak ada hasil",
|
|
166
|
+
"placeholder": "Ketik perintah atau cari…",
|
|
167
|
+
"resultsAvailable": "{count} hasil tersedia"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "Pemilih tanggal",
|
|
162
171
|
"openCalendar": "Buka kalender"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "Operator saringan kolom {column}: {operator}",
|
|
312
321
|
"filterPlaceholder": "Saring...",
|
|
313
322
|
"group": "Grup",
|
|
323
|
+
"groupOptions": "Opsi grup {column}",
|
|
314
324
|
"loading": "Memuat",
|
|
315
325
|
"modified": "Diubah",
|
|
316
326
|
"moveAsNext": "Pindahkan setelahnya",
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "Cancella"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "Menu dei comandi",
|
|
162
|
+
"inputLabel": "Cerca comandi",
|
|
163
|
+
"listLabel": "Risultati",
|
|
164
|
+
"loading": "Caricamento",
|
|
165
|
+
"noResults": "Nessun risultato trovato",
|
|
166
|
+
"placeholder": "Digita un comando o cerca…",
|
|
167
|
+
"resultsAvailable": "{count, plural, =1 {1 risultato disponibile} other {# risultati disponibili}}"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "Selettore data",
|
|
162
171
|
"openCalendar": "Apri calendario"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "Operatore di filtro di {column}: {operator}",
|
|
312
321
|
"filterPlaceholder": "Filtra...",
|
|
313
322
|
"group": "Gruppo",
|
|
323
|
+
"groupOptions": "Opzioni del gruppo {column}",
|
|
314
324
|
"loading": "Caricamento",
|
|
315
325
|
"modified": "Modificato",
|
|
316
326
|
"moveAsNext": "Sposta dopo",
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "クリア"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "コマンドメニュー",
|
|
162
|
+
"inputLabel": "コマンドを検索",
|
|
163
|
+
"listLabel": "結果",
|
|
164
|
+
"loading": "読み込み中",
|
|
165
|
+
"noResults": "結果が見つかりません",
|
|
166
|
+
"placeholder": "コマンドを入力または検索…",
|
|
167
|
+
"resultsAvailable": "{count}件の結果があります"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "日付選択",
|
|
162
171
|
"openCalendar": "カレンダーを開く"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "{column}のフィルター演算子: {operator}",
|
|
312
321
|
"filterPlaceholder": "フィルター...",
|
|
313
322
|
"group": "グループ",
|
|
323
|
+
"groupOptions": "{column} のグループオプション",
|
|
314
324
|
"loading": "読み込み中",
|
|
315
325
|
"modified": "変更済み",
|
|
316
326
|
"moveAsNext": "次へ移動",
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "지우기"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "명령 메뉴",
|
|
162
|
+
"inputLabel": "명령 검색",
|
|
163
|
+
"listLabel": "결과",
|
|
164
|
+
"loading": "로드 중",
|
|
165
|
+
"noResults": "결과를 찾을 수 없습니다",
|
|
166
|
+
"placeholder": "명령을 입력하거나 검색하세요…",
|
|
167
|
+
"resultsAvailable": "사용 가능한 결과 {count}개"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "날짜 선택기",
|
|
162
171
|
"openCalendar": "달력 열기"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "{column} 필터 연산자: {operator}",
|
|
312
321
|
"filterPlaceholder": "필터…",
|
|
313
322
|
"group": "그룹",
|
|
323
|
+
"groupOptions": "{column} 그룹 옵션",
|
|
314
324
|
"loading": "로드 중",
|
|
315
325
|
"modified": "수정됨",
|
|
316
326
|
"moveAsNext": "다음 항목으로 이동",
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "Limpar"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "Menu de comandos",
|
|
162
|
+
"inputLabel": "Pesquisar comandos",
|
|
163
|
+
"listLabel": "Resultados",
|
|
164
|
+
"loading": "Carregando",
|
|
165
|
+
"noResults": "Nenhum resultado encontrado",
|
|
166
|
+
"placeholder": "Digite um comando ou pesquise…",
|
|
167
|
+
"resultsAvailable": "{count, plural, =1 {1 resultado disponível} other {# resultados disponíveis}}"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "Seletor de data",
|
|
162
171
|
"openCalendar": "Abrir calendário"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "Operador de filtro de {column}: {operator}",
|
|
312
321
|
"filterPlaceholder": "Filtrar...",
|
|
313
322
|
"group": "Grupo",
|
|
323
|
+
"groupOptions": "Opções do grupo {column}",
|
|
314
324
|
"loading": "Carregando",
|
|
315
325
|
"modified": "Modificado",
|
|
316
326
|
"moveAsNext": "Mover como próximo",
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "Очистить"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "Меню команд",
|
|
162
|
+
"inputLabel": "Поиск команд",
|
|
163
|
+
"listLabel": "Результаты",
|
|
164
|
+
"loading": "Загрузка",
|
|
165
|
+
"noResults": "Результаты не найдены",
|
|
166
|
+
"placeholder": "Введите команду или выполните поиск…",
|
|
167
|
+
"resultsAvailable": "Доступно результатов: {count}"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "Выбор даты",
|
|
162
171
|
"openCalendar": "Открыть календарь"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "Оператор фильтра столбца {column}: {operator}",
|
|
312
321
|
"filterPlaceholder": "Фильтр…",
|
|
313
322
|
"group": "Группа",
|
|
323
|
+
"groupOptions": "Параметры группы {column}",
|
|
314
324
|
"loading": "Загрузка",
|
|
315
325
|
"modified": "Изменено",
|
|
316
326
|
"moveAsNext": "Переместить после",
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "Temizle"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "Komut menüsü",
|
|
162
|
+
"inputLabel": "Komutlarda ara",
|
|
163
|
+
"listLabel": "Sonuçlar",
|
|
164
|
+
"loading": "Yükleniyor",
|
|
165
|
+
"noResults": "Sonuç bulunamadı",
|
|
166
|
+
"placeholder": "Bir komut yazın veya arayın…",
|
|
167
|
+
"resultsAvailable": "{count} sonuç bulundu"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "Tarih seçici",
|
|
162
171
|
"openCalendar": "Takvimi aç"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "{column} sütunu filtre işleci: {operator}",
|
|
312
321
|
"filterPlaceholder": "Filtrele...",
|
|
313
322
|
"group": "Grup",
|
|
323
|
+
"groupOptions": "{column} grup seçenekleri",
|
|
314
324
|
"loading": "Yükleniyor",
|
|
315
325
|
"modified": "Değiştirildi",
|
|
316
326
|
"moveAsNext": "Sonrasına taşı",
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "清除"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "命令菜单",
|
|
162
|
+
"inputLabel": "搜索命令",
|
|
163
|
+
"listLabel": "结果",
|
|
164
|
+
"loading": "正在加载",
|
|
165
|
+
"noResults": "未找到结果",
|
|
166
|
+
"placeholder": "输入命令或搜索…",
|
|
167
|
+
"resultsAvailable": "有 {count} 条可用结果"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "日期选择器",
|
|
162
171
|
"openCalendar": "打开日历"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "{column} 的筛选运算符:{operator}",
|
|
312
321
|
"filterPlaceholder": "筛选…",
|
|
313
322
|
"group": "分组",
|
|
323
|
+
"groupOptions": "{column} 分组选项",
|
|
314
324
|
"loading": "正在加载",
|
|
315
325
|
"modified": "已修改",
|
|
316
326
|
"moveAsNext": "移至下一项",
|
|
@@ -157,6 +157,15 @@
|
|
|
157
157
|
"comboBox": {
|
|
158
158
|
"clear": "清除"
|
|
159
159
|
},
|
|
160
|
+
"command": {
|
|
161
|
+
"dialogLabel": "命令選單",
|
|
162
|
+
"inputLabel": "搜尋命令",
|
|
163
|
+
"listLabel": "結果",
|
|
164
|
+
"loading": "載入中",
|
|
165
|
+
"noResults": "找不到結果",
|
|
166
|
+
"placeholder": "輸入命令或搜尋…",
|
|
167
|
+
"resultsAvailable": "有 {count} 個可用結果"
|
|
168
|
+
},
|
|
160
169
|
"datePicker": {
|
|
161
170
|
"datePicker": "日期選取器",
|
|
162
171
|
"openCalendar": "開啟行事曆"
|
|
@@ -311,6 +320,7 @@
|
|
|
311
320
|
"filterOperator": "{column} 的篩選運算子:{operator}",
|
|
312
321
|
"filterPlaceholder": "篩選…",
|
|
313
322
|
"group": "群組",
|
|
323
|
+
"groupOptions": "{column} 群組選項",
|
|
314
324
|
"loading": "載入中",
|
|
315
325
|
"modified": "已修改",
|
|
316
326
|
"moveAsNext": "移至下一項",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanahoshi/mona-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "A very light Angular UI framework",
|
|
5
5
|
"author": "Nanahoshi",
|
|
6
6
|
"repository": {
|
|
@@ -82,6 +82,10 @@
|
|
|
82
82
|
"types": "./types/nanahoshi-mona-ui-combo-box.d.ts",
|
|
83
83
|
"default": "./fesm2022/nanahoshi-mona-ui-combo-box.mjs"
|
|
84
84
|
},
|
|
85
|
+
"./command": {
|
|
86
|
+
"types": "./types/nanahoshi-mona-ui-command.d.ts",
|
|
87
|
+
"default": "./fesm2022/nanahoshi-mona-ui-command.mjs"
|
|
88
|
+
},
|
|
85
89
|
"./common": {
|
|
86
90
|
"types": "./types/nanahoshi-mona-ui-common.d.ts",
|
|
87
91
|
"default": "./fesm2022/nanahoshi-mona-ui-common.mjs"
|
|
@@ -162,6 +166,10 @@
|
|
|
162
166
|
"types": "./types/nanahoshi-mona-ui-internal-list.d.ts",
|
|
163
167
|
"default": "./fesm2022/nanahoshi-mona-ui-internal-list.mjs"
|
|
164
168
|
},
|
|
169
|
+
"./internal/popup-menu": {
|
|
170
|
+
"types": "./types/nanahoshi-mona-ui-internal-popup-menu.d.ts",
|
|
171
|
+
"default": "./fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs"
|
|
172
|
+
},
|
|
165
173
|
"./internal/tree": {
|
|
166
174
|
"types": "./types/nanahoshi-mona-ui-internal-tree.d.ts",
|
|
167
175
|
"default": "./fesm2022/nanahoshi-mona-ui-internal-tree.mjs"
|
package/styles.css
CHANGED
|
@@ -33,8 +33,10 @@
|
|
|
33
33
|
--color-input-foreground: var(--color-foreground);
|
|
34
34
|
--color-border-subtle: oklch(94% 0.002 286.32);
|
|
35
35
|
--color-border: oklch(92.2% 0.004 286.32);
|
|
36
|
-
--color-border-control: oklch(
|
|
37
|
-
--color-border-control-hover: oklch(
|
|
36
|
+
--color-border-control: oklch(87.1% 0.006 286.286);
|
|
37
|
+
--color-border-control-hover: oklch(80.5% 0.008 286.067);
|
|
38
|
+
--color-border-control-contrast: oklch(64% 0.01 286.067);
|
|
39
|
+
--color-border-control-contrast-hover: oklch(55.2% 0.01 285.938);
|
|
38
40
|
--color-input-border: var(--color-border-control);
|
|
39
41
|
--color-input-hover: var(--color-hover);
|
|
40
42
|
--color-input-active: var(--color-surface-raised);
|
|
@@ -154,3 +156,11 @@
|
|
|
154
156
|
--color-scrollbar-track-focus: var(--color-accent);
|
|
155
157
|
--color-scrollbar-corner: var(--color-canvas);
|
|
156
158
|
}
|
|
159
|
+
|
|
160
|
+
/* A theme provider does this itself, for the theme it applies. This is for the values above, without one. */
|
|
161
|
+
@media (prefers-contrast: more) {
|
|
162
|
+
:root {
|
|
163
|
+
--color-border-control: var(--color-border-control-contrast);
|
|
164
|
+
--color-border-control-hover: var(--color-border-control-contrast-hover);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
@@ -66,7 +66,7 @@ declare class AutoCompleteComponent<TData = unknown> implements FormValueControl
|
|
|
66
66
|
readonly ariaDescribedBy: _angular_core.InputSignal<string>;
|
|
67
67
|
/**
|
|
68
68
|
* @description Accessible name for the input. Describe what the autocomplete represents. Prefer a visible label,
|
|
69
|
-
* linked through {@link inputId} or
|
|
69
|
+
* linked through {@link inputId} or `aria-labelledby`; without any of them, browsers fall back to the
|
|
70
70
|
* {@link placeholder}.
|
|
71
71
|
* @default ""
|
|
72
72
|
*/
|
|
@@ -19,6 +19,10 @@ type BreadcrumbListItemVariantProps = VariantProps<typeof breadcrumbListItemThem
|
|
|
19
19
|
type BreadcrumbListItemVariantInput = VariantInputs<BreadcrumbListItemVariantProps>;
|
|
20
20
|
type BreadcrumbVariantInput = BreadcrumbListVariantInput & BreadcrumbListItemVariantInput;
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Use as a direct child of `<mona-breadcrumb>`. Project any Angular content — text, icons, or elements — into the
|
|
24
|
+
* default slot.
|
|
25
|
+
*/
|
|
22
26
|
declare class BreadcrumbItemComponent {
|
|
23
27
|
#private;
|
|
24
28
|
/**
|
|
@@ -112,6 +116,10 @@ declare class BreadcrumbLinkDirective {
|
|
|
112
116
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BreadcrumbLinkDirective, "a[monaBreadcrumbLink]", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
113
117
|
}
|
|
114
118
|
|
|
119
|
+
/**
|
|
120
|
+
* Apply to an `<ng-template>` directly inside `<mona-breadcrumb>` to replace the default `ChevronRight` separator. One
|
|
121
|
+
* directive per breadcrumb — the first match is used.
|
|
122
|
+
*/
|
|
115
123
|
declare class BreadcrumbSeparatorTemplateDirective {
|
|
116
124
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbSeparatorTemplateDirective, never>;
|
|
117
125
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BreadcrumbSeparatorTemplateDirective, "ng-template[monaBreadcrumbSeparatorTemplate]", never, {}, {}, never, never, true, never>;
|
|
@@ -150,15 +150,27 @@ declare const BUTTON_GROUP_MEMBER: InjectionToken<ButtonGroupMember>;
|
|
|
150
150
|
* Coordinates a `mona-button-group` with its buttons: the group publishes its look, size, rounding, disabled state
|
|
151
151
|
* and members here, and buttons report clicks and receive selection changes through it. It is public so the
|
|
152
152
|
* button-group entry point can provide it; applications don't need to use it directly.
|
|
153
|
+
*
|
|
154
|
+
* @hidden
|
|
153
155
|
*/
|
|
154
156
|
declare class ButtonService {
|
|
155
157
|
#private;
|
|
158
|
+
/**
|
|
159
|
+
* A click on a toggleable member, with the member and whether it was selected before the click. The group
|
|
160
|
+
* answers it by applying its selection rules through {@link buttonSelect$}.
|
|
161
|
+
*/
|
|
156
162
|
readonly buttonClick$: Subject<[ButtonDirective, boolean]>;
|
|
163
|
+
/** A selection change the group applies to a member: the member and whether it is now selected. */
|
|
157
164
|
readonly buttonSelect$: Subject<[ButtonDirective, boolean]>;
|
|
165
|
+
/** Whether the group is disabled. Members are disabled while it is `true`, whatever their own `disabled` input. */
|
|
158
166
|
readonly groupDisabled: _angular_core.WritableSignal<boolean>;
|
|
167
|
+
/** The group's `look`, which members use in place of their own while it is set. */
|
|
159
168
|
readonly groupLook: _angular_core.WritableSignal<"default" | "primary" | "success" | "error" | "warning" | "info" | "outline" | "secondary" | "ghost" | "link" | "clear" | null | undefined>;
|
|
169
|
+
/** Whether the group is read-only. Toggleable members then report `aria-disabled` and keep their selection. */
|
|
160
170
|
readonly groupReadonly: _angular_core.WritableSignal<boolean>;
|
|
171
|
+
/** The group's `rounded`, which members use in place of their own while it is set. */
|
|
161
172
|
readonly groupRounded: _angular_core.WritableSignal<"full" | "large" | "medium" | "none" | "small" | null | undefined>;
|
|
173
|
+
/** The group's `size`, which members use in place of their own while it is set. */
|
|
162
174
|
readonly groupSize: _angular_core.WritableSignal<"large" | "medium" | "small" | null | undefined>;
|
|
163
175
|
/**
|
|
164
176
|
* Every click on a member, toggleable or not, reported after the group has applied its selection.
|
|
@@ -36,18 +36,21 @@ interface YearCellTemplateContext {
|
|
|
36
36
|
text: string;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
/** Provides a custom template for each year cell in the decade view. */
|
|
39
40
|
declare class CalendarDecadeCellTemplateDirective {
|
|
40
41
|
readonly templateRef: TemplateRef<DecadeCellTemplateContext>;
|
|
41
42
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalendarDecadeCellTemplateDirective, never>;
|
|
42
43
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CalendarDecadeCellTemplateDirective, "ng-template[monaCalendarDecadeCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
43
44
|
}
|
|
44
45
|
|
|
46
|
+
/** Provides a custom template for each day cell in the month view. */
|
|
45
47
|
declare class CalendarMonthCellTemplateDirective {
|
|
46
48
|
readonly templateRef: TemplateRef<MonthCellTemplateContext>;
|
|
47
49
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalendarMonthCellTemplateDirective, never>;
|
|
48
50
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CalendarMonthCellTemplateDirective, "ng-template[monaCalendarMonthCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
49
51
|
}
|
|
50
52
|
|
|
53
|
+
/** Provides a custom template for each month cell in the year (month-selection) view. */
|
|
51
54
|
declare class CalendarYearCellTemplateDirective {
|
|
52
55
|
readonly templateRef: TemplateRef<YearCellTemplateContext>;
|
|
53
56
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalendarYearCellTemplateDirective, never>;
|