@apollion-dsi/core 7.6.0 → 7.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -10
- package/lib/chunks/Dropdown.floating-RZKMFV6N.esm.js +1 -0
- package/lib/chunks/Notification.group-OOLQ3DCI.esm.js +1 -0
- package/lib/chunks/Tooltip.floating-ELFMKU3S.esm.js +1 -0
- package/lib/chunks/chunk-24CF72TV.esm.js +1 -0
- package/lib/chunks/chunk-2VRBBC54.esm.js +1 -0
- package/lib/chunks/{chunk-UAXSZ3UE.esm.js → chunk-2Z3UZIWZ.esm.js} +1 -1
- package/lib/chunks/chunk-3EWFXP4N.esm.js +1 -0
- package/lib/chunks/chunk-3HZLT4FV.esm.js +5 -0
- package/lib/chunks/{chunk-MTJOR4UX.esm.js → chunk-3NQ3E6K6.esm.js} +1 -1
- package/lib/chunks/chunk-47UE4K3O.esm.js +1 -0
- package/lib/chunks/{chunk-LA7VVT23.esm.js → chunk-4MBDLRIT.esm.js} +1 -1
- package/lib/chunks/{chunk-BKMH5ZKN.esm.js → chunk-4XCYWJYX.esm.js} +1 -1
- package/lib/chunks/{chunk-WCJC5AG7.esm.js → chunk-4XKKIEQL.esm.js} +1 -1
- package/lib/chunks/{chunk-VYHY4SSS.esm.js → chunk-52EZIGKB.esm.js} +1 -1
- package/lib/chunks/chunk-536CYSLZ.esm.js +1 -0
- package/lib/chunks/chunk-64VNULOI.esm.js +1 -0
- package/lib/chunks/chunk-6D5LRZHG.esm.js +1 -0
- package/lib/chunks/chunk-6PIT5MY3.esm.js +34 -0
- package/lib/chunks/chunk-6PVZ2DEN.esm.js +1 -0
- package/lib/chunks/{chunk-VR23WM3F.esm.js → chunk-7ATA5LLY.esm.js} +1 -1
- package/lib/chunks/{chunk-ITSDQBLF.esm.js → chunk-7MX2FUN4.esm.js} +1 -1
- package/lib/chunks/{chunk-VUEWNP6N.esm.js → chunk-7PPAEO52.esm.js} +1 -1
- package/lib/chunks/chunk-7PZTYH4G.esm.js +1 -0
- package/lib/chunks/{chunk-PO5YIF7A.esm.js → chunk-7YXP5WUW.esm.js} +1 -1
- package/lib/chunks/chunk-AULAOFBW.esm.js +1 -0
- package/lib/chunks/chunk-AWLWV76H.esm.js +1 -0
- package/lib/chunks/{chunk-LN65BGR5.esm.js → chunk-AWOVVB76.esm.js} +1 -1
- package/lib/chunks/chunk-B7BKUYC4.esm.js +3 -0
- package/lib/chunks/chunk-BTO37XLJ.esm.js +1 -0
- package/lib/chunks/{chunk-WDGATQZG.esm.js → chunk-BTPOCQ2L.esm.js} +1 -1
- package/lib/chunks/chunk-BUPS7DX6.esm.js +1 -0
- package/lib/chunks/chunk-CHX7ZWCF.esm.js +1 -0
- package/lib/chunks/{chunk-PB7O2NHF.esm.js → chunk-CIHS5F2A.esm.js} +1 -1
- package/lib/chunks/chunk-CTNDAXMO.esm.js +1 -0
- package/lib/chunks/{chunk-H5EZPFXA.esm.js → chunk-DJY3YRWV.esm.js} +1 -1
- package/lib/chunks/chunk-DVMAC4Z4.esm.js +1 -0
- package/lib/chunks/{chunk-J4VMAQM3.esm.js → chunk-EEPJZ62X.esm.js} +1 -1
- package/lib/chunks/{chunk-EYAGAJRL.esm.js → chunk-EU4FKCQL.esm.js} +1 -1
- package/lib/chunks/chunk-F4JQP5I6.esm.js +1 -0
- package/lib/chunks/chunk-FDF774OD.esm.js +1 -0
- package/lib/chunks/{chunk-ZDB7ECI3.esm.js → chunk-FMNMEPTI.esm.js} +1 -1
- package/lib/chunks/{chunk-HTYWYOZQ.esm.js → chunk-FOWO4QTS.esm.js} +1 -1
- package/lib/chunks/chunk-H2YBLEHV.esm.js +1 -0
- package/lib/chunks/{chunk-EW4KAYRU.esm.js → chunk-HG55HD7C.esm.js} +1 -1
- package/lib/chunks/{chunk-ZQLJ76W7.esm.js → chunk-HQG2TBRB.esm.js} +1 -1
- package/lib/chunks/{chunk-VFCCRDG4.esm.js → chunk-HZZBNAF4.esm.js} +1 -1
- package/lib/chunks/{chunk-YBKS2HAY.esm.js → chunk-IN2WB2ZK.esm.js} +1 -1
- package/lib/chunks/{chunk-JNV3RCLH.esm.js → chunk-IXYOWFP7.esm.js} +1 -1
- package/lib/chunks/chunk-JPHQLSMT.esm.js +1 -0
- package/lib/chunks/chunk-KI46FTJ7.esm.js +34 -0
- package/lib/chunks/chunk-KXU5DIBH.esm.js +1 -0
- package/lib/chunks/chunk-LB4UJSH7.esm.js +1 -0
- package/lib/chunks/{chunk-TWZWNWBQ.esm.js → chunk-LLQWVULM.esm.js} +1 -1
- package/lib/chunks/chunk-LNSQRZR7.esm.js +1 -0
- package/lib/chunks/chunk-LSLBDF5M.esm.js +1 -0
- package/lib/chunks/{chunk-4MZWYLJH.esm.js → chunk-LUVBIWXK.esm.js} +1 -1
- package/lib/chunks/chunk-M3VFZ745.esm.js +1 -0
- package/lib/chunks/chunk-N273ZLSA.esm.js +1 -0
- package/lib/chunks/{chunk-32CSTPKS.esm.js → chunk-P7ARPZBU.esm.js} +1 -1
- package/lib/chunks/{chunk-TYBUJJ6S.esm.js → chunk-PB6W2IE3.esm.js} +1 -1
- package/lib/chunks/chunk-PCQQ762I.esm.js +1 -0
- package/lib/chunks/chunk-PPM5MYBX.esm.js +1 -0
- package/lib/chunks/chunk-PPV6A2DH.esm.js +1 -0
- package/lib/chunks/{chunk-T2DH7STP.esm.js → chunk-Q3FUXFD5.esm.js} +1 -1
- package/lib/chunks/{chunk-Q2PMRBCL.esm.js → chunk-QEB4VTKV.esm.js} +1 -1
- package/lib/chunks/chunk-QRUKZL4X.esm.js +1 -0
- package/lib/chunks/chunk-QZYG7DTG.esm.js +1 -0
- package/lib/chunks/{chunk-Q3XFSLPE.esm.js → chunk-RGBJDHFM.esm.js} +1 -1
- package/lib/chunks/{chunk-VXPF6E3F.esm.js → chunk-RRTLPB5F.esm.js} +1 -1
- package/lib/chunks/chunk-S4K2XENC.esm.js +1 -0
- package/lib/chunks/{chunk-7GK5INA3.esm.js → chunk-S5ONND5F.esm.js} +1 -1
- package/lib/chunks/{chunk-P3XOIBAC.esm.js → chunk-SRBIATLE.esm.js} +1 -1
- package/lib/chunks/chunk-TBNQUDOJ.esm.js +9 -0
- package/lib/chunks/chunk-TQMP7PZI.esm.js +1 -0
- package/lib/chunks/chunk-U3CY4REV.esm.js +1 -0
- package/lib/chunks/{chunk-EW3VYGDY.esm.js → chunk-UKMNA2P3.esm.js} +1 -1
- package/lib/chunks/{chunk-OC7CKHRF.esm.js → chunk-UPJVBBBN.esm.js} +1 -1
- package/lib/chunks/{chunk-ECCXQYRB.esm.js → chunk-URGL4O5W.esm.js} +1 -1
- package/lib/chunks/chunk-UX2DHPUJ.esm.js +5 -0
- package/lib/chunks/{chunk-VFM3QFOU.esm.js → chunk-WLFYIXN6.esm.js} +1 -1
- package/lib/chunks/{chunk-PRQOVSM6.esm.js → chunk-XAXIQDFB.esm.js} +1 -1
- package/lib/chunks/{chunk-KXRGSB6P.esm.js → chunk-XR763B4T.esm.js} +1 -1
- package/lib/chunks/chunk-YEWND54D.esm.js +1 -0
- package/lib/chunks/chunk-Z4PVL3DV.esm.js +1 -0
- package/lib/chunks/chunk-ZRYB2F7G.esm.js +1 -0
- package/lib/chunks/{chunk-B4TRGTFT.esm.js → chunk-ZVL3UZ6R.esm.js} +1 -1
- package/lib/containers/Base/Base.style.d.ts +16 -1
- package/lib/containers/Base/index.d.ts +1 -1
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Box/Box.interface.d.ts +12 -0
- package/lib/containers/Box/Box.style.d.ts +26 -9
- package/lib/containers/Box/index.esm.js +1 -1
- package/lib/containers/Card/Card.interface.d.ts +23 -2
- package/lib/containers/Card/Card.style.d.ts +56 -12
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/Flex.interface.d.ts +3 -0
- package/lib/containers/Flex/Flex.style.d.ts +19 -8
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.interface.d.ts +122 -21
- package/lib/containers/Grid/Grid.style.d.ts +62 -13
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.style.d.ts +36 -12
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/Paper.interface.d.ts +13 -2
- package/lib/containers/Paper/Paper.style.d.ts +6 -2
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/Scroll.d.ts +16 -12
- package/lib/containers/Scroll/Scroll.interface.d.ts +51 -4
- package/lib/containers/Scroll/Scroll.style.d.ts +46 -31
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/Accordion/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/DataTable.filters.d.ts +2 -1
- package/lib/dataDisplay/DataTable/DataTable.style.d.ts +19 -12
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/Meter.style.d.ts +18 -6
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Steps/Steps.style.d.ts +54 -18
- package/lib/dataDisplay/Steps/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/Table.d.ts +4 -0
- package/lib/dataDisplay/Table/Table/Table.interface.d.ts +20 -0
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table.context.d.ts +26 -0
- package/lib/dataDisplay/Table/Table.labels.d.ts +22 -0
- package/lib/dataDisplay/Table/Table.shared.d.ts +6 -0
- package/lib/dataDisplay/Table/TableBody/TableBody.d.ts +5 -4
- package/lib/dataDisplay/Table/TableBody/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCell/TableCell.d.ts +5 -1
- package/lib/dataDisplay/Table/TableCell/TableCell.interface.d.ts +8 -0
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.d.ts +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +36 -12
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/TableFooter.d.ts +2 -1
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeader/TableHeader.d.ts +2 -1
- package/lib/dataDisplay/Table/TableHeader/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.d.ts +12 -2
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.interface.d.ts +10 -0
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.style.d.ts +3 -1
- package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.style.d.ts +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/TableRow/TableRow.d.ts +4 -0
- package/lib/dataDisplay/Table/TableRow/index.esm.js +1 -1
- package/lib/dataDisplay/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Tabs/Tabs.d.ts +32 -16
- package/lib/dataDisplay/Tabs/Tabs.interface.d.ts +78 -1
- package/lib/dataDisplay/Tabs/Tabs.style.d.ts +147 -34
- 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 +18 -6
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Chip/Chip.context.d.ts +11 -0
- package/lib/elements/Chip/Chip.d.ts +34 -0
- package/lib/elements/Chip/Chip.interface.d.ts +162 -0
- package/lib/elements/Chip/Chip.style.d.ts +59 -0
- package/lib/elements/Chip/index.d.ts +10 -0
- package/lib/elements/Chip/index.esm.js +1 -0
- package/lib/elements/ChipGroup/ChipGroup.d.ts +21 -0
- package/lib/elements/ChipGroup/ChipGroup.interface.d.ts +27 -0
- package/lib/elements/ChipGroup/ChipGroup.style.d.ts +15 -0
- package/lib/elements/ChipGroup/index.d.ts +9 -0
- package/lib/elements/ChipGroup/index.esm.js +1 -0
- package/lib/elements/Divider/Divider.style.d.ts +18 -6
- package/lib/elements/Divider/index.esm.js +1 -1
- package/lib/elements/Dropdown/Dropdown.d.ts +6 -0
- package/lib/elements/Dropdown/Dropdown.floating.d.ts +12 -2
- package/lib/elements/Dropdown/Dropdown.interface.d.ts +6 -3
- 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 +72 -24
- 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/Label.d.ts +4 -0
- package/lib/elements/Label/Label.interface.d.ts +9 -0
- package/lib/elements/Label/Label.style.d.ts +8 -3
- package/lib/elements/Label/index.esm.js +1 -1
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/List.d.ts +12 -1
- package/lib/elements/List/List.interface.d.ts +70 -3
- package/lib/elements/List/List.style.d.ts +48 -6
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.style.d.ts +45 -17
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/NavBar/NavBar.d.ts +35 -0
- package/lib/elements/NavBar/NavBar.helpers.d.ts +25 -0
- package/lib/elements/NavBar/NavBar.interface.d.ts +98 -0
- package/lib/elements/NavBar/NavBar.style.d.ts +54 -0
- package/lib/elements/NavBar/index.d.ts +10 -0
- package/lib/elements/NavBar/index.esm.js +1 -0
- package/lib/elements/NavTabs/NavTabs.d.ts +28 -0
- package/lib/elements/NavTabs/NavTabs.interface.d.ts +61 -0
- package/lib/elements/NavTabs/NavTabs.style.d.ts +31 -0
- package/lib/elements/NavTabs/index.d.ts +10 -0
- package/lib/elements/NavTabs/index.esm.js +1 -0
- package/lib/elements/Popover/Popover.d.ts +3 -1
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/ProgressBar.style.d.ts +18 -6
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Sheet/Sheet.style.d.ts +43 -16
- package/lib/elements/Sheet/index.esm.js +1 -1
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/StatusDot/StatusDot.d.ts +32 -0
- package/lib/elements/StatusDot/StatusDot.interface.d.ts +61 -0
- package/lib/elements/StatusDot/StatusDot.style.d.ts +28 -0
- package/lib/elements/StatusDot/index.d.ts +10 -0
- package/lib/elements/StatusDot/index.esm.js +1 -0
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/Tooltip.d.ts +6 -1
- package/lib/elements/Tooltip/Tooltip.floating.d.ts +16 -2
- package/lib/elements/Tooltip/Tooltip.interface.d.ts +12 -0
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.d.ts +5 -0
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/ContainerQueryFactory/ContainerQueryFactory.d.ts +7 -0
- package/lib/factory/ContainerQueryFactory/index.esm.js +1 -1
- package/lib/factory/MotionFactory/MotionFactory.d.ts +3 -1
- package/lib/factory/MotionFactory/MotionFactory.interface.d.ts +12 -2
- 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.style.d.ts +36 -12
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.d.ts +7 -0
- package/lib/form/Field/Field.interface.d.ts +17 -0
- package/lib/form/Field/Field.style.d.ts +24 -6
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/Form.interface.d.ts +8 -4
- package/lib/form/Form/Form.style.d.ts +56 -12
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.style.d.ts +18 -6
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/InputCurrency.style.d.ts +18 -6
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/InputDate.d.ts +3 -0
- package/lib/form/InputDate/InputDate.interface.d.ts +12 -0
- 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 +25 -12
- package/lib/form/InputRange/InputRange.helpers.d.ts +12 -4
- package/lib/form/InputRange/InputRange.interface.d.ts +43 -3
- package/lib/form/InputRange/InputRange.style.d.ts +34 -4
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/InputSelect.interface.d.ts +11 -0
- package/lib/form/InputSelect/InputSelect.style.d.ts +5 -1
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Option/Option.style.d.ts +18 -6
- package/lib/form/Option/index.esm.js +1 -1
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/TextArea.d.ts +5 -0
- package/lib/form/TextArea/TextArea.interface.d.ts +26 -2
- package/lib/form/TextArea/TextArea.style.d.ts +245 -8
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.style.d.ts +89 -112
- package/lib/form/UploadCard/index.esm.js +1 -1
- package/lib/form/index.esm.js +1 -1
- package/lib/hooks/index.esm.js +1 -1
- 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.props.d.ts +10 -5
- package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +77 -13
- package/lib/layouts/DefaultLayout/index.d.ts +2 -1
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.props.d.ts +18 -8
- package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +81 -16
- package/lib/layouts/SideBarLayout/index.d.ts +2 -1
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/Colors/Colors.interface.d.ts +33 -0
- package/lib/themes/GlobalStyle/GlobalStyle.d.ts +8 -6
- package/lib/themes/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.esm.js +1 -1
- package/lib/vendors/FloatingUI/index.d.ts +1 -0
- package/lib/vendors/FloatingUI/origin.d.ts +18 -0
- package/package.json +22 -2
- package/lib/chunks/Dropdown.floating-BZADQ5AX.esm.js +0 -1
- package/lib/chunks/Notification.group-UEHHUFKO.esm.js +0 -1
- package/lib/chunks/Tooltip.floating-LDFMVRIA.esm.js +0 -1
- package/lib/chunks/chunk-2MXXNBFD.esm.js +0 -1
- package/lib/chunks/chunk-3437GMP7.esm.js +0 -1
- package/lib/chunks/chunk-3PLVWHLK.esm.js +0 -1
- package/lib/chunks/chunk-52O36B6T.esm.js +0 -1
- package/lib/chunks/chunk-5CMB3PB6.esm.js +0 -1
- package/lib/chunks/chunk-5PLSFFP6.esm.js +0 -1
- package/lib/chunks/chunk-77HQWHNM.esm.js +0 -9
- package/lib/chunks/chunk-7APTVF7S.esm.js +0 -1
- package/lib/chunks/chunk-A77KMXEI.esm.js +0 -5
- package/lib/chunks/chunk-AOVAXNO3.esm.js +0 -1
- package/lib/chunks/chunk-BZNSA3AA.esm.js +0 -3
- package/lib/chunks/chunk-CDRLVSLF.esm.js +0 -1
- package/lib/chunks/chunk-CLU3WNVI.esm.js +0 -1
- package/lib/chunks/chunk-DYLFA33G.esm.js +0 -1
- package/lib/chunks/chunk-F3SAEVZJ.esm.js +0 -1
- package/lib/chunks/chunk-F7PA7OCV.esm.js +0 -1
- package/lib/chunks/chunk-GAQ3CPOM.esm.js +0 -1
- package/lib/chunks/chunk-HTTKBIYD.esm.js +0 -1
- package/lib/chunks/chunk-IZHCHFTU.esm.js +0 -1
- package/lib/chunks/chunk-JHQPLHSC.esm.js +0 -1
- package/lib/chunks/chunk-JYFJX4EO.esm.js +0 -1
- package/lib/chunks/chunk-KITEZ7OW.esm.js +0 -1
- package/lib/chunks/chunk-LNZNPIZT.esm.js +0 -1
- package/lib/chunks/chunk-NGCCXGDN.esm.js +0 -1
- package/lib/chunks/chunk-NJZRFWBX.esm.js +0 -1
- package/lib/chunks/chunk-NZ6DQLPV.esm.js +0 -1
- package/lib/chunks/chunk-OOYR6EZR.esm.js +0 -1
- package/lib/chunks/chunk-P2DV4LBJ.esm.js +0 -1
- package/lib/chunks/chunk-PCLKWRMD.esm.js +0 -1
- package/lib/chunks/chunk-UAD4ISGH.esm.js +0 -34
- package/lib/chunks/chunk-UHSENSZK.esm.js +0 -30
- package/lib/chunks/chunk-XQJ4DROM.esm.js +0 -1
- package/lib/chunks/chunk-XSULIEOF.esm.js +0 -1
- package/lib/chunks/chunk-XUCQVQZK.esm.js +0 -1
- package/lib/chunks/chunk-Z23O3NNN.esm.js +0 -1
- package/lib/containers/Scroll/Scroll.helpers.d.ts +0 -27
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d}from"../../chunks/chunk-
|
|
1
|
+
import{a,b,c,d}from"../../chunks/chunk-PB6W2IE3.esm.js";import"../../chunks/chunk-4MBDLRIT.esm.js";import"../../chunks/chunk-43YSWDK6.esm.js";import"../../chunks/chunk-Q3FUXFD5.esm.js";import"../../chunks/chunk-FMNMEPTI.esm.js";import"../../chunks/chunk-SRBIATLE.esm.js";import"../../chunks/chunk-BTPOCQ2L.esm.js";import"../../chunks/chunk-JLQDS5TS.esm.js";import"../../chunks/chunk-ZJT2WQTR.esm.js";import"../../chunks/chunk-7JYI2AQK.esm.js";import"../../chunks/chunk-AMN6SRJS.esm.js";import"../../chunks/chunk-E2U6IFPB.esm.js";import"../../chunks/chunk-TVJXEJLN.esm.js";import"../../chunks/chunk-WLFYIXN6.esm.js";import"../../chunks/chunk-7MX2FUN4.esm.js";import"../../chunks/chunk-EU4FKCQL.esm.js";import"../../chunks/chunk-HPMNSONF.esm.js";import"../../chunks/chunk-MKGWYKH6.esm.js";import"../../chunks/chunk-4L2KOZIQ.esm.js";import"../../chunks/chunk-TBNQUDOJ.esm.js";import"../../chunks/chunk-RRTLPB5F.esm.js";import"../../chunks/chunk-IA234JY2.esm.js";import"../../chunks/chunk-2BWCWW2Q.esm.js";import"../../chunks/chunk-IQQH6HMG.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-O5TS2XER.esm.js";import"../../chunks/chunk-4E3BR56X.esm.js";import"../../chunks/chunk-TLIKQFOT.esm.js";import"../../chunks/chunk-XUZQE326.esm.js";import"../../chunks/chunk-3DUB5C4Z.esm.js";import"../../chunks/chunk-SEPVF2TL.esm.js";import"../../chunks/chunk-LDOM2UUN.esm.js";import"../../chunks/chunk-L7A7RA56.esm.js";import"../../chunks/chunk-HVFI7FHR.esm.js";import"../../chunks/chunk-2Z3UZIWZ.esm.js";import"../../chunks/chunk-4XKKIEQL.esm.js";import"../../chunks/chunk-KT4BKJVV.esm.js";import"../../chunks/chunk-LSLBDF5M.esm.js";import"../../chunks/chunk-KT6QQ3UJ.esm.js";import"../../chunks/chunk-TQMP7PZI.esm.js";import"../../chunks/chunk-MPMCXGOX.esm.js";import"../../chunks/chunk-JWNC52FT.esm.js";import"../../chunks/chunk-AULAOFBW.esm.js";import"../../chunks/chunk-4SDDAQ6N.esm.js";import"../../chunks/chunk-IN2WB2ZK.esm.js";import"../../chunks/chunk-FOWO4QTS.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-XR763B4T.esm.js";import"../../chunks/chunk-47UE4K3O.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-VCMHX5VK.esm.js";import"../../chunks/chunk-AAZFRX52.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-C7U4X56I.esm.js";import"../../chunks/chunk-QXV2TDLZ.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-QEB4VTKV.esm.js";import"../../chunks/chunk-R2QEO3KP.esm.js";import"../../chunks/chunk-ODL5JUYM.esm.js";import"../../chunks/chunk-3WXII2F3.esm.js";import"../../chunks/chunk-EJ245MA7.esm.js";import"../../chunks/chunk-FNYS25ZX.esm.js";import"../../chunks/chunk-MYU2IAR3.esm.js";import"../../chunks/chunk-VJ5GIFXO.esm.js";import"../../chunks/chunk-REPFMEFA.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{d as InputCurrency,b as currencyToNumber,a as formatCurrency,c as getInitialCurrencyValue};
|
|
@@ -15,6 +15,9 @@ import type { InputDateInterface } from './InputDate.interface';
|
|
|
15
15
|
* - Inside a modal host (static `Sheet` `<dialog>`, `Modal`, controlled
|
|
16
16
|
* `Sheet`) the calendar portals into that host, so it paints above the
|
|
17
17
|
* overlay and stays interactive.
|
|
18
|
+
* - The calendar popover scales in from the input and fades back out by
|
|
19
|
+
* default (`motion="scale"`, ADR-027), held mounted through its exit by
|
|
20
|
+
* `useExitTransition`; `motion="none"` opts out.
|
|
18
21
|
*
|
|
19
22
|
* @example
|
|
20
23
|
* ```tsx
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ChangeEvent } from 'react';
|
|
2
2
|
import type { Matcher } from '../../elements/Calendar';
|
|
3
|
+
import type { MotionPreset } from '../../factory/MotionFactory';
|
|
3
4
|
import type { Locale } from '../../vendors/DateFns';
|
|
4
5
|
import type { InputInterface } from '../Input';
|
|
5
6
|
/**
|
|
@@ -65,4 +66,15 @@ export interface InputDateInterface extends Omit<InputInterface, 'type'> {
|
|
|
65
66
|
* @default 'dd/MM/yyyy'
|
|
66
67
|
*/
|
|
67
68
|
displayFormat?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Enter/exit animation of the calendar popover (ADR-027 motion preset).
|
|
71
|
+
* The default `scale` grows the popover out of the input on open
|
|
72
|
+
* (`@starting-style`) and fades it back out on close — it stays mounted
|
|
73
|
+
* until the exit finishes (`useExitTransition`). `prefers-reduced-motion`
|
|
74
|
+
* zeroes it centrally. Set `motion="none"` for an instant open/close. Same
|
|
75
|
+
* prop and vocabulary as `Dropdown`.
|
|
76
|
+
*
|
|
77
|
+
* @default 'scale'
|
|
78
|
+
*/
|
|
79
|
+
motion?: MotionPreset;
|
|
68
80
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-2VRBBC54.esm.js";import"../../chunks/chunk-H2YBLEHV.esm.js";import"../../chunks/chunk-XKACWIWC.esm.js";import"../../chunks/chunk-Q3FUXFD5.esm.js";import"../../chunks/chunk-FMNMEPTI.esm.js";import"../../chunks/chunk-ZMHNNJNC.esm.js";import"../../chunks/chunk-2FQC32AA.esm.js";import"../../chunks/chunk-HSKYQ6VP.esm.js";import"../../chunks/chunk-SPHHNZVP.esm.js";import"../../chunks/chunk-4UWZA5FD.esm.js";import"../../chunks/chunk-KQQ7V7VG.esm.js";import"../../chunks/chunk-3QSPHURU.esm.js";import"../../chunks/chunk-NDIYF5SX.esm.js";import"../../chunks/chunk-KZTG5TDM.esm.js";import"../../chunks/chunk-A3OJEVGQ.esm.js";import"../../chunks/chunk-KR2X2UQG.esm.js";import"../../chunks/chunk-BE2JDTVA.esm.js";import"../../chunks/chunk-P3SIJHYM.esm.js";import"../../chunks/chunk-SRBIATLE.esm.js";import"../../chunks/chunk-BTPOCQ2L.esm.js";import"../../chunks/chunk-JLQDS5TS.esm.js";import"../../chunks/chunk-ZJT2WQTR.esm.js";import"../../chunks/chunk-7JYI2AQK.esm.js";import"../../chunks/chunk-AMN6SRJS.esm.js";import"../../chunks/chunk-E2U6IFPB.esm.js";import"../../chunks/chunk-TVJXEJLN.esm.js";import"../../chunks/chunk-WLFYIXN6.esm.js";import"../../chunks/chunk-7MX2FUN4.esm.js";import"../../chunks/chunk-EU4FKCQL.esm.js";import"../../chunks/chunk-HPMNSONF.esm.js";import"../../chunks/chunk-MKGWYKH6.esm.js";import"../../chunks/chunk-4L2KOZIQ.esm.js";import"../../chunks/chunk-TBNQUDOJ.esm.js";import"../../chunks/chunk-RRTLPB5F.esm.js";import"../../chunks/chunk-IA234JY2.esm.js";import"../../chunks/chunk-2BWCWW2Q.esm.js";import"../../chunks/chunk-IQQH6HMG.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-O5TS2XER.esm.js";import"../../chunks/chunk-4E3BR56X.esm.js";import"../../chunks/chunk-TLIKQFOT.esm.js";import"../../chunks/chunk-XUZQE326.esm.js";import"../../chunks/chunk-3DUB5C4Z.esm.js";import"../../chunks/chunk-SEPVF2TL.esm.js";import"../../chunks/chunk-LDOM2UUN.esm.js";import"../../chunks/chunk-L7A7RA56.esm.js";import"../../chunks/chunk-HVFI7FHR.esm.js";import"../../chunks/chunk-2Z3UZIWZ.esm.js";import"../../chunks/chunk-4XKKIEQL.esm.js";import"../../chunks/chunk-KT4BKJVV.esm.js";import"../../chunks/chunk-LSLBDF5M.esm.js";import"../../chunks/chunk-KT6QQ3UJ.esm.js";import"../../chunks/chunk-64VNULOI.esm.js";import"../../chunks/chunk-TQMP7PZI.esm.js";import"../../chunks/chunk-MPMCXGOX.esm.js";import"../../chunks/chunk-JWNC52FT.esm.js";import"../../chunks/chunk-AULAOFBW.esm.js";import"../../chunks/chunk-4SDDAQ6N.esm.js";import"../../chunks/chunk-IN2WB2ZK.esm.js";import"../../chunks/chunk-FOWO4QTS.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-XR763B4T.esm.js";import"../../chunks/chunk-47UE4K3O.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-VCMHX5VK.esm.js";import"../../chunks/chunk-AAZFRX52.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-C7U4X56I.esm.js";import"../../chunks/chunk-QXV2TDLZ.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-QEB4VTKV.esm.js";import"../../chunks/chunk-R2QEO3KP.esm.js";import"../../chunks/chunk-ODL5JUYM.esm.js";import"../../chunks/chunk-3WXII2F3.esm.js";import"../../chunks/chunk-EJ245MA7.esm.js";import"../../chunks/chunk-FNYS25ZX.esm.js";import"../../chunks/chunk-MYU2IAR3.esm.js";import"../../chunks/chunk-VJ5GIFXO.esm.js";import"../../chunks/chunk-REPFMEFA.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 InputDate};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-7YXP5WUW.esm.js";import"../../chunks/chunk-43YSWDK6.esm.js";import"../../chunks/chunk-Q3FUXFD5.esm.js";import"../../chunks/chunk-FMNMEPTI.esm.js";import"../../chunks/chunk-SRBIATLE.esm.js";import"../../chunks/chunk-BTPOCQ2L.esm.js";import"../../chunks/chunk-JLQDS5TS.esm.js";import"../../chunks/chunk-ZJT2WQTR.esm.js";import"../../chunks/chunk-7JYI2AQK.esm.js";import"../../chunks/chunk-AMN6SRJS.esm.js";import"../../chunks/chunk-E2U6IFPB.esm.js";import"../../chunks/chunk-TVJXEJLN.esm.js";import"../../chunks/chunk-WLFYIXN6.esm.js";import"../../chunks/chunk-7MX2FUN4.esm.js";import"../../chunks/chunk-EU4FKCQL.esm.js";import"../../chunks/chunk-HPMNSONF.esm.js";import"../../chunks/chunk-MKGWYKH6.esm.js";import"../../chunks/chunk-4L2KOZIQ.esm.js";import"../../chunks/chunk-TBNQUDOJ.esm.js";import"../../chunks/chunk-RRTLPB5F.esm.js";import"../../chunks/chunk-IA234JY2.esm.js";import"../../chunks/chunk-2BWCWW2Q.esm.js";import"../../chunks/chunk-IQQH6HMG.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-O5TS2XER.esm.js";import"../../chunks/chunk-4E3BR56X.esm.js";import"../../chunks/chunk-TLIKQFOT.esm.js";import"../../chunks/chunk-XUZQE326.esm.js";import"../../chunks/chunk-3DUB5C4Z.esm.js";import"../../chunks/chunk-SEPVF2TL.esm.js";import"../../chunks/chunk-LDOM2UUN.esm.js";import"../../chunks/chunk-L7A7RA56.esm.js";import"../../chunks/chunk-HVFI7FHR.esm.js";import"../../chunks/chunk-2Z3UZIWZ.esm.js";import"../../chunks/chunk-4XKKIEQL.esm.js";import"../../chunks/chunk-KT4BKJVV.esm.js";import"../../chunks/chunk-LSLBDF5M.esm.js";import"../../chunks/chunk-KT6QQ3UJ.esm.js";import"../../chunks/chunk-TQMP7PZI.esm.js";import"../../chunks/chunk-MPMCXGOX.esm.js";import"../../chunks/chunk-JWNC52FT.esm.js";import"../../chunks/chunk-AULAOFBW.esm.js";import"../../chunks/chunk-4SDDAQ6N.esm.js";import"../../chunks/chunk-IN2WB2ZK.esm.js";import"../../chunks/chunk-FOWO4QTS.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-XR763B4T.esm.js";import"../../chunks/chunk-47UE4K3O.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-VCMHX5VK.esm.js";import"../../chunks/chunk-AAZFRX52.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-C7U4X56I.esm.js";import"../../chunks/chunk-QXV2TDLZ.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-QEB4VTKV.esm.js";import"../../chunks/chunk-R2QEO3KP.esm.js";import"../../chunks/chunk-ODL5JUYM.esm.js";import"../../chunks/chunk-3WXII2F3.esm.js";import"../../chunks/chunk-EJ245MA7.esm.js";import"../../chunks/chunk-FNYS25ZX.esm.js";import"../../chunks/chunk-MYU2IAR3.esm.js";import"../../chunks/chunk-VJ5GIFXO.esm.js";import"../../chunks/chunk-REPFMEFA.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 InputMask};
|
|
@@ -1,27 +1,40 @@
|
|
|
1
1
|
import { SliderProps } from './InputRange.interface';
|
|
2
2
|
/**
|
|
3
|
-
* Slider (value range)
|
|
3
|
+
* Slider (value range) operated by mouse, touch and keyboard.
|
|
4
4
|
*
|
|
5
|
-
* Use it to collect a
|
|
6
|
-
*
|
|
7
|
-
* -
|
|
5
|
+
* Use it to collect a numeric value between `min` and `max` — price
|
|
6
|
+
* filters, volume settings, a stepped scale. The thumb is a `role="slider"`
|
|
7
|
+
* with `aria-valuemin` / `aria-valuemax` / `aria-valuenow` and an
|
|
8
|
+
* `aria-valuetext` from `getLabelValue`; it is named by `label`,
|
|
9
|
+
* `aria-label` or `aria-labelledby`.
|
|
10
|
+
*
|
|
11
|
+
* - **keyboard**: ←/↓ and →/↑ move one `step`; PageDown/PageUp move a tenth
|
|
12
|
+
* of the range (at least one `step`, snapped to it); Home/End jump to
|
|
13
|
+
* `min`/`max`.
|
|
14
|
+
* - **marks** (`mark`) with an optional label (`markLabel` + `getLabelValue`);
|
|
15
|
+
* the label of the current value is emphasised.
|
|
16
|
+
* - **header** (`label` + `showValue`) — a "label · value" row above the
|
|
17
|
+
* track.
|
|
8
18
|
* - **gradient** (`gradient`) — a good/bad scale from the feedback tokens;
|
|
9
19
|
* `gradient="descending"` when lower is better.
|
|
10
|
-
* - **
|
|
11
|
-
*
|
|
12
|
-
*
|
|
20
|
+
* - **events**: `onInput` on every step change, `onChange` debounced 100ms
|
|
21
|
+
* while dragging and immediate on a key press.
|
|
22
|
+
*
|
|
23
|
+
* Drag listeners are registered on the `document` so dragging keeps working
|
|
24
|
+
* when the pointer leaves the thumb; a press anywhere on the band moves the
|
|
25
|
+
* thumb there.
|
|
13
26
|
*
|
|
14
27
|
* @example
|
|
15
28
|
* ```tsx
|
|
16
|
-
* <InputRange min={0} max={200} value={50} onChange={setValue} />
|
|
17
|
-
* <InputRange mark markLabel
|
|
18
|
-
* <InputRange gradient mark markLabel step={20} getLabelValue={(n) => `${n} ℃`} />
|
|
19
|
-
* <InputRange gradient="descending" mark step={25} />
|
|
29
|
+
* <InputRange aria-label="Volume" min={0} max={200} value={50} onChange={setValue} />
|
|
30
|
+
* <InputRange label="Alignment" showValue mark markLabel min={0} max={4} getLabelValue={(n) => LEVELS[n]} />
|
|
31
|
+
* <InputRange gradient mark markLabel step={20} aria-label="Temperature" getLabelValue={(n) => `${n} ℃`} />
|
|
20
32
|
* ```
|
|
21
33
|
*
|
|
22
34
|
* @see {@link SliderProps} for the detailed props.
|
|
23
35
|
*/
|
|
24
|
-
export declare function Slider({ gradient, disabled, getLabelValue, markLabel, onChange, value, max, min, step, mark: markProp, area, alignSelf, justifySelf, }: SliderProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export declare function Slider({ gradient, disabled, getLabelValue, markLabel, onChange, onInput, label, showValue, id, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, value, max, min, step, mark: markProp, area, alignSelf, justifySelf, }: SliderProps): import("react/jsx-runtime").JSX.Element;
|
|
25
37
|
export declare namespace Slider {
|
|
26
38
|
var displayName: string;
|
|
39
|
+
var ariaLabelledByField: boolean;
|
|
27
40
|
}
|
|
@@ -12,11 +12,18 @@ export declare function percentToValue(percent: number, min: number, max: number
|
|
|
12
12
|
/**
|
|
13
13
|
* Rounds `value` to the nearest multiple of `step` (starting from `min`).
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
* (
|
|
17
|
-
*
|
|
15
|
+
* The result is fixed to the decimals of `step` and `min` to drop
|
|
16
|
+
* floating-point noise (0.1 + 0.2 ≠ 0.3) without collapsing a fractional
|
|
17
|
+
* step to an integer.
|
|
18
18
|
*/
|
|
19
19
|
export declare function roundValueToStep(value: number, step: number, min: number): number;
|
|
20
|
+
/**
|
|
21
|
+
* Value after a slider key press, or `undefined` for a key the slider does
|
|
22
|
+
* not handle. ←/↓ and →/↑ move one `step`; PageDown/PageUp move a tenth of
|
|
23
|
+
* the range snapped to `step` (never less than one `step`); Home/End jump to
|
|
24
|
+
* `min`/`max`. The result is clamped to `[min, max]` and snapped to `step`.
|
|
25
|
+
*/
|
|
26
|
+
export declare function keyboardValue(key: string, value: number, min: number, max: number, step: number): number;
|
|
20
27
|
/**
|
|
21
28
|
* Restricts `value` to the `[0, 1]` interval — useful for percentages
|
|
22
29
|
* coming from mouse/touch events that may leave the rail area.
|
|
@@ -27,6 +34,7 @@ export declare function clamp(value: number): number;
|
|
|
27
34
|
*
|
|
28
35
|
* When `value` is invalid (NaN, out of range), it does `Math.min/max`
|
|
29
36
|
* instead of rounding — we prefer a safe value over a rounding that
|
|
30
|
-
* could accidentally land outside the range.
|
|
37
|
+
* could accidentally land outside the range. A snap past `max` (a `max`
|
|
38
|
+
* off the step grid) falls back one step.
|
|
31
39
|
*/
|
|
32
40
|
export declare function normalizeValue(value: number, max: number, min: number, step: number): number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
1
2
|
import { PlacementFactoryProps } from '../../factory';
|
|
2
3
|
/**
|
|
3
4
|
* Which end of a `gradient` scale reads as "good".
|
|
@@ -15,10 +16,39 @@ export type SliderProps = {
|
|
|
15
16
|
value?: number;
|
|
16
17
|
/** Draws a dot at every `step` along the track. */
|
|
17
18
|
mark?: boolean;
|
|
18
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Prints a label under each mark (formatted by `getLabelValue`). The label
|
|
21
|
+
* of the current value is emphasised (bold, `ink.primary`) and follows the
|
|
22
|
+
* thumb.
|
|
23
|
+
*/
|
|
19
24
|
markLabel?: boolean;
|
|
20
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Formats the value for the floating label, the mark labels, the header
|
|
27
|
+
* value (`showValue`) and the slider's `aria-valuetext` — so a stepped
|
|
28
|
+
* range is announced as `"std"`, not `"2"`.
|
|
29
|
+
*/
|
|
21
30
|
getLabelValue?: (n: number) => string;
|
|
31
|
+
/**
|
|
32
|
+
* Visible name rendered in a header row above the track. It names the
|
|
33
|
+
* slider through `aria-labelledby`. Inside a `Field`, pass the name here
|
|
34
|
+
* (with `hideLabel` on the `Field`) — the `Field` label is a native
|
|
35
|
+
* `<label for>`, which cannot name a non-native slider.
|
|
36
|
+
*/
|
|
37
|
+
label?: ReactNode;
|
|
38
|
+
/**
|
|
39
|
+
* Prints the current value (formatted by `getLabelValue`) at the end of the
|
|
40
|
+
* header row. The floating bubble is then omitted — the header already
|
|
41
|
+
* shows the value, out from under the finger.
|
|
42
|
+
*
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
showValue?: boolean;
|
|
46
|
+
/** Accessible name when there is no visible `label`. */
|
|
47
|
+
'aria-label'?: string;
|
|
48
|
+
/** Id(s) of the element(s) naming the slider; wins over `label`. */
|
|
49
|
+
'aria-labelledby'?: string;
|
|
50
|
+
/** Id of the `role="slider"` thumb (the `Field` passes its `name`). */
|
|
51
|
+
id?: string;
|
|
22
52
|
/** Blocks interaction and paints the slider with the muted palette. */
|
|
23
53
|
disabled?: boolean;
|
|
24
54
|
/**
|
|
@@ -46,6 +76,16 @@ export type SliderProps = {
|
|
|
46
76
|
* @default 100
|
|
47
77
|
*/
|
|
48
78
|
max?: number;
|
|
49
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* Committed value. While dragging it is debounced (100ms after the last
|
|
81
|
+
* move); a keyboard step fires it immediately, like the native `change`
|
|
82
|
+
* event of `<input type="range">`.
|
|
83
|
+
*/
|
|
50
84
|
onChange?: (v: number) => void;
|
|
85
|
+
/**
|
|
86
|
+
* Fires on every step change — each drag move that lands on a new step and
|
|
87
|
+
* each key press — with no debounce. Use it to echo the value live
|
|
88
|
+
* elsewhere; keep `onChange` for the committed value.
|
|
89
|
+
*/
|
|
90
|
+
onInput?: (v: number) => void;
|
|
51
91
|
} & PlacementFactoryProps;
|
|
@@ -63,7 +63,8 @@ export declare const SliderGradient: import("styled-components/dist/types").ISty
|
|
|
63
63
|
*
|
|
64
64
|
* The `::before` draws the bubble's little triangle. It starts at
|
|
65
65
|
* `opacity: 0` and is revealed via `:hover` on the thumb or via `active`
|
|
66
|
-
* (drag in progress).
|
|
66
|
+
* (drag in progress). Under a coarse pointer it sits higher, clear of the
|
|
67
|
+
* fingertip that is dragging the thumb.
|
|
67
68
|
*/
|
|
68
69
|
export declare const SliderLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
69
70
|
as?: import("styled-components").WebTarget;
|
|
@@ -79,11 +80,13 @@ export declare const SliderLabel: import("styled-components/dist/types").IStyled
|
|
|
79
80
|
forwardedAs?: import("styled-components").WebTarget;
|
|
80
81
|
}, keyof BaseContainerProps> & BaseContainerProps, "area" | "p" | "slot" | "style" | "title" | "dir" | "borderRadius" | "borderWidth" | "borderStyle" | "px" | "fontFamily" | "fontWeight" | "lineHeight" | "letterSpacing" | "textTransform" | "fontStyle" | "fontSize" | "right" | "left" | "top" | "bottom" | "py" | "height" | "color" | "bgColor" | "borderColor" | "borderPosition" | "children" | "ref" | "key" | "zIndex" | "motion" | "wrap" | "flex" | "gap" | "flexDirection" | "flexBasis" | "justifyContent" | "alignItems" | "alignContent" | "justifyItems" | "placeItems" | "alignSelf" | "grow" | "shrink" | "order" | "justifySelf" | "content" | "hidden" | "round" | "position" | "square" | "padding" | "cursor" | "display" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "textAlign" | "transform" | "translate" | "whiteSpace" | "width" | "wordBreak" | "container" | "margin" | "overflow" | "textDecoration" | "roundBottom" | "roundTop" | "roundRight" | "roundLeft" | "roundTopLeft" | "roundTopRight" | "roundBottomLeft" | "roundBottomRight" | "roundTangentRight" | "roundTangentLeft" | "sharpTopLeft" | "sharpTopRight" | "sharpBottomRight" | "sharpBottomLeft" | "contrast" | "readable" | "isHidden" | "truncate" | "pageShell" | "containment" | "absoluteFill" | "deep" | "deepColor" | "noShadow" | "legibility" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "cq" | "sm_wrap" | "sm_flex" | "sm_gap" | "sm_flexDirection" | "sm_flexBasis" | "sm_justifyContent" | "sm_alignItems" | "sm_alignContent" | "sm_justifyItems" | "sm_placeItems" | "sm_alignSelf" | "sm_grow" | "sm_shrink" | "sm_order" | "sm_justifySelf" | "md_wrap" | "md_flex" | "md_gap" | "md_flexDirection" | "md_flexBasis" | "md_justifyContent" | "md_alignItems" | "md_alignContent" | "md_justifyItems" | "md_placeItems" | "md_alignSelf" | "md_grow" | "md_shrink" | "md_order" | "md_justifySelf" | "lg_wrap" | "lg_flex" | "lg_gap" | "lg_flexDirection" | "lg_flexBasis" | "lg_justifyContent" | "lg_alignItems" | "lg_alignContent" | "lg_justifyItems" | "lg_placeItems" | "lg_alignSelf" | "lg_grow" | "lg_shrink" | "lg_order" | "lg_justifySelf" | "xl_wrap" | "xl_flex" | "xl_gap" | "xl_flexDirection" | "xl_flexBasis" | "xl_justifyContent" | "xl_alignItems" | "xl_alignContent" | "xl_justifyItems" | "xl_placeItems" | "xl_alignSelf" | "xl_grow" | "xl_shrink" | "xl_order" | "xl_justifySelf" | "sm_borderRadius" | "sm_borderWidth" | "sm_borderStyle" | "sm_borderColor" | "sm_borderPosition" | "sm_square" | "sm_round" | "sm_roundBottom" | "sm_roundTop" | "sm_roundRight" | "sm_roundLeft" | "sm_roundTopLeft" | "sm_roundTopRight" | "sm_roundBottomLeft" | "sm_roundBottomRight" | "sm_roundTangentRight" | "sm_roundTangentLeft" | "sm_sharpTopLeft" | "sm_sharpTopRight" | "sm_sharpBottomRight" | "sm_sharpBottomLeft" | "md_borderRadius" | "md_borderWidth" | "md_borderStyle" | "md_borderColor" | "md_borderPosition" | "md_square" | "md_round" | "md_roundBottom" | "md_roundTop" | "md_roundRight" | "md_roundLeft" | "md_roundTopLeft" | "md_roundTopRight" | "md_roundBottomLeft" | "md_roundBottomRight" | "md_roundTangentRight" | "md_roundTangentLeft" | "md_sharpTopLeft" | "md_sharpTopRight" | "md_sharpBottomRight" | "md_sharpBottomLeft" | "lg_borderRadius" | "lg_borderWidth" | "lg_borderStyle" | "lg_borderColor" | "lg_borderPosition" | "lg_square" | "lg_round" | "lg_roundBottom" | "lg_roundTop" | "lg_roundRight" | "lg_roundLeft" | "lg_roundTopLeft" | "lg_roundTopRight" | "lg_roundBottomLeft" | "lg_roundBottomRight" | "lg_roundTangentRight" | "lg_roundTangentLeft" | "lg_sharpTopLeft" | "lg_sharpTopRight" | "lg_sharpBottomRight" | "lg_sharpBottomLeft" | "xl_borderRadius" | "xl_borderWidth" | "xl_borderStyle" | "xl_borderColor" | "xl_borderPosition" | "xl_square" | "xl_round" | "xl_roundBottom" | "xl_roundTop" | "xl_roundRight" | "xl_roundLeft" | "xl_roundTopLeft" | "xl_roundTopRight" | "xl_roundBottomLeft" | "xl_roundBottomRight" | "xl_roundTangentRight" | "xl_roundTangentLeft" | "xl_sharpTopLeft" | "xl_sharpTopRight" | "xl_sharpBottomRight" | "xl_sharpBottomLeft" | "sm_bgColor" | "md_bgColor" | "lg_bgColor" | "xl_bgColor" | "sm_color" | "sm_opacity" | "sm_contrast" | "sm_readable" | "md_color" | "md_opacity" | "md_contrast" | "md_readable" | "lg_color" | "lg_opacity" | "lg_contrast" | "lg_readable" | "xl_color" | "xl_opacity" | "xl_contrast" | "xl_readable" | "sm_area" | "sm_right" | "sm_left" | "sm_top" | "sm_bottom" | "sm_zIndex" | "sm_position" | "sm_padding" | "sm_cursor" | "sm_display" | "sm_overflowX" | "sm_overflowY" | "sm_transform" | "sm_container" | "sm_margin" | "sm_overflow" | "sm_isHidden" | "sm_truncate" | "sm_pageShell" | "sm_containment" | "sm_absoluteFill" | "md_area" | "md_right" | "md_left" | "md_top" | "md_bottom" | "md_zIndex" | "md_position" | "md_padding" | "md_cursor" | "md_display" | "md_overflowX" | "md_overflowY" | "md_transform" | "md_container" | "md_margin" | "md_overflow" | "md_isHidden" | "md_truncate" | "md_pageShell" | "md_containment" | "md_absoluteFill" | "lg_area" | "lg_right" | "lg_left" | "lg_top" | "lg_bottom" | "lg_zIndex" | "lg_position" | "lg_padding" | "lg_cursor" | "lg_display" | "lg_overflowX" | "lg_overflowY" | "lg_transform" | "lg_container" | "lg_margin" | "lg_overflow" | "lg_isHidden" | "lg_truncate" | "lg_pageShell" | "lg_containment" | "lg_absoluteFill" | "xl_area" | "xl_right" | "xl_left" | "xl_top" | "xl_bottom" | "xl_zIndex" | "xl_position" | "xl_padding" | "xl_cursor" | "xl_display" | "xl_overflowX" | "xl_overflowY" | "xl_transform" | "xl_container" | "xl_margin" | "xl_overflow" | "xl_isHidden" | "xl_truncate" | "xl_pageShell" | "xl_containment" | "xl_absoluteFill" | "sm_deep" | "sm_deepColor" | "sm_noShadow" | "md_deep" | "md_deepColor" | "md_noShadow" | "lg_deep" | "lg_deepColor" | "lg_noShadow" | "xl_deep" | "xl_deepColor" | "xl_noShadow" | "sm_fontFamily" | "sm_fontWeight" | "sm_lineHeight" | "sm_letterSpacing" | "sm_textTransform" | "sm_fontStyle" | "sm_fontSize" | "sm_textAlign" | "sm_whiteSpace" | "sm_wordBreak" | "sm_textDecoration" | "sm_legibility" | "md_fontFamily" | "md_fontWeight" | "md_lineHeight" | "md_letterSpacing" | "md_textTransform" | "md_fontStyle" | "md_fontSize" | "md_textAlign" | "md_whiteSpace" | "md_wordBreak" | "md_textDecoration" | "md_legibility" | "lg_fontFamily" | "lg_fontWeight" | "lg_lineHeight" | "lg_letterSpacing" | "lg_textTransform" | "lg_fontStyle" | "lg_fontSize" | "lg_textAlign" | "lg_whiteSpace" | "lg_wordBreak" | "lg_textDecoration" | "lg_legibility" | "xl_fontFamily" | "xl_fontWeight" | "xl_lineHeight" | "xl_letterSpacing" | "xl_textTransform" | "xl_fontStyle" | "xl_fontSize" | "xl_textAlign" | "xl_whiteSpace" | "xl_wordBreak" | "xl_textDecoration" | "xl_legibility" | "sm_height" | "sm_maxHeight" | "sm_maxWidth" | "sm_minHeight" | "sm_minWidth" | "sm_width" | "md_height" | "md_maxHeight" | "md_maxWidth" | "md_minHeight" | "md_minWidth" | "md_width" | "lg_height" | "lg_maxHeight" | "lg_maxWidth" | "lg_minHeight" | "lg_minWidth" | "lg_width" | "xl_height" | "xl_maxHeight" | "xl_maxWidth" | "xl_minHeight" | "xl_minWidth" | "xl_width" | "sm_p" | "sm_px" | "sm_py" | "sm_m" | "sm_mt" | "sm_mr" | "sm_mb" | "sm_ml" | "sm_mx" | "sm_my" | "sm_pt" | "sm_pr" | "sm_pb" | "sm_pl" | "md_p" | "md_px" | "md_py" | "md_m" | "md_mt" | "md_mr" | "md_mb" | "md_ml" | "md_mx" | "md_my" | "md_pt" | "md_pr" | "md_pb" | "md_pl" | "lg_p" | "lg_px" | "lg_py" | "lg_m" | "lg_mt" | "lg_mr" | "lg_mb" | "lg_ml" | "lg_mx" | "lg_my" | "lg_pt" | "lg_pr" | "lg_pb" | "lg_pl" | "xl_p" | "xl_px" | "xl_py" | "xl_m" | "xl_mt" | "xl_mr" | "xl_mb" | "xl_ml" | "xl_mx" | "xl_my" | "xl_pt" | "xl_pr" | "xl_pb" | "xl_pl" | "ignoreResponsive" | "enableBreakpoint" | "property" | "viewportMedias" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "as" | "forwardedAs">>> & string;
|
|
81
82
|
/**
|
|
82
|
-
* Circular slider thumb.
|
|
83
|
+
* Circular slider thumb — the focusable `role="slider"` element.
|
|
83
84
|
*
|
|
84
85
|
* Negative `margin-top`/`margin-left` compensate for the size so the thumb
|
|
85
86
|
* sits **centered** on the track, not with its top-left corner
|
|
86
|
-
* over it.
|
|
87
|
+
* over it. Under a coarse pointer (`pointer: coarse`, an input-capability
|
|
88
|
+
* query, not a width breakpoint) it grows to 21px so it stays visible under
|
|
89
|
+
* the finger. Keyboard focus draws a 2px outline in the brand color.
|
|
87
90
|
*/
|
|
88
91
|
export declare const SliderThumb: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
89
92
|
as?: import("styled-components").WebTarget;
|
|
@@ -113,10 +116,37 @@ export declare const SliderMark: import("styled-components/dist/types").IStyledC
|
|
|
113
116
|
}, keyof BaseContainerProps> & BaseContainerProps, "active"> & {
|
|
114
117
|
active: boolean;
|
|
115
118
|
}, "area" | "p" | "slot" | "style" | "title" | "dir" | "borderRadius" | "borderWidth" | "borderStyle" | "px" | "fontFamily" | "fontWeight" | "lineHeight" | "letterSpacing" | "textTransform" | "fontStyle" | "fontSize" | "right" | "left" | "top" | "bottom" | "py" | "height" | "color" | "bgColor" | "borderColor" | "borderPosition" | "children" | "ref" | "key" | "zIndex" | "motion" | "wrap" | "flex" | "gap" | "flexDirection" | "flexBasis" | "justifyContent" | "alignItems" | "alignContent" | "justifyItems" | "placeItems" | "alignSelf" | "grow" | "shrink" | "order" | "justifySelf" | "content" | "hidden" | "round" | "position" | "square" | "padding" | "cursor" | "display" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "textAlign" | "transform" | "translate" | "whiteSpace" | "width" | "wordBreak" | "container" | "margin" | "overflow" | "textDecoration" | "roundBottom" | "roundTop" | "roundRight" | "roundLeft" | "roundTopLeft" | "roundTopRight" | "roundBottomLeft" | "roundBottomRight" | "roundTangentRight" | "roundTangentLeft" | "sharpTopLeft" | "sharpTopRight" | "sharpBottomRight" | "sharpBottomLeft" | "contrast" | "readable" | "isHidden" | "truncate" | "pageShell" | "containment" | "absoluteFill" | "deep" | "deepColor" | "noShadow" | "legibility" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "cq" | "sm_wrap" | "sm_flex" | "sm_gap" | "sm_flexDirection" | "sm_flexBasis" | "sm_justifyContent" | "sm_alignItems" | "sm_alignContent" | "sm_justifyItems" | "sm_placeItems" | "sm_alignSelf" | "sm_grow" | "sm_shrink" | "sm_order" | "sm_justifySelf" | "md_wrap" | "md_flex" | "md_gap" | "md_flexDirection" | "md_flexBasis" | "md_justifyContent" | "md_alignItems" | "md_alignContent" | "md_justifyItems" | "md_placeItems" | "md_alignSelf" | "md_grow" | "md_shrink" | "md_order" | "md_justifySelf" | "lg_wrap" | "lg_flex" | "lg_gap" | "lg_flexDirection" | "lg_flexBasis" | "lg_justifyContent" | "lg_alignItems" | "lg_alignContent" | "lg_justifyItems" | "lg_placeItems" | "lg_alignSelf" | "lg_grow" | "lg_shrink" | "lg_order" | "lg_justifySelf" | "xl_wrap" | "xl_flex" | "xl_gap" | "xl_flexDirection" | "xl_flexBasis" | "xl_justifyContent" | "xl_alignItems" | "xl_alignContent" | "xl_justifyItems" | "xl_placeItems" | "xl_alignSelf" | "xl_grow" | "xl_shrink" | "xl_order" | "xl_justifySelf" | "sm_borderRadius" | "sm_borderWidth" | "sm_borderStyle" | "sm_borderColor" | "sm_borderPosition" | "sm_square" | "sm_round" | "sm_roundBottom" | "sm_roundTop" | "sm_roundRight" | "sm_roundLeft" | "sm_roundTopLeft" | "sm_roundTopRight" | "sm_roundBottomLeft" | "sm_roundBottomRight" | "sm_roundTangentRight" | "sm_roundTangentLeft" | "sm_sharpTopLeft" | "sm_sharpTopRight" | "sm_sharpBottomRight" | "sm_sharpBottomLeft" | "md_borderRadius" | "md_borderWidth" | "md_borderStyle" | "md_borderColor" | "md_borderPosition" | "md_square" | "md_round" | "md_roundBottom" | "md_roundTop" | "md_roundRight" | "md_roundLeft" | "md_roundTopLeft" | "md_roundTopRight" | "md_roundBottomLeft" | "md_roundBottomRight" | "md_roundTangentRight" | "md_roundTangentLeft" | "md_sharpTopLeft" | "md_sharpTopRight" | "md_sharpBottomRight" | "md_sharpBottomLeft" | "lg_borderRadius" | "lg_borderWidth" | "lg_borderStyle" | "lg_borderColor" | "lg_borderPosition" | "lg_square" | "lg_round" | "lg_roundBottom" | "lg_roundTop" | "lg_roundRight" | "lg_roundLeft" | "lg_roundTopLeft" | "lg_roundTopRight" | "lg_roundBottomLeft" | "lg_roundBottomRight" | "lg_roundTangentRight" | "lg_roundTangentLeft" | "lg_sharpTopLeft" | "lg_sharpTopRight" | "lg_sharpBottomRight" | "lg_sharpBottomLeft" | "xl_borderRadius" | "xl_borderWidth" | "xl_borderStyle" | "xl_borderColor" | "xl_borderPosition" | "xl_square" | "xl_round" | "xl_roundBottom" | "xl_roundTop" | "xl_roundRight" | "xl_roundLeft" | "xl_roundTopLeft" | "xl_roundTopRight" | "xl_roundBottomLeft" | "xl_roundBottomRight" | "xl_roundTangentRight" | "xl_roundTangentLeft" | "xl_sharpTopLeft" | "xl_sharpTopRight" | "xl_sharpBottomRight" | "xl_sharpBottomLeft" | "sm_bgColor" | "md_bgColor" | "lg_bgColor" | "xl_bgColor" | "sm_color" | "sm_opacity" | "sm_contrast" | "sm_readable" | "md_color" | "md_opacity" | "md_contrast" | "md_readable" | "lg_color" | "lg_opacity" | "lg_contrast" | "lg_readable" | "xl_color" | "xl_opacity" | "xl_contrast" | "xl_readable" | "sm_area" | "sm_right" | "sm_left" | "sm_top" | "sm_bottom" | "sm_zIndex" | "sm_position" | "sm_padding" | "sm_cursor" | "sm_display" | "sm_overflowX" | "sm_overflowY" | "sm_transform" | "sm_container" | "sm_margin" | "sm_overflow" | "sm_isHidden" | "sm_truncate" | "sm_pageShell" | "sm_containment" | "sm_absoluteFill" | "md_area" | "md_right" | "md_left" | "md_top" | "md_bottom" | "md_zIndex" | "md_position" | "md_padding" | "md_cursor" | "md_display" | "md_overflowX" | "md_overflowY" | "md_transform" | "md_container" | "md_margin" | "md_overflow" | "md_isHidden" | "md_truncate" | "md_pageShell" | "md_containment" | "md_absoluteFill" | "lg_area" | "lg_right" | "lg_left" | "lg_top" | "lg_bottom" | "lg_zIndex" | "lg_position" | "lg_padding" | "lg_cursor" | "lg_display" | "lg_overflowX" | "lg_overflowY" | "lg_transform" | "lg_container" | "lg_margin" | "lg_overflow" | "lg_isHidden" | "lg_truncate" | "lg_pageShell" | "lg_containment" | "lg_absoluteFill" | "xl_area" | "xl_right" | "xl_left" | "xl_top" | "xl_bottom" | "xl_zIndex" | "xl_position" | "xl_padding" | "xl_cursor" | "xl_display" | "xl_overflowX" | "xl_overflowY" | "xl_transform" | "xl_container" | "xl_margin" | "xl_overflow" | "xl_isHidden" | "xl_truncate" | "xl_pageShell" | "xl_containment" | "xl_absoluteFill" | "sm_deep" | "sm_deepColor" | "sm_noShadow" | "md_deep" | "md_deepColor" | "md_noShadow" | "lg_deep" | "lg_deepColor" | "lg_noShadow" | "xl_deep" | "xl_deepColor" | "xl_noShadow" | "sm_fontFamily" | "sm_fontWeight" | "sm_lineHeight" | "sm_letterSpacing" | "sm_textTransform" | "sm_fontStyle" | "sm_fontSize" | "sm_textAlign" | "sm_whiteSpace" | "sm_wordBreak" | "sm_textDecoration" | "sm_legibility" | "md_fontFamily" | "md_fontWeight" | "md_lineHeight" | "md_letterSpacing" | "md_textTransform" | "md_fontStyle" | "md_fontSize" | "md_textAlign" | "md_whiteSpace" | "md_wordBreak" | "md_textDecoration" | "md_legibility" | "lg_fontFamily" | "lg_fontWeight" | "lg_lineHeight" | "lg_letterSpacing" | "lg_textTransform" | "lg_fontStyle" | "lg_fontSize" | "lg_textAlign" | "lg_whiteSpace" | "lg_wordBreak" | "lg_textDecoration" | "lg_legibility" | "xl_fontFamily" | "xl_fontWeight" | "xl_lineHeight" | "xl_letterSpacing" | "xl_textTransform" | "xl_fontStyle" | "xl_fontSize" | "xl_textAlign" | "xl_whiteSpace" | "xl_wordBreak" | "xl_textDecoration" | "xl_legibility" | "sm_height" | "sm_maxHeight" | "sm_maxWidth" | "sm_minHeight" | "sm_minWidth" | "sm_width" | "md_height" | "md_maxHeight" | "md_maxWidth" | "md_minHeight" | "md_minWidth" | "md_width" | "lg_height" | "lg_maxHeight" | "lg_maxWidth" | "lg_minHeight" | "lg_minWidth" | "lg_width" | "xl_height" | "xl_maxHeight" | "xl_maxWidth" | "xl_minHeight" | "xl_minWidth" | "xl_width" | "sm_p" | "sm_px" | "sm_py" | "sm_m" | "sm_mt" | "sm_mr" | "sm_mb" | "sm_ml" | "sm_mx" | "sm_my" | "sm_pt" | "sm_pr" | "sm_pb" | "sm_pl" | "md_p" | "md_px" | "md_py" | "md_m" | "md_mt" | "md_mr" | "md_mb" | "md_ml" | "md_mx" | "md_my" | "md_pt" | "md_pr" | "md_pb" | "md_pl" | "lg_p" | "lg_px" | "lg_py" | "lg_m" | "lg_mt" | "lg_mr" | "lg_mb" | "lg_ml" | "lg_mx" | "lg_my" | "lg_pt" | "lg_pr" | "lg_pb" | "lg_pl" | "xl_p" | "xl_px" | "xl_py" | "xl_m" | "xl_mt" | "xl_mr" | "xl_mb" | "xl_ml" | "xl_mx" | "xl_my" | "xl_pt" | "xl_pr" | "xl_pb" | "xl_pl" | "ignoreResponsive" | "enableBreakpoint" | "property" | "viewportMedias" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "as" | "forwardedAs">>> & string;
|
|
116
|
-
|
|
119
|
+
/**
|
|
120
|
+
* Text under a mark. The mark of the current value (`$picked`) is emphasised
|
|
121
|
+
* by weight and ink — bold `ink.primary` against `ink.secondary` — so the
|
|
122
|
+
* pick reads without relying on colour alone.
|
|
123
|
+
*/
|
|
124
|
+
export declare const SliderMarkLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
125
|
+
as?: import("styled-components").WebTarget;
|
|
126
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
127
|
+
}, "$picked"> & {
|
|
128
|
+
$picked?: boolean;
|
|
129
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
130
|
+
as?: import("styled-components").WebTarget;
|
|
131
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
132
|
+
}, "$picked"> & {
|
|
133
|
+
$picked?: boolean;
|
|
134
|
+
}, never>>> & string;
|
|
135
|
+
/** Wraps the optional header row and the track when `label` or `showValue` is set. */
|
|
136
|
+
export declare const SliderField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
137
|
+
as?: import("styled-components").WebTarget;
|
|
138
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
139
|
+
}, never> & Partial<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
140
|
+
as?: import("styled-components").WebTarget;
|
|
141
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
142
|
+
}, never>>> & string;
|
|
143
|
+
/** "label · value" row above the track (`label` / `showValue`). */
|
|
144
|
+
export declare const SliderHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
117
145
|
as?: import("styled-components").WebTarget;
|
|
118
146
|
forwardedAs?: import("styled-components").WebTarget;
|
|
119
147
|
}, never> & Partial<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
120
148
|
as?: import("styled-components").WebTarget;
|
|
121
149
|
forwardedAs?: import("styled-components").WebTarget;
|
|
122
150
|
}, never>>> & string;
|
|
151
|
+
export declare const SliderHeaderLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
|
|
152
|
+
export declare const SliderHeaderValue: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j}from"../../chunks/chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n}from"../../chunks/chunk-536CYSLZ.esm.js";import"../../chunks/chunk-ZMHNNJNC.esm.js";import"../../chunks/chunk-2FQC32AA.esm.js";import"../../chunks/chunk-HSKYQ6VP.esm.js";import"../../chunks/chunk-SPHHNZVP.esm.js";import"../../chunks/chunk-4UWZA5FD.esm.js";import"../../chunks/chunk-KQQ7V7VG.esm.js";import"../../chunks/chunk-3QSPHURU.esm.js";import"../../chunks/chunk-NDIYF5SX.esm.js";import"../../chunks/chunk-KZTG5TDM.esm.js";import"../../chunks/chunk-A3OJEVGQ.esm.js";import"../../chunks/chunk-KR2X2UQG.esm.js";import"../../chunks/chunk-BE2JDTVA.esm.js";import"../../chunks/chunk-P3SIJHYM.esm.js";import"../../chunks/chunk-7JYI2AQK.esm.js";import"../../chunks/chunk-AMN6SRJS.esm.js";import"../../chunks/chunk-E2U6IFPB.esm.js";import"../../chunks/chunk-EU4FKCQL.esm.js";import"../../chunks/chunk-HPMNSONF.esm.js";import"../../chunks/chunk-MKGWYKH6.esm.js";import"../../chunks/chunk-4L2KOZIQ.esm.js";import"../../chunks/chunk-TBNQUDOJ.esm.js";import"../../chunks/chunk-RRTLPB5F.esm.js";import"../../chunks/chunk-IA234JY2.esm.js";import"../../chunks/chunk-2BWCWW2Q.esm.js";import"../../chunks/chunk-IQQH6HMG.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-O5TS2XER.esm.js";import"../../chunks/chunk-4E3BR56X.esm.js";import"../../chunks/chunk-TLIKQFOT.esm.js";import"../../chunks/chunk-XUZQE326.esm.js";import"../../chunks/chunk-3DUB5C4Z.esm.js";import"../../chunks/chunk-SEPVF2TL.esm.js";import"../../chunks/chunk-LDOM2UUN.esm.js";import"../../chunks/chunk-L7A7RA56.esm.js";import"../../chunks/chunk-HVFI7FHR.esm.js";import"../../chunks/chunk-KT6QQ3UJ.esm.js";import"../../chunks/chunk-TQMP7PZI.esm.js";import"../../chunks/chunk-MPMCXGOX.esm.js";import"../../chunks/chunk-JWNC52FT.esm.js";import"../../chunks/chunk-AULAOFBW.esm.js";import"../../chunks/chunk-4SDDAQ6N.esm.js";import"../../chunks/chunk-IN2WB2ZK.esm.js";import"../../chunks/chunk-FOWO4QTS.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-XR763B4T.esm.js";import"../../chunks/chunk-47UE4K3O.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-VCMHX5VK.esm.js";import"../../chunks/chunk-AAZFRX52.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-C7U4X56I.esm.js";import"../../chunks/chunk-QXV2TDLZ.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-QEB4VTKV.esm.js";import"../../chunks/chunk-R2QEO3KP.esm.js";import"../../chunks/chunk-ODL5JUYM.esm.js";import"../../chunks/chunk-3WXII2F3.esm.js";import"../../chunks/chunk-EJ245MA7.esm.js";import"../../chunks/chunk-FNYS25ZX.esm.js";import"../../chunks/chunk-MYU2IAR3.esm.js";import"../../chunks/chunk-VJ5GIFXO.esm.js";import"../../chunks/chunk-REPFMEFA.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{n as InputRange,a as SliderContainer,j as SliderField,e as SliderGradient,k as SliderHeader,l as SliderHeaderLabel,m as SliderHeaderValue,f as SliderLabel,h as SliderMark,i as SliderMarkLabel,b as SliderRail,g as SliderThumb,c as SliderTrack,d as SliderTrackGradient};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MotionPreset } from '../../factory/MotionFactory';
|
|
1
2
|
import type { ReactSelectProps } from '../../vendors/ReactSelect';
|
|
2
3
|
import { FieldVariants } from '../Field';
|
|
3
4
|
import { InputInterface } from '../Input';
|
|
@@ -27,6 +28,16 @@ export interface InputSelectProps<T> extends Omit<ReactSelectProps, 'onChange' |
|
|
|
27
28
|
menuPlacement?: 'auto' | 'bottom' | 'top';
|
|
28
29
|
isMulti?: boolean;
|
|
29
30
|
readOnly?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Enter animation of the options menu (ADR-027 motion preset). The default
|
|
33
|
+
* `scale` grows the menu out of the control on open (`@starting-style`);
|
|
34
|
+
* `prefers-reduced-motion` zeroes it centrally. Set `motion="none"` for an
|
|
35
|
+
* instant open. Enter only: react-select unmounts the menu synchronously on
|
|
36
|
+
* close. Same prop and vocabulary as `Dropdown`.
|
|
37
|
+
*
|
|
38
|
+
* @default 'scale'
|
|
39
|
+
*/
|
|
40
|
+
motion?: MotionPreset;
|
|
30
41
|
}
|
|
31
42
|
export type InputSelectRef = {
|
|
32
43
|
setValue: (value: ValueType<OptionType<any>>) => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type MotionPreset } from '../../factory/MotionFactory';
|
|
1
2
|
import { Theme } from '../../themes/ThemeProvider';
|
|
2
3
|
import type { StylesConfig } from '../../vendors/ReactSelect';
|
|
3
4
|
import { FieldVariants } from '../Field';
|
|
@@ -13,5 +14,8 @@ import { FieldVariants } from '../Field';
|
|
|
13
14
|
* - **isFocused** vs **isSelected**: `isFocused` is the keyboard/hover
|
|
14
15
|
* "highlight" (light gray); `isSelected` is the persistent state of the
|
|
15
16
|
* current option (darker gray).
|
|
17
|
+
* - **motion** (ADR-027 preset, default `scale`): the menu enters from the
|
|
18
|
+
* control's edge via `@starting-style`. Enter only — react-select unmounts
|
|
19
|
+
* the menu synchronously on close, so there is no element left to fade.
|
|
16
20
|
*/
|
|
17
|
-
export declare function createComponentStyle(theme: Theme, variant: FieldVariants, outerStyles?: React.CSSProperties): StylesConfig;
|
|
21
|
+
export declare function createComponentStyle(theme: Theme, variant: FieldVariants, outerStyles?: React.CSSProperties, motion?: MotionPreset): StylesConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk-
|
|
1
|
+
import{a,b}from"../../chunks/chunk-6PVZ2DEN.esm.js";import"../../chunks/chunk-ZMHNNJNC.esm.js";import"../../chunks/chunk-2FQC32AA.esm.js";import"../../chunks/chunk-HSKYQ6VP.esm.js";import"../../chunks/chunk-SPHHNZVP.esm.js";import"../../chunks/chunk-4UWZA5FD.esm.js";import"../../chunks/chunk-KQQ7V7VG.esm.js";import"../../chunks/chunk-3QSPHURU.esm.js";import"../../chunks/chunk-NDIYF5SX.esm.js";import"../../chunks/chunk-KZTG5TDM.esm.js";import"../../chunks/chunk-A3OJEVGQ.esm.js";import"../../chunks/chunk-KR2X2UQG.esm.js";import"../../chunks/chunk-BE2JDTVA.esm.js";import"../../chunks/chunk-P3SIJHYM.esm.js";import"../../chunks/chunk-7JYI2AQK.esm.js";import"../../chunks/chunk-AMN6SRJS.esm.js";import"../../chunks/chunk-E2U6IFPB.esm.js";import"../../chunks/chunk-L7A7RA56.esm.js";import"../../chunks/chunk-HVFI7FHR.esm.js";import"../../chunks/chunk-QEB4VTKV.esm.js";import"../../chunks/chunk-R2QEO3KP.esm.js";import"../../chunks/chunk-EJ245MA7.esm.js";import"../../chunks/chunk-FNYS25ZX.esm.js";import"../../chunks/chunk-MYU2IAR3.esm.js";import"../../chunks/chunk-VJ5GIFXO.esm.js";import"../../chunks/chunk-REPFMEFA.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 InputSelect,a as createComponentStyle};
|