@asymmetric-effort/specifyjs 0.2.97 → 0.2.100
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/dist/specifyjs-build.cjs.js +160 -1
- package/dist/specifyjs-build.cjs.js.map +7 -1
- package/dist/specifyjs-build.d.ts +1 -110
- package/dist/specifyjs-build.esm.js +160 -1
- package/dist/specifyjs-build.esm.js.map +7 -1
- package/dist/specifyjs-client.cjs.js +2 -1
- package/dist/specifyjs-client.cjs.js.map +7 -1
- package/dist/specifyjs-client.d.ts +1 -159
- package/dist/specifyjs-client.esm.js +2 -1
- package/dist/specifyjs-client.esm.js.map +7 -1
- package/dist/specifyjs-components.cjs.js +8 -1
- package/dist/specifyjs-components.cjs.js.map +7 -1
- package/dist/specifyjs-components.d.ts +1 -3334
- package/dist/specifyjs-components.esm.js +8 -1
- package/dist/specifyjs-components.esm.js.map +7 -1
- package/dist/specifyjs-dom.cjs.js +2 -1
- package/dist/specifyjs-dom.cjs.js.map +7 -1
- package/dist/specifyjs-dom.d.ts +1 -107
- package/dist/specifyjs-dom.esm.js +2 -1
- package/dist/specifyjs-dom.esm.js.map +7 -1
- package/dist/specifyjs-jsx-dev-runtime.cjs.js +2 -1
- package/dist/specifyjs-jsx-dev-runtime.cjs.js.map +7 -1
- package/dist/specifyjs-jsx-dev-runtime.esm.js +2 -1
- package/dist/specifyjs-jsx-dev-runtime.esm.js.map +7 -1
- package/dist/specifyjs-jsx-runtime.cjs.js +2 -1
- package/dist/specifyjs-jsx-runtime.cjs.js.map +7 -1
- package/dist/specifyjs-jsx-runtime.esm.js +2 -1
- package/dist/specifyjs-jsx-runtime.esm.js.map +7 -1
- package/dist/specifyjs-server.cjs.js +2 -1
- package/dist/specifyjs-server.cjs.js.map +7 -1
- package/dist/specifyjs-server.d.ts +1 -136
- package/dist/specifyjs-server.esm.js +2 -1
- package/dist/specifyjs-server.esm.js.map +7 -1
- package/dist/specifyjs-telemetry.cjs.js +2 -1
- package/dist/specifyjs-telemetry.cjs.js.map +7 -1
- package/dist/specifyjs-telemetry.d.ts +1 -165
- package/dist/specifyjs-telemetry.esm.js +2 -1
- package/dist/specifyjs-telemetry.esm.js.map +7 -1
- package/dist/specifyjs.cjs.js +2 -1
- package/dist/specifyjs.cjs.js.map +7 -1
- package/dist/specifyjs.d.ts +1 -581
- package/dist/specifyjs.esm.js +2 -1
- package/dist/specifyjs.esm.js.map +7 -1
- package/dist/types/build/index.d.ts +5 -0
- package/dist/types/build/index.d.ts.map +1 -0
- package/dist/types/build/noscript-plugin.d.ts +63 -0
- package/dist/types/build/noscript-plugin.d.ts.map +1 -0
- package/dist/types/build/seo-plugin.d.ts +43 -0
- package/dist/types/build/seo-plugin.d.ts.map +1 -0
- package/dist/types/client/graphql.d.ts +64 -0
- package/dist/types/client/graphql.d.ts.map +1 -0
- package/dist/types/client/index.d.ts +4 -0
- package/dist/types/client/index.d.ts.map +1 -0
- package/dist/types/client/protobuf.d.ts +40 -0
- package/dist/types/client/protobuf.d.ts.map +1 -0
- package/dist/types/client/rest.d.ts +61 -0
- package/dist/types/client/rest.d.ts.map +1 -0
- package/dist/types/components/ad/adsense/src/AdSense.d.ts +19 -0
- package/dist/types/components/ad/adsense/src/index.d.ts +2 -0
- package/dist/types/components/analytics/google-analytics/src/GoogleAnalytics.d.ts +13 -0
- package/dist/types/components/analytics/google-analytics/src/index.d.ts +2 -0
- package/dist/types/components/component.d.ts +39 -0
- package/dist/types/components/component.d.ts.map +1 -0
- package/dist/types/components/data/analog-clock/src/AnalogClock.d.ts +17 -0
- package/dist/types/components/data/analog-clock/src/index.d.ts +2 -0
- package/dist/types/components/data/avatar/src/Avatar.d.ts +19 -0
- package/dist/types/components/data/avatar/src/index.d.ts +2 -0
- package/dist/types/components/data/badge/src/Badge.d.ts +17 -0
- package/dist/types/components/data/badge/src/index.d.ts +2 -0
- package/dist/types/components/data/data-grid/src/DataGrid.d.ts +47 -0
- package/dist/types/components/data/data-grid/src/index.d.ts +2 -0
- package/dist/types/components/data/digital-clock/src/DigitalClock.d.ts +15 -0
- package/dist/types/components/data/digital-clock/src/index.d.ts +2 -0
- package/dist/types/components/data/list-view/src/ListView.d.ts +23 -0
- package/dist/types/components/data/list-view/src/index.d.ts +2 -0
- package/dist/types/components/data/tag/src/Tag.d.ts +21 -0
- package/dist/types/components/data/tag/src/index.d.ts +2 -0
- package/dist/types/components/data/virtual-scroll/src/VirtualScroll.d.ts +13 -0
- package/dist/types/components/data/virtual-scroll/src/index.d.ts +2 -0
- package/dist/types/components/error-boundary.d.ts +23 -0
- package/dist/types/components/error-boundary.d.ts.map +1 -0
- package/dist/types/components/errors/_shared/src/HttpErrorPage.d.ts +15 -0
- package/dist/types/components/errors/_shared/src/index.d.ts +2 -0
- package/dist/types/components/errors/http-400/src/Http400.d.ts +9 -0
- package/dist/types/components/errors/http-400/src/index.d.ts +2 -0
- package/dist/types/components/errors/http-401/src/Http401.d.ts +9 -0
- package/dist/types/components/errors/http-401/src/index.d.ts +2 -0
- package/dist/types/components/errors/http-403/src/Http403.d.ts +9 -0
- package/dist/types/components/errors/http-403/src/index.d.ts +2 -0
- package/dist/types/components/errors/http-404/src/Http404.d.ts +9 -0
- package/dist/types/components/errors/http-404/src/index.d.ts +2 -0
- package/dist/types/components/errors/http-405/src/Http405.d.ts +9 -0
- package/dist/types/components/errors/http-405/src/index.d.ts +2 -0
- package/dist/types/components/errors/http-408/src/Http408.d.ts +9 -0
- package/dist/types/components/errors/http-408/src/index.d.ts +2 -0
- package/dist/types/components/errors/http-429/src/Http429.d.ts +9 -0
- package/dist/types/components/errors/http-429/src/index.d.ts +2 -0
- package/dist/types/components/errors/http-500/src/Http500.d.ts +9 -0
- package/dist/types/components/errors/http-500/src/index.d.ts +2 -0
- package/dist/types/components/errors/http-502/src/Http502.d.ts +9 -0
- package/dist/types/components/errors/http-502/src/index.d.ts +2 -0
- package/dist/types/components/errors/http-503/src/Http503.d.ts +9 -0
- package/dist/types/components/errors/http-503/src/index.d.ts +2 -0
- package/dist/types/components/errors/http-504/src/Http504.d.ts +9 -0
- package/dist/types/components/errors/http-504/src/index.d.ts +2 -0
- package/dist/types/components/feedback/alert/src/Alert.d.ts +25 -0
- package/dist/types/components/feedback/alert/src/index.d.ts +2 -0
- package/dist/types/components/feedback/empty-state/src/EmptyState.d.ts +17 -0
- package/dist/types/components/feedback/empty-state/src/index.d.ts +2 -0
- package/dist/types/components/feedback/progress-bar/src/ProgressBar.d.ts +23 -0
- package/dist/types/components/feedback/progress-bar/src/index.d.ts +2 -0
- package/dist/types/components/feedback/skeleton/src/Skeleton.d.ts +15 -0
- package/dist/types/components/feedback/skeleton/src/index.d.ts +2 -0
- package/dist/types/components/feedback/spinner/src/Spinner.d.ts +13 -0
- package/dist/types/components/feedback/spinner/src/index.d.ts +2 -0
- package/dist/types/components/form/button/src/Button.d.ts +25 -0
- package/dist/types/components/form/button/src/index.d.ts +2 -0
- package/dist/types/components/form/checkbox/src/Checkbox.d.ts +19 -0
- package/dist/types/components/form/checkbox/src/index.d.ts +2 -0
- package/dist/types/components/form/color-picker/src/ColorPicker.d.ts +19 -0
- package/dist/types/components/form/color-picker/src/index.d.ts +2 -0
- package/dist/types/components/form/color-wheel/src/ColorWheel.d.ts +17 -0
- package/dist/types/components/form/color-wheel/src/index.d.ts +2 -0
- package/dist/types/components/form/datepicker/src/DatePicker.d.ts +23 -0
- package/dist/types/components/form/datepicker/src/index.d.ts +2 -0
- package/dist/types/components/form/file-upload/src/FileUpload.d.ts +19 -0
- package/dist/types/components/form/file-upload/src/index.d.ts +2 -0
- package/dist/types/components/form/multiline/src/MultilineField.d.ts +41 -0
- package/dist/types/components/form/multiline/src/index.d.ts +2 -0
- package/dist/types/components/form/number-spinner/src/NumberSpinner.d.ts +25 -0
- package/dist/types/components/form/number-spinner/src/index.d.ts +2 -0
- package/dist/types/components/form/radio/src/RadioGroup.d.ts +26 -0
- package/dist/types/components/form/radio/src/index.d.ts +2 -0
- package/dist/types/components/form/select/src/Select.d.ts +33 -0
- package/dist/types/components/form/select/src/index.d.ts +2 -0
- package/dist/types/components/form/slider/src/Slider.d.ts +33 -0
- package/dist/types/components/form/slider/src/index.d.ts +2 -0
- package/dist/types/components/form/texteditor/src/TextEditor.d.ts +46 -0
- package/dist/types/components/form/texteditor/src/index.d.ts +2 -0
- package/dist/types/components/form/textfield/src/TextField.d.ts +48 -0
- package/dist/types/components/form/textfield/src/index.d.ts +2 -0
- package/dist/types/components/form/timepicker/src/TimePicker.d.ts +29 -0
- package/dist/types/components/form/timepicker/src/index.d.ts +2 -0
- package/dist/types/components/form/toggle/src/Toggle.d.ts +19 -0
- package/dist/types/components/form/toggle/src/index.d.ts +2 -0
- package/dist/types/components/form/wrapper/src/FormFieldWrapper.d.ts +67 -0
- package/dist/types/components/form/wrapper/src/index.d.ts +2 -0
- package/dist/types/components/layout/card/src/Card.d.ts +31 -0
- package/dist/types/components/layout/card/src/index.d.ts +2 -0
- package/dist/types/components/layout/desktop-background/src/DesktopBackground.d.ts +23 -0
- package/dist/types/components/layout/desktop-background/src/index.d.ts +2 -0
- package/dist/types/components/layout/draggable-window/src/DraggableWindow.d.ts +59 -0
- package/dist/types/components/layout/draggable-window/src/index.d.ts +2 -0
- package/dist/types/components/layout/flex-container/src/FlexContainer.d.ts +42 -0
- package/dist/types/components/layout/flex-container/src/index.d.ts +2 -0
- package/dist/types/components/layout/footer/src/Footer.d.ts +25 -0
- package/dist/types/components/layout/footer/src/index.d.ts +2 -0
- package/dist/types/components/layout/grid/src/Grid.d.ts +54 -0
- package/dist/types/components/layout/grid/src/index.d.ts +2 -0
- package/dist/types/components/layout/panel/src/Panel.d.ts +23 -0
- package/dist/types/components/layout/panel/src/index.d.ts +2 -0
- package/dist/types/components/layout/scroll-container/src/ScrollContainer.d.ts +21 -0
- package/dist/types/components/layout/scroll-container/src/index.d.ts +2 -0
- package/dist/types/components/layout/splitter/src/Splitter.d.ts +19 -0
- package/dist/types/components/layout/splitter/src/index.d.ts +2 -0
- package/dist/types/components/layout/tabs/src/Tabs.d.ts +29 -0
- package/dist/types/components/layout/tabs/src/index.d.ts +2 -0
- package/dist/types/components/layout/window-manager/src/WindowManager.d.ts +106 -0
- package/dist/types/components/layout/window-manager/src/index.d.ts +2 -0
- package/dist/types/components/math/src/index.d.ts +5 -0
- package/dist/types/components/math/src/mat.d.ts +71 -0
- package/dist/types/components/math/src/mat4.d.ts +101 -0
- package/dist/types/components/math/src/quaternion.d.ts +62 -0
- package/dist/types/components/math/src/solver.d.ts +55 -0
- package/dist/types/components/math/src/vec.d.ts +54 -0
- package/dist/types/components/media/carousel/src/Carousel.d.ts +23 -0
- package/dist/types/components/media/carousel/src/index.d.ts +2 -0
- package/dist/types/components/media/image/src/Image.d.ts +23 -0
- package/dist/types/components/media/image/src/index.d.ts +2 -0
- package/dist/types/components/media/video-player/src/VideoPlayer.d.ts +27 -0
- package/dist/types/components/media/video-player/src/index.d.ts +2 -0
- package/dist/types/components/nav/accordion/src/Accordion.d.ts +52 -0
- package/dist/types/components/nav/accordion/src/index.d.ts +2 -0
- package/dist/types/components/nav/breadcrumb/src/Breadcrumb.d.ts +20 -0
- package/dist/types/components/nav/breadcrumb/src/index.d.ts +2 -0
- package/dist/types/components/nav/dock/src/Dock.d.ts +46 -0
- package/dist/types/components/nav/dock/src/index.d.ts +2 -0
- package/dist/types/components/nav/dropdown/src/Dropdown.d.ts +36 -0
- package/dist/types/components/nav/dropdown/src/index.d.ts +2 -0
- package/dist/types/components/nav/menubar/src/Menubar.d.ts +27 -0
- package/dist/types/components/nav/menubar/src/index.d.ts +2 -0
- package/dist/types/components/nav/pagination/src/Pagination.d.ts +19 -0
- package/dist/types/components/nav/pagination/src/index.d.ts +2 -0
- package/dist/types/components/nav/sidebar/src/Sidebar.d.ts +29 -0
- package/dist/types/components/nav/sidebar/src/index.d.ts +2 -0
- package/dist/types/components/nav/stepper/src/Stepper.d.ts +25 -0
- package/dist/types/components/nav/stepper/src/index.d.ts +2 -0
- package/dist/types/components/nav/system-tray/src/SystemTray.d.ts +47 -0
- package/dist/types/components/nav/system-tray/src/index.d.ts +2 -0
- package/dist/types/components/nav/toolbar/src/Toolbar.d.ts +27 -0
- package/dist/types/components/nav/toolbar/src/index.d.ts +2 -0
- package/dist/types/components/nav/treenav/src/TreeNav.d.ts +34 -0
- package/dist/types/components/nav/treenav/src/TreeNode.d.ts +74 -0
- package/dist/types/components/nav/treenav/src/index.d.ts +4 -0
- package/dist/types/components/nav/wrapper/src/NavWrapper.d.ts +73 -0
- package/dist/types/components/nav/wrapper/src/index.d.ts +2 -0
- package/dist/types/components/overlay/context-menu/src/ContextMenu.d.ts +21 -0
- package/dist/types/components/overlay/context-menu/src/index.d.ts +2 -0
- package/dist/types/components/overlay/drawer/src/Drawer.d.ts +22 -0
- package/dist/types/components/overlay/drawer/src/index.d.ts +2 -0
- package/dist/types/components/overlay/modal/src/Modal.d.ts +22 -0
- package/dist/types/components/overlay/modal/src/index.d.ts +2 -0
- package/dist/types/components/overlay/popover/src/Popover.d.ts +20 -0
- package/dist/types/components/overlay/popover/src/index.d.ts +2 -0
- package/dist/types/components/overlay/toast/src/Toast.d.ts +59 -0
- package/dist/types/components/overlay/toast/src/index.d.ts +2 -0
- package/dist/types/components/overlay/tooltip/src/Tooltip.d.ts +14 -0
- package/dist/types/components/overlay/tooltip/src/index.d.ts +2 -0
- package/dist/types/components/page/ide/src/IDE.d.ts +5 -0
- package/dist/types/components/page/ide/src/index.d.ts +2 -0
- package/dist/types/components/page/trading-dashboard/src/TradingDashboard.d.ts +5 -0
- package/dist/types/components/page/trading-dashboard/src/index.d.ts +2 -0
- package/dist/types/components/page/unity-desktop/src/UnityApp.d.ts +30 -0
- package/dist/types/components/page/unity-desktop/src/UnityDesktop.d.ts +30 -0
- package/dist/types/components/page/unity-desktop/src/index.d.ts +4 -0
- package/dist/types/components/page/word-processor/src/WordProcessor.d.ts +7 -0
- package/dist/types/components/page/word-processor/src/index.d.ts +2 -0
- package/dist/types/components/profiler.d.ts +6 -0
- package/dist/types/components/profiler.d.ts.map +1 -0
- package/dist/types/components/strict-mode.d.ts +6 -0
- package/dist/types/components/strict-mode.d.ts.map +1 -0
- package/dist/types/components/suspense.d.ts +6 -0
- package/dist/types/components/suspense.d.ts.map +1 -0
- package/dist/types/components/viz/2D-bar-graph/src/BarGraph.d.ts +61 -0
- package/dist/types/components/viz/2D-bar-graph/src/index.d.ts +2 -0
- package/dist/types/components/viz/2D-cartesian-raw/src/CartesianGraph2D.d.ts +40 -0
- package/dist/types/components/viz/2D-cartesian-raw/src/index.d.ts +2 -0
- package/dist/types/components/viz/2D-complex-graph/src/ComplexGraph2D.d.ts +33 -0
- package/dist/types/components/viz/2D-complex-graph/src/index.d.ts +2 -0
- package/dist/types/components/viz/2D-discrete-cartesian/src/DiscreteCartesian2D.d.ts +31 -0
- package/dist/types/components/viz/2D-discrete-cartesian/src/index.d.ts +2 -0
- package/dist/types/components/viz/2D-line-graph/src/LineGraph.d.ts +53 -0
- package/dist/types/components/viz/2D-line-graph/src/index.d.ts +2 -0
- package/dist/types/components/viz/2D-pie-graph/src/PieGraph.d.ts +49 -0
- package/dist/types/components/viz/2D-pie-graph/src/index.d.ts +3 -0
- package/dist/types/components/viz/2D-polar-graph/src/PolarGraph2D.d.ts +35 -0
- package/dist/types/components/viz/2D-polar-graph/src/index.d.ts +2 -0
- package/dist/types/components/viz/3d-layers/src/ThreeDLayers.d.ts +35 -0
- package/dist/types/components/viz/3d-layers/src/index.d.ts +2 -0
- package/dist/types/components/viz/3dSpace/src/Space3D.d.ts +63 -0
- package/dist/types/components/viz/3dSpace/src/animation.d.ts +75 -0
- package/dist/types/components/viz/3dSpace/src/bounds.d.ts +36 -0
- package/dist/types/components/viz/3dSpace/src/camera-controller.d.ts +59 -0
- package/dist/types/components/viz/3dSpace/src/camera.d.ts +43 -0
- package/dist/types/components/viz/3dSpace/src/collision.d.ts +54 -0
- package/dist/types/components/viz/3dSpace/src/cpu-pipeline.d.ts +47 -0
- package/dist/types/components/viz/3dSpace/src/index.d.ts +32 -0
- package/dist/types/components/viz/3dSpace/src/light.d.ts +23 -0
- package/dist/types/components/viz/3dSpace/src/lighting-model.d.ts +34 -0
- package/dist/types/components/viz/3dSpace/src/material.d.ts +12 -0
- package/dist/types/components/viz/3dSpace/src/mesh.d.ts +35 -0
- package/dist/types/components/viz/3dSpace/src/picking.d.ts +51 -0
- package/dist/types/components/viz/3dSpace/src/render-pipeline.d.ts +12 -0
- package/dist/types/components/viz/3dSpace/src/scene-graph.d.ts +20 -0
- package/dist/types/components/viz/3dSpace/src/scene-object.d.ts +31 -0
- package/dist/types/components/viz/3dSpace/src/terrain.d.ts +34 -0
- package/dist/types/components/viz/3dSpace/src/texture.d.ts +22 -0
- package/dist/types/components/viz/3dSpace/src/types.d.ts +42 -0
- package/dist/types/components/viz/3dSpace/src/viewport.d.ts +19 -0
- package/dist/types/components/viz/3dSpace/src/webgl-pipeline.d.ts +54 -0
- package/dist/types/components/viz/big-number/src/BigNumber.d.ts +29 -0
- package/dist/types/components/viz/big-number/src/index.d.ts +2 -0
- package/dist/types/components/viz/bloch-sphere/src/BlochSphere.d.ts +73 -0
- package/dist/types/components/viz/bloch-sphere/src/index.d.ts +2 -0
- package/dist/types/components/viz/box-plot/src/BoxPlot.d.ts +47 -0
- package/dist/types/components/viz/box-plot/src/index.d.ts +2 -0
- package/dist/types/components/viz/bubble-chart/src/BubbleChart.d.ts +38 -0
- package/dist/types/components/viz/bubble-chart/src/index.d.ts +2 -0
- package/dist/types/components/viz/calendar-heat-map/src/CalendarHeatMap.d.ts +29 -0
- package/dist/types/components/viz/calendar-heat-map/src/index.d.ts +2 -0
- package/dist/types/components/viz/chord/src/ChordDiagram.d.ts +25 -0
- package/dist/types/components/viz/chord/src/index.d.ts +2 -0
- package/dist/types/components/viz/decomposition-tree/src/DecompositionTree.d.ts +33 -0
- package/dist/types/components/viz/decomposition-tree/src/index.d.ts +2 -0
- package/dist/types/components/viz/earth-globe/src/EarthGlobe.d.ts +62 -0
- package/dist/types/components/viz/earth-globe/src/globe-data.d.ts +23 -0
- package/dist/types/components/viz/earth-globe/src/index.d.ts +5 -0
- package/dist/types/components/viz/force-graph/src/ForceGraph.d.ts +99 -0
- package/dist/types/components/viz/force-graph/src/index.d.ts +2 -0
- package/dist/types/components/viz/funnel/src/FunnelChart.d.ts +28 -0
- package/dist/types/components/viz/funnel/src/index.d.ts +2 -0
- package/dist/types/components/viz/gantt-chart/src/GanttChart.d.ts +33 -0
- package/dist/types/components/viz/gantt-chart/src/index.d.ts +2 -0
- package/dist/types/components/viz/gauge/src/Gauge.d.ts +37 -0
- package/dist/types/components/viz/gauge/src/index.d.ts +2 -0
- package/dist/types/components/viz/graph/src/HypercubeGraph.d.ts +43 -0
- package/dist/types/components/viz/graph/src/hypercube.d.ts +78 -0
- package/dist/types/components/viz/graph/src/index.d.ts +4 -0
- package/dist/types/components/viz/heat-map/src/HeatMap.d.ts +29 -0
- package/dist/types/components/viz/heat-map/src/index.d.ts +2 -0
- package/dist/types/components/viz/histogram/src/Histogram.d.ts +27 -0
- package/dist/types/components/viz/histogram/src/index.d.ts +2 -0
- package/dist/types/components/viz/lollipop/src/LollipopChart.d.ts +32 -0
- package/dist/types/components/viz/lollipop/src/index.d.ts +2 -0
- package/dist/types/components/viz/matrix/src/Matrix.d.ts +29 -0
- package/dist/types/components/viz/matrix/src/index.d.ts +2 -0
- package/dist/types/components/viz/partition/src/Partition.d.ts +31 -0
- package/dist/types/components/viz/partition/src/index.d.ts +2 -0
- package/dist/types/components/viz/pivot-table/src/PivotTable.d.ts +25 -0
- package/dist/types/components/viz/pivot-table/src/index.d.ts +2 -0
- package/dist/types/components/viz/radar-chart/src/RadarChart.d.ts +35 -0
- package/dist/types/components/viz/radar-chart/src/index.d.ts +2 -0
- package/dist/types/components/viz/sankey/src/SankeyDiagram.d.ts +38 -0
- package/dist/types/components/viz/sankey/src/index.d.ts +2 -0
- package/dist/types/components/viz/sunburst/src/Sunburst.d.ts +27 -0
- package/dist/types/components/viz/sunburst/src/index.d.ts +2 -0
- package/dist/types/components/viz/tree-map/src/TreeMap.d.ts +29 -0
- package/dist/types/components/viz/tree-map/src/index.d.ts +2 -0
- package/dist/types/components/viz/us-state-map/src/USStateMap.d.ts +23 -0
- package/dist/types/components/viz/us-state-map/src/index.d.ts +4 -0
- package/dist/types/components/viz/us-state-map/src/us-state-paths.d.ts +10 -0
- package/dist/types/components/viz/vector-field/src/VectorField.d.ts +61 -0
- package/dist/types/components/viz/vector-field/src/index.d.ts +2 -0
- package/dist/types/components/viz/waterfall/src/WaterfallChart.d.ts +32 -0
- package/dist/types/components/viz/waterfall/src/index.d.ts +2 -0
- package/dist/types/components/viz/word-cloud/src/WordCloud.d.ts +30 -0
- package/dist/types/components/viz/word-cloud/src/index.d.ts +2 -0
- package/dist/types/components/viz/wrapper/src/VizWrapper.d.ts +60 -0
- package/dist/types/components/viz/wrapper/src/index.d.ts +2 -0
- package/dist/types/compute/context.d.ts +20 -0
- package/dist/types/compute/context.d.ts.map +1 -0
- package/dist/types/compute/cpu-backend.d.ts +15 -0
- package/dist/types/compute/cpu-backend.d.ts.map +1 -0
- package/dist/types/compute/index.d.ts +3 -0
- package/dist/types/compute/index.d.ts.map +1 -0
- package/dist/types/compute/types.d.ts +57 -0
- package/dist/types/compute/types.d.ts.map +1 -0
- package/dist/types/compute/webgl-backend.d.ts +33 -0
- package/dist/types/compute/webgl-backend.d.ts.map +1 -0
- package/dist/types/compute/webgpu-backend.d.ts +50 -0
- package/dist/types/compute/webgpu-backend.d.ts.map +1 -0
- package/dist/types/context/create-context.d.ts +15 -0
- package/dist/types/context/create-context.d.ts.map +1 -0
- package/dist/types/core/children.d.ts +15 -0
- package/dist/types/core/children.d.ts.map +1 -0
- package/dist/types/core/clone-element.d.ts +10 -0
- package/dist/types/core/clone-element.d.ts.map +1 -0
- package/dist/types/core/create-element.d.ts +20 -0
- package/dist/types/core/create-element.d.ts.map +1 -0
- package/dist/types/core/create-ref.d.ts +7 -0
- package/dist/types/core/create-ref.d.ts.map +1 -0
- package/dist/types/core/fiber.d.ts +30 -0
- package/dist/types/core/fiber.d.ts.map +1 -0
- package/dist/types/core/forward-ref.d.ts +16 -0
- package/dist/types/core/forward-ref.d.ts.map +1 -0
- package/dist/types/core/fragment.d.ts +6 -0
- package/dist/types/core/fragment.d.ts.map +1 -0
- package/dist/types/core/is-valid-element.d.ts +7 -0
- package/dist/types/core/is-valid-element.d.ts.map +1 -0
- package/dist/types/core/lanes.d.ts +47 -0
- package/dist/types/core/lanes.d.ts.map +1 -0
- package/dist/types/core/lazy.d.ts +20 -0
- package/dist/types/core/lazy.d.ts.map +1 -0
- package/dist/types/core/memo.d.ts +13 -0
- package/dist/types/core/memo.d.ts.map +1 -0
- package/dist/types/core/reconciler.d.ts +12 -0
- package/dist/types/core/reconciler.d.ts.map +1 -0
- package/dist/types/core/scheduler-host-config.d.ts +37 -0
- package/dist/types/core/scheduler-host-config.d.ts.map +1 -0
- package/dist/types/core/scheduler.d.ts +29 -0
- package/dist/types/core/scheduler.d.ts.map +1 -0
- package/dist/types/core/src/build/index.d.ts +4 -0
- package/dist/types/core/src/build/noscript-plugin.d.ts +62 -0
- package/dist/types/core/src/build/seo-plugin.d.ts +42 -0
- package/dist/types/core/src/client/graphql.d.ts +63 -0
- package/dist/types/core/src/client/index.d.ts +3 -0
- package/dist/types/core/src/client/protobuf.d.ts +39 -0
- package/dist/types/core/src/client/rest.d.ts +60 -0
- package/dist/types/core/src/components/component.d.ts +38 -0
- package/dist/types/core/src/components/error-boundary.d.ts +22 -0
- package/dist/types/core/src/components/profiler.d.ts +5 -0
- package/dist/types/core/src/components/strict-mode.d.ts +5 -0
- package/dist/types/core/src/components/suspense.d.ts +5 -0
- package/dist/types/core/src/components-barrel.d.ts +100 -0
- package/dist/types/core/src/compute/context.d.ts +19 -0
- package/dist/types/core/src/compute/cpu-backend.d.ts +14 -0
- package/dist/types/core/src/compute/index.d.ts +2 -0
- package/dist/types/core/src/compute/types.d.ts +56 -0
- package/dist/types/core/src/compute/webgl-backend.d.ts +32 -0
- package/dist/types/core/src/compute/webgpu-backend.d.ts +49 -0
- package/dist/types/core/src/context/create-context.d.ts +14 -0
- package/dist/types/core/src/core/children.d.ts +14 -0
- package/dist/types/core/src/core/clone-element.d.ts +9 -0
- package/dist/types/core/src/core/create-element.d.ts +19 -0
- package/dist/types/core/src/core/create-ref.d.ts +6 -0
- package/dist/types/core/src/core/fiber.d.ts +29 -0
- package/dist/types/core/src/core/forward-ref.d.ts +15 -0
- package/dist/types/core/src/core/fragment.d.ts +5 -0
- package/dist/types/core/src/core/is-valid-element.d.ts +6 -0
- package/dist/types/core/src/core/lanes.d.ts +46 -0
- package/dist/types/core/src/core/lazy.d.ts +19 -0
- package/dist/types/core/src/core/memo.d.ts +12 -0
- package/dist/types/core/src/core/reconciler.d.ts +11 -0
- package/dist/types/core/src/core/scheduler-host-config.d.ts +36 -0
- package/dist/types/core/src/core/scheduler.d.ts +28 -0
- package/dist/types/core/src/core/transitions.d.ts +31 -0
- package/dist/types/core/src/devtools/index.d.ts +21 -0
- package/dist/types/core/src/dom/create-portal.d.ts +6 -0
- package/dist/types/core/src/dom/create-root.d.ts +23 -0
- package/dist/types/core/src/dom/flush-sync.d.ts +1 -0
- package/dist/types/core/src/dom/index.d.ts +4 -0
- package/dist/types/core/src/dom/legacy.d.ts +16 -0
- package/dist/types/core/src/dom/synthetic-event.d.ts +90 -0
- package/dist/types/core/src/dom/work-loop.d.ts +34 -0
- package/dist/types/core/src/features/feature-flags.d.ts +38 -0
- package/dist/types/core/src/features/index.d.ts +27 -0
- package/dist/types/core/src/hooks/dispatcher.d.ts +26 -0
- package/dist/types/core/src/hooks/hook-state.d.ts +46 -0
- package/dist/types/core/src/hooks/index.d.ts +47 -0
- package/dist/types/core/src/hooks/install-dispatcher.d.ts +2 -0
- package/dist/types/core/src/hooks/use-head.d.ts +54 -0
- package/dist/types/core/src/index.d.ts +23 -0
- package/dist/types/core/src/jsx-dev-runtime.d.ts +1 -0
- package/dist/types/core/src/jsx-runtime.d.ts +7 -0
- package/dist/types/core/src/router/index.d.ts +12 -0
- package/dist/types/core/src/router/link-component.d.ts +16 -0
- package/dist/types/core/src/router/match-path.d.ts +28 -0
- package/dist/types/core/src/router/route-component.d.ts +12 -0
- package/dist/types/core/src/router/router-component.d.ts +5 -0
- package/dist/types/core/src/router/router-context.d.ts +13 -0
- package/dist/types/core/src/router/router-store.d.ts +22 -0
- package/dist/types/core/src/router/use-navigate.d.ts +4 -0
- package/dist/types/core/src/router/use-params.d.ts +2 -0
- package/dist/types/core/src/router/use-router.d.ts +3 -0
- package/dist/types/core/src/server/index.d.ts +3 -0
- package/dist/types/core/src/server/render-to-pipeable-stream.d.ts +31 -0
- package/dist/types/core/src/server/render-to-readable-stream.d.ts +19 -0
- package/dist/types/core/src/server/render-to-string.d.ts +25 -0
- package/dist/types/core/src/shared/act.d.ts +1 -0
- package/dist/types/core/src/shared/aria-warnings.d.ts +1 -0
- package/dist/types/core/src/shared/async-compute.d.ts +63 -0
- package/dist/types/core/src/shared/component-registry.d.ts +53 -0
- package/dist/types/core/src/shared/render-guard.d.ts +47 -0
- package/dist/types/core/src/shared/secure-fetch.d.ts +21 -0
- package/dist/types/core/src/shared/types.d.ts +127 -0
- package/dist/types/core/src/shared/warnings.d.ts +19 -0
- package/dist/types/core/src/telemetry/index.d.ts +2 -0
- package/dist/types/core/src/telemetry/metrics.d.ts +67 -0
- package/dist/types/core/src/telemetry/tracing.d.ts +95 -0
- package/dist/types/core/transitions.d.ts +32 -0
- package/dist/types/core/transitions.d.ts.map +1 -0
- package/dist/types/devtools/index.d.ts +22 -0
- package/dist/types/devtools/index.d.ts.map +1 -0
- package/dist/types/dom/create-portal.d.ts +7 -0
- package/dist/types/dom/create-portal.d.ts.map +1 -0
- package/dist/types/dom/create-root.d.ts +24 -0
- package/dist/types/dom/create-root.d.ts.map +1 -0
- package/dist/types/dom/flush-sync.d.ts +2 -0
- package/dist/types/dom/flush-sync.d.ts.map +1 -0
- package/dist/types/dom/index.d.ts +5 -0
- package/dist/types/dom/index.d.ts.map +1 -0
- package/dist/types/dom/legacy.d.ts +17 -0
- package/dist/types/dom/legacy.d.ts.map +1 -0
- package/dist/types/dom/synthetic-event.d.ts +91 -0
- package/dist/types/dom/synthetic-event.d.ts.map +1 -0
- package/dist/types/dom/work-loop.d.ts +35 -0
- package/dist/types/dom/work-loop.d.ts.map +1 -0
- package/dist/types/features/feature-flags.d.ts +39 -0
- package/dist/types/features/feature-flags.d.ts.map +1 -0
- package/dist/types/features/index.d.ts +28 -0
- package/dist/types/features/index.d.ts.map +1 -0
- package/dist/types/hooks/dispatcher.d.ts +27 -0
- package/dist/types/hooks/dispatcher.d.ts.map +1 -0
- package/dist/types/hooks/hook-state.d.ts +47 -0
- package/dist/types/hooks/hook-state.d.ts.map +1 -0
- package/dist/types/hooks/index.d.ts +48 -0
- package/dist/types/hooks/index.d.ts.map +1 -0
- package/dist/types/hooks/install-dispatcher.d.ts +3 -0
- package/dist/types/hooks/install-dispatcher.d.ts.map +1 -0
- package/dist/types/hooks/use-head.d.ts +55 -0
- package/dist/types/hooks/use-head.d.ts.map +1 -0
- package/dist/types/index.d.ts +24 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/jsx-dev-runtime.d.ts +2 -0
- package/dist/types/jsx-dev-runtime.d.ts.map +1 -0
- package/dist/types/jsx-runtime.d.ts +8 -0
- package/dist/types/jsx-runtime.d.ts.map +1 -0
- package/dist/types/router/index.d.ts +13 -0
- package/dist/types/router/index.d.ts.map +1 -0
- package/dist/types/router/link-component.d.ts +17 -0
- package/dist/types/router/link-component.d.ts.map +1 -0
- package/dist/types/router/match-path.d.ts +29 -0
- package/dist/types/router/match-path.d.ts.map +1 -0
- package/dist/types/router/route-component.d.ts +13 -0
- package/dist/types/router/route-component.d.ts.map +1 -0
- package/dist/types/router/router-component.d.ts +6 -0
- package/dist/types/router/router-component.d.ts.map +1 -0
- package/dist/types/router/router-context.d.ts +14 -0
- package/dist/types/router/router-context.d.ts.map +1 -0
- package/dist/types/router/router-store.d.ts +23 -0
- package/dist/types/router/router-store.d.ts.map +1 -0
- package/dist/types/router/use-navigate.d.ts +5 -0
- package/dist/types/router/use-navigate.d.ts.map +1 -0
- package/dist/types/router/use-params.d.ts +3 -0
- package/dist/types/router/use-params.d.ts.map +1 -0
- package/dist/types/router/use-router.d.ts +4 -0
- package/dist/types/router/use-router.d.ts.map +1 -0
- package/dist/types/server/index.d.ts +4 -0
- package/dist/types/server/index.d.ts.map +1 -0
- package/dist/types/server/render-to-pipeable-stream.d.ts +32 -0
- package/dist/types/server/render-to-pipeable-stream.d.ts.map +1 -0
- package/dist/types/server/render-to-readable-stream.d.ts +20 -0
- package/dist/types/server/render-to-readable-stream.d.ts.map +1 -0
- package/dist/types/server/render-to-string.d.ts +26 -0
- package/dist/types/server/render-to-string.d.ts.map +1 -0
- package/dist/types/shared/act.d.ts +2 -0
- package/dist/types/shared/act.d.ts.map +1 -0
- package/dist/types/shared/aria-warnings.d.ts +2 -0
- package/dist/types/shared/aria-warnings.d.ts.map +1 -0
- package/dist/types/shared/async-compute.d.ts +64 -0
- package/dist/types/shared/async-compute.d.ts.map +1 -0
- package/dist/types/shared/component-registry.d.ts +54 -0
- package/dist/types/shared/component-registry.d.ts.map +1 -0
- package/dist/types/shared/render-guard.d.ts +48 -0
- package/dist/types/shared/render-guard.d.ts.map +1 -0
- package/dist/types/shared/secure-fetch.d.ts +22 -0
- package/dist/types/shared/secure-fetch.d.ts.map +1 -0
- package/dist/types/shared/types.d.ts +128 -0
- package/dist/types/shared/types.d.ts.map +1 -0
- package/dist/types/shared/warnings.d.ts +20 -0
- package/dist/types/shared/warnings.d.ts.map +1 -0
- package/dist/types/telemetry/index.d.ts +3 -0
- package/dist/types/telemetry/index.d.ts.map +1 -0
- package/dist/types/telemetry/metrics.d.ts +68 -0
- package/dist/types/telemetry/metrics.d.ts.map +1 -0
- package/dist/types/telemetry/tracing.d.ts +96 -0
- package/dist/types/telemetry/tracing.d.ts.map +1 -0
- package/package.json +8 -17
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/** 16-byte (32 hex char) trace identifier. */
|
|
2
|
+
export type TraceId = string;
|
|
3
|
+
/** 8-byte (16 hex char) span identifier. */
|
|
4
|
+
export type SpanId = string;
|
|
5
|
+
/** W3C Trace Context carrier. */
|
|
6
|
+
export interface TraceContext {
|
|
7
|
+
traceId: TraceId;
|
|
8
|
+
spanId: SpanId;
|
|
9
|
+
traceFlags: string;
|
|
10
|
+
parentSpanId?: SpanId;
|
|
11
|
+
}
|
|
12
|
+
/** Generate a 32-hex-char trace ID (16 random bytes). */
|
|
13
|
+
export declare function generateTraceId(): TraceId;
|
|
14
|
+
/** Generate a 16-hex-char span ID (8 random bytes). */
|
|
15
|
+
export declare function generateSpanId(): SpanId;
|
|
16
|
+
/**
|
|
17
|
+
* Parse a W3C `traceparent` header.
|
|
18
|
+
*
|
|
19
|
+
* Format: `{version}-{traceId}-{spanId}-{traceFlags}`
|
|
20
|
+
* Returns `null` when the header is invalid.
|
|
21
|
+
*/
|
|
22
|
+
export declare function parseTraceparent(header: string): TraceContext | null;
|
|
23
|
+
/**
|
|
24
|
+
* Format a {@link TraceContext} as a W3C `traceparent` header string.
|
|
25
|
+
*
|
|
26
|
+
* Output: `00-{traceId}-{spanId}-{traceFlags}`
|
|
27
|
+
*/
|
|
28
|
+
export declare function formatTraceparent(ctx: TraceContext): string;
|
|
29
|
+
export type SpanKind = 'internal' | 'server' | 'client' | 'producer' | 'consumer';
|
|
30
|
+
export interface SpanStatus {
|
|
31
|
+
code: 'unset' | 'ok' | 'error';
|
|
32
|
+
message?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface SpanEvent {
|
|
35
|
+
name: string;
|
|
36
|
+
timestamp: number;
|
|
37
|
+
attributes?: Record<string, string | number | boolean>;
|
|
38
|
+
}
|
|
39
|
+
export interface Span {
|
|
40
|
+
traceId: TraceId;
|
|
41
|
+
spanId: SpanId;
|
|
42
|
+
parentSpanId?: SpanId;
|
|
43
|
+
name: string;
|
|
44
|
+
kind: SpanKind;
|
|
45
|
+
startTime: number;
|
|
46
|
+
endTime?: number;
|
|
47
|
+
status: SpanStatus;
|
|
48
|
+
attributes: Record<string, string | number | boolean>;
|
|
49
|
+
events: SpanEvent[];
|
|
50
|
+
}
|
|
51
|
+
export interface StartSpanOptions {
|
|
52
|
+
kind?: SpanKind;
|
|
53
|
+
parentSpanId?: SpanId;
|
|
54
|
+
traceId?: TraceId;
|
|
55
|
+
attributes?: Record<string, string | number | boolean>;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Create and start a new span. The span is **not** automatically associated
|
|
59
|
+
* with a tracer — use {@link Tracer.startSpan} for automatic parent tracking.
|
|
60
|
+
*/
|
|
61
|
+
export declare function startSpan(name: string, opts?: StartSpanOptions): Span;
|
|
62
|
+
/** End a span by recording its end time. */
|
|
63
|
+
export declare function endSpan(span: Span): void;
|
|
64
|
+
export interface TracerConfig {
|
|
65
|
+
serviceName: string;
|
|
66
|
+
serviceVersion?: string;
|
|
67
|
+
endpoint?: string;
|
|
68
|
+
headers?: Record<string, string>;
|
|
69
|
+
batchSize?: number;
|
|
70
|
+
flushInterval?: number;
|
|
71
|
+
}
|
|
72
|
+
export interface Tracer {
|
|
73
|
+
/** Create a span, automatically parented to the current active span. */
|
|
74
|
+
startSpan(name: string, opts?: StartSpanOptions): Span;
|
|
75
|
+
/**
|
|
76
|
+
* Execute `fn` with `span` as the active span. The span is automatically
|
|
77
|
+
* ended when `fn` completes (sync or async). The previous active span is
|
|
78
|
+
* restored afterward.
|
|
79
|
+
*/
|
|
80
|
+
withSpan<T>(span: Span, fn: () => T): T;
|
|
81
|
+
/** Export all pending (buffered) spans to the configured endpoint. */
|
|
82
|
+
flush(): Promise<void>;
|
|
83
|
+
/** Access the currently-active span (top of the span stack), or `undefined`. */
|
|
84
|
+
activeSpan(): Span | undefined;
|
|
85
|
+
/** Read-only view of the pending span buffer. */
|
|
86
|
+
readonly pendingSpans: ReadonlyArray<Span>;
|
|
87
|
+
/** Tracer configuration. */
|
|
88
|
+
readonly config: Readonly<TracerConfig>;
|
|
89
|
+
}
|
|
90
|
+
export declare function createTracer(config: TracerConfig): Tracer;
|
|
91
|
+
/**
|
|
92
|
+
* Hook that creates a span for the component render lifecycle.
|
|
93
|
+
* Auto-starts on mount, records render duration, ends on unmount.
|
|
94
|
+
*/
|
|
95
|
+
export declare function useTracing(tracer: Tracer, name: string): void;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get the lane that should be assigned to a new state update.
|
|
3
|
+
* Respects the current context: flushSync → SyncLane,
|
|
4
|
+
* startTransition → TransitionLane, else DefaultLane.
|
|
5
|
+
*/
|
|
6
|
+
export declare function requestUpdateLane(): number;
|
|
7
|
+
/**
|
|
8
|
+
* Enter flushSync context. State updates within will use SyncLane.
|
|
9
|
+
*/
|
|
10
|
+
export declare function enterFlushSyncContext(): void;
|
|
11
|
+
/**
|
|
12
|
+
* Exit flushSync context.
|
|
13
|
+
*/
|
|
14
|
+
export declare function exitFlushSyncContext(): void;
|
|
15
|
+
/**
|
|
16
|
+
* Marks a state update as a transition (non-urgent).
|
|
17
|
+
* Equivalent to React.startTransition.
|
|
18
|
+
*
|
|
19
|
+
* State updates called within the callback receive TransitionLane priority
|
|
20
|
+
* instead of DefaultLane, allowing them to be interrupted by higher-priority
|
|
21
|
+
* updates (user input, flushSync, etc.).
|
|
22
|
+
*/
|
|
23
|
+
export declare function startTransition(callback: () => void): void;
|
|
24
|
+
/**
|
|
25
|
+
* Check if we're currently inside a transition.
|
|
26
|
+
*/
|
|
27
|
+
export declare function isInTransition(): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Queue a callback to run at the end of the current transition batch.
|
|
30
|
+
*/
|
|
31
|
+
export declare function queueTransitionCallback(callback: () => void): void;
|
|
32
|
+
//# sourceMappingURL=transitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transitions.d.ts","sourceRoot":"","sources":["../../../src/core/transitions.ts"],"names":[],"mappings":"AAqBA;;;;GAIG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAK1C;AAED;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAE5C;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C;AAMD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI,CAc1D;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAExC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI,CAElE"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DevTools integration hooks.
|
|
3
|
+
* Allows browser extensions to inspect the SpecifyJS component tree.
|
|
4
|
+
*/
|
|
5
|
+
import type { Fiber } from '../shared/types';
|
|
6
|
+
/**
|
|
7
|
+
* Connect to DevTools if available (e.g., via browser extension).
|
|
8
|
+
*/
|
|
9
|
+
export declare function connectDevTools(): void;
|
|
10
|
+
/**
|
|
11
|
+
* Notify DevTools of a commit.
|
|
12
|
+
*/
|
|
13
|
+
export declare function notifyDevToolsOfCommit(root: unknown): void;
|
|
14
|
+
/**
|
|
15
|
+
* Notify DevTools of an unmount.
|
|
16
|
+
*/
|
|
17
|
+
export declare function notifyDevToolsOfUnmount(fiber: Fiber): void;
|
|
18
|
+
/**
|
|
19
|
+
* Check if DevTools is connected.
|
|
20
|
+
*/
|
|
21
|
+
export declare function isDevToolsConnected(): boolean;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/devtools/index.ts"],"names":[],"mappings":"AAGA;;;GAGG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAU7C;;GAEG;AACH,wBAAgB,eAAe,IAAI,IAAI,CAStC;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAE1D;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAE1D;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,OAAO,CAE7C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type SpecElement, type SpecNode, type Key } from '../shared/types';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a portal to render children into a different DOM subtree.
|
|
4
|
+
* Equivalent to ReactDOM.createPortal.
|
|
5
|
+
*/
|
|
6
|
+
export declare function createPortal(children: SpecNode, container: Element, key?: Key): SpecElement;
|
|
7
|
+
//# sourceMappingURL=create-portal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-portal.d.ts","sourceRoot":"","sources":["../../../src/dom/create-portal.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,QAAQ,EAEb,KAAK,GAAG,EACT,MAAM,iBAAiB,CAAC;AAEzB;;;GAGG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,GAAG,GAAG,WAAW,CAQ3F"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { SpecNode } from '../shared/types';
|
|
2
|
+
export interface Root {
|
|
3
|
+
render(children: SpecNode): void;
|
|
4
|
+
unmount(): void;
|
|
5
|
+
}
|
|
6
|
+
export interface RootOptions {
|
|
7
|
+
onRecoverableError?: (error: unknown) => void;
|
|
8
|
+
identifierPrefix?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Creates a concurrent root for rendering.
|
|
12
|
+
* Equivalent to ReactDOM.createRoot.
|
|
13
|
+
*/
|
|
14
|
+
export declare function createRoot(container: Element | DocumentFragment, _options?: RootOptions): Root;
|
|
15
|
+
/**
|
|
16
|
+
* Creates a root for hydrating server-rendered content.
|
|
17
|
+
* Equivalent to ReactDOM.hydrateRoot.
|
|
18
|
+
*
|
|
19
|
+
* Unlike createRoot, this preserves the existing DOM in the container and
|
|
20
|
+
* attempts to reuse DOM nodes during the initial render. Event listeners
|
|
21
|
+
* and component state are attached to the existing DOM structure.
|
|
22
|
+
*/
|
|
23
|
+
export declare function hydrateRoot(container: Element | Document, initialChildren: SpecNode, _options?: RootOptions): Root;
|
|
24
|
+
//# sourceMappingURL=create-root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-root.d.ts","sourceRoot":"","sources":["../../../src/dom/create-root.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAGhD,MAAM,WAAW,IAAI;IACnB,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IACjC,OAAO,IAAI,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,SAAS,EAAE,OAAO,GAAG,gBAAgB,EAAE,QAAQ,CAAC,EAAE,WAAW,GAAG,IAAI,CAsB9F;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CACzB,SAAS,EAAE,OAAO,GAAG,QAAQ,EAC7B,eAAe,EAAE,QAAQ,EACzB,QAAQ,CAAC,EAAE,WAAW,GACrB,IAAI,CA4BN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flush-sync.d.ts","sourceRoot":"","sources":["../../../src/dom/flush-sync.ts"],"names":[],"mappings":"AAcA,wBAAgB,SAAS,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC,CAU3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dom/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SpecNode } from '../shared/types';
|
|
2
|
+
/**
|
|
3
|
+
* Legacy render API.
|
|
4
|
+
* Equivalent to ReactDOM.render (pre-React 18).
|
|
5
|
+
*/
|
|
6
|
+
export declare function render(element: SpecNode, container: Element, callback?: () => void): void;
|
|
7
|
+
/**
|
|
8
|
+
* Legacy hydrate API.
|
|
9
|
+
* Equivalent to ReactDOM.hydrate (pre-React 18).
|
|
10
|
+
*/
|
|
11
|
+
export declare function hydrate(element: SpecNode, container: Element, callback?: () => void): void;
|
|
12
|
+
/**
|
|
13
|
+
* Legacy unmount API.
|
|
14
|
+
* Equivalent to ReactDOM.unmountComponentAtNode.
|
|
15
|
+
*/
|
|
16
|
+
export declare function unmountComponentAtNode(container: Element): boolean;
|
|
17
|
+
//# sourceMappingURL=legacy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacy.d.ts","sourceRoot":"","sources":["../../../src/dom/legacy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAKhD;;;GAGG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,MAAM,IAAI,GAAG,IAAI,CAczF;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,MAAM,IAAI,GAAG,IAAI,CAO1F;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,OAAO,GAAG,OAAO,CAUlE"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Synthetic event system with cross-browser normalization.
|
|
3
|
+
* Events are delegated to the root container for efficiency.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SyntheticEvent {
|
|
6
|
+
readonly nativeEvent: Event;
|
|
7
|
+
readonly type: string;
|
|
8
|
+
readonly target: EventTarget | null;
|
|
9
|
+
readonly currentTarget: EventTarget | null;
|
|
10
|
+
readonly timeStamp: number;
|
|
11
|
+
readonly bubbles: boolean;
|
|
12
|
+
readonly cancelable: boolean;
|
|
13
|
+
readonly defaultPrevented: boolean;
|
|
14
|
+
readonly eventPhase: number;
|
|
15
|
+
readonly isTrusted: boolean;
|
|
16
|
+
private _isPropagationStopped;
|
|
17
|
+
private _isDefaultPrevented;
|
|
18
|
+
constructor(nativeEvent: Event);
|
|
19
|
+
preventDefault(): void;
|
|
20
|
+
stopPropagation(): void;
|
|
21
|
+
stopImmediatePropagation(): void;
|
|
22
|
+
isDefaultPrevented(): boolean;
|
|
23
|
+
isPropagationStopped(): boolean;
|
|
24
|
+
persist(): void;
|
|
25
|
+
}
|
|
26
|
+
export declare class SyntheticMouseEvent extends SyntheticEvent {
|
|
27
|
+
readonly clientX: number;
|
|
28
|
+
readonly clientY: number;
|
|
29
|
+
readonly pageX: number;
|
|
30
|
+
readonly pageY: number;
|
|
31
|
+
readonly screenX: number;
|
|
32
|
+
readonly screenY: number;
|
|
33
|
+
readonly button: number;
|
|
34
|
+
readonly buttons: number;
|
|
35
|
+
readonly altKey: boolean;
|
|
36
|
+
readonly ctrlKey: boolean;
|
|
37
|
+
readonly metaKey: boolean;
|
|
38
|
+
readonly shiftKey: boolean;
|
|
39
|
+
readonly movementX: number;
|
|
40
|
+
readonly movementY: number;
|
|
41
|
+
readonly relatedTarget: EventTarget | null;
|
|
42
|
+
constructor(nativeEvent: MouseEvent);
|
|
43
|
+
getModifierState(key: string): boolean;
|
|
44
|
+
}
|
|
45
|
+
export declare class SyntheticKeyboardEvent extends SyntheticEvent {
|
|
46
|
+
readonly key: string;
|
|
47
|
+
readonly code: string;
|
|
48
|
+
readonly location: number;
|
|
49
|
+
readonly altKey: boolean;
|
|
50
|
+
readonly ctrlKey: boolean;
|
|
51
|
+
readonly metaKey: boolean;
|
|
52
|
+
readonly shiftKey: boolean;
|
|
53
|
+
readonly repeat: boolean;
|
|
54
|
+
constructor(nativeEvent: KeyboardEvent);
|
|
55
|
+
getModifierState(key: string): boolean;
|
|
56
|
+
}
|
|
57
|
+
export declare class SyntheticFocusEvent extends SyntheticEvent {
|
|
58
|
+
readonly relatedTarget: EventTarget | null;
|
|
59
|
+
constructor(nativeEvent: FocusEvent);
|
|
60
|
+
}
|
|
61
|
+
export declare class SyntheticInputEvent extends SyntheticEvent {
|
|
62
|
+
readonly data: string | null;
|
|
63
|
+
readonly inputType: string;
|
|
64
|
+
constructor(nativeEvent: InputEvent);
|
|
65
|
+
}
|
|
66
|
+
export declare class SyntheticTouchEvent extends SyntheticEvent {
|
|
67
|
+
readonly touches: TouchList;
|
|
68
|
+
readonly targetTouches: TouchList;
|
|
69
|
+
readonly changedTouches: TouchList;
|
|
70
|
+
readonly altKey: boolean;
|
|
71
|
+
readonly ctrlKey: boolean;
|
|
72
|
+
readonly metaKey: boolean;
|
|
73
|
+
readonly shiftKey: boolean;
|
|
74
|
+
constructor(nativeEvent: TouchEvent);
|
|
75
|
+
}
|
|
76
|
+
export declare class SyntheticWheelEvent extends SyntheticEvent {
|
|
77
|
+
readonly deltaX: number;
|
|
78
|
+
readonly deltaY: number;
|
|
79
|
+
readonly deltaZ: number;
|
|
80
|
+
readonly deltaMode: number;
|
|
81
|
+
constructor(nativeEvent: WheelEvent);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Create the appropriate synthetic event wrapper for a native event.
|
|
85
|
+
*/
|
|
86
|
+
export declare function createSyntheticEvent(nativeEvent: Event): SyntheticEvent;
|
|
87
|
+
/**
|
|
88
|
+
* Map of React-style event names to DOM event names.
|
|
89
|
+
*/
|
|
90
|
+
export declare const EVENT_NAME_MAP: Record<string, string>;
|
|
91
|
+
//# sourceMappingURL=synthetic-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"synthetic-event.d.ts","sourceRoot":"","sources":["../../../src/dom/synthetic-event.ts"],"names":[],"mappings":"AAGA;;;GAGG;AAEH,qBAAa,cAAc;IACzB,QAAQ,CAAC,WAAW,EAAE,KAAK,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,aAAa,EAAE,WAAW,GAAG,IAAI,CAAC;IAC3C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAE5B,OAAO,CAAC,qBAAqB,CAAS;IACtC,OAAO,CAAC,mBAAmB,CAAS;gBAExB,WAAW,EAAE,KAAK;IAa9B,cAAc,IAAI,IAAI;IAKtB,eAAe,IAAI,IAAI;IAKvB,wBAAwB,IAAI,IAAI;IAKhC,kBAAkB,IAAI,OAAO;IAI7B,oBAAoB,IAAI,OAAO;IAI/B,OAAO,IAAI,IAAI;CAGhB;AAED,q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DOM nodes bottom-up
|
|
5
|
+
* 3. Commit: apply mutations to the real DOM, run effects
|
|
6
|
+
*/
|
|
7
|
+
import { type Fiber, type Props, type SpecNode } from '../shared/types';
|
|
8
|
+
export interface FiberRoot {
|
|
9
|
+
containerNode: Element | DocumentFragment;
|
|
10
|
+
current: Fiber;
|
|
11
|
+
pendingChildren: SpecNode;
|
|
12
|
+
callbackScheduled: boolean;
|
|
13
|
+
pendingLanes: number;
|
|
14
|
+
suspendedLanes: number;
|
|
15
|
+
expirationTimes: number[];
|
|
16
|
+
callbackNode: unknown;
|
|
17
|
+
callbackPriority: number;
|
|
18
|
+
isHydrating: boolean;
|
|
19
|
+
}
|
|
20
|
+
declare const fiberRoots: Map<Element | DocumentFragment, FiberRoot>;
|
|
21
|
+
export declare function createFiberRoot(container: Element | DocumentFragment): FiberRoot;
|
|
22
|
+
export declare function scheduleRender(root: FiberRoot, children: SpecNode): void;
|
|
23
|
+
export declare function performSyncWork(root: FiberRoot, children: SpecNode): void;
|
|
24
|
+
/**
|
|
25
|
+
* Mark a root as having pending work at the given lane.
|
|
26
|
+
*/
|
|
27
|
+
export declare function markRootUpdated(root: FiberRoot, lane: number): void;
|
|
28
|
+
/**
|
|
29
|
+
* Ensure that work is scheduled for a root. This is the central coordinator
|
|
30
|
+
* that decides whether to use sync or concurrent rendering based on lanes.
|
|
31
|
+
*/
|
|
32
|
+
export declare function ensureRootIsScheduled(root: FiberRoot): void;
|
|
33
|
+
export declare function updateDOMProperties(dom: HTMLElement, prevProps: Props | Record<string, unknown>, nextProps: Props): void;
|
|
34
|
+
export { fiberRoots };
|
|
35
|
+
//# sourceMappingURL=work-loop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-loop.d.ts","sourceRoot":"","sources":["../../../src/dom/work-loop.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AAEH,OAAO,EACL,KAAK,KAAK,EACV,KAAK,KAAK,EACV,KAAK,QAAQ,EAMd,MAAM,iBAAiB,CAAC;AA4CzB,MAAM,WAAW,SAAS;IACxB,aAAa,EAAE,OAAO,GAAG,gBAAgB,CAAC;IAC1C,OAAO,EAAE,KAAK,CAAC;IACf,eAAe,EAAE,QAAQ,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAG3B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,QAAA,MAAM,UAAU,4CAAmD,CAAC;AAEpE,wBAAgB,eAAe,CAAC,SAAS,EAAE,OAAO,GAAG,gBAAgB,GAAG,SAAS,CAsBhF;AAMD,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAUxE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAGzE;AAqGD;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAEnE;AAYD;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,CAgD3D;AAwjCD,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,WAAW,EAChB,SAAS,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC1C,SAAS,EAAE,KAAK,GACf,IAAI,CAgFN;AAGD,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { SpecNode } from '../shared/types';
|
|
2
|
+
export type FeatureFlags = Record<string, boolean>;
|
|
3
|
+
export interface FeatureFlagContextValue {
|
|
4
|
+
/** Current flag states */
|
|
5
|
+
flags: FeatureFlags;
|
|
6
|
+
/** Check if a flag is enabled */
|
|
7
|
+
isEnabled: (flag: string) => boolean;
|
|
8
|
+
/** Set a flag's state at runtime */
|
|
9
|
+
setFlag: (flag: string, enabled: boolean) => void;
|
|
10
|
+
/** Whether flags are still loading from remote */
|
|
11
|
+
loading: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface FeatureFlagProviderProps {
|
|
14
|
+
/** URL to fetch feature flags JSON from (optional) */
|
|
15
|
+
url?: string;
|
|
16
|
+
/** Initial/default flag values */
|
|
17
|
+
defaults?: FeatureFlags;
|
|
18
|
+
/** Children */
|
|
19
|
+
children?: SpecNode;
|
|
20
|
+
}
|
|
21
|
+
export declare function FeatureFlagProvider(props: FeatureFlagProviderProps): SpecNode;
|
|
22
|
+
export interface FeatureGateProps {
|
|
23
|
+
/** Flag name to check */
|
|
24
|
+
flag: string;
|
|
25
|
+
/** Content to render when flag is enabled */
|
|
26
|
+
children?: SpecNode;
|
|
27
|
+
/** Content to render when flag is disabled (optional) */
|
|
28
|
+
fallback?: SpecNode;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Conditionally renders children based on a feature flag.
|
|
32
|
+
* Renders nothing (or fallback) when the flag is disabled.
|
|
33
|
+
*/
|
|
34
|
+
export declare function FeatureGate(props: FeatureGateProps): SpecNode;
|
|
35
|
+
/**
|
|
36
|
+
* Hook to access feature flag state and controls.
|
|
37
|
+
*/
|
|
38
|
+
export declare function useFeatureFlags(): FeatureFlagContextValue;
|
|
39
|
+
//# sourceMappingURL=feature-flags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature-flags.d.ts","sourceRoot":"","sources":["../../../src/features/feature-flags.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAMhD,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEnD,MAAM,WAAW,uBAAuB;IACtC,0BAA0B;IAC1B,KAAK,EAAE,YAAY,CAAC;IACpB,iCAAiC;IACjC,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IACrC,oCAAoC;IACpC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAClD,kDAAkD;IAClD,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACvC,sDAAsD;IACtD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,eAAe;IACf,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAmBD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,GAAG,QAAQ,CA+D7E;AAMD,MAAM,WAAW,gBAAgB;IAC/B,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,QAAQ,CAG7D;AAMD;;GAEG;AACH,wBAAgB,eAAe,IAAI,uBAAuB,CAEzD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Feature Flags — Conditionally render components based on feature state.
|
|
3
|
+
*
|
|
4
|
+
* Features can be loaded from a static JSON file, configured programmatically,
|
|
5
|
+
* or toggled at runtime. The FeatureFlagProvider wraps the app and provides
|
|
6
|
+
* flag state via context. FeatureGate conditionally renders children based
|
|
7
|
+
* on whether a flag is enabled.
|
|
8
|
+
*
|
|
9
|
+
* Usage:
|
|
10
|
+
* ```typescript
|
|
11
|
+
* // Wrap app with provider
|
|
12
|
+
* createElement(FeatureFlagProvider, { url: '/features.json' },
|
|
13
|
+
* createElement(App, null),
|
|
14
|
+
* );
|
|
15
|
+
*
|
|
16
|
+
* // Gate a feature
|
|
17
|
+
* createElement(FeatureGate, { flag: 'dark-mode' },
|
|
18
|
+
* createElement(DarkModeToggle, null),
|
|
19
|
+
* );
|
|
20
|
+
*
|
|
21
|
+
* // Use hook for custom logic
|
|
22
|
+
* const { isEnabled, flags, setFlag } = useFeatureFlags();
|
|
23
|
+
* if (isEnabled('beta-charts')) { ... }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export { FeatureFlagProvider, FeatureGate, useFeatureFlags } from './feature-flags';
|
|
27
|
+
export type { FeatureFlags, FeatureFlagProviderProps } from './feature-flags';
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACpF,YAAY,EAAE,YAAY,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The concrete hook implementations that get wired up as the dispatcher
|
|
3
|
+
* when a function component is being rendered.
|
|
4
|
+
*/
|
|
5
|
+
import type { SpecContext, Fiber } from '../shared/types';
|
|
6
|
+
export declare function setRerenderCallback(cb: ((fiber: Fiber) => void) | null): void;
|
|
7
|
+
export declare function useStateImpl<T>(initialState: T | (() => T)): [T, (action: T | ((prev: T) => T)) => void];
|
|
8
|
+
export declare function useReducerImpl<S, A>(reducer: (state: S, action: A) => S, initialArg: S, init?: (arg: S) => S): [S, (action: A) => void];
|
|
9
|
+
export declare function useEffectDispatch(create: () => void | (() => void), deps?: readonly unknown[]): void;
|
|
10
|
+
export declare function useLayoutEffectDispatch(create: () => void | (() => void), deps?: readonly unknown[]): void;
|
|
11
|
+
export declare function useInsertionEffectDispatch(create: () => void | (() => void), deps?: readonly unknown[]): void;
|
|
12
|
+
export declare function useContextImpl<T>(context: SpecContext<T>): T;
|
|
13
|
+
export declare function useCallbackImpl<T extends (...args: any[]) => any>(callback: T, deps: readonly unknown[]): T;
|
|
14
|
+
export declare function useMemoImpl<T>(factory: () => T, deps: readonly unknown[]): T;
|
|
15
|
+
export declare function useRefImpl<T>(initialValue?: T): {
|
|
16
|
+
current: T | undefined;
|
|
17
|
+
};
|
|
18
|
+
export declare function useImperativeHandleImpl<T>(ref: {
|
|
19
|
+
current: T | null;
|
|
20
|
+
} | ((instance: T | null) => void) | null, createHandle: () => T, deps?: readonly unknown[]): void;
|
|
21
|
+
export declare function useDebugValueImpl<T>(_value: T, _format?: (value: T) => unknown): void;
|
|
22
|
+
export declare function resetIdCounter(): void;
|
|
23
|
+
export declare function useIdImpl(): string;
|
|
24
|
+
export declare function useDeferredValueImpl<T>(value: T): T;
|
|
25
|
+
export declare function useTransitionImpl(): [boolean, (callback: () => void) => void];
|
|
26
|
+
export declare function useSyncExternalStoreImpl<T>(subscribe: (onStoreChange: () => void) => () => void, getSnapshot: () => T, _getServerSnapshot?: () => T): T;
|
|
27
|
+
//# sourceMappingURL=dispatcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dispatcher.d.ts","sourceRoot":"","sources":["../../../src/hooks/dispatcher.ts"],"names":[],"mappings":"AAGA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAoB1D,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,GAAG,IAAI,GAAG,IAAI,CAE7E;AA8BD,wBAAgB,YAAY,CAAC,CAAC,EAC5B,YAAY,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,GAC1B,CAAC,CAAC,E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AE,YAAY,CAAC,EAAE,CAAC,GAAG;IAAE,OAAO,EAAE,CAAC,GAAG,SAAS,CAAA;CAAE,CAS1E;AAMD,wBAAgB,uBAAuB,CAAC,CAAC,EACvC,GAAG,EAAE;IAAE,OAAO,EAAE,CAAC,GAAG,IAAI,CAAA;CAAE,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC,GAAG,IAAI,EAClE,YAAY,EAAE,MAAM,CAAC,EACrB,IAAI,CAAC,EAAE,SAAS,OAAO,EAAE,GACxB,IAAI,CAmBN;AAMD,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,GAAG,IAAI,CAErF;AAQD,wBAAgB,cAAc,IAAI,IAAI,CAErC;AAED,wBAAgB,SAAS,IAAI,MAAM,CAQlC;AAMD,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAenD;AAMD,wBAAgB,iBAAiB,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC,CAkB7E;AAMD,wBAAgB,wBAAwB,CAAC,CAAC,EACxC,SAAS,EAAE,CAAC,aAAa,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,EACpD,WAAW,EAAE,MAAM,CAAC,EACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC,GAC3B,CAAC,CA0BH"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { Fiber } from '../shared/types';
|
|
2
|
+
/**
|
|
3
|
+
* Internal hook state management.
|
|
4
|
+
* Each fiber maintains a linked list of hook states.
|
|
5
|
+
*/
|
|
6
|
+
export interface Hook {
|
|
7
|
+
memoizedState: unknown;
|
|
8
|
+
queue: HookUpdate[] | null;
|
|
9
|
+
next: Hook | null;
|
|
10
|
+
}
|
|
11
|
+
export interface HookUpdate {
|
|
12
|
+
action: unknown;
|
|
13
|
+
}
|
|
14
|
+
export interface EffectHook {
|
|
15
|
+
tag: EffectHookTag;
|
|
16
|
+
create: () => void | (() => void);
|
|
17
|
+
destroy: (() => void) | null | undefined;
|
|
18
|
+
deps: readonly unknown[] | undefined;
|
|
19
|
+
next: EffectHook | null;
|
|
20
|
+
}
|
|
21
|
+
export declare const enum EffectHookTag {
|
|
22
|
+
NoEffect = 0,
|
|
23
|
+
HasEffect = 1,
|
|
24
|
+
Layout = 2,
|
|
25
|
+
Passive = 4,
|
|
26
|
+
Insertion = 8
|
|
27
|
+
}
|
|
28
|
+
export declare function setCurrentFiber(fiber: Fiber | null): void;
|
|
29
|
+
export declare function getCurrentFiber(): Fiber | null;
|
|
30
|
+
export declare function getCurrentHookIndex(): number;
|
|
31
|
+
export declare function getHookIndex(): number;
|
|
32
|
+
/**
|
|
33
|
+
* Allocate the next hook slot for the currently rendering fiber.
|
|
34
|
+
* On mount: creates a new hook.
|
|
35
|
+
* On update: advances to the next existing hook.
|
|
36
|
+
*/
|
|
37
|
+
export declare function allocateHook(): Hook;
|
|
38
|
+
/**
|
|
39
|
+
* Push an effect onto the current fiber's effect list.
|
|
40
|
+
*/
|
|
41
|
+
export declare function pushEffect(tag: EffectHookTag, create: () => void | (() => void), destroy: (() => void) | null | undefined, deps: readonly unknown[] | undefined): EffectHook;
|
|
42
|
+
export declare function getEffectList(): EffectHook | null;
|
|
43
|
+
/**
|
|
44
|
+
* Compare dependency arrays.
|
|
45
|
+
*/
|
|
46
|
+
export declare function areDepsEqual(prevDeps: readonly unknown[] | undefined, nextDeps: readonly unknown[] | undefined): boolean;
|
|
47
|
+
//# sourceMappingURL=hook-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hook-state.d.ts","sourceRoot":"","sources":["../../../src/hooks/hook-state.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;A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QAAQ,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,EACxC,QAAQ,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,GACvC,OAAO,CAaT"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { SpecContext } from '../shared/types';
|
|
2
|
+
type Dispatcher = {
|
|
3
|
+
useState: typeof useState;
|
|
4
|
+
useEffect: typeof useEffect;
|
|
5
|
+
useContext: typeof useContext;
|
|
6
|
+
useReducer: typeof useReducer;
|
|
7
|
+
useCallback: typeof useCallback;
|
|
8
|
+
useMemo: typeof useMemo;
|
|
9
|
+
useRef: typeof useRef;
|
|
10
|
+
useImperativeHandle: typeof useImperativeHandle;
|
|
11
|
+
useLayoutEffect: typeof useLayoutEffect;
|
|
12
|
+
useDebugValue: typeof useDebugValue;
|
|
13
|
+
useId: typeof useId;
|
|
14
|
+
useDeferredValue: typeof useDeferredValue;
|
|
15
|
+
useTransition: typeof useTransition;
|
|
16
|
+
useSyncExternalStore: typeof useSyncExternalStore;
|
|
17
|
+
useInsertionEffect: typeof useInsertionEffect;
|
|
18
|
+
};
|
|
19
|
+
export declare function __setDispatcher(dispatcher: Dispatcher | null): void;
|
|
20
|
+
export declare function __getDispatcher(): Dispatcher | null;
|
|
21
|
+
export declare function useState<T>(initialState: T | (() => T)): [T, (action: T | ((prev: T) => T)) => void];
|
|
22
|
+
export declare function useEffect(create: () => void | (() => void), deps?: readonly unknown[]): void;
|
|
23
|
+
export declare function useContext<T>(context: SpecContext<T>): T;
|
|
24
|
+
export declare function useReducer<S, A>(reducer: (state: S, action: A) => S, initialArg: S, init?: (arg: S) => S): [S, (action: A) => void];
|
|
25
|
+
export declare function useCallback<T extends (...args: any[]) => any>(callback: T, deps: readonly unknown[]): T;
|
|
26
|
+
export declare function useMemo<T>(factory: () => T, deps: readonly unknown[]): T;
|
|
27
|
+
export declare function useRef<T>(initialValue: T): {
|
|
28
|
+
current: T;
|
|
29
|
+
};
|
|
30
|
+
export declare function useRef<T>(initialValue: T | null): {
|
|
31
|
+
current: T | null;
|
|
32
|
+
};
|
|
33
|
+
export declare function useRef<T>(): {
|
|
34
|
+
current: T | undefined;
|
|
35
|
+
};
|
|
36
|
+
export declare function useImperativeHandle<T>(ref: {
|
|
37
|
+
current: T | null;
|
|
38
|
+
} | ((instance: T | null) => void) | null, createHandle: () => T, deps?: readonly unknown[]): void;
|
|
39
|
+
export declare function useLayoutEffect(create: () => void | (() => void), deps?: readonly unknown[]): void;
|
|
40
|
+
export declare function useDebugValue<T>(value: T, format?: (value: T) => unknown): void;
|
|
41
|
+
export declare function useId(): string;
|
|
42
|
+
export declare function useDeferredValue<T>(value: T): T;
|
|
43
|
+
export declare function useTransition(): [boolean, (callback: () => void) => void];
|
|
44
|
+
export declare function useSyncExternalStore<T>(subscribe: (onStoreChange: () => void) => () => void, getSnapshot: () => T, getServerSnapshot?: () => T): T;
|
|
45
|
+
export declare function useInsertionEffect(create: () => void | (() => void), deps?: readonly unknown[]): void;
|
|
46
|
+
export { useHead } from './use-head';
|
|
47
|
+
export type { HeadMeta, HeadHttpEquiv } from './use-head';
|
|
48
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGnD,KAAK,UAAU,GAAG;IAChB,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,SAAS,EAAE,OAAO,SAAS,CAAC;IAC5B,UAAU,EAAE,OAAO,UAAU,CAAC;IAC9B,UAAU,EAAE,OAAO,UAAU,CAAC;IAC9B,WAAW,EAAE,OAAO,WAAW,CAAC;IAChC,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,MAAM,EAAE,OAAO,MAAM,CAAC;IACtB,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;IAChD,eAAe,EAAE,OAAO,eAA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