@shortfuse/materialdesignweb 0.9.0 → 0.9.2
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 +50 -206
- package/components/Badge.js +5 -2
- package/components/Body.js +4 -0
- package/components/BottomAppBar.js +6 -2
- package/components/BottomSheet.js +62 -14
- package/components/Button.js +20 -0
- package/components/Card.js +20 -3
- package/components/Checkbox.js +8 -0
- package/components/CheckboxIcon.js +9 -3
- package/components/Chip.js +5 -2
- package/components/Dialog.js +22 -3
- package/components/DialogActions.js +4 -0
- package/components/Display.js +9 -0
- package/components/Divider.js +5 -0
- package/components/Fab.js +11 -0
- package/components/FabContainer.js +9 -0
- package/components/FilterChip.js +9 -0
- package/components/Grid.js +11 -0
- package/components/Headline.js +4 -0
- package/components/Icon.js +27 -3
- package/components/IconButton.js +8 -2
- package/components/Input.js +87 -14
- package/components/InputChip.js +33 -1
- package/components/Label.js +4 -0
- package/components/List.js +10 -0
- package/components/ListItem.js +53 -0
- package/components/ListOption.js +62 -1
- package/components/Listbox.js +44 -13
- package/components/Menu.js +31 -9
- package/components/MenuItem.js +24 -10
- package/components/NavBar.js +14 -3
- package/components/NavBarItem.js +5 -0
- package/components/NavDrawer.js +17 -0
- package/components/NavDrawerItem.js +5 -0
- package/components/NavItem.js +22 -2
- package/components/NavRail.js +9 -0
- package/components/NavRailItem.js +5 -0
- package/components/Page.js +15 -1
- package/components/Pane.js +7 -1
- package/components/Popup.js +6 -0
- package/components/Progress.js +25 -5
- package/components/Radio.js +6 -2
- package/components/RadioIcon.js +14 -1
- package/components/Ripple.js +14 -0
- package/components/Root.js +16 -0
- package/components/Scrim.js +10 -2
- package/components/Search.js +18 -5
- package/components/SegmentedButton.js +22 -6
- package/components/SegmentedButtonGroup.js +7 -10
- package/components/Select.js +13 -3
- package/components/Shape.js +4 -0
- package/components/SideSheet.js +31 -2
- package/components/Slider.js +22 -2
- package/components/Snackbar.js +30 -4
- package/components/SnackbarContainer.js +9 -0
- package/components/Surface.js +5 -0
- package/components/Switch.js +18 -2
- package/components/SwitchIcon.js +22 -1
- package/components/Tab.js +21 -0
- package/components/TabContent.js +32 -12
- package/components/TabList.js +36 -3
- package/components/TabPanel.js +9 -0
- package/components/Table.js +38 -3
- package/components/TextArea.js +32 -1
- package/components/Title.js +4 -0
- package/components/Tooltip.js +9 -2
- package/components/TopAppBar.js +15 -0
- package/core/Composition.js +45 -16
- package/core/CompositionAdapter.js +24 -6
- package/core/CustomElement.js +77 -49
- package/core/customTypes.js +43 -26
- package/core/dom.js +1 -0
- package/core/jsonMergePatch.js +15 -1
- package/core/observe.js +28 -21
- package/dist/CustomElement.min.js +2 -0
- package/dist/CustomElement.min.js.map +7 -0
- package/dist/core/CustomElement.min.js +2 -0
- package/dist/core/CustomElement.min.js.map +7 -0
- package/dist/index.min.js +9 -9
- package/dist/index.min.js.map +3 -3
- package/dist/meta.json +1 -1
- package/dom/HTMLOptionsCollectionProxy.js +5 -3
- package/mixins/AriaReflectorMixin.js +22 -13
- package/mixins/AriaToolbarMixin.js +3 -0
- package/mixins/ControlMixin.js +3 -0
- package/mixins/DelegatesFocusMixin.js +9 -1
- package/mixins/DensityMixin.js +5 -1
- package/mixins/ElevationMixin.js +1 -2
- package/mixins/FlexableMixin.js +21 -2
- package/mixins/FormAssociatedMixin.js +19 -5
- package/mixins/HyperlinkMixin.js +11 -1
- package/mixins/InputMixin.js +22 -0
- package/mixins/KeyboardNavMixin.js +3 -1
- package/mixins/PopupMixin.js +41 -12
- package/mixins/RTLObserverMixin.js +2 -0
- package/mixins/ResizeObserverMixin.js +2 -0
- package/mixins/RippleMixin.js +3 -1
- package/mixins/ScrollListenerMixin.js +13 -1
- package/mixins/SemiStickyMixin.js +7 -0
- package/mixins/ShapeMaskedMixin.js +9 -1
- package/mixins/ShapeMixin.js +9 -0
- package/mixins/StateMixin.js +4 -0
- package/mixins/TextFieldMixin.js +21 -2
- package/mixins/ThemableMixin.js +13 -0
- package/mixins/TooltipTriggerMixin.js +17 -3
- package/mixins/TouchTargetMixin.js +4 -1
- package/mixins/TypographyMixin.js +8 -1
- package/package.json +53 -45
- package/services/theme.js +4 -5
- package/types/components/BottomAppBar.d.ts +3 -4
- package/types/components/BottomSheet.d.ts +33 -7
- package/types/components/BottomSheet.d.ts.map +1 -1
- package/types/components/Button.d.ts +3 -472
- package/types/components/Button.d.ts.map +1 -1
- package/types/components/Card.d.ts +9 -274
- package/types/components/Card.d.ts.map +1 -1
- package/types/components/Checkbox.d.ts +2 -0
- package/types/components/Checkbox.d.ts.map +1 -1
- package/types/components/Chip.d.ts +3 -1180
- package/types/components/Dialog.d.ts +8 -191
- package/types/components/Dialog.d.ts.map +1 -1
- package/types/components/Display.d.ts +5 -4
- package/types/components/Display.d.ts.map +1 -1
- package/types/components/Fab.d.ts +2 -470
- package/types/components/FilterChip.d.ts +5 -4032
- package/types/components/Grid.d.ts +1 -0
- package/types/components/Grid.d.ts.map +1 -1
- package/types/components/Headline.d.ts +3 -4
- package/types/components/Icon.d.ts +1 -49
- package/types/components/Icon.d.ts.map +1 -1
- package/types/components/IconButton.d.ts +3 -1205
- package/types/components/Input.d.ts +1485 -50245
- package/types/components/Input.d.ts.map +1 -1
- package/types/components/InputChip.d.ts +2 -160
- package/types/components/List.d.ts +8 -4
- package/types/components/List.d.ts.map +1 -1
- package/types/components/ListItem.d.ts +10 -235
- package/types/components/ListItem.d.ts.map +1 -1
- package/types/components/ListOption.d.ts +17 -1352
- package/types/components/ListOption.d.ts.map +1 -1
- package/types/components/Listbox.d.ts +199 -11448
- package/types/components/Listbox.d.ts.map +1 -1
- package/types/components/Menu.d.ts +21 -10
- package/types/components/Menu.d.ts.map +1 -1
- package/types/components/MenuItem.d.ts +17 -2894
- package/types/components/MenuItem.d.ts.map +1 -1
- package/types/components/NavBar.d.ts +2 -0
- package/types/components/NavBar.d.ts.map +1 -1
- package/types/components/NavBarItem.d.ts +1 -90
- package/types/components/NavDrawer.d.ts +3 -4
- package/types/components/NavDrawerItem.d.ts +1 -90
- package/types/components/NavItem.d.ts +1 -92
- package/types/components/NavItem.d.ts.map +1 -1
- package/types/components/NavRail.d.ts +3 -4
- package/types/components/NavRailItem.d.ts +1 -90
- package/types/components/Page.d.ts +1 -0
- package/types/components/Page.d.ts.map +1 -1
- package/types/components/Popup.d.ts +5 -3
- package/types/components/Popup.d.ts.map +1 -1
- package/types/components/Progress.d.ts +2 -0
- package/types/components/Progress.d.ts.map +1 -1
- package/types/components/Radio.d.ts +2 -0
- package/types/components/Radio.d.ts.map +1 -1
- package/types/components/Ripple.d.ts +1 -0
- package/types/components/Ripple.d.ts.map +1 -1
- package/types/components/Root.d.ts +1 -1
- package/types/components/Root.d.ts.map +1 -1
- package/types/components/Search.d.ts +502 -2
- package/types/components/Search.d.ts.map +1 -1
- package/types/components/SegmentedButton.d.ts +4 -470
- package/types/components/SegmentedButton.d.ts.map +1 -1
- package/types/components/SegmentedButtonGroup.d.ts +3 -4
- package/types/components/SegmentedButtonGroup.d.ts.map +1 -1
- package/types/components/Select.d.ts +5 -1208
- package/types/components/Select.d.ts.map +1 -1
- package/types/components/SideSheet.d.ts +9 -4
- package/types/components/SideSheet.d.ts.map +1 -1
- package/types/components/Slider.d.ts +10 -189
- package/types/components/Slider.d.ts.map +1 -1
- package/types/components/Snackbar.d.ts +13 -5
- package/types/components/Snackbar.d.ts.map +1 -1
- package/types/components/Switch.d.ts +4 -0
- package/types/components/Switch.d.ts.map +1 -1
- package/types/components/SwitchIcon.d.ts +2 -110
- package/types/components/SwitchIcon.d.ts.map +1 -1
- package/types/components/Tab.d.ts +12 -752
- package/types/components/Tab.d.ts.map +1 -1
- package/types/components/TabContent.d.ts +23 -21
- package/types/components/TabContent.d.ts.map +1 -1
- package/types/components/TabList.d.ts +646 -5801
- package/types/components/TabList.d.ts.map +1 -1
- package/types/components/TabPanel.d.ts +4 -4
- package/types/components/TabPanel.d.ts.map +1 -1
- package/types/components/Table.d.ts +24 -1
- package/types/components/Table.d.ts.map +1 -1
- package/types/components/TextArea.d.ts +15 -1208
- package/types/components/TextArea.d.ts.map +1 -1
- package/types/components/Title.d.ts +3 -4
- package/types/components/Tooltip.d.ts +4 -4
- package/types/components/Tooltip.d.ts.map +1 -1
- package/types/components/TopAppBar.d.ts +4 -5
- package/types/components/TopAppBar.d.ts.map +1 -1
- package/types/constants/shapes.d.ts.map +1 -1
- package/types/core/Composition.d.ts +19 -11
- package/types/core/Composition.d.ts.map +1 -1
- package/types/core/CompositionAdapter.d.ts +30 -8
- package/types/core/CompositionAdapter.d.ts.map +1 -1
- package/types/core/CustomElement.d.ts +27 -25
- package/types/core/CustomElement.d.ts.map +1 -1
- package/types/core/customTypes.d.ts +2 -6
- package/types/core/customTypes.d.ts.map +1 -1
- package/types/core/dom.d.ts.map +1 -1
- package/types/core/jsonMergePatch.d.ts.map +1 -1
- package/types/core/observe.d.ts +20 -19
- package/types/core/observe.d.ts.map +1 -1
- package/types/core/template.d.ts.map +1 -1
- package/types/dom/HTMLOptionsCollectionProxy.d.ts +4 -4
- package/types/dom/HTMLOptionsCollectionProxy.d.ts.map +1 -1
- package/types/mixins/AriaReflectorMixin.d.ts +18 -10
- package/types/mixins/AriaReflectorMixin.d.ts.map +1 -1
- package/types/mixins/AriaToolbarMixin.d.ts +6 -4
- package/types/mixins/AriaToolbarMixin.d.ts.map +1 -1
- package/types/mixins/ControlMixin.d.ts +1 -1
- package/types/mixins/ControlMixin.d.ts.map +1 -1
- package/types/mixins/DelegatesFocusMixin.d.ts +9 -1
- package/types/mixins/DelegatesFocusMixin.d.ts.map +1 -1
- package/types/mixins/DensityMixin.d.ts +4 -1
- package/types/mixins/DensityMixin.d.ts.map +1 -1
- package/types/mixins/ElevationMixin.d.ts +1 -2
- package/types/mixins/ElevationMixin.d.ts.map +1 -1
- package/types/mixins/FlexableMixin.d.ts +1 -0
- package/types/mixins/FlexableMixin.d.ts.map +1 -1
- package/types/mixins/FormAssociatedMixin.d.ts +3 -2
- package/types/mixins/FormAssociatedMixin.d.ts.map +1 -1
- package/types/mixins/HyperlinkMixin.d.ts +4 -1
- package/types/mixins/HyperlinkMixin.d.ts.map +1 -1
- package/types/mixins/InputMixin.d.ts +1 -7
- package/types/mixins/InputMixin.d.ts.map +1 -1
- package/types/mixins/KeyboardNavMixin.d.ts +4 -5
- package/types/mixins/KeyboardNavMixin.d.ts.map +1 -1
- package/types/mixins/PopupMixin.d.ts +22 -6
- package/types/mixins/PopupMixin.d.ts.map +1 -1
- package/types/mixins/RTLObserverMixin.d.ts +1 -0
- package/types/mixins/RTLObserverMixin.d.ts.map +1 -1
- package/types/mixins/ResizeObserverMixin.d.ts +1 -0
- package/types/mixins/ResizeObserverMixin.d.ts.map +1 -1
- package/types/mixins/RippleMixin.d.ts +3 -1
- package/types/mixins/RippleMixin.d.ts.map +1 -1
- package/types/mixins/ScrollListenerMixin.d.ts +7 -2
- package/types/mixins/ScrollListenerMixin.d.ts.map +1 -1
- package/types/mixins/SemiStickyMixin.d.ts +1 -1
- package/types/mixins/SemiStickyMixin.d.ts.map +1 -1
- package/types/mixins/ShapeMaskedMixin.d.ts +4 -1
- package/types/mixins/ShapeMaskedMixin.d.ts.map +1 -1
- package/types/mixins/ShapeMixin.d.ts +1 -0
- package/types/mixins/ShapeMixin.d.ts.map +1 -1
- package/types/mixins/StateMixin.d.ts +2 -0
- package/types/mixins/StateMixin.d.ts.map +1 -1
- package/types/mixins/TextFieldMixin.d.ts +7 -1208
- package/types/mixins/TextFieldMixin.d.ts.map +1 -1
- package/types/mixins/ThemableMixin.d.ts +1 -0
- package/types/mixins/ThemableMixin.d.ts.map +1 -1
- package/types/mixins/TooltipTriggerMixin.d.ts +12 -4
- package/types/mixins/TooltipTriggerMixin.d.ts.map +1 -1
- package/types/mixins/TouchTargetMixin.d.ts +4 -1
- package/types/mixins/TouchTargetMixin.d.ts.map +1 -1
- package/types/mixins/TypographyMixin.d.ts +4 -1
- package/types/mixins/TypographyMixin.d.ts.map +1 -1
- package/types/services/theme.d.ts.map +1 -1
- package/types/utils/jsx-runtime.d.ts +3 -3
- package/types/utils/jsx-runtime.d.ts.map +1 -1
- package/types/utils/material-color/hct/Hct.d.ts.map +1 -1
- package/types/utils/material-color/palettes/CorePalette.d.ts +1 -1
- package/types/utils/material-color/palettes/CorePalette.d.ts.map +1 -1
- package/types/utils/material-color/scheme/Scheme.d.ts.map +1 -1
- package/types/utils/pixelmatch.d.ts +3 -3
- package/types/utils/pixelmatch.d.ts.map +1 -1
- package/types/utils/searchParams.d.ts.map +1 -1
- package/utils/jsx-runtime.js +9 -4
- package/utils/pixelmatch.js +10 -7
- package/utils/searchParams.js +3 -0
- package/components/Button.md +0 -61
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observe.d.ts","sourceRoot":"","sources":["../../core/observe.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"observe.d.ts","sourceRoot":"","sources":["../../core/observe.js"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../core/template.js"],"names":[],"mappings":"AAwBA;;;GAGG;AACH,8CAHW,MAAM,GACL,gBAAgB,CAU3B;AAKD;;;;;;GAMG;AAEH;;;GAGG;AACH,sCAHW,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,GAAG,GAC1B,MAAM,CAMjB;AAID;;;;;;GAMG;AACH,qBANa,EAAE,EACF,EAAE,WACJ,oBAAoB,oBAChB,CAAC,MAAM,GAAC,gBAAgB,GAAC,OAAO,GAAC,CAAC,CAAC,IAAI,EAAC,EAAE,EAAE,IAAI,EAAC,EAAE,KAAK,GAAG,CAAC,CAAC,EAAA,GAChE,gBAAgB,CA4C3B;AAxED,kDAAkD;AAClD,8BADW,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,OAAC,CAAC,CAAC,CACL;0BAG5B,CAAC;aAEJ,MAAM;UACN,UAAU
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../core/template.js"],"names":[],"mappings":"AAwBA;;;GAGG;AACH,8CAHW,MAAM,GACL,gBAAgB,CAU3B;AAKD;;;;;;GAMG;AAEH;;;GAGG;AACH,sCAHW,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,GAAG,GAC1B,MAAM,CAMjB;AAID;;;;;;GAMG;AACH,qBANa,EAAE,EACF,EAAE,WACJ,oBAAoB,oBAChB,CAAC,MAAM,GAAC,gBAAgB,GAAC,OAAO,GAAC,CAAC,CAAC,IAAI,EAAC,EAAE,EAAE,IAAI,EAAC,EAAE,KAAK,GAAG,CAAC,CAAC,EAAA,GAChE,gBAAgB,CA4C3B;AAxED,kDAAkD;AAClD,8BADW,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,OAAC,CAAC,CAAC,CACL;0BAG5B,CAAC;aAEJ,MAAM;UACN,UAAU;;;;;;;;;gCAxCD,CAAC;QAEV,CAAC,IAAI,EAAC,CAAC,KAAK,GAAG;YACf,MAAM,EAAE;gBACR,MAAM,EAAE,EAAE;qBACV,MAAM,EAAE;yBACR,MAAM,EAAE,EAAE;mBACV,CAAC"}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* @param {Object} options
|
|
6
6
|
* @param {HTMLElement} options.host
|
|
7
7
|
* @param {HTMLCollectionOf<T1>} options.collection
|
|
8
|
-
* @param {
|
|
9
|
-
* @param {
|
|
8
|
+
* @param {new (...args: any[]) => T1} options.OptionConstructor
|
|
9
|
+
* @param {new (...args: any[]) => T2} options.GroupConstructor
|
|
10
10
|
* @return {HTMLCollectionOf<T1> & HTMLOptionsCollection}
|
|
11
11
|
*/
|
|
12
12
|
export function constructHTMLOptionsCollectionProxy<T1 extends HTMLOptionElement, T2 extends HTMLOptGroupElement>({ host, collection, OptionConstructor, GroupConstructor }: {
|
|
13
13
|
host: HTMLElement;
|
|
14
14
|
collection: HTMLCollectionOf<T1>;
|
|
15
|
-
OptionConstructor:
|
|
16
|
-
GroupConstructor:
|
|
15
|
+
OptionConstructor: new (...args: any[]) => T1;
|
|
16
|
+
GroupConstructor: new (...args: any[]) => T2;
|
|
17
17
|
}): HTMLCollectionOf<T1> & HTMLOptionsCollection;
|
|
18
18
|
//# sourceMappingURL=HTMLOptionsCollectionProxy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HTMLOptionsCollectionProxy.d.ts","sourceRoot":"","sources":["../../dom/HTMLOptionsCollectionProxy.js"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,oDATiC,EAAE,SAArB,iBAAkB,EACG,EAAE,SAAvB,mBAAoB,6DAE/B;IAA6B,IAAI,EAAzB,WAAW;IACmB,UAAU,EAAxC,gBAAgB,CAAC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"HTMLOptionsCollectionProxy.d.ts","sourceRoot":"","sources":["../../dom/HTMLOptionsCollectionProxy.js"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,oDATiC,EAAE,SAArB,iBAAkB,EACG,EAAE,SAAvB,mBAAoB,6DAE/B;IAA6B,IAAI,EAAzB,WAAW;IACmB,UAAU,EAAxC,gBAAgB,CAAC,EAAE,CAAC;IACgB,iBAAiB,EAArD,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE;IACU,gBAAgB,EAApD,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE;CAClC,GAAS,gBAAgB,CAAC,EAAE,CAAC,GAAG,qBAAqB,CAkGvD"}
|
|
@@ -1,23 +1,31 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* @template K
|
|
3
|
+
* @typedef {K extends keyof ARIAMixin ? ARIAMixin[K] extends string ? K : never : never} StringKeyOfARIAMixin
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Reflects ARIA-like properties to attributes/ElementInternals and vice versa.
|
|
7
|
+
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
8
|
+
*/
|
|
2
9
|
export default function AriaReflectorMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
3
10
|
_ariaRole: string;
|
|
4
11
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
5
12
|
/**
|
|
6
|
-
* Browsers that do
|
|
7
|
-
* their attributes after construction.
|
|
8
|
-
* @type {Map<
|
|
13
|
+
* Browsers that do not support ARIAMixin in ElementInternals need to have
|
|
14
|
+
* their attributes set after construction.
|
|
15
|
+
* @type {Map<StringKeyOfARIAMixin<keyof ARIAMixin>, ARIAMixin[StringKeyOfARIAMixin<keyof ARIAMixin>]>}
|
|
9
16
|
*/
|
|
10
|
-
|
|
11
|
-
hasFiredConnected: boolean;
|
|
17
|
+
_onConnectAriaValues: Map<StringKeyOfARIAMixin<keyof ARIAMixin>, ARIAMixin[StringKeyOfARIAMixin<keyof ARIAMixin>]>;
|
|
12
18
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
13
19
|
/**
|
|
14
20
|
* @param {keyof HTMLElement & keyof ElementInternals} name
|
|
15
21
|
*/
|
|
16
|
-
readAriaProperty(name: keyof HTMLElement & keyof ElementInternals): string | ShadowRoot;
|
|
22
|
+
readAriaProperty(name: keyof HTMLElement & keyof ElementInternals): string | ShadowRoot | Element | readonly Element[];
|
|
17
23
|
/**
|
|
18
|
-
* @
|
|
19
|
-
* @param {
|
|
24
|
+
* @template {StringKeyOfARIAMixin<keyof ARIAMixin>} K
|
|
25
|
+
* @param {K} name
|
|
26
|
+
* @param {ARIAMixin[K]} value
|
|
20
27
|
*/
|
|
21
|
-
updateAriaProperty(name:
|
|
28
|
+
updateAriaProperty<K extends StringKeyOfARIAMixin<keyof ARIAMixin>>(name: K, value: ARIAMixin[K]): void;
|
|
22
29
|
}, any[]>;
|
|
30
|
+
export type StringKeyOfARIAMixin<K> = K extends keyof ARIAMixin ? ARIAMixin[K] extends string ? K : never : never;
|
|
23
31
|
//# sourceMappingURL=AriaReflectorMixin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AriaReflectorMixin.d.ts","sourceRoot":"","sources":["../../mixins/AriaReflectorMixin.js"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"AriaReflectorMixin.d.ts","sourceRoot":"","sources":["../../mixins/AriaReflectorMixin.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AACH,iDAFW,cAAc,0BAA0B,EAAE,OAAO;;;IAStD;;;;OAIG;0BADO,GAAG,CAAC,oBAAoB,CAAC,MAAM,SAAS,CAAC,EAAE,SAAS,CAAC,oBAAoB,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC;;IAKtG;;OAEG;2BADQ,MAAM,WAAW,GAAG,MAAM,gBAAgB;IAgBrD;;;;OAIG;uBAHkD,CAAC,SAAxC,oBAAoB,CAAC,MAAM,SAAS,CAAE,QACzC,CAAC,SACD,SAAS,CAAC,CAAC,CAAC;UA2C5B;iCAtFY,CAAC,IACD,CAAC,SAAS,MAAM,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,CAAC,GAAG,KAAK,GAAG,KAAK"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Provides ARIA toolbar semantics and keyboard navigation defaults.
|
|
2
3
|
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
4
|
*/
|
|
4
5
|
export default function AriaToolbarMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
5
6
|
_ariaRole: string;
|
|
6
7
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
7
|
-
|
|
8
|
-
hasFiredConnected: boolean;
|
|
8
|
+
_onConnectAriaValues: Map<import("./AriaReflectorMixin.js").StringKeyOfARIAMixin<keyof ARIAMixin>, ARIAMixin[import("./AriaReflectorMixin.js").StringKeyOfARIAMixin<keyof ARIAMixin>]>;
|
|
9
9
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
10
|
-
readAriaProperty(name: keyof HTMLElement & keyof ElementInternals): string | ShadowRoot;
|
|
11
|
-
updateAriaProperty(name:
|
|
10
|
+
readAriaProperty(name: keyof HTMLElement & keyof ElementInternals): string | ShadowRoot | Element | readonly Element[];
|
|
11
|
+
updateAriaProperty<K extends StringKeyOfARIAMixin<keyof ARIAMixin>>(name: K, value: ARIAMixin[K]): void;
|
|
12
12
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
13
13
|
kbdNav: string;
|
|
14
14
|
_kbdFocusable: boolean;
|
|
@@ -26,7 +26,9 @@ export default function AriaToolbarMixin(Base: typeof import("../core/CustomElem
|
|
|
26
26
|
focus(options?: FocusOptions): void;
|
|
27
27
|
refreshTabIndexes(): void;
|
|
28
28
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
29
|
+
/** Default orientation for toolbar: 'horizontal' or 'vertical'. */
|
|
29
30
|
ariaOrientationDefault: string;
|
|
31
|
+
/** Default ARIA role applied to the host (e.g. 'toolbar'). */
|
|
30
32
|
_ariaRole: string;
|
|
31
33
|
}, any[]>;
|
|
32
34
|
//# sourceMappingURL=AriaToolbarMixin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AriaToolbarMixin.d.ts","sourceRoot":"","sources":["../../mixins/AriaToolbarMixin.js"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"AriaToolbarMixin.d.ts","sourceRoot":"","sources":["../../mixins/AriaToolbarMixin.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,+CAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;IAOtD,mEAAmE;;IAEnE,8DAA8D;;UAGnE"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/** @typedef {'align'|'useMap'} DeprecatedHTMLInputElementProperties */
|
|
3
3
|
/** @typedef {HTMLInputElement|HTMLTextAreaElement|HTMLSelectElement} HTMLControlElement */
|
|
4
4
|
/**
|
|
5
|
+
* Adds form-control behavior and wiring to an internal control element.
|
|
5
6
|
* @param {ReturnType<import('./StateMixin.js').default>} Base
|
|
6
7
|
*/
|
|
7
8
|
export default function ControlMixin(Base: ReturnType<typeof import("./StateMixin.js").default>): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
@@ -99,7 +100,6 @@ export default function ControlMixin(Base: ReturnType<typeof import("./StateMixi
|
|
|
99
100
|
*/
|
|
100
101
|
_onControlValue(value: string): void;
|
|
101
102
|
onValueChangingContentAttribute(): void;
|
|
102
|
-
/** @type {HTMLElement['focus']} */
|
|
103
103
|
focus(options?: FocusOptions): void;
|
|
104
104
|
/** Redirect click requests to control itself */
|
|
105
105
|
click(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ControlMixin.d.ts","sourceRoot":"","sources":["../../mixins/ControlMixin.js"],"names":[],"mappings":"AAQA,0EAA0E;AAE1E,uEAAuE;AAEvE,2FAA2F;AAE3F
|
|
1
|
+
{"version":3,"file":"ControlMixin.d.ts","sourceRoot":"","sources":["../../mixins/ControlMixin.js"],"names":[],"mappings":"AAQA,0EAA0E;AAE1E,uEAAuE;AAEvE,2FAA2F;AAE3F;;;GAGG;AACH,2CAFW,UAAU,CAAC,wCAAiC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmBlD;;;OAGG;2BADQ,MAAM;;;IAqBjB,gDAAgD;;;;;;;IAiChD;;;OAGG;6BAFQ,MAAM,GACL,IAAI;;;;;UAqLrB;4BA1Qa,OAAO,0BAA0B,EAAE,OAAO;mDAE1C,OAAO,GAAC,QAAQ;iCAEhB,gBAAgB,GAAC,mBAAmB,GAAC,iBAAiB"}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Enables focus delegation to an internal focus target and manages tabindex behavior.
|
|
3
|
+
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Adds delegated focus behavior to the element's internals for keyboard navigation.
|
|
7
|
+
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
8
|
+
*/
|
|
2
9
|
export default function DelegatesFocusMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
10
|
+
/** When true, the element delegates focus to an internal focus target. */
|
|
3
11
|
delegatesFocus: boolean;
|
|
4
12
|
}, any[]>;
|
|
5
13
|
//# sourceMappingURL=DelegatesFocusMixin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DelegatesFocusMixin.d.ts","sourceRoot":"","sources":["../../mixins/DelegatesFocusMixin.js"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"DelegatesFocusMixin.d.ts","sourceRoot":"","sources":["../../mixins/DelegatesFocusMixin.js"],"names":[],"mappings":"AAEA;;;GAGG;AACH;;;GAGG;AACH,kDAFW,cAAc,0BAA0B,EAAE,OAAO;IAKtD,0EAA0E;;UAgD/E"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Adds a `density` property to control component spacing and compactness.
|
|
3
|
+
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
4
|
+
*/
|
|
2
5
|
export default function DensityMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
3
6
|
density: number;
|
|
4
7
|
}, any[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DensityMixin.d.ts","sourceRoot":"","sources":["../../mixins/DensityMixin.js"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"DensityMixin.d.ts","sourceRoot":"","sources":["../../mixins/DensityMixin.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,2CAFW,cAAc,0BAA0B,EAAE,OAAO;;UAyB3D"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* Uses `filter:drop-shadow` to display elevation.
|
|
2
|
+
* Adds CSS properties for elevation via shadows or underlighting.
|
|
4
3
|
* @param {ReturnType<import('./StateMixin.js').default> & ReturnType<import('./ThemableMixin.js').default>} Base
|
|
5
4
|
*/
|
|
6
5
|
export default function ElevationMixin(Base: ReturnType<typeof import("./StateMixin.js").default> & ReturnType<typeof import("./ThemableMixin.js").default>): typeof import("../index.js").CustomElement & import("../core/CustomElement.js").Class<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ElevationMixin.d.ts","sourceRoot":"","sources":["../../mixins/ElevationMixin.js"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ElevationMixin.d.ts","sourceRoot":"","sources":["../../mixins/ElevationMixin.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,6CAFW,UAAU,CAAC,wCAAiC,CAAC,GAAG,UAAU,CAAC,2CAAoC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;UA0D1G"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Layout helper mixin providing flexible box utilities (gap, padding, axis).
|
|
2
3
|
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
4
|
*/
|
|
4
5
|
export default function FlexableMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlexableMixin.d.ts","sourceRoot":"","sources":["../../mixins/FlexableMixin.js"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"FlexableMixin.d.ts","sourceRoot":"","sources":["../../mixins/FlexableMixin.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,4CAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;;UA0J3D"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Implements form-associated element behavior (internals, validity, files, value handling).
|
|
2
3
|
* @param {ReturnType<import('./StateMixin.js').default>} Base
|
|
3
4
|
*/
|
|
4
5
|
export default function FormAssociatedMixin(Base: ReturnType<typeof import("./StateMixin.js").default>): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
@@ -58,12 +59,12 @@ export default function FormAssociatedMixin(Base: ReturnType<typeof import("./St
|
|
|
58
59
|
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
59
60
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
60
61
|
/**
|
|
61
|
-
* Default behavior
|
|
62
|
+
* Default behavior should likely be overridden
|
|
62
63
|
* @param {string} value
|
|
63
64
|
*/
|
|
64
65
|
_onSetValue(value: string): void;
|
|
65
66
|
/**
|
|
66
|
-
* Default behavior
|
|
67
|
+
* Default behavior should likely be overridden
|
|
67
68
|
* @param {boolean} checked
|
|
68
69
|
*/
|
|
69
70
|
_onSetChecked(checked: boolean): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormAssociatedMixin.d.ts","sourceRoot":"","sources":["../../mixins/FormAssociatedMixin.js"],"names":[],"mappings":"AAYA
|
|
1
|
+
{"version":3,"file":"FormAssociatedMixin.d.ts","sourceRoot":"","sources":["../../mixins/FormAssociatedMixin.js"],"names":[],"mappings":"AAYA;;;GAGG;AACH,kDAFW,UAAU,CAAC,wCAAiC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;IAQlD,4BAA4B;kBAAjB,aAAa;IAExB,0BAA0B;gBAAf,WAAW;IAEtB,uBAAuB;YAAZ,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;IAiEnB;;;OAGG;uBADQ,MAAM;IAKjB;;;OAGG;2BADQ,OAAO;;;;;;;;;;;;;;;IAgFlB;;;OAGG;6BAFQ,MAAM,GACL,IAAI;IAShB;;;;OAIG;4BAHQ,MAAM,SACN,MAAM,GACL,IAAI;;IAwBhB;;;;;OAKG;iCAFQ,eAAe,OAAC,GACf,IAAI;IAOhB;;;OAGG;wBAFQ,WAAW,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAC5B,IAAI;IAqBhB,gCAAgC;mCAApB,OAAO;;IAanB;;;OAGG;oCAFQ,MAAM,GAAC,QAAQ,QACf,cAAc,GAAC,SAAS;;UA2GxC;iCAlXa,WAAW,GAAG;IAAC,KAAK,EAAC,MAAM,CAAA;CAAC;4BAE5B,OAAO,0BAA0B,EAAE,OAAO"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Adds hyperlink-related properties and URL helpers (href, target, rel, etc.).
|
|
3
|
+
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
4
|
+
*/
|
|
2
5
|
export default function HyperlinkMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
3
6
|
href: string;
|
|
4
7
|
target: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HyperlinkMixin.d.ts","sourceRoot":"","sources":["../../mixins/HyperlinkMixin.js"],"names":[],"mappings":"AAwBA
|
|
1
|
+
{"version":3,"file":"HyperlinkMixin.d.ts","sourceRoot":"","sources":["../../mixins/HyperlinkMixin.js"],"names":[],"mappings":"AAwBA;;;GAGG;AACH,6CAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;;;;;;;;;;;;;oEAiD3D"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Enhances a component with input-like attributes and behaviors (value, step, min/max, etc.).
|
|
2
3
|
* @see https://html.spec.whatwg.org/multipage/input.html#htmlinputelement
|
|
3
4
|
* @param {ReturnType<import('./StateMixin.js').default>} Base
|
|
4
5
|
*/
|
|
@@ -149,19 +150,12 @@ export default function InputMixin(Base: ReturnType<typeof import("./StateMixin.
|
|
|
149
150
|
/** @param {MouseEvent} event */
|
|
150
151
|
_handleInputClick(event: MouseEvent): void;
|
|
151
152
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
152
|
-
/** @type {HTMLInputElement['setRangeText']} */
|
|
153
153
|
setRangeText(replacement: string): void;
|
|
154
|
-
/** @type {HTMLInputElement['setRangeText']} */
|
|
155
154
|
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
|
|
156
|
-
/** @type {HTMLInputElement['setSelectionRange']} */
|
|
157
155
|
setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
|
|
158
|
-
/** @type {HTMLInputElement['showPicker']} */
|
|
159
156
|
showPicker(): void;
|
|
160
|
-
/** @type {HTMLInputElement['stepDown']} */
|
|
161
157
|
stepDown(n?: number): void;
|
|
162
|
-
/** @type {HTMLInputElement['stepUp']} */
|
|
163
158
|
stepUp(n?: number): void;
|
|
164
|
-
/** @type {HTMLInputElement['select']} */
|
|
165
159
|
select(): void;
|
|
166
160
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
167
161
|
files: FileList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputMixin.d.ts","sourceRoot":"","sources":["../../mixins/InputMixin.js"],"names":[],"mappings":"AA8BA
|
|
1
|
+
{"version":3,"file":"InputMixin.d.ts","sourceRoot":"","sources":["../../mixins/InputMixin.js"],"names":[],"mappings":"AA8BA;;;;GAIG;AACH,yCAFW,UAAU,CAAC,wCAAiC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwIlD;;;;OAIG;qCAFQ,KAAK,GACJ,IAAI;IA6BhB,2BAA2B;wCAAf,KAAK;IAUjB,gCAAgC;6BAApB,UAAU;;;;;;;;;;;;;;;;;;;UAwO3B;mDAvba,OAAO,GAAC,QAAQ;4BAEhB,OAAO,0BAA0B,EAAE,OAAO"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Adds keyboard roving navigation utilities for focus management within a list.
|
|
2
3
|
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
4
|
*/
|
|
4
5
|
export default function KeyboardNavMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
5
6
|
_ariaRole: string;
|
|
6
7
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
7
|
-
|
|
8
|
-
hasFiredConnected: boolean;
|
|
8
|
+
_onConnectAriaValues: Map<import("./AriaReflectorMixin.js").StringKeyOfARIAMixin<keyof ARIAMixin>, ARIAMixin[import("./AriaReflectorMixin.js").StringKeyOfARIAMixin<keyof ARIAMixin>]>;
|
|
9
9
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
10
|
-
readAriaProperty(name: keyof HTMLElement & keyof ElementInternals): string | ShadowRoot;
|
|
11
|
-
updateAriaProperty(name:
|
|
10
|
+
readAriaProperty(name: keyof HTMLElement & keyof ElementInternals): string | ShadowRoot | Element | readonly Element[];
|
|
11
|
+
updateAriaProperty<K extends StringKeyOfARIAMixin<keyof ARIAMixin>>(name: K, value: ARIAMixin[K]): void;
|
|
12
12
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
13
13
|
kbdNav: string;
|
|
14
14
|
_kbdFocusable: boolean;
|
|
@@ -37,7 +37,6 @@ export default function KeyboardNavMixin(Base: typeof import("../core/CustomElem
|
|
|
37
37
|
* @return {HTMLElement}
|
|
38
38
|
*/
|
|
39
39
|
focusPrevious(current?: HTMLElement, loop?: boolean): HTMLElement;
|
|
40
|
-
/** @type {HTMLElement['focus']} */
|
|
41
40
|
focus(options?: FocusOptions): void;
|
|
42
41
|
/**
|
|
43
42
|
* Refreshes roving tab index attributes based on kbdNavChildren
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyboardNavMixin.d.ts","sourceRoot":"","sources":["../../mixins/KeyboardNavMixin.js"],"names":[],"mappings":"AAaA
|
|
1
|
+
{"version":3,"file":"KeyboardNavMixin.d.ts","sourceRoot":"","sources":["../../mixins/KeyboardNavMixin.js"],"names":[],"mappings":"AAaA;;;GAGG;AACH,+CAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;;;;;;;;;;;;;IAuDtD;;;;;;OAMG;wBAJQ,WAAW,SACX,OAAO,YACP,OAAO,GACN,WAAW;IAkDvB;;;;;;OAMG;4BAHQ,WAAW,SACX,OAAO,GACN,WAAW;;IAsBvB;;OAEG;;UA0GR"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Provides positioning, modal behavior, and history-aware popup/dialog support.
|
|
2
3
|
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
4
|
*/
|
|
4
5
|
export default function PopupMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
@@ -19,18 +20,34 @@ export default function PopupMixin(Base: typeof import("../core/CustomElement.js
|
|
|
19
20
|
flow: string;
|
|
20
21
|
popupMargin: number;
|
|
21
22
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
23
|
+
/** Whether to push/pop history entries when opening the popup */
|
|
22
24
|
useHistory: boolean;
|
|
25
|
+
/** Optional return value for dialog-like popups */
|
|
23
26
|
returnValue: string;
|
|
27
|
+
/** Internal: true while closing is in-progress */
|
|
24
28
|
_closing: boolean;
|
|
29
|
+
/** Internal: whether to show a scrim (overlay) for modal popups */
|
|
25
30
|
_useScrim: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Source that triggered the popup
|
|
33
|
+
* @type {MouseEvent|PointerEvent|HTMLElement|Event}
|
|
34
|
+
*/
|
|
35
|
+
_source: MouseEvent | PointerEvent | HTMLElement | Event;
|
|
36
|
+
/**
|
|
37
|
+
* Anchor used for positioning
|
|
38
|
+
* @type {MouseEvent|PointerEvent|HTMLElement|Event}
|
|
39
|
+
*/
|
|
40
|
+
_anchor: MouseEvent | PointerEvent | HTMLElement | Event;
|
|
26
41
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
27
42
|
_dialog: HTMLDialogElement;
|
|
43
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
44
|
+
_ariaHidden: never;
|
|
28
45
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
29
46
|
/**
|
|
30
|
-
* @param {
|
|
47
|
+
* @param {DOMRectLike|Element} [anchor]
|
|
31
48
|
* @return {void}
|
|
32
49
|
*/
|
|
33
|
-
updatePopupPosition(anchor?:
|
|
50
|
+
updatePopupPosition(anchor?: DOMRectLike | Element): void;
|
|
34
51
|
/**
|
|
35
52
|
* @param {Event & {currentTarget: HTMLSlotElement}} event
|
|
36
53
|
* @return {void}
|
|
@@ -67,12 +84,11 @@ export default function PopupMixin(Base: typeof import("../core/CustomElement.js
|
|
|
67
84
|
close(returnValue?: any, returnFocus?: boolean): boolean;
|
|
68
85
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
69
86
|
onResizeObserved(entry: ResizeObserverEntry): void;
|
|
70
|
-
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
71
|
-
_ariaHidden: never;
|
|
72
87
|
}, any[]>;
|
|
88
|
+
export type DOMRectLike = import("../utils/popup.js").DOMRectLike;
|
|
73
89
|
export type PopupStack = {
|
|
74
|
-
element:
|
|
75
|
-
previousFocus:
|
|
90
|
+
element: InstanceType<ReturnType<typeof PopupMixin>>;
|
|
91
|
+
previousFocus: HTMLElement;
|
|
76
92
|
centered?: boolean;
|
|
77
93
|
state?: Record<string, any>;
|
|
78
94
|
previousState?: Record<string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopupMixin.d.ts","sourceRoot":"","sources":["../../mixins/PopupMixin.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PopupMixin.d.ts","sourceRoot":"","sources":["../../mixins/PopupMixin.js"],"names":[],"mappings":"AAyEA;;;GAGG;AACH,yCAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;;;;;;;;;;;;IA4BtD,iEAAiE;;IAEjE,mDAAmD;;IAEnD,kDAAkD;;IAElD,mEAAmE;;IAEnE;;;OAGG;aADO,UAAU,GAAC,YAAY,GAAC,WAAW,GAAC,KAAK;IAGnD;;;OAGG;aADO,UAAU,GAAC,YAAY,GAAC,WAAW,GAAC,KAAK;;;;;;IAenD;;;OAGG;iCAFQ,WAAW,GAAC,OAAO,GAClB,IAAI;IAsJhB;;;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;IAkFnB;;;;;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;;;UAmVxB;0BAxuBa,OAAO,mBAAmB,EAAE,WAAW;;aAI3C,YAAY,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;mBAC3C,WAAW;eACX,OAAO;YACP,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;oBACnB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;6BACnB,GAAG"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Observes document `dir` changes and updates `pageIsRTL` on hosts.
|
|
2
3
|
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
4
|
*/
|
|
4
5
|
export default function RTLObserverMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RTLObserverMixin.d.ts","sourceRoot":"","sources":["../../mixins/RTLObserverMixin.js"],"names":[],"mappings":"AAKA
|
|
1
|
+
{"version":3,"file":"RTLObserverMixin.d.ts","sourceRoot":"","sources":["../../mixins/RTLObserverMixin.js"],"names":[],"mappings":"AAKA;;;GAGG;AACH,+CAFW,cAAc,0BAA0B,EAAE,OAAO;;UA4B3D"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Attaches a shared ResizeObserver to the element and provides lifecycle helpers.
|
|
2
3
|
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
4
|
*/
|
|
4
5
|
export default function ResizeObserverMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResizeObserverMixin.d.ts","sourceRoot":"","sources":["../../mixins/ResizeObserverMixin.js"],"names":[],"mappings":"AAOA
|
|
1
|
+
{"version":3,"file":"ResizeObserverMixin.d.ts","sourceRoot":"","sources":["../../mixins/ResizeObserverMixin.js"],"names":[],"mappings":"AAOA;;;GAGG;AACH,kDAFW,cAAc,0BAA0B,EAAE,OAAO;;;IAYtD,yCAAyC;4BAA7B,mBAAmB;;;UA6BpC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** @typedef {import('../components/Ripple.js').default} Ripple */
|
|
2
2
|
/**
|
|
3
|
+
* Provides visual ripple effects (pointer/press ripples) and helpers to add/remove them.
|
|
3
4
|
* @param {ReturnType<import('./StateMixin.js').default>} Base
|
|
4
5
|
*/
|
|
5
6
|
export default function RippleMixin(Base: ReturnType<typeof import("./StateMixin.js").default>): typeof import("../index.js").CustomElement & import("../core/CustomElement.js").Class<{
|
|
@@ -25,9 +26,10 @@ export default function RippleMixin(Base: ReturnType<typeof import("./StateMixin
|
|
|
25
26
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
26
27
|
stateTargetElement: HTMLElement;
|
|
27
28
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
29
|
+
/** WeakRef to the last appended Ripple instance (used to release/hold) */
|
|
28
30
|
/** @type {WeakRef<InstanceType<Ripple>>} */
|
|
29
31
|
_lastRippleWeakRef: WeakRef<InstanceType<Ripple>>;
|
|
30
|
-
/** Flag set if ripple was added this event loop
|
|
32
|
+
/** Flag set if ripple was added this event loop to avoid duplicate ripples */
|
|
31
33
|
_rippleAdded: boolean;
|
|
32
34
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
33
35
|
_lastRipple: import("../index.js").CustomElement & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RippleMixin.d.ts","sourceRoot":"","sources":["../../mixins/RippleMixin.js"],"names":[],"mappings":"AAEA,kEAAkE;AAElE
|
|
1
|
+
{"version":3,"file":"RippleMixin.d.ts","sourceRoot":"","sources":["../../mixins/RippleMixin.js"],"names":[],"mappings":"AAEA,kEAAkE;AAElE;;;GAGG;AACH,0CAFW,UAAU,CAAC,wCAAiC,CAAC;;;;;;;;;;;;;;;;;;;;;;;IAKlD,0EAA0E;IAC1E,4CAA4C;wBAAjC,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAExC,8EAA8E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgB9E;;;;;OAKG;kBAJQ,MAAM,MACN,MAAM,SACN,OAAO,GACN,YAAY,CAAC,MAAM,CAAC;UA8FrC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Tracks scroll/resize positions and exposes scroll-related lifecycle helpers.
|
|
2
3
|
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
4
|
*/
|
|
4
5
|
export default function ScrollListenerMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
@@ -8,12 +9,16 @@ export default function ScrollListenerMixin(Base: typeof import("../core/CustomE
|
|
|
8
9
|
_scrollListenerLastScroll: number;
|
|
9
10
|
_scrollListenerLastResize: number;
|
|
10
11
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
11
|
-
/**
|
|
12
|
-
|
|
12
|
+
/** WeakRef to the current scroller (HTMLElement or window) */
|
|
13
|
+
/** @type {WeakRef<HTMLElement|Window>} */
|
|
14
|
+
_scroller: WeakRef<HTMLElement | Window>;
|
|
15
|
+
/** Listener bound to scroller 'scroll' events */
|
|
13
16
|
/** @type {EventListener} */
|
|
14
17
|
_scrollerScrollListener: EventListener;
|
|
18
|
+
/** Listener bound to scroller 'resize' events */
|
|
15
19
|
/** @type {EventListener} */
|
|
16
20
|
_scrollerResizeListener: EventListener;
|
|
21
|
+
/** Internal debounce timer id used for idle detection */
|
|
17
22
|
_scrollDebounce: any;
|
|
18
23
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
19
24
|
_scrollListenerOnScrollIdle(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollListenerMixin.d.ts","sourceRoot":"","sources":["../../mixins/ScrollListenerMixin.js"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"ScrollListenerMixin.d.ts","sourceRoot":"","sources":["../../mixins/ScrollListenerMixin.js"],"names":[],"mappings":"AAEA;;;GAGG;AACH,kDAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;IAiBtD,8DAA8D;IAC9D,0CAA0C;eAA/B,OAAO,CAAC,WAAW,GAAC,MAAM,CAAC;IAEtC,iDAAiD;IACjD,4BAA4B;6BAAjB,aAAa;IAExB,iDAAiD;IACjD,4BAA4B;6BAAjB,aAAa;IAExB,yDAAyD;;;;IAQzD,2BAA2B;2CAAf,KAAK;IAejB,2BAA2B;2CAAf,KAAK;IAKjB;;;OAGG;mCAFQ,WAAW,GACV,OAAO;;;;;;;IAgDnB;;;OAGG;oCAFQ,WAAW,GACV,OAAO;UAUxB"}
|
|
@@ -9,7 +9,7 @@ export default function SemiStickyMixin(Base: typeof import("../core/CustomEleme
|
|
|
9
9
|
_scrollListenerLastScroll: number;
|
|
10
10
|
_scrollListenerLastResize: number;
|
|
11
11
|
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
12
|
-
_scroller: WeakRef<
|
|
12
|
+
_scroller: WeakRef<HTMLElement | Window>;
|
|
13
13
|
_scrollerScrollListener: EventListener;
|
|
14
14
|
_scrollerResizeListener: EventListener;
|
|
15
15
|
_scrollDebounce: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SemiStickyMixin.d.ts","sourceRoot":"","sources":["../../mixins/SemiStickyMixin.js"],"names":[],"mappings":"AAIA;;;GAGG;AACH,8CAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SemiStickyMixin.d.ts","sourceRoot":"","sources":["../../mixins/SemiStickyMixin.js"],"names":[],"mappings":"AAIA;;;GAGG;AACH,8CAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAiG3D"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Provides shape masking utilities and logical shape attributes (shape-top/start/end/bottom).
|
|
3
|
+
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
4
|
+
*/
|
|
2
5
|
export default function ShapeMaskedMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
3
6
|
shapeTop: boolean;
|
|
4
7
|
shapeBottom: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShapeMaskedMixin.d.ts","sourceRoot":"","sources":["../../mixins/ShapeMaskedMixin.js"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ShapeMaskedMixin.d.ts","sourceRoot":"","sources":["../../mixins/ShapeMaskedMixin.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,+CAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;UA0H3D"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Adds shape sizing and outline support for components (shape-style, shape-top, etc.).
|
|
2
3
|
* @param {ReturnType<import('./StateMixin.js').default> & ReturnType<import('./ThemableMixin.js').default>} Base
|
|
3
4
|
*/
|
|
4
5
|
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<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShapeMixin.d.ts","sourceRoot":"","sources":["../../mixins/ShapeMixin.js"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ShapeMixin.d.ts","sourceRoot":"","sources":["../../mixins/ShapeMixin.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,yCAFW,UAAU,CAAC,wCAAiC,CAAC,GAAG,UAAU,CAAC,2CAAoC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAkI1G"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Manages interactive state flags (disabled, focused, hovered, pressed, touch)
|
|
3
|
+
* and derived state expressions used by components.
|
|
2
4
|
* @param {typeof import('../core/CustomElement.js').default} Base
|
|
3
5
|
*/
|
|
4
6
|
export default function StateMixin(Base: typeof import("../core/CustomElement.js").default): typeof import("../core/CustomElement.js").default & import("../core/CustomElement.js").Class<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StateMixin.d.ts","sourceRoot":"","sources":["../../mixins/StateMixin.js"],"names":[],"mappings":"AAIA
|
|
1
|
+
{"version":3,"file":"StateMixin.d.ts","sourceRoot":"","sources":["../../mixins/StateMixin.js"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,yCAFW,cAAc,0BAA0B,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;UAyO3D"}
|