@motifx-community/ui 0.1.0-beta.12 → 0.1.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/dist/components/datagrid/view/ColumnStyles.d.ts +3 -1
- package/dist/components/dropdown/drop-down-props.d.ts +5 -2
- package/dist/components/listbox/item-template.d.ts +4 -0
- package/dist/components/tabdocs/DocumentTab.d.ts +0 -1
- package/dist/components/tabdocs/PhoneBar.d.ts +0 -1
- package/dist/components/treeview/TreeView.d.ts +8 -4
- package/dist/components/treeview/tree-view-item-template.d.ts +4 -0
- package/dist/core/show-icon.d.ts +3 -3
- package/dist/index.js +99 -176
- package/dist/index.js.map +1 -1
- package/dist/parts/list/OptionList.d.ts +4 -3
- package/dist/parts/list/option-parts.d.ts +1 -1
- package/dist/styles.css +43 -24
- package/docs/accordion.md +1 -1
- package/docs/actionsheet.md +1 -1
- package/docs/appbar.md +1 -1
- package/docs/appmenu-api.md +1 -1
- package/docs/appmenu-programmatic.md +1 -1
- package/docs/appmenu-search.md +1 -1
- package/docs/appmenu.md +1 -1
- package/docs/avatar.md +1 -1
- package/docs/badge.md +1 -1
- package/docs/bar-gauge-angles.md +1 -1
- package/docs/bar-gauge-data.md +1 -1
- package/docs/bar-gauge-labels.md +1 -1
- package/docs/bar-gauge.md +1 -1
- package/docs/barcode.md +1 -1
- package/docs/bottomnavigation.md +1 -1
- package/docs/bottomsheet.md +1 -1
- package/docs/breadcrumb.md +1 -1
- package/docs/button.md +1 -1
- package/docs/buttongroup.md +1 -1
- package/docs/buttons.md +1 -1
- package/docs/calendar.md +1 -1
- package/docs/card.md +1 -1
- package/docs/chart-bars.md +1 -1
- package/docs/chart-candles.md +1 -1
- package/docs/chart-funnel.md +1 -1
- package/docs/chart-heatmap.md +1 -1
- package/docs/chart-lines.md +1 -1
- package/docs/chart-live.md +1 -1
- package/docs/chart-pie.md +1 -1
- package/docs/chart-radar.md +1 -1
- package/docs/chart-ranges.md +1 -1
- package/docs/chart-references.md +1 -1
- package/docs/chart-scatter.md +1 -1
- package/docs/chart-waterfall.md +1 -1
- package/docs/chart-zoom.md +1 -1
- package/docs/chart.md +1 -1
- package/docs/checkbox.md +1 -1
- package/docs/chip.md +1 -1
- package/docs/choice.md +1 -1
- package/docs/colorbox.md +1 -1
- package/docs/combobox.md +2 -1
- package/docs/commands.md +1 -1
- package/docs/control.md +1 -1
- package/docs/data.md +1 -1
- package/docs/datagrid-api.md +1 -1
- package/docs/datagrid-bands.md +1 -1
- package/docs/datagrid-drag-select.md +1 -1
- package/docs/datagrid-drag.md +1 -1
- package/docs/datagrid-editing.md +1 -1
- package/docs/datagrid-filtering.md +1 -1
- package/docs/datagrid-forms.md +1 -1
- package/docs/datagrid-grouping.md +1 -1
- package/docs/datagrid-layout.md +1 -1
- package/docs/datagrid-lookups.md +4 -1
- package/docs/datagrid-master-detail.md +1 -1
- package/docs/datagrid-scrolling.md +1 -1
- package/docs/datagrid-selection.md +1 -1
- package/docs/datagrid.md +1 -1
- package/docs/datebox.md +1 -1
- package/docs/daterangebox.md +1 -1
- package/docs/display.md +1 -1
- package/docs/draggable.md +1 -1
- package/docs/drawer.md +1 -1
- package/docs/dropdown.md +4 -3
- package/docs/editors.md +1 -1
- package/docs/feedback.md +1 -1
- package/docs/fileuploader.md +1 -1
- package/docs/filterbuilder.md +1 -1
- package/docs/formlayout.md +1 -1
- package/docs/foundations.md +1 -1
- package/docs/gallery.md +1 -1
- package/docs/gauge-base.md +1 -1
- package/docs/gauge-circular.md +1 -1
- package/docs/gauge-dashboards.md +1 -1
- package/docs/gauge-linear.md +1 -1
- package/docs/gauge-markers.md +1 -1
- package/docs/gauge-marks.md +1 -1
- package/docs/gauge-ranges.md +1 -1
- package/docs/gauge-scales.md +1 -1
- package/docs/gauge.md +1 -1
- package/docs/home.md +1 -1
- package/docs/keyboard.md +1 -1
- package/docs/language.md +1 -1
- package/docs/layout.md +1 -1
- package/docs/listbox.md +4 -3
- package/docs/loadpanel.md +1 -1
- package/docs/lookup.md +1 -1
- package/docs/menus-api.md +1 -1
- package/docs/menus-context.md +1 -1
- package/docs/menus-customization.md +1 -1
- package/docs/menus-merging.md +1 -1
- package/docs/menus-programmatic.md +1 -1
- package/docs/menus.md +1 -1
- package/docs/multiview.md +1 -1
- package/docs/navigation.md +1 -1
- package/docs/numberbox.md +1 -1
- package/docs/otpinput.md +1 -1
- package/docs/pagination.md +1 -1
- package/docs/popover.md +1 -1
- package/docs/progress.md +1 -1
- package/docs/qrcode.md +1 -1
- package/docs/radiogroup.md +1 -1
- package/docs/rating.md +1 -1
- package/docs/resizable.md +1 -1
- package/docs/ribbonmenu-api.md +1 -1
- package/docs/ribbonmenu-commands.md +1 -1
- package/docs/ribbonmenu-customization.md +1 -1
- package/docs/ribbonmenu-display.md +3 -3
- package/docs/ribbonmenu-layouts.md +1 -1
- package/docs/ribbonmenu-programmatic.md +1 -1
- package/docs/ribbonmenu.md +1 -1
- package/docs/scheduler-agenda.md +1 -1
- package/docs/scheduler-big-data.md +1 -1
- package/docs/scheduler-editing.md +1 -1
- package/docs/scheduler-form.md +1 -1
- package/docs/scheduler-icalendar.md +1 -1
- package/docs/scheduler-mobile.md +1 -1
- package/docs/scheduler-recurrence.md +1 -1
- package/docs/scheduler-resources.md +1 -1
- package/docs/scheduler-timeline.md +1 -1
- package/docs/scheduler.md +1 -1
- package/docs/scrollview.md +1 -1
- package/docs/shortcuteditor.md +1 -1
- package/docs/showcase-home.md +1 -1
- package/docs/showcase.md +1 -1
- package/docs/signature.md +1 -1
- package/docs/skeleton.md +1 -1
- package/docs/slider.md +1 -1
- package/docs/sortable.md +1 -1
- package/docs/sparkline.md +1 -1
- package/docs/speeddial.md +1 -1
- package/docs/splitter.md +1 -1
- package/docs/stepper.md +1 -1
- package/docs/switch.md +1 -1
- package/docs/tabdocs-dock.md +1 -1
- package/docs/tabdocs-drag.md +1 -1
- package/docs/tabdocs-menus.md +1 -1
- package/docs/tabdocs-mobile.md +1 -1
- package/docs/tabdocs-tabs.md +1 -1
- package/docs/tabdocs-windows.md +1 -1
- package/docs/tabdocs-workspace.md +1 -1
- package/docs/tabdocs.md +1 -1
- package/docs/tabs.md +1 -1
- package/docs/tagbox.md +4 -3
- package/docs/textarea.md +1 -1
- package/docs/textbox.md +1 -1
- package/docs/tileview.md +1 -1
- package/docs/timeline.md +1 -1
- package/docs/toast.md +1 -1
- package/docs/tokens.md +1 -1
- package/docs/toolbar.md +1 -1
- package/docs/tooltip.md +1 -1
- package/docs/treeview.md +3 -3
- package/docs/validationsummary.md +1 -1
- package/docs/window.md +1 -1
- package/docs/wizard.md +1 -1
- package/llms-full.txt +174 -167
- package/llms.txt +1 -1
- package/package.json +4 -4
|
@@ -20,7 +20,8 @@ export declare class OptionList<T = unknown> extends Component<HTMLDivElement> {
|
|
|
20
20
|
groupOf: ((item: T) => string | undefined) | null;
|
|
21
21
|
/**
|
|
22
22
|
* Draws an option's content instead of its text, into `host`. `option` holds the option's parts, for an owner that
|
|
23
|
-
* marks the option itself.
|
|
23
|
+
* marks the option itself. `host` (`option.text`) is made for each drawing and goes when the option is drawn again
|
|
24
|
+
* or goes; a cleanup function returned is given to it and runs then.
|
|
24
25
|
*/
|
|
25
26
|
draw: ((item: T, host: ComponentBase<HTMLElement>, option: OptionParts) => (() => void) | void) | null;
|
|
26
27
|
isSelected: (item: T) => boolean;
|
|
@@ -132,9 +133,9 @@ export declare class OptionList<T = unknown> extends Component<HTMLDivElement> {
|
|
|
132
133
|
private makeOption;
|
|
133
134
|
/**
|
|
134
135
|
* Binds an option's text to `read`, read again when the items are given again or refreshed, and written in place.
|
|
135
|
-
* For a `draw` that writes the text itself; the
|
|
136
|
+
* For a `draw` that writes the text itself; the binding goes with the text part it writes.
|
|
136
137
|
*/
|
|
137
|
-
bindText(option: OptionParts, read: () => string):
|
|
138
|
+
bindText(option: OptionParts, read: () => string): void;
|
|
138
139
|
/** The index of the option an event started in, asked of the options drawn; -1 for none. */
|
|
139
140
|
private indexOf;
|
|
140
141
|
/** "Could not load. Retry": a row or a list that failed, which a press loads again. */
|
|
@@ -3,7 +3,7 @@ import type { ComponentBase } from '@motifx/core';
|
|
|
3
3
|
export interface OptionParts {
|
|
4
4
|
/** The option (`role="option"`). */
|
|
5
5
|
readonly row: ComponentBase<HTMLElement>;
|
|
6
|
-
/** Where the option's text or the owner's template goes. */
|
|
6
|
+
/** Where the option's text or the owner's template goes: a new part each time the drawing changes. */
|
|
7
7
|
readonly text: ComponentBase<HTMLElement>;
|
|
8
8
|
/** In a list of several choices the check mark's glyph (`data-icon="check"`), else `null`. */
|
|
9
9
|
readonly check: ComponentBase<HTMLElement> | null;
|
package/dist/styles.css
CHANGED
|
@@ -22683,7 +22683,12 @@
|
|
|
22683
22683
|
chips carry data-dir and data-dragging, the panel and the header row data-drop while something
|
|
22684
22684
|
can be dropped on them. Only the layout is here, with the tints over a row (shared by its cells), the
|
|
22685
22685
|
cell ranges and the lines a search draws under its marks: every piece's look is a unit of the grid's
|
|
22686
|
-
schema (`$units`), painted by units.css from the language's tokens.
|
|
22686
|
+
schema (`$units`), painted by units.css from the language's tokens.
|
|
22687
|
+
|
|
22688
|
+
A grid can hold another grid (in a row's details, in a cell). A rule that depends on a state, of the
|
|
22689
|
+
grid or of one of its rows or cells, goes on from there by child combinators only, so it stops at the
|
|
22690
|
+
grid's own parts; the steps between are in `:where()` and add no weight. A descendant combinator after
|
|
22691
|
+
a state would reach the same parts of the grid inside. */
|
|
22687
22692
|
@layer mx.components {
|
|
22688
22693
|
.mx-data-grid {
|
|
22689
22694
|
--_row-height: calc(var(--_datagrid-record-height) + var(--_datagrid-row-space));
|
|
@@ -22695,6 +22700,14 @@
|
|
|
22695
22700
|
--_z-head: 3;
|
|
22696
22701
|
--_z-drop: 4;
|
|
22697
22702
|
--_z-ghost: 5;
|
|
22703
|
+
/* A grid inside a cell of a range starts without that cell's edges and fill. */
|
|
22704
|
+
--_edge-top: initial;
|
|
22705
|
+
--_edge-bottom: initial;
|
|
22706
|
+
--_edge-start: initial;
|
|
22707
|
+
--_edge-end: initial;
|
|
22708
|
+
--_range: initial;
|
|
22709
|
+
/* The tint of the odd rows: none, or the stripe (`striped`). On the root, so a grid inside reads its own. */
|
|
22710
|
+
--_stripe-tint: transparent;
|
|
22698
22711
|
|
|
22699
22712
|
position: relative;
|
|
22700
22713
|
display: flex;
|
|
@@ -22707,7 +22720,7 @@
|
|
|
22707
22720
|
}
|
|
22708
22721
|
|
|
22709
22722
|
/* Until the grid's own sheet is in the page, its rows are not shown half laid out. */
|
|
22710
|
-
.mx-data-grid[data-settling] .mx-data-grid__viewport {
|
|
22723
|
+
.mx-data-grid[data-settling] > :where(.mx-data-grid__main) > .mx-data-grid__viewport {
|
|
22711
22724
|
visibility: hidden;
|
|
22712
22725
|
}
|
|
22713
22726
|
|
|
@@ -22763,9 +22776,15 @@
|
|
|
22763
22776
|
will-change: transform;
|
|
22764
22777
|
}
|
|
22765
22778
|
|
|
22766
|
-
|
|
22767
|
-
|
|
22768
|
-
|
|
22779
|
+
.mx-data-grid[data-striped] {
|
|
22780
|
+
--_stripe-tint: var(--_datagrid-stripe-tint);
|
|
22781
|
+
}
|
|
22782
|
+
|
|
22783
|
+
/* The stripe comes first and weighs no more than the tints after it (`:where()` adds no weight), so a striped
|
|
22784
|
+
row shows the pointer, the active row and a new row like any other. A selected row's fill stands for the
|
|
22785
|
+
stripe and the new-row tint. */
|
|
22786
|
+
.mx-data-grid__body > .mx-data-grid__row[data-odd]:where(:not([data-selected])) {
|
|
22787
|
+
--_tint: var(--_stripe-tint);
|
|
22769
22788
|
}
|
|
22770
22789
|
|
|
22771
22790
|
.mx-data-grid__body > .mx-data-grid__row[data-status='new']:not([data-selected]) {
|
|
@@ -22781,7 +22800,7 @@
|
|
|
22781
22800
|
}
|
|
22782
22801
|
|
|
22783
22802
|
/* With selection on, the active row has only the hover tint, over the selection fill too. */
|
|
22784
|
-
.mx-data-grid[data-selection] .mx-data-grid__body > .mx-data-grid__row[data-active] {
|
|
22803
|
+
.mx-data-grid[data-selection] > :where(.mx-data-grid__main) > :where(.mx-data-grid__viewport) > .mx-data-grid__body > .mx-data-grid__row[data-active] {
|
|
22785
22804
|
--_tint: var(--_datagrid-hover-tint);
|
|
22786
22805
|
}
|
|
22787
22806
|
|
|
@@ -22849,7 +22868,7 @@
|
|
|
22849
22868
|
auto;
|
|
22850
22869
|
}
|
|
22851
22870
|
|
|
22852
|
-
.mx-data-
|
|
22871
|
+
.mx-data-grid__cell:dir(rtl):is([data-range], [data-run]) {
|
|
22853
22872
|
background-position: top, bottom, right, left, 0 0, 0 0;
|
|
22854
22873
|
}
|
|
22855
22874
|
|
|
@@ -22912,7 +22931,7 @@
|
|
|
22912
22931
|
user-select: none;
|
|
22913
22932
|
}
|
|
22914
22933
|
|
|
22915
|
-
.mx-data-grid[data-drag-selecting='cells'] .mx-data-grid__body {
|
|
22934
|
+
.mx-data-grid[data-drag-selecting='cells'] > :where(.mx-data-grid__main) > :where(.mx-data-grid__viewport) > .mx-data-grid__body {
|
|
22916
22935
|
cursor: cell;
|
|
22917
22936
|
}
|
|
22918
22937
|
|
|
@@ -22934,7 +22953,7 @@
|
|
|
22934
22953
|
}
|
|
22935
22954
|
|
|
22936
22955
|
/* Rows still loading, and a lookup cell whose key is still asked for: a soft bar in each cell (`placeholder`). */
|
|
22937
|
-
.mx-data-grid__row[data-loading] .mx-data-grid__cell::after,
|
|
22956
|
+
.mx-data-grid__row[data-loading] > .mx-data-grid__cell::after,
|
|
22938
22957
|
.mx-data-grid__cell[data-lookup='loading']::after {
|
|
22939
22958
|
content: '';
|
|
22940
22959
|
position: absolute;
|
|
@@ -23019,7 +23038,7 @@
|
|
|
23019
23038
|
scale: -1 1;
|
|
23020
23039
|
}
|
|
23021
23040
|
|
|
23022
|
-
.mx-data-grid__group-row[data-expanded] .mx-data-grid__group-toggle > .mx-glyph {
|
|
23041
|
+
.mx-data-grid__group-row[data-expanded] > :where(.mx-data-grid__group-cell) > :where(.mx-data-grid__group-content) > .mx-data-grid__group-toggle > .mx-glyph {
|
|
23023
23042
|
rotate: var(--_datagrid-group-toggle-rotate-open);
|
|
23024
23043
|
}
|
|
23025
23044
|
|
|
@@ -23167,7 +23186,7 @@
|
|
|
23167
23186
|
}
|
|
23168
23187
|
|
|
23169
23188
|
/* The buttons wait out of sight, in their place, until their widths are measured (a frame after the rows show). */
|
|
23170
|
-
.mx-data-grid[data-measuring-actions] .mx-data-grid__row > .mx-data-grid__actions > * {
|
|
23189
|
+
.mx-data-grid[data-measuring-actions] > :where(.mx-data-grid__main) > :where(.mx-data-grid__viewport) > :where(.mx-data-grid__body) > .mx-data-grid__row > .mx-data-grid__actions > * {
|
|
23171
23190
|
visibility: hidden;
|
|
23172
23191
|
}
|
|
23173
23192
|
|
|
@@ -23255,7 +23274,7 @@
|
|
|
23255
23274
|
touch-action: none;
|
|
23256
23275
|
}
|
|
23257
23276
|
|
|
23258
|
-
.mx-data-grid__row[data-draggable] .mx-data-grid__drag-handle {
|
|
23277
|
+
.mx-data-grid__row[data-draggable] > :where(.mx-data-grid__drag) > .mx-data-grid__drag-handle {
|
|
23259
23278
|
display: inline-flex;
|
|
23260
23279
|
}
|
|
23261
23280
|
|
|
@@ -23264,7 +23283,7 @@
|
|
|
23264
23283
|
user-select: none;
|
|
23265
23284
|
}
|
|
23266
23285
|
|
|
23267
|
-
.mx-data-grid[data-row-dragging] .mx-data-grid__body > :is(.mx-data-grid__row, .mx-data-grid__group-row, .mx-data-grid__group-footer) {
|
|
23286
|
+
.mx-data-grid[data-row-dragging] > :where(.mx-data-grid__main) > :where(.mx-data-grid__viewport) > .mx-data-grid__body > :is(.mx-data-grid__row, .mx-data-grid__group-row, .mx-data-grid__group-footer) {
|
|
23268
23287
|
transition: translate var(--mx-motion-duration-fast) var(--mx-motion-easing-standard);
|
|
23269
23288
|
}
|
|
23270
23289
|
|
|
@@ -23427,8 +23446,8 @@
|
|
|
23427
23446
|
display: none;
|
|
23428
23447
|
}
|
|
23429
23448
|
|
|
23430
|
-
.mx-data-grid__header-cell[data-sort='asc'] .mx-data-grid__sort-up,
|
|
23431
|
-
.mx-data-grid__header-cell[data-sort='desc'] .mx-data-grid__sort-down {
|
|
23449
|
+
.mx-data-grid__header-cell[data-sort='asc'] > :where(.mx-data-grid__sort) > .mx-data-grid__sort-up,
|
|
23450
|
+
.mx-data-grid__header-cell[data-sort='desc'] > :where(.mx-data-grid__sort) > .mx-data-grid__sort-down {
|
|
23432
23451
|
display: block;
|
|
23433
23452
|
}
|
|
23434
23453
|
|
|
@@ -23567,7 +23586,7 @@
|
|
|
23567
23586
|
}
|
|
23568
23587
|
|
|
23569
23588
|
.mx-data-grid__resize:hover::after,
|
|
23570
|
-
.mx-data-grid__header-cell[data-resizing] .mx-data-grid__resize::after {
|
|
23589
|
+
.mx-data-grid__header-cell[data-resizing] > .mx-data-grid__resize::after {
|
|
23571
23590
|
inset-block: 0;
|
|
23572
23591
|
}
|
|
23573
23592
|
|
|
@@ -23579,7 +23598,7 @@
|
|
|
23579
23598
|
}
|
|
23580
23599
|
|
|
23581
23600
|
/* No rows to show: the body keeps room for the message, also in a grid without a height. */
|
|
23582
|
-
.mx-data-grid:is([data-state='empty'], [data-state='loading'], [data-state='error']) .mx-data-grid__body {
|
|
23601
|
+
.mx-data-grid:is([data-state='empty'], [data-state='loading'], [data-state='error']) > :where(.mx-data-grid__main) > :where(.mx-data-grid__viewport) > .mx-data-grid__body {
|
|
23583
23602
|
min-block-size: calc(var(--_row-height) * var(--_empty-rows, 3));
|
|
23584
23603
|
}
|
|
23585
23604
|
|
|
@@ -27733,12 +27752,12 @@
|
|
|
27733
27752
|
text-decoration-line: var(--_datagrid-cell-missing-text-decoration, none);
|
|
27734
27753
|
}
|
|
27735
27754
|
|
|
27736
|
-
.mx-data-grid__row[data-status='removed'] .mx-data-grid__cell:not(.mx-data-grid__status) {
|
|
27755
|
+
.mx-data-grid__row[data-status='removed'] > .mx-data-grid__cell:not(.mx-data-grid__status) {
|
|
27737
27756
|
color: var(--_datagrid-cell-removed-color, inherit);
|
|
27738
27757
|
text-decoration-line: var(--_datagrid-cell-removed-text-decoration, none);
|
|
27739
27758
|
}
|
|
27740
27759
|
|
|
27741
|
-
.mx-data-grid__row[data-status='saving'] .mx-data-grid__cell:not(.mx-data-grid__status) {
|
|
27760
|
+
.mx-data-grid__row[data-status='saving'] > .mx-data-grid__cell:not(.mx-data-grid__status) {
|
|
27742
27761
|
color: var(--_datagrid-cell-saving-color, inherit);
|
|
27743
27762
|
}
|
|
27744
27763
|
|
|
@@ -27766,7 +27785,7 @@
|
|
|
27766
27785
|
border-inline-start-color: var(--_datagrid-invalid-border-color, currentcolor);
|
|
27767
27786
|
}
|
|
27768
27787
|
|
|
27769
|
-
:is(.mx-data-grid__row[data-loading] .mx-data-grid__cell, .mx-data-grid__cell[data-lookup='loading'])::after {
|
|
27788
|
+
:is(.mx-data-grid__row[data-loading] > .mx-data-grid__cell, .mx-data-grid__cell[data-lookup='loading'])::after {
|
|
27770
27789
|
background-color: var(--_datagrid-placeholder-bg, transparent);
|
|
27771
27790
|
border-start-start-radius: var(--_datagrid-placeholder-radius, 0px);
|
|
27772
27791
|
border-start-end-radius: var(--_datagrid-placeholder-radius, 0px);
|
|
@@ -27854,7 +27873,7 @@
|
|
|
27854
27873
|
background-color: var(--_datagrid-head-button-hover-bg, transparent);
|
|
27855
27874
|
}
|
|
27856
27875
|
|
|
27857
|
-
.mx-data-grid__header-cell:is(:hover, :focus-within) :is(.mx-data-grid__menu-button, .mx-data-grid__filter-button), :is(.mx-data-grid__menu-button, .mx-data-grid__filter-button):focus-visible, .mx-data-grid[data-header-buttons='always'] :is(.mx-data-grid__menu-button, .mx-data-grid__filter-button) {
|
|
27876
|
+
.mx-data-grid__header-cell:is(:hover, :focus-within) > :is(.mx-data-grid__menu-button, .mx-data-grid__filter-button), :is(.mx-data-grid__menu-button, .mx-data-grid__filter-button):focus-visible, .mx-data-grid[data-header-buttons='always'] > :where(.mx-data-grid__main) > :where(.mx-data-grid__viewport) > :where(.mx-data-grid__head) > :where(.mx-data-grid__row) > :where(.mx-data-grid__header-cell) > :is(.mx-data-grid__menu-button, .mx-data-grid__filter-button) {
|
|
27858
27877
|
opacity: var(--_datagrid-head-button-shown-opacity, var(--_datagrid-head-button-opacity, 1));
|
|
27859
27878
|
}
|
|
27860
27879
|
|
|
@@ -27873,7 +27892,7 @@
|
|
|
27873
27892
|
background-color: var(--_datagrid-resize-bg, transparent);
|
|
27874
27893
|
}
|
|
27875
27894
|
|
|
27876
|
-
.mx-data-grid__resize:hover::after, .mx-data-grid__header-cell[data-resizing] .mx-data-grid__resize::after {
|
|
27895
|
+
.mx-data-grid__resize:hover::after, .mx-data-grid__header-cell[data-resizing] > .mx-data-grid__resize::after {
|
|
27877
27896
|
inline-size: var(--_datagrid-resize-active-width, var(--_datagrid-resize-width, auto));
|
|
27878
27897
|
background-color: var(--_datagrid-resize-active-bg, var(--_datagrid-resize-bg, transparent));
|
|
27879
27898
|
}
|
|
@@ -27954,7 +27973,7 @@
|
|
|
27954
27973
|
background-color: var(--_datagrid-group-toggle-hover-bg, transparent);
|
|
27955
27974
|
}
|
|
27956
27975
|
|
|
27957
|
-
.mx-data-grid__group-row[data-locked] .mx-data-grid__group-toggle {
|
|
27976
|
+
.mx-data-grid__group-row[data-locked] > :where(.mx-data-grid__group-cell) > :where(.mx-data-grid__group-content) > .mx-data-grid__group-toggle {
|
|
27958
27977
|
cursor: var(--_datagrid-group-toggle-locked-cursor, pointer);
|
|
27959
27978
|
}
|
|
27960
27979
|
|
|
@@ -28209,7 +28228,7 @@
|
|
|
28209
28228
|
color: var(--_datagrid-drag-handle-color, inherit);
|
|
28210
28229
|
}
|
|
28211
28230
|
|
|
28212
|
-
.mx-data-grid__row[data-draggable] .mx-data-grid__drag-handle:hover {
|
|
28231
|
+
.mx-data-grid__row[data-draggable] > :where(.mx-data-grid__drag) > .mx-data-grid__drag-handle:hover {
|
|
28213
28232
|
background-color: var(--_datagrid-drag-handle-hover-bg, transparent);
|
|
28214
28233
|
}
|
|
28215
28234
|
|
package/docs/accordion.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Accordion
|
|
2
2
|
|
|
3
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
An accordion expands and collapses sections under their headers. It supports one or several open sections, sections that stay open, icons, three appearances and sections that are created when first opened.
|
|
6
6
|
|
package/docs/actionsheet.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ActionSheet
|
|
2
2
|
|
|
3
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
A list of commands that slides up from the bottom of the screen, built from the kit's menu items and sized for touch. It supports a title, a message and a separate Cancel button. A context menu uses it on touch screens.
|
|
6
6
|
|
package/docs/appbar.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AppBar
|
|
2
2
|
|
|
3
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
The top bar of an application, with a navigation button, a logo, a title, a control and commands. The commands are a `Toolbar`, so those that do not fit move into a menu.
|
|
6
6
|
|
package/docs/appmenu-api.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AppMenu: Programmatic changes
|
|
2
2
|
|
|
3
|
-
> AppMenu · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> AppMenu · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
Items can be added, removed, moved and changed at any time, by their keys. Items that stay keep their place, and pages that were opened keep their state.
|
|
6
6
|
|
package/docs/appmenu-search.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AppMenu: Slots and search
|
|
2
2
|
|
|
3
|
-
> AppMenu · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> AppMenu · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
The list can hold the app’s own content above and under its items, such as the user’s name or the version, and a search that narrows a long list as the user types.
|
|
6
6
|
|
package/docs/appmenu.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AppMenu
|
|
2
2
|
|
|
3
|
-
> AppMenu · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> AppMenu · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
The main menu of an application. It slides in from the start edge with a list of items, and each item shows its own page beside the list or runs a command. The menu holds nothing of its own: the items, the pages and the commands are given by the application.
|
|
6
6
|
|
package/docs/avatar.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Avatar and AvatarGroup
|
|
2
2
|
|
|
3
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Display · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
Represents a person with a picture, initials or an icon, with an optional presence indicator on its corner. A group stacks or spreads avatars and counts the ones it does not show.
|
|
6
6
|
|
package/docs/badge.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Badge
|
|
2
2
|
|
|
3
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Display · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
A short text, count or dot, shown inline or on the corner of a button, avatar or icon. A count above its maximum displays as “99+”, and a count of zero is hidden.
|
|
6
6
|
|
package/docs/bar-gauge-angles.md
CHANGED
package/docs/bar-gauge-data.md
CHANGED
package/docs/bar-gauge-labels.md
CHANGED
package/docs/bar-gauge.md
CHANGED
package/docs/barcode.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Barcode
|
|
2
2
|
|
|
3
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Display · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
A linear barcode, drawn as vectors: Code 128, Code 39, EAN-13, EAN-8, UPC-A or Interleaved 2 of 5. It has no dependencies, works out check digits and refuses a value the format cannot hold.
|
|
6
6
|
|
package/docs/bottomnavigation.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# BottomNavigation
|
|
2
2
|
|
|
3
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
The destinations of an application at the bottom of the screen, each an icon with a label. The bar is one Tab stop, marks the selected item for screen readers and keeps clear of the home indicator of a phone.
|
|
6
6
|
|
package/docs/bottomsheet.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# BottomSheet
|
|
2
2
|
|
|
3
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
A panel that slides up from the bottom of the page or a container and stops at set heights: peek, half, full, the height of its content, or custom values. Users can drag it by its handle and title, flick it, and swipe down to close it. It can be modal or non-modal, and the back button closes it on phones.
|
|
6
6
|
|
package/docs/breadcrumb.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Breadcrumb
|
|
2
2
|
|
|
3
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
Shows the path to the current page. Each step is a link or button, and the current page comes last. Steps that do not fit move into a menu after the first step.
|
|
6
6
|
|
package/docs/button.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Button
|
|
2
2
|
|
|
3
|
-
> Buttons · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Buttons · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
A native `<button>` styled with design tokens. It comes in three variants, three tones and three sizes, and supports an icon and an `&` access key. A button can act as a toggle, indicate that work is in progress, and open a menu or any other content, either from the whole button or from an arrow next to it with `split`, so the button keeps its own action.
|
|
6
6
|
|
package/docs/buttongroup.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ButtonGroup
|
|
2
2
|
|
|
3
|
-
> Buttons · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Buttons · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
A set of related buttons, used as a segmented selection of one or more options or as a row of actions. The buttons are standard kit buttons and are attached by default.
|
|
6
6
|
|
package/docs/buttons.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Buttons
|
|
2
2
|
|
|
3
|
-
> Buttons · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Buttons · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
Buttons start commands. The group covers single buttons, groups of them and a floating button for the main action of a screen. Toolbars and menus, which hold the many commands of an application, are in [Navigation](navigation.md).
|
|
6
6
|
|
package/docs/calendar.md
CHANGED
package/docs/card.md
CHANGED
package/docs/chart-bars.md
CHANGED
package/docs/chart-candles.md
CHANGED
package/docs/chart-funnel.md
CHANGED
package/docs/chart-heatmap.md
CHANGED
package/docs/chart-lines.md
CHANGED
package/docs/chart-live.md
CHANGED
package/docs/chart-pie.md
CHANGED
package/docs/chart-radar.md
CHANGED
package/docs/chart-ranges.md
CHANGED
package/docs/chart-references.md
CHANGED
package/docs/chart-scatter.md
CHANGED
package/docs/chart-waterfall.md
CHANGED
package/docs/chart-zoom.md
CHANGED
package/docs/chart.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Chart
|
|
2
2
|
|
|
3
|
-
> Charts · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Charts · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
Displays lines, areas, bars, scatter points and bubbles on a shared value axis. The chart has no dependencies, takes its appearance from the design language, and makes every value available through the keyboard and a table view.
|
|
6
6
|
|
package/docs/checkbox.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CheckBox
|
|
2
2
|
|
|
3
|
-
> Choice · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Choice · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
A check box with a label that can be checked, unchecked or indeterminate. It supports an optional three-state cycle, read-only and required states, and validation with its group. It is a native check box styled with design tokens.
|
|
6
6
|
|
package/docs/chip.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Chip and ChipGroup
|
|
2
2
|
|
|
3
|
-
> Display · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Display · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
A compact element with short text and an optional leading icon or avatar. Use it as a filter, as a choice among a few options, or to represent a selected item that can be removed. A group handles single or multiple selection and arrow key navigation.
|
|
6
6
|
|
package/docs/choice.md
CHANGED
package/docs/colorbox.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ColorBox and ColorPicker
|
|
2
2
|
|
|
3
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Editors · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
A color field with a popup picker, or the picker on its own. The picker has a saturation and brightness area, a hue slider, an opacity slider, channel inputs and preset colors.
|
|
6
6
|
|
package/docs/combobox.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ComboBox and Autocomplete
|
|
2
2
|
|
|
3
|
-
> Choice · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Choice · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
A text input with a list that filters as the user types. Items can come from memory or from a data layer source that is searched on the server. `Autocomplete` is the free-text variant, where the value is the text itself.
|
|
6
6
|
|
|
@@ -75,6 +75,7 @@ export const cities = ['Adana', 'Ankara', 'Antalya', 'Bursa', 'Diyarbakır', 'Er
|
|
|
75
75
|
| `value` | `Bind<V \| null>` | `null` | The value of the selected item. `x-model` binds it. |
|
|
76
76
|
| `items / dataSource` | `Bind<readonly T[]>` / `Bind<DataSource \| null>` | — | An in-memory array, searched on the client, or a `@motifx-community/data` data source, searched on the server. |
|
|
77
77
|
| `textField, valueField, iconField, groupField, enabledField` | `Bind<ItemField<T>>` | — | Same as DropDown. Groups apply to in-memory items. |
|
|
78
|
+
| `normalizeKey` | `Bind<NormalizeKey>` | — | Same as DropDown. |
|
|
78
79
|
| `searchMode` | `Bind<'contains' \| 'startswith'>` | `'contains'` | How in-memory items are matched. |
|
|
79
80
|
| `minSearchLength` | `Bind<number>` | `0` | The number of characters to type before the list opens. |
|
|
80
81
|
| `searchDelay` | `Bind<number>` | `0` / `250` | The delay, in milliseconds, between the last keystroke and the search (in memory / with a data source). |
|
package/docs/commands.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Commands and shortcuts
|
|
2
2
|
|
|
3
|
-
> Foundations · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Foundations · @motifx-community/ui 0.1.0-beta.13
|
|
4
4
|
|
|
5
5
|
A command of the app is defined once: its text, icon, keys, state and action. Menus, toolbars and ribbons name it, its keys run it, and the user can give it other keys. Every shortcut of the app is in one list, so the ones that get in each other’s way are found.
|
|
6
6
|
|