@g9tm/lynxcontrols 2.7.3 → 2.8.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/catalog/catalog.json +1 -1
- package/catalog/index.md +1 -1
- package/dist/sheet/sheet.css +1 -0
- package/dist/sheet/sheet.css.map +1 -1
- package/package.json +2 -2
- package/skills/g9-lynx-app/references/catalog-index.md +5 -1
- package/skills/g9-lynx-app/references/components/lynxtron-elements.md +34 -0
- package/skills/g9-lynx-app/references/components/native-media.md +18 -0
package/catalog/catalog.json
CHANGED
package/catalog/index.md
CHANGED
package/dist/sheet/sheet.css
CHANGED
package/dist/sheet/sheet.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://./src/sheet/sheet.css"],"names":[],"mappings":"AACA;EAAE,oBAAoB;EACpB,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAIA;EADE,oBAAoB;EACpB,QAAQ;EACR,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;AACT;;AAKA;EAFE,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAOA;EAJE,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,QAAQ;EACR,iBAAiB;AACnB;;AAQA;EALE,oBAAoB;AACtB;;AAaA;EAVE,oBAAoB;AACtB;;AAaA;EAVE,oBAAoB;EACpB,sBAAsB;EACtB,aAAa;EACb,gBAAgB;AAClB;;AAcA;EAXE,sBAAsB;EACtB,YAAY;EACZ,cAAc;EACd,aAAa;EACb,kBAAkB;EAClB,iBAAiB;AACnB;;AAcA;EAXE,sBAAsB;EACtB,YAAY;EACZ,cAAc;EACd,aAAa;EACb,gBAAgB;AAClB;;AAeA;EAZE,YAAY;EACZ,kBAAkB;EAClB,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAeA;EAZE,oBAAoB;EACpB,kBAAkB;EAClB,MAAM;EACN,SA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0BA;EAvBE,mBAAmB;EACnB,OAAO;EACP,mBAAmB;EACnB,aAAa;AACf;;AA0BA;EAvBE,mBAAmB;EACnB,mBAAmB;EACnB,aAAa;AACf;;AA0BA;EAvBE,mBAAmB;EACnB,yBAAyB;EACzB,mBAAmB;EACnB,aAAa;AACf;;AA0BA;EAvBE,yBAAyB;AAC3B;;AA0BA;EAvBE,mBAAmB;EACnB,OAAO;EACP,mBAAmB;EACnB,aAAa;AACf;;AA0BA;EAvBE,cAAc;AAChB;;AA0BA;EAvBE,2BAA2B;EAC3B,mBAAmB;EACnB,aAAa;AACf;;AA0BA;EAvBE,0BAA0B;EAC1B,uBAAuB;EACvB,iBAAiB;EACjB,oCAAoC;AACtC;;AA0BA;EAvBE,mBAAmB;EACnB,eAAe;EACf,aAAa;AACf;;AA2BA;EAxBE,sBAAsB;EACtB,cAAc;EACd,aAAa;AACf;;AA2BA;EAxBE,uBAAuB;EACvB,qBAAqB;EACrB,2CAA2C;EAC3C,sBAAsB;EACtB,YAAY;EACZ,kBAAkB;EAClB,aAAa;AACf;;AA2BA;EAxBE,mBAAmB;EACnB,eAAe;EACf,aAAa;AACf;;AA6BA;EA1BE,sBAAsB;EACtB,OAAO;EACP,aAAa;AACf;;AA8BA;EA3BE,sBAAsB;EACtB,cAAc;EACd,aAAa;AACf;;AA8BA;EA3BE,sBAAsB;EACtB,aAAa;AACf;;AA+BA;EA5BE,sBAAsB;EACtB,OAAO;EACP,aAAa;EACb,aAAa;AACf;;AA+BA;EA5BE,sCAAsC;EACtC,sBAAsB;EACtB,OAAO;EACP,aAAa;EACb,aAAa;EACb,gBAAgB;AAClB","sourcesContent":["/* G9 sheets on lynx-ui Sheet (MAUI G9SheetView / header template). No shadows. */\n.g9-sheet-stack {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n}\n\n/* The layer's height, measured (service.tsx): a childless, zero-width, full-height box no sheet event passes through. */\n.g9-sheet-stack__probe {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 0;\n pointer-events: none;\n}\n\n/* lynx-ui SheetView (position: fixed): the whole viewport, so the sheet rises from the bottom edge. */\n.g9-sheet__view {\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n/* The box the sheet hangs from (frame.tsx): the height lynx-ui's offsets were computed for, so a layer that shrinks\n under it (a host's IME padding) moves no sheet until the re-snap. Overflow stays visible: the view clips, as before. */\n.g9-sheet__anchor {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n overflow: visible;\n}\n\n/* A non-modal sheet's view lets every touch it does not cover through to the page, native views included. */\n.g9-sheet__view--passthrough {\n pointer-events: none;\n}\n\n/* A non-modal sheet's anchor spans the layer too: it lets every touch through like the view around it. */\n.g9-sheet__anchor--passthrough {\n pointer-events: none;\n}\n\n.g9-sheet__view--passthrough .g9-sheet {\n pointer-events: auto;\n}\n\n.g9-sheet {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n pointer-events: auto;\n}\n\n/* G9's own views inside lynx-ui's SheetContent (whose style a worklet owns): the frame recedes, the surface paints. */\n.g9-sheet__frame {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n flex-shrink: 0;\n position: relative;\n overflow: visible;\n}\n\n.g9-sheet__surface {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n flex-shrink: 0;\n overflow: hidden;\n}\n\n/* Paints below the surface for a drag past the top detent; outside the layout, so fit heights ignore it. */\n.g9-sheet__skirt {\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n height: 50vh;\n}\n\n.g9-sheet__scrim {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: auto;\n}\n\n.g9-sheet__scrim--covered {\n pointer-events: none;\n}\n\n/* The drag-catcher inside the dim (frame.tsx): fills it, takes the slides the platform would hand to the page behind. */\n.g9-sheet__scrim-catch {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.g9-sheet__scrim--covered .g9-sheet__scrim-catch {\n pointer-events: none;\n}\n\n.g9-sheet__grabber-area {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 30px;\n}\n\n.g9-sheet__grabber {\n width: 32px;\n height: 4px;\n border-radius: 12px;\n background-color: var(--g9-outline-variant);\n}\n\n/* The grabber, header and body gap, measured as one: a fit sheet's cap includes them (MAUI). */\n.g9-sheet__chrome-top {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n}\n\n/* MAUI UseStandardBodyTopGap: SheetHeaderVerticalGap under the header (10, or the app's scaled value). */\n.g9-sheet__body-gap {\n height: var(--g9-layout-sheet-header-vertical-gap, 10px);\n}\n\n.g9-sheet__body {\n flex-shrink: 1;\n}\n\n.g9-sheet__body--fill {\n flex: 1;\n}\n\n/* scrollIndicator: 'always' — the scroller and its thumb (scroll-indicator.tsx). The frame takes the body's place. */\n.g9-sheet__body-frame {\n display: flex;\n flex-direction: column;\n flex-shrink: 1;\n position: relative;\n}\n\n.g9-sheet__scroll-thumb {\n position: absolute;\n background-color: var(--g9-on-surface-variant);\n opacity: 0.45;\n pointer-events: none;\n}\n\n.g9-sheet__content {\n display: flex;\n flex-direction: column;\n position: relative;\n}\n\n/* scrollBody: false — the content scrolls itself and fills the body (longhands: a definite basis for its children). */\n.g9-sheet__body--static {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n flex-shrink: 1;\n flex-basis: 0px;\n overflow: hidden;\n}\n\n/* scrollBody: false in a fit sheet — as tall as the content (which sizes its own scrolling part: G9SheetScrollRegion) */\n.g9-sheet__body--static-fit {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n}\n\n.g9-sheet__content--fill {\n flex-grow: 1;\n flex-shrink: 1;\n flex-basis: 0px;\n}\n\n.g9-sheet__placeholder {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.g9-sheet__cover {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n background-color: var(--g9-surface-container);\n animation: g9-sheet-cover-out 220ms ease-out forwards;\n}\n\n@keyframes g9-sheet-cover-out {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n\n.g9-sheet-reveal {\n animation: g9-sheet-reveal-in 140ms ease-out;\n}\n\n@keyframes g9-sheet-reveal-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n.g9-sheet-loading,\n.g9-processing-sheet__loading {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.g9-sheet-header {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 10px 16px;\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-bottom-color: rgba(121, 116, 126, 0.35);\n}\n\n.g9-sheet-header__side {\n display: flex;\n flex-direction: row;\n flex: 1;\n align-items: center;\n}\n\n.g9-sheet-header__start {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n.g9-sheet-header__end {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-end;\n}\n\n.g9-sheet-header__side.g9-sheet-header__end {\n justify-content: flex-end;\n}\n\n.g9-sheet-header__grow {\n display: flex;\n flex-direction: row;\n flex: 1;\n align-items: center;\n}\n\n.g9-sheet-header__title-near {\n padding: 0px 8px;\n}\n\n.g9-sheet-header__back {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n}\n\n.g9-sheet-header__title {\n font-weight: bold;\n color: var(--g9-secondary);\n text-overflow: ellipsis;\n font-family: var(--g9-font-text-700);\n}\n\n.g9-sheet-header__items {\n display: flex;\n flex-direction: row;\n column-gap: 8px;\n}\n\n/* Holds the footer (or nothing) so its height is measured with the body's for a fit sheet. */\n.g9-sheet__footer-slot {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n}\n\n.g9-sheet-footer {\n display: flex;\n flex-direction: column;\n row-gap: 8px;\n padding: 12px 16px;\n border-top-width: 1px;\n border-top-style: solid;\n border-top-color: var(--g9-outline-variant);\n}\n\n.g9-sheet-footer__row {\n display: flex;\n flex-direction: row;\n column-gap: 8px;\n}\n\n/* A column: whatever a cell holds (a button, a wrapper around one) stretches to the cell's width, as MAUI's footer\n buttons fill their cell. */\n.g9-sheet-footer__cell {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n\n/* G9SheetScrollRegion: never shrinks under its siblings (native Lynx has no min-height:auto) */\n.g9-sheet-region {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n}\n\n.g9-sheet-region__content {\n display: flex;\n flex-direction: column;\n}\n\n/* G9SheetBackdropScope: the region that recedes behind a sheet */\n.g9-backdrop-scope {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0px;\n}\n\n.g9-backdrop-scope__content {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0px;\n overflow: hidden;\n background-color: var(--g9-background);\n}\n"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack://./src/sheet/sheet.css"],"names":[],"mappings":"AACA;EAAE,oBAAoB;EACpB,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAIA;EADE,oBAAoB;EACpB,QAAQ;EACR,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;AACT;;AAKA;EAFE,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAUA;EAPE,oBAAoB;EACpB,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,QAAQ;EACR,iBAAiB;AACnB;;AAWA;EARE,oBAAoB;AACtB;;AAgBA;EAbE,oBAAoB;AACtB;;AAgBA;EAbE,oBAAoB;EACpB,sBAAsB;EACtB,aAAa;EACb,gBAAgB;AAClB;;AAiBA;EAdE,sBAAsB;EACtB,YAAY;EACZ,cAAc;EACd,aAAa;EACb,kBAAkB;EAClB,iBAAiB;AACnB;;AAiBA;EAdE,sBAAsB;EACtB,YAAY;EACZ,cAAc;EACd,aAAa;EACb,gBAAgB;AAClB;;AAkBA;EAfE,YAAY;EACZ,kBAAkB;EAClB,SAAS;EACT,OAAO;EACP,QAAQ;AACV;;AAkBA;EAf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ClC,mBAAmB;EACnB,mBAAmB;EACnB,kBAAkB;EAClB,aAAa;AACf;;AA6BA;EA1BE,mBAAmB;EACnB,OAAO;EACP,mBAAmB;EACnB,aAAa;AACf;;AA6BA;EA1BE,mBAAmB;EACnB,mBAAmB;EACnB,aAAa;AACf;;AA6BA;EA1BE,mBAAmB;EACnB,yBAAyB;EACzB,mBAAmB;EACnB,aAAa;AACf;;AA6BA;EA1BE,yBAAyB;AAC3B;;AA6BA;EA1BE,mBAAmB;EACnB,OAAO;EACP,mBAAmB;EACnB,aAAa;AACf;;AA6BA;EA1BE,cAAc;AAChB;;AA6BA;EA1BE,2BAA2B;EAC3B,mBAAmB;EACnB,aAAa;AACf;;AA6BA;EA1BE,0BAA0B;EAC1B,uBAAuB;EACvB,iBAAiB;EACjB,oCAAoC;AACtC;;AA6BA;EA1BE,mBAAmB;EACnB,eAAe;EACf,aAAa;AACf;;AA8BA;EA3BE,sBAAsB;EACtB,cAAc;EACd,aAAa;AACf;;AA8BA;EA3BE,uBAAuB;EACvB,qBAAqB;EACrB,2CAA2C;EAC3C,sBAAsB;EACtB,YAAY;EACZ,kBAAkB;EAClB,aAAa;AACf;;AA8BA;EA3BE,mBAAmB;EACnB,eAAe;EACf,aAAa;AACf;;AAgCA;EA7BE,sBAAsB;EACtB,OAAO;EACP,aAAa;AACf;;AAiCA;EA9BE,sBAAsB;EACtB,cAAc;EACd,aAAa;AACf;;AAiCA;EA9BE,sBAAsB;EACtB,aAAa;AACf;;AAkCA;EA/BE,sBAAsB;EACtB,OAAO;EACP,aAAa;EACb,aAAa;AACf;;AAkCA;EA/BE,sCAAsC;EACtC,sBAAsB;EACtB,OAAO;EACP,aAAa;EACb,aAAa;EACb,gBAAgB;AAClB","sourcesContent":["/* G9 sheets on lynx-ui Sheet (MAUI G9SheetView / header template). No shadows. */\n.g9-sheet-stack {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n}\n\n/* The layer's height, measured (service.tsx): a childless, zero-width, full-height box no sheet event passes through. */\n.g9-sheet-stack__probe {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n width: 0;\n pointer-events: none;\n}\n\n/* lynx-ui SheetView (position: fixed): the whole viewport, so the sheet rises from the bottom edge. */\n.g9-sheet__view {\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n/* The box the sheet hangs from (frame.tsx): the height lynx-ui's offsets were computed for, so a layer that shrinks\n under it (a host's IME padding) moves no sheet until the re-snap. Overflow stays visible: the view clips, as before. */\n/* The anchor spans the whole host height above the dim, so it must never take a touch itself (AgriPad TR-0165): it\n inherits the modal view's event-through, and a tap on the dim landed on it and went through the Lynx view: the sheet\n never closed. The sheet inside takes its own (`.g9-sheet` is pointer-events: auto); everything else reaches the dim. */\n.g9-sheet__anchor {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n overflow: visible;\n pointer-events: none;\n}\n\n/* A non-modal sheet's view lets every touch it does not cover through to the page, native views included. */\n.g9-sheet__view--passthrough {\n pointer-events: none;\n}\n\n/* A non-modal sheet's anchor spans the layer too: it lets every touch through like the view around it. */\n.g9-sheet__anchor--passthrough {\n pointer-events: none;\n}\n\n.g9-sheet__view--passthrough .g9-sheet {\n pointer-events: auto;\n}\n\n.g9-sheet {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n pointer-events: auto;\n}\n\n/* G9's own views inside lynx-ui's SheetContent (whose style a worklet owns): the frame recedes, the surface paints. */\n.g9-sheet__frame {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n flex-shrink: 0;\n position: relative;\n overflow: visible;\n}\n\n.g9-sheet__surface {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n flex-shrink: 0;\n overflow: hidden;\n}\n\n/* Paints below the surface for a drag past the top detent; outside the layout, so fit heights ignore it. */\n.g9-sheet__skirt {\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n height: 50vh;\n}\n\n.g9-sheet__scrim {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: auto;\n}\n\n.g9-sheet__scrim--covered {\n pointer-events: none;\n}\n\n/* The drag-catcher inside the dim (frame.tsx): fills it, takes the slides the platform would hand to the page behind. */\n.g9-sheet__scrim-catch {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.g9-sheet__scrim--covered .g9-sheet__scrim-catch {\n pointer-events: none;\n}\n\n.g9-sheet__grabber-area {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 30px;\n}\n\n.g9-sheet__grabber {\n width: 32px;\n height: 4px;\n border-radius: 12px;\n background-color: var(--g9-outline-variant);\n}\n\n/* The grabber, header and body gap, measured as one: a fit sheet's cap includes them (MAUI). */\n.g9-sheet__chrome-top {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n}\n\n/* MAUI UseStandardBodyTopGap: SheetHeaderVerticalGap under the header (10, or the app's scaled value). */\n.g9-sheet__body-gap {\n height: var(--g9-layout-sheet-header-vertical-gap, 10px);\n}\n\n.g9-sheet__body {\n flex-shrink: 1;\n}\n\n.g9-sheet__body--fill {\n flex: 1;\n}\n\n/* scrollIndicator: 'always' — the scroller and its thumb (scroll-indicator.tsx). The frame takes the body's place. */\n.g9-sheet__body-frame {\n display: flex;\n flex-direction: column;\n flex-shrink: 1;\n position: relative;\n}\n\n.g9-sheet__scroll-thumb {\n position: absolute;\n background-color: var(--g9-on-surface-variant);\n opacity: 0.45;\n pointer-events: none;\n}\n\n.g9-sheet__content {\n display: flex;\n flex-direction: column;\n position: relative;\n}\n\n/* scrollBody: false — the content scrolls itself and fills the body (longhands: a definite basis for its children). */\n.g9-sheet__body--static {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n flex-shrink: 1;\n flex-basis: 0px;\n overflow: hidden;\n}\n\n/* scrollBody: false in a fit sheet — as tall as the content (which sizes its own scrolling part: G9SheetScrollRegion) */\n.g9-sheet__body--static-fit {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n}\n\n.g9-sheet__content--fill {\n flex-grow: 1;\n flex-shrink: 1;\n flex-basis: 0px;\n}\n\n.g9-sheet__placeholder {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.g9-sheet__cover {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n background-color: var(--g9-surface-container);\n animation: g9-sheet-cover-out 220ms ease-out forwards;\n}\n\n@keyframes g9-sheet-cover-out {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n\n.g9-sheet-reveal {\n animation: g9-sheet-reveal-in 140ms ease-out;\n}\n\n@keyframes g9-sheet-reveal-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n.g9-sheet-loading,\n.g9-processing-sheet__loading {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.g9-sheet-header {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 10px 16px;\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-bottom-color: rgba(121, 116, 126, 0.35);\n}\n\n.g9-sheet-header__side {\n display: flex;\n flex-direction: row;\n flex: 1;\n align-items: center;\n}\n\n.g9-sheet-header__start {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n.g9-sheet-header__end {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-end;\n}\n\n.g9-sheet-header__side.g9-sheet-header__end {\n justify-content: flex-end;\n}\n\n.g9-sheet-header__grow {\n display: flex;\n flex-direction: row;\n flex: 1;\n align-items: center;\n}\n\n.g9-sheet-header__title-near {\n padding: 0px 8px;\n}\n\n.g9-sheet-header__back {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n}\n\n.g9-sheet-header__title {\n font-weight: bold;\n color: var(--g9-secondary);\n text-overflow: ellipsis;\n font-family: var(--g9-font-text-700);\n}\n\n.g9-sheet-header__items {\n display: flex;\n flex-direction: row;\n column-gap: 8px;\n}\n\n/* Holds the footer (or nothing) so its height is measured with the body's for a fit sheet. */\n.g9-sheet__footer-slot {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n}\n\n.g9-sheet-footer {\n display: flex;\n flex-direction: column;\n row-gap: 8px;\n padding: 12px 16px;\n border-top-width: 1px;\n border-top-style: solid;\n border-top-color: var(--g9-outline-variant);\n}\n\n.g9-sheet-footer__row {\n display: flex;\n flex-direction: row;\n column-gap: 8px;\n}\n\n/* A column: whatever a cell holds (a button, a wrapper around one) stretches to the cell's width, as MAUI's footer\n buttons fill their cell. */\n.g9-sheet-footer__cell {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n\n/* G9SheetScrollRegion: never shrinks under its siblings (native Lynx has no min-height:auto) */\n.g9-sheet-region {\n display: flex;\n flex-direction: column;\n flex-shrink: 0;\n}\n\n.g9-sheet-region__content {\n display: flex;\n flex-direction: column;\n}\n\n/* G9SheetBackdropScope: the region that recedes behind a sheet */\n.g9-backdrop-scope {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0px;\n}\n\n.g9-backdrop-scope__content {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0px;\n overflow: hidden;\n background-color: var(--g9-background);\n}\n"],"sourceRoot":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@g9tm/lynxcontrols",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.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",
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
"build": "rslib build"
|
|
235
235
|
},
|
|
236
236
|
"dependencies": {
|
|
237
|
-
"@g9tm/lynxcontrols-foundation": "2.
|
|
237
|
+
"@g9tm/lynxcontrols-foundation": "2.8.0"
|
|
238
238
|
},
|
|
239
239
|
"peerDependencies": {
|
|
240
240
|
"@lynx-js/react": ">=0.129.3 <0.130.0",
|
|
@@ -75,6 +75,10 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
|
|
|
75
75
|
|
|
76
76
|
- `@g9tm/lynxcontrols-intro-carousel`: G9IntroCarousel → `components/intro-carousel.md`
|
|
77
77
|
|
|
78
|
+
## @g9tm/lynxcontrols-lynxtron
|
|
79
|
+
|
|
80
|
+
- `@g9tm/lynxcontrols-lynxtron/elements`: G9DesktopProtectedVideo, G9HostWebElement → `components/lynxtron-elements.md`
|
|
81
|
+
|
|
78
82
|
## @g9tm/lynxcontrols-map
|
|
79
83
|
|
|
80
84
|
- `@g9tm/lynxcontrols-map`: G9Map, G9StaticMap → `components/map.md`
|
|
@@ -86,7 +90,7 @@ Generated from the installed packages' catalogs (`<package>/catalog`): one line
|
|
|
86
90
|
|
|
87
91
|
## @g9tm/lynxcontrols-native
|
|
88
92
|
|
|
89
|
-
- `@g9tm/lynxcontrols-native/media`: G9TrackVideo, G9VideoPlayer → `components/native-media.md`
|
|
93
|
+
- `@g9tm/lynxcontrols-native/media`: G9ProtectedVideo, G9TrackVideo, G9VideoPlayer → `components/native-media.md`
|
|
90
94
|
|
|
91
95
|
## @g9tm/lynxcontrols-pilot
|
|
92
96
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# `@g9tm/lynxcontrols-lynxtron/elements` (generated)
|
|
2
|
+
|
|
3
|
+
# G9DesktopProtectedVideo
|
|
4
|
+
|
|
5
|
+
`import { G9DesktopProtectedVideo } from '@g9tm/lynxcontrols-lynxtron/elements';`
|
|
6
|
+
|
|
7
|
+
The protected HLS video on the desktop (2.8.0, G9Hub 145 + 146): the web host's `<g9-protected-video>` (hls.js) in a `<webview>`, with G9ProtectedVideo's props, and the window kept out of captures while it shows (Windows
|
|
8
|
+
|
|
9
|
+
Props:
|
|
10
|
+
- `src`: string
|
|
11
|
+
- `children?`: ReactNode
|
|
12
|
+
- `onProgress?`: (progress: G9DesktopVideoProgress) => void
|
|
13
|
+
- `onStatus?`: (status: G9DesktopVideoStatus) => void
|
|
14
|
+
- `bridge?`: object
|
|
15
|
+
- `fit?`: 'contain' | 'cover'
|
|
16
|
+
- `host?`: object
|
|
17
|
+
- `muted?`: boolean
|
|
18
|
+
|
|
19
|
+
Example: `<G9DesktopProtectedVideo src="src" />`
|
|
20
|
+
|
|
21
|
+
# G9HostWebElement
|
|
22
|
+
|
|
23
|
+
`import { G9HostWebElement } from '@g9tm/lynxcontrols-lynxtron/elements';`
|
|
24
|
+
|
|
25
|
+
A custom element of the web host shown in a `<webview>` on the desktop (2.8.0, G9Hub 146), driven like a native element: `attrs` in, `onEvent` out, by session id.
|
|
26
|
+
|
|
27
|
+
Props:
|
|
28
|
+
- `kind`: string
|
|
29
|
+
- `onEvent?`: (name: string, detail: unknown) => void
|
|
30
|
+
- `attrs?`: object
|
|
31
|
+
- `bridge?`: object
|
|
32
|
+
- `interactive?`: boolean
|
|
33
|
+
|
|
34
|
+
Example: `<G9HostWebElement kind="kind" />`
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# `@g9tm/lynxcontrols-native/media` (generated)
|
|
2
2
|
|
|
3
|
+
# G9ProtectedVideo
|
|
4
|
+
|
|
5
|
+
`import { G9ProtectedVideo } from '@g9tm/lynxcontrols-native/media';`
|
|
6
|
+
|
|
7
|
+
A protected HLS video (2.8.0, G9Hub Plan-V8 row 145): `<g9-protected-video>` with typed props.
|
|
8
|
+
|
|
9
|
+
Props:
|
|
10
|
+
- `src`: string
|
|
11
|
+
- `children?`: ReactNode
|
|
12
|
+
- `onProgress?`: (progress: G9ProtectedVideoProgress) => void
|
|
13
|
+
- `onStatus?`: (status: G9ProtectedVideoStatus) => void
|
|
14
|
+
- `fit?`: 'contain' | 'cover'
|
|
15
|
+
- `muted?`: boolean
|
|
16
|
+
- `paused?`: boolean = true
|
|
17
|
+
- `protectWindow?`: boolean
|
|
18
|
+
|
|
19
|
+
Example: `<G9ProtectedVideo src="src" />`
|
|
20
|
+
|
|
3
21
|
# G9TrackVideo
|
|
4
22
|
|
|
5
23
|
`import { G9TrackVideo } from '@g9tm/lynxcontrols-native/media';`
|