@g9tm/lynxcontrols 2.2.1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/bin/g9lynx.mjs +103 -0
- package/bin/g9lynx.test.mjs +80 -0
- package/catalog/cards/DateTimeSheetBody.md +17 -0
- package/catalog/cards/G9ActionRow.md +11 -0
- package/catalog/cards/G9ActionSheet.md +14 -0
- package/catalog/cards/G9Activity.md +11 -0
- package/catalog/cards/G9ActivityIndicator.md +14 -0
- package/catalog/cards/G9AllocationInput.md +17 -0
- package/catalog/cards/G9Anchor.md +17 -0
- package/catalog/cards/G9AnimatedCheck.md +13 -0
- package/catalog/cards/G9AppBar.md +17 -0
- package/catalog/cards/G9AppShell.md +17 -0
- package/catalog/cards/G9Art.md +13 -0
- package/catalog/cards/G9Avatar.md +16 -0
- package/catalog/cards/G9Badge.md +15 -0
- package/catalog/cards/G9Bento.md +13 -0
- package/catalog/cards/G9Button.md +17 -0
- package/catalog/cards/G9CameFromMark.md +9 -0
- package/catalog/cards/G9Card.md +17 -0
- package/catalog/cards/G9CascadePanel.md +17 -0
- package/catalog/cards/G9CheckBox.md +17 -0
- package/catalog/cards/G9Chip.md +17 -0
- package/catalog/cards/G9ChipGroup.md +17 -0
- package/catalog/cards/G9ChoiceList.md +17 -0
- package/catalog/cards/G9Columns.md +13 -0
- package/catalog/cards/G9ComboBox.md +17 -0
- package/catalog/cards/G9CommandPalette.md +15 -0
- package/catalog/cards/G9Confetti.md +15 -0
- package/catalog/cards/G9ConnectionBanner.md +15 -0
- package/catalog/cards/G9ContextMenu.md +15 -0
- package/catalog/cards/G9CornerBadge.md +15 -0
- package/catalog/cards/G9CultureDateTimeLabel.md +16 -0
- package/catalog/cards/G9DateTimePicker.md +17 -0
- package/catalog/cards/G9DayStepper.md +17 -0
- package/catalog/cards/G9DeferredContent.md +17 -0
- package/catalog/cards/G9Delta.md +17 -0
- package/catalog/cards/G9DesignNode.md +13 -0
- package/catalog/cards/G9DesignScope.md +11 -0
- package/catalog/cards/G9DragList.md +15 -0
- package/catalog/cards/G9EdgePanel.md +17 -0
- package/catalog/cards/G9Editor.md +17 -0
- package/catalog/cards/G9EmptyState.md +17 -0
- package/catalog/cards/G9ErrorBoundary.md +13 -0
- package/catalog/cards/G9Expander.md +17 -0
- package/catalog/cards/G9FloatingOrb.md +17 -0
- package/catalog/cards/G9FormField.md +15 -0
- package/catalog/cards/G9HScroll.md +16 -0
- package/catalog/cards/G9HeaderActionButton.md +17 -0
- package/catalog/cards/G9HoldButton.md +17 -0
- package/catalog/cards/G9Host.md +17 -0
- package/catalog/cards/G9Icon.md +16 -0
- package/catalog/cards/G9IconButton.md +17 -0
- package/catalog/cards/G9IconRail.md +15 -0
- package/catalog/cards/G9IconSlot.md +17 -0
- package/catalog/cards/G9Image.md +17 -0
- package/catalog/cards/G9InlineMessage.md +16 -0
- package/catalog/cards/G9KeepAlive.md +11 -0
- package/catalog/cards/G9Keycap.md +13 -0
- package/catalog/cards/G9Kpi.md +17 -0
- package/catalog/cards/G9KpiGrid.md +12 -0
- package/catalog/cards/G9ListRow.md +17 -0
- package/catalog/cards/G9LiveBadge.md +11 -0
- package/catalog/cards/G9LiveDot.md +12 -0
- package/catalog/cards/G9LoadState.md +13 -0
- package/catalog/cards/G9LoadableSheetContent.md +17 -0
- package/catalog/cards/G9LockOverlay.md +15 -0
- package/catalog/cards/G9Menu.md +17 -0
- package/catalog/cards/G9MenuList.md +12 -0
- package/catalog/cards/G9NavCard.md +17 -0
- package/catalog/cards/G9NumPad.md +13 -0
- package/catalog/cards/G9NumberEntry.md +17 -0
- package/catalog/cards/G9OutlinedField.md +17 -0
- package/catalog/cards/G9OverlayRoot.md +12 -0
- package/catalog/cards/G9Page.md +17 -0
- package/catalog/cards/G9PageLoadingOverlay.md +12 -0
- package/catalog/cards/G9Pager.md +16 -0
- package/catalog/cards/G9Photo.md +17 -0
- package/catalog/cards/G9Picker.md +17 -0
- package/catalog/cards/G9PinEntry.md +17 -0
- package/catalog/cards/G9Place.md +17 -0
- package/catalog/cards/G9PlaceScroll.md +13 -0
- package/catalog/cards/G9PlusButton.md +17 -0
- package/catalog/cards/G9Popover.md +17 -0
- package/catalog/cards/G9PopupDragHandle.md +10 -0
- package/catalog/cards/G9PopupView.md +15 -0
- package/catalog/cards/G9Pressable.md +17 -0
- package/catalog/cards/G9ProcessingSheetContent.md +13 -0
- package/catalog/cards/G9ProgressBar.md +17 -0
- package/catalog/cards/G9ProgressRing.md +17 -0
- package/catalog/cards/G9Provider.md +17 -0
- package/catalog/cards/G9PullToRefresh.md +13 -0
- package/catalog/cards/G9RadioGroup.md +17 -0
- package/catalog/cards/G9RangeSlider.md +17 -0
- package/catalog/cards/G9RatingInput.md +17 -0
- package/catalog/cards/G9RevealText.md +15 -0
- package/catalog/cards/G9SafeButton.md +17 -0
- package/catalog/cards/G9SafeIconButton.md +17 -0
- package/catalog/cards/G9SaveBar.md +16 -0
- package/catalog/cards/G9ScaleInput.md +17 -0
- package/catalog/cards/G9ScrollSpyBar.md +12 -0
- package/catalog/cards/G9ScrollerScope.md +10 -0
- package/catalog/cards/G9SearchEntry.md +17 -0
- package/catalog/cards/G9Section.md +16 -0
- package/catalog/cards/G9SectionHeader.md +14 -0
- package/catalog/cards/G9Segmented.md +17 -0
- package/catalog/cards/G9Separator.md +17 -0
- package/catalog/cards/G9SettingsGroup.md +13 -0
- package/catalog/cards/G9Sheet.md +13 -0
- package/catalog/cards/G9SheetBackdropScope.md +10 -0
- package/catalog/cards/G9SheetFooter.md +10 -0
- package/catalog/cards/G9SheetFooterBar.md +11 -0
- package/catalog/cards/G9SheetFrame.md +17 -0
- package/catalog/cards/G9SheetHeader.md +11 -0
- package/catalog/cards/G9SheetScrollIndicator.md +10 -0
- package/catalog/cards/G9SheetScrollRegion.md +11 -0
- package/catalog/cards/G9SheetSkeleton.md +13 -0
- package/catalog/cards/G9ShimmerBand.md +10 -0
- package/catalog/cards/G9ShortcutList.md +11 -0
- package/catalog/cards/G9ShortcutsSheet.md +15 -0
- package/catalog/cards/G9SideNav.md +16 -0
- package/catalog/cards/G9Skeleton.md +13 -0
- package/catalog/cards/G9SkeletonPage.md +13 -0
- package/catalog/cards/G9SkeletonRows.md +13 -0
- package/catalog/cards/G9SplitPane.md +17 -0
- package/catalog/cards/G9StatusPill.md +17 -0
- package/catalog/cards/G9StepSlider.md +16 -0
- package/catalog/cards/G9StepTracker.md +13 -0
- package/catalog/cards/G9Stepper.md +17 -0
- package/catalog/cards/G9SuccessHeader.md +14 -0
- package/catalog/cards/G9Swatch.md +13 -0
- package/catalog/cards/G9SwipeGroup.md +11 -0
- package/catalog/cards/G9SwipeView.md +17 -0
- package/catalog/cards/G9Switch.md +17 -0
- package/catalog/cards/G9SwitchGroup.md +15 -0
- package/catalog/cards/G9SwitchRow.md +17 -0
- package/catalog/cards/G9TabBar.md +17 -0
- package/catalog/cards/G9TabView.md +17 -0
- package/catalog/cards/G9Tag.md +14 -0
- package/catalog/cards/G9TagEntry.md +16 -0
- package/catalog/cards/G9TextEntry.md +17 -0
- package/catalog/cards/G9ThemePreviewCard.md +15 -0
- package/catalog/cards/G9TimeEntry.md +17 -0
- package/catalog/cards/G9TimeSpanPicker.md +17 -0
- package/catalog/cards/G9TitleWithLine.md +13 -0
- package/catalog/cards/G9TopBar.md +13 -0
- package/catalog/cards/G9UnsavedBar.md +16 -0
- package/catalog/cards/G9UpdateBar.md +15 -0
- package/catalog/cards/G9VerticalIconTextButton.md +15 -0
- package/catalog/cards/G9VirtualList.md +17 -0
- package/catalog/cards/G9Wave.md +15 -0
- package/catalog/cards/G9WheelColumn.md +17 -0
- package/catalog/cards/PickerField.md +14 -0
- package/catalog/cards/PickerSheetHeader.md +12 -0
- package/catalog/cards/PopupFrame.md +15 -0
- package/catalog/cards/PopupInputForm.md +11 -0
- package/catalog/cards/SelectionValueIcon.md +12 -0
- package/catalog/cards/TimeSpanSheetBody.md +16 -0
- package/catalog/catalog.json +47916 -0
- package/catalog/index.md +159 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/anchor/index.d.ts +1 -1
- package/dist/anchor/index.d.ts.map +1 -1
- package/dist/anchor/registry.d.ts +5 -0
- package/dist/anchor/registry.d.ts.map +1 -1
- package/dist/base/base.css +1 -0
- package/dist/base/base.css.map +1 -1
- package/dist/button/button-variants.css +4 -0
- package/dist/button/button-variants.css.map +1 -1
- package/dist/button/button.css +12 -5
- package/dist/button/button.css.map +1 -1
- package/dist/button/variant-css.d.ts.map +1 -1
- package/dist/button/variant-css.jsx +2 -1
- package/dist/cascade/cascade.css +2 -1
- package/dist/cascade/cascade.css.map +1 -1
- package/dist/commands/commands.css +12 -6
- package/dist/commands/commands.css.map +1 -1
- package/dist/design/design.d.ts +39 -0
- package/dist/design/design.d.ts.map +1 -0
- package/dist/design/design.jsx +54 -0
- package/dist/design/index.d.ts +3 -0
- package/dist/design/index.d.ts.map +1 -0
- package/dist/design/index.jsx +2 -0
- package/dist/design/probe.d.ts +62 -0
- package/dist/design/probe.d.ts.map +1 -0
- package/dist/design/probe.jsx +141 -0
- package/dist/display/data-uri.d.ts +9 -0
- package/dist/display/data-uri.d.ts.map +1 -0
- package/dist/display/data-uri.jsx +56 -0
- package/dist/display/display.css +10 -3
- package/dist/display/display.css.map +1 -1
- package/dist/display/extras.css +8 -2
- package/dist/display/extras.css.map +1 -1
- package/dist/display/figures.css +28 -7
- package/dist/display/figures.css.map +1 -1
- package/dist/display/figures.d.ts +10 -0
- package/dist/display/figures.d.ts.map +1 -1
- package/dist/display/figures.jsx +28 -5
- package/dist/display/image.d.ts +9 -2
- package/dist/display/image.d.ts.map +1 -1
- package/dist/display/image.jsx +20 -6
- package/dist/display/keycap.css +1 -0
- package/dist/display/keycap.css.map +1 -1
- package/dist/display/motion-figures.css +4 -1
- package/dist/display/motion-figures.css.map +1 -1
- package/dist/display/separator.d.ts.map +1 -1
- package/dist/display/separator.jsx +1 -1
- package/dist/display/status.css +5 -0
- package/dist/display/status.css.map +1 -1
- package/dist/display/status.d.ts +9 -0
- package/dist/display/status.d.ts.map +1 -1
- package/dist/display/status.jsx +14 -2
- package/dist/display/theme-preview.css +6 -3
- package/dist/display/theme-preview.css.map +1 -1
- package/dist/edge-panel/edge-panel.css +6 -3
- package/dist/edge-panel/edge-panel.css.map +1 -1
- package/dist/effects/effects.css +4 -2
- package/dist/effects/effects.css.map +1 -1
- package/dist/expander/expander.css +2 -1
- package/dist/expander/expander.css.map +1 -1
- package/dist/fields/extra-entries.css +14 -6
- package/dist/fields/extra-entries.css.map +1 -1
- package/dist/fields/fields.css +21 -10
- package/dist/fields/fields.css.map +1 -1
- package/dist/fields/text-entry.d.ts.map +1 -1
- package/dist/fields/text-entry.jsx +3 -0
- package/dist/guide/guide.css +17 -5
- package/dist/guide/guide.css.map +1 -1
- package/dist/header/header.css +6 -2
- package/dist/header/header.css.map +1 -1
- package/dist/icon/icon.d.ts +9 -2
- package/dist/icon/icon.d.ts.map +1 -1
- package/dist/icon/icon.jsx +26 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/layout/layout.css +15 -5
- package/dist/layout/layout.css.map +1 -1
- package/dist/layout/scrollers.d.ts +16 -5
- package/dist/layout/scrollers.d.ts.map +1 -1
- package/dist/layout/scrollers.jsx +54 -13
- package/dist/list/list.css +35 -6
- package/dist/list/list.css.map +1 -1
- package/dist/list/rows.d.ts +16 -0
- package/dist/list/rows.d.ts.map +1 -1
- package/dist/list/rows.jsx +13 -6
- package/dist/orb/orb.css +2 -1
- package/dist/orb/orb.css.map +1 -1
- package/dist/pickers/day-stepper.css +2 -1
- package/dist/pickers/day-stepper.css.map +1 -1
- package/dist/pickers/pickers.css +19 -9
- package/dist/pickers/pickers.css.map +1 -1
- package/dist/plus-button/plus-button.css +2 -1
- package/dist/plus-button/plus-button.css.map +1 -1
- package/dist/popover/popover.css +9 -4
- package/dist/popover/popover.css.map +1 -1
- package/dist/popup/popup.css +11 -5
- package/dist/popup/popup.css.map +1 -1
- package/dist/popup/service.d.ts.map +1 -1
- package/dist/popup/service.jsx +5 -1
- package/dist/provider/index.d.ts +1 -1
- package/dist/provider/index.d.ts.map +1 -1
- package/dist/provider/provider.css.map +1 -1
- package/dist/provider/provider.d.ts +25 -1
- package/dist/provider/provider.d.ts.map +1 -1
- package/dist/provider/provider.jsx +48 -12
- package/dist/range-slider/range-slider.css +9 -4
- package/dist/range-slider/range-slider.css.map +1 -1
- package/dist/selection/selection.css +10 -5
- package/dist/selection/selection.css.map +1 -1
- package/dist/sheet/frame.d.ts +6 -0
- package/dist/sheet/frame.d.ts.map +1 -1
- package/dist/sheet/frame.jsx +5 -1
- package/dist/sheet/header.d.ts.map +1 -1
- package/dist/sheet/header.jsx +5 -2
- package/dist/sheet/service.d.ts +5 -0
- package/dist/sheet/service.d.ts.map +1 -1
- package/dist/sheet/service.jsx +9 -6
- package/dist/sheet/sheet.css +1 -0
- package/dist/sheet/sheet.css.map +1 -1
- package/dist/shell/shell.css +19 -8
- package/dist/shell/shell.css.map +1 -1
- package/dist/survey/survey.css +15 -7
- package/dist/survey/survey.css.map +1 -1
- package/dist/swipe/swipe.css +1 -0
- package/dist/swipe/swipe.css.map +1 -1
- package/dist/tab-bar/index.d.ts +1 -1
- package/dist/tab-bar/index.d.ts.map +1 -1
- package/dist/tab-bar/index.jsx +1 -1
- package/dist/tab-bar/model.d.ts +14 -0
- package/dist/tab-bar/model.d.ts.map +1 -1
- package/dist/tab-bar/model.jsx +19 -1
- package/dist/tab-bar/tab-bar.css +4 -1
- package/dist/tab-bar/tab-bar.css.map +1 -1
- package/dist/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/tab-bar/tab-bar.jsx +12 -8
- package/dist/tabs/tabs.css +3 -1
- package/dist/tabs/tabs.css.map +1 -1
- package/dist/toast/toast.css +9 -4
- package/dist/toast/toast.css.map +1 -1
- package/dist/toggle/choice.css +15 -6
- package/dist/toggle/choice.css.map +1 -1
- package/dist/toggle/toggle.css +12 -6
- package/dist/toggle/toggle.css.map +1 -1
- package/package.json +16 -4
- package/skills/g9-lynx-app/SKILL.md +42 -0
- package/skills/g9-lynx-app/references/adaptive-layout.md +10 -0
- package/skills/g9-lynx-app/references/anchors-guide.md +9 -0
- package/skills/g9-lynx-app/references/catalog-index.md +80 -0
- package/skills/g9-lynx-app/references/common-mistakes.md +12 -0
- package/skills/g9-lynx-app/references/components/anchor.md +30 -0
- package/skills/g9-lynx-app/references/components/barcode-qr.md +19 -0
- package/skills/g9-lynx-app/references/components/barcode.md +37 -0
- package/skills/g9-lynx-app/references/components/base.md +35 -0
- package/skills/g9-lynx-app/references/components/button.md +125 -0
- package/skills/g9-lynx-app/references/components/calendar.md +128 -0
- package/skills/g9-lynx-app/references/components/cascade.md +19 -0
- package/skills/g9-lynx-app/references/components/charts.md +193 -0
- package/skills/g9-lynx-app/references/components/chat.md +98 -0
- package/skills/g9-lynx-app/references/components/commands.md +45 -0
- package/skills/g9-lynx-app/references/components/commerce.md +69 -0
- package/skills/g9-lynx-app/references/components/datagrid.md +19 -0
- package/skills/g9-lynx-app/references/components/deferred.md +19 -0
- package/skills/g9-lynx-app/references/components/design.md +27 -0
- package/skills/g9-lynx-app/references/components/display-1.md +193 -0
- package/skills/g9-lynx-app/references/components/display-2.md +196 -0
- package/skills/g9-lynx-app/references/components/display-3.md +122 -0
- package/skills/g9-lynx-app/references/components/edge-panel.md +19 -0
- package/skills/g9-lynx-app/references/components/effects.md +46 -0
- package/skills/g9-lynx-app/references/components/expander.md +19 -0
- package/skills/g9-lynx-app/references/components/fields.md +174 -0
- package/skills/g9-lynx-app/references/components/header.md +19 -0
- package/skills/g9-lynx-app/references/components/host.md +32 -0
- package/skills/g9-lynx-app/references/components/icon.md +64 -0
- package/skills/g9-lynx-app/references/components/intro-carousel.md +19 -0
- package/skills/g9-lynx-app/references/components/layout-1.md +188 -0
- package/skills/g9-lynx-app/references/components/layout-2.md +18 -0
- package/skills/g9-lynx-app/references/components/list.md +116 -0
- package/skills/g9-lynx-app/references/components/map.md +19 -0
- package/skills/g9-lynx-app/references/components/media.md +115 -0
- package/skills/g9-lynx-app/references/components/orb.md +37 -0
- package/skills/g9-lynx-app/references/components/pickers.md +185 -0
- package/skills/g9-lynx-app/references/components/pilot.md +40 -0
- package/skills/g9-lynx-app/references/components/plus-button.md +19 -0
- package/skills/g9-lynx-app/references/components/popover.md +94 -0
- package/skills/g9-lynx-app/references/components/popup.md +56 -0
- package/skills/g9-lynx-app/references/components/provider.md +43 -0
- package/skills/g9-lynx-app/references/components/range-slider.md +36 -0
- package/skills/g9-lynx-app/references/components/route.md +19 -0
- package/skills/g9-lynx-app/references/components/sheet.md +134 -0
- package/skills/g9-lynx-app/references/components/shell.md +98 -0
- package/skills/g9-lynx-app/references/components/survey.md +55 -0
- package/skills/g9-lynx-app/references/components/swipe.md +31 -0
- package/skills/g9-lynx-app/references/components/tab-bar.md +19 -0
- package/skills/g9-lynx-app/references/components/tabs.md +19 -0
- package/skills/g9-lynx-app/references/components/toggle.md +161 -0
- package/skills/g9-lynx-app/references/lists.md +13 -0
- package/skills/g9-lynx-app/references/localization-rtl.md +13 -0
- package/skills/g9-lynx-app/references/navigation-route.md +21 -0
- package/skills/g9-lynx-app/references/overlays.md +27 -0
- package/skills/g9-lynx-app/references/pilot.md +10 -0
- package/skills/g9-lynx-app/references/platform-rules.md +42 -0
- package/skills/g9-lynx-app/references/provider-and-host.md +37 -0
- package/skills/g9-lynx-app/references/theming.md +18 -0
package/dist/toast/toast.css
CHANGED
|
@@ -44,18 +44,20 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.g9-toast__message {
|
|
47
|
+
font-size: 14px;
|
|
48
|
+
font-family: var(--g9-font-text);
|
|
47
49
|
color: var(--g9-on-surface);
|
|
48
50
|
flex-shrink: 1;
|
|
49
51
|
margin-left: 10px;
|
|
50
52
|
margin-right: 10px;
|
|
51
|
-
font-size: 14px;
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
.g9-toast__detail {
|
|
56
|
+
font-size: 12px;
|
|
57
|
+
font-family: var(--g9-font-text);
|
|
55
58
|
color: var(--g9-text-secondary);
|
|
56
59
|
margin-left: 10px;
|
|
57
60
|
margin-right: 10px;
|
|
58
|
-
font-size: 12px;
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
.g9-toast__countdown {
|
|
@@ -80,6 +82,7 @@
|
|
|
80
82
|
|
|
81
83
|
.g9-toast__action-text {
|
|
82
84
|
font-size: 14px;
|
|
85
|
+
font-family: var(--g9-font-text);
|
|
83
86
|
font-weight: 700;
|
|
84
87
|
}
|
|
85
88
|
|
|
@@ -111,8 +114,9 @@
|
|
|
111
114
|
}
|
|
112
115
|
|
|
113
116
|
.g9-toast__pill-text {
|
|
114
|
-
color: var(--g9-on-primary-container);
|
|
115
117
|
font-size: 12px;
|
|
118
|
+
font-family: var(--g9-font-text);
|
|
119
|
+
color: var(--g9-on-primary-container);
|
|
116
120
|
font-weight: 700;
|
|
117
121
|
}
|
|
118
122
|
|
|
@@ -149,10 +153,11 @@
|
|
|
149
153
|
}
|
|
150
154
|
|
|
151
155
|
.g9-loader__text {
|
|
156
|
+
font-size: 14px;
|
|
157
|
+
font-family: var(--g9-font-text);
|
|
152
158
|
text-align: center;
|
|
153
159
|
color: var(--g9-inverse-on-surface);
|
|
154
160
|
margin-top: 12px;
|
|
155
|
-
font-size: 14px;
|
|
156
161
|
}
|
|
157
162
|
|
|
158
163
|
|
package/dist/toast/toast.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://./src/toast/toast.css"],"names":[],"mappings":"AAAA;EACE,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAMA;EAHE,sBAAsB;EACtB,2BAA2B;EAC3B,oBAAoB;EACpB,aAAa;EACb,eAAe;AACjB;;AAMA;EAHE,8BAA8B;AAChC;;AAMA;EAHE,uBAAuB;AACzB;;AAQA;EALE,kBAAkB;AACpB;;AASA;EANE,mBAAmB;EACnB,iBAAiB;EACjB,uCAAuC;EACvC,mCAAmC;EACnC,mBAAmB;EACnB,mBAAmB;EACnB,mBAAmB;EACnB,gBAAgB;EAChB,eAAe;EACf,kBAAkB;EAClB,kBAAkB;EAClB,aAAa;EACb,kBAAkB;EAClB,gBAAgB;AAClB;;AASA;EANE,2BAA2B;EAC3B,cAAc;EACd,iBAAiB;EACjB,kBAAkB;
|
|
1
|
+
{"version":3,"sources":["webpack://./src/toast/toast.css"],"names":[],"mappings":"AAAA;EACE,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAMA;EAHE,sBAAsB;EACtB,2BAA2B;EAC3B,oBAAoB;EACpB,aAAa;EACb,eAAe;AACjB;;AAMA;EAHE,8BAA8B;AAChC;;AAMA;EAHE,uBAAuB;AACzB;;AAQA;EALE,kBAAkB;AACpB;;AASA;EANE,mBAAmB;EACnB,iBAAiB;EACjB,uCAAuC;EACvC,mCAAmC;EACnC,mBAAmB;EACnB,mBAAmB;EACnB,mBAAmB;EACnB,gBAAgB;EAChB,eAAe;EACf,kBAAkB;EAClB,kBAAkB;EAClB,aAAa;EACb,kBAAkB;EAClB,gBAAgB;AAClB;;AASA;EANE,eAAe;EACf,gCAAgC;EAChC,2BAA2B;EAC3B,cAAc;EACd,iBAAiB;EACjB,kBAAkB;AACpB;;AASA;EANE,eAAe;EACf,gCAAgC;EAChC,+BAA+B;EAC/B,iBAAiB;EACjB,kBAAkB;AACpB;;AAUA;EAPE,mBAAmB;EACnB,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAUA;EAPE,kBAAkB;EAClB,mBAAmB;EACnB,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;EAClB,iBAAiB;EACjB,kBAAkB;EAClB,aAAa;AACf;;AAUA;EAPE,eAAe;EACf,gCAAgC;EAChC,gBAAgB;AAClB;;AAUA;EAPE,gBAAgB;AAClB;;AAUA;EAPE,mCAAmC;EACnC,YAAY;EACZ,0BAA0B;EAC1B,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAUA;EAPE,sBAAsB;EACtB,OAAO;EACP,aAAa;AACf;;AAUA;EAPE,6CAA6C;EAC7C,mBAAmB;EACnB,gBAAgB;AAClB;;AAUA;EAPE,eAAe;EACf,gCAAgC;EAChC,qCAAqC;EACrC,gBAAgB;AAClB;;AAUA;EAPE,uBAAuB;EACvB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAUA;EAPE,iCAAiC;EACjC,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAUA;EAPE,mBAAmB;EACnB,iBAAiB;EACjB,uCAAuC;EACvC,2CAA2C;EAC3C,mBAAmB;EACnB,sBAAsB;EACtB,mBAAmB;EACnB,kBAAkB;EAClB,aAAa;AACf;;AAUA;EAPE,eAAe;EACf,gCAAgC;EAChC,kBAAkB;EAClB,mCAAmC;EACnC,gBAAgB;AAClB","sourcesContent":[".g9-toast-layer {\n position: absolute;\n top: 0px;\n left: 0px;\n right: 0px;\n bottom: 0px;\n}\n\n/* Fixed (like .g9-popup): a stack exists only while it holds toasts, so it is created after any open sheet — lynx-ui's\n `position: fixed` SheetView — and lands above it instead of under it. Every stack spans the width between the edge\n margins and its toasts FILL it (MAUI ApplyInlineG9ToastPosition: HorizontalOptions = Fill; the position only picks\n top / middle / bottom). The compact loading toast stays centred (MAUI: Center). */\n.g9-toast-stack {\n position: fixed;\n display: flex;\n flex-direction: column;\n align-items: stretch;\n justify-content: flex-start;\n}\n\n.g9-toast-stack--bottom {\n flex-direction: column-reverse;\n}\n\n.g9-toast-stack--middleLeft,\n.g9-toast-stack--middleCenter,\n.g9-toast-stack--middleRight {\n justify-content: center;\n}\n\n.g9-toast--loading {\n align-self: center;\n}\n\n/* MAUI G9ToastHelper.BuildInlineToastView: radius 10, padding 14 / 12, filled with the type's colour (inline style). */\n.g9-toast {\n display: flex;\n flex-direction: row;\n align-items: center;\n min-height: 48px;\n padding: 12px 14px;\n margin-top: 4px;\n margin-bottom: 4px;\n border-radius: 10px;\n border-width: 1px;\n border-style: solid;\n border-color: var(--g9-outline-variant);\n background-color: var(--g9-surface);\n overflow: hidden;\n position: relative;\n}\n\n.g9-toast__message {\n flex-shrink: 1;\n font-size: 14px;\n font-family: var(--g9-font-text);\n color: var(--g9-on-surface);\n margin-left: 10px;\n margin-right: 10px;\n}\n\n.g9-toast__detail {\n font-size: 12px;\n font-family: var(--g9-font-text);\n color: var(--g9-text-secondary);\n margin-left: 10px;\n margin-right: 10px;\n}\n\n/* The lifetime countdown (MAUI's fill layer): grows from the reading start, behind the content. */\n.g9-toast__countdown {\n position: absolute;\n top: 0px;\n bottom: 0px;\n left: 0px;\n right: 0px;\n border-radius: 10px;\n}\n\n.g9-toast__action {\n border-radius: 6px;\n margin-left: 10px;\n margin-right: 10px;\n height: 32px;\n padding-left: 8px;\n padding-right: 8px;\n display: flex;\n align-items: center;\n}\n\n.g9-toast__action-text {\n font-size: 14px;\n font-family: var(--g9-font-text);\n font-weight: 700;\n}\n\n.g9-toast--progress {\n min-width: 240px;\n}\n\n.g9-toast__fill {\n position: absolute;\n top: 0px;\n bottom: 0px;\n left: 0px;\n right: 0px;\n background-color: var(--g9-primary);\n opacity: 0.34;\n transition: transform 250ms;\n}\n\n.g9-toast__progress-text {\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n\n.g9-toast__pill {\n padding: 2px 8px;\n border-radius: 10px;\n background-color: var(--g9-primary-container);\n}\n\n.g9-toast__pill-text {\n font-size: 12px;\n font-family: var(--g9-font-text);\n font-weight: 700;\n color: var(--g9-on-primary-container);\n}\n\n.g9-loader {\n position: absolute;\n top: 0px;\n left: 0px;\n right: 0px;\n bottom: 0px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.g9-loader__scrim {\n position: absolute;\n top: 0px;\n left: 0px;\n right: 0px;\n bottom: 0px;\n background-color: var(--g9-scrim);\n}\n\n.g9-loader__card {\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 20px 24px;\n border-radius: 14px;\n border-width: 1px;\n border-style: solid;\n border-color: var(--g9-outline-variant);\n background-color: var(--g9-inverse-surface);\n}\n\n.g9-loader__text {\n margin-top: 12px;\n font-size: 14px;\n font-family: var(--g9-font-text);\n text-align: center;\n color: var(--g9-inverse-on-surface);\n}\n"],"sourceRoot":""}
|
package/dist/toggle/choice.css
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
.g9-chip2__text {
|
|
16
16
|
white-space: nowrap;
|
|
17
17
|
font-weight: 600;
|
|
18
|
+
font-family: var(--g9-font-text);
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
.g9-chip2__remove {
|
|
@@ -90,18 +91,21 @@
|
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
.g9-seg__label {
|
|
93
|
-
white-space: nowrap;
|
|
94
94
|
font-size: 14px;
|
|
95
|
+
font-family: var(--g9-font-text);
|
|
96
|
+
white-space: nowrap;
|
|
95
97
|
font-weight: 500;
|
|
96
98
|
}
|
|
97
99
|
|
|
98
100
|
.g9-seg__label--on {
|
|
99
101
|
font-weight: 700;
|
|
102
|
+
font-family: var(--g9-font-text);
|
|
100
103
|
}
|
|
101
104
|
|
|
102
105
|
.g9-seg__sub {
|
|
103
|
-
opacity: .8;
|
|
104
106
|
font-size: 11px;
|
|
107
|
+
font-family: var(--g9-font-text);
|
|
108
|
+
opacity: .8;
|
|
105
109
|
}
|
|
106
110
|
|
|
107
111
|
.g9-seg__count {
|
|
@@ -116,6 +120,7 @@
|
|
|
116
120
|
|
|
117
121
|
.g9-seg__count-text {
|
|
118
122
|
font-size: 11px;
|
|
123
|
+
font-family: var(--g9-font-text);
|
|
119
124
|
font-weight: 700;
|
|
120
125
|
}
|
|
121
126
|
|
|
@@ -183,14 +188,16 @@
|
|
|
183
188
|
}
|
|
184
189
|
|
|
185
190
|
.g9-radio__label {
|
|
186
|
-
color: var(--g9-text-primary);
|
|
187
191
|
font-size: 15px;
|
|
192
|
+
font-family: var(--g9-font-text);
|
|
193
|
+
color: var(--g9-text-primary);
|
|
188
194
|
line-height: 24px;
|
|
189
195
|
}
|
|
190
196
|
|
|
191
197
|
.g9-radio__desc {
|
|
192
|
-
color: var(--g9-text-secondary);
|
|
193
198
|
font-size: 12px;
|
|
199
|
+
font-family: var(--g9-font-text);
|
|
200
|
+
color: var(--g9-text-secondary);
|
|
194
201
|
line-height: 20px;
|
|
195
202
|
}
|
|
196
203
|
|
|
@@ -216,8 +223,9 @@
|
|
|
216
223
|
}
|
|
217
224
|
|
|
218
225
|
.g9-stepper__add-text {
|
|
219
|
-
color: var(--g9-on-primary);
|
|
220
226
|
font-size: 14px;
|
|
227
|
+
font-family: var(--g9-font-text);
|
|
228
|
+
color: var(--g9-on-primary);
|
|
221
229
|
font-weight: 700;
|
|
222
230
|
}
|
|
223
231
|
|
|
@@ -234,8 +242,9 @@
|
|
|
234
242
|
.g9-stepper__value {
|
|
235
243
|
text-align: center;
|
|
236
244
|
min-width: 28px;
|
|
237
|
-
color: var(--g9-text-primary);
|
|
238
245
|
font-size: 15px;
|
|
246
|
+
font-family: var(--g9-font-text);
|
|
247
|
+
color: var(--g9-text-primary);
|
|
239
248
|
font-weight: 800;
|
|
240
249
|
}
|
|
241
250
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://./src/toggle/choice.css"],"names":[],"mappings":"AACA;EAAE,mBAAmB;EACnB,iBAAiB;EACjB,cAAc;EACd,sBAAsB;EACtB,mBAAmB;EACnB,eAAe;EACf,aAAa;AACf;;AAGA;EAAE,oBAAoB;AACtB;;AAGA;EAAE,mBAAmB;EACnB,gBAAgB;
|
|
1
|
+
{"version":3,"sources":["webpack://./src/toggle/choice.css"],"names":[],"mappings":"AACA;EAAE,mBAAmB;EACnB,iBAAiB;EACjB,cAAc;EACd,sBAAsB;EACtB,mBAAmB;EACnB,eAAe;EACf,aAAa;AACf;;AAGA;EAAE,oBAAoB;AACtB;;AAGA;EAAE,mBAAmB;EACnB,gBAAgB;EAChB,gCAAgC;AAClC;;AAGA;EAAE,mBAAmB;EACnB,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;EACX,YAAY;EACZ,aAAa;AACf;;AAGA;EAAE,kDAAkD;EAClD,oBAAoB;EACpB,YAAY;EACZ,aAAa;EACb,kBAAkB;AACpB;;AAGA;EAAE,0BAA0B;EAC1B,wBAAwB;EACxB,sCAAsC;EACtC,uBAAuB;EACvB,UAAU;AACZ;;AAGA;EAAE,oDAAoD;EACpD,kBAAkB;EAClB,QAAQ;EACR,WAAW;AACb;;AAGA;EAAE,mCAAmC;EACnC,mBAAmB;EACnB,iBAAiB;EACjB,uCAAuC;AACzC;;AAGA;EAAE,mCAAmC;AACrC;;AAGA;EAAE,sBAAsB;EACtB,OAAO;EACP,uBAAuB;EACvB,mBAAmB;EACnB,YAAY;EACZ,cAAc;EACd,aAAa;AACf;;AAGA;EAAE,UAAU;AACZ;;AAGA;EAAE,8BAA8B;AAChC;;AAKA;EAFE,YAAY;AACd;;AAKA;EAFE,mBAAmB;EACnB,mBAAmB;EACnB,eAAe;EACf,aAAa;AACf;;AAKA;EAFE,eAAe;EACf,gCAAgC;EAChC,mBAAmB;EACnB,gBAAgB;AAClB;;AAKA;EAFE,gBAAgB;EAChB,gCAAgC;AAClC;;AAKA;EAFE,eAAe;EACf,gCAAgC;EAChC,WAAW;AACb;;AAKA;EAFE,kBAAkB;EAClB,uBAAuB;EACvB,mBAAmB;EACnB,eAAe;EACf,YAAY;EACZ,cAAc;EACd,aAAa;AACf;;AAKA;EAFE,eAAe;EACf,gCAAgC;EAChC,gBAAgB;AAClB;;AAKA;EAFE,sBAAsB;EACtB,aAAa;AACf;;AAKA;EAFE,mBAAmB;EACnB,gBAAgB;EAChB,gBAAgB;EAChB,cAAc;EACd,aAAa;AACf;;AAKA;EAFE,oCAAoC;EACpC,mBAAmB;EACnB,iBAAiB;EACjB,uCAAuC;EACvC,mCAAmC;EACnC,kBAAkB;AACpB;;AAKA;EAFE,iBAAiB;EACjB,+BAA+B;EAC/B,6CAA6C;AAC/C;;AAKA;EAFE,YAAY;AACd;;AAKA;EAFE,mBAAmB;EACnB,iBAAiB;EACjB,+BAA+B;EAC/B,mBAAmB;EACnB,cAAc;EACd,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;EACX,YAAY;EACZ,aAAa;AACf;;AAKA;EAFE,+BAA+B;AACjC;;AAKA;EAFE,mCAAmC;EACnC,kBAAkB;EAClB,WAAW;EACX,YAAY;AACd;;AAKA;EAFE,sBAAsB;EACtB,OAAO;EACP,YAAY;EACZ,aAAa;AACf;;AAKA;EAFE,eAAe;EACf,gCAAgC;EAChC,6BAA6B;EAC7B,iBAAiB;AACnB;;AAKA;EAFE,eAAe;EACf,gCAAgC;EAChC,+BAA+B;EAC/B,iBAAiB;AACnB;;AAKA;EAFE,kDAAkD;EAClD,8BAA8B;EAC9B,sBAAsB;EACtB,mBAAmB;EACnB,aAAa;AACf;;AAKA;EAFE,mBAAmB;AACrB;;AAKA;EAFE,mCAAmC;EACnC,mBAAmB;EACnB,uBAAuB;EACvB,eAAe;EACf,eAAe;EACf,aAAa;AACf;;AAKA;EAFE,eAAe;EACf,gCAAgC;EAChC,2BAA2B;EAC3B,gBAAgB;AAClB;;AAKA;EAFE,uBAAuB;EACvB,mBAAmB;EACnB,aAAa;AACf;;AAKA;EAFE,YAAY;AACd;;AAKA;EAFE,kBAAkB;EAClB,eAAe;EACf,eAAe;EACf,gCAAgC;EAChC,6BAA6B;EAC7B,gBAAgB;AAClB;;AAKA;EAFE,mBAAmB;EACnB,aAAa;AACf;;AAKA;EAFE,uBAAuB;EACvB,mBAAmB;EACnB,aAAa;AACf","sourcesContent":["/* G9Chip, G9Segmented, G9RadioGroup, G9Stepper, G9RatingInput. */\n.g9-chip2 {\n display: flex;\n align-items: center;\n align-self: flex-start;\n flex-shrink: 0;\n border-style: solid;\n border-width: 1px;\n column-gap: 5px;\n}\n\n.g9-chip2--dashed {\n border-style: dashed;\n}\n\n.g9-chip2__text {\n font-weight: 600;\n white-space: nowrap;\n font-family: var(--g9-font-text);\n}\n\n.g9-chip2__remove {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 22px;\n height: 22px;\n border-radius: 11px;\n}\n\n.g9-seg {\n display: flex;\n position: relative;\n align-items: stretch;\n padding: 3px;\n background-color: var(--g9-surface-container-high);\n}\n\n.g9-seg--underline {\n padding: 0px;\n background-color: transparent;\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-bottom-color: var(--g9-divider);\n}\n\n.g9-seg__indicator {\n position: absolute;\n top: 3px;\n bottom: 3px;\n transition: transform 220ms cubic-bezier(0.2, 0, 0, 1);\n}\n\n.g9-seg__indicator--lift {\n background-color: var(--g9-surface);\n border-width: 1px;\n border-style: solid;\n border-color: var(--g9-outline-variant);\n}\n\n.g9-seg__indicator--filled {\n background-color: var(--g9-primary);\n}\n\n.g9-seg__item {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n flex: 1;\n min-width: 0px;\n padding: 0px 8px;\n}\n\n.g9-seg__item--content {\n flex: 1 1 auto;\n}\n\n.g9-seg__item--underline {\n border-bottom-width: 2px;\n border-bottom-style: solid;\n border-bottom-color: transparent;\n}\n\n.g9-seg__item--disabled {\n opacity: 0.38;\n}\n\n.g9-seg__line {\n display: flex;\n flex-direction: row;\n align-items: center;\n column-gap: 5px;\n}\n\n.g9-seg__label {\n font-size: 14px;\n font-family: var(--g9-font-text);\n font-weight: 500;\n white-space: nowrap;\n}\n\n.g9-seg__label--on {\n font-weight: 700;\n font-family: var(--g9-font-text);\n}\n\n.g9-seg__sub {\n font-size: 11px;\n font-family: var(--g9-font-text);\n opacity: 0.8;\n}\n\n.g9-seg__count {\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: 18px;\n height: 18px;\n padding: 0px 5px;\n border-radius: 9px;\n}\n\n.g9-seg__count-text {\n font-size: 11px;\n font-family: var(--g9-font-text);\n font-weight: 700;\n}\n\n.g9-radio-group {\n display: flex;\n flex-direction: column;\n}\n\n.g9-radio {\n display: flex;\n align-items: center;\n min-height: 48px;\n column-gap: 12px;\n padding: 6px 0px;\n}\n\n.g9-radio--card {\n padding: 12px 14px;\n border-radius: var(--g9-radius-card);\n border-width: 1px;\n border-style: solid;\n border-color: var(--g9-outline-variant);\n background-color: var(--g9-surface);\n}\n\n.g9-radio--card-on {\n border-width: 2px;\n border-color: var(--g9-primary);\n background-color: var(--g9-primary-container);\n}\n\n.g9-radio--disabled {\n opacity: 0.38;\n}\n\n.g9-radio__mark {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 22px;\n height: 22px;\n border-radius: 11px;\n border-width: 2px;\n border-style: solid;\n border-color: var(--g9-outline);\n flex-shrink: 0;\n}\n\n.g9-radio__mark--on {\n border-color: var(--g9-primary);\n}\n\n.g9-radio__dot {\n width: 10px;\n height: 10px;\n border-radius: 5px;\n background-color: var(--g9-primary);\n}\n\n.g9-radio__body {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-width: 0px;\n}\n\n.g9-radio__label {\n font-size: 15px;\n font-family: var(--g9-font-text);\n line-height: 24px;\n color: var(--g9-text-primary);\n}\n\n.g9-radio__desc {\n font-size: 12px;\n font-family: var(--g9-font-text);\n line-height: 20px;\n color: var(--g9-text-secondary);\n}\n\n.g9-stepper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n align-self: flex-start;\n background-color: var(--g9-surface-container-high);\n}\n\n.g9-stepper--block {\n align-self: stretch;\n}\n\n.g9-stepper--add {\n display: flex;\n flex-direction: row;\n justify-content: center;\n padding: 0px 14px;\n column-gap: 6px;\n background-color: var(--g9-primary);\n}\n\n.g9-stepper__add-text {\n font-size: 14px;\n font-family: var(--g9-font-text);\n font-weight: 700;\n color: var(--g9-on-primary);\n}\n\n.g9-stepper__btn {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.g9-stepper__btn--off {\n opacity: 0.35;\n}\n\n.g9-stepper__value {\n min-width: 28px;\n text-align: center;\n font-size: 15px;\n font-family: var(--g9-font-text);\n font-weight: 800;\n color: var(--g9-text-primary);\n}\n\n.g9-rating {\n display: flex;\n align-items: center;\n}\n\n.g9-rating__star {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n"],"sourceRoot":""}
|
package/dist/toggle/toggle.css
CHANGED
|
@@ -26,9 +26,10 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.g9-checkbox__text {
|
|
29
|
+
font-size: 14px;
|
|
30
|
+
font-family: var(--g9-font-text);
|
|
29
31
|
flex: 1;
|
|
30
32
|
align-self: center;
|
|
31
|
-
font-size: 14px;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
.g9-switch {
|
|
@@ -53,14 +54,16 @@
|
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
.g9-switch__title {
|
|
56
|
-
color: var(--g9-text-primary);
|
|
57
57
|
font-size: 14px;
|
|
58
|
+
font-family: var(--g9-font-text);
|
|
59
|
+
color: var(--g9-text-primary);
|
|
58
60
|
font-weight: bold;
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
.g9-switch__description {
|
|
62
|
-
color: var(--g9-text-tertiary);
|
|
63
64
|
font-size: 12px;
|
|
65
|
+
font-family: var(--g9-font-text);
|
|
66
|
+
color: var(--g9-text-tertiary);
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
.g9-switch__track {
|
|
@@ -112,9 +115,10 @@
|
|
|
112
115
|
}
|
|
113
116
|
|
|
114
117
|
.g9-switch__tick {
|
|
118
|
+
font-size: 15px;
|
|
119
|
+
font-family: var(--g9-font-text);
|
|
115
120
|
color: #ffffffbf;
|
|
116
121
|
margin-top: -2px;
|
|
117
|
-
font-size: 15px;
|
|
118
122
|
font-weight: bold;
|
|
119
123
|
line-height: 15px;
|
|
120
124
|
}
|
|
@@ -137,8 +141,9 @@
|
|
|
137
141
|
}
|
|
138
142
|
|
|
139
143
|
.g9-switch-group__status {
|
|
140
|
-
margin: 6px 2px 0;
|
|
141
144
|
font-size: 11px;
|
|
145
|
+
font-family: var(--g9-font-text);
|
|
146
|
+
margin: 6px 2px 0;
|
|
142
147
|
}
|
|
143
148
|
|
|
144
149
|
.g9-chip-group--wrap {
|
|
@@ -188,8 +193,9 @@
|
|
|
188
193
|
}
|
|
189
194
|
|
|
190
195
|
.g9-chip__text {
|
|
191
|
-
white-space: nowrap;
|
|
192
196
|
font-size: 13px;
|
|
197
|
+
font-family: var(--g9-font-text);
|
|
198
|
+
white-space: nowrap;
|
|
193
199
|
font-weight: bold;
|
|
194
200
|
}
|
|
195
201
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://./src/toggle/toggle.css"],"names":[],"mappings":"AACA;EAAE,mBAAmB;EACnB,sBAAsB;EACtB,uBAAuB;EACvB,aAAa;AACf;;AAGA;EAAE,mBAAmB;EACnB,eAAe;AACjB;;AAGA;EAAE,uBAAuB;EACvB,mBAAmB;EACnB,aAAa;AACf;;AAKA;EAFE,YAAY;AACd;;AAKA;EAFE,WAAW;EACX,YAAY;AACd;;AAOA;EAJE,OAAO;EACP,kBAAkB;
|
|
1
|
+
{"version":3,"sources":["webpack://./src/toggle/toggle.css"],"names":[],"mappings":"AACA;EAAE,mBAAmB;EACnB,sBAAsB;EACtB,uBAAuB;EACvB,aAAa;AACf;;AAGA;EAAE,mBAAmB;EACnB,eAAe;AACjB;;AAGA;EAAE,uBAAuB;EACvB,mBAAmB;EACnB,aAAa;AACf;;AAKA;EAFE,YAAY;AACd;;AAKA;EAFE,WAAW;EACX,YAAY;AACd;;AAOA;EAJE,eAAe;EACf,gCAAgC;EAChC,OAAO;EACP,kBAAkB;AACpB;;AAOA;EAJE,mBAAmB;EACnB,uBAAuB;EACvB,mBAAmB;EACnB,aAAa;AACf;;AAOA;EAJE,8BAA8B;EAC9B,mBAAmB;EACnB,gBAAgB;EAChB,kBAAkB;AACpB;;AAOA;EAJE,sBAAsB;EACtB,OAAO;EACP,YAAY;EACZ,aAAa;AACf;;AAOA;EAJE,eAAe;EACf,gCAAgC;EAChC,6BAA6B;EAC7B,iBAAiB;AACnB;;AAOA;EAJE,eAAe;EACf,gCAAgC;EAChC,8BAA8B;AAChC;;AAOA;EAJE,mBAAmB;EACnB,0CAA0C;EAC1C,kBAAkB;AACpB;;AAOA;EAJE,2CAA2C;AAC7C;;AAOA;EAJE;IACE,wBAAwB;EAC1B;;EAEA;IACE,2BAA2B;EAC7B;;EAEA;IACE,0BAA0B;EAC5B;;EAEA;IACE,2BAA2B;EAC7B;;EAEA;IACE,0BAA0B;EAC5B;;EAEA;IACE,wBAAwB;EAC1B;AACF;;AAEA;EACE,mBAAmB;EACnB,0FAA0F;EAC1F,kBAAkB;EAClB,QAAQ;AACV;;AAIA;EADE,kBAAkB;EAClB,QAAQ;AACV;;AAKA;EAFE,eAAe;EACf,gCAAgC;EAChC,gBAAgB;EAChB,gBAAgB;EAChB,iBAAiB;EACjB,iBAAiB;AACnB;;AAKA;EAFE,2BAA2B;EAC3B,kBAAkB;EAClB,UAAU;EACV,WAAW;EACX,eAAe;AACjB;;AAKA;EAFE,YAAY;AACd;;AAKA;EAFE,sBAAsB;EACtB,aAAa;AACf;;AAKA;EAFE,eAAe;EACf,gCAAgC;EAChC,iBAAiB;AACnB;;AAOA;EAJE,eAAe;EACf,2BAA2B;EAC3B,aAAa;AACf;;AAQA;EALE,mBAAmB;EACnB,aAAa;AACf;;AAQA;EALE,mBAAmB;EACnB,mBAAmB;EACnB,mBAAmB;EACnB,mBAAmB;EACnB,eAAe;EACf,eAAe;EACf,4EAA4E;EAC5E,aAAa;AACf;;AAUA;EAPE,YAAY;AACd;;AAWA;EARE,sBAAsB;EACtB,aAAa;AACf;;AAWA;EARE,mBAAmB;EACnB,aAAa;AACf;;AAWA;EARE,OAAO;AACT;;AAYA;EATE,iBAAiB;EACjB,OAAO;EACP,uBAAuB;AACzB;;AAYA;EATE,eAAe;EACf,gCAAgC;EAChC,mBAAmB;EACnB,iBAAiB;AACnB;;AAYA;EATE,UAAU;EACV,QAAQ;EACR,wFAAwF;EACxF,gBAAgB;EAChB,oBAAoB;AACtB;;AAeA;EAZE,UAAU;EACV,WAAW;EACX,mBAAmB;AACrB","sourcesContent":["/* Toggles (MAUI G9CheckBox, G9Switch, G9SwitchGroup, G9ChipGroup). */\n.g9-checkbox {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n align-self: flex-start;\n}\n\n.g9-checkbox--labelled {\n align-self: stretch;\n column-gap: 2px;\n}\n\n.g9-checkbox__slot {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n/* MAUI G9CheckBox: the 20 px box is centred in a 48 × 48 slot (both axes). The slot used to put it at the start edge\n and 7 px low (row direction + padding), 28 px from its label on Android. */\n.g9-checkbox__slot--reserve {\n height: 48px;\n}\n\n.g9-checkbox__box {\n width: 20px;\n height: 20px;\n}\n\n/* One line centres on the slot (MAUI: label centred in the 48 px row); a wrapping label grows the row and the box\n stays level with its first line. */\n.g9-checkbox__text {\n flex: 1;\n align-self: center;\n font-size: 14px;\n font-family: var(--g9-font-text);\n}\n\n.g9-switch {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n}\n\n.g9-switch--row {\n justify-content: space-between;\n column-gap: 12px;\n padding: 12px 16px;\n align-self: stretch;\n}\n\n.g9-switch__text {\n display: flex;\n flex-direction: column;\n flex: 1;\n row-gap: 2px;\n}\n\n.g9-switch__title {\n font-size: 14px;\n font-family: var(--g9-font-text);\n font-weight: bold;\n color: var(--g9-text-primary);\n}\n\n.g9-switch__description {\n font-size: 12px;\n font-family: var(--g9-font-text);\n color: var(--g9-text-tertiary);\n}\n\n.g9-switch__track {\n position: relative;\n border-radius: 16px;\n transition: background-color 240ms ease-out;\n}\n\n.g9-switch__track--shake {\n animation: g9-switch-shake 310ms ease-in-out;\n}\n\n@keyframes g9-switch-shake {\n 0% {\n transform: translateX(0px);\n }\n 19% {\n transform: translateX(-4px);\n }\n 39% {\n transform: translateX(4px);\n }\n 58% {\n transform: translateX(-3px);\n }\n 77% {\n transform: translateX(3px);\n }\n 100% {\n transform: translateX(0px);\n }\n}\n\n.g9-switch__thumb {\n position: absolute;\n top: 4px;\n border-radius: 12px;\n transition:\n transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1),\n background-color 240ms ease-out;\n}\n\n.g9-switch__mark {\n position: absolute;\n top: 9px;\n}\n\n/* MAUI draws the tick with 2.5 dp round strokes, 11 × 9 dp: a bold 15 dp glyph is that weight and size. */\n.g9-switch__tick {\n font-size: 15px;\n font-family: var(--g9-font-text);\n font-weight: bold;\n line-height: 15px;\n margin-top: -2px;\n color: rgba(255, 255, 255, 0.75);\n}\n\n.g9-switch__dot {\n width: 6px;\n height: 6px;\n margin-top: 4px;\n border-radius: 3px;\n background-color: rgba(0, 0, 0, 0.22);\n}\n\n.g9-disabled {\n opacity: 0.45;\n}\n\n.g9-switch-group {\n display: flex;\n flex-direction: column;\n}\n\n.g9-switch-group__status {\n font-size: 11px;\n font-family: var(--g9-font-text);\n margin: 6px 2px 0px 2px;\n}\n\n/* MAUI G9ChipGroup: a FlexLayout of Wrap and JustifyContent Start — the chips run from the reading start (the row is\n reversed in RTL, so flex-start is the right edge there), never centred. */\n.g9-chip-group--wrap {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-start;\n}\n\n.g9-chip-group__line {\n display: flex;\n flex-direction: row;\n}\n\n.g9-chip {\n display: flex;\n flex-direction: row;\n align-items: center;\n column-gap: 6px;\n padding: 0px 14px;\n border-style: solid;\n border-width: 1.5px;\n transition:\n background-color 140ms ease-in-out,\n border-color 140ms ease-in-out;\n}\n\n.g9-chip--disabled {\n opacity: 0.45;\n}\n\n/* MAUI 1.4.9 Segmented: rows of equal cells (star columns); a short last row keeps the width with empty fillers. */\n.g9-chip-group--segmented {\n display: flex;\n flex-direction: column;\n}\n\n.g9-chip-group__segment-row {\n display: flex;\n flex-direction: row;\n}\n\n.g9-chip-group__segment-fill {\n flex: 1;\n}\n\n/* A segment: fills its column, centred text, a 1 px hairline (a chip's is 1.5). */\n.g9-chip--segment {\n flex: 1;\n justify-content: center;\n border-width: 1px;\n}\n\n.g9-chip__text {\n font-size: 13px;\n font-family: var(--g9-font-text);\n font-weight: bold;\n white-space: nowrap;\n}\n\n.g9-chip__check {\n width: 0px;\n opacity: 0;\n transform: scale(0.5);\n overflow: hidden;\n transition:\n width 120ms ease-in-out,\n opacity 120ms ease-in-out,\n transform 120ms ease-in-out;\n}\n\n.g9-chip__check--on {\n width: 16px;\n opacity: 1;\n transform: scale(1);\n}\n"],"sourceRoot":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@g9tm/lynxcontrols",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
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",
|
|
@@ -48,6 +48,11 @@
|
|
|
48
48
|
"types": "./dist/deferred/index.d.ts",
|
|
49
49
|
"default": "./dist/deferred/index.jsx"
|
|
50
50
|
},
|
|
51
|
+
"./design": {
|
|
52
|
+
"source": "./src/design/index.ts",
|
|
53
|
+
"types": "./dist/design/index.d.ts",
|
|
54
|
+
"default": "./dist/design/index.jsx"
|
|
55
|
+
},
|
|
51
56
|
"./icon": {
|
|
52
57
|
"source": "./src/icon/index.ts",
|
|
53
58
|
"types": "./dist/icon/index.d.ts",
|
|
@@ -190,19 +195,26 @@
|
|
|
190
195
|
"./tailwind": {
|
|
191
196
|
"types": "./tailwind/index.d.ts",
|
|
192
197
|
"default": "./tailwind/index.mjs"
|
|
193
|
-
}
|
|
198
|
+
},
|
|
199
|
+
"./catalog": "./catalog/catalog.json"
|
|
200
|
+
},
|
|
201
|
+
"bin": {
|
|
202
|
+
"g9lynx": "./bin/g9lynx.mjs"
|
|
194
203
|
},
|
|
195
204
|
"files": [
|
|
196
205
|
"dist",
|
|
197
206
|
"README.md",
|
|
198
207
|
"rspeedy",
|
|
199
|
-
"tailwind"
|
|
208
|
+
"tailwind",
|
|
209
|
+
"catalog",
|
|
210
|
+
"skills",
|
|
211
|
+
"bin"
|
|
200
212
|
],
|
|
201
213
|
"scripts": {
|
|
202
214
|
"build": "rslib build"
|
|
203
215
|
},
|
|
204
216
|
"dependencies": {
|
|
205
|
-
"@g9tm/lynxcontrols-foundation": "2.
|
|
217
|
+
"@g9tm/lynxcontrols-foundation": "2.4.0"
|
|
206
218
|
},
|
|
207
219
|
"peerDependencies": {
|
|
208
220
|
"@lynx-js/react": ">=0.129.3 <0.130.0",
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: g9-lynx-app
|
|
3
|
+
description: Build or change a ReactLynx app that uses G9LynxControls (@g9tm/lynxcontrols*): which control, the provider and host, theming, RTL and Persian, overlays, lists, navigation, anchors, adaptive layout, G9AppPilot. Read before writing UI code in such an app.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# G9 Lynx app
|
|
7
|
+
|
|
8
|
+
This app's UI comes from G9LynxControls. **The installed package's code and catalog win over this text**: when they
|
|
9
|
+
disagree, trust `node_modules/@g9tm/lynxcontrols*/catalog/catalog.json` and the types, and say so.
|
|
10
|
+
|
|
11
|
+
## The job → read this → then
|
|
12
|
+
|
|
13
|
+
| The job | Read | Then |
|
|
14
|
+
| --- | --- | --- |
|
|
15
|
+
| Find the control for a need | `references/catalog-index.md` (one line per component) | its family file in `references/components/`, then the package's card `catalog/cards/<Export>.md` |
|
|
16
|
+
| Set up or fix the app's root | `references/provider-and-host.md` | `references/platform-rules.md` |
|
|
17
|
+
| Anything about Lynx itself (CSS, timers, threads, no DOM) | `references/platform-rules.md` | `references/common-mistakes.md` |
|
|
18
|
+
| Colours, light and dark, a brand, fonts, density | `references/theming.md` | the foundation catalog's `design` section |
|
|
19
|
+
| Persian, Arabic, RTL, calendars, digits | `references/localization-rtl.md` | `references/platform-rules.md` (direction) |
|
|
20
|
+
| A sheet, popup, toast, menu or palette | `references/overlays.md` | `references/provider-and-host.md` (the host) |
|
|
21
|
+
| A long list, settings rows, a grid | `references/lists.md` | `references/adaptive-layout.md` |
|
|
22
|
+
| Screens, tabs, the app shell, deep links | `references/navigation-route.md` | `references/adaptive-layout.md` |
|
|
23
|
+
| Phone, tablet and desktop from one screen | `references/adaptive-layout.md` | — |
|
|
24
|
+
| Test ids, a guided tour, an automation target | `references/anchors-guide.md` | `references/pilot.md` |
|
|
25
|
+
| G9AppPilot (test builds, the watch, reports) | `references/pilot.md` | — |
|
|
26
|
+
| Before you hand the work back | `references/common-mistakes.md` | run the app's own checks |
|
|
27
|
+
|
|
28
|
+
## Three rules most often broken
|
|
29
|
+
|
|
30
|
+
1. **One `G9Provider` per LynxView, one `G9Host` per page, and services passed once** (`clock`, `preferences`,
|
|
31
|
+
`host` are required; a missing one throws `G9CapabilityMissingError`). Overlays need the host above them.
|
|
32
|
+
2. **Lynx is not the browser**: no `Intl`, `toLocale*`, DOM or `@media`; `direction` does not inherit, so rows mirror
|
|
33
|
+
through `g9RowStyle` / the `--rtl` classes, never through `direction`; inline `var(--g9-*)` needs `pluginG9Lynx()`
|
|
34
|
+
in `lynx.config.ts`.
|
|
35
|
+
3. **Use the library before writing your own**: a control, a token (`g9Token('Primary')`) or a culture function
|
|
36
|
+
(`formatNumber`, `toNativeDigits`) exists for most needs; give every control a person or a test acts on an `id`.
|
|
37
|
+
|
|
38
|
+
## How the references are made
|
|
39
|
+
|
|
40
|
+
The hand-written files say how to use the library; `references/catalog-index.md` and `references/components/` are
|
|
41
|
+
generated from the installed catalogs (`node_modules/@g9tm/lynxcontrols/bin/g9lynx.mjs skills sync` refreshes them in
|
|
42
|
+
an app). Every identifier and path here is checked against the library when it is released.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Adaptive layout: phone, tablet, desktop
|
|
2
|
+
|
|
3
|
+
- `useG9Layout()` gives `layout` (`'phone'`, `'tablet'` or `'desktop'`), `wide` and `landscape`, from the
|
|
4
|
+
LynxView's own width (phone < 720 ≤ tablet < 1100 ≤ desktop by default; the `breakpoints` prop moves them). Never
|
|
5
|
+
`@media`.
|
|
6
|
+
- `byLayout(layout, { phone, tablet, desktop })` picks a value; `G9Columns` lays out columns from the class.
|
|
7
|
+
- Overlays adapt by themselves (a sheet becomes a dialog or a side panel on a wide window; a menu a popover).
|
|
8
|
+
- Safe areas: `useG9SafeInsets()`; an app bar with `safeTop`, the shell's tab bar above the home indicator.
|
|
9
|
+
- The keyboard: `useG9Keyboard()`; the shell's tab bar steps aside while it is up.
|
|
10
|
+
- A design preview forces a class: `G9Provider preview={{ layout: 'tablet' }}`.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Anchors, test ids and guided tours
|
|
2
|
+
|
|
3
|
+
- **Every G9 control with an `id` is an anchor**: a test target (G9AppPilot), a guide step's target and a scroll
|
|
4
|
+
position. Ids are dotted names (`Orders.Save`); the element id is the same with `_` for the dots.
|
|
5
|
+
- **Your own element**: `const save = useG9Anchor('Form.Save', { kind: 'button' })` then `<view {...save.props} />`,
|
|
6
|
+
or wrap it in `<G9Anchor id="…">`.
|
|
7
|
+
- **A guided tour**: `useG9Guide()` / `g9Guide()` with steps that point at anchor ids.
|
|
8
|
+
- **A design tool's probe** (`@g9tm/lynxcontrols/design`, design builds only): `useG9DesignProbe()` measures every
|
|
9
|
+
anchor; `G9DesignNode` inside a `G9DesignScope` gives any node an anchor without an id.
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Component index (generated)
|
|
2
|
+
|
|
3
|
+
Generated from the installed packages' catalogs (`<package>/catalog`): one line per family. Open the family's file in
|
|
4
|
+
`components/` for its cards (props, defaults, the anchor, an example); the catalog JSON has every fact.
|
|
5
|
+
|
|
6
|
+
## @g9tm/lynxcontrols-barcode
|
|
7
|
+
|
|
8
|
+
- `@g9tm/lynxcontrols-barcode`: G9BarcodeTextEntry, G9ScanCard → `components/barcode.md`
|
|
9
|
+
- `@g9tm/lynxcontrols-barcode/qr`: G9QrCode → `components/barcode-qr.md`
|
|
10
|
+
|
|
11
|
+
## @g9tm/lynxcontrols-calendar
|
|
12
|
+
|
|
13
|
+
- `@g9tm/lynxcontrols-calendar`: G9AgendaView, G9DateInput, G9MiniMonth, G9MonthDayPicker, G9MonthView, G9RepeatPicker, G9TimeGrid, G9ZonePicker → `components/calendar.md`
|
|
14
|
+
|
|
15
|
+
## @g9tm/lynxcontrols-charts
|
|
16
|
+
|
|
17
|
+
- `@g9tm/lynxcontrols-charts`: G9BarChart, G9CandleChart, G9ChartBox, G9Donut, G9FanChart, G9Gauge, G9Heatmap, G9LineChart, G9Radar, G9Sparkline, G9StackedBarChart → `components/charts.md`
|
|
18
|
+
|
|
19
|
+
## @g9tm/lynxcontrols-chat
|
|
20
|
+
|
|
21
|
+
- `@g9tm/lynxcontrols-chat`: G9ChatComposer, G9ChatThread, G9ConversationRow, G9EmojiPicker, G9MessageBubble, G9TypingDots → `components/chat.md`
|
|
22
|
+
|
|
23
|
+
## @g9tm/lynxcontrols-commerce
|
|
24
|
+
|
|
25
|
+
- `@g9tm/lynxcontrols-commerce`: G9MiniCartBar, G9PriceTag, G9ProductTile, G9QuantityControl → `components/commerce.md`
|
|
26
|
+
|
|
27
|
+
## @g9tm/lynxcontrols
|
|
28
|
+
|
|
29
|
+
- `@g9tm/lynxcontrols/anchor`: G9Anchor, G9ScrollerScope → `components/anchor.md`
|
|
30
|
+
- `@g9tm/lynxcontrols/base`: G9CornerBadge, G9Pressable → `components/base.md`
|
|
31
|
+
- `@g9tm/lynxcontrols/button`: G9Button, G9HeaderActionButton, G9IconButton, G9NavCard, G9SafeButton, G9SafeIconButton, G9VerticalIconTextButton → `components/button.md`
|
|
32
|
+
- `@g9tm/lynxcontrols/cascade`: G9CascadePanel → `components/cascade.md`
|
|
33
|
+
- `@g9tm/lynxcontrols/commands`: G9CommandPalette, G9ShortcutList, G9ShortcutsSheet → `components/commands.md`
|
|
34
|
+
- `@g9tm/lynxcontrols/deferred`: G9DeferredContent → `components/deferred.md`
|
|
35
|
+
- `@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`
|
|
37
|
+
- `@g9tm/lynxcontrols/edge-panel`: G9EdgePanel → `components/edge-panel.md`
|
|
38
|
+
- `@g9tm/lynxcontrols/effects`: G9AnimatedCheck, G9Confetti, G9SuccessHeader → `components/effects.md`
|
|
39
|
+
- `@g9tm/lynxcontrols/expander`: G9Expander → `components/expander.md`
|
|
40
|
+
- `@g9tm/lynxcontrols/fields`: G9Editor, G9FormField, G9NumberEntry, G9NumPad, G9OutlinedField, G9PinEntry, G9SearchEntry, G9TagEntry, G9TextEntry, G9TimeEntry → `components/fields.md`
|
|
41
|
+
- `@g9tm/lynxcontrols/header`: G9AppBar → `components/header.md`
|
|
42
|
+
- `@g9tm/lynxcontrols/host`: G9Host, G9PageLoadingOverlay → `components/host.md`
|
|
43
|
+
- `@g9tm/lynxcontrols/icon`: G9Art, G9Icon, G9IconSlot, G9Swatch → `components/icon.md`
|
|
44
|
+
- `@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
|
+
- `@g9tm/lynxcontrols/list`: G9DragList, G9ListRow, G9Pager, G9PullToRefresh, G9SettingsGroup, G9SwitchRow, G9VirtualList → `components/list.md`
|
|
46
|
+
- `@g9tm/lynxcontrols/orb`: G9FloatingOrb, G9HoldButton → `components/orb.md`
|
|
47
|
+
- `@g9tm/lynxcontrols/pickers`: DateTimeSheetBody, G9ComboBox, G9DateTimePicker, G9DayStepper, G9Picker, G9TimeSpanPicker, G9WheelColumn, PickerField, PickerSheetHeader, SelectionValueIcon, TimeSpanSheetBody → `components/pickers.md`
|
|
48
|
+
- `@g9tm/lynxcontrols/plus-button`: G9PlusButton → `components/plus-button.md`
|
|
49
|
+
- `@g9tm/lynxcontrols/popover`: G9ActionSheet, G9ContextMenu, G9Menu, G9MenuList, G9OverlayRoot, G9Popover → `components/popover.md`
|
|
50
|
+
- `@g9tm/lynxcontrols/popup`: G9PopupDragHandle, G9PopupView, PopupFrame, PopupInputForm → `components/popup.md`
|
|
51
|
+
- `@g9tm/lynxcontrols/provider`: G9Activity, G9KeepAlive, G9Provider → `components/provider.md`
|
|
52
|
+
- `@g9tm/lynxcontrols/range-slider`: G9RangeSlider, G9StepSlider → `components/range-slider.md`
|
|
53
|
+
- `@g9tm/lynxcontrols/route`: G9Place → `components/route.md`
|
|
54
|
+
- `@g9tm/lynxcontrols/sheet`: G9LoadableSheetContent, G9ProcessingSheetContent, G9Sheet, G9SheetBackdropScope, G9SheetFooter, G9SheetFooterBar, G9SheetFrame, G9SheetHeader, G9SheetScrollIndicator, G9SheetScrollRegion → `components/sheet.md`
|
|
55
|
+
- `@g9tm/lynxcontrols/shell`: G9AppShell, G9ConnectionBanner, G9IconRail, G9SideNav, G9TopBar, G9UpdateBar → `components/shell.md`
|
|
56
|
+
- `@g9tm/lynxcontrols/survey`: G9AllocationInput, G9ChoiceList, G9ScaleInput → `components/survey.md`
|
|
57
|
+
- `@g9tm/lynxcontrols/swipe`: G9SwipeGroup, G9SwipeView → `components/swipe.md`
|
|
58
|
+
- `@g9tm/lynxcontrols/tab-bar`: G9TabBar → `components/tab-bar.md`
|
|
59
|
+
- `@g9tm/lynxcontrols/tabs`: G9TabView → `components/tabs.md`
|
|
60
|
+
- `@g9tm/lynxcontrols/toggle`: G9CheckBox, G9Chip, G9ChipGroup, G9RadioGroup, G9RatingInput, G9Segmented, G9Stepper, G9Switch, G9SwitchGroup → `components/toggle.md`
|
|
61
|
+
|
|
62
|
+
## @g9tm/lynxcontrols-datagrid
|
|
63
|
+
|
|
64
|
+
- `@g9tm/lynxcontrols-datagrid`: G9DataGrid → `components/datagrid.md`
|
|
65
|
+
|
|
66
|
+
## @g9tm/lynxcontrols-intro-carousel
|
|
67
|
+
|
|
68
|
+
- `@g9tm/lynxcontrols-intro-carousel`: G9IntroCarousel → `components/intro-carousel.md`
|
|
69
|
+
|
|
70
|
+
## @g9tm/lynxcontrols-map
|
|
71
|
+
|
|
72
|
+
- `@g9tm/lynxcontrols-map`: G9StaticMap → `components/map.md`
|
|
73
|
+
|
|
74
|
+
## @g9tm/lynxcontrols-media
|
|
75
|
+
|
|
76
|
+
- `@g9tm/lynxcontrols-media`: G9BlurhashView, G9DropZone, G9ImageCropper, G9Lightbox, G9MediaGrid, G9MediaPager, G9VoicePlayer → `components/media.md`
|
|
77
|
+
|
|
78
|
+
## @g9tm/lynxcontrols-pilot
|
|
79
|
+
|
|
80
|
+
- `@g9tm/lynxcontrols-pilot`: G9PilotHost, G9PilotMask, G9PilotPanel → `components/pilot.md`
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Common mistakes (check before handing back)
|
|
2
|
+
|
|
3
|
+
1. A second `G9Provider` inside the tree, or an overlay hook outside a `G9Host`.
|
|
4
|
+
2. `Intl`, `toLocaleString`, DOM APIs or `@media` in the app's code.
|
|
5
|
+
3. A row that relies on `direction` to mirror (use `g9RowStyle`, a `--rtl` class).
|
|
6
|
+
4. Hard-coded colours instead of tokens (`var(--g9-…)`, `g9Token`), so dark mode breaks.
|
|
7
|
+
5. Inline `var(--g9-…)` without `pluginG9Lynx()` in `lynx.config.ts`.
|
|
8
|
+
6. A custom sheet, popup, toggle or list where a G9 control exists (find it in `catalog-index.md`).
|
|
9
|
+
7. Controls a person or a test acts on without an `id`.
|
|
10
|
+
8. Latin digits shown in Persian text (format with the culture).
|
|
11
|
+
9. `globalThis.setTimeout` or `globalThis.lynx`.
|
|
12
|
+
10. A theme font that is not registered with the host.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# `@g9tm/lynxcontrols/anchor` (generated)
|
|
2
|
+
|
|
3
|
+
# G9Anchor
|
|
4
|
+
|
|
5
|
+
`import { G9Anchor } from '@g9tm/lynxcontrols/anchor';`
|
|
6
|
+
|
|
7
|
+
Makes any part of a page an anchor: a layout-neutral wrapper (a flex column unless a class is given) that carries the id.
|
|
8
|
+
|
|
9
|
+
Props:
|
|
10
|
+
- `label?`: () => void
|
|
11
|
+
- `children?`: ReactNode
|
|
12
|
+
- `risk?`: 'none' | 'commit' | 'destructive' = "none"
|
|
13
|
+
- `changes?`: () => void
|
|
14
|
+
- `enabled?`: () => void
|
|
15
|
+
- `capabilities?`: object
|
|
16
|
+
- `kind?`: 'label' | 'image' | 'button' | 'entry' | 'toggle' | 'picker' | 'chips' | 'tab' | 'tab-view' | 'list' | 'scroll' | 'item' | 'card' | 'map' | 'view'
|
|
17
|
+
- `secret?`: boolean = false
|
|
18
|
+
|
|
19
|
+
Example: `<G9Anchor id="id" />`
|
|
20
|
+
|
|
21
|
+
# G9ScrollerScope
|
|
22
|
+
|
|
23
|
+
`import { G9ScrollerScope } from '@g9tm/lynxcontrols/anchor';`
|
|
24
|
+
|
|
25
|
+
The anchors below sit in scroller `id` (renders no element).
|
|
26
|
+
|
|
27
|
+
Props:
|
|
28
|
+
- `children?`: ReactNode
|
|
29
|
+
|
|
30
|
+
Example: `<G9ScrollerScope id="id" />`
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# `@g9tm/lynxcontrols-barcode/qr` (generated)
|
|
2
|
+
|
|
3
|
+
# G9QrCode
|
|
4
|
+
|
|
5
|
+
`import { G9QrCode } from '@g9tm/lynxcontrols-barcode/qr';`
|
|
6
|
+
|
|
7
|
+
A QR code (SAC tickets, ShopManager courier code, G9Hub invite links): byte mode, level M, versions 1–10, encoded offline.
|
|
8
|
+
|
|
9
|
+
Props:
|
|
10
|
+
- `accessibilityLabel`: string
|
|
11
|
+
- `value`: string
|
|
12
|
+
- `size?`: number = 200
|
|
13
|
+
- `fallback?`: ReactNode
|
|
14
|
+
- `background?`: color
|
|
15
|
+
- `color?`: color
|
|
16
|
+
- `quietZone?`: number = 4
|
|
17
|
+
- `renderer?`: 'svg' | 'views' | 'png'
|
|
18
|
+
|
|
19
|
+
Example: `<G9QrCode accessibilityLabel="accessibilityLabel" value="value" />`
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# `@g9tm/lynxcontrols-barcode` (generated)
|
|
2
|
+
|
|
3
|
+
# G9BarcodeTextEntry
|
|
4
|
+
|
|
5
|
+
`import { G9BarcodeTextEntry } from '@g9tm/lynxcontrols-barcode';`
|
|
6
|
+
|
|
7
|
+
A scanner-aware text field (MAUI `G9BarcodeTextEntry`) on `G9TextEntry`: a trailing scan affordance (pinned right, text pinned LTR), idle → spinner → ✓ / ⓘ states layered over your own field values, an acceptor for scann
|
|
8
|
+
|
|
9
|
+
Props:
|
|
10
|
+
- `label?`: string
|
|
11
|
+
- `value?`: string
|
|
12
|
+
- `leadingIcon?`: icon
|
|
13
|
+
- `placeholder?`: string
|
|
14
|
+
- `onValueChange?`: (value: string, details: { readonly source: G9BarcodeValueSource; }) => void
|
|
15
|
+
- `disabled?`: boolean = false
|
|
16
|
+
- `confirmType?`: 'search' | 'done' | 'send' | 'go' | 'next' = "done"
|
|
17
|
+
- `inputType?`: 'number' | 'default' | 'email' | 'phone' | 'custom' | 'url' | 'letters' | 'decimal' | 'signedNumber' | 'signedDecimal' | 'lettersAndNumbers' | 'lettersNumbersSpace' | 'persianLetters' | 'persianLettersAndNumbers' | 'multilingualLettersAndNumbers' | 'noSpecialChars' = "default"
|
|
18
|
+
|
|
19
|
+
Example: `<G9BarcodeTextEntry />`
|
|
20
|
+
|
|
21
|
+
# G9ScanCard
|
|
22
|
+
|
|
23
|
+
`import { G9ScanCard } from '@g9tm/lynxcontrols-barcode';`
|
|
24
|
+
|
|
25
|
+
A camera card for a walk that scans one code after another (MAUI 6.2.52 TagScanCameraCard): a card of a FIXED height, pinned where the page puts it (the top), the camera's picture dimmed under its chrome, a status chip a
|
|
26
|
+
|
|
27
|
+
Props:
|
|
28
|
+
- `headline`: string
|
|
29
|
+
- `height`: number
|
|
30
|
+
- `children?`: ReactNode
|
|
31
|
+
- `pictureOpacity?`: number = 0.79
|
|
32
|
+
- `tone?`: string
|
|
33
|
+
- `bottomEnd?`: ReactNode
|
|
34
|
+
- `bottomStart?`: ReactNode
|
|
35
|
+
- `camera?`: ReactNode
|
|
36
|
+
|
|
37
|
+
Example: `<G9ScanCard headline="headline" height={1} />`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# `@g9tm/lynxcontrols/base` (generated)
|
|
2
|
+
|
|
3
|
+
# G9CornerBadge
|
|
4
|
+
|
|
5
|
+
`import { G9CornerBadge } from '@g9tm/lynxcontrols/base';`
|
|
6
|
+
|
|
7
|
+
The one corner badge of the library (MAUI `G9CornerBadge`, guide rule 14): centred on the host's top-trailing corner (top-left in RTL), no negative margins (the host reserves half the badge), the number dead-centred, nev
|
|
8
|
+
|
|
9
|
+
Props:
|
|
10
|
+
- `text?`: string
|
|
11
|
+
- `ringColor?`: color = "var(--g9-surface)"
|
|
12
|
+
- `textColor?`: color = "var(--g9-on-error)"
|
|
13
|
+
- `color?`: color = "var(--g9-error)"
|
|
14
|
+
- `dot?`: boolean
|
|
15
|
+
- `mirrorTextInRtl?`: boolean = true
|
|
16
|
+
|
|
17
|
+
Example: `<G9CornerBadge />`
|
|
18
|
+
|
|
19
|
+
# G9Pressable
|
|
20
|
+
|
|
21
|
+
`import { G9Pressable } from '@g9tm/lynxcontrols/base';`
|
|
22
|
+
|
|
23
|
+
Opacity press feedback around any content (MAUI `G9PressFeedbackBehavior` attached to a view; `.For(command)` is `<G9Pressable onPress={…}>`).
|
|
24
|
+
|
|
25
|
+
Props:
|
|
26
|
+
- `children?`: ReactNode
|
|
27
|
+
- `onPress?`: () => void
|
|
28
|
+
- `disabled?`: boolean = false
|
|
29
|
+
- `hoveredOpacity?`: number = 0.86
|
|
30
|
+
- `pressedOpacity?`: number = 0.78
|
|
31
|
+
- `restOpacity?`: number = 1
|
|
32
|
+
- `animationDurationMs?`: number = 110
|
|
33
|
+
- `feedback?`: 'card' | 'opacity'
|
|
34
|
+
|
|
35
|
+
Example: `<G9Pressable />`
|