@astryx-vue/core 0.25.0 → 0.26.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/dist/AlertDialog/index.js +1 -1
- package/dist/{AlertDialog-Cub9_aPC.js → AlertDialog-Sku86l_R.js} +191 -5
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-D62A7lqZ.js → AppShell-CJWvaqgZ.js} +5 -5
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-BKoSK75s.js → Avatar-C5KaulzE.js} +1 -1
- package/dist/AvatarGroup/index.d.ts +1 -1
- package/dist/Badge/index.d.ts +1 -2
- package/dist/Banner/index.d.ts +1 -1
- package/dist/BottomSheet/index.d.ts +1 -1
- package/dist/BottomSheet/index.js +2 -2
- package/dist/{BottomSheet-DGhRZLw4.js → BottomSheet-BtuF3uH6.js} +6 -3
- package/dist/{BottomSheet-CpLYy3vb.js → BottomSheet-DKrJyrhw.js} +1 -1
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/{Breadcrumbs-D-nHDHV8.js → Breadcrumbs-Cvzwy6sZ.js} +1 -1
- package/dist/Button/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/Chat/index.js +1 -1
- package/dist/{Chat-U1qq8gkF.js → Chat-BIHEfSec.js} +202 -40
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxInput/index.js +1 -1
- package/dist/{CheckboxInput-qm6lkjAw.js → CheckboxInput-wmX3Ekj-.js} +5 -5
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/CheckboxList/index.js +1 -1
- package/dist/{CheckboxList-DuCKhJHJ.js → CheckboxList-JWXHHU-u.js} +4 -4
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/Collapsible/index.js +1 -1
- package/dist/{Collapsible-BmUloCSR.js → Collapsible-BDCJRfFN.js} +2 -2
- package/dist/CommandPalette/index.js +1 -1
- package/dist/{CommandPalette-Cy7trpD3.js → CommandPalette-CJyQd7P-.js} +1 -1
- package/dist/ComplexSelector/index.d.ts +1 -1
- package/dist/ComplexSelector/index.js +1 -1
- package/dist/{ComplexSelector-DMBiVQWp.js → ComplexSelector-DIb8LjYJ.js} +4 -4
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/ContextMenu/index.js +2 -2
- package/dist/{ContextMenu-63ay7EE-.js → ContextMenu-HLvsROcS.js} +4 -4
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-B3Q91FDT.js → DateInput-D5YBijbb.js} +14 -33
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-B6Z66OsH.js → DateRangeInput-BlcHsqgx.js} +5 -5
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-B_7cn7ze.js → DateTimeInput-Bx3LWb9Y.js} +6 -6
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Dialog/index.js +3 -3
- package/dist/{Dialog-CBPD5b-S.js → Dialog-CNLEL4Mf.js} +1 -1
- package/dist/{Dialog-C4FZ7p7Q.js → Dialog-CxeXQTqH.js} +1 -1
- package/dist/{DialogHeader-CQ3pnLYi.js → DialogHeader-CjXS_wba.js} +1 -1
- package/dist/Divider/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/Drawer/index.js +1 -1
- package/dist/{Drawer-BOwQLKm9.js → Drawer-B_4HN6v5.js} +2 -2
- package/dist/DropdownMenu/index.js +3 -3
- package/dist/{DropdownMenu-9CR9TiKG.js → DropdownMenu-CvdeExRQ.js} +3 -3
- package/dist/{DropdownMenu-DwIfoTnV.js → DropdownMenu-D_fBzKvf.js} +38 -9
- package/dist/EmptyState/index.js +1 -1
- package/dist/{EmptyState-BG5g2jwJ.js → EmptyState-DUaFClsX.js} +4 -50
- package/dist/Field/index.d.ts +3 -3
- package/dist/Field/index.js +2 -2
- package/dist/{Field-eAowUUMX.js → Field-Btyrw1hd.js} +2 -2
- package/dist/{FieldLabel-CgYk-ORu.js → FieldLabel-B4l3sS4O.js} +3 -3
- package/dist/FieldStatus/index.d.ts +1 -1
- package/dist/FileInput/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-B7zeePbM.js → FileInput-BUwV9fQa.js} +135 -85
- package/dist/FormLayout/index.js +1 -1
- package/dist/{FormLayout-CGJVeNsL.js → FormLayout-0_X9o-L4.js} +1 -1
- package/dist/Heading/index.js +1 -1
- package/dist/{Heading-B1dNZQtu.js → Heading-BuZaxfIK.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InfoTip/index.js +1 -1
- package/dist/{InfoTip-LJi9llxi.js → InfoTip-BDo2xI8h.js} +1 -1
- package/dist/InputGroup/index.d.ts +1 -1
- package/dist/InputGroup/index.js +1 -1
- package/dist/{InputGroup-B8PGJZKH.js → InputGroup-1Ukiu-dg.js} +6 -6
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +1 -1
- package/dist/{InternationalizationProvider-DaZS5Dch.js → InternationalizationProvider-B2Gv5yAm.js} +1 -1
- package/dist/Link/index.d.ts +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/{Link-B75ygGzG.js → Link-ruNSnGtC.js} +1 -1
- package/dist/List/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-Cqrcj-ct.js → Markdown-C-KT_riK.js} +2 -2
- package/dist/MobileNav/index.js +1 -1
- package/dist/{MobileNavToggle-DLpEONfs.js → MobileNavToggle-BGNYwwfI.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MoreMenu/index.js +1 -1
- package/dist/{MoreMenu-aR88r9xp.js → MoreMenu-DnwzVBEE.js} +2 -2
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-UTaDe-YT.js → MultiSelector-Cl_HzKvn.js} +6 -6
- package/dist/NavItem/index.d.ts +1 -1
- package/dist/NavMenu/index.js +2 -2
- package/dist/{NavMenu-DS6y8ZAY.js → NavMenu-pCZjhMHe.js} +1 -1
- package/dist/{NavMenuItem-BqIi3o3D.js → NavMenuItem-BIqpJmH6.js} +1 -1
- package/dist/NumberInput/index.d.ts +2 -2
- package/dist/NumberInput/index.js +1 -1
- package/dist/{NumberInput-ClkOGF5j.js → NumberInput-Dz0H_XPw.js} +384 -97
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/OverflowList/index.js +1 -1
- package/dist/{OverflowList-UnVXBDIW.js → OverflowList-MCN1PhBB.js} +1 -1
- package/dist/Overlay/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/{Pagination-CTCLE02h.js → Pagination-Cq9BIzPe.js} +59 -48
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +1 -1
- package/dist/Popover-BJAyg1Qh.js +1247 -0
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BBOum0TP.js → PowerSearch-wXnusKnz.js} +14 -14
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-Bgg6zsKR.js → ProgressBar-C6x0E-BF.js} +1 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/{RadioGroup-DPy5JQhm.js → RadioGroup-LUDji_LA.js} +5 -5
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/RadioList/index.js +1 -1
- package/dist/{RadioList-UN7IxQg8.js → RadioList-CmeUUgn-.js} +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/Selector/index.js +1 -1
- package/dist/{Selector-CCtsUveZ.js → Selector-BL_JH51H.js} +6 -6
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/SideNav/index.js +2 -2
- package/dist/{SideNav-COl5ApOz.js → SideNav-DtAQA-o-.js} +5 -5
- package/dist/Slider/index.d.ts +1 -1
- package/dist/Slider/index.js +1 -1
- package/dist/{Slider-CYie9hWm.js → Slider-DEMdW9An.js} +3 -3
- package/dist/StatusDot/index.js +1 -1
- package/dist/{StatusDot-CHfgSYmv.js → StatusDot-_rucEf3d.js} +1 -1
- package/dist/Stepper/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/{Switch-D24CvhDS.js → Switch-BxRYZTQV.js} +5 -5
- package/dist/TabList/index.d.ts +1 -1
- package/dist/TabList/index.js +1 -1
- package/dist/{TabList-DToCh5JW.js → TabList-D8KzfcGB.js} +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-D3mzxBr0.js → Table-DYDBgr3y.js} +14 -14
- package/dist/Text/index.js +1 -1
- package/dist/{Text-5p-eZodt.js → Text-CHauN5So.js} +1 -1
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/{TextArea-Bp6D-riO.js → TextArea-BJl6YH4p.js} +53 -19
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +1 -1
- package/dist/{TextInput-BYslwBDZ.js → TextInput-CGOVY0Zk.js} +77 -33
- package/dist/Theme/index.d.ts +2 -2
- package/dist/Thumbnail/index.js +1 -1
- package/dist/{Thumbnail-B_a8tOS7.js → Thumbnail-C3MvJ67s.js} +1 -1
- package/dist/{TimeField-MDSJny9m.js → TimeField-C2of7Ok5.js} +12 -31
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-B19amuxi.js → TimeInput-B_YY-IHW.js} +3 -3
- package/dist/Timer/index.js +1 -1
- package/dist/{Timer-BD3tfzrF.js → Timer-OULaFQFf.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +1 -1
- package/dist/{Timestamp-CqWoZUKM.js → Timestamp-B6J0nfYH.js} +1 -1
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Tokenizer/index.d.ts +1 -1
- package/dist/Tokenizer/index.js +1 -1
- package/dist/{Tokenizer-C-eorFsF.js → Tokenizer-CSmIMDc4.js} +2 -2
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/{Tooltip-88zhGfzF.js → Tooltip-gT9_hIEv.js} +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/TopNav/index.js +1 -1
- package/dist/{TopNav-DMFIsFwy.js → TopNav-BsrhSbkn.js} +2 -2
- package/dist/TreeList/index.d.ts +1 -1
- package/dist/TreeList/index.js +1 -1
- package/dist/{TreeList-nU2gSmQm.js → TreeList-BEPHdVYu.js} +2 -2
- package/dist/Typeahead/index.d.ts +2 -2
- package/dist/Typeahead/index.js +1 -1
- package/dist/{Typeahead-DUQfmy_r.js → Typeahead-CdLc7S2v.js} +3 -3
- package/dist/{types-fRasDCe4.d.ts → adaptationTypes-Cn_pfrsw.d.ts} +155 -155
- package/dist/animator-BooLoGyI.js +3164 -0
- package/dist/announceRenderedText-CslZ0cev.js +50 -0
- package/dist/{assertOptions-DVRsfCk1.js → assertOptions-CFn7Gdcr.js} +1 -1
- package/dist/{batch-DR5SgbnX.js → batch-CM-vJhQg.js} +2 -278
- package/dist/{handle-ma1yF_B_.js → bezier-Cts7gENO.js} +1 -21
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.js +3 -3
- package/dist/{composables-Do86VAmM.js → composables-D9DVeNnL.js} +4 -3162
- package/dist/{context-DsNhYm5O.js → context-CrVCeUUK.js} +1 -1
- package/dist/context-DH8E-qjm.js +173 -0
- package/dist/{edge-qfeek_VV.js → edge-BYXwSggM.js} +1 -1
- package/dist/{edgeRide-iWUNdlxe.js → edgeRide-B5mlN2Q4.js} +3 -3
- package/dist/escape-DzSxSmez.js +10 -0
- package/dist/{field-CehUqCe0.js → field-BaUBjqf5.js} +4 -2
- package/dist/{fieldParts-CbWvZLhH.js → fieldParts-CuE5V12i.js} +1 -1
- package/dist/handle-BazRxHwq.js +22 -0
- package/dist/holdEntranceInput-DMCOeRqu.js +37 -0
- package/dist/{index-CuW4AQ7M.d.ts → index--kbwaSXW.d.ts} +1 -1
- package/dist/{index-CsYDrQ9R.d.ts → index-668zPVsH.d.ts} +1 -1
- package/dist/{index-_FjbcSgD.d.ts → index-7Q-wnbe7.d.ts} +1 -1
- package/dist/{index-CO9GW-ik.d.ts → index-B-3EGjfQ.d.ts} +1 -1
- package/dist/{index-Dcxqzk_d.d.ts → index-B3uBbehw.d.ts} +4 -4
- package/dist/{index-CnVjgLP5.d.ts → index-BCW6qCcS.d.ts} +1 -1
- package/dist/{index-QnlWyUxN.d.ts → index-BFGtLIp8.d.ts} +2 -2
- package/dist/{index-DDAcxZAP.d.ts → index-BZUVNr2c.d.ts} +1 -1
- package/dist/{index-BhdxP-OG.d.ts → index-BcRvRqWU.d.ts} +2 -2
- package/dist/{index-CEjvYAUZ.d.ts → index-BenG-F5d.d.ts} +1 -1
- package/dist/{index-ZKBj_1nu.d.ts → index-BfFpUr1B.d.ts} +1 -1
- package/dist/{index-DofC9Rll.d.ts → index-BtqvPjAf.d.ts} +1 -1
- package/dist/{index-BDZCJ9ri.d.ts → index-BuubzuE8.d.ts} +2 -2
- package/dist/{index-BtgkNd0Q.d.ts → index-C2HVLdNb.d.ts} +2 -2
- package/dist/{index-mK1ICsVg.d.ts → index-C3JmGujU.d.ts} +1 -1
- package/dist/{index-CKnr0JlT.d.ts → index-C4S65SAW.d.ts} +1 -1
- package/dist/{index-D05JGsT3.d.ts → index-C8wfe0Mr.d.ts} +1 -1
- package/dist/{index-CiVrhGUJ.d.ts → index-C9ZssPUV.d.ts} +1 -1
- package/dist/{index-CbA8rR_b.d.ts → index-CBOv5j3c.d.ts} +1 -1
- package/dist/{index-BfoazhEu.d.ts → index-CTXG-KKT.d.ts} +1 -1
- package/dist/{index-COgrQZIL.d.ts → index-CdvmnNMH.d.ts} +1 -1
- package/dist/{index-lmd9LZKB.d.ts → index-ClJINYPl.d.ts} +5 -2
- package/dist/index-CuFLztiI.d.ts +49 -0
- package/dist/{index-BxWCX2pJ.d.ts → index-DFLPv9io.d.ts} +3 -3
- package/dist/index-DHUCHxn2.d.ts +69 -0
- package/dist/{index-B52PMrO7.d.ts → index-DHsYyqMP.d.ts} +3 -3
- package/dist/{index-GmoeIuhl.d.ts → index-DMZ5SKJJ.d.ts} +35 -3
- package/dist/{index-DYabo8TI.d.ts → index-DPhQZXYw.d.ts} +1 -1
- package/dist/{index-BjmMJ_4E.d.ts → index-DSEEgvak.d.ts} +1149 -211
- package/dist/{index-DxR6cZBf.d.ts → index-DZCpswvp.d.ts} +1 -1
- package/dist/{index-etx25Eq-.d.ts → index-NOxH5oYj.d.ts} +1 -1
- package/dist/{index-CH-xSiJz.d.ts → index-XY0rleGM.d.ts} +2 -2
- package/dist/{index-0RIgvtdm.d.ts → index-ZXrvTM3A.d.ts} +2 -2
- package/dist/{index-DGXCnzOL.d.ts → index-aHC2C89h.d.ts} +1 -1
- package/dist/{index-0pBqcQXV.d.ts → index-tpkJfk6X.d.ts} +6 -1
- package/dist/index.d.ts +44 -45
- package/dist/index.js +74 -74
- package/dist/{holdEntranceInput-DjEzfGRU.js → inputHold-BmChuR9x.js} +87 -85
- package/dist/inputHoldState-pblUT4oh.js +39 -0
- package/dist/{landing-qVsYAZ-v.js → landing-B9Uvex6x.js} +3 -2
- package/dist/lazyBottomSheet-CL_PrTxb.js +16 -0
- package/dist/{loadCatalog-C8mRnC0E.d.ts → loadCatalog-2Hu-xisJ.d.ts} +2 -0
- package/dist/{loadCatalog-BeQt6Uq-.js → loadCatalog-umh_C97k.js} +2 -1
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/index.js +3 -3
- package/dist/{locale-B4FpGKpc.js → locale-BDPlcO62.js} +1 -1
- package/dist/{useHeldPresentation-fQsuYFhz.js → presentationHold-7IkbR4d8.js} +14 -22
- package/dist/progress-FQfSgLZC.js +38 -0
- package/dist/renderedText-BwJdmps3.js +32 -0
- package/dist/textEntryTraits-cb0LZSNl.js +11 -0
- package/dist/themeTiming-CWEvdh31.js +287 -0
- package/dist/{context-WY1ippwe.js → transientCopy-VAsg2a46.js} +1 -172
- package/dist/{types-OGMYGejX.d.ts → types-BA1veIoa.d.ts} +25 -2
- package/dist/{types-bAQk3F8G.d.ts → types-Cvh2VwQZ.d.ts} +4 -2
- package/dist/{types-C1ydeFiu.d.ts → types-DL-hRibg.d.ts} +1 -1
- package/dist/{useChatStreamScroll-BIMKffDA.js → useChatStreamScroll-Cv51kRT0.js} +91 -30
- package/dist/useEntryErrorReport-Wee3N8IA.js +51 -0
- package/dist/useHeldPresentation-7MH-RlSF.js +24 -0
- package/dist/{useInputStatusIcon-B6m_t8cK.d.ts → useInputStatusIcon-CFkOmDS4.d.ts} +1 -1
- package/dist/{useMenuDrillIn-CDn2na4X.js → useMenuDrillIn-CP0P49ej.js} +1 -1
- package/dist/{useMenuPress-CxUqSUZ9.js → useMenuPress-Di_3jhOx.js} +3 -1
- package/dist/{useTooltip-CJHbG8Pv.js → useTooltip-BpBMQ815.js} +2 -32
- package/dist/{useTruncationTooltip-BTcr1LCR.js → useTruncationTooltip-t5G978XB.js} +2 -2
- package/package.json +1 -1
- package/styles/alert-dialog.css +5 -0
- package/styles/chat.css +45 -17
- package/styles/dropdown-menu.css +47 -38
- package/styles/file-input.css +8 -1
- package/styles/input-group.css +0 -15
- package/styles/number-input.css +49 -4
- package/styles/pagination.css +0 -22
- package/styles/popover.css +13 -0
- package/styles/text-area.css +16 -1
- package/styles/text-input.css +26 -5
- package/dist/Popover-CZvRSqqD.js +0 -374
- package/dist/index-B63NOJRc.d.ts +0 -957
- package/dist/index-B9WzWqzk.d.ts +0 -18
- package/dist/types-DIYwbkpe.d.ts +0 -33
- package/dist/{index-CHx33xGa.d.ts → index-BqhgeAT4.d.ts} +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as _sfc_main$1, t as useTooltip } from "./useTooltip-BpBMQ815.js";
|
|
2
2
|
import { Fragment, Teleport, computed, createElementBlock, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, nextTick, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, unref, useAttrs, watch, withCtx } from "vue";
|
|
3
3
|
import "../styles/tooltip.css";
|
|
4
4
|
//#region src/Tooltip/Tooltip.vue
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-DSEEgvak.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
package/dist/TopNav/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-
|
|
1
|
+
import { a as _sfc_main$2, i as _sfc_main$3, n as _sfc_main$5, o as _sfc_main$1, r as _sfc_main$4, s as _sfc_main, t as _sfc_main$6 } from "../TopNav-BsrhSbkn.js";
|
|
2
2
|
export { _sfc_main as TopNav, _sfc_main$1 as TopNavHeading, _sfc_main$2 as TopNavItem, _sfc_main$3 as TopNavMegaMenu, _sfc_main$4 as TopNavMegaMenuFeaturedCard, _sfc_main$5 as TopNavMegaMenuItem, _sfc_main$6 as TopNavMenu };
|
|
@@ -7,13 +7,13 @@ import { t as useListFocus } from "./useListFocus-CkHfsZp0.js";
|
|
|
7
7
|
import { n as useAppShellMobile } from "./useAppShellMobile-DTsyuAJ4.js";
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { t as navMessages } from "./nav-DpKQUHqR.js";
|
|
10
|
-
import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-
|
|
10
|
+
import { n as _sfc_main$11, t as _sfc_main$10 } from "./MobileNavToggle-BGNYwwfI.js";
|
|
11
11
|
import { n as mobileNavKey, t as mobileNavCloseKey } from "./context-D8MAZio1.js";
|
|
12
12
|
import { t as useCloseMobileDrawer } from "./closeOnActivate-D1KgKWwm.js";
|
|
13
13
|
import { i as safeNavHref, n as isNavigableHref, r as resolveNavRoot } from "./link-DuuA2eCL.js";
|
|
14
14
|
import { t as _sfc_main$12 } from "./NavItem-c1ScHEJY.js";
|
|
15
15
|
import { n as navMenuCloseKey, o as navMenuPickKey, t as _sfc_main$13 } from "./NavDisclosure-B66SHKdd.js";
|
|
16
|
-
import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-
|
|
16
|
+
import { n as _sfc_main$15, t as _sfc_main$14 } from "./NavMenuItem-BIqpJmH6.js";
|
|
17
17
|
import { t as _sfc_main$16 } from "./NavHeadingSurface-BZCzkCPJ.js";
|
|
18
18
|
import { Fragment, Teleport, Text, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, nextTick, normalizeClass, normalizeProps, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useId, useSlots, watch, withCtx, withModifiers } from "vue";
|
|
19
19
|
import "../styles/top-nav.css";
|
package/dist/TreeList/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-
|
|
1
|
+
import { a as TreeListItemData, c as TreeListVariant, i as TreeListDensity, n as useTreeFocus, o as TreeListProps, r as _default, s as TreeListSlots, t as UseTreeFocusOptions } from "../index-C4S65SAW.js";
|
|
2
2
|
export { _default as TreeList, type TreeListDensity, type TreeListItemData, type TreeListProps, type TreeListSlots, type TreeListVariant, type UseTreeFocusOptions, useTreeFocus };
|
package/dist/TreeList/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-
|
|
1
|
+
import { n as useTreeFocus, t as _sfc_main } from "../TreeList-BEPHdVYu.js";
|
|
2
2
|
export { _sfc_main as TreeList, useTreeFocus };
|
|
@@ -3,8 +3,8 @@ import { t as usePressFeedback } from "./usePressFeedback-BhNcuxQv.js";
|
|
|
3
3
|
import { i as isIconGlyph, t as _sfc_main$2 } from "./Icon-Dk0jccgU.js";
|
|
4
4
|
import { n as isSafeUrl } from "./safeUrl-CsvfcZ9m.js";
|
|
5
5
|
import { n as useLinkComponent } from "./context-C_peZbXf.js";
|
|
6
|
-
import { n as releaseLayoutExit, r as playLayoutChange, t as holdLayoutExit } from "./edgeRide-
|
|
7
|
-
import { i as reportLayoutChange, t as applyLayoutChangeTransition } from "./landing-
|
|
6
|
+
import { n as releaseLayoutExit, r as playLayoutChange, t as holdLayoutExit } from "./edgeRide-B5mlN2Q4.js";
|
|
7
|
+
import { i as reportLayoutChange, t as applyLayoutChangeTransition } from "./landing-B9Uvex6x.js";
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { n as isShortcutChord, r as nextTypeaheadBuffer, t as findTypeaheadMatch } from "./typeaheadMatch-Cl-oxKFt.js";
|
|
10
10
|
import { t as _sfc_main$3 } from "./Badge-BbPS_49c.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { c as TypeaheadSize, i as TypeaheadItemProps, l as TypeaheadSlots, r as TypeaheadEmits, s as TypeaheadProps, t as BaseTypeaheadProps, u as TypeaheadStatus } from "../types-
|
|
2
|
-
import { n as _default$1, r as _default, t as _default$2 } from "../index-
|
|
1
|
+
import { c as TypeaheadSize, i as TypeaheadItemProps, l as TypeaheadSlots, r as TypeaheadEmits, s as TypeaheadProps, t as BaseTypeaheadProps, u as TypeaheadStatus } from "../types-DL-hRibg.js";
|
|
2
|
+
import { n as _default$1, r as _default, t as _default$2 } from "../index-aHC2C89h.js";
|
|
3
3
|
export { _default as BaseTypeahead, type BaseTypeaheadProps, _default$1 as Typeahead, type TypeaheadEmits, _default$2 as TypeaheadItem, type TypeaheadItemProps, type TypeaheadProps, type TypeaheadSize, type TypeaheadSlots, type TypeaheadStatus };
|
package/dist/Typeahead/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as _sfc_main$2 } from "../useTypeaheadMenuConfig-DeDGVR8S.js";
|
|
2
|
-
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-
|
|
2
|
+
import { n as _sfc_main, t as _sfc_main$1 } from "../Typeahead-CdLc7S2v.js";
|
|
3
3
|
export { _sfc_main as BaseTypeahead, _sfc_main$1 as Typeahead, _sfc_main$2 as TypeaheadItem };
|
|
@@ -8,10 +8,10 @@ import { t as useInputStatusIcon } from "./useInputStatusIcon-BFw-EXjJ.js";
|
|
|
8
8
|
import { o as useComponentMessages } from "./context-B8IEFCDR.js";
|
|
9
9
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
10
10
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
11
|
-
import { t as _sfc_main$4 } from "./Spinner-DEVPDsD0.js";
|
|
12
|
-
import { t as _sfc_main$5 } from "./Field-eAowUUMX.js";
|
|
13
|
-
import { t as useFieldPartStyling } from "./fieldParts-CbWvZLhH.js";
|
|
14
11
|
import { t as useBusyAnnouncement } from "./busyAnnouncement-CExubuYm.js";
|
|
12
|
+
import { t as _sfc_main$4 } from "./Spinner-DEVPDsD0.js";
|
|
13
|
+
import { t as _sfc_main$5 } from "./Field-Btyrw1hd.js";
|
|
14
|
+
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
15
15
|
import { t as typeaheadMessages } from "./typeahead-BgfLP7vR.js";
|
|
16
16
|
import { t as _sfc_main$6 } from "./Token-C7Dt5ygK.js";
|
|
17
17
|
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-D3loXLh7.js";
|
|
@@ -2,82 +2,6 @@ import { f as StoredIconEntry, p as ThemeIconEntries } from "./types-D8t_HevJ.js
|
|
|
2
2
|
import { i as SyntaxThemeDefinition } from "./syntaxTheme-CwVEcVDk.js";
|
|
3
3
|
import { c as ComponentIconStaticMap, d as StoredComponentIconValue, i as ComponentIconMap, t as SemanticIconMap } from "./semantic-Dj507RuV.js";
|
|
4
4
|
import { Component } from "vue";
|
|
5
|
-
//#region src/Indicator/types.d.ts
|
|
6
|
-
/**
|
|
7
|
-
* Each family owns its own states.
|
|
8
|
-
*
|
|
9
|
-
* A radio is only chosen or not. A checkbox can also be partial. Keeping the
|
|
10
|
-
* families apart means a radio graphic is never asked to draw a mixed state.
|
|
11
|
-
*/
|
|
12
|
-
interface IndicatorFamilyMap {
|
|
13
|
-
singleSelection: 'unchecked' | 'checked';
|
|
14
|
-
multiSelection: 'unchecked' | 'checked' | 'indeterminate';
|
|
15
|
-
}
|
|
16
|
-
type IndicatorFamily = keyof IndicatorFamilyMap & string;
|
|
17
|
-
type IndicatorState<F extends IndicatorFamily = IndicatorFamily> = IndicatorFamilyMap[F];
|
|
18
|
-
/** Matches the control sizes of the inputs that draw these graphics. */
|
|
19
|
-
type IndicatorSize = 'sm' | 'md';
|
|
20
|
-
/**
|
|
21
|
-
* Which edge of a row the mark sits on.
|
|
22
|
-
*
|
|
23
|
-
* Logical, not physical: start is the left edge in left-to-right text.
|
|
24
|
-
* The row decides this. The graphic itself has no position.
|
|
25
|
-
*/
|
|
26
|
-
type IndicatorPosition = 'start' | 'end';
|
|
27
|
-
/**
|
|
28
|
-
* Props every indicator accepts.
|
|
29
|
-
*
|
|
30
|
-
* The graphic is decorative. The control that draws it keeps the input, the
|
|
31
|
-
* role, the accessible name, and the keyboard. Hover and focus reach the
|
|
32
|
-
* graphic through the `astryx-indicator-scope` class on that control, not
|
|
33
|
-
* through a prop.
|
|
34
|
-
*/
|
|
35
|
-
interface IndicatorProps<F extends IndicatorFamily = IndicatorFamily> {
|
|
36
|
-
/** Which state to draw. The family decides which states exist. */
|
|
37
|
-
state: IndicatorState<F>;
|
|
38
|
-
/**
|
|
39
|
-
* Control size. `sm` is 20px and `md` is 24px.
|
|
40
|
-
* @default 'md'
|
|
41
|
-
*/
|
|
42
|
-
size?: IndicatorSize;
|
|
43
|
-
/**
|
|
44
|
-
* Whether the owning control is disabled. Visual only.
|
|
45
|
-
* @default false
|
|
46
|
-
*/
|
|
47
|
-
isDisabled?: boolean;
|
|
48
|
-
}
|
|
49
|
-
/** A component that can stand in for one indicator name. */
|
|
50
|
-
type IndicatorComponent<F extends IndicatorFamily = IndicatorFamily> = Component<IndicatorProps<F>>;
|
|
51
|
-
/**
|
|
52
|
-
* Names a theme can replace.
|
|
53
|
-
*
|
|
54
|
-
* Packages can add names by augmenting this interface. Core has no default
|
|
55
|
-
* for a name it does not know, so `getIndicator` returns undefined for those
|
|
56
|
-
* and the caller supplies the fallback.
|
|
57
|
-
*/
|
|
58
|
-
interface IndicatorMap {
|
|
59
|
-
/** The mark on a chosen option. A check by default, and nothing when unchosen. */
|
|
60
|
-
check: 'singleSelection';
|
|
61
|
-
/** The circle of a radio. */
|
|
62
|
-
radio: 'singleSelection';
|
|
63
|
-
/** The box of a checkbox, including the partial state. */
|
|
64
|
-
checkbox: 'multiSelection';
|
|
65
|
-
}
|
|
66
|
-
type IndicatorName = keyof IndicatorMap & string;
|
|
67
|
-
type CoreIndicatorName = 'check' | 'checkbox' | 'radio';
|
|
68
|
-
/**
|
|
69
|
-
* Theme overrides, keyed by indicator name.
|
|
70
|
-
*
|
|
71
|
-
* One entry replaces that graphic everywhere it is drawn. Mapping `check` to
|
|
72
|
-
* the radio graphic turns every single-selection mark into a radio.
|
|
73
|
-
*/
|
|
74
|
-
interface IndicatorRegistry {
|
|
75
|
-
check?: IndicatorComponent<'singleSelection'>;
|
|
76
|
-
radio?: IndicatorComponent<'singleSelection'>;
|
|
77
|
-
checkbox?: IndicatorComponent<'multiSelection'>;
|
|
78
|
-
[name: string]: Component | undefined;
|
|
79
|
-
}
|
|
80
|
-
//#endregion
|
|
81
5
|
//#region src/Theme/expandColorScale.d.ts
|
|
82
6
|
/**
|
|
83
7
|
* Palette seed for `defineTheme({ color })`.
|
|
@@ -206,90 +130,80 @@ interface ThemeMotionKnobs {
|
|
|
206
130
|
*/
|
|
207
131
|
type ThemeMotionConfig = ThemeMotionKnobs | (MotionScaleConfig & ThemeMotionKnobs);
|
|
208
132
|
//#endregion
|
|
209
|
-
//#region src/
|
|
210
|
-
/** Fixed names for viewport-width tier start points. */
|
|
211
|
-
declare const WIDTH_BREAKPOINT_NAMES: readonly ["sm", "md", "lg", "xl", "2xl"];
|
|
212
|
-
/** One fixed viewport-width breakpoint name. */
|
|
213
|
-
type WidthBreakpointName = (typeof WIDTH_BREAKPOINT_NAMES)[number];
|
|
214
|
-
/** A complete map of viewport-width tier start points, in CSS px. */
|
|
215
|
-
type WidthBreakpoints = Record<WidthBreakpointName, number>;
|
|
216
|
-
/** Default width tier start points, in CSS px. */
|
|
217
|
-
declare const DEFAULT_WIDTH_BREAKPOINTS: Readonly<WidthBreakpoints>;
|
|
218
|
-
/** `from` is inclusive, `below` is exclusive. */
|
|
219
|
-
interface ThemeAdaptationWidthCondition {
|
|
220
|
-
from?: WidthBreakpointName;
|
|
221
|
-
below?: WidthBreakpointName;
|
|
222
|
-
}
|
|
223
|
-
/** Environment fields. Every field present must match. */
|
|
224
|
-
interface ThemeAdaptationCondition {
|
|
225
|
-
/** Viewport width range, by named breakpoint. */
|
|
226
|
-
width?: ThemeAdaptationWidthCondition;
|
|
227
|
-
/** Primary pointer precision. */
|
|
228
|
-
pointer?: 'coarse' | 'fine';
|
|
229
|
-
/** `prefers-contrast`. */
|
|
230
|
-
contrast?: 'more' | 'less' | 'no-preference';
|
|
231
|
-
/** `prefers-reduced-motion`. */
|
|
232
|
-
motion?: 'reduce' | 'no-preference';
|
|
233
|
-
}
|
|
234
|
-
/** Typography inside a rule. A partial scale is completed from the root theme. */
|
|
235
|
-
interface ThemeAdaptationTypographyConfig extends Omit<TypographyConfig, 'scale'> {
|
|
236
|
-
scale?: Partial<Pick<TypeScaleConfig, 'base' | 'ratio'>>;
|
|
237
|
-
}
|
|
238
|
-
/** Theme values one rule writes while its condition matches. */
|
|
239
|
-
interface ThemeAdaptationValue {
|
|
240
|
-
/** Partial values are completed from the root theme's typography. */
|
|
241
|
-
typography?: ThemeAdaptationTypographyConfig;
|
|
242
|
-
/** Merged over the root theme's color config. */
|
|
243
|
-
color?: Partial<ColorScaleConfig>;
|
|
244
|
-
/** Completed from the root theme's radius config. */
|
|
245
|
-
radius?: Partial<RadiusScaleConfig>;
|
|
246
|
-
/** Scale fields or the `tempo` and `character` knobs, completed from the root theme's motion config. */
|
|
247
|
-
motion?: Partial<MotionScaleConfig> & ThemeMotionKnobs;
|
|
248
|
-
/** Shared token writes. */
|
|
249
|
-
tokens?: ThemeTokens;
|
|
250
|
-
/** New values for theme-local tokens the root theme already declares. */
|
|
251
|
-
localTokens?: Record<string, ThemeTokenValue>;
|
|
252
|
-
/** Component style writes. */
|
|
253
|
-
components?: ComponentStyleMap;
|
|
254
|
-
}
|
|
255
|
-
/** One ordered condition-to-value rule. */
|
|
256
|
-
interface ThemeAdaptationRule {
|
|
257
|
-
when: ThemeAdaptationCondition;
|
|
258
|
-
value: ThemeAdaptationValue;
|
|
259
|
-
}
|
|
133
|
+
//#region src/Indicator/types.d.ts
|
|
260
134
|
/**
|
|
261
|
-
*
|
|
135
|
+
* Each family owns its own states.
|
|
262
136
|
*
|
|
263
|
-
*
|
|
264
|
-
*
|
|
137
|
+
* A radio is only chosen or not. A checkbox can also be partial. Keeping the
|
|
138
|
+
* families apart means a radio graphic is never asked to draw a mixed state.
|
|
265
139
|
*/
|
|
266
|
-
interface
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
rules?: ThemeAdaptationRule[];
|
|
140
|
+
interface IndicatorFamilyMap {
|
|
141
|
+
singleSelection: 'unchecked' | 'checked';
|
|
142
|
+
multiSelection: 'unchecked' | 'checked' | 'indeterminate';
|
|
270
143
|
}
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
144
|
+
type IndicatorFamily = keyof IndicatorFamilyMap & string;
|
|
145
|
+
type IndicatorState<F extends IndicatorFamily = IndicatorFamily> = IndicatorFamilyMap[F];
|
|
146
|
+
/** Matches the control sizes of the inputs that draw these graphics. */
|
|
147
|
+
type IndicatorSize = 'sm' | 'md';
|
|
148
|
+
/**
|
|
149
|
+
* Which edge of a row the mark sits on.
|
|
150
|
+
*
|
|
151
|
+
* Logical, not physical: start is the left edge in left-to-right text.
|
|
152
|
+
* The row decides this. The graphic itself has no position.
|
|
153
|
+
*/
|
|
154
|
+
type IndicatorPosition = 'start' | 'end';
|
|
155
|
+
/**
|
|
156
|
+
* Props every indicator accepts.
|
|
157
|
+
*
|
|
158
|
+
* The graphic is decorative. The control that draws it keeps the input, the
|
|
159
|
+
* role, the accessible name, and the keyboard. Hover and focus reach the
|
|
160
|
+
* graphic through the `astryx-indicator-scope` class on that control, not
|
|
161
|
+
* through a prop.
|
|
162
|
+
*/
|
|
163
|
+
interface IndicatorProps<F extends IndicatorFamily = IndicatorFamily> {
|
|
164
|
+
/** Which state to draw. The family decides which states exist. */
|
|
165
|
+
state: IndicatorState<F>;
|
|
166
|
+
/**
|
|
167
|
+
* Control size. `sm` is 20px and `md` is 24px.
|
|
168
|
+
* @default 'md'
|
|
169
|
+
*/
|
|
170
|
+
size?: IndicatorSize;
|
|
171
|
+
/**
|
|
172
|
+
* Whether the owning control is disabled. Visual only.
|
|
173
|
+
* @default false
|
|
174
|
+
*/
|
|
175
|
+
isDisabled?: boolean;
|
|
275
176
|
}
|
|
276
|
-
/**
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
177
|
+
/** A component that can stand in for one indicator name. */
|
|
178
|
+
type IndicatorComponent<F extends IndicatorFamily = IndicatorFamily> = Component<IndicatorProps<F>>;
|
|
179
|
+
/**
|
|
180
|
+
* Names a theme can replace.
|
|
181
|
+
*
|
|
182
|
+
* Packages can add names by augmenting this interface. Core has no default
|
|
183
|
+
* for a name it does not know, so `getIndicator` returns undefined for those
|
|
184
|
+
* and the caller supplies the fallback.
|
|
185
|
+
*/
|
|
186
|
+
interface IndicatorMap {
|
|
187
|
+
/** The mark on a chosen option. A check by default, and nothing when unchosen. */
|
|
188
|
+
check: 'singleSelection';
|
|
189
|
+
/** The circle of a radio. */
|
|
190
|
+
radio: 'singleSelection';
|
|
191
|
+
/** The box of a checkbox, including the partial state. */
|
|
192
|
+
checkbox: 'multiSelection';
|
|
282
193
|
}
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
194
|
+
type IndicatorName = keyof IndicatorMap & string;
|
|
195
|
+
type CoreIndicatorName = 'check' | 'checkbox' | 'radio';
|
|
196
|
+
/**
|
|
197
|
+
* Theme overrides, keyed by indicator name.
|
|
198
|
+
*
|
|
199
|
+
* One entry replaces that graphic everywhere it is drawn. Mapping `check` to
|
|
200
|
+
* the radio graphic turns every single-selection mark into a radio.
|
|
201
|
+
*/
|
|
202
|
+
interface IndicatorRegistry {
|
|
203
|
+
check?: IndicatorComponent<'singleSelection'>;
|
|
204
|
+
radio?: IndicatorComponent<'singleSelection'>;
|
|
205
|
+
checkbox?: IndicatorComponent<'multiSelection'>;
|
|
206
|
+
[name: string]: Component | undefined;
|
|
293
207
|
}
|
|
294
208
|
//#endregion
|
|
295
209
|
//#region src/Theme/types.d.ts
|
|
@@ -557,4 +471,90 @@ interface MediaThemeProps {
|
|
|
557
471
|
fallback?: 'dark' | 'light';
|
|
558
472
|
}
|
|
559
473
|
//#endregion
|
|
560
|
-
|
|
474
|
+
//#region src/Theme/adaptationTypes.d.ts
|
|
475
|
+
/** Fixed names for viewport-width tier start points. */
|
|
476
|
+
declare const WIDTH_BREAKPOINT_NAMES: readonly ["sm", "md", "lg", "xl", "2xl"];
|
|
477
|
+
/** One fixed viewport-width breakpoint name. */
|
|
478
|
+
type WidthBreakpointName = (typeof WIDTH_BREAKPOINT_NAMES)[number];
|
|
479
|
+
/** A complete map of viewport-width tier start points, in CSS px. */
|
|
480
|
+
type WidthBreakpoints = Record<WidthBreakpointName, number>;
|
|
481
|
+
/** Default width tier start points, in CSS px. */
|
|
482
|
+
declare const DEFAULT_WIDTH_BREAKPOINTS: Readonly<WidthBreakpoints>;
|
|
483
|
+
/** `from` is inclusive, `below` is exclusive. */
|
|
484
|
+
interface ThemeAdaptationWidthCondition {
|
|
485
|
+
from?: WidthBreakpointName;
|
|
486
|
+
below?: WidthBreakpointName;
|
|
487
|
+
}
|
|
488
|
+
/** Environment fields. Every field present must match. */
|
|
489
|
+
interface ThemeAdaptationCondition {
|
|
490
|
+
/** Viewport width range, by named breakpoint. */
|
|
491
|
+
width?: ThemeAdaptationWidthCondition;
|
|
492
|
+
/** Primary pointer precision. */
|
|
493
|
+
pointer?: 'coarse' | 'fine';
|
|
494
|
+
/** `prefers-contrast`. */
|
|
495
|
+
contrast?: 'more' | 'less' | 'no-preference';
|
|
496
|
+
/** `prefers-reduced-motion`. */
|
|
497
|
+
motion?: 'reduce' | 'no-preference';
|
|
498
|
+
}
|
|
499
|
+
/** Typography inside a rule. A partial scale is completed from the root theme. */
|
|
500
|
+
interface ThemeAdaptationTypographyConfig extends Omit<TypographyConfig, 'scale'> {
|
|
501
|
+
scale?: Partial<Pick<TypeScaleConfig, 'base' | 'ratio'>>;
|
|
502
|
+
}
|
|
503
|
+
/** Theme values one rule writes while its condition matches. */
|
|
504
|
+
interface ThemeAdaptationValue {
|
|
505
|
+
/** Partial values are completed from the root theme's typography. */
|
|
506
|
+
typography?: ThemeAdaptationTypographyConfig;
|
|
507
|
+
/** Merged over the root theme's color config. */
|
|
508
|
+
color?: Partial<ColorScaleConfig>;
|
|
509
|
+
/** Completed from the root theme's radius config. */
|
|
510
|
+
radius?: Partial<RadiusScaleConfig>;
|
|
511
|
+
/** Scale fields or the `tempo` and `character` knobs, completed from the root theme's motion config. */
|
|
512
|
+
motion?: Partial<MotionScaleConfig> & ThemeMotionKnobs;
|
|
513
|
+
/** Shared token writes. */
|
|
514
|
+
tokens?: ThemeTokens;
|
|
515
|
+
/** New values for theme-local tokens the root theme already declares. */
|
|
516
|
+
localTokens?: Record<string, ThemeTokenValue>;
|
|
517
|
+
/** Component style writes. */
|
|
518
|
+
components?: ComponentStyleMap;
|
|
519
|
+
}
|
|
520
|
+
/** One ordered condition-to-value rule. */
|
|
521
|
+
interface ThemeAdaptationRule {
|
|
522
|
+
when: ThemeAdaptationCondition;
|
|
523
|
+
value: ThemeAdaptationValue;
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* Environment adaptations for `defineTheme({ adaptations })`.
|
|
527
|
+
*
|
|
528
|
+
* Rules are written in order after the root theme. When several match, the
|
|
529
|
+
* later rule wins, the same way later CSS wins.
|
|
530
|
+
*/
|
|
531
|
+
interface ThemeAdaptations {
|
|
532
|
+
/** Overrides for the five width points. On its own this writes no CSS. */
|
|
533
|
+
widthBreakpoints?: Partial<WidthBreakpoints>;
|
|
534
|
+
rules?: ThemeAdaptationRule[];
|
|
535
|
+
}
|
|
536
|
+
/** Validated adaptations kept on a theme, so a child theme can re-resolve them. */
|
|
537
|
+
interface NormalizedThemeAdaptations {
|
|
538
|
+
widthBreakpoints: WidthBreakpoints;
|
|
539
|
+
rules: ThemeAdaptationRule[];
|
|
540
|
+
}
|
|
541
|
+
/** The root theme's generator configs. Rules complete their partial values from these. */
|
|
542
|
+
interface ThemeGenerativeAxes {
|
|
543
|
+
typography?: TypographyConfig;
|
|
544
|
+
color?: ColorScaleConfig;
|
|
545
|
+
radius?: RadiusScaleConfig;
|
|
546
|
+
motion?: ThemeMotionConfig;
|
|
547
|
+
}
|
|
548
|
+
/** One rule lowered to concrete writes, ready to compile. */
|
|
549
|
+
interface ResolvedThemeAdaptationRule {
|
|
550
|
+
when: ThemeAdaptationCondition;
|
|
551
|
+
/** Media query text without the `@media` keyword. */
|
|
552
|
+
query: string;
|
|
553
|
+
/** Prefixed token writes. */
|
|
554
|
+
tokens: Record<string, string>;
|
|
555
|
+
/** Theme-local token writes, by exact name. */
|
|
556
|
+
localTokens?: Record<string, string>;
|
|
557
|
+
components?: ComponentStyleMap;
|
|
558
|
+
}
|
|
559
|
+
//#endregion
|
|
560
|
+
export { IndicatorName as A, expandTypeScale as B, TypographyConfig as C, IndicatorFamily as D, IndicatorComponent as E, IndicatorState as F, ColorScaleConfig as G, expandRadiusScale as H, ThemeMotionConfig as I, expandColorScale as K, MotionCharacter as L, IndicatorProps as M, IndicatorRegistry as N, IndicatorFamilyMap as O, IndicatorSize as P, ThemeMotionKnobs as R, ThemeTokens as S, CoreIndicatorName as T, MotionScaleConfig as U, RadiusScaleConfig as V, expandMotionScale as W, ThemeIconVariant as _, ThemeAdaptationValue as a, ThemeSurfaceInput as b, WIDTH_BREAKPOINT_NAMES as c, ComponentStyleMap as d, DefineThemeInput as f, ThemeDefinition as g, StyleOverrides as h, ThemeAdaptationTypographyConfig as i, IndicatorPosition as j, IndicatorMap as k, WidthBreakpointName as l, MediaThemeProps as m, ThemeAdaptationCondition as n, ThemeAdaptationWidthCondition as o, MediaThemeMode as p, ThemeAdaptationRule as r, ThemeAdaptations as s, DEFAULT_WIDTH_BREAKPOINTS as t, WidthBreakpoints as u, ThemeMode as v, TypographyRole as w, ThemeTokenValue as x, ThemeProps as y, TypeScaleConfig as z };
|