@g9tm/lynxcontrols 2.5.7 → 2.5.8
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/catalog/cards/G9AppearancePage.md +17 -0
- package/catalog/cards/G9Badge.md +1 -1
- package/catalog/cards/G9Button.md +2 -2
- package/catalog/cards/G9Card.md +1 -1
- package/catalog/cards/G9Chip.md +1 -1
- package/catalog/cards/G9ChipStrip.md +16 -0
- package/catalog/cards/G9CodeBlock.md +17 -0
- package/catalog/cards/G9CommandPalette.md +3 -1
- package/catalog/cards/G9ConnectionBanner.md +1 -1
- package/catalog/cards/G9ContrastPanel.md +15 -0
- package/catalog/cards/G9DashboardCustomizeSheet.md +17 -0
- package/catalog/cards/G9DashboardGrid.md +17 -0
- package/catalog/cards/G9DragList.md +4 -2
- package/catalog/cards/G9Editor.md +1 -1
- package/catalog/cards/G9ErrorBoundary.md +3 -2
- package/catalog/cards/G9Menu.md +1 -1
- package/catalog/cards/G9MenuList.md +2 -0
- package/catalog/cards/G9NotificationCenter.md +17 -0
- package/catalog/cards/G9NotificationCenterPanel.md +17 -0
- package/catalog/cards/G9PathNavigator.md +13 -0
- package/catalog/cards/G9PersonalThemeSheet.md +17 -0
- package/catalog/cards/G9Popover.md +1 -1
- package/catalog/cards/G9Provider.md +1 -1
- package/catalog/cards/G9ReaderSheet.md +17 -0
- package/catalog/cards/G9ReaderView.md +17 -0
- package/catalog/cards/G9SafeButton.md +2 -2
- package/catalog/cards/G9SearchEntry.md +1 -1
- package/catalog/cards/G9SecretValue.md +17 -0
- package/catalog/cards/G9ShortcutList.md +4 -0
- package/catalog/cards/G9ShortcutsSheet.md +3 -1
- package/catalog/cards/G9StatusPill.md +1 -1
- package/catalog/cards/G9Tag.md +1 -1
- package/catalog/cards/G9TextEntry.md +1 -1
- package/catalog/cards/G9VirtualList.md +1 -1
- package/catalog/cards/G9WallpaperSwatch.md +16 -0
- package/catalog/cards/G9WidgetSkeleton.md +9 -0
- package/catalog/cards/G9WidgetSlot.md +13 -0
- package/catalog/cards/PopupFrame.md +2 -2
- package/catalog/catalog.json +6947 -479
- package/catalog/index.md +18 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/appearance/appearance.css +264 -0
- package/dist/appearance/appearance.css.map +1 -0
- package/dist/appearance/appearance.d.ts +148 -0
- package/dist/appearance/appearance.d.ts.map +1 -0
- package/dist/appearance/appearance.jsx +604 -0
- package/dist/appearance/index.d.ts +2 -0
- package/dist/appearance/index.d.ts.map +1 -0
- package/dist/appearance/index.jsx +1 -0
- package/dist/base/control.d.ts +15 -0
- package/dist/base/control.d.ts.map +1 -1
- package/dist/base/control.jsx +13 -1
- package/dist/base/index.d.ts +1 -1
- package/dist/base/index.d.ts.map +1 -1
- package/dist/base/index.jsx +1 -1
- package/dist/button/button.css +4 -0
- package/dist/button/button.css.map +1 -1
- package/dist/cascade/cascade.css +2 -0
- package/dist/cascade/cascade.css.map +1 -1
- package/dist/commands/commands.css +46 -0
- package/dist/commands/commands.css.map +1 -1
- package/dist/commands/index.d.ts +2 -2
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.jsx +2 -2
- package/dist/commands/keys.d.ts +15 -1
- package/dist/commands/keys.d.ts.map +1 -1
- package/dist/commands/keys.jsx +20 -1
- package/dist/commands/palette.d.ts +73 -7
- package/dist/commands/palette.d.ts.map +1 -1
- package/dist/commands/palette.jsx +174 -20
- package/dist/dashboard/dashboard.css +101 -0
- package/dist/dashboard/dashboard.css.map +1 -0
- package/dist/dashboard/dashboard.d.ts +73 -0
- package/dist/dashboard/dashboard.d.ts.map +1 -0
- package/dist/dashboard/dashboard.jsx +297 -0
- package/dist/dashboard/index.d.ts +3 -0
- package/dist/dashboard/index.d.ts.map +1 -0
- package/dist/dashboard/index.jsx +2 -0
- package/dist/dashboard/model.d.ts +53 -0
- package/dist/dashboard/model.d.ts.map +1 -0
- package/dist/dashboard/model.jsx +76 -0
- package/dist/display/code.css +109 -0
- package/dist/display/code.css.map +1 -0
- package/dist/display/code.d.ts +43 -0
- package/dist/display/code.d.ts.map +1 -0
- package/dist/display/code.jsx +101 -0
- package/dist/display/extras.d.ts +7 -2
- package/dist/display/extras.d.ts.map +1 -1
- package/dist/display/extras.jsx +13 -4
- package/dist/display/index.d.ts +1 -0
- package/dist/display/index.d.ts.map +1 -1
- package/dist/display/index.jsx +1 -0
- package/dist/display/motion-figures.css +2 -0
- package/dist/display/motion-figures.css.map +1 -1
- package/dist/display/motion-figures.d.ts.map +1 -1
- package/dist/display/motion-figures.jsx +14 -7
- package/dist/display/theme-preview.css +4 -0
- package/dist/display/theme-preview.css.map +1 -1
- package/dist/fields/extra-entries.css +1 -0
- package/dist/fields/extra-entries.css.map +1 -1
- package/dist/fields/extra-entries.d.ts +2 -0
- package/dist/fields/extra-entries.d.ts.map +1 -1
- package/dist/fields/extra-entries.jsx +3 -2
- package/dist/header/header.css +2 -0
- package/dist/header/header.css.map +1 -1
- package/dist/host/carry-contexts.d.ts.map +1 -1
- package/dist/host/carry-contexts.jsx +22 -8
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/layout/layout.css +2 -0
- package/dist/layout/layout.css.map +1 -1
- package/dist/list/gestures.d.ts +39 -6
- package/dist/list/gestures.d.ts.map +1 -1
- package/dist/list/gestures.jsx +284 -89
- package/dist/list/index.d.ts +3 -2
- package/dist/list/index.d.ts.map +1 -1
- package/dist/list/index.jsx +2 -1
- package/dist/list/keyboard.d.ts +50 -0
- package/dist/list/keyboard.d.ts.map +1 -0
- package/dist/list/keyboard.jsx +117 -0
- package/dist/list/list.css +28 -5
- package/dist/list/list.css.map +1 -1
- package/dist/list/rows.d.ts.map +1 -1
- package/dist/list/rows.jsx +3 -3
- package/dist/list/virtual-list.d.ts +27 -1
- package/dist/list/virtual-list.d.ts.map +1 -1
- package/dist/list/virtual-list.jsx +49 -4
- package/dist/notifications/index.d.ts +3 -0
- package/dist/notifications/index.d.ts.map +1 -0
- package/dist/notifications/index.jsx +2 -0
- package/dist/notifications/model.d.ts +47 -0
- package/dist/notifications/model.d.ts.map +1 -0
- package/dist/notifications/model.jsx +51 -0
- package/dist/notifications/notification-center.d.ts +98 -0
- package/dist/notifications/notification-center.d.ts.map +1 -0
- package/dist/notifications/notification-center.jsx +424 -0
- package/dist/notifications/notifications.css +266 -0
- package/dist/notifications/notifications.css.map +1 -0
- package/dist/orb/orb.css +2 -0
- package/dist/orb/orb.css.map +1 -1
- package/dist/pickers/pickers.css +15 -0
- package/dist/pickers/pickers.css.map +1 -1
- package/dist/plus-button/plus-button.css +2 -0
- package/dist/plus-button/plus-button.css.map +1 -1
- package/dist/plus-button/plus-button.d.ts.map +1 -1
- package/dist/plus-button/plus-button.jsx +2 -1
- package/dist/popover/popover.css +23 -1
- package/dist/popover/popover.css.map +1 -1
- package/dist/popover/popover.d.ts +14 -0
- package/dist/popover/popover.d.ts.map +1 -1
- package/dist/popover/popover.jsx +73 -12
- package/dist/popover/position.d.ts +6 -2
- package/dist/popover/position.d.ts.map +1 -1
- package/dist/popover/position.jsx +15 -4
- package/dist/popup/popup.css +3 -0
- package/dist/popup/popup.css.map +1 -1
- package/dist/provider/provider.d.ts +6 -1
- package/dist/provider/provider.d.ts.map +1 -1
- package/dist/provider/provider.jsx +22 -2
- package/dist/reader/index.d.ts +2 -0
- package/dist/reader/index.d.ts.map +1 -0
- package/dist/reader/index.jsx +1 -0
- package/dist/reader/reader.css +74 -0
- package/dist/reader/reader.css.map +1 -0
- package/dist/reader/reader.d.ts +76 -0
- package/dist/reader/reader.d.ts.map +1 -0
- package/dist/reader/reader.jsx +149 -0
- package/dist/route/index.d.ts +2 -0
- package/dist/route/index.d.ts.map +1 -1
- package/dist/route/index.jsx +2 -0
- package/dist/route/path-navigator.css +42 -0
- package/dist/route/path-navigator.css.map +1 -0
- package/dist/route/path-navigator.d.ts +25 -0
- package/dist/route/path-navigator.d.ts.map +1 -0
- package/dist/route/path-navigator.jsx +98 -0
- package/dist/route/path-router.d.ts +162 -0
- package/dist/route/path-router.d.ts.map +1 -0
- package/dist/route/path-router.jsx +327 -0
- package/dist/selection/selection.css +2 -0
- package/dist/selection/selection.css.map +1 -1
- package/dist/sheet/frame.d.ts.map +1 -1
- package/dist/sheet/frame.jsx +9 -8
- package/dist/sheet/options.d.ts +6 -1
- package/dist/sheet/options.d.ts.map +1 -1
- package/dist/sheet/options.jsx +2 -1
- package/dist/sheet/panel-frame.d.ts.map +1 -1
- package/dist/sheet/panel-frame.jsx +5 -4
- package/dist/sheet/sizing.d.ts +3 -3
- package/dist/sheet/sizing.d.ts.map +1 -1
- package/dist/sheet/sizing.jsx +1 -0
- package/dist/shell/shell.css +12 -1
- package/dist/shell/shell.css.map +1 -1
- package/dist/shell/shell.d.ts.map +1 -1
- package/dist/shell/shell.jsx +7 -5
- package/dist/survey/survey.d.ts.map +1 -1
- package/dist/survey/survey.jsx +9 -6
- package/dist/swipe/swipe.css +2 -0
- package/dist/swipe/swipe.css.map +1 -1
- package/dist/tab-bar/flat.jsx +5 -4
- package/dist/tab-bar/tab-bar.css +2 -0
- package/dist/tab-bar/tab-bar.css.map +1 -1
- package/dist/toast/index.d.ts +1 -1
- package/dist/toast/index.d.ts.map +1 -1
- package/dist/toast/service.d.ts.map +1 -1
- package/dist/toast/service.jsx +18 -5
- package/dist/toast/store.d.ts +22 -0
- package/dist/toast/store.d.ts.map +1 -1
- package/dist/toast/store.jsx +35 -3
- package/dist/toast/toast.css +22 -0
- package/dist/toast/toast.css.map +1 -1
- package/dist/toggle/choice.css +27 -0
- package/dist/toggle/choice.css.map +1 -1
- package/dist/toggle/choice.d.ts +36 -0
- package/dist/toggle/choice.d.ts.map +1 -1
- package/dist/toggle/choice.jsx +77 -13
- package/dist/toggle/index.d.ts +1 -1
- package/dist/toggle/index.d.ts.map +1 -1
- package/dist/toggle/index.jsx +1 -1
- package/package.json +22 -2
- package/skills/g9-lynx-app/references/catalog-index.md +22 -6
- package/skills/g9-lynx-app/references/components/appearance.md +70 -0
- package/skills/g9-lynx-app/references/components/barcode.md +1 -1
- package/skills/g9-lynx-app/references/components/button.md +4 -4
- package/skills/g9-lynx-app/references/components/calendar-1.md +205 -0
- package/skills/g9-lynx-app/references/components/calendar-2.md +36 -0
- package/skills/g9-lynx-app/references/components/canvas.md +33 -0
- package/skills/g9-lynx-app/references/components/chat-1.md +199 -0
- package/skills/g9-lynx-app/references/components/chat-2.md +119 -0
- package/skills/g9-lynx-app/references/components/commands.md +10 -2
- package/skills/g9-lynx-app/references/components/dashboard.md +61 -0
- package/skills/g9-lynx-app/references/components/display-1.md +22 -21
- package/skills/g9-lynx-app/references/components/display-2.md +36 -39
- package/skills/g9-lynx-app/references/components/display-3.md +41 -2
- package/skills/g9-lynx-app/references/components/fields.md +3 -3
- package/skills/g9-lynx-app/references/components/layout-1.md +1 -1
- package/skills/g9-lynx-app/references/components/list.md +5 -3
- package/skills/g9-lynx-app/references/components/media-1.md +203 -0
- package/skills/g9-lynx-app/references/components/media-2.md +66 -0
- package/skills/g9-lynx-app/references/components/notifications.md +37 -0
- package/skills/g9-lynx-app/references/components/popover.md +4 -2
- package/skills/g9-lynx-app/references/components/popup.md +2 -2
- package/skills/g9-lynx-app/references/components/projects.md +73 -0
- package/skills/g9-lynx-app/references/components/provider.md +1 -1
- package/skills/g9-lynx-app/references/components/reader.md +37 -0
- package/skills/g9-lynx-app/references/components/richtext.md +54 -0
- package/skills/g9-lynx-app/references/components/route.md +14 -0
- package/skills/g9-lynx-app/references/components/shell.md +1 -1
- package/skills/g9-lynx-app/references/components/toggle.md +18 -1
- package/skills/g9-lynx-app/references/components/calendar.md +0 -128
- package/skills/g9-lynx-app/references/components/chat.md +0 -98
- package/skills/g9-lynx-app/references/components/media.md +0 -115
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@g9tm/lynxcontrols",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.8",
|
|
4
4
|
"description": "ReactLynx controls and overlay infrastructure: provider/host, sheets, popups, toasts, fields, buttons, pickers, tab view, tab bar, edge panel, swipe rows.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -23,11 +23,21 @@
|
|
|
23
23
|
"types": "./dist/guide/index.d.ts",
|
|
24
24
|
"default": "./dist/guide/index.jsx"
|
|
25
25
|
},
|
|
26
|
+
"./reader": {
|
|
27
|
+
"source": "./src/reader/index.ts",
|
|
28
|
+
"types": "./dist/reader/index.d.ts",
|
|
29
|
+
"default": "./dist/reader/index.jsx"
|
|
30
|
+
},
|
|
26
31
|
"./route": {
|
|
27
32
|
"source": "./src/route/index.ts",
|
|
28
33
|
"types": "./dist/route/index.d.ts",
|
|
29
34
|
"default": "./dist/route/index.jsx"
|
|
30
35
|
},
|
|
36
|
+
"./appearance": {
|
|
37
|
+
"source": "./src/appearance/index.ts",
|
|
38
|
+
"types": "./dist/appearance/index.d.ts",
|
|
39
|
+
"default": "./dist/appearance/index.jsx"
|
|
40
|
+
},
|
|
31
41
|
"./base": {
|
|
32
42
|
"source": "./src/base/index.ts",
|
|
33
43
|
"types": "./dist/base/index.d.ts",
|
|
@@ -43,6 +53,11 @@
|
|
|
43
53
|
"types": "./dist/host/index.d.ts",
|
|
44
54
|
"default": "./dist/host/index.jsx"
|
|
45
55
|
},
|
|
56
|
+
"./dashboard": {
|
|
57
|
+
"source": "./src/dashboard/index.ts",
|
|
58
|
+
"types": "./dist/dashboard/index.d.ts",
|
|
59
|
+
"default": "./dist/dashboard/index.jsx"
|
|
60
|
+
},
|
|
46
61
|
"./deferred": {
|
|
47
62
|
"source": "./src/deferred/index.ts",
|
|
48
63
|
"types": "./dist/deferred/index.d.ts",
|
|
@@ -182,6 +197,11 @@
|
|
|
182
197
|
"types": "./dist/effects/index.d.ts",
|
|
183
198
|
"default": "./dist/effects/index.jsx"
|
|
184
199
|
},
|
|
200
|
+
"./notifications": {
|
|
201
|
+
"source": "./src/notifications/index.ts",
|
|
202
|
+
"types": "./dist/notifications/index.d.ts",
|
|
203
|
+
"default": "./dist/notifications/index.jsx"
|
|
204
|
+
},
|
|
185
205
|
"./orb": {
|
|
186
206
|
"source": "./src/orb/index.ts",
|
|
187
207
|
"types": "./dist/orb/index.d.ts",
|
|
@@ -214,7 +234,7 @@
|
|
|
214
234
|
"build": "rslib build"
|
|
215
235
|
},
|
|
216
236
|
"dependencies": {
|
|
217
|
-
"@g9tm/lynxcontrols-foundation": "2.5.
|
|
237
|
+
"@g9tm/lynxcontrols-foundation": "2.5.8"
|
|
218
238
|
},
|
|
219
239
|
"peerDependencies": {
|
|
220
240
|
"@lynx-js/react": ">=0.129.3 <0.130.0",
|
|
@@ -10,7 +10,11 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
|
|
|
10
10
|
|
|
11
11
|
## @g9tm/lynxcontrols-calendar
|
|
12
12
|
|
|
13
|
-
- `@g9tm/lynxcontrols-calendar`: G9AgendaView, G9DateInput, G9MiniMonth, G9MonthDayPicker, G9MonthView, G9RepeatPicker, G9TimeGrid, G9ZonePicker → `components/calendar.md`
|
|
13
|
+
- `@g9tm/lynxcontrols-calendar`: G9AgendaView, G9BirthdayField, G9DateInput, G9EventCard, G9FindTime, G9MiniMonth, G9MonthDayPicker, G9MonthView, G9RepeatPicker, G9TimeGrid, G9TimeListPicker, G9TodayWidget, G9WorkingHoursEditor, G9ZonePicker → `components/calendar-1.md`, `components/calendar-2.md`
|
|
14
|
+
|
|
15
|
+
## @g9tm/lynxcontrols-canvas
|
|
16
|
+
|
|
17
|
+
- `@g9tm/lynxcontrols-canvas`: G9Canvas, G9CanvasStylePanel → `components/canvas.md`
|
|
14
18
|
|
|
15
19
|
## @g9tm/lynxcontrols-charts
|
|
16
20
|
|
|
@@ -18,7 +22,7 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
|
|
|
18
22
|
|
|
19
23
|
## @g9tm/lynxcontrols-chat
|
|
20
24
|
|
|
21
|
-
- `@g9tm/lynxcontrols-chat`: G9ChatComposer, G9ChatThread, G9ConversationRow, G9EmojiPicker, G9MessageBubble, G9TypingDots → `components/chat.md`
|
|
25
|
+
- `@g9tm/lynxcontrols-chat`: G9ChatComposer, G9ChatThread, G9ConversationRow, G9EmojiLibrary, G9EmojiPicker, G9FileCard, G9GifPicker, G9LinkPreview, G9MessageBubble, G9MessageMenu, G9MessageMeta, G9MessageText, G9PersonPicker, G9PinnedBar, G9ReactionBar, G9SlashSuggestions, G9StickerPicker, G9TypingDots → `components/chat-1.md`, `components/chat-2.md`
|
|
22
26
|
|
|
23
27
|
## @g9tm/lynxcontrols-commerce
|
|
24
28
|
|
|
@@ -27,13 +31,15 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
|
|
|
27
31
|
## @g9tm/lynxcontrols
|
|
28
32
|
|
|
29
33
|
- `@g9tm/lynxcontrols/anchor`: G9Anchor, G9ScrollerScope → `components/anchor.md`
|
|
34
|
+
- `@g9tm/lynxcontrols/appearance`: G9AppearancePage, G9ContrastPanel, G9PersonalThemeSheet, G9WallpaperSwatch → `components/appearance.md`
|
|
30
35
|
- `@g9tm/lynxcontrols/base`: G9CornerBadge, G9Pressable → `components/base.md`
|
|
31
36
|
- `@g9tm/lynxcontrols/button`: G9Button, G9HeaderActionButton, G9IconButton, G9NavCard, G9SafeButton, G9SafeIconButton, G9VerticalIconTextButton → `components/button.md`
|
|
32
37
|
- `@g9tm/lynxcontrols/cascade`: G9CascadePanel → `components/cascade.md`
|
|
33
38
|
- `@g9tm/lynxcontrols/commands`: G9CommandPalette, G9ShortcutList, G9ShortcutsSheet → `components/commands.md`
|
|
39
|
+
- `@g9tm/lynxcontrols/dashboard`: G9DashboardCustomizeSheet, G9DashboardGrid, G9WidgetSkeleton, G9WidgetSlot → `components/dashboard.md`
|
|
34
40
|
- `@g9tm/lynxcontrols/deferred`: G9DeferredContent → `components/deferred.md`
|
|
35
41
|
- `@g9tm/lynxcontrols/design`: G9DesignNode, G9DesignScope → `components/design.md`
|
|
36
|
-
- `@g9tm/lynxcontrols/display`: G9ActivityIndicator, G9Avatar, G9Badge, G9CameFromMark, G9CultureDateTimeLabel, G9Delta, G9EmptyState, G9ErrorBoundary, G9Image, G9InlineMessage, G9Keycap, G9Kpi, G9KpiGrid, G9LiveBadge, G9LiveDot, G9LoadState, G9LockOverlay, G9Photo, G9ProgressBar, G9ProgressRing, G9RevealText, G9Separator, G9SheetSkeleton, G9ShimmerBand, G9Skeleton, G9SkeletonPage, G9SkeletonRows, G9StatusPill, G9StepTracker, G9Tag, G9ThemePreviewCard, G9TitleWithLine, G9Wave → `components/display-1.md`, `components/display-2.md`, `components/display-3.md`
|
|
42
|
+
- `@g9tm/lynxcontrols/display`: G9ActivityIndicator, G9Avatar, G9Badge, G9CameFromMark, G9CodeBlock, G9CultureDateTimeLabel, G9Delta, G9EmptyState, G9ErrorBoundary, G9Image, G9InlineMessage, G9Keycap, G9Kpi, G9KpiGrid, G9LiveBadge, G9LiveDot, G9LoadState, G9LockOverlay, G9Photo, G9ProgressBar, G9ProgressRing, G9RevealText, G9SecretValue, G9Separator, G9SheetSkeleton, G9ShimmerBand, G9Skeleton, G9SkeletonPage, G9SkeletonRows, G9StatusPill, G9StepTracker, G9Tag, G9ThemePreviewCard, G9TitleWithLine, G9Wave → `components/display-1.md`, `components/display-2.md`, `components/display-3.md`
|
|
37
43
|
- `@g9tm/lynxcontrols/edge-panel`: G9EdgePanel → `components/edge-panel.md`
|
|
38
44
|
- `@g9tm/lynxcontrols/effects`: G9AnimatedCheck, G9Confetti, G9SuccessHeader → `components/effects.md`
|
|
39
45
|
- `@g9tm/lynxcontrols/expander`: G9Expander → `components/expander.md`
|
|
@@ -43,6 +49,7 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
|
|
|
43
49
|
- `@g9tm/lynxcontrols/icon`: G9Art, G9Icon, G9IconSlot, G9Swatch → `components/icon.md`
|
|
44
50
|
- `@g9tm/lynxcontrols/layout`: G9ActionRow, G9Bento, G9Card, G9Columns, G9HScroll, G9Page, G9PlaceScroll, G9SaveBar, G9ScrollSpyBar, G9Section, G9SectionHeader, G9SplitPane, G9UnsavedBar → `components/layout-1.md`, `components/layout-2.md`
|
|
45
51
|
- `@g9tm/lynxcontrols/list`: G9DragList, G9ListRow, G9Pager, G9PullToRefresh, G9SettingsGroup, G9SwitchRow, G9VirtualList → `components/list.md`
|
|
52
|
+
- `@g9tm/lynxcontrols/notifications`: G9NotificationCenter, G9NotificationCenterPanel → `components/notifications.md`
|
|
46
53
|
- `@g9tm/lynxcontrols/orb`: G9FloatingOrb, G9HoldButton → `components/orb.md`
|
|
47
54
|
- `@g9tm/lynxcontrols/pickers`: DateTimeSheetBody, G9ComboBox, G9DateTimePicker, G9DayStepper, G9Picker, G9TimeSpanPicker, G9WheelColumn, PickerField, PickerSheetHeader, SelectionValueIcon, TimeSpanSheetBody → `components/pickers.md`
|
|
48
55
|
- `@g9tm/lynxcontrols/plus-button`: G9PlusButton → `components/plus-button.md`
|
|
@@ -50,14 +57,15 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
|
|
|
50
57
|
- `@g9tm/lynxcontrols/popup`: G9PopupDragHandle, G9PopupView, PopupFrame, PopupInputForm → `components/popup.md`
|
|
51
58
|
- `@g9tm/lynxcontrols/provider`: G9Activity, G9DirectionScope, G9KeepAlive, G9Provider → `components/provider.md`
|
|
52
59
|
- `@g9tm/lynxcontrols/range-slider`: G9RangeSlider, G9StepSlider → `components/range-slider.md`
|
|
53
|
-
- `@g9tm/lynxcontrols/
|
|
60
|
+
- `@g9tm/lynxcontrols/reader`: G9ReaderSheet, G9ReaderView → `components/reader.md`
|
|
61
|
+
- `@g9tm/lynxcontrols/route`: G9PathNavigator, G9Place → `components/route.md`
|
|
54
62
|
- `@g9tm/lynxcontrols/sheet`: G9LoadableSheetContent, G9ProcessingSheetContent, G9Sheet, G9SheetBackdropScope, G9SheetFooter, G9SheetFooterBar, G9SheetFrame, G9SheetHeader, G9SheetScrollIndicator, G9SheetScrollRegion → `components/sheet.md`
|
|
55
63
|
- `@g9tm/lynxcontrols/shell`: G9AppShell, G9ConnectionBanner, G9IconRail, G9SideNav, G9TopBar, G9UpdateBar → `components/shell.md`
|
|
56
64
|
- `@g9tm/lynxcontrols/survey`: G9AllocationInput, G9ChoiceList, G9ScaleInput → `components/survey.md`
|
|
57
65
|
- `@g9tm/lynxcontrols/swipe`: G9SwipeGroup, G9SwipeView → `components/swipe.md`
|
|
58
66
|
- `@g9tm/lynxcontrols/tab-bar`: G9FlatTabBar, G9TabBar → `components/tab-bar.md`
|
|
59
67
|
- `@g9tm/lynxcontrols/tabs`: G9TabView → `components/tabs.md`
|
|
60
|
-
- `@g9tm/lynxcontrols/toggle`: G9CheckBox, G9Chip, G9ChipGroup, G9RadioGroup, G9RatingInput, G9Segmented, G9Stepper, G9Switch, G9SwitchGroup → `components/toggle.md`
|
|
68
|
+
- `@g9tm/lynxcontrols/toggle`: G9CheckBox, G9Chip, G9ChipGroup, G9ChipStrip, G9RadioGroup, G9RatingInput, G9Segmented, G9Stepper, G9Switch, G9SwitchGroup → `components/toggle.md`
|
|
61
69
|
|
|
62
70
|
## @g9tm/lynxcontrols-datagrid
|
|
63
71
|
|
|
@@ -73,8 +81,16 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
|
|
|
73
81
|
|
|
74
82
|
## @g9tm/lynxcontrols-media
|
|
75
83
|
|
|
76
|
-
- `@g9tm/lynxcontrols-media`: G9BlurhashView, G9DropZone, G9ImageCropper, G9Lightbox, G9MediaGrid, G9MediaPager, G9VoicePlayer → `components/media.md`
|
|
84
|
+
- `@g9tm/lynxcontrols-media`: G9BlurhashView, G9CallControls, G9CallStage, G9CallTileView, G9Captcha, G9ClipPlayer, G9DropZone, G9ImageCropper, G9IncomingCall, G9Lightbox, G9MediaGrid, G9MediaPager, G9QualityBars, G9SelfPip, G9VideoNote, G9VoicePlayer → `components/media-1.md`, `components/media-2.md`
|
|
77
85
|
|
|
78
86
|
## @g9tm/lynxcontrols-pilot
|
|
79
87
|
|
|
80
88
|
- `@g9tm/lynxcontrols-pilot`: G9PilotHost, G9PilotMask, G9PilotPanel → `components/pilot.md`
|
|
89
|
+
|
|
90
|
+
## @g9tm/lynxcontrols-projects
|
|
91
|
+
|
|
92
|
+
- `@g9tm/lynxcontrols-projects`: G9Board, G9RuleBuilder, G9TaskCard, G9Timeline → `components/projects.md`
|
|
93
|
+
|
|
94
|
+
## @g9tm/lynxcontrols-richtext
|
|
95
|
+
|
|
96
|
+
- `@g9tm/lynxcontrols-richtext`: G9RichLines, G9RichText, G9RichTextEditor → `components/richtext.md`
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# `@g9tm/lynxcontrols/appearance` (generated)
|
|
2
|
+
|
|
3
|
+
# G9AppearancePage
|
|
4
|
+
|
|
5
|
+
`import { G9AppearancePage } from '@g9tm/lynxcontrols/appearance';`
|
|
6
|
+
|
|
7
|
+
Settings → Appearance: mode, themes, accent, wallpaper, text size, density, effects.
|
|
8
|
+
|
|
9
|
+
Props:
|
|
10
|
+
- `onChange`: (settings: G9AppearanceSettings) => void
|
|
11
|
+
- `settings`: object
|
|
12
|
+
- `systemScheme`: 'light' | 'dark'
|
|
13
|
+
- `themes`: object[]
|
|
14
|
+
- `onCreateTheme?`: () => void
|
|
15
|
+
- `onEditTheme?`: (theme: G9ThemeDefinition) => void
|
|
16
|
+
- `accents?`: object[]
|
|
17
|
+
- `language?`: string
|
|
18
|
+
|
|
19
|
+
Example: `<G9AppearancePage onChange={() => {}} settings={settings} systemScheme="light" themes={themes} />`
|
|
20
|
+
|
|
21
|
+
# G9ContrastPanel
|
|
22
|
+
|
|
23
|
+
`import { G9ContrastPanel } from '@g9tm/lynxcontrols/appearance';`
|
|
24
|
+
|
|
25
|
+
A palette's contrast report: a sample, the ratio, AA / AAA and a fix for each failing pair.
|
|
26
|
+
|
|
27
|
+
Props:
|
|
28
|
+
- `palette`: object
|
|
29
|
+
- `onFix?`: (foreground: string, value: string) => void
|
|
30
|
+
- `onlyFailures?`: boolean
|
|
31
|
+
- `pairs?`: object[]
|
|
32
|
+
- `rules?`: object[]
|
|
33
|
+
- `words?`: object
|
|
34
|
+
|
|
35
|
+
Example: `<G9ContrastPanel palette={palette} />`
|
|
36
|
+
|
|
37
|
+
# G9PersonalThemeSheet
|
|
38
|
+
|
|
39
|
+
`import { G9PersonalThemeSheet } from '@g9tm/lynxcontrols/appearance';`
|
|
40
|
+
|
|
41
|
+
The personal theme editor: base, accent, surfaces, mode, wallpaper, a live preview and its contrast.
|
|
42
|
+
|
|
43
|
+
Props:
|
|
44
|
+
- `bases`: object[]
|
|
45
|
+
- `onClose`: () => void
|
|
46
|
+
- `onSave`: (theme: G9ThemeDefinition, draft: G9PersonalThemeDraft) => void
|
|
47
|
+
- `open`: boolean
|
|
48
|
+
- `onDelete?`: (id: string) => void
|
|
49
|
+
- `onExport?`: (theme: G9ThemeDefinition) => void
|
|
50
|
+
- `accents?`: object[]
|
|
51
|
+
- `draft?`: object
|
|
52
|
+
|
|
53
|
+
Example: `<G9PersonalThemeSheet bases={bases} onClose={() => {}} onSave={() => {}} open />`
|
|
54
|
+
|
|
55
|
+
# G9WallpaperSwatch
|
|
56
|
+
|
|
57
|
+
`import { G9WallpaperSwatch } from '@g9tm/lynxcontrols/appearance';`
|
|
58
|
+
|
|
59
|
+
A wallpaper as a small swatch in the palette's colours, with its name and a ring when chosen.
|
|
60
|
+
|
|
61
|
+
Props:
|
|
62
|
+
- `palette`: object
|
|
63
|
+
- `scheme`: 'light' | 'dark'
|
|
64
|
+
- `wallpaper`: object
|
|
65
|
+
- `label?`: string
|
|
66
|
+
- `selected?`: boolean
|
|
67
|
+
- `onPress?`: () => void
|
|
68
|
+
- `height?`: number = 56
|
|
69
|
+
|
|
70
|
+
Example: `<G9WallpaperSwatch palette={palette} scheme="light" wallpaper={wallpaper} />`
|
|
@@ -14,7 +14,7 @@ Props:
|
|
|
14
14
|
- `onValueChange?`: (value: string, details: { readonly source: G9BarcodeValueSource; }) => void
|
|
15
15
|
- `disabled?`: boolean = false
|
|
16
16
|
- `confirmType?`: 'search' | 'done' | 'send' | 'go' | 'next' = "done"
|
|
17
|
-
- `inputType?`: 'number' | '
|
|
17
|
+
- `inputType?`: 'number' | 'custom' | 'default' | 'email' | 'phone' | 'url' | 'letters' | 'decimal' | 'signedNumber' | 'signedDecimal' | 'lettersAndNumbers' | 'lettersNumbersSpace' | 'persianLetters' | 'persianLettersAndNumbers' | 'multilingualLettersAndNumbers' | 'noSpecialChars' = "default"
|
|
18
18
|
|
|
19
19
|
Example: `<G9BarcodeTextEntry />`
|
|
20
20
|
|
|
@@ -9,11 +9,11 @@ Text button (MAUI `G9Button`): variant fill (gradient for the solid variants), 1
|
|
|
9
9
|
Props:
|
|
10
10
|
- `text?`: string
|
|
11
11
|
- `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "primary"
|
|
12
|
-
- `size?`: 'small' | '
|
|
12
|
+
- `size?`: 'small' | 'large' | 'medium' | 'hero' = "medium"
|
|
13
13
|
- `leadingIcon?`: icon
|
|
14
14
|
- `onPress?`: () => void
|
|
15
15
|
- `disabled?`: boolean = false
|
|
16
|
-
- `fontAttributes?`: '
|
|
16
|
+
- `fontAttributes?`: 'none' | 'bold' | 'italic' | 'boldItalic' = "bold"
|
|
17
17
|
- `loadingText?`: string
|
|
18
18
|
|
|
19
19
|
Example: `<G9Button text="Cancel" variant="outline" />`
|
|
@@ -81,11 +81,11 @@ Button with guarded execution (MAUI `G9SafeButton`): a tap calls `onPress`, then
|
|
|
81
81
|
Props:
|
|
82
82
|
- `text?`: string
|
|
83
83
|
- `variant?`: 'text' | 'primary' | 'default' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'surface' | 'outline' | 'accent' | 'tonal' | 'errorTonal' | 'ghost' | 'inverse' = "primary"
|
|
84
|
-
- `size?`: 'small' | '
|
|
84
|
+
- `size?`: 'small' | 'large' | 'medium' | 'hero' = "medium"
|
|
85
85
|
- `leadingIcon?`: icon
|
|
86
86
|
- `onPress?`: () => void
|
|
87
87
|
- `disabled?`: boolean = false
|
|
88
|
-
- `fontAttributes?`: '
|
|
88
|
+
- `fontAttributes?`: 'none' | 'bold' | 'italic' | 'boldItalic' = "bold"
|
|
89
89
|
- `onExecute?`: (context: G9SafeRunContext) => void
|
|
90
90
|
|
|
91
91
|
Example: `<G9SafeButton />`
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
# `@g9tm/lynxcontrols-calendar` (part 1 of 2) (generated)
|
|
2
|
+
|
|
3
|
+
# G9AgendaView
|
|
4
|
+
|
|
5
|
+
`import { G9AgendaView } from '@g9tm/lynxcontrols-calendar';`
|
|
6
|
+
|
|
7
|
+
Days with something on them, each a sticky header (its date, «today», the other calendar's date) over its holidays and its events (time, a colour, the title, where, the person's answer), on the recycler; «later days» und
|
|
8
|
+
|
|
9
|
+
Props:
|
|
10
|
+
- `events`: object[]
|
|
11
|
+
- `today`: object
|
|
12
|
+
- `secondCalendar?`: 'gregorian' | 'persian' | 'none' | 'auto' = "none"
|
|
13
|
+
- `onLoadMore?`: () => void
|
|
14
|
+
- `onSelectEvent?`: (event: G9CalendarEvent) => void
|
|
15
|
+
- `allDayText?`: string
|
|
16
|
+
- `loading?`: boolean
|
|
17
|
+
- `empty?`: ReactNode
|
|
18
|
+
|
|
19
|
+
Example: `<G9AgendaView events={events} today={today} />`
|
|
20
|
+
|
|
21
|
+
# G9BirthdayField
|
|
22
|
+
|
|
23
|
+
`import { G9BirthdayField } from '@g9tm/lynxcontrols-calendar';`
|
|
24
|
+
|
|
25
|
+
A birthday on the viewer's calendar: the month, the day, an optional year; stored in Gregorian.
|
|
26
|
+
|
|
27
|
+
Props:
|
|
28
|
+
- `labels`: object
|
|
29
|
+
- `onChange`: (value: G9Birthday | null) => void
|
|
30
|
+
- `value`: object
|
|
31
|
+
- `disabled?`: boolean
|
|
32
|
+
- `thisYear?`: number
|
|
33
|
+
|
|
34
|
+
Example: `<G9BirthdayField labels={labels} onChange={() => {}} value={value} />`
|
|
35
|
+
|
|
36
|
+
# G9DateInput
|
|
37
|
+
|
|
38
|
+
`import { G9DateInput } from '@g9tm/lynxcontrols-calendar';`
|
|
39
|
+
|
|
40
|
+
A date typed the way people say it — «فردا», «۱۵ مهر», «2026-03-21», «next friday» — read on blur (parseNaturalDate), with a month to tap under it.
|
|
41
|
+
|
|
42
|
+
Props:
|
|
43
|
+
- `label`: string
|
|
44
|
+
- `onChange`: (date: G9LocalDate | null) => void
|
|
45
|
+
- `today`: object
|
|
46
|
+
- `value`: object
|
|
47
|
+
- `disabled?`: boolean
|
|
48
|
+
- `hint?`: string
|
|
49
|
+
- `invalidText?`: string
|
|
50
|
+
- `error?`: string
|
|
51
|
+
|
|
52
|
+
Example: `<G9DateInput label="Label" onChange={() => {}} today={today} value={value} />`
|
|
53
|
+
|
|
54
|
+
# G9EventCard
|
|
55
|
+
|
|
56
|
+
`import { G9EventCard } from '@g9tm/lynxcontrols-calendar';`
|
|
57
|
+
|
|
58
|
+
An event linked in a message: title, when, repeat, place, guests, and yes / maybe / no for an invitee.
|
|
59
|
+
|
|
60
|
+
Props:
|
|
61
|
+
- `event`: object
|
|
62
|
+
- `labels`: object
|
|
63
|
+
- `onOpen?`: () => void
|
|
64
|
+
- `onRespond?`: (answer: "accepted" | "tentative" | "declined") => void
|
|
65
|
+
- `busy?`: boolean
|
|
66
|
+
- `guests?`: number
|
|
67
|
+
- `hidden?`: boolean
|
|
68
|
+
- `repeat?`: string
|
|
69
|
+
|
|
70
|
+
Example: `<G9EventCard event={event} labels={labels} />`
|
|
71
|
+
|
|
72
|
+
# G9FindTime
|
|
73
|
+
|
|
74
|
+
`import { G9FindTime } from '@g9tm/lynxcontrols-calendar';`
|
|
75
|
+
|
|
76
|
+
«Find a time»: the common free slots by day, everyone-free in green, the least busy with how many are busy.
|
|
77
|
+
|
|
78
|
+
Props:
|
|
79
|
+
- `labels`: object
|
|
80
|
+
- `onPick`: (slot: G9FreeSlot) => void
|
|
81
|
+
- `slots`: object[]
|
|
82
|
+
- `disabled?`: boolean
|
|
83
|
+
- `onSearch?`: () => void
|
|
84
|
+
- `loading?`: boolean
|
|
85
|
+
- `error?`: string
|
|
86
|
+
|
|
87
|
+
Example: `<G9FindTime labels={labels} onPick={() => {}} slots={slots} />`
|
|
88
|
+
|
|
89
|
+
# G9MiniMonth
|
|
90
|
+
|
|
91
|
+
`import { G9MiniMonth } from '@g9tm/lynxcontrols-calendar';`
|
|
92
|
+
|
|
93
|
+
A compact month: header with arrows, weekday initials, 6×7 days; today ringed, the value filled, a range tinted.
|
|
94
|
+
|
|
95
|
+
Props:
|
|
96
|
+
- `today`: object
|
|
97
|
+
- `value?`: object
|
|
98
|
+
- `onSelect?`: (date: G9LocalDate) => void
|
|
99
|
+
- `dayOff?`: (date: G9LocalDate) => void
|
|
100
|
+
- `marked?`: (date: G9LocalDate) => void
|
|
101
|
+
- `onMonthChange?`: (month: G9LocalDate) => void
|
|
102
|
+
- `initialMonth?`: object
|
|
103
|
+
- `max?`: object
|
|
104
|
+
|
|
105
|
+
Example: `<G9MiniMonth today={today} />`
|
|
106
|
+
|
|
107
|
+
# G9MonthDayPicker
|
|
108
|
+
|
|
109
|
+
`import { G9MonthDayPicker } from '@g9tm/lynxcontrols-calendar';`
|
|
110
|
+
|
|
111
|
+
Two rows of chips: the twelve months of the culture's calendar, then the chosen month's days.
|
|
112
|
+
|
|
113
|
+
Props:
|
|
114
|
+
- `onChange`: (value: G9MonthDay | null) => void
|
|
115
|
+
- `value`: object
|
|
116
|
+
|
|
117
|
+
Example: `<G9MonthDayPicker onChange={() => {}} value={value} />`
|
|
118
|
+
|
|
119
|
+
# G9MonthView
|
|
120
|
+
|
|
121
|
+
`import { G9MonthView } from '@g9tm/lynxcontrols-calendar';`
|
|
122
|
+
|
|
123
|
+
The month with lanes of events, holidays, days off and a mouse drag (wide), or dots and a selected day (compact).
|
|
124
|
+
|
|
125
|
+
Props:
|
|
126
|
+
- `events`: object[]
|
|
127
|
+
- `month`: object
|
|
128
|
+
- `today`: object
|
|
129
|
+
- `selected?`: object
|
|
130
|
+
- `secondCalendar?`: 'gregorian' | 'persian' | 'none' | 'auto' = "none"
|
|
131
|
+
- `dayOff?`: (date: G9LocalDate) => void
|
|
132
|
+
- `moreText?`: (n: number) => void = "+n"
|
|
133
|
+
- `onCreate?`: (draft: G9MonthDraft) => void
|
|
134
|
+
|
|
135
|
+
Example: `<G9MonthView events={events} month={month} today={today} />`
|
|
136
|
+
|
|
137
|
+
# G9RepeatPicker
|
|
138
|
+
|
|
139
|
+
`import { G9RepeatPicker } from '@g9tm/lynxcontrols-calendar';`
|
|
140
|
+
|
|
141
|
+
Never / daily / weekly / … : the presets from the start date and a full custom editor, or the plain frequency row.
|
|
142
|
+
|
|
143
|
+
Props:
|
|
144
|
+
- `labels`: object
|
|
145
|
+
- `onChange`: (rule: G9Recurrence | null) => void
|
|
146
|
+
- `value`: object
|
|
147
|
+
- `editorLabels?`: object
|
|
148
|
+
- `presets?`: 'none' | 'daily' | 'weekly' | 'workdays' | 'monthlyDate' | 'monthlyWeekday' | 'yearly' | 'custom'[]
|
|
149
|
+
- `start?`: object
|
|
150
|
+
- `words?`: object
|
|
151
|
+
|
|
152
|
+
Example: `<G9RepeatPicker labels={labels} onChange={() => {}} value={value} />`
|
|
153
|
+
|
|
154
|
+
# G9TimeGrid
|
|
155
|
+
|
|
156
|
+
`import { G9TimeGrid } from '@g9tm/lynxcontrols-calendar';`
|
|
157
|
+
|
|
158
|
+
The hours with overlap lanes, the all-day row and the gestures.
|
|
159
|
+
|
|
160
|
+
Props:
|
|
161
|
+
- `events`: object[]
|
|
162
|
+
- `start`: object
|
|
163
|
+
- `today`: object
|
|
164
|
+
- `secondCalendar?`: 'gregorian' | 'persian' | 'none' | 'auto' = "none"
|
|
165
|
+
- `dayOff?`: (date: G9LocalDate) => void
|
|
166
|
+
- `moreText?`: (n: number) => void = "+n"
|
|
167
|
+
- `onCreate?`: (draft: G9TimeDraft) => void
|
|
168
|
+
- `onMove?`: (event: G9CalendarEvent, draft: G9TimeDraft) => void
|
|
169
|
+
|
|
170
|
+
Example: `<G9TimeGrid events={events} start={start} today={today} />`
|
|
171
|
+
|
|
172
|
+
# G9TimeListPicker
|
|
173
|
+
|
|
174
|
+
`import { G9TimeListPicker } from '@g9tm/lynxcontrols-calendar';`
|
|
175
|
+
|
|
176
|
+
A time picked from a list of steps: a popover on a wide window, a sheet on a phone; it opens at the value.
|
|
177
|
+
|
|
178
|
+
Props:
|
|
179
|
+
- `label`: string
|
|
180
|
+
- `onChange`: (minutes: number) => void
|
|
181
|
+
- `value`: number
|
|
182
|
+
- `title?`: string
|
|
183
|
+
- `placeholder?`: string
|
|
184
|
+
- `disabled?`: boolean
|
|
185
|
+
- `hint?`: string
|
|
186
|
+
- `error?`: string
|
|
187
|
+
|
|
188
|
+
Example: `<G9TimeListPicker label="Label" onChange={() => {}} value={1} />`
|
|
189
|
+
|
|
190
|
+
# G9TodayWidget
|
|
191
|
+
|
|
192
|
+
`import { G9TodayWidget } from '@g9tm/lynxcontrols-calendar';`
|
|
193
|
+
|
|
194
|
+
Today's events on a home screen: the date, all-day first, then timed with the next one marked; «and n more».
|
|
195
|
+
|
|
196
|
+
Props:
|
|
197
|
+
- `events`: object[]
|
|
198
|
+
- `labels`: object
|
|
199
|
+
- `now`: number
|
|
200
|
+
- `today`: object
|
|
201
|
+
- `onOpen?`: () => void
|
|
202
|
+
- `onSelectEvent?`: (event: G9CalendarEvent) => void
|
|
203
|
+
- `max?`: number = 4
|
|
204
|
+
|
|
205
|
+
Example: `<G9TodayWidget events={events} labels={labels} now={1} today={today} />`
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# `@g9tm/lynxcontrols-calendar` (part 2 of 2) (generated)
|
|
2
|
+
|
|
3
|
+
# G9WorkingHoursEditor
|
|
4
|
+
|
|
5
|
+
`import { G9WorkingHoursEditor } from '@g9tm/lynxcontrols-calendar';`
|
|
6
|
+
|
|
7
|
+
The week's working hours: a switch per weekday (in the culture's week), its ranges, copy to every day, the zone.
|
|
8
|
+
|
|
9
|
+
Props:
|
|
10
|
+
- `labels`: object
|
|
11
|
+
- `onChange`: (week: Readonly<Partial<Record<number, readonly G9WorkRange[]>>>) => void
|
|
12
|
+
- `value`: object
|
|
13
|
+
- `onTimeZoneChange?`: (zone: string) => void
|
|
14
|
+
- `defaultRange?`: object = 9
|
|
15
|
+
- `timeZone?`: string
|
|
16
|
+
- `zones?`: string[]
|
|
17
|
+
|
|
18
|
+
Example: `<G9WorkingHoursEditor labels={labels} onChange={() => {}} value={value} />`
|
|
19
|
+
|
|
20
|
+
# G9ZonePicker
|
|
21
|
+
|
|
22
|
+
`import { G9ZonePicker } from '@g9tm/lynxcontrols-calendar';`
|
|
23
|
+
|
|
24
|
+
A searchable time-zone picker: the rows are windowed, so ~420 zones open as fast as ten.
|
|
25
|
+
|
|
26
|
+
Props:
|
|
27
|
+
- `onChange`: (zone: string) => void
|
|
28
|
+
- `value`: string
|
|
29
|
+
- `zones`: string[]
|
|
30
|
+
- `label?`: string
|
|
31
|
+
- `leadingIcon?`: icon
|
|
32
|
+
- `placeholder?`: string
|
|
33
|
+
- `disabled?`: boolean = false
|
|
34
|
+
- `offsetOf?`: (zone: string) => void
|
|
35
|
+
|
|
36
|
+
Example: `<G9ZonePicker onChange={() => {}} value="value" zones={zones} />`
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# `@g9tm/lynxcontrols-canvas` (generated)
|
|
2
|
+
|
|
3
|
+
# G9Canvas
|
|
4
|
+
|
|
5
|
+
`import { G9Canvas } from '@g9tm/lynxcontrols-canvas';`
|
|
6
|
+
|
|
7
|
+
A whiteboard on the host's `<g9-canvas>` (or the desktop's page).
|
|
8
|
+
|
|
9
|
+
Props:
|
|
10
|
+
- `controller`: object
|
|
11
|
+
- `editable`: boolean
|
|
12
|
+
- `port`: object
|
|
13
|
+
- `stroke`: object
|
|
14
|
+
- `tool`: 'text' | 'image' | 'line' | 'selection' | 'arrow' | 'diamond' | 'rectangle' | 'ellipse' | 'frame' | 'hand' | 'freedraw' | 'eraser' | 'laser'
|
|
15
|
+
- `accent?`: string
|
|
16
|
+
- `background?`: color
|
|
17
|
+
- `dark?`: boolean
|
|
18
|
+
|
|
19
|
+
Example: `<G9Canvas controller={controller} editable port={port} stroke={stroke} tool="text" />`
|
|
20
|
+
|
|
21
|
+
# G9CanvasStylePanel
|
|
22
|
+
|
|
23
|
+
`import { G9CanvasStylePanel } from '@g9tm/lynxcontrols-canvas';`
|
|
24
|
+
|
|
25
|
+
The style of the tool in hand or the selection: colours, fill, stroke, sloppiness, edges, text, arrows, layers.
|
|
26
|
+
|
|
27
|
+
Props:
|
|
28
|
+
- `controller`: object
|
|
29
|
+
- `selected`: object[]
|
|
30
|
+
- `tool`: string
|
|
31
|
+
- `words?`: object
|
|
32
|
+
|
|
33
|
+
Example: `<G9CanvasStylePanel controller={controller} selected={selected} style={style} tool="tool" />`
|