@shortfuse/materialdesignweb 0.8.0 → 0.9.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 +32 -24
- package/bin/mdw-css.js +1 -1
- package/components/Badge.js +12 -5
- package/components/Body.js +3 -0
- package/components/BottomAppBar.js +1 -8
- package/components/BottomSheet.js +424 -0
- package/components/Box.js +11 -49
- package/components/Button.js +61 -82
- package/components/Card.js +56 -61
- package/components/Checkbox.js +7 -25
- package/components/CheckboxIcon.js +10 -28
- package/components/Chip.js +13 -11
- package/components/Dialog.js +49 -98
- package/components/Display.js +55 -0
- package/components/Fab.js +83 -17
- package/components/FabContainer.js +48 -0
- package/components/FilterChip.js +34 -32
- package/components/Grid.js +176 -0
- package/components/Headline.js +5 -28
- package/components/Icon.js +54 -69
- package/components/IconButton.js +71 -120
- package/components/Input.js +669 -83
- package/components/InputChip.js +161 -0
- package/components/Label.js +3 -0
- package/components/List.js +1 -5
- package/components/ListItem.js +39 -23
- package/components/ListOption.js +79 -62
- package/components/Listbox.js +19 -10
- package/components/Menu.js +8 -18
- package/components/MenuItem.js +25 -26
- package/components/NavBar.js +53 -19
- package/components/NavDrawer.js +15 -15
- package/components/NavDrawerItem.js +2 -4
- package/components/NavItem.js +40 -33
- package/components/NavRail.js +23 -21
- package/components/NavRailItem.js +5 -2
- package/components/Page.js +105 -0
- package/components/Pane.js +18 -0
- package/components/Popup.js +17 -8
- package/components/Radio.js +2 -5
- package/components/RadioIcon.js +10 -14
- package/components/Ripple.js +11 -7
- package/components/Root.js +209 -0
- package/components/Scrim.js +87 -0
- package/components/Search.js +12 -20
- package/components/SegmentedButton.js +33 -36
- package/components/SegmentedButtonGroup.js +9 -3
- package/components/Select.js +6 -7
- package/components/Shape.js +5 -65
- package/components/SideSheet.js +308 -0
- package/components/Slider.js +71 -34
- package/components/Snackbar.js +22 -16
- package/components/SnackbarContainer.js +42 -0
- package/components/Surface.js +15 -10
- package/components/Switch.js +3 -16
- package/components/SwitchIcon.js +40 -32
- package/components/Tab.js +57 -38
- package/components/TabContent.js +1 -0
- package/components/TabList.js +60 -32
- package/components/TabPanel.js +1 -1
- package/components/Table.js +116 -0
- package/components/TextArea.js +16 -15
- package/components/Title.js +4 -9
- package/components/Tooltip.js +43 -21
- package/components/TopAppBar.js +56 -78
- package/constants/shapes.js +36 -0
- package/constants/typography.js +127 -0
- package/core/Composition.js +354 -192
- package/core/CompositionAdapter.js +11 -12
- package/core/CustomElement.js +588 -236
- package/core/css.js +117 -12
- package/core/customTypes.js +120 -25
- package/core/dom.js +17 -11
- package/core/jsonMergePatch.js +12 -10
- package/core/observe.js +298 -253
- package/core/optimizations.js +9 -9
- package/core/template.js +14 -57
- package/dist/index.min.js +85 -115
- package/dist/index.min.js.map +4 -4
- package/dist/meta.json +1 -1
- package/dom/HTMLOptionsCollectionProxy.js +106 -0
- package/{theming/themableMixinLoader.js → loaders/palette.js} +4 -3
- package/loaders/theme.js +12 -0
- package/mixins/AriaReflectorMixin.js +53 -13
- package/mixins/AriaToolbarMixin.js +3 -0
- package/mixins/ControlMixin.js +76 -33
- package/mixins/DelegatesFocusMixin.js +54 -0
- package/mixins/DensityMixin.js +2 -2
- package/mixins/ElevationMixin.js +62 -0
- package/mixins/FlexableMixin.js +66 -37
- package/mixins/FormAssociatedMixin.js +60 -8
- package/mixins/HyperlinkMixin.js +66 -0
- package/mixins/InputMixin.js +205 -32
- package/mixins/KeyboardNavMixin.js +8 -6
- package/mixins/NavigationListenerMixin.js +33 -0
- package/mixins/PopupMixin.js +176 -208
- package/mixins/ResizeObserverMixin.js +16 -4
- package/mixins/RippleMixin.js +8 -6
- package/mixins/ScrollListenerMixin.js +1 -1
- package/mixins/SemiStickyMixin.js +44 -98
- package/mixins/ShapeMaskedMixin.js +117 -0
- package/mixins/ShapeMixin.js +22 -204
- package/mixins/StateMixin.js +70 -34
- package/mixins/TextFieldMixin.js +107 -143
- package/mixins/ThemableMixin.js +44 -56
- package/mixins/TooltipTriggerMixin.js +291 -359
- package/mixins/TouchTargetMixin.js +1 -1
- package/mixins/TypographyMixin.js +121 -0
- package/package.json +110 -74
- package/services/rtl.js +10 -0
- package/services/svgAlias.js +17 -0
- package/{theming/index.js → services/theme.js} +24 -174
- package/types/bin/mdw-css.d.ts +3 -0
- package/types/bin/mdw-css.d.ts.map +1 -0
- package/types/components/Badge.d.ts +39 -0
- package/types/components/Badge.d.ts.map +1 -0
- package/types/components/Body.d.ts +29 -0
- package/types/components/Body.d.ts.map +1 -0
- package/types/components/BottomAppBar.d.ts +73 -0
- package/types/components/BottomAppBar.d.ts.map +1 -0
- package/types/components/BottomSheet.d.ts +109 -0
- package/types/components/BottomSheet.d.ts.map +1 -0
- package/types/components/Box.d.ts +16 -0
- package/types/components/Box.d.ts.map +1 -0
- package/types/components/Button.d.ts +714 -0
- package/types/components/Button.d.ts.map +1 -0
- package/types/components/Card.d.ts +412 -0
- package/types/components/Card.d.ts.map +1 -0
- package/types/components/Checkbox.d.ts +205 -0
- package/types/components/Checkbox.d.ts.map +1 -0
- package/types/components/CheckboxIcon.d.ts +44 -0
- package/types/components/CheckboxIcon.d.ts.map +1 -0
- package/types/components/Chip.d.ts +1425 -0
- package/types/components/Chip.d.ts.map +1 -0
- package/types/components/Dialog.d.ts +286 -0
- package/types/components/Dialog.d.ts.map +1 -0
- package/types/components/DialogActions.d.ts +4 -0
- package/types/components/DialogActions.d.ts.map +1 -0
- package/types/components/Display.d.ts +45 -0
- package/types/components/Display.d.ts.map +1 -0
- package/types/components/Divider.d.ts +10 -0
- package/types/components/Divider.d.ts.map +1 -0
- package/types/components/Fab.d.ts +741 -0
- package/types/components/Fab.d.ts.map +1 -0
- package/types/components/FabContainer.d.ts +10 -0
- package/types/components/FabContainer.d.ts.map +1 -0
- package/types/components/FilterChip.d.ts +4283 -0
- package/types/components/FilterChip.d.ts.map +1 -0
- package/types/components/Grid.d.ts +37 -0
- package/types/components/Grid.d.ts.map +1 -0
- package/types/components/Headline.d.ts +47 -0
- package/types/components/Headline.d.ts.map +1 -0
- package/types/components/Icon.d.ts +103 -0
- package/types/components/Icon.d.ts.map +1 -0
- package/types/components/IconButton.d.ts +1486 -0
- package/types/components/IconButton.d.ts.map +1 -0
- package/types/components/Input.d.ts +51288 -0
- package/types/components/Input.d.ts.map +1 -0
- package/types/components/InputChip.d.ts +243 -0
- package/types/components/InputChip.d.ts.map +1 -0
- package/types/components/Label.d.ts +29 -0
- package/types/components/Label.d.ts.map +1 -0
- package/types/components/List.d.ts +31 -0
- package/types/components/List.d.ts.map +1 -0
- package/types/components/ListItem.d.ts +349 -0
- package/types/components/ListItem.d.ts.map +1 -0
- package/types/components/ListOption.d.ts +1493 -0
- package/types/components/ListOption.d.ts.map +1 -0
- package/types/components/Listbox.d.ts +12012 -0
- package/types/components/Listbox.d.ts.map +1 -0
- package/types/components/Menu.d.ts +119 -0
- package/types/components/Menu.d.ts.map +1 -0
- package/types/components/MenuItem.d.ts +3109 -0
- package/types/components/MenuItem.d.ts.map +1 -0
- package/types/components/NavBar.d.ts +18 -0
- package/types/components/NavBar.d.ts.map +1 -0
- package/types/components/NavBarItem.d.ts +186 -0
- package/types/components/NavBarItem.d.ts.map +1 -0
- package/types/components/NavDrawer.d.ts +108 -0
- package/types/components/NavDrawer.d.ts.map +1 -0
- package/types/components/NavDrawerItem.d.ts +186 -0
- package/types/components/NavDrawerItem.d.ts.map +1 -0
- package/types/components/NavItem.d.ts +190 -0
- package/types/components/NavItem.d.ts.map +1 -0
- package/types/components/NavRail.d.ts +109 -0
- package/types/components/NavRail.d.ts.map +1 -0
- package/types/components/NavRailItem.d.ts +186 -0
- package/types/components/NavRailItem.d.ts.map +1 -0
- package/types/components/Page.d.ts +24 -0
- package/types/components/Page.d.ts.map +1 -0
- package/types/components/Pane.d.ts +44 -0
- package/types/components/Pane.d.ts.map +1 -0
- package/types/components/Popup.d.ts +76 -0
- package/types/components/Popup.d.ts.map +1 -0
- package/types/components/Progress.d.ts +19 -0
- package/types/components/Progress.d.ts.map +1 -0
- package/types/components/Radio.d.ts +199 -0
- package/types/components/Radio.d.ts.map +1 -0
- package/types/components/RadioIcon.d.ts +46 -0
- package/types/components/RadioIcon.d.ts.map +1 -0
- package/types/components/Ripple.d.ts +34 -0
- package/types/components/Ripple.d.ts.map +1 -0
- package/types/components/Root.d.ts +68 -0
- package/types/components/Root.d.ts.map +1 -0
- package/types/components/Scrim.d.ts +6 -0
- package/types/components/Scrim.d.ts.map +1 -0
- package/types/components/Search.d.ts +16 -0
- package/types/components/Search.d.ts.map +1 -0
- package/types/components/SegmentedButton.d.ts +718 -0
- package/types/components/SegmentedButton.d.ts.map +1 -0
- package/types/components/SegmentedButtonGroup.d.ts +44 -0
- package/types/components/SegmentedButtonGroup.d.ts.map +1 -0
- package/types/components/Select.d.ts +1361 -0
- package/types/components/Select.d.ts.map +1 -0
- package/types/components/Shape.d.ts +10 -0
- package/types/components/Shape.d.ts.map +1 -0
- package/types/components/SideSheet.d.ts +106 -0
- package/types/components/SideSheet.d.ts.map +1 -0
- package/types/components/Slider.d.ts +382 -0
- package/types/components/Slider.d.ts.map +1 -0
- package/types/components/Snackbar.d.ts +65 -0
- package/types/components/Snackbar.d.ts.map +1 -0
- package/types/components/SnackbarContainer.d.ts +6 -0
- package/types/components/SnackbarContainer.d.ts.map +1 -0
- package/types/components/Surface.d.ts +45 -0
- package/types/components/Surface.d.ts.map +1 -0
- package/types/components/Switch.d.ts +183 -0
- package/types/components/Switch.d.ts.map +1 -0
- package/types/components/SwitchIcon.d.ts +169 -0
- package/types/components/SwitchIcon.d.ts.map +1 -0
- package/types/components/Tab.d.ts +879 -0
- package/types/components/Tab.d.ts.map +1 -0
- package/types/components/TabContent.d.ts +122 -0
- package/types/components/TabContent.d.ts.map +1 -0
- package/types/components/TabList.d.ts +6266 -0
- package/types/components/TabList.d.ts.map +1 -0
- package/types/components/TabPanel.d.ts +28 -0
- package/types/components/TabPanel.d.ts.map +1 -0
- package/types/components/Table.d.ts +2 -0
- package/types/components/Table.d.ts.map +1 -0
- package/types/components/TextArea.d.ts +1394 -0
- package/types/components/TextArea.d.ts.map +1 -0
- package/types/components/Title.d.ts +47 -0
- package/types/components/Title.d.ts.map +1 -0
- package/types/components/Tooltip.d.ts +49 -0
- package/types/components/Tooltip.d.ts.map +1 -0
- package/types/components/TopAppBar.d.ts +130 -0
- package/types/components/TopAppBar.d.ts.map +1 -0
- package/types/constants/colorKeywords.d.ts +2 -0
- package/types/constants/colorKeywords.d.ts.map +1 -0
- package/types/constants/shapes.d.ts +38 -0
- package/types/constants/shapes.d.ts.map +1 -0
- package/types/constants/typography.d.ts +212 -0
- package/types/constants/typography.d.ts.map +1 -0
- package/types/core/Composition.d.ts +252 -0
- package/types/core/Composition.d.ts.map +1 -0
- package/types/core/CompositionAdapter.d.ts +92 -0
- package/types/core/CompositionAdapter.d.ts.map +1 -0
- package/types/core/CustomElement.d.ts +302 -0
- package/types/core/CustomElement.d.ts.map +1 -0
- package/types/core/css.d.ts +44 -0
- package/types/core/css.d.ts.map +1 -0
- package/types/core/customTypes.d.ts +26 -0
- package/types/core/customTypes.d.ts.map +1 -0
- package/types/core/dom.d.ts +32 -0
- package/types/core/dom.d.ts.map +1 -0
- package/types/core/jsonMergePatch.d.ts +31 -0
- package/types/core/jsonMergePatch.d.ts.map +1 -0
- package/types/core/observe.d.ts +113 -0
- package/types/core/observe.d.ts.map +1 -0
- package/types/core/optimizations.d.ts +7 -0
- package/types/core/optimizations.d.ts.map +1 -0
- package/types/core/template.d.ts +47 -0
- package/types/core/template.d.ts.map +1 -0
- package/types/core/uid.d.ts +6 -0
- package/types/core/uid.d.ts.map +1 -0
- package/types/dom/HTMLOptionsCollectionProxy.d.ts +18 -0
- package/types/dom/HTMLOptionsCollectionProxy.d.ts.map +1 -0
- package/types/index.d.ts +88 -0
- package/types/index.d.ts.map +1 -0
- package/types/loaders/palette.d.ts +2 -0
- package/types/loaders/palette.d.ts.map +1 -0
- package/types/loaders/theme.d.ts +2 -0
- package/types/loaders/theme.d.ts.map +1 -0
- package/types/mixins/AriaReflectorMixin.d.ts +23 -0
- package/types/mixins/AriaReflectorMixin.d.ts.map +1 -0
- package/types/mixins/AriaToolbarMixin.d.ts +32 -0
- package/types/mixins/AriaToolbarMixin.d.ts.map +1 -0
- package/types/mixins/ControlMixin.d.ts +124 -0
- package/types/mixins/ControlMixin.d.ts.map +1 -0
- package/types/mixins/DelegatesFocusMixin.d.ts +5 -0
- package/types/mixins/DelegatesFocusMixin.d.ts.map +1 -0
- package/types/mixins/DensityMixin.d.ts +5 -0
- package/types/mixins/DensityMixin.d.ts.map +1 -0
- package/types/mixins/ElevationMixin.d.ts +33 -0
- package/types/mixins/ElevationMixin.d.ts.map +1 -0
- package/types/mixins/FlexableMixin.d.ts +13 -0
- package/types/mixins/FlexableMixin.d.ts.map +1 -0
- package/types/mixins/FormAssociatedMixin.d.ts +122 -0
- package/types/mixins/FormAssociatedMixin.d.ts.map +1 -0
- package/types/mixins/HyperlinkMixin.d.ts +22 -0
- package/types/mixins/HyperlinkMixin.d.ts.map +1 -0
- package/types/mixins/InputMixin.d.ts +179 -0
- package/types/mixins/InputMixin.d.ts.map +1 -0
- package/types/mixins/KeyboardNavMixin.d.ts +47 -0
- package/types/mixins/KeyboardNavMixin.d.ts.map +1 -0
- package/types/mixins/NavigationListenerMixin.d.ts +8 -0
- package/types/mixins/NavigationListenerMixin.d.ts.map +1 -0
- package/types/mixins/PopupMixin.d.ts +82 -0
- package/types/mixins/PopupMixin.d.ts.map +1 -0
- package/types/mixins/RTLObserverMixin.d.ts +7 -0
- package/types/mixins/RTLObserverMixin.d.ts.map +1 -0
- package/types/mixins/ResizeObserverMixin.d.ts +12 -0
- package/types/mixins/ResizeObserverMixin.d.ts.map +1 -0
- package/types/mixins/RippleMixin.d.ts +92 -0
- package/types/mixins/RippleMixin.d.ts.map +1 -0
- package/types/mixins/ScrollListenerMixin.d.ts +41 -0
- package/types/mixins/ScrollListenerMixin.d.ts.map +1 -0
- package/types/mixins/SemiStickyMixin.d.ts +50 -0
- package/types/mixins/SemiStickyMixin.d.ts.map +1 -0
- package/types/mixins/ShapeMaskedMixin.d.ts +9 -0
- package/types/mixins/ShapeMaskedMixin.d.ts.map +1 -0
- package/types/mixins/ShapeMixin.d.ts +38 -0
- package/types/mixins/ShapeMixin.d.ts.map +1 -0
- package/types/mixins/StateMixin.d.ts +27 -0
- package/types/mixins/StateMixin.d.ts.map +1 -0
- package/types/mixins/TextFieldMixin.d.ts +1354 -0
- package/types/mixins/TextFieldMixin.d.ts.map +1 -0
- package/types/mixins/ThemableMixin.d.ts +9 -0
- package/types/mixins/ThemableMixin.d.ts.map +1 -0
- package/types/mixins/TooltipTriggerMixin.d.ts +106 -0
- package/types/mixins/TooltipTriggerMixin.d.ts.map +1 -0
- package/types/mixins/TouchTargetMixin.d.ts +3 -0
- package/types/mixins/TouchTargetMixin.d.ts.map +1 -0
- package/types/mixins/TypographyMixin.d.ts +17 -0
- package/types/mixins/TypographyMixin.d.ts.map +1 -0
- package/types/services/rtl.d.ts +3 -0
- package/types/services/rtl.d.ts.map +1 -0
- package/types/services/svgAlias.d.ts +13 -0
- package/types/services/svgAlias.d.ts.map +1 -0
- package/types/services/theme.d.ts +45 -0
- package/types/services/theme.d.ts.map +1 -0
- package/types/utils/cli.d.ts +3 -0
- package/types/utils/cli.d.ts.map +1 -0
- package/types/utils/function.d.ts +3 -0
- package/types/utils/function.d.ts.map +1 -0
- package/types/utils/jsx-runtime.d.ts +20 -0
- package/types/utils/jsx-runtime.d.ts.map +1 -0
- package/types/utils/material-color/blend.d.ts +34 -0
- package/types/utils/material-color/blend.d.ts.map +1 -0
- package/types/utils/material-color/hct/Cam16.d.ts +142 -0
- package/types/utils/material-color/hct/Cam16.d.ts.map +1 -0
- package/types/utils/material-color/hct/Hct.d.ts +93 -0
- package/types/utils/material-color/hct/Hct.d.ts.map +1 -0
- package/types/utils/material-color/hct/ViewingConditions.d.ts +69 -0
- package/types/utils/material-color/hct/ViewingConditions.d.ts.map +1 -0
- package/types/utils/material-color/hct/hctSolver.d.ts +30 -0
- package/types/utils/material-color/hct/hctSolver.d.ts.map +1 -0
- package/types/utils/material-color/helper.d.ts +8 -0
- package/types/utils/material-color/helper.d.ts.map +1 -0
- package/types/utils/material-color/palettes/CorePalette.d.ts +75 -0
- package/types/utils/material-color/palettes/CorePalette.d.ts.map +1 -0
- package/types/utils/material-color/palettes/TonalPalette.d.ts +38 -0
- package/types/utils/material-color/palettes/TonalPalette.d.ts.map +1 -0
- package/types/utils/material-color/scheme/Scheme.d.ts +264 -0
- package/types/utils/material-color/scheme/Scheme.d.ts.map +1 -0
- package/types/utils/material-color/utils/color.d.ts +172 -0
- package/types/utils/material-color/utils/color.d.ts.map +1 -0
- package/types/utils/material-color/utils/math.d.ts +94 -0
- package/types/utils/material-color/utils/math.d.ts.map +1 -0
- package/types/utils/pixelmatch.d.ts +22 -0
- package/types/utils/pixelmatch.d.ts.map +1 -0
- package/types/utils/popup.d.ts +106 -0
- package/types/utils/popup.d.ts.map +1 -0
- package/types/utils/searchParams.d.ts +3 -0
- package/types/utils/searchParams.d.ts.map +1 -0
- package/types/utils/svg.d.ts +7 -0
- package/types/utils/svg.d.ts.map +1 -0
- package/utils/material-color/scheme/Scheme.js +1 -1
- package/utils/pixelmatch.js +360 -0
- package/utils/popup.js +86 -10
- package/utils/searchParams.js +19 -0
- package/components/ExtendedFab.js +0 -32
- package/components/Layout.js +0 -504
- package/components/Nav.js +0 -38
- package/core/DomAdapter.js +0 -586
- package/core/ICustomElement.d.ts +0 -291
- package/core/ICustomElement.js +0 -1
- package/core/test.js +0 -126
- package/core/typings.d.ts +0 -142
- package/core/typings.js +0 -1
- package/mixins/SurfaceMixin.js +0 -127
- package/theming/loader.js +0 -22
- /package/{utils/color_keywords.js → constants/colorKeywords.js} +0 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
|
+
*/
|
|
4
|
+
export default function PopupMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
5
|
+
_resizeObserverEnabled: boolean;
|
|
6
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
7
|
+
onResizeObserved(entry: ResizeObserverEntry): void;
|
|
8
|
+
observeResize(): void;
|
|
9
|
+
unobserveResize(): void;
|
|
10
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
11
|
+
delegatesFocus: boolean;
|
|
12
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
13
|
+
open: boolean;
|
|
14
|
+
modal: boolean;
|
|
15
|
+
native: boolean;
|
|
16
|
+
scrollable: boolean;
|
|
17
|
+
matchSourceWidth: boolean;
|
|
18
|
+
_currentFlow: string;
|
|
19
|
+
flow: string;
|
|
20
|
+
popupMargin: number;
|
|
21
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
22
|
+
useHistory: boolean;
|
|
23
|
+
returnValue: string;
|
|
24
|
+
_closing: boolean;
|
|
25
|
+
_useScrim: boolean;
|
|
26
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
27
|
+
_dialog: HTMLDialogElement;
|
|
28
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
29
|
+
/**
|
|
30
|
+
* @param {DOMRect|Element} [anchor]
|
|
31
|
+
* @return {void}
|
|
32
|
+
*/
|
|
33
|
+
updatePopupPosition(anchor?: DOMRect | Element): void;
|
|
34
|
+
/**
|
|
35
|
+
* @param {Event & {currentTarget: HTMLSlotElement}} event
|
|
36
|
+
* @return {void}
|
|
37
|
+
*/
|
|
38
|
+
onSlotChange({ currentTarget }: Event & {
|
|
39
|
+
currentTarget: HTMLSlotElement;
|
|
40
|
+
}): void;
|
|
41
|
+
/**
|
|
42
|
+
* @param {MouseEvent|PointerEvent|HTMLElement|Event} [source]
|
|
43
|
+
* @param {boolean} focus
|
|
44
|
+
* @param {string} flow
|
|
45
|
+
* @return {boolean} handled
|
|
46
|
+
*/
|
|
47
|
+
showPopup(source?: MouseEvent | PointerEvent | HTMLElement | Event, focus?: boolean, flow?: string): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* @param {MouseEvent|PointerEvent|HTMLElement|Event} [source]
|
|
50
|
+
* @param {boolean} [focus]
|
|
51
|
+
* @param {string} [flow]
|
|
52
|
+
* @return {boolean} handled
|
|
53
|
+
*/
|
|
54
|
+
showModal(source?: MouseEvent | PointerEvent | HTMLElement | Event, focus?: boolean, flow?: string): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* @param {MouseEvent|PointerEvent|HTMLElement|Event} [source]
|
|
57
|
+
* @param {boolean} [focus]
|
|
58
|
+
* @param {string} [flow]
|
|
59
|
+
* @return {boolean} handled
|
|
60
|
+
*/
|
|
61
|
+
show(source?: MouseEvent | PointerEvent | HTMLElement | Event, focus?: boolean, flow?: string): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* @param {any} [returnValue]
|
|
64
|
+
* @param {boolean} [returnFocus=true]
|
|
65
|
+
* @return {boolean} handled
|
|
66
|
+
*/
|
|
67
|
+
close(returnValue?: any, returnFocus?: boolean): boolean;
|
|
68
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
69
|
+
onResizeObserved(entry: ResizeObserverEntry): void;
|
|
70
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
71
|
+
_ariaHidden: never;
|
|
72
|
+
}, any[]>;
|
|
73
|
+
export type PopupStack = {
|
|
74
|
+
element: Element;
|
|
75
|
+
previousFocus: Element;
|
|
76
|
+
centered?: boolean;
|
|
77
|
+
state?: Record<string, any>;
|
|
78
|
+
previousState?: Record<string, any>;
|
|
79
|
+
pendingResizeOperation?: any;
|
|
80
|
+
scrollRestoration?: ScrollRestoration;
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=PopupMixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopupMixin.d.ts","sourceRoot":"","sources":["../../mixins/PopupMixin.js"],"names":[],"mappings":"AAuEA;;GAEG;AACH,yCAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;aA4BlC,iBAAiB;;IAIrC;;;OAGG;iCAFQ,OAAO,GAAC,OAAO,GACd,IAAI;IAuJhB;;;OAGG;oCAFQ,KAAK,GAAG;QAAC,aAAa,EAAE,eAAe,CAAA;KAAC,GACvC,IAAI;IAShB;;;;;OAKG;uBAJQ,UAAU,GAAC,YAAY,GAAC,WAAW,GAAC,KAAK,UACzC,OAAO,SACP,MAAM,GACL,OAAO;IA+EnB;;;;;OAKG;uBAJQ,UAAU,GAAC,YAAY,GAAC,WAAW,GAAC,KAAK,UACzC,OAAO,SACP,MAAM,GACL,OAAO;IAWnB;;;;;OAKG;kBAJQ,UAAU,GAAC,YAAY,GAAC,WAAW,GAAC,KAAK,UACzC,OAAO,SACP,MAAM,GACL,OAAO;IAUnB;;;;OAIG;wBAHQ,GAAG,gBACH,OAAO,GACN,OAAO;;;;;UAqVxB;;aAzsBS,OAAO;mBACP,OAAO;eACP,OAAO;YACP,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;oBACnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;6BACnB,GAAG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
|
+
*/
|
|
4
|
+
export default function RTLObserverMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
5
|
+
pageIsRTL: boolean;
|
|
6
|
+
}, any[]>;
|
|
7
|
+
//# sourceMappingURL=RTLObserverMixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RTLObserverMixin.d.ts","sourceRoot":"","sources":["../../mixins/RTLObserverMixin.js"],"names":[],"mappings":"AAKA;;GAEG;AACH,+CAFW,cAAc,0BAA0B,EAAE,OAAO;;UA2B3D"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
|
+
*/
|
|
4
|
+
export default function ResizeObserverMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
5
|
+
_resizeObserverEnabled: boolean;
|
|
6
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
7
|
+
/** @param {ResizeObserverEntry} entry */
|
|
8
|
+
onResizeObserved(entry: ResizeObserverEntry): void;
|
|
9
|
+
observeResize(): void;
|
|
10
|
+
unobserveResize(): void;
|
|
11
|
+
}, any[]>;
|
|
12
|
+
//# sourceMappingURL=ResizeObserverMixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResizeObserverMixin.d.ts","sourceRoot":"","sources":["../../mixins/ResizeObserverMixin.js"],"names":[],"mappings":"AAOA;;GAEG;AACH,kDAFW,cAAc,0BAA0B,EAAE,OAAO;;;IAWtD,yCAAyC;4BAA7B,mBAAmB;;;UA6BpC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/** @typedef {import('../components/Ripple.js').default} Ripple */
|
|
2
|
+
/**
|
|
3
|
+
* @param {ReturnType<import('./StateMixin.js').default>} Base
|
|
4
|
+
*/
|
|
5
|
+
export default function RippleMixin(Base: ReturnType<typeof import("./StateMixin.js").default>): typeof import("../index.js").CustomElement & import("../core/CustomElement.js").Class<{
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
focused: boolean;
|
|
8
|
+
hovered: boolean;
|
|
9
|
+
pressed: boolean;
|
|
10
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
11
|
+
_hovered: boolean;
|
|
12
|
+
_focused: boolean;
|
|
13
|
+
_focusedSynthetic: boolean;
|
|
14
|
+
_keyPressed: boolean;
|
|
15
|
+
_keyReleased: boolean;
|
|
16
|
+
_pointerPressed: boolean;
|
|
17
|
+
stateLayer: boolean;
|
|
18
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
19
|
+
disabledState: boolean;
|
|
20
|
+
hoveredState: boolean;
|
|
21
|
+
focusedState: boolean;
|
|
22
|
+
pressedState: boolean;
|
|
23
|
+
touchedState: boolean;
|
|
24
|
+
pointedState: boolean;
|
|
25
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
26
|
+
stateTargetElement: HTMLElement;
|
|
27
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
28
|
+
/** @type {WeakRef<InstanceType<Ripple>>} */
|
|
29
|
+
_lastRippleWeakRef: WeakRef<InstanceType<Ripple>>;
|
|
30
|
+
/** Flag set if ripple was added this event loop. */
|
|
31
|
+
_rippleAdded: boolean;
|
|
32
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
33
|
+
_lastRipple: import("../index.js").CustomElement & {
|
|
34
|
+
hadRippleHeld: boolean;
|
|
35
|
+
hadRippleReleased: boolean;
|
|
36
|
+
rippleStarted: boolean;
|
|
37
|
+
} & {
|
|
38
|
+
rippleState: string;
|
|
39
|
+
keepAlive: boolean;
|
|
40
|
+
_positionX: number;
|
|
41
|
+
_positionY: number;
|
|
42
|
+
_radius: number;
|
|
43
|
+
holdRipple: boolean;
|
|
44
|
+
} & {
|
|
45
|
+
_positionStyle: import("../core/customTypes.js").ElementStylerOptions | {
|
|
46
|
+
styles: {
|
|
47
|
+
minHeight: string;
|
|
48
|
+
minWidth: string;
|
|
49
|
+
boxShadow: string;
|
|
50
|
+
top: string;
|
|
51
|
+
left: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
} & {
|
|
55
|
+
updatePosition(x?: number, y?: number, size?: number): void;
|
|
56
|
+
handleRippleComplete(): void;
|
|
57
|
+
};
|
|
58
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
59
|
+
/**
|
|
60
|
+
* @param {number} [x]
|
|
61
|
+
* @param {number} [y]
|
|
62
|
+
* @param {boolean} [hold]
|
|
63
|
+
* @return {InstanceType<Ripple>}
|
|
64
|
+
*/
|
|
65
|
+
addRipple(x?: number, y?: number, hold?: boolean): InstanceType<Ripple>;
|
|
66
|
+
}, any[]>;
|
|
67
|
+
export type Ripple = typeof import("../index.js").CustomElement & import("../core/CustomElement.js").Class<{
|
|
68
|
+
hadRippleHeld: boolean;
|
|
69
|
+
hadRippleReleased: boolean;
|
|
70
|
+
rippleStarted: boolean;
|
|
71
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
72
|
+
rippleState: string;
|
|
73
|
+
keepAlive: boolean;
|
|
74
|
+
_positionX: number;
|
|
75
|
+
_positionY: number;
|
|
76
|
+
_radius: number;
|
|
77
|
+
holdRipple: boolean;
|
|
78
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
79
|
+
_positionStyle: import("../core/customTypes.js").ElementStylerOptions | {
|
|
80
|
+
styles: {
|
|
81
|
+
minHeight: string;
|
|
82
|
+
minWidth: string;
|
|
83
|
+
boxShadow: string;
|
|
84
|
+
top: string;
|
|
85
|
+
left: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
89
|
+
updatePosition(x?: number, y?: number, size?: number): void;
|
|
90
|
+
handleRippleComplete(): void;
|
|
91
|
+
}, any[]>;
|
|
92
|
+
//# sourceMappingURL=RippleMixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RippleMixin.d.ts","sourceRoot":"","sources":["../../mixins/RippleMixin.js"],"names":[],"mappings":"AAEA,kEAAkE;AAElE;;GAEG;AACH,0CAFW,UAAU,CAAC,wCAAiC,CAAC;;;;;;;;;;;;;;;;;;;;;;;IAKlD,4CAA4C;wBAAjC,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAExC,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgBpD;;;;;OAKG;kBAJQ,MAAM,MACN,MAAM,SACN,OAAO,GACN,YAAY,CAAC,MAAM,CAAC;UA8FrC;qBA5Ha;;;;;;;;;;;;;;;;;;;;;;;;SAAyC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
|
+
*/
|
|
4
|
+
export default function ScrollListenerMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
5
|
+
_scrollListenerPositionX: number;
|
|
6
|
+
_scrollListenerPositionY: number;
|
|
7
|
+
_scrollListenerLastIdle: number;
|
|
8
|
+
_scrollListenerLastScroll: number;
|
|
9
|
+
_scrollListenerLastResize: number;
|
|
10
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
11
|
+
/** @type {WeakRef<EventTarget>} */
|
|
12
|
+
_scroller: WeakRef<EventTarget>;
|
|
13
|
+
/** @type {EventListener} */
|
|
14
|
+
_scrollerScrollListener: EventListener;
|
|
15
|
+
/** @type {EventListener} */
|
|
16
|
+
_scrollerResizeListener: EventListener;
|
|
17
|
+
_scrollDebounce: any;
|
|
18
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
19
|
+
_scrollListenerOnScrollIdle(): void;
|
|
20
|
+
/** @param {Event} event */
|
|
21
|
+
_scrollListenerOnScrollerScroll(event: Event): void;
|
|
22
|
+
/** @param {Event} event */
|
|
23
|
+
_scrollListenerOnScrollerResize(event: Event): void;
|
|
24
|
+
/**
|
|
25
|
+
* @param {EventTarget} [scroller]
|
|
26
|
+
* @return {boolean}
|
|
27
|
+
*/
|
|
28
|
+
startScrollListener(scroller?: EventTarget): boolean;
|
|
29
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
30
|
+
_scrollListenerScroller: HTMLElement | Window;
|
|
31
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
32
|
+
_scrollListenerScrollerScrollHeight: any;
|
|
33
|
+
_scrollListenerScrollerClientHeight: any;
|
|
34
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
35
|
+
/**
|
|
36
|
+
* @param {EventTarget} [scroller]
|
|
37
|
+
* @return {boolean}
|
|
38
|
+
*/
|
|
39
|
+
_scrollListenerClear(scroller?: EventTarget): boolean;
|
|
40
|
+
}, any[]>;
|
|
41
|
+
//# sourceMappingURL=ScrollListenerMixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollListenerMixin.d.ts","sourceRoot":"","sources":["../../mixins/ScrollListenerMixin.js"],"names":[],"mappings":"AAEA;;GAEG;AACH,kDAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;IAYtD,mCAAmC;eAAxB,OAAO,CAAC,WAAW,CAAC;IAE/B,4BAA4B;6BAAjB,aAAa;IAExB,4BAA4B;6BAAjB,aAAa;;;;IASxB,2BAA2B;2CAAf,KAAK;IAejB,2BAA2B;2CAAf,KAAK;IAKjB;;;OAGG;mCAFQ,WAAW,GACV,OAAO;;;;;;;IA8CnB;;;OAGG;oCAFQ,WAAW,GACV,OAAO;UAUxB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hides sticky element when scrolling down
|
|
3
|
+
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
4
|
+
*/
|
|
5
|
+
export default function SemiStickyMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
6
|
+
_scrollListenerPositionX: number;
|
|
7
|
+
_scrollListenerPositionY: number;
|
|
8
|
+
_scrollListenerLastIdle: number;
|
|
9
|
+
_scrollListenerLastScroll: number;
|
|
10
|
+
_scrollListenerLastResize: number;
|
|
11
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
12
|
+
_scroller: WeakRef<EventTarget>;
|
|
13
|
+
_scrollerScrollListener: EventListener;
|
|
14
|
+
_scrollerResizeListener: EventListener;
|
|
15
|
+
_scrollDebounce: any;
|
|
16
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
17
|
+
_scrollListenerOnScrollIdle(): void;
|
|
18
|
+
_scrollListenerOnScrollerScroll(event: Event): void;
|
|
19
|
+
_scrollListenerOnScrollerResize(event: Event): void;
|
|
20
|
+
startScrollListener(scroller?: EventTarget): boolean;
|
|
21
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
22
|
+
_scrollListenerScroller: HTMLElement | Window;
|
|
23
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
24
|
+
_scrollListenerScrollerScrollHeight: any;
|
|
25
|
+
_scrollListenerScrollerClientHeight: any;
|
|
26
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
27
|
+
_scrollListenerClear(scroller?: EventTarget): boolean;
|
|
28
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
29
|
+
_semiStickyHeight: number;
|
|
30
|
+
_semiStickyOffsetY: number;
|
|
31
|
+
_semiStickyTranslateY: number;
|
|
32
|
+
_semiStickyDuration: number;
|
|
33
|
+
_semiStickyEasing: string;
|
|
34
|
+
_semiStickyMeasured: boolean;
|
|
35
|
+
stickyAlways: boolean;
|
|
36
|
+
stickyParent: boolean;
|
|
37
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
38
|
+
_refreshSemiStickyMetrics(): void;
|
|
39
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
40
|
+
_semiStickyStyleStyle: import("../core/customTypes.js").ElementStylerOptions | {
|
|
41
|
+
styles: {
|
|
42
|
+
transform: string;
|
|
43
|
+
};
|
|
44
|
+
timing: {
|
|
45
|
+
duration: number;
|
|
46
|
+
easing: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}, any[]>;
|
|
50
|
+
//# sourceMappingURL=SemiStickyMixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SemiStickyMixin.d.ts","sourceRoot":"","sources":["../../mixins/SemiStickyMixin.js"],"names":[],"mappings":"AAIA;;;GAGG;AACH,8CAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA0F3D"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** @param {typeof import('../core/CustomElement.js').default} Base */
|
|
2
|
+
export default function ShapeMaskedMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
3
|
+
shapeTop: boolean;
|
|
4
|
+
shapeBottom: boolean;
|
|
5
|
+
shapeStart: boolean;
|
|
6
|
+
shapeEnd: boolean;
|
|
7
|
+
shapeStyle: string;
|
|
8
|
+
}, any[]>;
|
|
9
|
+
//# sourceMappingURL=ShapeMaskedMixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShapeMaskedMixin.d.ts","sourceRoot":"","sources":["../../mixins/ShapeMaskedMixin.js"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,+CADY,cAAc,0BAA0B,EAAE,OAAO;;;;;;UAoH5D"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {ReturnType<import('./StateMixin.js').default> & ReturnType<import('./ThemableMixin.js').default>} Base
|
|
3
|
+
*/
|
|
4
|
+
export default function ShapeMixin(Base: ReturnType<typeof import("./StateMixin.js").default> & ReturnType<typeof import("./ThemableMixin.js").default>): typeof import("../index.js").CustomElement & import("../core/CustomElement.js").Class<{
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
focused: boolean;
|
|
7
|
+
hovered: boolean;
|
|
8
|
+
pressed: boolean;
|
|
9
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
10
|
+
_hovered: boolean;
|
|
11
|
+
_focused: boolean;
|
|
12
|
+
_focusedSynthetic: boolean;
|
|
13
|
+
_keyPressed: boolean;
|
|
14
|
+
_keyReleased: boolean;
|
|
15
|
+
_pointerPressed: boolean;
|
|
16
|
+
stateLayer: boolean;
|
|
17
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
18
|
+
disabledState: boolean;
|
|
19
|
+
hoveredState: boolean;
|
|
20
|
+
focusedState: boolean;
|
|
21
|
+
pressedState: boolean;
|
|
22
|
+
touchedState: boolean;
|
|
23
|
+
pointedState: boolean;
|
|
24
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
25
|
+
stateTargetElement: HTMLElement;
|
|
26
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
27
|
+
color: string;
|
|
28
|
+
ink: string;
|
|
29
|
+
typeStyle: string;
|
|
30
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
31
|
+
shapeTop: boolean;
|
|
32
|
+
shapeBottom: boolean;
|
|
33
|
+
shapeStart: boolean;
|
|
34
|
+
shapeEnd: boolean;
|
|
35
|
+
shapeStyle: string;
|
|
36
|
+
outlined: boolean;
|
|
37
|
+
}, any[]>;
|
|
38
|
+
//# sourceMappingURL=ShapeMixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShapeMixin.d.ts","sourceRoot":"","sources":["../../mixins/ShapeMixin.js"],"names":[],"mappings":"AAAA;;GAEG;AACH,yCAFW,UAAU,CAAC,wCAAiC,CAAC,GAAG,UAAU,CAAC,2CAAoC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA0H1G"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
|
+
*/
|
|
4
|
+
export default function StateMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
focused: boolean;
|
|
7
|
+
hovered: boolean;
|
|
8
|
+
pressed: boolean;
|
|
9
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
10
|
+
_hovered: boolean;
|
|
11
|
+
_focused: boolean;
|
|
12
|
+
_focusedSynthetic: boolean;
|
|
13
|
+
_keyPressed: boolean;
|
|
14
|
+
_keyReleased: boolean;
|
|
15
|
+
_pointerPressed: boolean;
|
|
16
|
+
stateLayer: boolean;
|
|
17
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
18
|
+
disabledState: boolean;
|
|
19
|
+
hoveredState: boolean;
|
|
20
|
+
focusedState: boolean;
|
|
21
|
+
pressedState: boolean;
|
|
22
|
+
touchedState: boolean;
|
|
23
|
+
pointedState: boolean;
|
|
24
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
25
|
+
stateTargetElement: HTMLElement;
|
|
26
|
+
}, any[]>;
|
|
27
|
+
//# sourceMappingURL=StateMixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateMixin.d.ts","sourceRoot":"","sources":["../../mixins/StateMixin.js"],"names":[],"mappings":"AAIA;;GAEG;AACH,yCAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;UAuO3D"}
|