@abpjs/ui 0.2.0-next.34 → 0.2.0-next.36

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 CHANGED
@@ -1,5 +1,43 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.0-next.36
4
+
5
+ A prerelease under npm's `next` tag.
6
+
7
+ - `WidgetBoard`, the design canvas's dashboard widget container and layout, beside `DashboardGrid` (which is unchanged,
8
+ 12 columns by default). Widgets lie on 60 tracks counted from the start edge, each as tall as its content, packed in
9
+ order as high as they fit; `y` is only their order and comes back renumbered 0, 1, 2…. Every widget gets one
10
+ container: its title, then a move grip, Expand / Restore width and the ⋯ menu (grip and Expand show on hover, focus
11
+ or touch, their space kept). Expand stretches it across the board in place and isn't saved. A handle on the end edge
12
+ sets the width (pointer, arrow keys, Home and End), never under the widget's readable minimum (`minWidth`). Dragging
13
+ from the grip moves a ghost and a dashed slot, snapped to neighbours' edges within 2 tracks; over a widget's top half
14
+ it takes that place; Escape cancels. With the grip focused, Left and Right move 5 tracks (Shift 1), Up and Down past
15
+ the neighbour above or below, Home to the top, End to the end, mirrored right to left; each move is announced. The
16
+ ⋯ menu has the host's items, the width presets (half, two-thirds, full) and Move up / down, then the host's red items.
17
+ Below 720 px every widget is full width in order, without handles. `onLayoutChange` fires once per finished gesture.
18
+ `fromTwelve` reads a 12-column layout on 60 tracks; `appendAt` places a new widget.
19
+
20
+ ## 0.2.0-next.35
21
+
22
+ A prerelease under npm's `next` tag.
23
+
24
+ - guard › Directories, the design canvas's board:
25
+ - **New directory**, and a directory's name, open a wide `FormDialog` beside a preview: the name, the type, how often
26
+ it syncs ("On request only" when empty), and whether it's active and lets people sign in. A connector's settings
27
+ come once its type is chosen. Editing keeps the type, and **Delete directory** is the red link at the footer's start.
28
+ - A row's menu edits the directory, opens its page (sync runs, connection tests, everything else), syncs it now
29
+ (off for a type that doesn't sync), moves it up or down in priority, turns it off or on, or deletes it.
30
+ - Priority counts from 1. The internal type is named in the area's words, and a type that doesn't sync has no sync
31
+ interval.
32
+
33
+ `DirectoryFields` are the directory's fields without a form of their own, shared by the dialog and the directory's
34
+ page (`DirectoryForm`); `compact` gives one column. Active and sign-in are switches. `directoryRules.ts` holds the
35
+ editing start (a stored secret starts empty, so it's kept), which types sync, and moving, tested in
36
+ `tests/directory-rules.test.mjs`. New words in `directories` (`priority`, `internal`, `on`, `off`, `menuLabel`, `edit`,
37
+ `openPage`, `deactivate`, `activate`, `newTitle`, `editTitle`, `deleteDirectory`, `namePreview`, `sync`, `syncEvery`,
38
+ `onRequest`, `savedWithWarnings`) and `directoryForm` (`minutes`, `namePlaceholder`). `add`, `syncInterval`,
39
+ `syncIntervalHint` and `signInEnabled` say it as the canvas does, and `addedWithWarnings` is gone.
40
+
3
41
  ## 0.2.0-next.34
4
42
 
5
43
  A prerelease under npm's `next` tag.
package/dist/guard.d.ts CHANGED
@@ -1390,8 +1390,11 @@ interface AnonymousScreenProps {
1390
1390
  declare function AnonymousScreen({ roleName, roleDescription }?: AnonymousScreenProps): react.JSX.Element;
1391
1391
 
1392
1392
  /**
1393
- * The site's directories, in the order sign-in tries them: added, reordered, synced now. A connector a directory needs
1394
- * that isn't there (its plugin turned off) says so, and what a connector warns of in its settings is shown.
1393
+ * The site's directories, in the order sign-in tries them (the design canvas's board). New directory and a directory's
1394
+ * name open the dialog with a preview: its name, type, sync, whether it's active and signs people in, and its
1395
+ * connector's settings. A row's menu edits it, opens its page (sync runs, connection tests, everything else), syncs it
1396
+ * now, moves it up or down, turns it off or on, or deletes it. A connector that isn't there (its plugin turned off) says
1397
+ * so, and what a connector warns of in its settings is shown.
1395
1398
  */
1396
1399
  declare function DirectoriesScreen({ routes }: {
1397
1400
  routes?: GuardRoutes;