@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.
Files changed (197) hide show
  1. package/README.md +5 -3
  2. package/dist/components/DateCalendar.d.ts +95 -0
  3. package/dist/components/DateCalendar.d.ts.map +1 -0
  4. package/dist/components/DateCalendar.js +157 -0
  5. package/dist/components/DateCalendar.js.map +1 -0
  6. package/dist/components/MAccordion.d.ts +19 -9
  7. package/dist/components/MAccordion.d.ts.map +1 -1
  8. package/dist/components/MAlert.d.ts +20 -10
  9. package/dist/components/MAlert.d.ts.map +1 -1
  10. package/dist/components/MAvatar.d.ts +13 -7
  11. package/dist/components/MAvatar.d.ts.map +1 -1
  12. package/dist/components/MBadge.d.ts +12 -6
  13. package/dist/components/MBadge.d.ts.map +1 -1
  14. package/dist/components/MButton.d.ts +129 -41
  15. package/dist/components/MButton.d.ts.map +1 -1
  16. package/dist/components/MButton.js +13 -8
  17. package/dist/components/MButton.js.map +1 -1
  18. package/dist/components/MCard.d.ts +89 -15
  19. package/dist/components/MCard.d.ts.map +1 -1
  20. package/dist/components/MCard.js +36 -30
  21. package/dist/components/MCard.js.map +1 -1
  22. package/dist/components/MCheckbox.d.ts +20 -10
  23. package/dist/components/MCheckbox.d.ts.map +1 -1
  24. package/dist/components/MCheckbox.js +22 -3
  25. package/dist/components/MCheckbox.js.map +1 -1
  26. package/dist/components/MChip.d.ts +22 -12
  27. package/dist/components/MChip.d.ts.map +1 -1
  28. package/dist/components/MCombobox.d.ts +282 -0
  29. package/dist/components/MCombobox.d.ts.map +1 -0
  30. package/dist/components/MCombobox.js +440 -0
  31. package/dist/components/MCombobox.js.map +1 -0
  32. package/dist/components/MDatePicker.d.ts +1302 -0
  33. package/dist/components/MDatePicker.d.ts.map +1 -0
  34. package/dist/components/MDatePicker.js +31 -0
  35. package/dist/components/MDatePicker.js.map +1 -0
  36. package/dist/components/MDialog.d.ts +7 -5
  37. package/dist/components/MDialog.d.ts.map +1 -1
  38. package/dist/components/MEmptyState.d.ts +19 -9
  39. package/dist/components/MEmptyState.d.ts.map +1 -1
  40. package/dist/components/MFilePicker.d.ts +112 -0
  41. package/dist/components/MFilePicker.d.ts.map +1 -0
  42. package/dist/components/MFilePicker.js +193 -0
  43. package/dist/components/MFilePicker.js.map +1 -0
  44. package/dist/components/MIcon.d.ts +4 -2
  45. package/dist/components/MIcon.d.ts.map +1 -1
  46. package/dist/components/MInput.d.ts +135 -63
  47. package/dist/components/MInput.d.ts.map +1 -1
  48. package/dist/components/MInput.js +20 -4
  49. package/dist/components/MInput.js.map +1 -1
  50. package/dist/components/MLink.d.ts +120 -0
  51. package/dist/components/MLink.d.ts.map +1 -0
  52. package/dist/components/MLink.js +75 -0
  53. package/dist/components/MLink.js.map +1 -0
  54. package/dist/components/MListItem.d.ts +26 -12
  55. package/dist/components/MListItem.d.ts.map +1 -1
  56. package/dist/components/MProgress.d.ts +18 -8
  57. package/dist/components/MProgress.d.ts.map +1 -1
  58. package/dist/components/MRadioGroup.d.ts +19 -9
  59. package/dist/components/MRadioGroup.d.ts.map +1 -1
  60. package/dist/components/MRadioGroup.js +22 -0
  61. package/dist/components/MRadioGroup.js.map +1 -1
  62. package/dist/components/MReveal.d.ts +71 -35
  63. package/dist/components/MReveal.d.ts.map +1 -1
  64. package/dist/components/MReveal.js +39 -50
  65. package/dist/components/MReveal.js.map +1 -1
  66. package/dist/components/MScreen.d.ts +12 -6
  67. package/dist/components/MScreen.d.ts.map +1 -1
  68. package/dist/components/MSegmentedControl.d.ts +19 -9
  69. package/dist/components/MSegmentedControl.d.ts.map +1 -1
  70. package/dist/components/MSelect.d.ts +21 -11
  71. package/dist/components/MSelect.d.ts.map +1 -1
  72. package/dist/components/MSeparator.d.ts +4 -2
  73. package/dist/components/MSeparator.d.ts.map +1 -1
  74. package/dist/components/MSheet.d.ts +18 -12
  75. package/dist/components/MSheet.d.ts.map +1 -1
  76. package/dist/components/MSheet.js +1 -1
  77. package/dist/components/MSheet.js.map +1 -1
  78. package/dist/components/MSkeleton.d.ts +16 -8
  79. package/dist/components/MSkeleton.d.ts.map +1 -1
  80. package/dist/components/MSlider.d.ts +10 -6
  81. package/dist/components/MSlider.d.ts.map +1 -1
  82. package/dist/components/MSlider.js +12 -1
  83. package/dist/components/MSlider.js.map +1 -1
  84. package/dist/components/MStack.d.ts +198 -0
  85. package/dist/components/MStack.d.ts.map +1 -0
  86. package/dist/components/MStack.js +62 -0
  87. package/dist/components/MStack.js.map +1 -0
  88. package/dist/components/MSwitch.d.ts +19 -9
  89. package/dist/components/MSwitch.d.ts.map +1 -1
  90. package/dist/components/MSwitch.js +3 -3
  91. package/dist/components/MSwitch.js.map +1 -1
  92. package/dist/components/MTabs.d.ts +19 -9
  93. package/dist/components/MTabs.d.ts.map +1 -1
  94. package/dist/components/MText.d.ts +44 -28
  95. package/dist/components/MText.d.ts.map +1 -1
  96. package/dist/components/MText.js +6 -6
  97. package/dist/components/MText.js.map +1 -1
  98. package/dist/components/layout.d.ts +367 -81
  99. package/dist/components/layout.d.ts.map +1 -1
  100. package/dist/components/layout.js +14 -12
  101. package/dist/components/layout.js.map +1 -1
  102. package/dist/components/workflows.d.ts +251 -0
  103. package/dist/components/workflows.d.ts.map +1 -0
  104. package/dist/components/workflows.js +23 -0
  105. package/dist/components/workflows.js.map +1 -0
  106. package/dist/connected-motion.d.ts +6 -0
  107. package/dist/connected-motion.d.ts.map +1 -0
  108. package/dist/connected-motion.js +18 -0
  109. package/dist/connected-motion.js.map +1 -0
  110. package/dist/experimental.d.ts +9 -0
  111. package/dist/experimental.d.ts.map +1 -0
  112. package/dist/experimental.js +27 -0
  113. package/dist/experimental.js.map +1 -0
  114. package/dist/files.d.ts +6 -0
  115. package/dist/files.d.ts.map +1 -0
  116. package/dist/files.js +82 -0
  117. package/dist/files.js.map +1 -0
  118. package/dist/hydration.d.ts +3 -0
  119. package/dist/hydration.d.ts.map +1 -0
  120. package/dist/hydration.js +20 -0
  121. package/dist/hydration.js.map +1 -0
  122. package/dist/index.d.ts +10 -2
  123. package/dist/index.d.ts.map +1 -1
  124. package/dist/index.js +20 -2
  125. package/dist/index.js.map +1 -1
  126. package/dist/motion-context.d.ts +13 -0
  127. package/dist/motion-context.d.ts.map +1 -0
  128. package/dist/motion-context.js +33 -0
  129. package/dist/motion-context.js.map +1 -0
  130. package/dist/motion-region.d.ts +16 -0
  131. package/dist/motion-region.d.ts.map +1 -0
  132. package/dist/motion-region.js +164 -0
  133. package/dist/motion-region.js.map +1 -0
  134. package/dist/motion-surface.d.ts +6 -2
  135. package/dist/motion-surface.d.ts.map +1 -1
  136. package/dist/motion-surface.js +71 -11
  137. package/dist/motion-surface.js.map +1 -1
  138. package/dist/motion.d.ts +3 -3
  139. package/dist/motion.d.ts.map +1 -1
  140. package/dist/motion.js +47 -30
  141. package/dist/motion.js.map +1 -1
  142. package/dist/navigation.d.ts +12 -0
  143. package/dist/navigation.d.ts.map +1 -0
  144. package/dist/navigation.js +38 -0
  145. package/dist/navigation.js.map +1 -0
  146. package/dist/reveal-motion.d.ts +5 -0
  147. package/dist/reveal-motion.d.ts.map +1 -0
  148. package/dist/reveal-motion.js +53 -0
  149. package/dist/reveal-motion.js.map +1 -0
  150. package/dist/screen-viewport.d.ts.map +1 -1
  151. package/dist/screen-viewport.js +5 -0
  152. package/dist/screen-viewport.js.map +1 -1
  153. package/dist/scroll-motion.d.ts.map +1 -1
  154. package/dist/scroll-motion.js +16 -14
  155. package/dist/scroll-motion.js.map +1 -1
  156. package/dist/sheet-motion.d.ts.map +1 -1
  157. package/dist/sheet-motion.js +96 -62
  158. package/dist/sheet-motion.js.map +1 -1
  159. package/dist/tokens.d.ts +7 -0
  160. package/dist/tokens.d.ts.map +1 -0
  161. package/dist/tokens.js +29 -0
  162. package/dist/tokens.js.map +1 -0
  163. package/package.json +7 -3
  164. package/src/components/DateCalendar.ts +213 -0
  165. package/src/components/MButton.ts +17 -7
  166. package/src/components/MCard.ts +45 -27
  167. package/src/components/MCheckbox.ts +25 -3
  168. package/src/components/MCombobox.ts +510 -0
  169. package/src/components/MDatePicker.ts +31 -0
  170. package/src/components/MFilePicker.ts +233 -0
  171. package/src/components/MInput.ts +24 -4
  172. package/src/components/MLink.ts +85 -0
  173. package/src/components/MRadioGroup.ts +26 -0
  174. package/src/components/MReveal.ts +57 -64
  175. package/src/components/MSheet.ts +1 -1
  176. package/src/components/MSlider.ts +18 -1
  177. package/src/components/MStack.ts +90 -0
  178. package/src/components/MSwitch.ts +3 -3
  179. package/src/components/MText.ts +6 -6
  180. package/src/components/layout.ts +15 -12
  181. package/src/components/workflows.ts +27 -0
  182. package/src/connected-motion.ts +23 -0
  183. package/src/experimental.ts +29 -0
  184. package/src/files.ts +77 -0
  185. package/src/hydration.ts +21 -0
  186. package/src/index.ts +36 -1
  187. package/src/motion-context.ts +35 -0
  188. package/src/motion-region.ts +198 -0
  189. package/src/motion-surface.ts +87 -12
  190. package/src/motion.ts +53 -47
  191. package/src/navigation.ts +44 -0
  192. package/src/reveal-motion.ts +59 -0
  193. package/src/screen-viewport.ts +4 -0
  194. package/src/scroll-motion.ts +16 -15
  195. package/src/sheet-motion.ts +86 -57
  196. package/src/style.css +6 -0
  197. package/src/tokens.ts +29 -0
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # Mavis for Vue Web
2
2
 
