@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://./src/fields/fields.css"],"names":[],"mappings":"AACA;EAAE,sBAAsB;EACtB,WAAW;EACX,aAAa;AACf;;AAGA;EAAE,uBAAuB;EACvB,sBAAsB;EACtB,aAAa;EACb,kBAAkB;AACpB;;AAGA;EAAE,oBAAoB;EACpB,mBAAmB;EACnB,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAaA;EAVE,sBAAsB;EACtB,OAAO;EACP,uBAAuB;EACvB,aAAa;AACf;;AAaA;EAVE,
|
|
1
|
+
{"version":3,"sources":["webpack://./src/fields/fields.css"],"names":[],"mappings":"AACA;EAAE,sBAAsB;EACtB,WAAW;EACX,aAAa;AACf;;AAGA;EAAE,uBAAuB;EACvB,sBAAsB;EACtB,aAAa;EACb,kBAAkB;AACpB;;AAGA;EAAE,oBAAoB;EACpB,mBAAmB;EACnB,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAaA;EAVE,sBAAsB;EACtB,OAAO;EACP,uBAAuB;EACvB,aAAa;AACf;;AAaA;EAVE,WAAW;EACX,YAAY;EACZ,eAAe;EACf,gCAAgC;EAChC,uBAAuB;AACzB;;AAcA;EAXE,uBAAuB;EACvB,YAAY;EACZ,gCAAgC;AAClC;;AAgBA;EAbE,oBAAoB;EACpB,sBAAsB;EACtB,uBAAuB;EACvB,aAAa;EACb,kBAAkB;EAClB,MAAM;EACN,SAAS;AACX;;AAgBA;EAbE,2BAA2B;EAC3B,YAAY;AACd;;AAgBA;EAbE,WAAW;EACX,eAAe;EACf,gCAAgC;EAChC,uBAAuB;AACzB;;AAgBA;EAbE,WAAW;EACX,eAAe;EACf,gCAAgC;EAChC,uBAAuB;AACzB;;AAgBA;EAbE,uBAAuB;EACvB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;AACpB;;AAgBA;EAbE,oBAAoB;EACpB,YAAY;EACZ,iBAAiB;EACjB,gCAAgC;EAChC,uBAAuB;EACvB,iBAAiB;EACjB,kBAAkB;EAClB,qDAAqD;EACrD,yBAAyB;EACzB,kBAAkB;AACpB;;AAkBA;EAfE,wEAAwE;EACxE,gCAAgC;AAClC;;AAkBA;EAfE,mBAAmB;EACnB,8BAA8B;EAC9B,gBAAgB;EAChB,kBAAkB;EAClB,mBAAmB;EACnB,aAAa;AACf;;AAkBA;EAfE,iBAAiB;EACjB,gCAAgC;EAChC,OAAO;AACT;;AAkBA;EAfE,eAAe;EACf,gCAAgC;EAChC,8BAA8B;AAChC;;AAkBA;EAfE,mBAAmB;EACnB,iBAAiB;EACjB,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,4CAA4C;AAC9C;;AAkBA;EAfE;IACE,oBAAoB;EACtB;;EAEA;IACE,yBAAyB;EAC3B;AACF;;AAoBA;EAjBE,YAAY;AACd;;AAyBA;EAtBE,cAAc;EACd,mBAAmB;EACnB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;AACpB;;AAyBA;EAtBE,mBAAmB;EACnB,mBAAmB;EACnB,uCAAuC;EACvC,mCAAmC;EACnC,mBAAmB;EACnB,uBAAuB;EACvB,mBAAmB;EACnB,iBAAiB;EACjB,aAAa;AACf;;AAyBA;EAtBE,sCAAsC;AACxC;;AAyBA;EAtBE,iBAAiB;EACjB,+BAA+B;AACjC;;AAyBA;EAtBE,eAAe;EACf,gCAAgC;EAChC,6BAA6B;AAC/B;;AAyBA;EAtBE,8BAA8B;AAChC;;AAyBA;EAtBE,eAAe;EACf,gCAAgC;EAChC,8BAA8B;AAChC;;AAyBA;EAtBE,eAAe;EACf,gCAAgC;EAChC,mCAAmC;EACnC,iBAAiB;AACnB;;AA0BA;EAvBE,kDAAkD;AACpD","sourcesContent":["/* Outlined fields (MAUI G9OutlinedFieldBase). Colours come from the theme variables; sizes from G9Metrics. */\n.g9-field {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n\n.g9-field__box {\n display: flex;\n flex-direction: column;\n position: relative;\n background-color: transparent;\n}\n\n.g9-field__outline {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border-style: solid;\n pointer-events: none;\n}\n\n.g9-field__halo {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border-style: solid;\n pointer-events: none;\n}\n\n.g9-field__content {\n display: flex;\n flex-direction: column;\n justify-content: center;\n flex: 1;\n}\n\n.g9-field__input {\n width: 100%;\n height: 100%;\n font-size: 15px;\n font-family: var(--g9-font-text);\n background-color: transparent;\n}\n\n/* The read-only value: a text line centred like the input's. */\n.g9-field__input--readonly {\n height: auto;\n text-overflow: ellipsis;\n font-family: var(--g9-font-text);\n}\n\n/* MAUI 1.4.9 RestingPlaceholder: the hint inside an empty box (under an always-floated label, or placeholderInside),\n over the input where its text starts — the input's 15 px in TextTertiary; it never takes a touch. */\n.g9-field__hint {\n position: absolute;\n top: 0px;\n bottom: 0px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n pointer-events: none;\n}\n\n.g9-field__hint--multiline {\n bottom: auto;\n justify-content: flex-start;\n}\n\n.g9-field__hint-text {\n width: 100%;\n font-size: 15px;\n font-family: var(--g9-font-text);\n text-overflow: ellipsis;\n}\n\n.g9-field__textarea {\n width: 100%;\n font-size: 15px;\n font-family: var(--g9-font-text);\n background-color: transparent;\n}\n\n.g9-field__slot {\n display: flex;\n position: absolute;\n align-items: center;\n justify-content: center;\n}\n\n.g9-field__label {\n position: absolute;\n height: 22px;\n line-height: 22px;\n padding-left: 4px;\n padding-right: 4px;\n background-color: transparent;\n transition-property: top, font-size, transform, color;\n transition-duration: 160ms;\n pointer-events: none;\n font-family: var(--g9-font-text);\n}\n\n/* Only a floated label sits on the outline: its notch paints the colour behind the field (a container that is not\n --g9-background sets --g9-field-notch-background; G9 sheets and popups do). At rest it paints nothing. */\n.g9-field__label--floated {\n background-color: var(--g9-field-notch-background, var(--g9-background));\n font-family: var(--g9-font-text);\n}\n\n.g9-field__footer {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding-top: 4px;\n padding-left: 14px;\n padding-right: 14px;\n}\n\n.g9-field__helper {\n flex: 1;\n font-size: 11.5px;\n font-family: var(--g9-font-text);\n}\n\n.g9-field__counter {\n font-size: 11px;\n font-family: var(--g9-font-text);\n color: var(--g9-text-tertiary);\n}\n\n.g9-field__busy {\n width: 18px;\n height: 18px;\n border-width: 2px;\n border-style: solid;\n border-radius: 9px;\n animation: g9-field-spin 800ms linear infinite;\n}\n\n@keyframes g9-field-spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n\n/* Disabled dims the field (MAUI DisabledDimAlpha) part by part: an opacity on the box itself renders it into a layer\n the size of the box on Android, which cut the floated label above it in half. The label takes the disabled colour\n instead, so its notch still hides the outline. */\n.g9-field--disabled .g9-field__outline,\n.g9-field--disabled .g9-field__halo,\n.g9-field--disabled .g9-field__content,\n.g9-field--disabled .g9-field__slot,\n.g9-field--disabled .g9-field__footer {\n opacity: 0.45;\n}\n\n/* PIN entry (MAUI G9PinEntry): the row is always left-to-right. */\n.g9-pin {\n display: flex;\n flex-direction: row;\n align-items: center;\n position: relative;\n direction: ltr;\n}\n\n.g9-pin__cell {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 8px;\n border-style: solid;\n border-width: 1.4px;\n border-radius: 10px;\n border-color: var(--g9-outline-variant);\n background-color: var(--g9-surface);\n}\n\n.g9-pin__cell--filled {\n border-color: var(--g9-primary-border);\n}\n\n.g9-pin__cell--active {\n border-width: 2px;\n border-color: var(--g9-primary);\n}\n\n.g9-pin__char {\n font-size: 22px;\n font-family: var(--g9-font-text);\n color: var(--g9-text-primary);\n}\n\n.g9-pin--disabled .g9-pin__char {\n color: var(--g9-text-disabled);\n}\n\n.g9-pin__placeholder {\n font-size: 22px;\n font-family: var(--g9-font-text);\n color: var(--g9-text-tertiary);\n}\n\n.g9-pin__separator {\n font-size: 22px;\n font-family: var(--g9-font-text);\n margin-right: 6px;\n color: var(--g9-on-surface-variant);\n}\n\n/* appearance=\"filled\": a sunken box, no stroke at rest (the focus colour strokes it). */\n.g9-field__outline--filled {\n background-color: var(--g9-surface-container-high);\n}\n"],"sourceRoot":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-entry.d.ts","sourceRoot":"","sources":["../../src/fields/text-entry.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAgB,MAAM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AAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;CAClC,GAAG,OAAO,CAEV;AAED,4DAA4D;AAC5D,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACjD,QAAQ,CAAC,WAAW,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;IACvD,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AAED,UAAU,SAAU,SAAQ,gBAAgB;IAC1C,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC;CAClC;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,yGAuGzB,CAAC;AAIF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,gHAEtB,CAAC"}
|
|
@@ -57,6 +57,9 @@ const TextEntryBody = forwardRef(function(props, ref) {
|
|
|
57
57
|
return null != (_props_label = props.label) ? _props_label : props.placeholder;
|
|
58
58
|
},
|
|
59
59
|
enabled: ()=>!props.disabled,
|
|
60
|
+
...true === props.isPassword ? {
|
|
61
|
+
secret: true
|
|
62
|
+
} : {},
|
|
60
63
|
capabilities: {
|
|
61
64
|
getValue: ()=>core.text,
|
|
62
65
|
setValue: (v)=>{
|
package/dist/guide/guide.css
CHANGED
|
@@ -208,6 +208,7 @@
|
|
|
208
208
|
.g9-guide__badge-text {
|
|
209
209
|
color: var(--g9-on-primary);
|
|
210
210
|
font-size: 12px;
|
|
211
|
+
font-family: var(--g9-font-text);
|
|
211
212
|
font-weight: bold;
|
|
212
213
|
}
|
|
213
214
|
|
|
@@ -245,14 +246,16 @@
|
|
|
245
246
|
|
|
246
247
|
.g9-guide__bubble-title {
|
|
247
248
|
color: var(--g9-inverse-on-surface);
|
|
248
|
-
margin-bottom: 4px;
|
|
249
249
|
font-size: 15px;
|
|
250
|
+
font-family: var(--g9-font-text);
|
|
251
|
+
margin-bottom: 4px;
|
|
250
252
|
font-weight: bold;
|
|
251
253
|
}
|
|
252
254
|
|
|
253
255
|
.g9-guide__bubble-text {
|
|
254
256
|
color: var(--g9-inverse-on-surface);
|
|
255
257
|
font-size: 14px;
|
|
258
|
+
font-family: var(--g9-font-text);
|
|
256
259
|
line-height: 22px;
|
|
257
260
|
}
|
|
258
261
|
|
|
@@ -277,11 +280,13 @@
|
|
|
277
280
|
.g9-guide__bubble-button-text {
|
|
278
281
|
color: var(--g9-inverse-surface);
|
|
279
282
|
font-size: 14px;
|
|
283
|
+
font-family: var(--g9-font-text);
|
|
280
284
|
font-weight: bold;
|
|
281
285
|
}
|
|
282
286
|
|
|
283
287
|
.g9-guide__bubble-button-text--quiet {
|
|
284
288
|
color: var(--g9-inverse-on-surface);
|
|
289
|
+
font-family: var(--g9-font-text);
|
|
285
290
|
}
|
|
286
291
|
|
|
287
292
|
.g9-guide__arrow {
|
|
@@ -326,16 +331,18 @@
|
|
|
326
331
|
|
|
327
332
|
.g9-guide-confirm__source {
|
|
328
333
|
color: var(--g9-text-secondary);
|
|
329
|
-
flex: 1;
|
|
330
334
|
font-size: 13px;
|
|
335
|
+
font-family: var(--g9-font-text);
|
|
336
|
+
flex: 1;
|
|
331
337
|
}
|
|
332
338
|
|
|
333
339
|
.g9-guide-confirm__progress {
|
|
334
340
|
color: var(--g9-on-primary-container);
|
|
335
341
|
background-color: var(--g9-primary-container);
|
|
342
|
+
font-size: 12px;
|
|
343
|
+
font-family: var(--g9-font-text);
|
|
336
344
|
border-radius: 10px;
|
|
337
345
|
padding: 2px 10px;
|
|
338
|
-
font-size: 12px;
|
|
339
346
|
font-weight: bold;
|
|
340
347
|
}
|
|
341
348
|
|
|
@@ -349,14 +356,16 @@
|
|
|
349
356
|
.g9-guide-confirm__warning-text {
|
|
350
357
|
color: var(--g9-on-error-container);
|
|
351
358
|
font-size: 13px;
|
|
359
|
+
font-family: var(--g9-font-text);
|
|
352
360
|
line-height: 20px;
|
|
353
361
|
}
|
|
354
362
|
|
|
355
363
|
.g9-guide-confirm__heading {
|
|
356
364
|
color: var(--g9-text-primary);
|
|
365
|
+
font-size: 14px;
|
|
366
|
+
font-family: var(--g9-font-text);
|
|
357
367
|
margin-top: 14px;
|
|
358
368
|
margin-bottom: 8px;
|
|
359
|
-
font-size: 14px;
|
|
360
369
|
font-weight: bold;
|
|
361
370
|
}
|
|
362
371
|
|
|
@@ -398,6 +407,7 @@
|
|
|
398
407
|
.g9-guide-confirm__verb-text {
|
|
399
408
|
color: var(--g9-on-primary-container);
|
|
400
409
|
font-size: 12px;
|
|
410
|
+
font-family: var(--g9-font-text);
|
|
401
411
|
font-weight: bold;
|
|
402
412
|
}
|
|
403
413
|
|
|
@@ -414,13 +424,15 @@
|
|
|
414
424
|
.g9-guide-confirm__subject {
|
|
415
425
|
color: var(--g9-text-primary);
|
|
416
426
|
font-size: 14px;
|
|
427
|
+
font-family: var(--g9-font-text);
|
|
417
428
|
line-height: 21px;
|
|
418
429
|
}
|
|
419
430
|
|
|
420
431
|
.g9-guide-confirm__value, .g9-guide-confirm__note {
|
|
421
432
|
color: var(--g9-text-secondary);
|
|
422
|
-
margin-top: 2px;
|
|
423
433
|
font-size: 13px;
|
|
434
|
+
font-family: var(--g9-font-text);
|
|
435
|
+
margin-top: 2px;
|
|
424
436
|
line-height: 20px;
|
|
425
437
|
}
|
|
426
438
|
|
package/dist/guide/guide.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://./src/guide/guide.css"],"names":[],"mappings":"AAIA;EAHE,oBAAoB;EACpB,aAAa;EACb,eAAe;EACf,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAMA;EAHE,oBAAoB;EACpB,kBAAkB;AACpB;;AA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a;AACf;;AAPA;EAUE,+BAA+B;EAC/B,OAAO;EACP,eAAe;AACjB;;AAPA;EAUE,qCAAqC;EACrC,6CAA6C;EAC7C,mBAAmB;EACnB,iBAAiB;EACjB,eAAe;EACf,iBAAiB;AACnB;;AAPA;EAUE,2CAA2C;EAC3C,mBAAmB;EACnB,gBAAgB;EAChB,kBAAkB;AACpB;;AAPA;EAUE,mCAAmC;EACnC,eAAe;EACf,iBAAiB;AACnB;;AAPA;EAUE,6BAA6B;EAC7B,gBAAgB;EAChB,kBAAkB;EAClB,eAAe;EACf,iBAAiB;AACnB;;AAPA;EAUE,mBAAmB;EACnB,iBAAiB;EACjB,uCAAuC;EACvC,mBAAmB;EACnB,sBAAsB;EACtB,aAAa;AACf;;AAPA;EAUE,uBAAuB;EACvB,qBAAqB;EACrB,mCAAmC;EACnC,uBAAuB;EACvB,kBAAkB;EAClB,aAAa;AACf;;AAPA;EAUE,mBAAmB;AACrB;;AAPA;EAUE,6CAA6C;EAC7C,mBAAmB;EACnB,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,gBAAgB;AAClB;;AAPA;EAUE,2CAA2C;AAC7C;;AAPA;EAUE,qCAAqC;EACrC,eAAe;EACf,iBAAiB;AACnB;;AAPA;EAUE,mCAAmC;AACrC;;AAPA;EAUE,sBAAsB;EACtB,OAAO;EACP,aAAa;AACf;;AAPA;EAUE,6BAA6B;EAC7B,eAAe;EACf,iBAAiB;AACnB;;AAPA;EAUE,+BAA+B;EAC/B,eAAe;EACf,eAAe;EACf,iBAAiB;AACnB","sourcesContent":["/* The guide layer (above popups, toasts and floating items). Every piece is absolutely placed in layer coordinates;\n only the modal scrim bands and the bubble's buttons take touches (the confirmation is a sheet). Animations run only while a\n mark is mounted: the layer renders nothing once the last mark is gone (an idle app does no frame work). */\n/* Fixed (like .g9-popup): see GuideLayer — an open sheet is a fixed SheetView painted above in-flow nodes. */\n.g9-guide {\n display: flex;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n}\n\n.g9-guide__scrim {\n position: absolute;\n pointer-events: none;\n}\n\n.g9-guide__scrim--modal {\n pointer-events: auto;\n}\n\n.g9-guide__hole {\n position: absolute;\n border-width: 2px;\n border-style: solid;\n border-color: rgba(255, 255, 255, 0.92);\n pointer-events: none;\n}\n\n.g9-guide__highlight {\n position: absolute;\n border-style: solid;\n pointer-events: none;\n}\n\n.g9-guide__highlight--pulse {\n animation: g9-guide-pulse 1400ms ease-in-out infinite;\n}\n\n@keyframes g9-guide-pulse {\n 0% {\n opacity: 1;\n transform: scale(1);\n }\n 50% {\n opacity: 0.55;\n transform: scale(1.04);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n }\n}\n\n.g9-guide__pointer {\n display: flex;\n position: absolute;\n pointer-events: none;\n}\n\n.g9-guide__pointer--tap {\n animation: g9-guide-tap 1200ms ease-in-out infinite;\n}\n\n.g9-guide__pointer--longPress {\n animation: g9-guide-hold 1800ms ease-in-out infinite;\n}\n\n.g9-guide__pointer--swipeUp {\n animation: g9-guide-swipe-up 1400ms ease-in-out infinite;\n}\n\n.g9-guide__pointer--swipeDown {\n animation: g9-guide-swipe-down 1400ms ease-in-out infinite;\n}\n\n.g9-guide__pointer--swipeStart,\n.g9-guide__pointer--swipeEnd {\n animation: g9-guide-swipe-side 1400ms ease-in-out infinite;\n}\n\n@keyframes g9-guide-tap {\n 0% {\n transform: translate(10px, 14px) scale(1);\n opacity: 0.9;\n }\n 40% {\n transform: translate(0px, 0px) scale(1);\n opacity: 1;\n }\n 55% {\n transform: translate(0px, 0px) scale(0.86);\n }\n 75% {\n transform: translate(0px, 0px) scale(1);\n }\n 100% {\n transform: translate(10px, 14px) scale(1);\n opacity: 0.9;\n }\n}\n\n@keyframes g9-guide-hold {\n 0% {\n transform: translate(10px, 14px) scale(1);\n }\n 25% {\n transform: translate(0px, 0px) scale(0.86);\n }\n 80% {\n transform: translate(0px, 0px) scale(0.86);\n }\n 100% {\n transform: translate(10px, 14px) scale(1);\n }\n}\n\n@keyframes g9-guide-swipe-up {\n 0% {\n transform: translate(0px, 30px);\n opacity: 0;\n }\n 20% {\n opacity: 1;\n }\n 100% {\n transform: translate(0px, -30px);\n opacity: 0;\n }\n}\n\n@keyframes g9-guide-swipe-down {\n 0% {\n transform: translate(0px, -30px);\n opacity: 0;\n }\n 20% {\n opacity: 1;\n }\n 100% {\n transform: translate(0px, 30px);\n opacity: 0;\n }\n}\n\n@keyframes g9-guide-swipe-side {\n 0% {\n transform: translate(30px, 0px);\n opacity: 0;\n }\n 20% {\n opacity: 1;\n }\n 100% {\n transform: translate(-30px, 0px);\n opacity: 0;\n }\n}\n\n.g9-guide__beacon {\n position: absolute;\n width: 12px;\n height: 12px;\n border-radius: 6px;\n pointer-events: none;\n animation: g9-guide-beacon 1200ms ease-out infinite;\n}\n\n@keyframes g9-guide-beacon {\n 0% {\n transform: scale(0.7);\n opacity: 1;\n }\n 70% {\n transform: scale(1.6);\n opacity: 0.25;\n }\n 100% {\n transform: scale(0.7);\n opacity: 1;\n }\n}\n\n.g9-guide__badge {\n display: flex;\n position: absolute;\n width: 22px;\n height: 22px;\n border-radius: 11px;\n align-items: center;\n justify-content: center;\n background-color: var(--g9-primary);\n pointer-events: none;\n}\n\n.g9-guide__badge-text {\n color: var(--g9-on-primary);\n font-size: 12px;\n font-weight: bold;\n}\n\n.g9-guide__ripple {\n position: absolute;\n width: 48px;\n height: 48px;\n border-radius: 24px;\n background-color: rgba(255, 255, 255, 0.5);\n pointer-events: none;\n animation: g9-guide-ripple 600ms ease-out 1 forwards;\n}\n\n@keyframes g9-guide-ripple {\n 0% {\n transform: scale(0.3);\n opacity: 0.9;\n }\n 100% {\n transform: scale(1.8);\n opacity: 0;\n }\n}\n\n.g9-guide__bubble {\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 12px 14px;\n border-radius: 14px;\n background-color: var(--g9-inverse-surface);\n pointer-events: auto;\n}\n\n.g9-guide__bubble-title {\n color: var(--g9-inverse-on-surface);\n font-size: 15px;\n font-weight: bold;\n margin-bottom: 4px;\n}\n\n.g9-guide__bubble-text {\n color: var(--g9-inverse-on-surface);\n font-size: 14px;\n line-height: 22px;\n}\n\n.g9-guide__bubble-actions {\n display: flex;\n justify-content: flex-end;\n margin-top: 10px;\n}\n\n.g9-guide__bubble-button {\n display: flex;\n padding: 6px 14px;\n margin-left: 8px;\n border-radius: 16px;\n background-color: var(--g9-inverse-primary);\n}\n\n.g9-guide__bubble-button--quiet {\n background-color: transparent;\n}\n\n.g9-guide__bubble-button-text {\n color: var(--g9-inverse-surface);\n font-size: 14px;\n font-weight: bold;\n}\n\n.g9-guide__bubble-button-text--quiet {\n color: var(--g9-inverse-on-surface);\n}\n\n.g9-guide__arrow {\n position: absolute;\n width: 14px;\n height: 14px;\n background-color: var(--g9-inverse-surface);\n transform: rotate(45deg);\n}\n\n.g9-guide__arrow--below {\n top: -6px;\n}\n\n.g9-guide__arrow--above {\n bottom: -6px;\n}\n\n.g9-guide__arrow--over {\n display: none;\n}\n\n.g9-guide__arrow--end {\n left: -6px;\n}\n\n.g9-guide__arrow--start {\n right: -6px;\n}\n\n/* The guided-save confirmation's body (./confirm-sheet.tsx): a G9 fit sheet draws the header, the scrolling and the\n footer buttons; this is only what scrolls — who asked, the link's warning, the list of changes. */\n.g9-guide-confirm {\n display: flex;\n flex-direction: column;\n padding-bottom: 12px;\n}\n\n.g9-guide-confirm__meta {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.g9-guide-confirm__source {\n flex: 1;\n color: var(--g9-text-secondary);\n font-size: 13px;\n}\n\n.g9-guide-confirm__progress {\n color: var(--g9-on-primary-container);\n background-color: var(--g9-primary-container);\n font-size: 12px;\n font-weight: bold;\n padding: 2px 10px;\n border-radius: 10px;\n}\n\n.g9-guide-confirm__warning {\n margin-top: 10px;\n padding: 10px 12px;\n border-radius: 10px;\n background-color: var(--g9-error-container);\n}\n\n.g9-guide-confirm__warning-text {\n color: var(--g9-on-error-container);\n font-size: 13px;\n line-height: 20px;\n}\n\n.g9-guide-confirm__heading {\n color: var(--g9-text-primary);\n font-size: 14px;\n font-weight: bold;\n margin-top: 14px;\n margin-bottom: 8px;\n}\n\n.g9-guide-confirm__lines {\n display: flex;\n flex-direction: column;\n border-width: 1px;\n border-style: solid;\n border-color: var(--g9-outline-variant);\n border-radius: 12px;\n}\n\n.g9-guide-confirm__line {\n display: flex;\n align-items: flex-start;\n padding: 10px 12px;\n border-top-width: 1px;\n border-top-style: solid;\n border-top-color: var(--g9-divider);\n}\n\n.g9-guide-confirm__line--first {\n border-top-width: 0;\n}\n\n.g9-guide-confirm__verb {\n padding: 2px 8px;\n margin-left: 10px;\n margin-right: 10px;\n margin-top: 1px;\n border-radius: 10px;\n background-color: var(--g9-primary-container);\n}\n\n.g9-guide-confirm__verb--delete {\n background-color: var(--g9-error-container);\n}\n\n.g9-guide-confirm__verb-text {\n color: var(--g9-on-primary-container);\n font-size: 12px;\n font-weight: bold;\n}\n\n.g9-guide-confirm__verb-text--delete {\n color: var(--g9-on-error-container);\n}\n\n.g9-guide-confirm__line-body {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n\n.g9-guide-confirm__subject {\n color: var(--g9-text-primary);\n font-size: 14px;\n line-height: 21px;\n}\n\n.g9-guide-confirm__value,\n.g9-guide-confirm__note {\n color: var(--g9-text-secondary);\n font-size: 13px;\n line-height: 20px;\n margin-top: 2px;\n}\n"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack://./src/guide/guide.css"],"names":[],"mappings":"AAIA;EAHE,oBAAoB;EACpB,aAAa;EACb,eAAe;EACf,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAMA;EAHE,oBAAoB;EACpB,kBAAkB;AACpB;;AAMA;EAHE,oBAAoB;AACtB;;AAMA;EAHE,oBAAoB;EACpB,2BAA2B;EAC3B,kBAAkB;AACpB;;AAQA;EALE,oBAAoB;EACpB,mBAAmB;EACnB,kBAAkB;AACpB;;AAQ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T;;AAPA;EAUE,qCAAqC;EACrC,6CAA6C;EAC7C,eAAe;EACf,gCAAgC;EAChC,mBAAmB;EACnB,iBAAiB;EACjB,iBAAiB;AACnB;;AAPA;EAUE,2CAA2C;EAC3C,mBAAmB;EACnB,gBAAgB;EAChB,kBAAkB;AACpB;;AAPA;EAUE,mCAAmC;EACnC,eAAe;EACf,gCAAgC;EAChC,iBAAiB;AACnB;;AAPA;EAUE,6BAA6B;EAC7B,eAAe;EACf,gCAAgC;EAChC,gBAAgB;EAChB,kBAAkB;EAClB,iBAAiB;AACnB;;AAPA;EAUE,mBAAmB;EACnB,iBAAiB;EACjB,uCAAuC;EACvC,mBAAmB;EACnB,sBAAsB;EACtB,aAAa;AACf;;AAPA;EAUE,uBAAuB;EACvB,qBAAqB;EACrB,mCAAmC;EACnC,uBAAuB;EACvB,kBAAkB;EAClB,aAAa;AACf;;AAPA;EAUE,mBAAmB;AACrB;;AAPA;EAUE,6CAA6C;EAC7C,mBAAmB;EACnB,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,gBAAgB;AAClB;;AAPA;EAUE,2CAA2C;AAC7C;;AAPA;EAUE,qCAAqC;EACrC,eAAe;EACf,gCAAgC;EAChC,iBAAiB;AACnB;;AAPA;EAUE,mCAAmC;AACrC;;AAPA;EAUE,sBAAsB;EACtB,OAAO;EACP,aAAa;AACf;;AAPA;EAUE,6BAA6B;EAC7B,eAAe;EACf,gCAAgC;EAChC,iBAAiB;AACnB;;AAPA;EAUE,+BAA+B;EAC/B,eAAe;EACf,gCAAgC;EAChC,eAAe;EACf,iBAAiB;AACnB","sourcesContent":["/* The guide layer (above popups, toasts and floating items). Every piece is absolutely placed in layer coordinates;\n only the modal scrim bands and the bubble's buttons take touches (the confirmation is a sheet). Animations run only while a\n mark is mounted: the layer renders nothing once the last mark is gone (an idle app does no frame work). */\n/* Fixed (like .g9-popup): see GuideLayer — an open sheet is a fixed SheetView painted above in-flow nodes. */\n.g9-guide {\n display: flex;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n}\n\n.g9-guide__scrim {\n position: absolute;\n pointer-events: none;\n}\n\n.g9-guide__scrim--modal {\n pointer-events: auto;\n}\n\n.g9-guide__hole {\n position: absolute;\n border-width: 2px;\n border-style: solid;\n border-color: rgba(255, 255, 255, 0.92);\n pointer-events: none;\n}\n\n.g9-guide__highlight {\n position: absolute;\n border-style: solid;\n pointer-events: none;\n}\n\n.g9-guide__highlight--pulse {\n animation: g9-guide-pulse 1400ms ease-in-out infinite;\n}\n\n@keyframes g9-guide-pulse {\n 0% {\n opacity: 1;\n transform: scale(1);\n }\n 50% {\n opacity: 0.55;\n transform: scale(1.04);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n }\n}\n\n.g9-guide__pointer {\n display: flex;\n position: absolute;\n pointer-events: none;\n}\n\n.g9-guide__pointer--tap {\n animation: g9-guide-tap 1200ms ease-in-out infinite;\n}\n\n.g9-guide__pointer--longPress {\n animation: g9-guide-hold 1800ms ease-in-out infinite;\n}\n\n.g9-guide__pointer--swipeUp {\n animation: g9-guide-swipe-up 1400ms ease-in-out infinite;\n}\n\n.g9-guide__pointer--swipeDown {\n animation: g9-guide-swipe-down 1400ms ease-in-out infinite;\n}\n\n.g9-guide__pointer--swipeStart,\n.g9-guide__pointer--swipeEnd {\n animation: g9-guide-swipe-side 1400ms ease-in-out infinite;\n}\n\n@keyframes g9-guide-tap {\n 0% {\n transform: translate(10px, 14px) scale(1);\n opacity: 0.9;\n }\n 40% {\n transform: translate(0px, 0px) scale(1);\n opacity: 1;\n }\n 55% {\n transform: translate(0px, 0px) scale(0.86);\n }\n 75% {\n transform: translate(0px, 0px) scale(1);\n }\n 100% {\n transform: translate(10px, 14px) scale(1);\n opacity: 0.9;\n }\n}\n\n@keyframes g9-guide-hold {\n 0% {\n transform: translate(10px, 14px) scale(1);\n }\n 25% {\n transform: translate(0px, 0px) scale(0.86);\n }\n 80% {\n transform: translate(0px, 0px) scale(0.86);\n }\n 100% {\n transform: translate(10px, 14px) scale(1);\n }\n}\n\n@keyframes g9-guide-swipe-up {\n 0% {\n transform: translate(0px, 30px);\n opacity: 0;\n }\n 20% {\n opacity: 1;\n }\n 100% {\n transform: translate(0px, -30px);\n opacity: 0;\n }\n}\n\n@keyframes g9-guide-swipe-down {\n 0% {\n transform: translate(0px, -30px);\n opacity: 0;\n }\n 20% {\n opacity: 1;\n }\n 100% {\n transform: translate(0px, 30px);\n opacity: 0;\n }\n}\n\n@keyframes g9-guide-swipe-side {\n 0% {\n transform: translate(30px, 0px);\n opacity: 0;\n }\n 20% {\n opacity: 1;\n }\n 100% {\n transform: translate(-30px, 0px);\n opacity: 0;\n }\n}\n\n.g9-guide__beacon {\n position: absolute;\n width: 12px;\n height: 12px;\n border-radius: 6px;\n pointer-events: none;\n animation: g9-guide-beacon 1200ms ease-out infinite;\n}\n\n@keyframes g9-guide-beacon {\n 0% {\n transform: scale(0.7);\n opacity: 1;\n }\n 70% {\n transform: scale(1.6);\n opacity: 0.25;\n }\n 100% {\n transform: scale(0.7);\n opacity: 1;\n }\n}\n\n.g9-guide__badge {\n display: flex;\n position: absolute;\n width: 22px;\n height: 22px;\n border-radius: 11px;\n align-items: center;\n justify-content: center;\n background-color: var(--g9-primary);\n pointer-events: none;\n}\n\n.g9-guide__badge-text {\n color: var(--g9-on-primary);\n font-size: 12px;\n font-family: var(--g9-font-text);\n font-weight: bold;\n}\n\n.g9-guide__ripple {\n position: absolute;\n width: 48px;\n height: 48px;\n border-radius: 24px;\n background-color: rgba(255, 255, 255, 0.5);\n pointer-events: none;\n animation: g9-guide-ripple 600ms ease-out 1 forwards;\n}\n\n@keyframes g9-guide-ripple {\n 0% {\n transform: scale(0.3);\n opacity: 0.9;\n }\n 100% {\n transform: scale(1.8);\n opacity: 0;\n }\n}\n\n.g9-guide__bubble {\n display: flex;\n flex-direction: column;\n position: absolute;\n padding: 12px 14px;\n border-radius: 14px;\n background-color: var(--g9-inverse-surface);\n pointer-events: auto;\n}\n\n.g9-guide__bubble-title {\n color: var(--g9-inverse-on-surface);\n font-size: 15px;\n font-family: var(--g9-font-text);\n font-weight: bold;\n margin-bottom: 4px;\n}\n\n.g9-guide__bubble-text {\n color: var(--g9-inverse-on-surface);\n font-size: 14px;\n font-family: var(--g9-font-text);\n line-height: 22px;\n}\n\n.g9-guide__bubble-actions {\n display: flex;\n justify-content: flex-end;\n margin-top: 10px;\n}\n\n.g9-guide__bubble-button {\n display: flex;\n padding: 6px 14px;\n margin-left: 8px;\n border-radius: 16px;\n background-color: var(--g9-inverse-primary);\n}\n\n.g9-guide__bubble-button--quiet {\n background-color: transparent;\n}\n\n.g9-guide__bubble-button-text {\n color: var(--g9-inverse-surface);\n font-size: 14px;\n font-family: var(--g9-font-text);\n font-weight: bold;\n}\n\n.g9-guide__bubble-button-text--quiet {\n color: var(--g9-inverse-on-surface);\n font-family: var(--g9-font-text);\n}\n\n.g9-guide__arrow {\n position: absolute;\n width: 14px;\n height: 14px;\n background-color: var(--g9-inverse-surface);\n transform: rotate(45deg);\n}\n\n.g9-guide__arrow--below {\n top: -6px;\n}\n\n.g9-guide__arrow--above {\n bottom: -6px;\n}\n\n.g9-guide__arrow--over {\n display: none;\n}\n\n.g9-guide__arrow--end {\n left: -6px;\n}\n\n.g9-guide__arrow--start {\n right: -6px;\n}\n\n/* The guided-save confirmation's body (./confirm-sheet.tsx): a G9 fit sheet draws the header, the scrolling and the\n footer buttons; this is only what scrolls — who asked, the link's warning, the list of changes. */\n.g9-guide-confirm {\n display: flex;\n flex-direction: column;\n padding-bottom: 12px;\n}\n\n.g9-guide-confirm__meta {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.g9-guide-confirm__source {\n flex: 1;\n color: var(--g9-text-secondary);\n font-size: 13px;\n font-family: var(--g9-font-text);\n}\n\n.g9-guide-confirm__progress {\n color: var(--g9-on-primary-container);\n background-color: var(--g9-primary-container);\n font-size: 12px;\n font-family: var(--g9-font-text);\n font-weight: bold;\n padding: 2px 10px;\n border-radius: 10px;\n}\n\n.g9-guide-confirm__warning {\n margin-top: 10px;\n padding: 10px 12px;\n border-radius: 10px;\n background-color: var(--g9-error-container);\n}\n\n.g9-guide-confirm__warning-text {\n color: var(--g9-on-error-container);\n font-size: 13px;\n font-family: var(--g9-font-text);\n line-height: 20px;\n}\n\n.g9-guide-confirm__heading {\n color: var(--g9-text-primary);\n font-size: 14px;\n font-family: var(--g9-font-text);\n font-weight: bold;\n margin-top: 14px;\n margin-bottom: 8px;\n}\n\n.g9-guide-confirm__lines {\n display: flex;\n flex-direction: column;\n border-width: 1px;\n border-style: solid;\n border-color: var(--g9-outline-variant);\n border-radius: 12px;\n}\n\n.g9-guide-confirm__line {\n display: flex;\n align-items: flex-start;\n padding: 10px 12px;\n border-top-width: 1px;\n border-top-style: solid;\n border-top-color: var(--g9-divider);\n}\n\n.g9-guide-confirm__line--first {\n border-top-width: 0;\n}\n\n.g9-guide-confirm__verb {\n padding: 2px 8px;\n margin-left: 10px;\n margin-right: 10px;\n margin-top: 1px;\n border-radius: 10px;\n background-color: var(--g9-primary-container);\n}\n\n.g9-guide-confirm__verb--delete {\n background-color: var(--g9-error-container);\n}\n\n.g9-guide-confirm__verb-text {\n color: var(--g9-on-primary-container);\n font-size: 12px;\n font-family: var(--g9-font-text);\n font-weight: bold;\n}\n\n.g9-guide-confirm__verb-text--delete {\n color: var(--g9-on-error-container);\n}\n\n.g9-guide-confirm__line-body {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n\n.g9-guide-confirm__subject {\n color: var(--g9-text-primary);\n font-size: 14px;\n font-family: var(--g9-font-text);\n line-height: 21px;\n}\n\n.g9-guide-confirm__value,\n.g9-guide-confirm__note {\n color: var(--g9-text-secondary);\n font-size: 13px;\n font-family: var(--g9-font-text);\n line-height: 20px;\n margin-top: 2px;\n}\n"],"sourceRoot":""}
|
package/dist/header/header.css
CHANGED
|
@@ -34,14 +34,16 @@
|
|
|
34
34
|
|
|
35
35
|
.g9-app-bar__title {
|
|
36
36
|
font-size: var(--g9-type-title-size);
|
|
37
|
+
font-family: var(--g9-font-text);
|
|
37
38
|
line-height: var(--g9-type-title-line);
|
|
38
39
|
color: var(--g9-text-primary);
|
|
39
40
|
font-weight: 700;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
.g9-app-bar__subtitle {
|
|
43
|
-
color: var(--g9-text-secondary);
|
|
44
44
|
font-size: 12px;
|
|
45
|
+
font-family: var(--g9-font-text);
|
|
46
|
+
color: var(--g9-text-secondary);
|
|
45
47
|
line-height: 18px;
|
|
46
48
|
}
|
|
47
49
|
|
|
@@ -62,14 +64,16 @@
|
|
|
62
64
|
}
|
|
63
65
|
|
|
64
66
|
.g9-app-bar__large-subtitle {
|
|
67
|
+
font-size: 13px;
|
|
68
|
+
font-family: var(--g9-font-text);
|
|
65
69
|
color: var(--g9-text-secondary);
|
|
66
70
|
margin-top: 2px;
|
|
67
|
-
font-size: 13px;
|
|
68
71
|
line-height: 19px;
|
|
69
72
|
}
|
|
70
73
|
|
|
71
74
|
.g9-app-bar__large {
|
|
72
75
|
font-size: var(--g9-type-display-size);
|
|
76
|
+
font-family: var(--g9-font-text);
|
|
73
77
|
line-height: var(--g9-type-display-line);
|
|
74
78
|
color: var(--g9-text-primary);
|
|
75
79
|
font-weight: 800;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://./src/header/header.css"],"names":[],"mappings":"AACA;EAAE,mCAAmC;EACnC,0BAA0B;EAC1B,wBAAwB;EACxB,sCAAsC;EACtC,sBAAsB;EACtB,cAAc;EACd,aAAa;AACf;;AAGA;EAAE,uBAAuB;EACvB,0BAA0B;AAC5B;;AAGA;EAAE,mBAAmB;EACnB,eAAe;EACf,cAAc;EACd,aAAa;AACf;;AAGA;EAAE,sBAAsB;EACtB,OAAO;EACP,YAAY;EACZ,cAAc;EACd,aAAa;AACf;;AAGA;EAAE,mBAAmB;AACrB;;AAGA;EAAE,oCAAoC;EACpC,sCAAsC;EACtC,6BAA6B;EAC7B,gBAAgB;AAClB;;AAGA;EAAE,+BAA+B;EAC/B,
|
|
1
|
+
{"version":3,"sources":["webpack://./src/header/header.css"],"names":[],"mappings":"AACA;EAAE,mCAAmC;EACnC,0BAA0B;EAC1B,wBAAwB;EACxB,sCAAsC;EACtC,sBAAsB;EACtB,cAAc;EACd,aAAa;AACf;;AAGA;EAAE,uBAAuB;EACvB,0BAA0B;AAC5B;;AAGA;EAAE,mBAAmB;EACnB,eAAe;EACf,cAAc;EACd,aAAa;AACf;;AAGA;EAAE,sBAAsB;EACtB,OAAO;EACP,YAAY;EACZ,cAAc;EACd,aAAa;AACf;;AAGA;EAAE,mBAAmB;AACrB;;AAGA;EAAE,oCAAoC;EACpC,gCAAgC;EAChC,sCAAsC;EACtC,6BAA6B;EAC7B,gBAAgB;AAClB;;AAGA;EAAE,eAAe;EACf,gCAAgC;EAChC,+BAA+B;EAC/B,iBAAiB;AACnB;;AAGA;EAAE,OAAO;AACT;;AAGA;EAAE,mBAAmB;EACnB,eAAe;EACf,aAAa;AACf;;AAGA;EAAE,sBAAsB;EACtB,oBAAoB;EACpB,aAAa;AACf;;AAGA;EAAE,eAAe;EACf,gCAAgC;EAChC,+BAA+B;EAC/B,eAAe;EACf,iBAAiB;AACnB;;AAGA;EAAE,sCAAsC;EACtC,gCAAgC;EAChC,wCAAwC;EACxC,6BAA6B;EAC7B,gBAAgB;AAClB","sourcesContent":["/* G9AppBar. */\n.g9-app-bar {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n background-color: var(--g9-surface);\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-bottom-color: var(--g9-divider);\n}\n\n.g9-app-bar--transparent {\n background-color: transparent;\n border-bottom-color: transparent;\n}\n\n.g9-app-bar__row {\n display: flex;\n align-items: center;\n padding: 0px 8px;\n column-gap: 4px;\n}\n\n.g9-app-bar__titles {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-width: 0px;\n padding: 0px 8px;\n}\n\n.g9-app-bar__titles--center {\n align-items: center;\n}\n\n.g9-app-bar__title {\n font-size: var(--g9-type-title-size);\n font-family: var(--g9-font-text);\n line-height: var(--g9-type-title-line);\n font-weight: 700;\n color: var(--g9-text-primary);\n}\n\n.g9-app-bar__subtitle {\n font-size: 12px;\n font-family: var(--g9-font-text);\n line-height: 18px;\n color: var(--g9-text-secondary);\n}\n\n.g9-app-bar__spacer {\n flex: 1;\n}\n\n.g9-app-bar__actions {\n display: flex;\n align-items: center;\n column-gap: 2px;\n}\n\n.g9-app-bar__large-block {\n display: flex;\n flex-direction: column;\n padding: 0px 16px 12px 16px;\n}\n\n.g9-app-bar__large-subtitle {\n margin-top: 2px;\n font-size: 13px;\n font-family: var(--g9-font-text);\n line-height: 19px;\n color: var(--g9-text-secondary);\n}\n\n.g9-app-bar__large {\n font-size: var(--g9-type-display-size);\n font-family: var(--g9-font-text);\n line-height: var(--g9-type-display-line);\n font-weight: 800;\n color: var(--g9-text-primary);\n}\n"],"sourceRoot":""}
|
package/dist/icon/icon.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type G9Glyph, type G9Icon as G9IconValue, type G9ImageSource } from '@g9tm/lynxcontrols-foundation';
|
|
1
|
+
import { type G9Diagnostics, type G9Glyph, type G9IconFontRegistry, type G9Icon as G9IconValue, type G9ImageSource } from '@g9tm/lynxcontrols-foundation';
|
|
2
2
|
import { type ReactNode } from '@lynx-js/react';
|
|
3
3
|
import type { G9ImageRenderer } from '../provider/settings.js';
|
|
4
4
|
import './icon.css';
|
|
@@ -17,7 +17,8 @@ export type G9IconInput = G9IconValue | G9Glyph | string | null | undefined;
|
|
|
17
17
|
export interface G9IconProps {
|
|
18
18
|
/**
|
|
19
19
|
* The icon (MAUI `G9IconView.Icon`): a foundation `G9Icon` value, a `G9Glyph` name, or a name the provider's icon-font registry
|
|
20
|
-
* resolves (`'MyIcons.Valve'`, `'hour-glass'
|
|
20
|
+
* resolves (`'MyIcons.Valve'`, `'hour-glass'`). An unknown name draws nothing and is reported once as a warning
|
|
21
|
+
* (the diagnostics hub, else `console.warn`) instead of throwing, unlike MAUI's type converter: a name can come from data.
|
|
21
22
|
* Empty draws nothing but keeps the size box.
|
|
22
23
|
*/
|
|
23
24
|
readonly icon: G9IconInput;
|
|
@@ -42,6 +43,12 @@ export interface G9IconProps {
|
|
|
42
43
|
readonly accessibilityLabel?: string;
|
|
43
44
|
readonly className?: string;
|
|
44
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* {@link resolveIcon} for drawing: a name that resolves to nothing known (`icon-unknown`) draws no icon and is reported
|
|
48
|
+
* once — on the provider's diagnostics hub as a warning, else `console.warn` — instead of throwing from render. A name
|
|
49
|
+
* can come from data (a record's `icon` field), and one bad value must not take the whole screen down (LC-19).
|
|
50
|
+
*/
|
|
51
|
+
export declare function resolveIconForDrawing(input: G9IconInput, registry: G9IconFontRegistry | undefined, diagnostics?: G9Diagnostics | null): G9IconValue | null;
|
|
45
52
|
/** Props of {@link G9Art}. */
|
|
46
53
|
export interface G9ArtProps {
|
|
47
54
|
/** The SVG document; `currentColor` in it becomes `color`. Its viewBox gives the width for a height. */
|
package/dist/icon/icon.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,aAAa,EAElB,KAAK,OAAO,EACZ,KAAK,kBAAkB,EACvB,KAAK,MAAM,IAAI,WAAW,EAC1B,KAAK,aAAa,EAQnB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAQ,KAAK,SAAS,EAAqD,MAAM,gBAAgB,CAAC;AASzG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,YAAY,CAAC;AAEpB,0D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AkB,CAAC,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;GAGG;AACH,eAAO,MAAM,KAAK,kDAiBhB,CAAC;AAEH,sHAAsH;AACtH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,CAWjF;AAED,sHAAsH;AACtH,wBAAgB,kBAAkB,IAAI,eAAe,CAEpD;AAED;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,mDAuEjB,CAAC"}
|
package/dist/icon/icon.jsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { G9Error, createGlyphSvgCache, cssVariableName, findPackIcon, fontIconText, isFontIcon, isG9Glyph, isIconEmpty, packIconSvg, toIcon } from "@g9tm/lynxcontrols-foundation";
|
|
2
2
|
import { memo, useContext, useMemo, useRef, useSyncExternalStore } from "@lynx-js/react";
|
|
3
3
|
import { subscribeThemeAndActivity } from "../provider/activity.jsx";
|
|
4
|
-
import { G9ActivityContext, G9CoreContext, G9CultureContext, G9SettingsContext } from "../provider/contexts.jsx";
|
|
4
|
+
import { G9ActivityContext, G9CoreContext, G9CultureContext, G9DiagnosticsContext, G9SettingsContext } from "../provider/contexts.jsx";
|
|
5
5
|
import "./icon.css";
|
|
6
6
|
const g9IconDefaultSize = 20;
|
|
7
7
|
const g9IconDefaultColor = '#000000';
|
|
@@ -13,6 +13,26 @@ function resolveIcon(input, registry) {
|
|
|
13
13
|
if (!registry) throw new G9Error('icon-unknown', `"${input}" is not a G9Glyph; icon-font names need a G9Provider registry.`);
|
|
14
14
|
return registry.parse(input);
|
|
15
15
|
}
|
|
16
|
+
const reportedIcons = new Set();
|
|
17
|
+
function resolveIconForDrawing(input, registry, diagnostics) {
|
|
18
|
+
try {
|
|
19
|
+
return resolveIcon(input, registry);
|
|
20
|
+
} catch (error) {
|
|
21
|
+
if (!(error instanceof G9Error) || 'icon-unknown' !== error.code) throw error;
|
|
22
|
+
const name = String(input);
|
|
23
|
+
if (!reportedIcons.has(name)) {
|
|
24
|
+
reportedIcons.add(name);
|
|
25
|
+
const message = `G9Icon: "${name}" is not a known icon; nothing is drawn (${error.message})`;
|
|
26
|
+
if (diagnostics) diagnostics.log({
|
|
27
|
+
level: 'warning',
|
|
28
|
+
message,
|
|
29
|
+
source: 'G9Icon'
|
|
30
|
+
});
|
|
31
|
+
else console.warn(`[G9] ${message}`);
|
|
32
|
+
}
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
16
36
|
let tokenByVariable = null;
|
|
17
37
|
function tokenValue(theme, variable) {
|
|
18
38
|
if (!tokenByVariable) {
|
|
@@ -86,6 +106,7 @@ const G9Icon = memo(function(props) {
|
|
|
86
106
|
const core = useContext(G9CoreContext);
|
|
87
107
|
const settings = useContext(G9SettingsContext);
|
|
88
108
|
const culture = useContext(G9CultureContext);
|
|
109
|
+
const diagnostics = useContext(G9DiagnosticsContext);
|
|
89
110
|
const renderImage = useG9ImageRenderer();
|
|
90
111
|
const size = null != (_props_size = props.size) ? _props_size : g9IconDefaultSize;
|
|
91
112
|
const weight = null != (_props_weight = props.weight) ? _props_weight : 1;
|
|
@@ -93,10 +114,11 @@ const G9Icon = memo(function(props) {
|
|
|
93
114
|
const pack = useMemo(()=>'string' != typeof props.icon || isG9Glyph(props.icon) ? null : findPackIcon(props.icon), [
|
|
94
115
|
props.icon
|
|
95
116
|
]);
|
|
96
|
-
const icon = useMemo(()=>pack ? null :
|
|
117
|
+
const icon = useMemo(()=>pack ? null : resolveIconForDrawing(props.icon, null == settings ? void 0 : settings.iconFonts, diagnostics), [
|
|
97
118
|
pack,
|
|
98
119
|
props.icon,
|
|
99
|
-
null == settings ? void 0 : settings.iconFonts
|
|
120
|
+
null == settings ? void 0 : settings.iconFonts,
|
|
121
|
+
diagnostics
|
|
100
122
|
]);
|
|
101
123
|
const glyph = icon && 'glyph' in icon ? icon.glyph : void 0;
|
|
102
124
|
const color = useResolvedColor(glyph || pack ? rawColor : '', null == core ? void 0 : core.themeStore);
|
|
@@ -151,4 +173,4 @@ const G9Icon = memo(function(props) {
|
|
|
151
173
|
{content}
|
|
152
174
|
</view>;
|
|
153
175
|
});
|
|
154
|
-
export { G9Art, G9Icon, g9IconDefaultColor, g9IconDefaultSize, g9IconSvgCache, renderDefaultImage, useG9ImageRenderer };
|
|
176
|
+
export { G9Art, G9Icon, g9IconDefaultColor, g9IconDefaultSize, g9IconSvgCache, renderDefaultImage, resolveIconForDrawing, useG9ImageRenderer };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export type * from './button/index.js';
|
|
|
4
4
|
export type * from './cascade/index.js';
|
|
5
5
|
export type * from './commands/index.js';
|
|
6
6
|
export type * from './deferred/index.js';
|
|
7
|
+
export type * from './design/index.js';
|
|
7
8
|
export type * from './display/index.js';
|
|
8
9
|
export type * from './edge-panel/index.js';
|
|
9
10
|
export type * from './effects/index.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,gBAAgB,CAAC;AACpC,mBAAmB,cAAc,CAAC;AAClC,mBAAmB,gBAAgB,CAAC;AACpC,mBAAmB,iBAAiB,CAAC;AACrC,mBAAmB,kBAAkB,CAAC;AACtC,mBAAmB,kBAAkB,CAAC;AACtC,mBAAmB,iBAAiB,CAAC;AACrC,mBAAmB,oBAAoB,CAAC;AACxC,mBAAmB,iBAAiB,CAAC;AACrC,mBAAmB,kBAAkB,CAAC;AACtC,mBAAmB,gBAAgB,CAAC;AACpC,mBAAmB,eAAe,CAAC;AACnC,mBAAmB,gBAAgB,CAAC;AACpC,mBAAmB,cAAc,CAAC;AAClC,mBAAmB,cAAc,CAAC;AAClC,mBAAmB,gBAAgB,CAAC;AACpC,mBAAmB,cAAc,CAAC;AAClC,mBAAmB,aAAa,CAAC;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,mBAAmB,eAAe,CAAC;AACnC,mBAAmB,mBAAmB,CAAC;AACvC,mBAAmB,eAAe,CAAC;AACnC,mBAAmB,eAAe,CAAC;AACnC,mBAAmB,gBAAgB,CAAC;AACpC,mBAAmB,eAAe,CAAC;AACnC,mBAAmB,iBAAiB,CAAC;AACrC,mBAAmB,cAAc,CAAC;AAClC,mBAAmB,eAAe,CAAC;AACnC,mBAAmB,gBAAgB,CAAC"}
|
package/dist/layout/layout.css
CHANGED
|
@@ -113,14 +113,16 @@
|
|
|
113
113
|
|
|
114
114
|
.g9-section-header__title {
|
|
115
115
|
font-size: var(--g9-type-section-size);
|
|
116
|
+
font-family: var(--g9-font-text);
|
|
116
117
|
line-height: var(--g9-type-section-line);
|
|
117
118
|
color: var(--g9-text-primary);
|
|
118
119
|
font-weight: 700;
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
.g9-section-header__subtitle {
|
|
122
|
-
color: var(--g9-text-secondary);
|
|
123
123
|
font-size: 12px;
|
|
124
|
+
font-family: var(--g9-font-text);
|
|
125
|
+
color: var(--g9-text-secondary);
|
|
124
126
|
line-height: 20px;
|
|
125
127
|
}
|
|
126
128
|
|
|
@@ -133,8 +135,9 @@
|
|
|
133
135
|
}
|
|
134
136
|
|
|
135
137
|
.g9-section-header__action-text {
|
|
136
|
-
color: var(--g9-primary);
|
|
137
138
|
font-size: 13px;
|
|
139
|
+
font-family: var(--g9-font-text);
|
|
140
|
+
color: var(--g9-primary);
|
|
138
141
|
font-weight: 700;
|
|
139
142
|
}
|
|
140
143
|
|
|
@@ -195,9 +198,10 @@
|
|
|
195
198
|
}
|
|
196
199
|
|
|
197
200
|
.g9-unsaved__message {
|
|
201
|
+
font-size: 13px;
|
|
202
|
+
font-family: var(--g9-font-text);
|
|
198
203
|
color: var(--g9-inverse-on-surface);
|
|
199
204
|
flex: 1;
|
|
200
|
-
font-size: 13px;
|
|
201
205
|
}
|
|
202
206
|
|
|
203
207
|
.g9-unsaved__discard {
|
|
@@ -208,8 +212,9 @@
|
|
|
208
212
|
}
|
|
209
213
|
|
|
210
214
|
.g9-unsaved__discard-text {
|
|
211
|
-
color: var(--g9-inverse-on-surface);
|
|
212
215
|
font-size: 13px;
|
|
216
|
+
font-family: var(--g9-font-text);
|
|
217
|
+
color: var(--g9-inverse-on-surface);
|
|
213
218
|
font-weight: 600;
|
|
214
219
|
}
|
|
215
220
|
|
|
@@ -227,8 +232,9 @@
|
|
|
227
232
|
}
|
|
228
233
|
|
|
229
234
|
.g9-unsaved__save-text {
|
|
230
|
-
color: var(--g9-inverse-surface);
|
|
231
235
|
font-size: 13px;
|
|
236
|
+
font-family: var(--g9-font-text);
|
|
237
|
+
color: var(--g9-inverse-surface);
|
|
232
238
|
font-weight: 700;
|
|
233
239
|
}
|
|
234
240
|
|
|
@@ -346,6 +352,10 @@
|
|
|
346
352
|
display: flex;
|
|
347
353
|
}
|
|
348
354
|
|
|
355
|
+
.g9-page__safe-bottom {
|
|
356
|
+
flex-shrink: 0;
|
|
357
|
+
}
|
|
358
|
+
|
|
349
359
|
.g9-spy {
|
|
350
360
|
flex-shrink: 0;
|
|
351
361
|
width: 100%;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://./src/layout/layout.css"],"names":[],"mappings":"AAEA;EADE,oCAAoC;EACpC,sBAAsB;EACtB,aAAa;EACb,kBAAkB;EAClB,gBAAgB;AAClB;;AAIA;EADE,2CAA2C;EAC3C,mBAAmB;EACnB,iBAAiB;EACjB,mCAAmC;AACrC;;AAIA;EADE,6CAA6C;AAC/C;;AAIA;EADE,yCAAyC;EACzC,mBAAmB;EACnB,iBAAiB;EACjB,uCAAuC;AACzC;;AAIA;EADE,yCAAyC;EACzC,mBAAmB;EACnB,iBAAiB;EACjB,uCAAuC;AACzC;;AAIA;EADE,YAAY;EACZ,0DAA0D;EAC1D,sBAAsB;AACxB;;AAMA;EAHE,8DAA8D;AAChE;;AAMA;EAHE;IACE,UAAU;IACV,2BAA2B;EAC7B;;EAEA;IACE,UAAU;IACV,wBAAwB;EAC1B;AACF;;AAKA;EAFE,UAAU;EACV,kBAAkB;EAClB,MAAM;EACN,SAAS;AACX;;AAMA;EAHE,OAAO;AACT;;AAMA;EAHE,QAAQ;AACV;;AAMA;EAHE,sBAAsB;EACtB,aAAa;EACb,aAAa;AACf;;AAMA;EAHE,oCAAoC;EACpC,2CAA2C;EAC3C,mBAAmB;EACnB,iBAAiB;EACjB,mCAAmC;AACrC;;AAMA;EAHE,sBAAsB;EACtB,aAAa;AACf;;AAMA;EAHE,mBAAmB;EACnB,gBAAgB;EAChB,gBAAgB;EAChB,aAAa;AACf;;AAMA;EAHE,6CAA6C;EAC7C,mBAAmB;EACnB,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;EACX,YAAY;EACZ,aAAa;AACf;;AAMA;EAHE,sBAAsB;EACtB,OAAO;EACP,YAAY;EACZ,aAAa;AACf;;AAMA;EAHE,sCAAsC;EACtC,wCAAwC;EACxC,6BAA6B;EAC7B,gBAAgB;AAClB;;AAMA;EAHE,+BAA+B;EAC/B,
|
|
1
|
+
{"version":3,"sources":["webpack://./src/layout/layout.css"],"names":[],"mappings":"AAEA;EADE,oCAAoC;EACpC,sBAAsB;EACtB,aAAa;EACb,kBAAkB;EAClB,gBAAgB;AAClB;;AAIA;EADE,2CAA2C;EAC3C,mBAAmB;EACnB,iBAAiB;EACjB,mCAAmC;AACrC;;AAIA;EADE,6CAA6C;AAC/C;;AAIA;EADE,yCAAyC;EACzC,mBAAmB;EACnB,iBAAiB;EACjB,uCAAuC;AACzC;;AAIA;EADE,yCAAyC;EACzC,mBAAmB;EACnB,iBAAiB;EACjB,uCAAuC;AACzC;;AAIA;EADE,YAAY;EACZ,0DAA0D;EAC1D,sBAAsB;AACxB;;AAMA;EAHE,8DAA8D;AAChE;;AAMA;EAHE;IACE,UAAU;IACV,2BAA2B;EAC7B;;EAEA;IACE,UAAU;IACV,wBAAwB;EAC1B;AACF;;AAKA;EAFE,UAAU;EAC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,aAAa;AACf;;AAMA;EAHE,sBAAsB;EACtB,aAAa;AACf;;AAMA;EAHE,OAAO;EACP,aAAa;AACf;;AAMA;EAHE,sBAAsB;EACtB,cAAc;EACd,aAAa;AACf;;AAOA;EAJE,cAAc;AAChB;;AAQA;EALE,cAAc;EACd,WAAW;AACb;;AAQA;EALE,eAAe;EACf,iBAAiB;EACjB,aAAa;AACf","sourcesContent":["/* Layout: G9Card, G9Section(Header), G9Columns, G9Bento, G9ActionRow, G9UnsavedBar, G9HScroll, G9PlaceScroll,\n G9SplitPane, G9Page. Single-class selectors only; display: flex written out (Lynx). */\n.g9-card {\n display: flex;\n flex-direction: column;\n position: relative;\n border-radius: var(--g9-radius-card);\n overflow: hidden;\n}\n\n.g9-card--outlined {\n background-color: var(--g9-card-background);\n border-width: 1px;\n border-style: solid;\n border-color: var(--g9-card-border);\n}\n\n.g9-card--filled {\n background-color: var(--g9-surface-container);\n}\n\n.g9-card--elevated {\n background-color: var(--g9-card-elevated);\n border-width: 1px;\n border-style: solid;\n border-color: var(--g9-outline-variant);\n}\n\n.g9-card--glass {\n background-color: var(--g9-overlay-light);\n border-width: 1px;\n border-style: solid;\n border-color: var(--g9-outline-variant);\n}\n\n.g9-card--down {\n transform: scale(0.985);\n opacity: 0.92;\n transition:\n transform 90ms ease-out,\n opacity 90ms ease-out;\n}\n\n.g9-card--enter {\n animation: g9-card-rise 320ms cubic-bezier(0.22, 1, 0.36, 1) both;\n}\n\n@keyframes g9-card-rise {\n from {\n opacity: 0;\n transform: translateY(10px);\n }\n to {\n opacity: 1;\n transform: translateY(0px);\n }\n}\n\n.g9-card__edge {\n position: absolute;\n top: 0px;\n bottom: 0px;\n width: 3px;\n}\n\n/* the reading direction, explicit: Lynx does not inherit `direction`, so a logical property inside a page reads LTR */\n.g9-card__edge--ltr {\n left: 0px;\n}\n\n.g9-card__edge--rtl {\n right: 0px;\n}\n\n.g9-section {\n display: flex;\n flex-direction: column;\n row-gap: 12px;\n}\n\n.g9-section--card {\n border-radius: var(--g9-radius-card);\n background-color: var(--g9-card-background);\n border-width: 1px;\n border-style: solid;\n border-color: var(--g9-card-border);\n}\n\n.g9-section__body {\n display: flex;\n flex-direction: column;\n}\n\n.g9-section-header {\n display: flex;\n align-items: center;\n column-gap: 10px;\n min-height: 32px;\n}\n\n.g9-section-header__icon {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n border-radius: 10px;\n background-color: var(--g9-primary-container);\n}\n\n.g9-section-header__text {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-width: 0px;\n}\n\n.g9-section-header__title {\n font-size: var(--g9-type-section-size);\n font-family: var(--g9-font-text);\n line-height: var(--g9-type-section-line);\n font-weight: 700;\n color: var(--g9-text-primary);\n}\n\n.g9-section-header__subtitle {\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-section-header__action {\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 32px;\n padding: 0px 6px;\n}\n\n.g9-section-header__action-text {\n font-size: 13px;\n font-family: var(--g9-font-text);\n font-weight: 700;\n color: var(--g9-primary);\n}\n\n.g9-columns {\n display: flex;\n flex-direction: column;\n}\n\n.g9-columns__cell {\n display: flex;\n flex-direction: column;\n min-width: 0px;\n}\n\n.g9-bento {\n display: flex;\n flex-direction: column;\n}\n\n.g9-bento__cell {\n display: flex;\n flex-direction: column;\n min-width: 0px;\n}\n\n.g9-action-row {\n display: flex;\n justify-content: flex-start;\n column-gap: 10px;\n}\n\n.g9-action-row--phone {\n flex-direction: column;\n align-items: stretch;\n row-gap: 10px;\n}\n\n.g9-unsaved {\n display: flex;\n align-items: center;\n column-gap: 10px;\n padding: 10px 14px;\n border-radius: 16px;\n background-color: var(--g9-inverse-surface);\n animation: g9-unsaved-in 240ms cubic-bezier(0.2, 0, 0, 1);\n}\n\n@keyframes g9-unsaved-in {\n from {\n transform: translateY(24px);\n opacity: 0;\n }\n to {\n transform: translateY(0px);\n opacity: 1;\n }\n}\n\n.g9-unsaved__message {\n flex: 1;\n font-size: 13px;\n font-family: var(--g9-font-text);\n color: var(--g9-inverse-on-surface);\n}\n\n.g9-unsaved__discard {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0px 8px;\n}\n\n.g9-unsaved__discard-text {\n font-size: 13px;\n font-family: var(--g9-font-text);\n font-weight: 600;\n color: var(--g9-inverse-on-surface);\n}\n\n.g9-unsaved__save {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0px 14px;\n border-radius: 12px;\n background-color: var(--g9-inverse-primary);\n}\n\n.g9-unsaved__save--busy {\n opacity: 0.6;\n}\n\n.g9-unsaved__save-text {\n font-size: 13px;\n font-family: var(--g9-font-text);\n font-weight: 700;\n color: var(--g9-inverse-surface);\n}\n\n.g9-hscroll {\n display: flex;\n position: relative;\n}\n\n.g9-hscroll-wrap {\n display: flex;\n flex-wrap: wrap;\n}\n\n.g9-hscroll__row {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n}\n\n.g9-hscroll__fade {\n position: absolute;\n top: 0px;\n bottom: 0px;\n width: 32px;\n}\n\n.g9-place-scroll {\n flex: 1;\n}\n\n.g9-place-scroll__content {\n display: flex;\n flex-direction: column;\n}\n\n.g9-split {\n display: flex;\n flex: 1;\n min-height: 0px;\n}\n\n.g9-split--single {\n flex-direction: column;\n}\n\n.g9-split__start {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n min-height: 0px;\n}\n\n.g9-split__divider {\n width: 1px;\n background-color: var(--g9-divider);\n}\n\n.g9-split__handle {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 9px;\n margin: 0px -4px;\n z-index: 2;\n}\n\n.g9-split__grip {\n width: 1px;\n height: 100%;\n background-color: var(--g9-divider);\n}\n\n.g9-split__detail {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-width: 0px;\n min-height: 0px;\n}\n\n.g9-page {\n display: flex;\n flex-direction: column;\n flex: 1;\n position: relative;\n min-height: 0px;\n background-color: var(--g9-background);\n}\n\n.g9-page__body {\n flex: 1;\n min-height: 0px;\n}\n\n.g9-page__content {\n display: flex;\n flex-direction: column;\n align-self: center;\n width: 100%;\n}\n\n/* a page that does not scroll gives its height to its content (a list, a map, a chat fills it) */\n.g9-page__body--fixed {\n display: flex;\n flex-direction: column;\n}\n\n.g9-page__content--fill {\n flex: 1;\n min-height: 0px;\n}\n\n.g9-page__footer {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n}\n\n/* G9Page safeBottom: the bottom safe-area inset under the footer (its height inline) */\n.g9-page__safe-bottom {\n flex-shrink: 0;\n}\n\n/* G9ScrollSpyBar */\n.g9-spy {\n width: 100%;\n flex-shrink: 0;\n}\n\n.g9-spy__row {\n display: flex;\n column-gap: 6px;\n padding: 8px 12px;\n}\n"],"sourceRoot":""}
|
|
@@ -8,21 +8,26 @@ interface Common {
|
|
|
8
8
|
}
|
|
9
9
|
/** Props of {@link G9HScroll}. */
|
|
10
10
|
export interface G9HScrollProps extends Common {
|
|
11
|
-
/** Row height. Default 40. */
|
|
12
|
-
readonly height?: number;
|
|
13
|
-
/** The colour behind the row, for the end fade. Default the background token. */
|
|
14
|
-
readonly fadeColor?: string;
|
|
11
|
+
/** Row height in dp, or `'auto'`: as tall as the tallest child (cards, tiles). Default 40. */
|
|
12
|
+
readonly height?: number | 'auto';
|
|
13
|
+
/** The colour behind the row, for the end fade. Default the background token; `false` = no fade. */
|
|
14
|
+
readonly fadeColor?: string | false;
|
|
15
15
|
/** Space between children. Default 8. */
|
|
16
16
|
readonly gap?: number;
|
|
17
17
|
/** Start/end padding inside the scroll. Default 16. */
|
|
18
18
|
readonly padding?: number;
|
|
19
|
+
/** Cross-axis alignment of the children. Default `'center'`. */
|
|
20
|
+
readonly alignItems?: 'center' | 'flex-start' | 'flex-end' | 'stretch';
|
|
19
21
|
/** On wide layouts, wrap into lines instead of scrolling (SAC DayStrip: no hidden scrolling for mouse users). */
|
|
20
22
|
readonly wrapWhenWide?: boolean;
|
|
21
23
|
readonly children?: ReactNode;
|
|
22
24
|
}
|
|
23
25
|
/**
|
|
24
26
|
* A row of chips, tabs or cards that may not fit (SAC HScroll): it scrolls sideways and the far end fades while there is
|
|
25
|
-
* more, so a label is never squeezed to break mid-word.
|
|
27
|
+
* more, so a label is never squeezed to break mid-word. It reads in the layout direction: a Lynx scroll-view always
|
|
28
|
+
* starts at its LEFT edge and sizes its row to the content, so in RTL a short row is held at least as wide as the strip
|
|
29
|
+
* (the MEASURED width: a percentage min-width of a flex-sized scroll-view is circular in Lynx) and packs to the right,
|
|
30
|
+
* and a long row is scrolled to its right end once both widths are known — onto its FIRST item (AgriPad, 2026-10).
|
|
26
31
|
*/
|
|
27
32
|
export declare function G9HScroll(props: G9HScrollProps): ReactNode;
|
|
28
33
|
/** Props of {@link G9PlaceScroll}. */
|
|
@@ -85,6 +90,12 @@ export interface G9PageProps extends Common {
|
|
|
85
90
|
};
|
|
86
91
|
/** Page background. Default the background token. */
|
|
87
92
|
readonly background?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Keep the bottom of the page clear of the system's bars (the home indicator, the navigation buttons): a band as tall as
|
|
95
|
+
* the bottom safe-area inset under the footer. For a page outside `G9AppShell` (which already keeps its tab bar clear),
|
|
96
|
+
* e.g. a `G9Page` with a `G9TabBar` as its footer (LC-23). Default false.
|
|
97
|
+
*/
|
|
98
|
+
readonly safeBottom?: boolean;
|
|
88
99
|
readonly children?: ReactNode;
|
|
89
100
|
}
|
|
90
101
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scrollers.d.ts","sourceRoot":"","sources":["../../src/layout/scrollers.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,KAAK,SAAS,EAAwC,MAAM,gBAAgB,CAAC;AACtF,OAAO,EAAE,KAAK,WAAW,EAA+C,MAAM,iBAAiB,CAAC;AAGhG,UAAU,MAAM;IACd,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,C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