mtrl 0.5.0 → 0.5.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/dist/components/index.d.ts +65 -65
- package/dist/components/list/index.d.ts +3 -3
- package/dist/core/compose/index.d.ts +9 -9
- package/dist/core/index.d.ts +4 -2
- package/dist/index.cjs +15 -15
- package/dist/index.cjs.map +7 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +15 -15
- package/dist/index.js.map +7 -7
- package/dist/package.json +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -8,70 +8,70 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @packageDocumentation
|
|
10
10
|
*/
|
|
11
|
-
export { LIST_DEFAULTS, LIST_TYPES, LIST_SELECTION_MODES, LIST_EVENTS, LIST_SCROLL_POSITIONS, LIST_CLASSES } from
|
|
11
|
+
export { LIST_DEFAULTS, LIST_TYPES, LIST_SELECTION_MODES, LIST_EVENTS, LIST_SCROLL_POSITIONS, LIST_CLASSES, } from "./list/constants";
|
|
12
12
|
export type { ListConfig, ListComponent, SelectEvent as ListSelectEvent, // Rename to avoid collision
|
|
13
|
-
LoadEvent,
|
|
14
|
-
export { SELECT_VARIANTS, SELECT_PLACEMENT, SELECT_INTERACTION, SELECT_EVENTS, SELECT_ICONS, SELECT_DEFAULTS, SELECT_CLASSES } from
|
|
13
|
+
LoadEvent, } from "./list/types";
|
|
14
|
+
export { SELECT_VARIANTS, SELECT_PLACEMENT, SELECT_INTERACTION, SELECT_EVENTS, SELECT_ICONS, SELECT_DEFAULTS, SELECT_CLASSES, } from "./select/constants";
|
|
15
15
|
export type { SelectConfig, SelectComponent, SelectOption, SelectEvent, // Keep the original name since select is more commonly used
|
|
16
|
-
SelectChangeEvent } from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export { PROGRESS_VARIANTS, PROGRESS_SHAPES, PROGRESS_EVENTS, PROGRESS_DEFAULTS, PROGRESS_CLASSES, PROGRESS_MEASUREMENTS, PROGRESS_THICKNESS } from
|
|
31
|
-
export type { ProgressConfig, ProgressComponent, ProgressShape } from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
export * from
|
|
39
|
-
export * from
|
|
40
|
-
export * from
|
|
41
|
-
export * from
|
|
42
|
-
export * from
|
|
43
|
-
export * from
|
|
44
|
-
export { createDivider } from
|
|
45
|
-
export type { DividerConfig } from
|
|
46
|
-
export type { DividerComponent } from
|
|
47
|
-
export { createCardContent, createCardHeader, createCardActions, createCardMedia } from
|
|
48
|
-
export { default as createBadge } from
|
|
49
|
-
export { default as createBottomAppBar } from
|
|
50
|
-
export { default as createButton } from
|
|
51
|
-
export { default as createCard } from
|
|
52
|
-
export { default as createCarousel } from
|
|
53
|
-
export { default as createCheckbox } from
|
|
54
|
-
export { default as createDatePicker } from
|
|
55
|
-
export { default as createDialog } from
|
|
56
|
-
export { default as createFab } from
|
|
57
|
-
export { default as createExtendedFab } from
|
|
58
|
-
export { default as createList } from
|
|
59
|
-
export { default as createMenu } from
|
|
60
|
-
export { default as createNavigation } from
|
|
61
|
-
export { default as createNavigationSystem } from
|
|
62
|
-
export { default as createProgress } from
|
|
63
|
-
export { default as createRadios } from
|
|
64
|
-
export { default as createSearch } from
|
|
65
|
-
export { default as createSelect } from
|
|
66
|
-
export { default as createSegmentedButton } from
|
|
67
|
-
export { createSegment } from
|
|
68
|
-
export { default as createSheet } from
|
|
69
|
-
export { default as createSlider } from
|
|
70
|
-
export { default as createSnackbar } from
|
|
71
|
-
export { default as createSwitch } from
|
|
72
|
-
export { default as createTabs } from
|
|
73
|
-
export { createTab } from
|
|
74
|
-
export { default as createTextfield } from
|
|
75
|
-
export { default as createTimePicker } from
|
|
76
|
-
export { default as createTopAppBar } from
|
|
77
|
-
export { default as createTooltip } from
|
|
16
|
+
SelectChangeEvent, } from "./select/types";
|
|
17
|
+
export * from "./badge";
|
|
18
|
+
export * from "./bottom-app-bar";
|
|
19
|
+
export * from "./button";
|
|
20
|
+
export * from "./card";
|
|
21
|
+
export * from "./carousel";
|
|
22
|
+
export * from "./checkbox";
|
|
23
|
+
export * from "./chips";
|
|
24
|
+
export * from "./datepicker";
|
|
25
|
+
export * from "./dialog";
|
|
26
|
+
export * from "./fab";
|
|
27
|
+
export * from "./extended-fab";
|
|
28
|
+
export * from "./menu";
|
|
29
|
+
export * from "./navigation";
|
|
30
|
+
export { PROGRESS_VARIANTS, PROGRESS_SHAPES, PROGRESS_EVENTS, PROGRESS_DEFAULTS, PROGRESS_CLASSES, PROGRESS_MEASUREMENTS, PROGRESS_THICKNESS, } from "./progress/constants";
|
|
31
|
+
export type { ProgressConfig, ProgressComponent, ProgressShape, } from "./progress/types";
|
|
32
|
+
export * from "./radios";
|
|
33
|
+
export * from "./search";
|
|
34
|
+
export * from "./segmented-button";
|
|
35
|
+
export * from "./sheet";
|
|
36
|
+
export * from "./slider";
|
|
37
|
+
export * from "./snackbar";
|
|
38
|
+
export * from "./switch";
|
|
39
|
+
export * from "./tabs";
|
|
40
|
+
export * from "./textfield";
|
|
41
|
+
export * from "./timepicker";
|
|
42
|
+
export * from "./top-app-bar";
|
|
43
|
+
export * from "./tooltip";
|
|
44
|
+
export { createDivider } from "./divider";
|
|
45
|
+
export type { DividerConfig } from "./divider/config";
|
|
46
|
+
export type { DividerComponent } from "./divider/types";
|
|
47
|
+
export { createCardContent, createCardHeader, createCardActions, createCardMedia, } from "./card/content";
|
|
48
|
+
export { default as createBadge } from "./badge";
|
|
49
|
+
export { default as createBottomAppBar } from "./bottom-app-bar";
|
|
50
|
+
export { default as createButton } from "./button";
|
|
51
|
+
export { default as createCard } from "./card";
|
|
52
|
+
export { default as createCarousel } from "./carousel";
|
|
53
|
+
export { default as createCheckbox } from "./checkbox";
|
|
54
|
+
export { default as createDatePicker } from "./datepicker";
|
|
55
|
+
export { default as createDialog } from "./dialog";
|
|
56
|
+
export { default as createFab } from "./fab";
|
|
57
|
+
export { default as createExtendedFab } from "./extended-fab";
|
|
58
|
+
export { default as createList } from "./list";
|
|
59
|
+
export { default as createMenu } from "./menu";
|
|
60
|
+
export { default as createNavigation } from "./navigation";
|
|
61
|
+
export { default as createNavigationSystem } from "./navigation/system";
|
|
62
|
+
export { default as createProgress } from "./progress";
|
|
63
|
+
export { default as createRadios } from "./radios";
|
|
64
|
+
export { default as createSearch } from "./search";
|
|
65
|
+
export { default as createSelect } from "./select";
|
|
66
|
+
export { default as createSegmentedButton } from "./segmented-button";
|
|
67
|
+
export { createSegment } from "./segmented-button/segment";
|
|
68
|
+
export { default as createSheet } from "./sheet";
|
|
69
|
+
export { default as createSlider } from "./slider";
|
|
70
|
+
export { default as createSnackbar } from "./snackbar";
|
|
71
|
+
export { default as createSwitch } from "./switch";
|
|
72
|
+
export { default as createTabs } from "./tabs";
|
|
73
|
+
export { createTab } from "./tabs/tab";
|
|
74
|
+
export { default as createTextfield } from "./textfield";
|
|
75
|
+
export { default as createTimePicker } from "./timepicker";
|
|
76
|
+
export { default as createTopAppBar } from "./top-app-bar";
|
|
77
|
+
export { default as createTooltip } from "./tooltip";
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
* @module components/list
|
|
8
8
|
* @category Components
|
|
9
9
|
*/
|
|
10
|
-
export { default } from
|
|
11
|
-
export { LIST_DEFAULTS, LIST_TYPES, LIST_SELECTION_MODES, LIST_EVENTS, LIST_SCROLL_POSITIONS, LIST_CLASSES } from
|
|
12
|
-
export type { ListConfig, ListComponent, SelectEvent, LoadEvent,
|
|
10
|
+
export { default } from "./list";
|
|
11
|
+
export { LIST_DEFAULTS, LIST_TYPES, LIST_SELECTION_MODES, LIST_EVENTS, LIST_SCROLL_POSITIONS, LIST_CLASSES, } from "./constants";
|
|
12
|
+
export type { ListConfig, ListComponent, SelectEvent, LoadEvent, } from "./types";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* @module core/compose
|
|
3
3
|
* @description Core composition utilities for creating and combining components
|
|
4
4
|
*/
|
|
5
|
-
export { pipe, compose, transform } from
|
|
6
|
-
export { createComponent } from
|
|
7
|
-
export { createBase, withElement } from
|
|
8
|
-
export { withEvents, withIcon, withSize, withPosition, withText, withVariant, withDisabled, withLifecycle, withRipple, withInput, withCheckable, withStyle, withTextInput, withTextLabel, withTrack, withEnhancedEvents, withThrottle, withDebounce } from
|
|
9
|
-
export type { Component } from
|
|
10
|
-
export type { BaseComponent, ElementComponent, TouchState, WithElementOptions } from
|
|
11
|
-
export type { EventComponent, TextComponent, IconComponent, LifecycleComponent, Lifecycle, DisabledComponent, DisabledManager, RippleComponent, InputComponent, CheckableComponent, CheckableManager, TextInputComponent, LabelComponent, TrackComponent, EnhancedEventComponent, ThrottleComponent, ThrottleConfig, DebounceComponent, DebounceConfig,
|
|
12
|
-
export { hasLifecycle, hasEmit } from
|
|
13
|
-
export type { ComponentWithLifecycle, ComponentWithEmit } from
|
|
5
|
+
export { pipe, compose, transform } from "./pipe";
|
|
6
|
+
export { createComponent } from "./base";
|
|
7
|
+
export { createBase, withElement } from "./component";
|
|
8
|
+
export { withEvents, withIcon, withSize, withPosition, withText, withVariant, withDisabled, withLifecycle, withRipple, withInput, withCheckable, withStyle, withTextInput, withTextLabel, withTrack, withEnhancedEvents, withThrottle, withDebounce, } from "./features";
|
|
9
|
+
export type { Component } from "./base";
|
|
10
|
+
export type { BaseComponent, ElementComponent, TouchState, WithElementOptions, } from "./component";
|
|
11
|
+
export type { EventComponent, TextComponent, IconComponent, LifecycleComponent, Lifecycle, DisabledComponent, DisabledManager, RippleComponent, InputComponent, CheckableComponent, CheckableManager, TextInputComponent, LabelComponent, TrackComponent, EnhancedEventComponent, ThrottleComponent, ThrottleConfig, DebounceComponent, DebounceConfig, } from "./features";
|
|
12
|
+
export { hasLifecycle, hasEmit } from "./utils/type-guards";
|
|
13
|
+
export type { ComponentWithLifecycle, ComponentWithEmit, } from "./utils/type-guards";
|
package/dist/core/index.d.ts
CHANGED
|
@@ -11,14 +11,16 @@ export * from "./compose";
|
|
|
11
11
|
export * from "./dom";
|
|
12
12
|
export { createEmitter } from "./state/emitter";
|
|
13
13
|
export type { Emitter, EventCallback } from "./state/emitter";
|
|
14
|
+
export { createComponentConfig, createElementConfig } from "./config/component";
|
|
14
15
|
export { createStore, loggingMiddleware, deriveFiltered } from "./state/store";
|
|
15
16
|
export type { Store, StoreOptions, Selector, Computation, Updater, } from "./state/store";
|
|
16
17
|
export { createLifecycle } from "./state/lifecycle";
|
|
17
18
|
export type { LifecycleManager, LifecycleManagers } from "./state/lifecycle";
|
|
18
19
|
export { createDisabled } from "./state/disabled";
|
|
19
20
|
export type { DisabledState } from "./state/disabled";
|
|
20
|
-
export { createEventManager as createStateEventManager } from
|
|
21
|
-
export type { EventManagerState } from
|
|
21
|
+
export { createEventManager as createStateEventManager } from './state/events';
|
|
22
|
+
export type { EventManagerState } from './state/events';
|
|
23
|
+
export * from "./canvas";
|
|
22
24
|
export * from "./canvas";
|
|
23
25
|
export { PREFIX, COMPONENTS, STATES, classNames, getComponentClass, getModifierClass, getElementClass, } from "./config";
|
|
24
26
|
export { setComponentDefaults, getComponentDefaults, setGlobalDefaults, clearGlobalDefaults, type ComponentConfigMap, } from "./config/global";
|