3
- Vue Web components and themes for Mavis UI, version `0.1.0-alpha.4`. Experimental prerelease for testing in real apps; the API can change between alpha versions. Licensed under MIT.
3
+ Vue Web components and themes for Mavis UI, version `0.1.0-alpha.6`. Experimental prerelease for testing in real apps; the API can change between alpha versions. Licensed under MIT.
4
4
 
5
5
  In an existing Vue application:
6
6
 
7
7
  ```sh
8
- npm install @getcortexlabs/mavis-web@0.1.0-alpha.4 @rafaelaugusto/jolt@0.1.0-rc.6
8
+ npm install @getcortexlabs/mavis-web@0.1.0-alpha.6 @rafaelaugusto/jolt@0.1.0-rc.8
9
9
  ```
10
10
 
11
11
  ```ts
@@ -19,8 +19,10 @@ createApp(App).use(createMavis()).mount('#app')
19
19
 
20
20
  The stylesheet supplies focus indicators, box overlays, and motion. The plugin registers the layout, typography, form, selection, feedback and overlay components, including scoped themes and inline text. Vue also accepts their `m-*` spellings. See the [component reference](https://mavis-ui.getcortexlabs.com/components/) for the full catalog.
21
21
 
22
- Themes and Vue context come from `@getcortexlabs/mavis-core`. Alpha.4 requires Jolt 0.1.0-rc.6 as a peer for Button/Card/Reveal. Browser consumers do not install NativeScript; Mavis uses only Jolt /web and /web/vue. See the [motion guide](https://mavis-ui.getcortexlabs.com/guide/motion).
22
+ Themes and Vue context come from `@getcortexlabs/mavis-core`. This source checkout requires Jolt 0.1.0-rc.8 as a peer for component motion and deferred DOM attachment. Browser consumers do not install NativeScript; Mavis uses only Jolt /web and /web/vue. See the [motion guide](https://mavis-ui.getcortexlabs.com/guide/motion).
23
23
 
24
24
  Use `MText.as` for HTML heading semantics. Buttons emit a payload-free `click` and retain native HTML keyboard activation. Sliders expose semantic values to accessibility APIs, including fractional steps. Theme state belongs to each app. The package is safe to import during server rendering.
25
25
 
26
26
  Tested with Vue 3.5.42, Vite 6.4.5, TypeScript 6.0.3 and vue-tsc 3.3.13. See the [Web guide](https://mavis-ui.getcortexlabs.com/guide/web) for setup and portability limits, and the [release notes](https://github.com/getcortexlabs/mavis-ui/blob/main/CHANGELOG.md) for the alpha boundary.
27
+
28
+ Alpha.6 requires Jolt **0.1.0-rc.8** for orchestration, deferred Web attachment, keyed items and horizontal scroll. Keep the Mavis packages at the same version. Rebuild native applications after upgrading Jolt.
@@ -0,0 +1,95 @@
1
+ import { type CivilDate } from '@getcortexlabs/mavis-core';
2
+ /** @internal Month grid with one Tab stop; unavailable days remain readable and cannot commit. */
3
+ export declare const DateCalendar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ activeDate: {
5
+ type: import("vue").PropType<CivilDate>;
6
+ required: true;
7
+ };
8
+ selected: {
9
+ type: import("vue").PropType<CivilDate | null>;
10
+ default: null;
11
+ };
12
+ rangeStart: {
13
+ type: import("vue").PropType<CivilDate | null>;
14
+ default: null;
15
+ };
16
+ rangeEnd: {
17
+ type: import("vue").PropType<CivilDate | null>;
18
+ default: null;
19
+ };
20
+ min: {
21
+ type: import("vue").PropType<CivilDate>;
22
+ default: undefined;
23
+ };
24
+ max: {
25
+ type: import("vue").PropType<CivilDate>;
26
+ default: undefined;
27
+ };
28
+ unavailableDates: {
29
+ type: import("vue").PropType<readonly CivilDate[]>;
30
+ default: () => never[];
31
+ };
32
+ locale: {
33
+ type: import("vue").PropType<import("@getcortexlabs/mavis-core").DateLocale>;
34
+ default: "en-US";
35
+ };
36
+ firstDayOfWeek: {
37
+ type: NumberConstructor;
38
+ default: undefined;
39
+ };
40
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
41
+ [key: string]: any;
42
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
+ select: (value: CivilDate) => boolean;
44
+ 'update:activeDate': (value: CivilDate) => boolean;
45
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
+ activeDate: {
47
+ type: import("vue").PropType<CivilDate>;
48
+ required: true;
49
+ };
50
+ selected: {
51
+ type: import("vue").PropType<CivilDate | null>;
52
+ default: null;
53
+ };
54
+ rangeStart: {
55
+ type: import("vue").PropType<CivilDate | null>;
56
+ default: null;
57
+ };
58
+ rangeEnd: {
59
+ type: import("vue").PropType<CivilDate | null>;
60
+ default: null;
61
+ };
62
+ min: {
63
+ type: import("vue").PropType<CivilDate>;
64
+ default: undefined;
65
+ };
66
+ max: {
67
+ type: import("vue").PropType<CivilDate>;
68
+ default: undefined;
69
+ };
70
+ unavailableDates: {
71
+ type: import("vue").PropType<readonly CivilDate[]>;
72
+ default: () => never[];
73
+ };
74
+ locale: {
75
+ type: import("vue").PropType<import("@getcortexlabs/mavis-core").DateLocale>;
76
+ default: "en-US";
77
+ };
78
+ firstDayOfWeek: {
79
+ type: NumberConstructor;
80
+ default: undefined;
81
+ };
82
+ }>> & Readonly<{
83
+ onSelect?: ((value: `${number}-${number}-${number}`) => any) | undefined;
84
+ "onUpdate:activeDate"?: ((value: `${number}-${number}-${number}`) => any) | undefined;
85
+ }>, {
86
+ selected: `${number}-${number}-${number}` | null;
87
+ rangeStart: `${number}-${number}-${number}` | null;
88
+ rangeEnd: `${number}-${number}-${number}` | null;
89
+ min: `${number}-${number}-${number}`;
90
+ max: `${number}-${number}-${number}`;
91
+ unavailableDates: readonly `${number}-${number}-${number}`[];
92
+ locale: import("@getcortexlabs/mavis-core").DateLocale;
93
+ firstDayOfWeek: number;
94
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
95
+ //# sourceMappingURL=DateCalendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateCalendar.d.ts","sourceRoot":"","sources":["../../src/components/DateCalendar.ts"],"names":[],"mappings":"AACA,OAAO,EAAgC,KAAK,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAUxF,kGAAkG;AAClG,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAwMvB,CAAA"}
@@ -0,0 +1,157 @@
1
+ import { defineComponent, h, nextTick, onBeforeUnmount, onMounted, ref, watch } from 'vue';
2
+ import { calendarDayLabel, fontFamily } from '@getcortexlabs/mavis-core';
3
+ import { dateCalendarProps, dateCalendarEmits, useDateCalendar, useMavisTheme, } from '@getcortexlabs/mavis-core/vue';
4
+ import { MButton } from './MButton.js';
5
+ import { MRow, MColumn } from './layout.js';
6
+ /** @internal Month grid with one Tab stop; unavailable days remain readable and cannot commit. */
7
+ export const DateCalendar = defineComponent({
8
+ name: 'DateCalendar',
9
+ props: dateCalendarProps,
10
+ emits: dateCalendarEmits,
11
+ setup(props, { emit }) {
12
+ const { theme } = useMavisTheme();
13
+ const calendar = useDateCalendar(props, (value) => emit('update:activeDate', value));
14
+ const root = ref();
15
+ const days = new Map();
16
+ let alive = true;
17
+ function focusDay() {
18
+ void nextTick(() => {
19
+ if (alive)
20
+ days.get(props.activeDate)?.focus({ preventScroll: true });
21
+ });
22
+ }
23
+ onMounted(focusDay);
24
+ onBeforeUnmount(() => {
25
+ alive = false;
26
+ days.clear();
27
+ });
28
+ watch(() => props.activeDate, () => {
29
+ // Header navigation keeps focus on its button. Grid movement keeps focus in the grid.
30
+ if (root.value?.querySelector('table')?.contains(document.activeElement))
31
+ focusDay();
32
+ });
33
+ return () => {
34
+ const { colors, typography, radius } = theme.value;
35
+ const cells = calendar.cells.value;
36
+ const weeks = Array.from({ length: cells.length / 7 }, (_, index) => cells.slice(index * 7, index * 7 + 7));
37
+ return h(MColumn, { gap: 'sm' }, {
38
+ default: () => [
39
+ h(MRow, { justify: 'between', gap: 'sm', wrap: true }, {
40
+ default: () => [
41
+ h(MButton, {
42
+ icon: 'chevron-left',
43
+ variant: 'ghost',
44
+ accessibilityLabel: calendar.words.value.previous,
45
+ disabled: !calendar.canPage(-1),
46
+ onClick: () => calendar.page(-1),
47
+ }),
48
+ h('h3', {
49
+ 'aria-live': 'polite',
50
+ style: {
51
+ margin: 0,
52
+ color: colors.text,
53
+ fontSize: `${typography.body.fontSize}px`,
54
+ lineHeight: 1.5,
55
+ },
56
+ }, calendar.title.value),
57
+ h(MButton, {
58
+ icon: 'chevron-right',
59
+ variant: 'ghost',
60
+ accessibilityLabel: calendar.words.value.next,
61
+ disabled: !calendar.canPage(1),
62
+ onClick: () => calendar.page(1),
63
+ }),
64
+ ],
65
+ }),
66
+ h('div', {
67
+ ref: root,
68
+ class: 'm-date-calendar',
69
+ style: { overflowX: 'auto', maxWidth: '100%' },
70
+ }, [
71
+ h('table', {
72
+ role: 'grid',
73
+ 'aria-label': calendar.title.value,
74
+ style: {
75
+ borderCollapse: 'separate',
76
+ borderSpacing: 0,
77
+ tableLayout: 'fixed',
78
+ width: '100%',
79
+ minWidth: '21em',
80
+ fontFamily: fontFamily(typography.body.fontFamily, 'web'),
81
+ fontSize: `${typography.body.fontSize}px`,
82
+ },
83
+ onKeydown: (event) => {
84
+ if (event.altKey || event.ctrlKey || event.metaKey || event.isComposing)
85
+ return;
86
+ if (calendar.key(event.key, event.shiftKey, getComputedStyle(root.value).direction === 'rtl')) {
87
+ event.preventDefault();
88
+ focusDay();
89
+ }
90
+ },
91
+ }, [
92
+ h('thead', [
93
+ h('tr', calendar.weekdays.value.map((weekday) => h('th', {
94
+ scope: 'col',
95
+ abbr: calendar.words.value.weekdays[weekday],
96
+ style: { padding: '8px 0', color: colors.muted, fontWeight: 500 },
97
+ }, calendar.words.value.shortWeekdays[weekday]))),
98
+ ]),
99
+ h('tbody', weeks.map((week, index) => h('tr', { key: index }, week.map((date, column) => {
100
+ if (!date)
101
+ return h('td', { key: column });
102
+ const selected = date === props.selected;
103
+ const available = calendar.available(date);
104
+ const active = date === props.activeDate;
105
+ return h('td', { key: date, 'aria-selected': selected, style: { padding: '2px' } }, [
106
+ h('button', {
107
+ ref: (element) => {
108
+ if (element)
109
+ days.set(date, element);
110
+ else
111
+ days.delete(date);
112
+ },
113
+ type: 'button',
114
+ tabindex: active ? 0 : -1,
115
+ class: 'm-date-day',
116
+ 'aria-label': calendarDayLabel(date, props.locale),
117
+ 'aria-disabled': !available || undefined,
118
+ 'data-date': date,
119
+ 'data-selected': selected,
120
+ style: {
121
+ display: 'block',
122
+ boxSizing: 'border-box',
123
+ width: '100%',
124
+ minHeight: '44px',
125
+ padding: '8px 2px',
126
+ border: `2px solid ${selected ? colors.primary : 'transparent'}`,
127
+ borderRadius: `${radius.sm}px`,
128
+ backgroundColor: selected || calendar.inRange(date)
129
+ ? colors.primarySoft
130
+ : 'transparent',
131
+ color: available ? colors.text : colors.muted,
132
+ opacity: available ? 1 : 0.55,
133
+ font: 'inherit',
134
+ fontWeight: selected ? 700 : 400,
135
+ cursor: available ? 'pointer' : 'default',
136
+ outlineColor: colors.primary,
137
+ outlineOffset: '-2px',
138
+ },
139
+ onFocus: () => {
140
+ if (props.activeDate !== date)
141
+ emit('update:activeDate', date);
142
+ },
143
+ onClick: () => {
144
+ if (calendar.available(date))
145
+ emit('select', date);
146
+ },
147
+ }, String(Number(date.slice(8)))),
148
+ ]);
149
+ })))),
150
+ ]),
151
+ ]),
152
+ ],
153
+ });
154
+ };
155
+ },
156
+ });
157
+ //# sourceMappingURL=DateCalendar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateCalendar.js","sourceRoot":"","sources":["../../src/components/DateCalendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAC1F,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAkB,MAAM,2BAA2B,CAAA;AACxF,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,aAAa,GACd,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE3C,kGAAkG;AAClG,MAAM,CAAC,MAAM,YAAY,GAAG,eAAe,CAAC;IAC1C,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,iBAAiB;IACxB,KAAK,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE;QACnB,MAAM,EAAE,KAAK,EAAE,GAAG,aAAa,EAAE,CAAA;QACjC,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC,CAAA;QACpF,MAAM,IAAI,GAAG,GAAG,EAAe,CAAA;QAC/B,MAAM,IA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BACF,CACF;qBACF,CACF;iBACF;aACF,CACF,CAAA;QACH,CAAC,CAAA;IACH,CAAC;CACF,CAAC,CAAA"}
@@ -3,6 +3,7 @@ import { type AccordionItem, type AccordionPanelProps } from '@getcortexlabs/mav
3
3
  export declare const MAccordion: 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
  items: {
@@ -28,19 +29,23 @@ export declare const MAccordion: import("vue").DefineComponent<import("vue").Ext
28
29
  default: string;
29
30
  };
30
31
  grow: {
31
- type: NumberConstructor;
32
+ type: import("vue").PropType<number>;
33
+ } & {
32
34
  default: number;
33
35
  };
34
36
  shrink: {
35
- type: NumberConstructor;
37
+ type: import("vue").PropType<number>;
38
+ } & {
36
39
  default: undefined;
37
40
  };
38
41
  id: {
39
- type: StringConstructor;
42
+ type: import("vue").PropType<string>;
43
+ } & {
40
44
  default: undefined;
41
45
  };
42
46
  accessibilityHidden: {
43
- type: BooleanConstructor;
47
+ type: import("vue").PropType<boolean>;
48
+ } & {
44
49
  default: undefined;
45
50
  };
46
51
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -50,6 +55,7 @@ export declare const MAccordion: import("vue").DefineComponent<import("vue").Ext
50
55
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
51
56
  width: {
52
57
  type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
58
+ } & {
53
59
  default: undefined;
54
60
  };
55
61
  items: {
@@ -75,30 +81,34 @@ export declare const MAccordion: import("vue").DefineComponent<import("vue").Ext
75
81
  default: string;
76
82
  };
77
83
  grow: {
78
- type: NumberConstructor;
84
+ type: import("vue").PropType<number>;
85
+ } & {
79
86
  default: number;
80
87
  };
81
88
  shrink: {
82
- type: NumberConstructor;
89
+ type: import("vue").PropType<number>;
90
+ } & {
83
91
  default: undefined;
84
92
  };
85
93
  id: {
86
- type: StringConstructor;
94
+ type: import("vue").PropType<string>;
95
+ } & {
87
96
  default: undefined;
88
97
  };
89
98
  accessibilityHidden: {
90
- type: BooleanConstructor;
99
+ type: import("vue").PropType<boolean>;
100
+ } & {
91
101
  default: undefined;
92
102
  };
93
103
  }>> & Readonly<{
94
104
  "onUpdate:modelValue"?: ((value: import("@getcortexlabs/mavis-core").ChoiceValue[]) => any) | undefined;
95
105
  }>, {
106
+ disabled: boolean;
96
107
  width: import("@getcortexlabs/mavis-core").Dimension;
97
108
  grow: number;
98
109
  shrink: number;
99
110
  id: string;
100
111
  accessibilityHidden: boolean;
101
- disabled: boolean;
102
112
  modelValue: readonly import("@getcortexlabs/mavis-core").ChoiceValue[];
103
113
  multiple: boolean;
104
114
  expandedLabel: string;
@@ -1 +1 @@
1
- {"version":3,"file":"MAccordion.d.ts","sourceRoot":"","sources":["../../src/components/MAccordion.ts"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,KAAK,CAAA;AAOZ,OAAO,EAKL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACzB,MAAM,2BAA2B,CAAA;AAMlC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAKiB,mBAAmB;yEAmMzD,CAAA"}
1
+ {"version":3,"file":"MAccordion.d.ts","sourceRoot":"","sources":["../../src/components/MAccordion.ts"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,KAAK,CAAA;AAOZ,OAAO,EAKL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACzB,MAAM,2BAA2B,CAAA;AAMlC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAKiB,mBAAmB;yEAmMzD,CAAA"}
@@ -1,6 +1,7 @@
1
1
  export declare const MAlert: 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
  title: {
@@ -23,19 +24,23 @@ export declare const MAlert: import("vue").DefineComponent<import("vue").Extract
23
24
  };
24
25
  announce: BooleanConstructor;
25
26
  grow: {
26
- type: NumberConstructor;
27
+ type: import("vue").PropType<number>;
28
+ } & {
27
29
  default: number;
28
30
  };
29
31
  shrink: {
30
- type: NumberConstructor;
32
+ type: import("vue").PropType<number>;
33
+ } & {
31
34
  default: undefined;
32
35
  };
33
36
  id: {
34
- type: StringConstructor;
37
+ type: import("vue").PropType<string>;
38
+ } & {
35
39
  default: undefined;
36
40
  };
37
41
  accessibilityHidden: {
38
- type: BooleanConstructor;
42
+ type: import("vue").PropType<boolean>;
43
+ } & {
39
44
  default: undefined;
40
45
  };
41
46
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -45,6 +50,7 @@ export declare const MAlert: import("vue").DefineComponent<import("vue").Extract
45
50
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
51
  width: {
47
52
  type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
53
+ } & {
48
54
  default: undefined;
49
55
  };
50
56
  title: {
@@ -67,19 +73,23 @@ export declare const MAlert: import("vue").DefineComponent<import("vue").Extract
67
73
  };
68
74
  announce: BooleanConstructor;
69
75
  grow: {
70
- type: NumberConstructor;
76
+ type: import("vue").PropType<number>;
77
+ } & {
71
78
  default: number;
72
79
  };
73
80
  shrink: {
74
- type: NumberConstructor;
81
+ type: import("vue").PropType<number>;
82
+ } & {
75
83
  default: undefined;
76
84
  };
77
85
  id: {
78
- type: StringConstructor;
86
+ type: import("vue").PropType<string>;
87
+ } & {
79
88
  default: undefined;
80
89
  };
81
90
  accessibilityHidden: {
82
- type: BooleanConstructor;
91
+ type: import("vue").PropType<boolean>;
92
+ } & {
83
93
  default: undefined;
84
94
  };
85
95
  }>> & Readonly<{
@@ -91,9 +101,9 @@ export declare const MAlert: import("vue").DefineComponent<import("vue").Extract
91
101
  id: string;
92
102
  accessibilityHidden: boolean;
93
103
  tone: "error" | "warning" | "success" | "info";
94
- description: string;
95
- closeLabel: string;
96
104
  dismissible: boolean;
105
+ closeLabel: string;
106
+ description: string;
97
107
  announce: boolean;
98
108
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
99
109
  //# sourceMappingURL=MAlert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MAlert.d.ts","sourceRoot":"","sources":["../../src/components/MAlert.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAoGjB,CAAA"}
1
+ {"version":3,"file":"MAlert.d.ts","sourceRoot":"","sources":["../../src/components/MAlert.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAoGjB,CAAA"}
@@ -18,15 +18,18 @@ export declare const MAvatar: import("vue").DefineComponent<import("vue").Extrac
18
18
  validator: (value: "circle" | "square") => boolean;
19
19
  };
20
20
  id: {
21
- type: StringConstructor;
21
+ type: import("vue").PropType<string>;
22
+ } & {
22
23
  default: undefined;
23
24
  };
24
25
  accessibilityLabel: {
25
- type: StringConstructor;
26
+ type: import("vue").PropType<string>;
27
+ } & {
26
28
  default: undefined;
27
29
  };
28
30
  accessibilityHidden: {
29
- type: BooleanConstructor;
31
+ type: import("vue").PropType<boolean>;
32
+ } & {
30
33
  default: undefined;
31
34
  };
32
35
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -51,22 +54,25 @@ export declare const MAvatar: import("vue").DefineComponent<import("vue").Extrac
51
54
  validator: (value: "circle" | "square") => boolean;
52
55
  };
53
56
  id: {
54
- type: StringConstructor;
57
+ type: import("vue").PropType<string>;
58
+ } & {
55
59
  default: undefined;
56
60
  };
57
61
  accessibilityLabel: {
58
- type: StringConstructor;
62
+ type: import("vue").PropType<string>;
63
+ } & {
59
64
  default: undefined;
60
65
  };
61
66
  accessibilityHidden: {
62
- type: BooleanConstructor;
67
+ type: import("vue").PropType<boolean>;
68
+ } & {
63
69
  default: undefined;
64
70
  };
65
71
  }>> & Readonly<{}>, {
72
+ name: string;
66
73
  id: string;
67
74
  accessibilityLabel: string;
68
75
  accessibilityHidden: boolean;
69
- name: string;
70
76
  size: "sm" | "md" | "lg" | "xl";
71
77
  src: string;
72
78
  shape: "circle" | "square";
@@ -1 +1 @@
1
- {"version":3,"file":"MAvatar.d.ts","sourceRoot":"","sources":["../../src/components/MAvatar.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAyFlB,CAAA"}
1
+ {"version":3,"file":"MAvatar.d.ts","sourceRoot":"","sources":["../../src/components/MAvatar.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAyFlB,CAAA"}
@@ -14,15 +14,18 @@ export declare const MBadge: import("vue").DefineComponent<import("vue").Extract
14
14
  validator: (value: "success" | "warning" | "accent" | "danger" | "primary" | "neutral") => boolean;
15
15
  };
16
16
  id: {
17
- type: StringConstructor;
17
+ type: import("vue").PropType<string>;
18
+ } & {
18
19
  default: undefined;
19
20
  };
20
21
  accessibilityLabel: {
21
- type: StringConstructor;
22
+ type: import("vue").PropType<string>;
23
+ } & {
22
24
  default: undefined;
23
25
  };
24
26
  accessibilityHidden: {
25
- type: BooleanConstructor;
27
+ type: import("vue").PropType<boolean>;
28
+ } & {
26
29
  default: undefined;
27
30
  };
28
31
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -43,15 +46,18 @@ export declare const MBadge: import("vue").DefineComponent<import("vue").Extract
43
46
  validator: (value: "success" | "warning" | "accent" | "danger" | "primary" | "neutral") => boolean;
44
47
  };
45
48
  id: {
46
- type: StringConstructor;
49
+ type: import("vue").PropType<string>;
50
+ } & {
47
51
  default: undefined;
48
52
  };
49
53
  accessibilityLabel: {
50
- type: StringConstructor;
54
+ type: import("vue").PropType<string>;
55
+ } & {
51
56
  default: undefined;
52
57
  };
53
58
  accessibilityHidden: {
54
- type: BooleanConstructor;
59
+ type: import("vue").PropType<boolean>;
60
+ } & {
55
61
  default: undefined;
56
62
  };
57
63
  }>> & Readonly<{}>, {
@@ -1 +1 @@
1
- {"version":3,"file":"MBadge.d.ts","sourceRoot":"","sources":["../../src/components/MBadge.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAiCjB,CAAA"}
1
+ {"version":3,"file":"MBadge.d.ts","sourceRoot":"","sources":["../../src/components/MBadge.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAiCjB,CAAA"}