@motifx-community/ui 0.1.0-beta.0 → 0.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @motifx-community/ui might be problematic. Click here for more details.
- package/CHANGELOG.md +18 -0
- package/dist/components/dropdown/DropDown.d.ts +14 -0
- package/dist/components/dropdown/drop-down-props.d.ts +5 -0
- package/dist/components/scheduler/view/AgendaView.d.ts +1 -1
- package/dist/core/ui-strings.d.ts +2 -0
- package/dist/generated/tokens.d.ts +40 -0
- package/dist/index.js +133 -15
- package/dist/index.js.map +1 -1
- package/dist/locales/en.json +1 -0
- package/dist/locales/tr.json +1 -0
- package/dist/parts/data/DataItems.d.ts +5 -0
- package/dist/parts/data/KeyedItems.d.ts +2 -0
- package/dist/styles.css +87 -3
- package/dist/tokens/index.d.ts +40 -0
- package/dist/tokens/index.js +40 -0
- package/dist/tokens/index.js.map +1 -1
- package/docs/accordion.md +1 -1
- package/docs/actionsheet.md +1 -1
- package/docs/avatar.md +1 -1
- package/docs/badge.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/calendar.md +1 -1
- package/docs/card.md +1 -1
- package/docs/checkbox.md +1 -1
- package/docs/chip.md +1 -1
- package/docs/colorbox.md +1 -1
- package/docs/combobox.md +1 -1
- package/docs/control.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 +1 -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/drawer.md +1 -1
- package/docs/dropdown.md +11 -5
- package/docs/filterbuilder.md +1 -1
- package/docs/formlayout.md +1 -1
- package/docs/home.md +1 -1
- package/docs/keyboard.md +1 -1
- package/docs/layout.md +1 -1
- package/docs/listbox.md +1 -1
- package/docs/lookup.md +86 -2
- package/docs/menus.md +1 -1
- package/docs/numberbox.md +1 -1
- package/docs/pagination.md +1 -1
- package/docs/progress.md +1 -1
- package/docs/radiogroup.md +1 -1
- package/docs/rating.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/showcase.md +1 -1
- package/docs/skeleton.md +1 -1
- package/docs/slider.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 +1 -1
- package/docs/textarea.md +1 -1
- package/docs/textbox.md +1 -1
- package/docs/toast.md +1 -1
- package/docs/tokens.md +9 -1
- package/docs/toolbar.md +1 -1
- package/docs/tooltip.md +1 -1
- package/docs/treeview.md +1 -1
- package/docs/window.md +1 -1
- package/llms-full.txt +181 -83
- package/llms.txt +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Scheduler: Resources and groups
|
|
2
2
|
|
|
3
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
Rooms, people and any other kind of resource: they colour the appointments, split the columns into groups (nested, or under each date), say when each one works and when nothing may be put in.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Scheduler: Timeline
|
|
2
2
|
|
|
3
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
A row per resource with the time running along it: a day, a week, a work week or a month. Appointments at the same time stack in their row, and the row grows to fit them.
|
|
6
6
|
|
package/docs/scheduler.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Scheduler
|
|
2
2
|
|
|
3
|
-
> Scheduler · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Scheduler · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
Appointments over days and hours: day, week, work week and month views, all-day and multi-day bars, appointments at the same time side by side, and "+N more" where a day is full. From an array or a data source, with every setting live.
|
|
6
6
|
|
package/docs/showcase.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Showcase: an order screen
|
|
2
2
|
|
|
3
|
-
> Get started · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Get started · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
An order screen built with the kit, the way a MotifJS app is built: the state and the operations live in a model (`OrderModel`), the page binds to it. The customer list is a data source of 5,000 rows that answers like a server.
|
package/docs/skeleton.md
CHANGED
package/docs/slider.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Slider
|
|
2
2
|
|
|
3
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Editors · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
A value picked on a track by dragging a thumb or with the keys: one number, or a range with two thumbs. Steps, marks with labels, a value bubble, a vertical form and number formatting, with the label, help line and validation every field has.
|
|
6
6
|
|
package/docs/switch.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Switch
|
|
2
2
|
|
|
3
|
-
> Choice · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Choice · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
An on / off switch with its caption: a track with a thumb that slides, an optional on / off text inside or next to it, read-only and required. A native checkbox with the switch role underneath.
|
|
6
6
|
|
package/docs/tabdocs-dock.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TabDocumentManager: Dock and floating windows
|
|
2
2
|
|
|
3
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
Documents and whole groups float in windows of their own in the page and dock again into the documents' groups or into dock areas around them, which fold to the manager's edge. The mouse, the keys and the code do the same, through the same events.
|
|
6
6
|
|
package/docs/tabdocs-drag.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TabDocumentManager: Drag and drop
|
|
2
2
|
|
|
3
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
Tabs and whole groups dragged as in a code editor: along a strip, to another group, beside a group or along an edge of the layout, between two managers, and the same moves from the keyboard. Every drop goes through the methods and events of what it does.
|
|
6
6
|
|
package/docs/tabdocs-menus.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TabDocumentManager: Menus and keys
|
|
2
2
|
|
|
3
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
The commands around the tabs: context menus on tabs and on the empty strip, a searchable list of a group's documents, the app's own toolbar buttons, the recently used list, back and forward, reopening what was closed, locked groups, and the keys for all of them.
|
|
6
6
|
|
package/docs/tabdocs-mobile.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TabDocumentManager: Tablet and phone
|
|
2
2
|
|
|
3
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
On a tablet and a phone a layout of groups, splits and dock areas does not fit as it is. The manager keeps the layout and shows it another way: the same documents, groups and areas, the same saved JSON, the content moved and never made again. It goes by its own width, not by the device; on a touch screen its tabs and buttons get larger.
|
|
6
6
|
|
package/docs/tabdocs-tabs.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TabDocumentManager: Tabs
|
|
2
2
|
|
|
3
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
What a tab does in a code editor: preview tabs that the next preview replaces, pinned tabs that stay at the start, tabs that shrink, wrap or scroll, counts and colours, and the same document open in two groups.
|
|
6
6
|
|
package/docs/tabdocs-windows.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TabDocumentManager: New windows
|
|
2
2
|
|
|
3
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
A document, a group or a floating window moves into a browser window of its own, and back. Its content moves with it, nothing is made again, and the new window is a part of the same manager: its tabs, menus, keys and drag work as they do here.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TabDocumentManager: A whole workspace
|
|
2
2
|
|
|
3
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
A whole screen made of the kit's parts: a menu bar, the manager, a DataGrid with everything turned on, forms and a tool docked at the bottom. Each part is the same component it is on its own page; the manager only holds them.
|
|
6
6
|
|
package/docs/tabdocs.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TabDocumentManager
|
|
2
2
|
|
|
3
|
-
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> TabDocumentManager · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
A document manager in the way code editors arrange files: documents in tabs, tabs in groups, groups split side by side and one under the other. A document's content is any component, a form, a grid or plain text, and it is moved, never made again, when its tab goes to another group. Everything the user does is a method too, asks first and reports after; the whole layout saves to JSON and comes back. Preview and pinned tabs, sizes and copies are on [Tabs](tabdocs-tabs.md); context menus, lists and keys on [Menus and keys](tabdocs-menus.md).
|
|
6
6
|
|
package/docs/tabs.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Tabs
|
|
2
2
|
|
|
3
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
Tabs show one panel at a time under a strip of tabs: from JSX or from code, closable, with icons and badges, scroll buttons when the tabs do not fit, four placements and panels built when they are first shown.
|
|
6
6
|
|
package/docs/tagbox.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TagBox
|
|
2
2
|
|
|
3
|
-
> Data · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Data · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
Picks several items. The chosen ones are tags in the field, followed by a text input that searches the list; items come from memory or from a data source, and typed text can become a tag of its own.
|
|
6
6
|
|
package/docs/textarea.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TextArea
|
|
2
2
|
|
|
3
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Editors · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
A text field of several lines: a box that grows with the text or that the user drags bigger, a character counter, a clear button, Ctrl+Enter to send, and the label, help text and validation every field has.
|
|
6
6
|
|
package/docs/textbox.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TextBox
|
|
2
2
|
|
|
3
|
-
> Editors · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Editors · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
A one-line text field with its label, help text and error: placeholder, prefix and suffix, buttons in the box, a clear button, a password that can be shown, a character counter, an input mask and validation — alone, in a group, or every field in a panel.
|
|
6
6
|
|
package/docs/toast.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Toast
|
|
2
2
|
|
|
3
|
-
> Feedback · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Feedback · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
Short notifications at an edge of the window: four tones, an action such as Undo, a time of their own or none, six positions and a limit on how many show at once. Called from code; a region of your own can sit in JSX.
|
|
6
6
|
|
package/docs/tokens.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Design tokens
|
|
2
2
|
|
|
3
|
-
> Get started · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Get started · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
Five layers. The first four — primitives, the design language's own scales, semantic tokens per theme, density — come from `@motifx-community/design-system` and are listed here for reference. The fifth, the component tokens, is this kit's own: a knob per component, each referencing a design-system token, written in `@layer mx.components`. Every design language gives every one of them its own value.
|
|
6
6
|
|
|
@@ -1279,11 +1279,19 @@ Source: `tokens/schema/*.json` (names and types) and `tokens/languages/<language
|
|
|
1279
1279
|
| `drop-down.search.variant` | `--mx-drop-down-search-variant` | `` | `outline` |
|
|
1280
1280
|
| `drop-down.search.size` | `--mx-drop-down-search-size` | `` | `sm` |
|
|
1281
1281
|
| `drop-down.value.placeholder.color` | `--mx-drop-down-value-placeholder-color` | `color.fg.secondary` | `#5e5c55` |
|
|
1282
|
+
| `drop-down.value.missing.color` | `--mx-drop-down-value-missing-color` | `color.fg.secondary` | `#5e5c55` |
|
|
1283
|
+
| `drop-down.value.missing.text-decoration` | `--mx-drop-down-value-missing-text-decoration` | `` | `underline` |
|
|
1282
1284
|
| `drop-down.chevron.size` | `--mx-drop-down-chevron-size` | `icon.size.sm` | `0.75rem` |
|
|
1283
1285
|
| `drop-down.chevron.color` | `--mx-drop-down-chevron-color` | `color.fg.secondary` | `#5e5c55` |
|
|
1284
1286
|
| `drop-down.chevron.icon` | `--mx-drop-down-chevron-icon` | `` | `var(--mx-icon-chevron-down)` |
|
|
1285
1287
|
| `drop-down.chevron.open.rotate` | `--mx-drop-down-chevron-open-rotate` | `` | `0.5turn` |
|
|
1286
1288
|
| `drop-down.chevron.disabled.color` | `--mx-drop-down-chevron-disabled-color` | `color.fg.disabled` | `#a2a098` |
|
|
1289
|
+
| `drop-down.spinner.size` | `--mx-drop-down-spinner-size` | `icon.size.sm` | `0.75rem` |
|
|
1290
|
+
| `drop-down.spinner.border-width` | `--mx-drop-down-spinner-border-width` | `border.width.2` | `2px` |
|
|
1291
|
+
| `drop-down.spinner.border-end-color` | `--mx-drop-down-spinner-border-end-color` | `` | `rgb(0 0 0 / 0)` |
|
|
1292
|
+
| `drop-down.spinner.radius` | `--mx-drop-down-spinner-radius` | `radius.full` | `9999px` |
|
|
1293
|
+
| `drop-down.spinner.color` | `--mx-drop-down-spinner-color` | `color.fg.secondary` | `#5e5c55` |
|
|
1294
|
+
| `drop-down.spinner-shape.display` | `--mx-drop-down-spinner-shape-display` | `` | `initial` |
|
|
1287
1295
|
| `field.width` | `--mx-field-width` | `` | `16rem` |
|
|
1288
1296
|
| `field.variant` | `--mx-field-variant` | `` | `outline` |
|
|
1289
1297
|
| `field.label-mode` | `--mx-field-label-mode` | `` | `top` |
|
package/docs/toolbar.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Toolbar
|
|
2
2
|
|
|
3
|
-
> Buttons · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Buttons · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
A bar of commands: buttons, toggle buttons, menus and fields in groups between separators. It is one Tab stop and the arrow keys move inside it; items that do not fit move into a “more” menu at the end. Items come as data, as JSX children, or both.
|
|
6
6
|
|
package/docs/tooltip.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Tooltip
|
|
2
2
|
|
|
3
|
-
> Feedback · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Feedback · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
A short description shown next to an element: after the pointer rests on it, when it gets keyboard focus, or from code. It can be hovered, Escape hides it, and one is open at a time on the page.
|
|
6
6
|
|
package/docs/treeview.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TreeView
|
|
2
2
|
|
|
3
|
-
> Data · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Data · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
A tree view shows items in a hierarchy. Rows open and close, are selected one or many at a time, can carry check boxes that add up to their parents, can be searched, and can load their children when they are first opened. Long trees draw only the rows in view.
|
|
6
6
|
|
package/docs/window.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Window and dialog
|
|
2
2
|
|
|
3
|
-
> Navigation · @motifx-community/ui 0.1.0-beta.
|
|
3
|
+
> Navigation · @motifx-community/ui 0.1.0-beta.1
|
|
4
4
|
|
|
5
5
|
A window or a dialog on a native `<dialog>`: one form, shown modeless or modal by whoever shows it. It has a title bar, moves, resizes, minimizes and maximizes; Enter and Escape press its buttons; forms open forms. `messageBox` and `confirm` cover the common questions.
|
|
6
6
|
|