@apollion-dsi/core 7.9.0 → 7.11.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/lib/chunks/{Dropdown.floating-QJAJIFQB.esm.js → Dropdown.floating-CGDK6IQB.esm.js} +1 -1
- package/lib/chunks/{Notification.group-RFJEBXMQ.esm.js → Notification.group-6ZJ35RFH.esm.js} +1 -1
- package/lib/chunks/{Tooltip.floating-WYKEOQ4M.esm.js → Tooltip.floating-GCKKBEPS.esm.js} +1 -1
- package/lib/chunks/chunk-22L6RHSB.esm.js +1 -0
- package/lib/chunks/chunk-2IYNQSEF.esm.js +3 -0
- package/lib/chunks/{chunk-ENPBIFMV.esm.js → chunk-2ZPR5X22.esm.js} +1 -1
- package/lib/chunks/chunk-33GYYZW5.esm.js +3 -0
- package/lib/chunks/chunk-3U45VKPR.esm.js +1 -0
- package/lib/chunks/chunk-45IZXEOV.esm.js +1 -0
- package/lib/chunks/chunk-4DJF3WKO.esm.js +1 -0
- package/lib/chunks/{chunk-E26CL7AQ.esm.js → chunk-4PSGJ4KW.esm.js} +1 -1
- package/lib/chunks/{chunk-XUZQE326.esm.js → chunk-5DB2GNDG.esm.js} +1 -1
- package/lib/chunks/chunk-5SAWZQF2.esm.js +1 -0
- package/lib/chunks/chunk-6DQTCBWZ.esm.js +34 -0
- package/lib/chunks/chunk-6DZLOIJM.esm.js +1 -0
- package/lib/chunks/chunk-6JKM5LWJ.esm.js +1 -0
- package/lib/chunks/chunk-6RDQTTU7.esm.js +1 -0
- package/lib/chunks/{chunk-ZEA5JYFE.esm.js → chunk-7BPMKNB4.esm.js} +1 -1
- package/lib/chunks/chunk-7CP7LKXR.esm.js +1 -0
- package/lib/chunks/{chunk-CLBV5RLF.esm.js → chunk-7NRIVJCP.esm.js} +1 -1
- package/lib/chunks/chunk-B4C4W4FQ.esm.js +1 -0
- package/lib/chunks/chunk-CHV2ZUQD.esm.js +1 -0
- package/lib/chunks/chunk-CLOAQN2O.esm.js +1 -0
- package/lib/chunks/{chunk-4YRJLSB2.esm.js → chunk-CQCUYQLG.esm.js} +1 -1
- package/lib/chunks/{chunk-2C4RPPWG.esm.js → chunk-DANPODK7.esm.js} +1 -1
- package/lib/chunks/chunk-DBQUILKQ.esm.js +1 -0
- package/lib/chunks/chunk-DFCTM42P.esm.js +1 -0
- package/lib/chunks/chunk-DNTSG7ID.esm.js +1 -0
- package/lib/chunks/chunk-DUZ3UYGO.esm.js +4 -0
- package/lib/chunks/{chunk-OAMAE3G7.esm.js → chunk-DXPIQ43V.esm.js} +1 -1
- package/lib/chunks/chunk-E2WGTSVG.esm.js +1 -0
- package/lib/chunks/chunk-EDGTRXXL.esm.js +50 -0
- package/lib/chunks/{chunk-QEB4VTKV.esm.js → chunk-ELPFJTKD.esm.js} +1 -1
- package/lib/chunks/chunk-EYMARJ4Q.esm.js +1 -0
- package/lib/chunks/chunk-FSHKQRLP.esm.js +5 -0
- package/lib/chunks/chunk-G245LAH7.esm.js +1 -0
- package/lib/chunks/chunk-GC6FOZ4B.esm.js +1 -0
- package/lib/chunks/{chunk-T4R2OTIU.esm.js → chunk-GCVC74KG.esm.js} +1 -1
- package/lib/chunks/{chunk-BCG4MZZG.esm.js → chunk-GEBN7XFE.esm.js} +1 -1
- package/lib/chunks/chunk-GEVUBPWB.esm.js +1 -0
- package/lib/chunks/{chunk-IC54RGJD.esm.js → chunk-GNO7BQ3B.esm.js} +1 -1
- package/lib/chunks/chunk-GOQVJFQ2.esm.js +1 -0
- package/lib/chunks/{chunk-R2QEO3KP.esm.js → chunk-GXYMVUHX.esm.js} +3 -3
- package/lib/chunks/chunk-H46LQARX.esm.js +32 -0
- package/lib/chunks/{chunk-NWFQZITM.esm.js → chunk-HHVRC2P2.esm.js} +1 -1
- package/lib/chunks/chunk-HZGZHA72.esm.js +1 -0
- package/lib/chunks/chunk-I27NMJ2O.esm.js +1 -0
- package/lib/chunks/chunk-I44GUGQY.esm.js +4 -0
- package/lib/chunks/{chunk-TCA5DSF6.esm.js → chunk-I4D6F6PH.esm.js} +1 -1
- package/lib/chunks/chunk-I4J4D6CA.esm.js +1 -0
- package/lib/chunks/chunk-IC3NPVIH.esm.js +1 -0
- package/lib/chunks/{chunk-JTXT4BH4.esm.js → chunk-J3B6PNHW.esm.js} +1 -1
- package/lib/chunks/chunk-JJNKAIKI.esm.js +9 -0
- package/lib/chunks/chunk-K7KSNUEB.esm.js +1 -0
- package/lib/chunks/{chunk-T3ANVSKR.esm.js → chunk-LC4BKV7R.esm.js} +1 -1
- package/lib/chunks/{chunk-I6XZCSTD.esm.js → chunk-LI27QROV.esm.js} +1 -1
- package/lib/chunks/chunk-LKFRVWL5.esm.js +1 -0
- package/lib/chunks/chunk-LLAFAJR6.esm.js +1 -0
- package/lib/chunks/chunk-M72UQD4Y.esm.js +1 -0
- package/lib/chunks/chunk-MZXRPRCH.esm.js +1 -0
- package/lib/chunks/{chunk-MSAOOFU2.esm.js → chunk-N3JC6B5N.esm.js} +1 -1
- package/lib/chunks/chunk-NE3O7IUH.esm.js +1 -0
- package/lib/chunks/{chunk-UWH5IBPA.esm.js → chunk-NKDDPC27.esm.js} +1 -1
- package/lib/chunks/chunk-OGH2NV35.esm.js +1 -0
- package/lib/chunks/chunk-OGHFYC4K.esm.js +1 -0
- package/lib/chunks/chunk-OLGOEEW6.esm.js +1 -0
- package/lib/chunks/chunk-PCWBDQWO.esm.js +1 -0
- package/lib/chunks/chunk-PK6O55XG.esm.js +1 -0
- package/lib/chunks/{chunk-K6R7CVK4.esm.js → chunk-QG3UN4BG.esm.js} +1 -1
- package/lib/chunks/chunk-RDBFLIVD.esm.js +2 -0
- package/lib/chunks/chunk-RKUT26H6.esm.js +1 -0
- package/lib/chunks/chunk-RTA77K7Q.esm.js +1 -0
- package/lib/chunks/chunk-S52XSA7Y.esm.js +1 -0
- package/lib/chunks/chunk-S56GRIFE.esm.js +1 -0
- package/lib/chunks/chunk-S6UGHWWF.esm.js +1 -0
- package/lib/chunks/chunk-SGJQOSFT.esm.js +1 -0
- package/lib/chunks/{chunk-BASPM3ZG.esm.js → chunk-SYDLB7Y5.esm.js} +1 -1
- package/lib/chunks/{chunk-S3XZBMR2.esm.js → chunk-TWCGEBBW.esm.js} +1 -1
- package/lib/chunks/chunk-UD76AVXB.esm.js +1 -0
- package/lib/chunks/{chunk-4O7ESFTW.esm.js → chunk-UIYDNDCA.esm.js} +1 -1
- package/lib/chunks/chunk-VMU4IJ7R.esm.js +1 -0
- package/lib/chunks/chunk-WHJ4OP5O.esm.js +2 -0
- package/lib/chunks/chunk-WI2SPCLP.esm.js +1 -0
- package/lib/chunks/chunk-WM3H2QPO.esm.js +1 -0
- package/lib/chunks/{chunk-Z4WWUEI5.esm.js → chunk-X7VN6HII.esm.js} +7 -7
- package/lib/chunks/chunk-XM4DKPRG.esm.js +1 -0
- package/lib/chunks/chunk-YRKZV6F3.esm.js +1 -0
- package/lib/chunks/chunk-Z45XJAEQ.esm.js +1 -0
- package/lib/chunks/chunk-Z6JEMXFG.esm.js +1 -0
- package/lib/chunks/chunk-ZRUN7ZDR.esm.js +1 -0
- package/lib/chunks/chunk-ZTFCZTJC.esm.js +5 -0
- package/lib/chunks/chunk-ZUCQD2GN.esm.js +1 -0
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Box/Box.style.d.ts +4 -4
- package/lib/containers/Box/index.esm.js +1 -1
- package/lib/containers/Card/Card.style.d.ts +16 -16
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/Flex.style.d.ts +4 -4
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.style.d.ts +4 -4
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.style.d.ts +16 -16
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/Paper.style.d.ts +4 -4
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/Scroll.style.d.ts +4 -4
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/Accordion/Accordion.style.d.ts +21 -21
- package/lib/dataDisplay/Accordion/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/DataTable.d.ts +3 -2
- package/lib/dataDisplay/DataTable/DataTable.helpers.d.ts +2 -2
- package/lib/dataDisplay/DataTable/DataTable.interface.d.ts +40 -2
- package/lib/dataDisplay/DataTable/DataTable.style.d.ts +35 -9
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Diff/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/Meter.style.d.ts +8 -8
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Sparkline/index.esm.js +1 -1
- package/lib/dataDisplay/Steps/Steps.style.d.ts +24 -24
- package/lib/dataDisplay/Steps/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/Table.d.ts +3 -0
- package/lib/dataDisplay/Table/Table/Table.interface.d.ts +10 -0
- package/lib/dataDisplay/Table/Table/Table.style.d.ts +8 -8
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +20 -20
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
- package/lib/dataDisplay/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Tabs/Tabs.style.d.ts +44 -44
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/Button.style.d.ts +8 -8
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Calendar/Calendar.style.d.ts +20 -20
- package/lib/elements/Calendar/index.esm.js +1 -1
- package/lib/elements/Chip/index.esm.js +1 -1
- package/lib/elements/ChipGroup/index.esm.js +1 -1
- package/lib/elements/Divider/Divider.style.d.ts +8 -8
- package/lib/elements/Divider/index.esm.js +1 -1
- package/lib/elements/Dropdown/Dropdown.d.ts +1 -1
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/IconButton.style.d.ts +32 -32
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/IconText/index.esm.js +1 -1
- package/lib/elements/Image/index.esm.js +1 -1
- package/lib/elements/Label/index.esm.js +1 -1
- package/lib/elements/Link/Link.style.d.ts +8 -6
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/List.style.d.ts +8 -8
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.d.ts +1 -1
- package/lib/elements/Modal/Modal.style.d.ts +20 -20
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/NavBar/index.esm.js +1 -1
- package/lib/elements/NavTabs/index.esm.js +1 -1
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/ProgressBar.style.d.ts +8 -8
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Sheet/Sheet.style.d.ts +28 -28
- package/lib/elements/Sheet/index.esm.js +1 -1
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/StatusDot/index.esm.js +1 -1
- package/lib/elements/Svg/Svg.d.ts +1 -1
- package/lib/elements/Svg/Svg.style.d.ts +1 -1
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/Text.props.d.ts +5 -0
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/Tooltip.d.ts +1 -1
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/ContainerFactory/ContainerFactory.interface.d.ts +5 -0
- package/lib/factory/ContainerFactory/index.esm.js +1 -1
- package/lib/factory/ContainerQueryFactory/index.esm.js +1 -1
- package/lib/factory/MotionFactory/index.esm.js +1 -1
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/ViewportMediaFactory/index.esm.js +1 -1
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/Checkbox.d.ts +1 -1
- package/lib/form/Checkbox/Checkbox.style.d.ts +22 -22
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.d.ts +5 -1
- package/lib/form/Field/Field.interface.d.ts +7 -0
- package/lib/form/Field/Field.style.d.ts +121 -8
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/Form.style.d.ts +16 -16
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.style.d.ts +14 -14
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/InputCurrency.style.d.ts +8 -8
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/InputRange.d.ts +1 -1
- package/lib/form/InputRange/InputRange.style.d.ts +18 -16
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Option/Option.d.ts +3 -0
- package/lib/form/Option/Option.interface.d.ts +7 -1
- package/lib/form/Option/Option.style.d.ts +8 -8
- package/lib/form/Option/index.esm.js +1 -1
- package/lib/form/Radio/Radio.d.ts +1 -1
- package/lib/form/Radio/Radio.style.d.ts +4 -4
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/Switch.d.ts +1 -1
- package/lib/form/Switch/Switch.style.d.ts +2 -2
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/TextArea.style.d.ts +24 -24
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.style.d.ts +24 -24
- package/lib/form/UploadCard/index.esm.js +1 -1
- package/lib/form/index.esm.js +1 -1
- package/lib/icons/index.d.ts +9 -1
- package/lib/icons/index.esm.js +1 -1
- package/lib/icons/set/archive.d.ts +3 -0
- package/lib/icons/set/broadcast.d.ts +3 -0
- package/lib/icons/set/grid.d.ts +3 -0
- package/lib/icons/set/inbox.d.ts +3 -0
- package/lib/icons/set/layers.d.ts +3 -0
- package/lib/icons/set/listView.d.ts +3 -0
- package/lib/icons/set/refresh.d.ts +3 -0
- package/lib/icons/set/trending.d.ts +3 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/DefaultLayout/DefaultLayout.d.ts +1 -1
- package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +18 -18
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.d.ts +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +18 -18
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/scenario/CircleComponent/index.esm.js +1 -1
- package/lib/scenario/RectComponent/index.esm.js +1 -1
- package/lib/scenario/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.d.ts +1 -1
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/TextPreset.d.ts +1 -1
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/Animation/index.esm.js +1 -1
- package/lib/themes/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/Motion/index.esm.js +1 -1
- package/lib/themes/Telemetry/index.d.ts +5 -0
- package/lib/themes/Telemetry/index.esm.js +1 -0
- package/lib/themes/Telemetry/telemetry.config.d.ts +121 -0
- package/lib/themes/Telemetry/telemetry.d.ts +261 -0
- package/lib/themes/Telemetry/telemetry.runtime.d.ts +74 -0
- package/lib/themes/ThemeProvider/ThemeProvider.interface.d.ts +15 -0
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.d.ts +1 -0
- package/lib/themes/index.esm.js +1 -1
- package/package.json +6 -2
- package/lib/chunks/chunk-2O2SROXA.esm.js +0 -1
- package/lib/chunks/chunk-2V52IYQV.esm.js +0 -1
- package/lib/chunks/chunk-3YR2CYJZ.esm.js +0 -1
- package/lib/chunks/chunk-5PVO6N3J.esm.js +0 -1
- package/lib/chunks/chunk-5YWORBNJ.esm.js +0 -1
- package/lib/chunks/chunk-6ENKSD5C.esm.js +0 -9
- package/lib/chunks/chunk-AXDZFTGE.esm.js +0 -1
- package/lib/chunks/chunk-BBLB347Z.esm.js +0 -1
- package/lib/chunks/chunk-CNNDH4LV.esm.js +0 -1
- package/lib/chunks/chunk-CSAXXFCR.esm.js +0 -1
- package/lib/chunks/chunk-D6WFXRZX.esm.js +0 -1
- package/lib/chunks/chunk-E4JLJKFS.esm.js +0 -1
- package/lib/chunks/chunk-EPV3GO7B.esm.js +0 -1
- package/lib/chunks/chunk-FAPRFOYB.esm.js +0 -1
- package/lib/chunks/chunk-FVTAFMZS.esm.js +0 -1
- package/lib/chunks/chunk-G5RULAV3.esm.js +0 -3
- package/lib/chunks/chunk-G72VRGFR.esm.js +0 -1
- package/lib/chunks/chunk-GZQXLRSB.esm.js +0 -1
- package/lib/chunks/chunk-I47BDQKT.esm.js +0 -1
- package/lib/chunks/chunk-I5HNFKYR.esm.js +0 -32
- package/lib/chunks/chunk-IN7B3PCD.esm.js +0 -50
- package/lib/chunks/chunk-IW3VOOEV.esm.js +0 -1
- package/lib/chunks/chunk-IWESXUNV.esm.js +0 -1
- package/lib/chunks/chunk-JA7HYODC.esm.js +0 -1
- package/lib/chunks/chunk-JLQDS5TS.esm.js +0 -1
- package/lib/chunks/chunk-JOQLL6XH.esm.js +0 -1
- package/lib/chunks/chunk-JSVL6DGF.esm.js +0 -1
- package/lib/chunks/chunk-KT4BKJVV.esm.js +0 -1
- package/lib/chunks/chunk-KUIKMMIH.esm.js +0 -1
- package/lib/chunks/chunk-LLSORQ2S.esm.js +0 -1
- package/lib/chunks/chunk-LMFC47WU.esm.js +0 -1
- package/lib/chunks/chunk-LRMCUTRX.esm.js +0 -1
- package/lib/chunks/chunk-M2X77U6D.esm.js +0 -1
- package/lib/chunks/chunk-MDIM6HBL.esm.js +0 -1
- package/lib/chunks/chunk-MNSZ72SE.esm.js +0 -1
- package/lib/chunks/chunk-N72LVPOX.esm.js +0 -1
- package/lib/chunks/chunk-NIUGF5KU.esm.js +0 -1
- package/lib/chunks/chunk-NXMJZMST.esm.js +0 -5
- package/lib/chunks/chunk-NZIVEBN6.esm.js +0 -1
- package/lib/chunks/chunk-OJ4UJIYY.esm.js +0 -1
- package/lib/chunks/chunk-PD2ZYT6K.esm.js +0 -1
- package/lib/chunks/chunk-PER3TT67.esm.js +0 -5
- package/lib/chunks/chunk-PJLMOWDY.esm.js +0 -1
- package/lib/chunks/chunk-QTTSRMOW.esm.js +0 -1
- package/lib/chunks/chunk-QYL6LECA.esm.js +0 -1
- package/lib/chunks/chunk-SSKJNT7I.esm.js +0 -1
- package/lib/chunks/chunk-T5G7LXNZ.esm.js +0 -3
- package/lib/chunks/chunk-TVJXEJLN.esm.js +0 -1
- package/lib/chunks/chunk-U3YG36FD.esm.js +0 -1
- package/lib/chunks/chunk-U4K7OFBQ.esm.js +0 -34
- package/lib/chunks/chunk-UCNKTKY7.esm.js +0 -1
- package/lib/chunks/chunk-UEH3ETCI.esm.js +0 -1
- package/lib/chunks/chunk-USRV73BT.esm.js +0 -1
- package/lib/chunks/chunk-VQK2V46Q.esm.js +0 -4
- package/lib/chunks/chunk-VUZ7WSRT.esm.js +0 -1
- package/lib/chunks/chunk-WAFYMVV2.esm.js +0 -1
- package/lib/chunks/chunk-WSLWGPOE.esm.js +0 -1
- package/lib/chunks/chunk-YKMNVUK7.esm.js +0 -1
- package/lib/chunks/chunk-YP7EK4TW.esm.js +0 -4
- package/lib/chunks/chunk-Z65RA27A.esm.js +0 -1
- package/lib/chunks/chunk-Z7CRNRPL.esm.js +0 -1
- package/lib/chunks/chunk-ZCUESGLP.esm.js +0 -1
- /package/lib/chunks/{chunk-HPMNSONF.esm.js → chunk-A5EZKWYC.esm.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"../../chunks/chunk-
|
|
1
|
+
import{a,b,c,d,e}from"../../chunks/chunk-ZTFCZTJC.esm.js";import"../../chunks/chunk-J3B6PNHW.esm.js";import"../../chunks/chunk-RDBFLIVD.esm.js";import"../../chunks/chunk-TWCGEBBW.esm.js";import"../../chunks/chunk-KT6QQ3UJ.esm.js";import"../../chunks/chunk-LI27QROV.esm.js";import"../../chunks/chunk-MPMCXGOX.esm.js";import"../../chunks/chunk-JWNC52FT.esm.js";import"../../chunks/chunk-LC4BKV7R.esm.js";import"../../chunks/chunk-4SDDAQ6N.esm.js";import"../../chunks/chunk-ELPFJTKD.esm.js";import"../../chunks/chunk-GXYMVUHX.esm.js";import"../../chunks/chunk-2ZPR5X22.esm.js";import"../../chunks/chunk-QG3UN4BG.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-NKDDPC27.esm.js";import"../../chunks/chunk-GNO7BQ3B.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-VCMHX5VK.esm.js";import"../../chunks/chunk-XI4HR75A.esm.js";import"../../chunks/chunk-3BR6IVVX.esm.js";import"../../chunks/chunk-CRSMYEKV.esm.js";import"../../chunks/chunk-M72UQD4Y.esm.js";import"../../chunks/chunk-ZJET55OZ.esm.js";import"../../chunks/chunk-WKXEPDPZ.esm.js";import"../../chunks/chunk-4JM5PL3S.esm.js";import"../../chunks/chunk-UGA75LGY.esm.js";import"../../chunks/chunk-SF5BK4KT.esm.js";import"../../chunks/chunk-KO5FSKVM.esm.js";import"../../chunks/chunk-6G22RNUO.esm.js";import"../../chunks/chunk-J6F4PMW4.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-QXV2TDLZ.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{e as SideBarLayout,c as SideBarLayoutMedias,a as SideBarLayoutTemplate,b as SideBarLayoutViewportMedias,d as StyledGrid};
|
package/lib/layouts/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o,b as r,c as e,d as f}from"../chunks/chunk-
|
|
1
|
+
import{a as o,b as r,c as e,d as f}from"../chunks/chunk-33GYYZW5.esm.js";import{a as m,b as p,c as t,d as x,e as a}from"../chunks/chunk-ZTFCZTJC.esm.js";import"../chunks/chunk-J3B6PNHW.esm.js";import"../chunks/chunk-RDBFLIVD.esm.js";import"../chunks/chunk-TWCGEBBW.esm.js";import"../chunks/chunk-KT6QQ3UJ.esm.js";import"../chunks/chunk-LI27QROV.esm.js";import"../chunks/chunk-MPMCXGOX.esm.js";import"../chunks/chunk-JWNC52FT.esm.js";import"../chunks/chunk-LC4BKV7R.esm.js";import"../chunks/chunk-4SDDAQ6N.esm.js";import"../chunks/chunk-ELPFJTKD.esm.js";import"../chunks/chunk-GXYMVUHX.esm.js";import"../chunks/chunk-2ZPR5X22.esm.js";import"../chunks/chunk-QG3UN4BG.esm.js";import"../chunks/chunk-RWLJNXLX.esm.js";import"../chunks/chunk-NKDDPC27.esm.js";import"../chunks/chunk-GNO7BQ3B.esm.js";import"../chunks/chunk-IK5Z5C2R.esm.js";import"../chunks/chunk-BNB3KNKE.esm.js";import"../chunks/chunk-VCMHX5VK.esm.js";import"../chunks/chunk-XI4HR75A.esm.js";import"../chunks/chunk-3BR6IVVX.esm.js";import"../chunks/chunk-CRSMYEKV.esm.js";import"../chunks/chunk-M72UQD4Y.esm.js";import"../chunks/chunk-ZJET55OZ.esm.js";import"../chunks/chunk-WKXEPDPZ.esm.js";import"../chunks/chunk-4JM5PL3S.esm.js";import"../chunks/chunk-UGA75LGY.esm.js";import"../chunks/chunk-SF5BK4KT.esm.js";import"../chunks/chunk-KO5FSKVM.esm.js";import"../chunks/chunk-6G22RNUO.esm.js";import"../chunks/chunk-J6F4PMW4.esm.js";import"../chunks/chunk-G5Z7USXC.esm.js";import"../chunks/chunk-QXV2TDLZ.esm.js";import"../chunks/chunk-AXUWC2WH.esm.js";import"../chunks/chunk-GZONWSRB.esm.js";export{f as DefaultLayout,r as DefaultLayoutMedias,o as DefaultLayoutTemplate,e as GridStyle,a as SideBarLayout,t as SideBarLayoutMedias,m as SideBarLayoutTemplate,p as SideBarLayoutViewportMedias,x as StyledGrid};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../../chunks/chunk-
|
|
1
|
+
import{a,b,c}from"../../chunks/chunk-GC6FOZ4B.esm.js";import"../../chunks/chunk-RDBFLIVD.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{c as Circle,b as CircleSkeletonStyle,a as CircleStyle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk-
|
|
1
|
+
import{a,b}from"../../chunks/chunk-WI2SPCLP.esm.js";import"../../chunks/chunk-RDBFLIVD.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{b as Rect,a as RectStyle};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o,b as r}from"../chunks/chunk-
|
|
1
|
+
import{a as o,b as r}from"../chunks/chunk-WI2SPCLP.esm.js";import{a as e,b as f,c as m}from"../chunks/chunk-GC6FOZ4B.esm.js";import"../chunks/chunk-RDBFLIVD.esm.js";import"../chunks/chunk-AXUWC2WH.esm.js";import"../chunks/chunk-GZONWSRB.esm.js";export{m as Circle,f as CircleSkeletonStyle,e as CircleStyle,r as Rect,o as RectStyle};
|
|
@@ -20,7 +20,7 @@ import { IContentLoaderProps } from '../../vendors/ReactContentLoader';
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ComposedSkeletonInterface} for the props breakdown.
|
|
22
22
|
*/
|
|
23
|
-
export declare function ComposedSkeletonComponent(
|
|
23
|
+
export declare function ComposedSkeletonComponent(componentProps: ComposedSkeletonInterface): import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export declare namespace ComposedSkeletonComponent {
|
|
25
25
|
var displayName: string;
|
|
26
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"../../chunks/chunk-
|
|
1
|
+
import{a,b,c,d,e}from"../../chunks/chunk-WM3H2QPO.esm.js";import"../../chunks/chunk-A5EZKWYC.esm.js";import"../../chunks/chunk-4L2KOZIQ.esm.js";import"../../chunks/chunk-4E3BR56X.esm.js";import"../../chunks/chunk-QHV3TXJB.esm.js";import"../../chunks/chunk-JJNKAIKI.esm.js";import"../../chunks/chunk-LLAFAJR6.esm.js";import"../../chunks/chunk-TLIKQFOT.esm.js";import"../../chunks/chunk-IA234JY2.esm.js";import"../../chunks/chunk-NYKFDMIM.esm.js";import"../../chunks/chunk-HAYP3N7C.esm.js";import"../../chunks/chunk-WHJ4OP5O.esm.js";import"../../chunks/chunk-FLYTTTRD.esm.js";import"../../chunks/chunk-Z7GJDO5T.esm.js";import"../../chunks/chunk-LCCVFIPZ.esm.js";import"../../chunks/chunk-TG5BCBO4.esm.js";import"../../chunks/chunk-WB5XXCKL.esm.js";import"../../chunks/chunk-JOKVE3IX.esm.js";import"../../chunks/chunk-CWRWYU7D.esm.js";import"../../chunks/chunk-PFLBU7HG.esm.js";import"../../chunks/chunk-4UQS5RWZ.esm.js";import"../../chunks/chunk-5DB2GNDG.esm.js";import"../../chunks/chunk-3DUB5C4Z.esm.js";import"../../chunks/chunk-HVFI7FHR.esm.js";import"../../chunks/chunk-UGIYAS67.esm.js";import"../../chunks/chunk-SAPHWVC7.esm.js";import"../../chunks/chunk-RDBFLIVD.esm.js";import"../../chunks/chunk-KT6QQ3UJ.esm.js";import"../../chunks/chunk-4SDDAQ6N.esm.js";import"../../chunks/chunk-GXYMVUHX.esm.js";import"../../chunks/chunk-CRSMYEKV.esm.js";import"../../chunks/chunk-WKXEPDPZ.esm.js";import"../../chunks/chunk-4JM5PL3S.esm.js";import"../../chunks/chunk-UGA75LGY.esm.js";import"../../chunks/chunk-SF5BK4KT.esm.js";import"../../chunks/chunk-KO5FSKVM.esm.js";import"../../chunks/chunk-6G22RNUO.esm.js";import"../../chunks/chunk-J6F4PMW4.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{c as BulletListPresetSkeleton,d as CodePresetSkeleton,e as ItemPresetSkeleton,b as ListPresetSkeleton,a as Skeleton};
|
|
@@ -27,7 +27,7 @@ export type TextPresetProps = Omit<ComposedSkeletonInterface, 'children' | 'widt
|
|
|
27
27
|
* {isLoading ? <TextPreset width="80%" /> : <Text text={value} />}
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
|
-
declare function TextPresetComponent(
|
|
30
|
+
declare function TextPresetComponent(componentProps: TextPresetProps): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
declare namespace TextPresetComponent {
|
|
32
32
|
var displayName: string;
|
|
33
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-DNTSG7ID.esm.js";import"../../chunks/chunk-WM3H2QPO.esm.js";import"../../chunks/chunk-WI2SPCLP.esm.js";import"../../chunks/chunk-A5EZKWYC.esm.js";import"../../chunks/chunk-4L2KOZIQ.esm.js";import"../../chunks/chunk-4E3BR56X.esm.js";import"../../chunks/chunk-QHV3TXJB.esm.js";import"../../chunks/chunk-JJNKAIKI.esm.js";import"../../chunks/chunk-LLAFAJR6.esm.js";import"../../chunks/chunk-TLIKQFOT.esm.js";import"../../chunks/chunk-IA234JY2.esm.js";import"../../chunks/chunk-NYKFDMIM.esm.js";import"../../chunks/chunk-HAYP3N7C.esm.js";import"../../chunks/chunk-WHJ4OP5O.esm.js";import"../../chunks/chunk-FLYTTTRD.esm.js";import"../../chunks/chunk-Z7GJDO5T.esm.js";import"../../chunks/chunk-LCCVFIPZ.esm.js";import"../../chunks/chunk-TG5BCBO4.esm.js";import"../../chunks/chunk-WB5XXCKL.esm.js";import"../../chunks/chunk-JOKVE3IX.esm.js";import"../../chunks/chunk-CWRWYU7D.esm.js";import"../../chunks/chunk-PFLBU7HG.esm.js";import"../../chunks/chunk-4UQS5RWZ.esm.js";import"../../chunks/chunk-5DB2GNDG.esm.js";import"../../chunks/chunk-3DUB5C4Z.esm.js";import"../../chunks/chunk-HVFI7FHR.esm.js";import"../../chunks/chunk-UGIYAS67.esm.js";import"../../chunks/chunk-SAPHWVC7.esm.js";import"../../chunks/chunk-RDBFLIVD.esm.js";import"../../chunks/chunk-KT6QQ3UJ.esm.js";import"../../chunks/chunk-4SDDAQ6N.esm.js";import"../../chunks/chunk-GXYMVUHX.esm.js";import"../../chunks/chunk-CRSMYEKV.esm.js";import"../../chunks/chunk-WKXEPDPZ.esm.js";import"../../chunks/chunk-4JM5PL3S.esm.js";import"../../chunks/chunk-UGA75LGY.esm.js";import"../../chunks/chunk-SF5BK4KT.esm.js";import"../../chunks/chunk-KO5FSKVM.esm.js";import"../../chunks/chunk-6G22RNUO.esm.js";import"../../chunks/chunk-J6F4PMW4.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as TextPreset};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"../chunks/chunk-
|
|
1
|
+
import{a as p}from"../chunks/chunk-DNTSG7ID.esm.js";import{a as o,b as r,c as e,d as f,e as m}from"../chunks/chunk-WM3H2QPO.esm.js";import"../chunks/chunk-WI2SPCLP.esm.js";import"../chunks/chunk-A5EZKWYC.esm.js";import"../chunks/chunk-4L2KOZIQ.esm.js";import"../chunks/chunk-4E3BR56X.esm.js";import"../chunks/chunk-QHV3TXJB.esm.js";import"../chunks/chunk-JJNKAIKI.esm.js";import"../chunks/chunk-LLAFAJR6.esm.js";import"../chunks/chunk-TLIKQFOT.esm.js";import"../chunks/chunk-IA234JY2.esm.js";import"../chunks/chunk-NYKFDMIM.esm.js";import"../chunks/chunk-HAYP3N7C.esm.js";import"../chunks/chunk-WHJ4OP5O.esm.js";import"../chunks/chunk-FLYTTTRD.esm.js";import"../chunks/chunk-Z7GJDO5T.esm.js";import"../chunks/chunk-LCCVFIPZ.esm.js";import"../chunks/chunk-TG5BCBO4.esm.js";import"../chunks/chunk-WB5XXCKL.esm.js";import"../chunks/chunk-JOKVE3IX.esm.js";import"../chunks/chunk-CWRWYU7D.esm.js";import"../chunks/chunk-PFLBU7HG.esm.js";import"../chunks/chunk-4UQS5RWZ.esm.js";import"../chunks/chunk-5DB2GNDG.esm.js";import"../chunks/chunk-3DUB5C4Z.esm.js";import"../chunks/chunk-HVFI7FHR.esm.js";import"../chunks/chunk-UGIYAS67.esm.js";import"../chunks/chunk-SAPHWVC7.esm.js";import"../chunks/chunk-RDBFLIVD.esm.js";import"../chunks/chunk-KT6QQ3UJ.esm.js";import"../chunks/chunk-4SDDAQ6N.esm.js";import"../chunks/chunk-GXYMVUHX.esm.js";import"../chunks/chunk-CRSMYEKV.esm.js";import"../chunks/chunk-WKXEPDPZ.esm.js";import"../chunks/chunk-4JM5PL3S.esm.js";import"../chunks/chunk-UGA75LGY.esm.js";import"../chunks/chunk-SF5BK4KT.esm.js";import"../chunks/chunk-KO5FSKVM.esm.js";import"../chunks/chunk-6G22RNUO.esm.js";import"../chunks/chunk-J6F4PMW4.esm.js";import"../chunks/chunk-G5Z7USXC.esm.js";import"../chunks/chunk-AXUWC2WH.esm.js";import"../chunks/chunk-GZONWSRB.esm.js";export{e as BulletListPresetSkeleton,f as CodePresetSkeleton,m as ItemPresetSkeleton,r as ListPresetSkeleton,o as Skeleton,p as TextPreset};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-5DB2GNDG.esm.js";import"../../chunks/chunk-GXYMVUHX.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as animation};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk-
|
|
1
|
+
import{a,b}from"../../chunks/chunk-JJNKAIKI.esm.js";import"../../chunks/chunk-LLAFAJR6.esm.js";import"../../chunks/chunk-TLIKQFOT.esm.js";import"../../chunks/chunk-IA234JY2.esm.js";import"../../chunks/chunk-NYKFDMIM.esm.js";import"../../chunks/chunk-HAYP3N7C.esm.js";import"../../chunks/chunk-WHJ4OP5O.esm.js";import"../../chunks/chunk-FLYTTTRD.esm.js";import"../../chunks/chunk-Z7GJDO5T.esm.js";import"../../chunks/chunk-LCCVFIPZ.esm.js";import"../../chunks/chunk-TG5BCBO4.esm.js";import"../../chunks/chunk-WB5XXCKL.esm.js";import"../../chunks/chunk-JOKVE3IX.esm.js";import"../../chunks/chunk-CWRWYU7D.esm.js";import"../../chunks/chunk-PFLBU7HG.esm.js";import"../../chunks/chunk-5DB2GNDG.esm.js";import"../../chunks/chunk-3DUB5C4Z.esm.js";import"../../chunks/chunk-HVFI7FHR.esm.js";import"../../chunks/chunk-UGIYAS67.esm.js";import"../../chunks/chunk-SAPHWVC7.esm.js";import"../../chunks/chunk-RDBFLIVD.esm.js";import"../../chunks/chunk-KT6QQ3UJ.esm.js";import"../../chunks/chunk-4SDDAQ6N.esm.js";import"../../chunks/chunk-GXYMVUHX.esm.js";import"../../chunks/chunk-CRSMYEKV.esm.js";import"../../chunks/chunk-WKXEPDPZ.esm.js";import"../../chunks/chunk-4JM5PL3S.esm.js";import"../../chunks/chunk-UGA75LGY.esm.js";import"../../chunks/chunk-SF5BK4KT.esm.js";import"../../chunks/chunk-KO5FSKVM.esm.js";import"../../chunks/chunk-6G22RNUO.esm.js";import"../../chunks/chunk-J6F4PMW4.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{b as GlobalStyle,a as GlobalStyleComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k}from"../../chunks/chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k}from"../../chunks/chunk-GXYMVUHX.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as REDUCED_MOTION_DURATION,k as createMotion,h as defaultInputMotion,i as formatMotionDuration,j as formatMotionEasing,e as motionGlobalCss,b as motionIntentVar,c as motionVars,d as reducedMotionVars,f as viewTransitionCss,g as viewTransitionStyles};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ApollionTelemetryBoundary, configureTelemetry, createTelemetryErrorHandler, DEFAULT_TELEMETRY_CORE_VERSION, DEFAULT_TELEMETRY_ENDPOINT, DEFAULT_TELEMETRY_SAMPLE_RATE, disableTelemetry, flushTelemetry, getTelemetrySnapshot, isTelemetrySampled, recordComponentError, recordComponentMount, TELEMETRY_SESSION_KEY, useTelemetry, } from './telemetry';
|
|
2
|
+
export type { ApollionTelemetryBatch, ApollionTelemetryBoundaryProps, ApollionTelemetryComponentTiming, ApollionTelemetryConfig, ApollionTelemetryErrorInfo, ApollionTelemetryLoop, } from './telemetry';
|
|
3
|
+
export { DEFAULT_ENDPOINT_CEILINGS, DEFAULT_TELEMETRY_LIMITS, isTelemetryHostExcluded, resolveTelemetryLimits, TELEMETRY_EXCLUDED_HOSTS, TELEMETRY_LIMIT_RANGES, } from './telemetry.config';
|
|
4
|
+
export type { ApollionTelemetryLimits } from './telemetry.config';
|
|
5
|
+
export type { ApollionTelemetryLoopKind } from './telemetry.runtime';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c,b as d,c as e,d as f,e as g,f as h,g as i,h as j,i as k,j as l,l as m,m as n,n as o,o as p,q,r,s,t}from"../../chunks/chunk-WHJ4OP5O.esm.js";import{c as a,d as b}from"../../chunks/chunk-RDBFLIVD.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{t as ApollionTelemetryBoundary,i as DEFAULT_ENDPOINT_CEILINGS,c as DEFAULT_TELEMETRY_CORE_VERSION,d as DEFAULT_TELEMETRY_ENDPOINT,g as DEFAULT_TELEMETRY_LIMITS,e as DEFAULT_TELEMETRY_SAMPLE_RATE,f as TELEMETRY_EXCLUDED_HOSTS,h as TELEMETRY_LIMIT_RANGES,l as TELEMETRY_SESSION_KEY,q as configureTelemetry,s as createTelemetryErrorHandler,p as disableTelemetry,o as flushTelemetry,n as getTelemetrySnapshot,k as isTelemetryHostExcluded,m as isTelemetrySampled,b as recordComponentError,a as recordComponentMount,j as resolveTelemetryLimits,r as useTelemetry};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Engine configuration for opt-in session telemetry: defaults, loop-detection
|
|
3
|
+
* limits, the ceilings applied to the shared endpoint and the hosts that never
|
|
4
|
+
* report. Every threshold the runtime applies is read from here;
|
|
5
|
+
* `ApollionProvider` accepts partial `limits` overrides, clamped to
|
|
6
|
+
* {@link TELEMETRY_LIMIT_RANGES}.
|
|
7
|
+
*/
|
|
8
|
+
/** Version of `@apollion-dsi/core` reported with each telemetry batch. */
|
|
9
|
+
export declare const DEFAULT_TELEMETRY_CORE_VERSION = "7.11.0";
|
|
10
|
+
/**
|
|
11
|
+
* Edge endpoint receiving telemetry. The edge forwards accepted reports to the
|
|
12
|
+
* Grafana Faro collector and drops reports sent from excluded hosts.
|
|
13
|
+
*/
|
|
14
|
+
export declare const DEFAULT_TELEMETRY_ENDPOINT = "https://apollion.com.br/_t";
|
|
15
|
+
/** Fraction of browser sessions sampled by default. */
|
|
16
|
+
export declare const DEFAULT_TELEMETRY_SAMPLE_RATE = 0.01;
|
|
17
|
+
/** Application name attached to every report (`meta.app.name` in Faro). */
|
|
18
|
+
export declare const TELEMETRY_APP_NAME = "apollion-core";
|
|
19
|
+
/** Largest report body, in characters. Larger reports drop their least-mounted components. */
|
|
20
|
+
export declare const TELEMETRY_MAX_BODY_LENGTH = 15000;
|
|
21
|
+
/**
|
|
22
|
+
* Hosts that never report, together with their subdomains: the design system's
|
|
23
|
+
* own documentation, Storybook and playground, plus local development. Every
|
|
24
|
+
* `127.x.x.x` address is excluded as well.
|
|
25
|
+
*/
|
|
26
|
+
export declare const TELEMETRY_EXCLUDED_HOSTS: readonly string[];
|
|
27
|
+
/** Thresholds that bound telemetry work and flag client-side loops. Each one is reached at its value. */
|
|
28
|
+
export interface ApollionTelemetryLimits {
|
|
29
|
+
/**
|
|
30
|
+
* Distinct components tracked per page, Apollion's and yours. Further names are ignored.
|
|
31
|
+
*
|
|
32
|
+
* @default 96
|
|
33
|
+
*/
|
|
34
|
+
maxComponents: number;
|
|
35
|
+
/**
|
|
36
|
+
* Renders of one component instance inside `renderLoopWindowMs` that flag a `render_loop`.
|
|
37
|
+
*
|
|
38
|
+
* @default 300
|
|
39
|
+
*/
|
|
40
|
+
renderLoopThreshold: number;
|
|
41
|
+
/**
|
|
42
|
+
* Window, in milliseconds, for `renderLoopThreshold`.
|
|
43
|
+
*
|
|
44
|
+
* @default 1000
|
|
45
|
+
*/
|
|
46
|
+
renderLoopWindowMs: number;
|
|
47
|
+
/**
|
|
48
|
+
* Mounts of one component inside `mountLoopWindowMs` that flag a `mount_loop`.
|
|
49
|
+
*
|
|
50
|
+
* @default 5000
|
|
51
|
+
*/
|
|
52
|
+
mountLoopThreshold: number;
|
|
53
|
+
/**
|
|
54
|
+
* Window, in milliseconds, for `mountLoopThreshold`.
|
|
55
|
+
*
|
|
56
|
+
* @default 1000
|
|
57
|
+
*/
|
|
58
|
+
mountLoopWindowMs: number;
|
|
59
|
+
/**
|
|
60
|
+
* Errors of one component between two reports that flag an `error_loop`.
|
|
61
|
+
*
|
|
62
|
+
* @default 20
|
|
63
|
+
*/
|
|
64
|
+
maxErrorsPerComponent: number;
|
|
65
|
+
/**
|
|
66
|
+
* Reloads (not navigations) inside `reloadLoopWindowMs` that flag a `reload_loop` and silence the session.
|
|
67
|
+
*
|
|
68
|
+
* @default 10
|
|
69
|
+
*/
|
|
70
|
+
reloadLoopThreshold: number;
|
|
71
|
+
/**
|
|
72
|
+
* Window, in milliseconds, for `reloadLoopThreshold`.
|
|
73
|
+
*
|
|
74
|
+
* @default 60000
|
|
75
|
+
*/
|
|
76
|
+
reloadLoopWindowMs: number;
|
|
77
|
+
/**
|
|
78
|
+
* Reports per browser session. The next one flags `report_cap` and silences the session.
|
|
79
|
+
*
|
|
80
|
+
* @default 30
|
|
81
|
+
*/
|
|
82
|
+
maxReportsPerSession: number;
|
|
83
|
+
/**
|
|
84
|
+
* Loop events sent per browser session.
|
|
85
|
+
*
|
|
86
|
+
* @default 10
|
|
87
|
+
*/
|
|
88
|
+
maxLoopEventsPerSession: number;
|
|
89
|
+
/**
|
|
90
|
+
* Window, in milliseconds, that collects loop events into one request; `0` sends each right away.
|
|
91
|
+
* Hiding the tab sends what was collected with its report.
|
|
92
|
+
*
|
|
93
|
+
* @default 5000
|
|
94
|
+
*/
|
|
95
|
+
loopFlushMs: number;
|
|
96
|
+
}
|
|
97
|
+
/** Default limits. */
|
|
98
|
+
export declare const DEFAULT_TELEMETRY_LIMITS: Readonly<ApollionTelemetryLimits>;
|
|
99
|
+
/** Accepted `[min, max]` for each limit; overrides outside the range are clamped. */
|
|
100
|
+
export declare const TELEMETRY_LIMIT_RANGES: Readonly<Record<keyof ApollionTelemetryLimits, readonly [number, number]>>;
|
|
101
|
+
/**
|
|
102
|
+
* Ceilings applied when reports go to {@link DEFAULT_TELEMETRY_ENDPOINT}, a
|
|
103
|
+
* quota shared by every consuming app. A custom `endpoint` lifts them.
|
|
104
|
+
*/
|
|
105
|
+
export declare const DEFAULT_ENDPOINT_CEILINGS: Readonly<{
|
|
106
|
+
sampleRate: 0.01;
|
|
107
|
+
maxComponents: number;
|
|
108
|
+
maxReportsPerSession: number;
|
|
109
|
+
maxLoopEventsPerSession: number;
|
|
110
|
+
}>;
|
|
111
|
+
/**
|
|
112
|
+
* Merges partial overrides onto {@link DEFAULT_TELEMETRY_LIMITS}. Non-finite
|
|
113
|
+
* values fall back to the default; finite values are rounded and clamped to
|
|
114
|
+
* {@link TELEMETRY_LIMIT_RANGES}.
|
|
115
|
+
*/
|
|
116
|
+
export declare function resolveTelemetryLimits(overrides?: Partial<ApollionTelemetryLimits>): ApollionTelemetryLimits;
|
|
117
|
+
/**
|
|
118
|
+
* `true` when `hostname` is one of `hosts`, a subdomain of one, a `127.x.x.x`
|
|
119
|
+
* loopback address or empty.
|
|
120
|
+
*/
|
|
121
|
+
export declare function isTelemetryHostExcluded(hostname: string, hosts?: readonly string[]): boolean;
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ApollionTelemetryLimits } from './telemetry.config';
|
|
3
|
+
import { type ApollionTelemetryLoopKind } from './telemetry.runtime';
|
|
4
|
+
export { DEFAULT_TELEMETRY_CORE_VERSION, DEFAULT_TELEMETRY_ENDPOINT, DEFAULT_TELEMETRY_SAMPLE_RATE, } from './telemetry.config';
|
|
5
|
+
export { recordComponentError, recordComponentMount } from './telemetry.runtime';
|
|
6
|
+
/** `sessionStorage` key holding the sampling roll (`'1'` sampled, `'0'` not). */
|
|
7
|
+
export declare const TELEMETRY_SESSION_KEY = "apollion-telemetry-sampled";
|
|
8
|
+
/** A client-side loop flagged in the session. */
|
|
9
|
+
export interface ApollionTelemetryLoop {
|
|
10
|
+
/** What looped: renders, mounts, errors, reloads, or reports. */
|
|
11
|
+
kind: ApollionTelemetryLoopKind;
|
|
12
|
+
/** Component the loop was attributed to (`'*'` for session-wide loops). */
|
|
13
|
+
component: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Time from a component's first render to its commit, in milliseconds. It
|
|
17
|
+
* includes its children and the rest of the tree rendered in the same commit,
|
|
18
|
+
* so it ranks slow pages and heavy subtrees rather than isolating one
|
|
19
|
+
* component's own cost.
|
|
20
|
+
*/
|
|
21
|
+
export interface ApollionTelemetryComponentTiming {
|
|
22
|
+
/** Mounts with a measured duration. */
|
|
23
|
+
count: number;
|
|
24
|
+
/** Sum of the measured durations. */
|
|
25
|
+
sumMs: number;
|
|
26
|
+
/** Longest measured duration. */
|
|
27
|
+
maxMs: number;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Anonymous telemetry batch for the period since the previous report.
|
|
31
|
+
* Contains only the package version, an optional anonymous app slug, component
|
|
32
|
+
* mount counts and times, error counts and flagged loops — never cookies,
|
|
33
|
+
* user identifiers, page URLs or DOM text.
|
|
34
|
+
*/
|
|
35
|
+
export interface ApollionTelemetryBatch {
|
|
36
|
+
/** Package version of `@apollion-dsi/core`. */
|
|
37
|
+
v: string;
|
|
38
|
+
/** Optional anonymous application bucket or slug. */
|
|
39
|
+
app?: string;
|
|
40
|
+
/** Component mount counts (`{ Button: 12, Modal: 1 }`). */
|
|
41
|
+
c: Record<string, number>;
|
|
42
|
+
/** Errors thrown by the component itself (`{ DataTable: 1 }`). */
|
|
43
|
+
e: Record<string, number>;
|
|
44
|
+
/** Errors thrown below the component: app children or its uninstrumented internal parts. */
|
|
45
|
+
w: Record<string, number>;
|
|
46
|
+
/** Time from first render to commit of the mounts, per component. */
|
|
47
|
+
t: Record<string, ApollionTelemetryComponentTiming>;
|
|
48
|
+
/** Loops flagged since the previous report. Each one was already sent on its own when flagged. */
|
|
49
|
+
loops: ApollionTelemetryLoop[];
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Opt-in configuration for anonymous browser session telemetry on
|
|
53
|
+
* `ApollionProvider`.
|
|
54
|
+
*
|
|
55
|
+
* With the default endpoint under a strict Content Security Policy, allow
|
|
56
|
+
* `connect-src https://apollion.com.br/_t`.
|
|
57
|
+
*/
|
|
58
|
+
export interface ApollionTelemetryConfig {
|
|
59
|
+
/**
|
|
60
|
+
* Enables anonymous session sampling when `true`. Disabled by default so
|
|
61
|
+
* consumer applications never emit network requests without explicit opt-in.
|
|
62
|
+
* Turning it off clears every telemetry key from `sessionStorage`.
|
|
63
|
+
*
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
enabled?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Fraction of browser sessions sampled (`0` to `1`), rolled once per
|
|
69
|
+
* `sessionStorage` lifetime. Capped at `0.01` on the shared endpoint (any
|
|
70
|
+
* `apollion.com.br` host).
|
|
71
|
+
*
|
|
72
|
+
* @default 0.01
|
|
73
|
+
*/
|
|
74
|
+
sampleRate?: number;
|
|
75
|
+
/**
|
|
76
|
+
* Endpoint (`https://` or a same-origin path starting with `/`) receiving
|
|
77
|
+
* each report as a Grafana Faro JSON `POST` sent as `text/plain`, with the
|
|
78
|
+
* anonymous session id in the `s` query parameter. Pass `''` to keep reports
|
|
79
|
+
* on the page: nothing is sent, `onReport` still runs, and excluded hosts
|
|
80
|
+
* such as `localhost` are sampled too. An invalid value sends nothing.
|
|
81
|
+
*
|
|
82
|
+
* @default 'https://apollion.com.br/_t'
|
|
83
|
+
*/
|
|
84
|
+
endpoint?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Anonymous application slug. Characters outside `A-Z a-z 0-9 _ . -` are
|
|
87
|
+
* removed and the value is cut to 48 characters. Use a static literal, never
|
|
88
|
+
* user data.
|
|
89
|
+
*
|
|
90
|
+
* @default undefined
|
|
91
|
+
*/
|
|
92
|
+
app?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Partial overrides of the loop-detection limits, clamped to the accepted
|
|
95
|
+
* ranges. On the shared endpoint (any `apollion.com.br` host) `maxComponents`, `maxReportsPerSession`
|
|
96
|
+
* and `maxLoopEventsPerSession` are also capped at their defaults
|
|
97
|
+
* (`DEFAULT_ENDPOINT_CEILINGS`). Unset keys keep the engine defaults.
|
|
98
|
+
*
|
|
99
|
+
* @default DEFAULT_TELEMETRY_LIMITS
|
|
100
|
+
*/
|
|
101
|
+
limits?: Partial<ApollionTelemetryLimits>;
|
|
102
|
+
/**
|
|
103
|
+
* Extra hosts (and their subdomains) that never report — staging or preview
|
|
104
|
+
* domains, for instance. The design system's own domain and local hosts are
|
|
105
|
+
* always excluded.
|
|
106
|
+
*
|
|
107
|
+
* @default undefined
|
|
108
|
+
*/
|
|
109
|
+
excludeHosts?: string[];
|
|
110
|
+
/**
|
|
111
|
+
* Called with each batch, before it is sent. The provider always calls the
|
|
112
|
+
* latest function, so an inline callback is fine.
|
|
113
|
+
*
|
|
114
|
+
* @default undefined
|
|
115
|
+
*/
|
|
116
|
+
onReport?: (payload: ApollionTelemetryBatch) => void;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Activates telemetry synchronously so the first render of the tree is
|
|
120
|
+
* already measured. Idempotent; registers no listeners. Returns whether the
|
|
121
|
+
* session is sampled and active.
|
|
122
|
+
*
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
export declare function primeTelemetry(config?: ApollionTelemetryConfig, owner?: object): boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Returns `true` when telemetry is enabled and the current browser session was
|
|
128
|
+
* selected by the sampling roll.
|
|
129
|
+
*/
|
|
130
|
+
export declare const isTelemetrySampled: () => boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Returns the batch accumulated since the previous report, without resetting it.
|
|
133
|
+
*/
|
|
134
|
+
export declare const getTelemetrySnapshot: () => ApollionTelemetryBatch;
|
|
135
|
+
/**
|
|
136
|
+
* Hands the batch accumulated since the previous report to `onReport` and the
|
|
137
|
+
* endpoint, then resets the counters. Loop flags still being collected travel
|
|
138
|
+
* in the same request; flags already sent are listed for `onReport` only.
|
|
139
|
+
* Returns `null` when there is nothing to report or the session reached
|
|
140
|
+
* `maxReportsPerSession`.
|
|
141
|
+
*/
|
|
142
|
+
export declare function flushTelemetry(): ApollionTelemetryBatch | null;
|
|
143
|
+
/**
|
|
144
|
+
* Disables telemetry, clears in-memory counters and removes every telemetry
|
|
145
|
+
* key from `sessionStorage` when consent is revoked.
|
|
146
|
+
*/
|
|
147
|
+
export declare function disableTelemetry(): void;
|
|
148
|
+
/**
|
|
149
|
+
* Releases a provider's hold on the session when it unmounts. Counting stops
|
|
150
|
+
* only when no provider that primed it is left (a remount with a new `key`
|
|
151
|
+
* primes before the old one releases). Counters and session state are kept.
|
|
152
|
+
*
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
export declare function pauseTelemetry(owner?: object): void;
|
|
156
|
+
/**
|
|
157
|
+
* Initializes opt-in session telemetry and registers `pagehide` /
|
|
158
|
+
* `visibilitychange` report listeners. The returned cleanup removes the
|
|
159
|
+
* listeners only; call {@link disableTelemetry} to revoke.
|
|
160
|
+
*/
|
|
161
|
+
export declare function configureTelemetry(config?: ApollionTelemetryConfig, owner?: object): () => void;
|
|
162
|
+
/**
|
|
163
|
+
* Instruments a custom component like the design system's own: counts its
|
|
164
|
+
* mounts, measures the time from its first render to its commit and flags
|
|
165
|
+
* render loops in a sampled session. Call it as the first statement of the
|
|
166
|
+
* component, unconditionally, and destructure props after it (not in the
|
|
167
|
+
* parameters) so errors are attributed in minified builds.
|
|
168
|
+
*
|
|
169
|
+
* @param componentName - Static name reported for the component, reduced to
|
|
170
|
+
* `A-Z a-z 0-9 _ . -` and 48 characters. It shares `maxComponents` with
|
|
171
|
+
* Apollion's components; avoid their names.
|
|
172
|
+
* @returns `isSampled` — whether this session reports; `recordMount` and
|
|
173
|
+
* `recordError` — manual records under any name.
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* ```tsx
|
|
177
|
+
* const OrderCard = () => {
|
|
178
|
+
* useTelemetry('OrderCard');
|
|
179
|
+
* return <Card />;
|
|
180
|
+
* };
|
|
181
|
+
* ```
|
|
182
|
+
*/
|
|
183
|
+
export declare function useTelemetry(componentName?: string): {
|
|
184
|
+
isSampled: boolean;
|
|
185
|
+
recordMount: (name: string, durationMs?: number) => void;
|
|
186
|
+
recordError: (name: string, errorKind?: string) => void;
|
|
187
|
+
};
|
|
188
|
+
/** Error details React passes to `createRoot` error callbacks. */
|
|
189
|
+
export interface ApollionTelemetryErrorInfo {
|
|
190
|
+
/** Component stack of the error, innermost frame first. */
|
|
191
|
+
componentStack?: string | null;
|
|
192
|
+
/** Boundary that caught the error (`onCaughtError` only). */
|
|
193
|
+
errorBoundary?: unknown;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Wraps a React root error callback (`onCaughtError`, `onUncaughtError` or
|
|
197
|
+
* `onRecoverableError` of `createRoot` / `hydrateRoot`) so each error is
|
|
198
|
+
* counted against the innermost instrumented component in its component stack
|
|
199
|
+
* (Apollion's, or a name given to `useTelemetry`): in `e` when that component
|
|
200
|
+
* threw itself, in `w` when code below it threw (an app child, or one of its
|
|
201
|
+
* uninstrumented internal parts), or as `unattributed`. Errors already counted by an
|
|
202
|
+
* `ApollionTelemetryBoundary` are not counted again.
|
|
203
|
+
*
|
|
204
|
+
* @param next - The callback to keep. Without it, the handler does what React
|
|
205
|
+
* does by default: `console.error` for caught errors, `reportError` for the
|
|
206
|
+
* rest.
|
|
207
|
+
* @returns A callback to pass to the root option.
|
|
208
|
+
*
|
|
209
|
+
* @example
|
|
210
|
+
* ```tsx
|
|
211
|
+
* createRoot(container, {
|
|
212
|
+
* onUncaughtError: createTelemetryErrorHandler(),
|
|
213
|
+
* onCaughtError: createTelemetryErrorHandler(),
|
|
214
|
+
* });
|
|
215
|
+
* ```
|
|
216
|
+
*/
|
|
217
|
+
export declare function createTelemetryErrorHandler(next?: (error: unknown, errorInfo: ApollionTelemetryErrorInfo) => void): (error: unknown, errorInfo: ApollionTelemetryErrorInfo) => void;
|
|
218
|
+
/**
|
|
219
|
+
* Resets internal telemetry state for unit tests.
|
|
220
|
+
*
|
|
221
|
+
* @internal
|
|
222
|
+
*/
|
|
223
|
+
export declare function resetTelemetryForTests(): void;
|
|
224
|
+
/**
|
|
225
|
+
* Props for {@link ApollionTelemetryBoundary}.
|
|
226
|
+
*/
|
|
227
|
+
export interface ApollionTelemetryBoundaryProps {
|
|
228
|
+
/** Name the caught errors are counted under. Use a static literal. */
|
|
229
|
+
component: string;
|
|
230
|
+
/**
|
|
231
|
+
* UI rendered after an error is caught.
|
|
232
|
+
*
|
|
233
|
+
* @default null
|
|
234
|
+
*/
|
|
235
|
+
fallback?: React.ReactNode;
|
|
236
|
+
/**
|
|
237
|
+
* Re-throws the error to the nearest error boundary above after counting it,
|
|
238
|
+
* instead of rendering `fallback`, so the app keeps its own error handling.
|
|
239
|
+
*
|
|
240
|
+
* @default false
|
|
241
|
+
*/
|
|
242
|
+
rethrow?: boolean;
|
|
243
|
+
children?: React.ReactNode;
|
|
244
|
+
}
|
|
245
|
+
interface BoundaryState {
|
|
246
|
+
error: unknown;
|
|
247
|
+
hasError: boolean;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Error boundary that counts uncaught render errors as own errors (`e`) under a
|
|
251
|
+
* component name in the active sampled session. It renders `fallback` (default `null`) after an
|
|
252
|
+
* error, or re-throws to the boundary above with `rethrow`.
|
|
253
|
+
*/
|
|
254
|
+
export declare class ApollionTelemetryBoundary extends React.Component<ApollionTelemetryBoundaryProps, BoundaryState> {
|
|
255
|
+
state: BoundaryState;
|
|
256
|
+
private recorded;
|
|
257
|
+
static getDerivedStateFromError(error: unknown): BoundaryState;
|
|
258
|
+
private record;
|
|
259
|
+
componentDidCatch(error: unknown): void;
|
|
260
|
+
render(): React.ReactNode;
|
|
261
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { ApollionTelemetryLimits } from './telemetry.config';
|
|
2
|
+
/** Kind of client-side loop flagged by the telemetry runtime. */
|
|
3
|
+
export type ApollionTelemetryLoopKind = 'render_loop' | 'mount_loop' | 'error_loop' | 'reload_loop' | 'report_cap';
|
|
4
|
+
/** Per-component counters accumulated between two reports. */
|
|
5
|
+
export interface ComponentTelemetryStats {
|
|
6
|
+
mounts: number;
|
|
7
|
+
mountMsSum: number;
|
|
8
|
+
mountMsMax: number;
|
|
9
|
+
timedMounts: number;
|
|
10
|
+
errors: number;
|
|
11
|
+
errorsWithin: number;
|
|
12
|
+
mountWindowStart: number;
|
|
13
|
+
mountWindowCount: number;
|
|
14
|
+
muted: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface TelemetryRuntimeState {
|
|
17
|
+
active: boolean;
|
|
18
|
+
limits: ApollionTelemetryLimits | null;
|
|
19
|
+
stats: Map<string, ComponentTelemetryStats>;
|
|
20
|
+
names: Set<string>;
|
|
21
|
+
callSites: Map<string, string>;
|
|
22
|
+
onLoop: ((kind: ApollionTelemetryLoopKind, component: string) => void) | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Shared state between the per-component hook (this file, imported by every
|
|
26
|
+
* component) and the engine in `telemetry.ts` (imported by the provider).
|
|
27
|
+
*
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
export declare const telemetryRuntime: TelemetryRuntimeState;
|
|
31
|
+
/**
|
|
32
|
+
* Reduces a name to `[A-Za-z0-9_.-]`, at most 48 characters. Returns `''` for
|
|
33
|
+
* empty or reserved names.
|
|
34
|
+
*
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
export declare const cleanTelemetryId: (raw: string) => string;
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const telemetryNow: () => number;
|
|
40
|
+
/**
|
|
41
|
+
* Records one component mount in the active sampled session, with the time
|
|
42
|
+
* from its first render to its commit when known. Does nothing outside a sampled session.
|
|
43
|
+
*/
|
|
44
|
+
export declare const recordComponentMount: (componentName: string, durationMs?: number) => void;
|
|
45
|
+
/**
|
|
46
|
+
* Records one uncaught render error thrown by a component itself in the active
|
|
47
|
+
* sampled session.
|
|
48
|
+
*/
|
|
49
|
+
export declare const recordComponentError: (componentName: string, _errorKind?: string) => void;
|
|
50
|
+
/**
|
|
51
|
+
* Records one error thrown by other code rendered inside a component (an app
|
|
52
|
+
* child, for instance) in the active sampled session.
|
|
53
|
+
*
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
export declare const recordComponentErrorWithin: (componentName: string) => void;
|
|
57
|
+
/**
|
|
58
|
+
* `file:line:col` of a stack frame (`at Name (url:1:2)`, `at url:1:2` or
|
|
59
|
+
* `Name@url:1:2`), or `''`.
|
|
60
|
+
*
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
export declare const frameLocation: (frame: string) => string;
|
|
64
|
+
/**
|
|
65
|
+
* Per-component instrumentation: counts the mount, measures the time from the
|
|
66
|
+
* component's first render to its commit, and flags render loops of this
|
|
67
|
+
* instance. Outside a sampled session it costs one ref, a boolean check per
|
|
68
|
+
* render and a mount-only effect that returns after the same check. Every
|
|
69
|
+
* failure is swallowed.
|
|
70
|
+
*
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
export declare function useComponentTelemetry(componentName: string): void;
|
|
74
|
+
export {};
|
|
@@ -15,6 +15,7 @@ import { MotionInput, MotionThemeInterface } from '../Motion';
|
|
|
15
15
|
import { SemanticLayer } from '../Semantic';
|
|
16
16
|
import { SpacingInput, SpacingThemeInterface } from '../Spacing';
|
|
17
17
|
import type { SurfaceMode } from '../Surface';
|
|
18
|
+
import type { ApollionTelemetryConfig } from '../Telemetry';
|
|
18
19
|
import type { TextSize } from '../TextSize';
|
|
19
20
|
export interface ThemeInputsInterface {
|
|
20
21
|
breakpoints?: BreakpointInput;
|
|
@@ -358,6 +359,20 @@ export interface ApollionProviderInterface {
|
|
|
358
359
|
* @see ../TextSize/TextSize.interface.ts
|
|
359
360
|
*/
|
|
360
361
|
textSize?: TextSize;
|
|
362
|
+
/**
|
|
363
|
+
* Opt-in anonymous session telemetry, reported to Grafana Faro through the
|
|
364
|
+
* `/_t` edge — see the Telemetry guide (`/docs/concept-telemetry`). Disabled
|
|
365
|
+
* by default. When enabled, rolls once per browser session (`sampleRate`,
|
|
366
|
+
* default `0.01`); a sampled session counts component mounts and
|
|
367
|
+
* first-render-to-commit time, flags render, mount, error and reload loops
|
|
368
|
+
* (`limits`), and reports each time the tab is hidden or closed. Errors are
|
|
369
|
+
* counted through `createTelemetryErrorHandler` or `ApollionTelemetryBoundary`.
|
|
370
|
+
* Pages on `apollion.com.br` and local hosts never report (unless `endpoint` is `''`).
|
|
371
|
+
*
|
|
372
|
+
* @default undefined
|
|
373
|
+
* @see ../Telemetry/telemetry.config.ts
|
|
374
|
+
*/
|
|
375
|
+
telemetry?: ApollionTelemetryConfig;
|
|
361
376
|
children?: React.ReactNode;
|
|
362
377
|
}
|
|
363
378
|
export interface ApollionThemeContext {
|