@getcortexlabs/mavis-web 0.1.0-alpha.4 → 0.1.0-alpha.6
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 +5 -3
- package/dist/components/DateCalendar.d.ts +95 -0
- package/dist/components/DateCalendar.d.ts.map +1 -0
- package/dist/components/DateCalendar.js +157 -0
- package/dist/components/DateCalendar.js.map +1 -0
- package/dist/components/MAccordion.d.ts +19 -9
- package/dist/components/MAccordion.d.ts.map +1 -1
- package/dist/components/MAlert.d.ts +20 -10
- package/dist/components/MAlert.d.ts.map +1 -1
- package/dist/components/MAvatar.d.ts +13 -7
- package/dist/components/MAvatar.d.ts.map +1 -1
- package/dist/components/MBadge.d.ts +12 -6
- package/dist/components/MBadge.d.ts.map +1 -1
- package/dist/components/MButton.d.ts +129 -41
- package/dist/components/MButton.d.ts.map +1 -1
- package/dist/components/MButton.js +13 -8
- package/dist/components/MButton.js.map +1 -1
- package/dist/components/MCard.d.ts +89 -15
- package/dist/components/MCard.d.ts.map +1 -1
- package/dist/components/MCard.js +36 -30
- package/dist/components/MCard.js.map +1 -1
- package/dist/components/MCheckbox.d.ts +20 -10
- package/dist/components/MCheckbox.d.ts.map +1 -1
- package/dist/components/MCheckbox.js +22 -3
- package/dist/components/MCheckbox.js.map +1 -1
- package/dist/components/MChip.d.ts +22 -12
- package/dist/components/MChip.d.ts.map +1 -1
- package/dist/components/MCombobox.d.ts +282 -0
- package/dist/components/MCombobox.d.ts.map +1 -0
- package/dist/components/MCombobox.js +440 -0
- package/dist/components/MCombobox.js.map +1 -0
- package/dist/components/MDatePicker.d.ts +1302 -0
- package/dist/components/MDatePicker.d.ts.map +1 -0
- package/dist/components/MDatePicker.js +31 -0
- package/dist/components/MDatePicker.js.map +1 -0
- package/dist/components/MDialog.d.ts +7 -5
- package/dist/components/MDialog.d.ts.map +1 -1
- package/dist/components/MEmptyState.d.ts +19 -9
- package/dist/components/MEmptyState.d.ts.map +1 -1
- package/dist/components/MFilePicker.d.ts +112 -0
- package/dist/components/MFilePicker.d.ts.map +1 -0
- package/dist/components/MFilePicker.js +193 -0
- package/dist/components/MFilePicker.js.map +1 -0
- package/dist/components/MIcon.d.ts +4 -2
- package/dist/components/MIcon.d.ts.map +1 -1
- package/dist/components/MInput.d.ts +135 -63
- package/dist/components/MInput.d.ts.map +1 -1
- package/dist/components/MInput.js +20 -4
- package/dist/components/MInput.js.map +1 -1
- package/dist/components/MLink.d.ts +120 -0
- package/dist/components/MLink.d.ts.map +1 -0
- package/dist/components/MLink.js +75 -0
- package/dist/components/MLink.js.map +1 -0
- package/dist/components/MListItem.d.ts +26 -12
- package/dist/components/MListItem.d.ts.map +1 -1
- package/dist/components/MProgress.d.ts +18 -8
- package/dist/components/MProgress.d.ts.map +1 -1
- package/dist/components/MRadioGroup.d.ts +19 -9
- package/dist/components/MRadioGroup.d.ts.map +1 -1
- package/dist/components/MRadioGroup.js +22 -0
- package/dist/components/MRadioGroup.js.map +1 -1
- package/dist/components/MReveal.d.ts +71 -35
- package/dist/components/MReveal.d.ts.map +1 -1
- package/dist/components/MReveal.js +39 -50
- package/dist/components/MReveal.js.map +1 -1
- package/dist/components/MScreen.d.ts +12 -6
- package/dist/components/MScreen.d.ts.map +1 -1
- package/dist/components/MSegmentedControl.d.ts +19 -9
- package/dist/components/MSegmentedControl.d.ts.map +1 -1
- package/dist/components/MSelect.d.ts +21 -11
- package/dist/components/MSelect.d.ts.map +1 -1
- package/dist/components/MSeparator.d.ts +4 -2
- package/dist/components/MSeparator.d.ts.map +1 -1
- package/dist/components/MSheet.d.ts +18 -12
- package/dist/components/MSheet.d.ts.map +1 -1
- package/dist/components/MSheet.js +1 -1
- package/dist/components/MSheet.js.map +1 -1
- package/dist/components/MSkeleton.d.ts +16 -8
- package/dist/components/MSkeleton.d.ts.map +1 -1
- package/dist/components/MSlider.d.ts +10 -6
- package/dist/components/MSlider.d.ts.map +1 -1
- package/dist/components/MSlider.js +12 -1
- package/dist/components/MSlider.js.map +1 -1
- package/dist/components/MStack.d.ts +198 -0
- package/dist/components/MStack.d.ts.map +1 -0
- package/dist/components/MStack.js +62 -0
- package/dist/components/MStack.js.map +1 -0
- package/dist/components/MSwitch.d.ts +19 -9
- package/dist/components/MSwitch.d.ts.map +1 -1
- package/dist/components/MSwitch.js +3 -3
- package/dist/components/MSwitch.js.map +1 -1
- package/dist/components/MTabs.d.ts +19 -9
- package/dist/components/MTabs.d.ts.map +1 -1
- package/dist/components/MText.d.ts +44 -28
- package/dist/components/MText.d.ts.map +1 -1
- package/dist/components/MText.js +6 -6
- package/dist/components/MText.js.map +1 -1
- package/dist/components/layout.d.ts +367 -81
- package/dist/components/layout.d.ts.map +1 -1
- package/dist/components/layout.js +14 -12
- package/dist/components/layout.js.map +1 -1
- package/dist/components/workflows.d.ts +251 -0
- package/dist/components/workflows.d.ts.map +1 -0
- package/dist/components/workflows.js +23 -0
- package/dist/components/workflows.js.map +1 -0
- package/dist/connected-motion.d.ts +6 -0
- package/dist/connected-motion.d.ts.map +1 -0
- package/dist/connected-motion.js +18 -0
- package/dist/connected-motion.js.map +1 -0
- package/dist/experimental.d.ts +9 -0
- package/dist/experimental.d.ts.map +1 -0
- package/dist/experimental.js +27 -0
- package/dist/experimental.js.map +1 -0
- package/dist/files.d.ts +6 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +82 -0
- package/dist/files.js.map +1 -0
- package/dist/hydration.d.ts +3 -0
- package/dist/hydration.d.ts.map +1 -0
- package/dist/hydration.js +20 -0
- package/dist/hydration.js.map +1 -0
- package/dist/index.d.ts +10 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -2
- package/dist/index.js.map +1 -1
- package/dist/motion-context.d.ts +13 -0
- package/dist/motion-context.d.ts.map +1 -0
- package/dist/motion-context.js +33 -0
- package/dist/motion-context.js.map +1 -0
- package/dist/motion-region.d.ts +16 -0
- package/dist/motion-region.d.ts.map +1 -0
- package/dist/motion-region.js +164 -0
- package/dist/motion-region.js.map +1 -0
- package/dist/motion-surface.d.ts +6 -2
- package/dist/motion-surface.d.ts.map +1 -1
- package/dist/motion-surface.js +71 -11
- package/dist/motion-surface.js.map +1 -1
- package/dist/motion.d.ts +3 -3
- package/dist/motion.d.ts.map +1 -1
- package/dist/motion.js +47 -30
- package/dist/motion.js.map +1 -1
- package/dist/navigation.d.ts +12 -0
- package/dist/navigation.d.ts.map +1 -0
- package/dist/navigation.js +38 -0
- package/dist/navigation.js.map +1 -0
- package/dist/reveal-motion.d.ts +5 -0
- package/dist/reveal-motion.d.ts.map +1 -0
- package/dist/reveal-motion.js +53 -0
- package/dist/reveal-motion.js.map +1 -0
- package/dist/screen-viewport.d.ts.map +1 -1
- package/dist/screen-viewport.js +5 -0
- package/dist/screen-viewport.js.map +1 -1
- package/dist/scroll-motion.d.ts.map +1 -1
- package/dist/scroll-motion.js +16 -14
- package/dist/scroll-motion.js.map +1 -1
- package/dist/sheet-motion.d.ts.map +1 -1
- package/dist/sheet-motion.js +96 -62
- package/dist/sheet-motion.js.map +1 -1
- package/dist/tokens.d.ts +7 -0
- package/dist/tokens.d.ts.map +1 -0
- package/dist/tokens.js +29 -0
- package/dist/tokens.js.map +1 -0
- package/package.json +7 -3
- package/src/components/DateCalendar.ts +213 -0
- package/src/components/MButton.ts +17 -7
- package/src/components/MCard.ts +45 -27
- package/src/components/MCheckbox.ts +25 -3
- package/src/components/MCombobox.ts +510 -0
- package/src/components/MDatePicker.ts +31 -0
- package/src/components/MFilePicker.ts +233 -0
- package/src/components/MInput.ts +24 -4
- package/src/components/MLink.ts +85 -0
- package/src/components/MRadioGroup.ts +26 -0
- package/src/components/MReveal.ts +57 -64
- package/src/components/MSheet.ts +1 -1
- package/src/components/MSlider.ts +18 -1
- package/src/components/MStack.ts +90 -0
- package/src/components/MSwitch.ts +3 -3
- package/src/components/MText.ts +6 -6
- package/src/components/layout.ts +15 -12
- package/src/components/workflows.ts +27 -0
- package/src/connected-motion.ts +23 -0
- package/src/experimental.ts +29 -0
- package/src/files.ts +77 -0
- package/src/hydration.ts +21 -0
- package/src/index.ts +36 -1
- package/src/motion-context.ts +35 -0
- package/src/motion-region.ts +198 -0
- package/src/motion-surface.ts +87 -12
- package/src/motion.ts +53 -47
- package/src/navigation.ts +44 -0
- package/src/reveal-motion.ts +59 -0
- package/src/screen-viewport.ts +4 -0
- package/src/scroll-motion.ts +16 -15
- package/src/sheet-motion.ts +86 -57
- package/src/style.css +6 -0
- package/src/tokens.ts +29 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const MSwitch: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
width: {
|
|
3
3
|
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
4
|
+
} & {
|
|
4
5
|
default: undefined;
|
|
5
6
|
};
|
|
6
7
|
modelValue: BooleanConstructor;
|
|
@@ -14,19 +15,23 @@ export declare const MSwitch: import("vue").DefineComponent<import("vue").Extrac
|
|
|
14
15
|
};
|
|
15
16
|
disabled: BooleanConstructor;
|
|
16
17
|
grow: {
|
|
17
|
-
type:
|
|
18
|
+
type: import("vue").PropType<number>;
|
|
19
|
+
} & {
|
|
18
20
|
default: number;
|
|
19
21
|
};
|
|
20
22
|
shrink: {
|
|
21
|
-
type:
|
|
23
|
+
type: import("vue").PropType<number>;
|
|
24
|
+
} & {
|
|
22
25
|
default: undefined;
|
|
23
26
|
};
|
|
24
27
|
id: {
|
|
25
|
-
type:
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
29
|
+
} & {
|
|
26
30
|
default: undefined;
|
|
27
31
|
};
|
|
28
32
|
accessibilityHidden: {
|
|
29
|
-
type:
|
|
33
|
+
type: import("vue").PropType<boolean>;
|
|
34
|
+
} & {
|
|
30
35
|
default: undefined;
|
|
31
36
|
};
|
|
32
37
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -36,6 +41,7 @@ export declare const MSwitch: import("vue").DefineComponent<import("vue").Extrac
|
|
|
36
41
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
42
|
width: {
|
|
38
43
|
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
44
|
+
} & {
|
|
39
45
|
default: undefined;
|
|
40
46
|
};
|
|
41
47
|
modelValue: BooleanConstructor;
|
|
@@ -49,30 +55,34 @@ export declare const MSwitch: import("vue").DefineComponent<import("vue").Extrac
|
|
|
49
55
|
};
|
|
50
56
|
disabled: BooleanConstructor;
|
|
51
57
|
grow: {
|
|
52
|
-
type:
|
|
58
|
+
type: import("vue").PropType<number>;
|
|
59
|
+
} & {
|
|
53
60
|
default: number;
|
|
54
61
|
};
|
|
55
62
|
shrink: {
|
|
56
|
-
type:
|
|
63
|
+
type: import("vue").PropType<number>;
|
|
64
|
+
} & {
|
|
57
65
|
default: undefined;
|
|
58
66
|
};
|
|
59
67
|
id: {
|
|
60
|
-
type:
|
|
68
|
+
type: import("vue").PropType<string>;
|
|
69
|
+
} & {
|
|
61
70
|
default: undefined;
|
|
62
71
|
};
|
|
63
72
|
accessibilityHidden: {
|
|
64
|
-
type:
|
|
73
|
+
type: import("vue").PropType<boolean>;
|
|
74
|
+
} & {
|
|
65
75
|
default: undefined;
|
|
66
76
|
};
|
|
67
77
|
}>> & Readonly<{
|
|
68
78
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
69
79
|
}>, {
|
|
80
|
+
disabled: boolean;
|
|
70
81
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
71
82
|
grow: number;
|
|
72
83
|
shrink: number;
|
|
73
84
|
id: string;
|
|
74
85
|
accessibilityHidden: boolean;
|
|
75
|
-
disabled: boolean;
|
|
76
86
|
modelValue: boolean;
|
|
77
87
|
helperText: string;
|
|
78
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MSwitch.d.ts","sourceRoot":"","sources":["../../src/components/MSwitch.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"MSwitch.d.ts","sourceRoot":"","sources":["../../src/components/MSwitch.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA+FlB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { fontFamily } from '@getcortexlabs/mavis-core';
|
|
2
2
|
import { defineComponent, h, mergeProps, useId } from 'vue';
|
|
3
|
-
import { useButtonAction, switchProps, switchEmits, useMavisTheme,
|
|
3
|
+
import { useButtonAction, switchProps, switchEmits, useMavisTheme, useLayoutShrink, } from '@getcortexlabs/mavis-core/vue';
|
|
4
4
|
import { nonNegative, resolveDimension } from '@getcortexlabs/mavis-core';
|
|
5
5
|
import { length, webAttrs } from '../style.js';
|
|
6
6
|
export const MSwitch = defineComponent({
|
|
@@ -11,7 +11,7 @@ export const MSwitch = defineComponent({
|
|
|
11
11
|
setup(props, { attrs, emit }) {
|
|
12
12
|
useButtonAction();
|
|
13
13
|
const { theme } = useMavisTheme();
|
|
14
|
-
const shrink =
|
|
14
|
+
const shrink = useLayoutShrink();
|
|
15
15
|
const labelId = `m-switch-${useId()}`;
|
|
16
16
|
return () => {
|
|
17
17
|
const { colors, space, typography, radius } = theme.value;
|
|
@@ -37,7 +37,7 @@ export const MSwitch = defineComponent({
|
|
|
37
37
|
lineHeight: 1.5,
|
|
38
38
|
opacity: props.disabled ? 0.45 : 1,
|
|
39
39
|
flexGrow: nonNegative(props.grow, 'grow'),
|
|
40
|
-
flexShrink: nonNegative(props.shrink ?? shrink, 'shrink'),
|
|
40
|
+
flexShrink: nonNegative(props.shrink ?? shrink.value, 'shrink'),
|
|
41
41
|
width: length(resolveDimension(props.width)),
|
|
42
42
|
'--m-focus': colors.primary,
|
|
43
43
|
'--m-switch-track': props.modelValue ? colors.primary : colors.muted,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MSwitch.js","sourceRoot":"","sources":["../../src/components/MSwitch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAC3D,OAAO,EACL,eAAe,EACf,WAAW,EACX,WAAW,EACX,aAAa,EACb,
|
|
1
|
+
{"version":3,"file":"MSwitch.js","sourceRoot":"","sources":["../../src/components/MSwitch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAC3D,OAAO,EACL,eAAe,EACf,WAAW,EACX,WAAW,EACX,aAAa,EACb,eAAe,GAChB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC;IACrC,IAAI,EAAE,SAAS;IACf,YAAY,EAAE,KAAK;IACnB,KAAK,EAAE,WAAW;IAClB,KAAK,EAAE,WAAW;IAClB,KAAK,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE;QAC1B,eAAe,EAAE,CAAA;QACjB,MAAM,EAAE,KAAK,EAAE,GAAG,aAAa,EAAE,CAAA;QACjC,MAAM,MAAM,GAAG,eAAe,EAAE,CAAA;QAChC,MAAM,OAAO,GAAG,YAAY,KAAK,EAAE,EAAE,CAAA;QACrC,OAAO,GAAG,EAAE;YACV,MAAM,EAAE,MAAM,EAAE,KAAK,E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KAAK,EAAE,MAAM,CAAC,KAAK;gCACnB,QAAQ,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,QAAQ,IAAI;gCAC5C,UAAU,EAAE,QAAQ;6BACrB;yBACF,EACD,KAAK,CAAC,UAAU,CACjB;wBACH,CAAC,CAAC,IAAI;iBACT,CACF;gBACD,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE;oBAC5D,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,gBAAgB,EAAE,CAAC;iBACvC,CAAC;aACH,CACF,CAAA;QACH,CAAC,CAAA;IACH,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -3,6 +3,7 @@ import { type TabOption, type TabPanelProps } from '@getcortexlabs/mavis-core';
|
|
|
3
3
|
export declare const MTabs: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
width: {
|
|
5
5
|
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
6
|
+
} & {
|
|
6
7
|
default: undefined;
|
|
7
8
|
};
|
|
8
9
|
modelValue: {
|
|
@@ -19,20 +20,24 @@ export declare const MTabs: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
19
20
|
};
|
|
20
21
|
disabled: BooleanConstructor;
|
|
21
22
|
grow: {
|
|
22
|
-
type:
|
|
23
|
+
type: import("vue").PropType<number>;
|
|
24
|
+
} & {
|
|
23
25
|
default: number;
|
|
24
26
|
};
|
|
25
27
|
shrink: {
|
|
26
|
-
type:
|
|
28
|
+
type: import("vue").PropType<number>;
|
|
29
|
+
} & {
|
|
27
30
|
default: undefined;
|
|
28
31
|
};
|
|
29
32
|
keepAlive: BooleanConstructor;
|
|
30
33
|
id: {
|
|
31
|
-
type:
|
|
34
|
+
type: import("vue").PropType<string>;
|
|
35
|
+
} & {
|
|
32
36
|
default: undefined;
|
|
33
37
|
};
|
|
34
38
|
accessibilityHidden: {
|
|
35
|
-
type:
|
|
39
|
+
type: import("vue").PropType<boolean>;
|
|
40
|
+
} & {
|
|
36
41
|
default: undefined;
|
|
37
42
|
};
|
|
38
43
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -42,6 +47,7 @@ export declare const MTabs: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
42
47
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
48
|
width: {
|
|
44
49
|
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
50
|
+
} & {
|
|
45
51
|
default: undefined;
|
|
46
52
|
};
|
|
47
53
|
modelValue: {
|
|
@@ -58,31 +64,35 @@ export declare const MTabs: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
58
64
|
};
|
|
59
65
|
disabled: BooleanConstructor;
|
|
60
66
|
grow: {
|
|
61
|
-
type:
|
|
67
|
+
type: import("vue").PropType<number>;
|
|
68
|
+
} & {
|
|
62
69
|
default: number;
|
|
63
70
|
};
|
|
64
71
|
shrink: {
|
|
65
|
-
type:
|
|
72
|
+
type: import("vue").PropType<number>;
|
|
73
|
+
} & {
|
|
66
74
|
default: undefined;
|
|
67
75
|
};
|
|
68
76
|
keepAlive: BooleanConstructor;
|
|
69
77
|
id: {
|
|
70
|
-
type:
|
|
78
|
+
type: import("vue").PropType<string>;
|
|
79
|
+
} & {
|
|
71
80
|
default: undefined;
|
|
72
81
|
};
|
|
73
82
|
accessibilityHidden: {
|
|
74
|
-
type:
|
|
83
|
+
type: import("vue").PropType<boolean>;
|
|
84
|
+
} & {
|
|
75
85
|
default: undefined;
|
|
76
86
|
};
|
|
77
87
|
}>> & Readonly<{
|
|
78
88
|
"onUpdate:modelValue"?: ((value: import("@getcortexlabs/mavis-core").ChoiceValue) => any) | undefined;
|
|
79
89
|
}>, {
|
|
90
|
+
disabled: boolean;
|
|
80
91
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
81
92
|
grow: number;
|
|
82
93
|
shrink: number;
|
|
83
94
|
id: string;
|
|
84
95
|
accessibilityHidden: boolean;
|
|
85
|
-
disabled: boolean;
|
|
86
96
|
modelValue: import("@getcortexlabs/mavis-core").ChoiceValue | null;
|
|
87
97
|
keepAlive: boolean;
|
|
88
98
|
}, SlotsType<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MTabs.d.ts","sourceRoot":"","sources":["../../src/components/MTabs.ts"],"names":[],"mappings":"AACA,OAAO,EAcL,KAAK,SAAS,EACf,MAAM,KAAK,CAAA;AACZ,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,aAAa,EACnB,MAAM,2BAA2B,CAAA;AAYlC,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"MTabs.d.ts","sourceRoot":"","sources":["../../src/components/MTabs.ts"],"names":[],"mappings":"AACA,OAAO,EAcL,KAAK,SAAS,EACf,MAAM,KAAK,CAAA;AACZ,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,aAAa,EACnB,MAAM,2BAA2B,CAAA;AAYlC,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAKsB,aAAa;yEAyOnD,CAAA"}
|
|
@@ -1,120 +1,136 @@
|
|
|
1
1
|
export declare const MText: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
text: {
|
|
3
|
-
type:
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
} & {
|
|
4
5
|
default: undefined;
|
|
5
6
|
};
|
|
6
7
|
as: {
|
|
7
|
-
type: import("vue").PropType<"
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
type: import("vue").PropType<"p" | "span" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6">;
|
|
9
|
+
} & {
|
|
10
|
+
default: "p" | "span" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
10
11
|
};
|
|
11
12
|
variant: {
|
|
12
13
|
type: import("vue").PropType<"display" | "title" | "heading" | "body" | "caption" | "overline">;
|
|
14
|
+
} & {
|
|
13
15
|
default: "display" | "title" | "heading" | "body" | "caption" | "overline";
|
|
14
|
-
validator: (value: "display" | "title" | "heading" | "body" | "caption" | "overline") => boolean;
|
|
15
16
|
};
|
|
16
17
|
tone: {
|
|
17
18
|
type: import("vue").PropType<keyof import("@getcortexlabs/mavis-core").Palette>;
|
|
19
|
+
} & {
|
|
18
20
|
default: keyof import("@getcortexlabs/mavis-core").Palette;
|
|
19
|
-
validator: (value: keyof import("@getcortexlabs/mavis-core").Palette) => boolean;
|
|
20
21
|
};
|
|
21
22
|
align: {
|
|
22
23
|
type: import("vue").PropType<"center" | "left" | "right">;
|
|
24
|
+
} & {
|
|
23
25
|
default: "center" | "left" | "right";
|
|
24
|
-
validator: (value: "center" | "left" | "right") => boolean;
|
|
25
26
|
};
|
|
26
27
|
wrap: {
|
|
27
|
-
type:
|
|
28
|
+
type: import("vue").PropType<boolean>;
|
|
29
|
+
} & {
|
|
28
30
|
default: boolean;
|
|
29
31
|
};
|
|
30
32
|
grow: {
|
|
31
|
-
type:
|
|
33
|
+
type: import("vue").PropType<number>;
|
|
34
|
+
} & {
|
|
32
35
|
default: number;
|
|
33
36
|
};
|
|
34
37
|
shrink: {
|
|
35
|
-
type:
|
|
38
|
+
type: import("vue").PropType<number>;
|
|
39
|
+
} & {
|
|
36
40
|
default: undefined;
|
|
37
41
|
};
|
|
38
42
|
id: {
|
|
39
|
-
type:
|
|
43
|
+
type: import("vue").PropType<string>;
|
|
44
|
+
} & {
|
|
40
45
|
default: undefined;
|
|
41
46
|
};
|
|
42
47
|
accessibilityLabel: {
|
|
43
|
-
type:
|
|
48
|
+
type: import("vue").PropType<string>;
|
|
49
|
+
} & {
|
|
44
50
|
default: undefined;
|
|
45
51
|
};
|
|
46
52
|
accessibilityHidden: {
|
|
47
|
-
type:
|
|
53
|
+
type: import("vue").PropType<boolean>;
|
|
54
|
+
} & {
|
|
48
55
|
default: undefined;
|
|
49
56
|
};
|
|
50
57
|
weight: {
|
|
51
58
|
type: import("vue").PropType<import("@getcortexlabs/mavis-core").FontWeight>;
|
|
59
|
+
} & {
|
|
52
60
|
default: undefined;
|
|
53
61
|
};
|
|
54
62
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
55
63
|
[key: string]: any;
|
|
56
64
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
65
|
text: {
|
|
58
|
-
type:
|
|
66
|
+
type: import("vue").PropType<string>;
|
|
67
|
+
} & {
|
|
59
68
|
default: undefined;
|
|
60
69
|
};
|
|
61
70
|
as: {
|
|
62
|
-
type: import("vue").PropType<"
|
|
63
|
-
|
|
64
|
-
|
|
71
|
+
type: import("vue").PropType<"p" | "span" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6">;
|
|
72
|
+
} & {
|
|
73
|
+
default: "p" | "span" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
65
74
|
};
|
|
66
75
|
variant: {
|
|
67
76
|
type: import("vue").PropType<"display" | "title" | "heading" | "body" | "caption" | "overline">;
|
|
77
|
+
} & {
|
|
68
78
|
default: "display" | "title" | "heading" | "body" | "caption" | "overline";
|
|
69
|
-
validator: (value: "display" | "title" | "heading" | "body" | "caption" | "overline") => boolean;
|
|
70
79
|
};
|
|
71
80
|
tone: {
|
|
72
81
|
type: import("vue").PropType<keyof import("@getcortexlabs/mavis-core").Palette>;
|
|
82
|
+
} & {
|
|
73
83
|
default: keyof import("@getcortexlabs/mavis-core").Palette;
|
|
74
|
-
validator: (value: keyof import("@getcortexlabs/mavis-core").Palette) => boolean;
|
|
75
84
|
};
|
|
76
85
|
align: {
|
|
77
86
|
type: import("vue").PropType<"center" | "left" | "right">;
|
|
87
|
+
} & {
|
|
78
88
|
default: "center" | "left" | "right";
|
|
79
|
-
validator: (value: "center" | "left" | "right") => boolean;
|
|
80
89
|
};
|
|
81
90
|
wrap: {
|
|
82
|
-
type:
|
|
91
|
+
type: import("vue").PropType<boolean>;
|
|
92
|
+
} & {
|
|
83
93
|
default: boolean;
|
|
84
94
|
};
|
|
85
95
|
grow: {
|
|
86
|
-
type:
|
|
96
|
+
type: import("vue").PropType<number>;
|
|
97
|
+
} & {
|
|
87
98
|
default: number;
|
|
88
99
|
};
|
|
89
100
|
shrink: {
|
|
90
|
-
type:
|
|
101
|
+
type: import("vue").PropType<number>;
|
|
102
|
+
} & {
|
|
91
103
|
default: undefined;
|
|
92
104
|
};
|
|
93
105
|
id: {
|
|
94
|
-
type:
|
|
106
|
+
type: import("vue").PropType<string>;
|
|
107
|
+
} & {
|
|
95
108
|
default: undefined;
|
|
96
109
|
};
|
|
97
110
|
accessibilityLabel: {
|
|
98
|
-
type:
|
|
111
|
+
type: import("vue").PropType<string>;
|
|
112
|
+
} & {
|
|
99
113
|
default: undefined;
|
|
100
114
|
};
|
|
101
115
|
accessibilityHidden: {
|
|
102
|
-
type:
|
|
116
|
+
type: import("vue").PropType<boolean>;
|
|
117
|
+
} & {
|
|
103
118
|
default: undefined;
|
|
104
119
|
};
|
|
105
120
|
weight: {
|
|
106
121
|
type: import("vue").PropType<import("@getcortexlabs/mavis-core").FontWeight>;
|
|
122
|
+
} & {
|
|
107
123
|
default: undefined;
|
|
108
124
|
};
|
|
109
125
|
}>> & Readonly<{}>, {
|
|
110
|
-
text: string;
|
|
111
126
|
grow: number;
|
|
112
127
|
shrink: number;
|
|
113
128
|
id: string;
|
|
114
129
|
accessibilityLabel: string;
|
|
115
130
|
accessibilityHidden: boolean;
|
|
116
|
-
align: "center" | "
|
|
131
|
+
align: "center" | "right" | "left";
|
|
117
132
|
wrap: boolean;
|
|
133
|
+
text: string;
|
|
118
134
|
weight: import("@getcortexlabs/mavis-core").FontWeight;
|
|
119
135
|
tone: keyof import("@getcortexlabs/mavis-core").Palette;
|
|
120
136
|
variant: "body" | "caption" | "title" | "display" | "heading" | "overline";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MText.d.ts","sourceRoot":"","sources":["../../src/components/MText.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"MText.d.ts","sourceRoot":"","sources":["../../src/components/MText.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAyDhB,CAAA"}
|
package/dist/components/MText.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, h, mergeProps } from 'vue';
|
|
2
|
-
import { textProps, useMavisTheme, inlineContent,
|
|
2
|
+
import { textProps, useMavisTheme, inlineContent, useLayoutShrink, viewAttrs, } from '@getcortexlabs/mavis-core/vue';
|
|
3
3
|
import { fontFamily, nonNegative, validateWeight } from '@getcortexlabs/mavis-core';
|
|
4
4
|
import { webAttrs } from '../style.js';
|
|
5
5
|
export const MText = defineComponent({
|
|
@@ -8,7 +8,7 @@ export const MText = defineComponent({
|
|
|
8
8
|
props: textProps,
|
|
9
9
|
setup(props, { attrs, slots }) {
|
|
10
10
|
const { theme } = useMavisTheme();
|
|
11
|
-
const shrink =
|
|
11
|
+
const shrink = useLayoutShrink();
|
|
12
12
|
return () => {
|
|
13
13
|
const type = theme.value.typography[props.variant];
|
|
14
14
|
const runs = props.text !== undefined ? [{ text: props.text }] : inlineContent(slots.default?.());
|
|
@@ -23,12 +23,12 @@ export const MText = defineComponent({
|
|
|
23
23
|
: `var(--m-text-font-weight, ${type.fontWeight})`,
|
|
24
24
|
letterSpacing: `var(--m-text-letter-spacing, ${type.letterSpacing}em)`,
|
|
25
25
|
lineHeight: `var(--m-text-line-height, ${type.lineHeight})`,
|
|
26
|
-
color: theme.value.colors[props.tone]
|
|
27
|
-
textAlign: props.align
|
|
28
|
-
whiteSpace: props.wrap ? 'normal' : 'nowrap'
|
|
26
|
+
color: `var(--m-text-color, ${theme.value.colors[props.tone]})`,
|
|
27
|
+
textAlign: `var(--m-text-align, ${props.align})`,
|
|
28
|
+
whiteSpace: `var(--m-text-wrap, ${props.wrap ? 'normal' : 'nowrap'})`,
|
|
29
29
|
overflowWrap: 'anywhere',
|
|
30
30
|
flexGrow: nonNegative(props.grow, 'grow'),
|
|
31
|
-
flexShrink: nonNegative(props.shrink ?? shrink, 'shrink'),
|
|
31
|
+
flexShrink: nonNegative(props.shrink ?? shrink.value, 'shrink'),
|
|
32
32
|
minWidth: 0,
|
|
33
33
|
},
|
|
34
34
|
}, webAttrs({ ...attrs, ...viewAttrs(props) })), runs.every((run) => !run.weight && !run.tone && !run.strong && !run.italic)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MText.js","sourceRoot":"","sources":["../../src/components/MText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,CAAC,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AACpD,OAAO,EACL,SAAS,EACT,aAAa,EACb,aAAa,EACb,
|
|
1
|
+
{"version":3,"file":"MText.js","sourceRoot":"","sources":["../../src/components/MText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,CAAC,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AACpD,OAAO,EACL,SAAS,EACT,aAAa,EACb,aAAa,EACb,eAAe,EACf,SAAS,GACV,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AACnF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,CAAC,MAAM,KAAK,GAAG,eAAe,CAAC;IACnC,IA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