@yewdiel21/motion-kit 0.10.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +155 -93
- package/dist/auto/index.d.ts +53 -3
- package/dist/auto/index.js +101 -3
- package/dist/auto/index.js.map +1 -1
- package/dist/{chunk-IKQ5FODN.js → chunk-6P4P7NU6.js} +2 -218
- package/dist/chunk-6P4P7NU6.js.map +1 -0
- package/dist/chunk-CU6SXW3E.js +20334 -0
- package/dist/chunk-CU6SXW3E.js.map +1 -0
- package/dist/{chunk-XAKC2QY7.js → chunk-EY4BJKC4.js} +3 -28
- package/dist/chunk-EY4BJKC4.js.map +1 -0
- package/dist/chunk-QP4QJOEN.js +72 -0
- package/dist/chunk-QP4QJOEN.js.map +1 -0
- package/dist/css/components/activity-feed.css +240 -0
- package/dist/css/components/attachment.css +266 -0
- package/dist/css/components/breadcrumb.css +110 -0
- package/dist/css/components/chart-tooltip.css +168 -0
- package/dist/css/components/chart.css +296 -0
- package/dist/css/components/code-block.css +264 -0
- package/dist/css/components/color-area.css +82 -0
- package/dist/css/components/color-field.css +67 -0
- package/dist/css/components/color-picker.css +131 -0
- package/dist/css/components/color-slider.css +113 -0
- package/dist/css/components/command-search.css +252 -0
- package/dist/css/components/context-menu.css +23 -0
- package/dist/css/components/credit-card.css +288 -0
- package/dist/css/components/data-table.css +591 -0
- package/dist/css/components/date-range-picker.css +168 -0
- package/dist/css/components/date-time-picker.css +178 -0
- package/dist/css/components/drawer.css +58 -0
- package/dist/css/components/editable-table.css +201 -0
- package/dist/css/components/empty-state.css +61 -0
- package/dist/css/components/file-explorer.css +633 -0
- package/dist/css/components/filter-builder.css +232 -0
- package/dist/css/components/hold-confirm.css +87 -0
- package/dist/css/components/hover-card.css +13 -7
- package/dist/css/components/image-preview.css +195 -0
- package/dist/css/components/json-viewer.css +272 -0
- package/dist/css/components/like-button.css +78 -0
- package/dist/css/components/link-preview.css +275 -0
- package/dist/css/components/loading-button.css +77 -0
- package/dist/css/components/multi-select.css +267 -0
- package/dist/css/components/notification-bell.css +127 -0
- package/dist/css/components/password-strength.css +183 -0
- package/dist/css/components/popover.css +25 -0
- package/dist/css/components/progress.css +140 -0
- package/dist/css/components/questionnaire.css +217 -0
- package/dist/css/components/range-calendar.css +186 -0
- package/dist/css/components/range-slider.css +192 -0
- package/dist/css/components/resizable-panel.css +243 -0
- package/dist/css/components/rich-text-editor.css +284 -0
- package/dist/css/components/scratch-card.css +75 -0
- package/dist/css/components/skeleton.css +108 -0
- package/dist/css/components/split-view.css +19 -0
- package/dist/css/components/star-rating.css +80 -0
- package/dist/css/components/stat-card.css +164 -0
- package/dist/css/components/swipe-actions.css +105 -0
- package/dist/css/components/tag-input.css +244 -0
- package/dist/css/components/time-field.css +88 -0
- package/dist/css/components/timeline.css +219 -0
- package/dist/css/components/tooltip.css +79 -0
- package/dist/css/components/tree-view.css +210 -0
- package/dist/css/components/virtual-list.css +195 -0
- package/dist/css/tokens.css +185 -181
- package/dist/elements/index.d.ts +674 -5
- package/dist/elements/index.js +1361 -8
- package/dist/elements/index.js.map +1 -1
- package/dist/{engine-GDGwQnJE.d.ts → engine-Cn6IhE3z.d.ts} +1 -1
- package/dist/engine-QECQnGz1.d.ts +33 -0
- package/dist/index.css +9104 -189
- package/dist/index.d.ts +89 -5
- package/dist/index.js +243 -9
- package/dist/index.js.map +1 -1
- package/dist/react/index.d.ts +579 -23
- package/dist/react/index.js +2042 -7
- package/dist/react/index.js.map +1 -1
- package/dist/{reduced-BmBzKH94.d.ts → reduced-BBUusld6.d.ts} +9 -2
- package/dist/reveal-DEvp6U6T.d.ts +2381 -0
- package/dist/{store-DYb3tTsZ.d.ts → store-DjkTBX7f.d.ts} +2 -2
- package/package.json +1 -1
- package/registry.json +406 -1
- package/src/auto/auto-init.ts +98 -0
- package/src/components/activity-feed/README.md +56 -0
- package/src/components/activity-feed/activity-feed.css +239 -0
- package/src/components/activity-feed/element.ts +36 -0
- package/src/components/activity-feed/engine.ts +351 -0
- package/src/components/activity-feed/react.tsx +32 -0
- package/src/components/attachment/README.md +27 -0
- package/src/components/attachment/attachment.css +265 -0
- package/src/components/attachment/element.ts +50 -0
- package/src/components/attachment/engine.ts +469 -0
- package/src/components/attachment/react.tsx +65 -0
- package/src/components/breadcrumb/README.md +38 -0
- package/src/components/breadcrumb/breadcrumb.css +109 -0
- package/src/components/breadcrumb/element.ts +27 -0
- package/src/components/breadcrumb/engine.ts +249 -0
- package/src/components/breadcrumb/react.tsx +30 -0
- package/src/components/chart/README.md +24 -0
- package/src/components/chart/chart.css +295 -0
- package/src/components/chart/element.ts +41 -0
- package/src/components/chart/engine.ts +811 -0
- package/src/components/chart/react.tsx +50 -0
- package/src/components/chart-tooltip/README.md +53 -0
- package/src/components/chart-tooltip/chart-tooltip.css +167 -0
- package/src/components/chart-tooltip/element.ts +37 -0
- package/src/components/chart-tooltip/engine.ts +442 -0
- package/src/components/chart-tooltip/react.tsx +47 -0
- package/src/components/code-block/README.md +19 -0
- package/src/components/code-block/code-block.css +263 -0
- package/src/components/code-block/element.ts +34 -0
- package/src/components/code-block/engine.ts +254 -0
- package/src/components/code-block/highlight.ts +244 -0
- package/src/components/code-block/react.tsx +94 -0
- package/src/components/color-area/README.md +50 -0
- package/src/components/color-area/color-area.css +81 -0
- package/src/components/color-area/element.ts +26 -0
- package/src/components/color-area/engine.ts +246 -0
- package/src/components/color-area/react.tsx +42 -0
- package/src/components/color-field/README.md +43 -0
- package/src/components/color-field/color-field.css +66 -0
- package/src/components/color-field/element.ts +26 -0
- package/src/components/color-field/engine.ts +174 -0
- package/src/components/color-field/react.tsx +42 -0
- package/src/components/color-picker/README.md +45 -0
- package/src/components/color-picker/color-picker.css +130 -0
- package/src/components/color-picker/element.ts +45 -0
- package/src/components/color-picker/engine.ts +314 -0
- package/src/components/color-picker/react.tsx +47 -0
- package/src/components/color-slider/README.md +55 -0
- package/src/components/color-slider/color-slider.css +112 -0
- package/src/components/color-slider/element.ts +26 -0
- package/src/components/color-slider/engine.ts +234 -0
- package/src/components/color-slider/react.tsx +45 -0
- package/src/components/command-search/README.md +15 -0
- package/src/components/command-search/command-search.css +251 -0
- package/src/components/command-search/element.ts +36 -0
- package/src/components/command-search/engine.ts +356 -0
- package/src/components/command-search/match.ts +53 -0
- package/src/components/command-search/react.tsx +66 -0
- package/src/components/context-menu/README.md +31 -0
- package/src/components/context-menu/context-menu.css +22 -0
- package/src/components/context-menu/element.ts +40 -0
- package/src/components/context-menu/engine.ts +153 -0
- package/src/components/context-menu/react.tsx +57 -0
- package/src/components/credit-card/README.md +20 -0
- package/src/components/credit-card/card.ts +77 -0
- package/src/components/credit-card/credit-card.css +287 -0
- package/src/components/credit-card/element.ts +33 -0
- package/src/components/credit-card/engine.ts +410 -0
- package/src/components/credit-card/react.tsx +36 -0
- package/src/components/data-table/README.md +83 -0
- package/src/components/data-table/data-table.css +590 -0
- package/src/components/data-table/element.ts +54 -0
- package/src/components/data-table/engine.ts +1059 -0
- package/src/components/data-table/react.tsx +94 -0
- package/src/components/date-range-picker/README.md +51 -0
- package/src/components/date-range-picker/date-range-picker.css +167 -0
- package/src/components/date-range-picker/element.ts +52 -0
- package/src/components/date-range-picker/engine.ts +352 -0
- package/src/components/date-range-picker/react.tsx +57 -0
- package/src/components/date-time-picker/README.md +48 -0
- package/src/components/date-time-picker/date-time-picker.css +177 -0
- package/src/components/date-time-picker/element.ts +47 -0
- package/src/components/date-time-picker/engine.ts +350 -0
- package/src/components/date-time-picker/react.tsx +54 -0
- package/src/components/dialog/README.md +103 -102
- package/src/components/dialog/element.ts +123 -118
- package/src/components/dialog/engine.ts +449 -432
- package/src/components/drawer/README.md +28 -0
- package/src/components/drawer/drawer.css +57 -0
- package/src/components/drawer/element.ts +21 -0
- package/src/components/drawer/engine.ts +56 -0
- package/src/components/drawer/react.tsx +85 -0
- package/src/components/editable-table/README.md +67 -0
- package/src/components/editable-table/editable-table.css +200 -0
- package/src/components/editable-table/element.ts +45 -0
- package/src/components/editable-table/engine.ts +775 -0
- package/src/components/editable-table/react.tsx +79 -0
- package/src/components/empty-state/README.md +41 -0
- package/src/components/empty-state/element.ts +23 -0
- package/src/components/empty-state/empty-state.css +60 -0
- package/src/components/empty-state/engine.ts +232 -0
- package/src/components/empty-state/react.tsx +34 -0
- package/src/components/file-explorer/README.md +67 -0
- package/src/components/file-explorer/element.ts +39 -0
- package/src/components/file-explorer/engine.ts +1307 -0
- package/src/components/file-explorer/file-explorer.css +632 -0
- package/src/components/file-explorer/react.tsx +77 -0
- package/src/components/filter-builder/README.md +47 -0
- package/src/components/filter-builder/element.ts +34 -0
- package/src/components/filter-builder/engine.ts +365 -0
- package/src/components/filter-builder/filter-builder.css +231 -0
- package/src/components/filter-builder/react.tsx +36 -0
- package/src/components/hold-confirm/README.md +13 -0
- package/src/components/hold-confirm/element.ts +24 -0
- package/src/components/hold-confirm/engine.ts +216 -0
- package/src/components/hold-confirm/hold-confirm.css +86 -0
- package/src/components/hold-confirm/react.tsx +28 -0
- package/src/components/hover-card/README.md +6 -2
- package/src/components/hover-card/engine.ts +68 -6
- package/src/components/hover-card/hover-card.css +13 -7
- package/src/components/image-preview/README.md +16 -0
- package/src/components/image-preview/element.ts +26 -0
- package/src/components/image-preview/engine.ts +325 -0
- package/src/components/image-preview/image-preview.css +194 -0
- package/src/components/image-preview/react.tsx +43 -0
- package/src/components/json-viewer/README.md +56 -0
- package/src/components/json-viewer/element.ts +37 -0
- package/src/components/json-viewer/engine.ts +440 -0
- package/src/components/json-viewer/json-viewer.css +271 -0
- package/src/components/json-viewer/react.tsx +56 -0
- package/src/components/like-button/README.md +13 -0
- package/src/components/like-button/element.ts +47 -0
- package/src/components/like-button/engine.ts +145 -0
- package/src/components/like-button/like-button.css +77 -0
- package/src/components/like-button/react.tsx +39 -0
- package/src/components/link-preview/README.md +19 -0
- package/src/components/link-preview/element.ts +29 -0
- package/src/components/link-preview/engine.ts +192 -0
- package/src/components/link-preview/link-preview.css +274 -0
- package/src/components/link-preview/react.tsx +101 -0
- package/src/components/loading-button/README.md +45 -0
- package/src/components/loading-button/element.ts +34 -0
- package/src/components/loading-button/engine.ts +201 -0
- package/src/components/loading-button/loading-button.css +76 -0
- package/src/components/loading-button/react.tsx +43 -0
- package/src/components/multi-select/README.md +48 -0
- package/src/components/multi-select/element.ts +28 -0
- package/src/components/multi-select/engine.ts +294 -0
- package/src/components/multi-select/multi-select.css +266 -0
- package/src/components/multi-select/react.tsx +39 -0
- package/src/components/notification-bell/README.md +14 -0
- package/src/components/notification-bell/element.ts +48 -0
- package/src/components/notification-bell/engine.ts +202 -0
- package/src/components/notification-bell/notification-bell.css +126 -0
- package/src/components/notification-bell/react.tsx +57 -0
- package/src/components/password-strength/README.md +17 -0
- package/src/components/password-strength/element.ts +22 -0
- package/src/components/password-strength/engine.ts +212 -0
- package/src/components/password-strength/password-strength.css +182 -0
- package/src/components/password-strength/react.tsx +36 -0
- package/src/components/password-strength/score.ts +62 -0
- package/src/components/popover/README.md +44 -0
- package/src/components/popover/element.ts +31 -0
- package/src/components/popover/engine.ts +114 -0
- package/src/components/popover/popover.css +24 -0
- package/src/components/popover/react.tsx +50 -0
- package/src/components/progress/README.md +17 -0
- package/src/components/progress/element.ts +30 -0
- package/src/components/progress/engine.ts +173 -0
- package/src/components/progress/progress.css +139 -0
- package/src/components/progress/react.tsx +35 -0
- package/src/components/questionnaire/README.md +32 -0
- package/src/components/questionnaire/element.ts +118 -0
- package/src/components/questionnaire/engine.ts +255 -0
- package/src/components/questionnaire/questionnaire.css +216 -0
- package/src/components/questionnaire/react.tsx +140 -0
- package/src/components/range-calendar/README.md +58 -0
- package/src/components/range-calendar/element.ts +42 -0
- package/src/components/range-calendar/engine.ts +390 -0
- package/src/components/range-calendar/range-calendar.css +185 -0
- package/src/components/range-calendar/react.tsx +56 -0
- package/src/components/range-slider/README.md +23 -0
- package/src/components/range-slider/element.ts +53 -0
- package/src/components/range-slider/engine.ts +316 -0
- package/src/components/range-slider/range-slider.css +191 -0
- package/src/components/range-slider/react.tsx +66 -0
- package/src/components/resizable-panel/README.md +61 -0
- package/src/components/resizable-panel/element.ts +36 -0
- package/src/components/resizable-panel/engine.ts +551 -0
- package/src/components/resizable-panel/react.tsx +74 -0
- package/src/components/resizable-panel/resizable-panel.css +242 -0
- package/src/components/rich-text-editor/README.md +57 -0
- package/src/components/rich-text-editor/element.ts +34 -0
- package/src/components/rich-text-editor/engine.ts +673 -0
- package/src/components/rich-text-editor/react.tsx +60 -0
- package/src/components/rich-text-editor/rich-text-editor.css +283 -0
- package/src/components/scratch-card/README.md +15 -0
- package/src/components/scratch-card/element.ts +30 -0
- package/src/components/scratch-card/engine.ts +257 -0
- package/src/components/scratch-card/react.tsx +40 -0
- package/src/components/scratch-card/scratch-card.css +74 -0
- package/src/components/skeleton/README.md +15 -0
- package/src/components/skeleton/element.ts +32 -0
- package/src/components/skeleton/engine.ts +104 -0
- package/src/components/skeleton/react.tsx +41 -0
- package/src/components/skeleton/skeleton.css +107 -0
- package/src/components/split-view/README.md +50 -0
- package/src/components/split-view/element.ts +34 -0
- package/src/components/split-view/engine.ts +114 -0
- package/src/components/split-view/react.tsx +63 -0
- package/src/components/split-view/split-view.css +18 -0
- package/src/components/star-rating/README.md +14 -0
- package/src/components/star-rating/element.ts +26 -0
- package/src/components/star-rating/engine.ts +217 -0
- package/src/components/star-rating/react.tsx +33 -0
- package/src/components/star-rating/star-rating.css +79 -0
- package/src/components/stat-card/README.md +42 -0
- package/src/components/stat-card/element.ts +40 -0
- package/src/components/stat-card/engine.ts +283 -0
- package/src/components/stat-card/react.tsx +36 -0
- package/src/components/stat-card/stat-card.css +163 -0
- package/src/components/swipe-actions/README.md +19 -0
- package/src/components/swipe-actions/element.ts +26 -0
- package/src/components/swipe-actions/engine.ts +260 -0
- package/src/components/swipe-actions/react.tsx +80 -0
- package/src/components/swipe-actions/swipe-actions.css +104 -0
- package/src/components/tag-input/README.md +42 -0
- package/src/components/tag-input/element.ts +39 -0
- package/src/components/tag-input/engine.ts +313 -0
- package/src/components/tag-input/react.tsx +54 -0
- package/src/components/tag-input/tag-input.css +243 -0
- package/src/components/time-field/README.md +54 -0
- package/src/components/time-field/element.ts +38 -0
- package/src/components/time-field/engine.ts +110 -0
- package/src/components/time-field/react.tsx +45 -0
- package/src/components/time-field/time-field.css +87 -0
- package/src/components/timeline/README.md +57 -0
- package/src/components/timeline/element.ts +31 -0
- package/src/components/timeline/engine.ts +300 -0
- package/src/components/timeline/react.tsx +59 -0
- package/src/components/timeline/timeline.css +218 -0
- package/src/components/tooltip/README.md +46 -0
- package/src/components/tooltip/element.ts +22 -0
- package/src/components/tooltip/engine.ts +288 -0
- package/src/components/tooltip/react.tsx +30 -0
- package/src/components/tooltip/tooltip.css +78 -0
- package/src/components/tree-view/README.md +61 -0
- package/src/components/tree-view/element.ts +32 -0
- package/src/components/tree-view/engine.ts +569 -0
- package/src/components/tree-view/react.tsx +78 -0
- package/src/components/tree-view/tree-view.css +209 -0
- package/src/components/virtual-list/README.md +81 -0
- package/src/components/virtual-list/element.ts +42 -0
- package/src/components/virtual-list/engine.ts +678 -0
- package/src/components/virtual-list/react.tsx +101 -0
- package/src/components/virtual-list/virtual-list.css +194 -0
- package/src/core/chips.ts +196 -0
- package/src/core/color.ts +304 -0
- package/src/core/date-range.ts +67 -0
- package/src/core/dates.ts +11 -1
- package/src/core/files.ts +107 -0
- package/src/core/filter.ts +229 -0
- package/src/core/gsap.ts +80 -65
- package/src/core/listbox.ts +332 -0
- package/src/core/mark.ts +29 -0
- package/src/core/position.ts +89 -0
- package/src/core/relative-time.ts +77 -0
- package/src/core/segment-field.ts +373 -0
- package/src/core/segments.ts +153 -0
- package/src/core/tree.ts +116 -0
- package/src/core/virtual.ts +79 -0
- package/src/css/tokens.css +186 -182
- package/src/elements/index.ts +147 -0
- package/src/index.ts +72 -0
- package/src/motion/micro.ts +248 -0
- package/src/motion/sheet.ts +88 -65
- package/src/motion/surface.ts +9 -0
- package/src/react/index.ts +57 -0
- package/dist/chunk-IKQ5FODN.js.map +0 -1
- package/dist/chunk-J6OCFNGU.js +0 -177
- package/dist/chunk-J6OCFNGU.js.map +0 -1
- package/dist/chunk-TFNRIZHU.js +0 -3977
- package/dist/chunk-TFNRIZHU.js.map +0 -1
- package/dist/chunk-XAKC2QY7.js.map +0 -1
- package/dist/reveal-jsX-uwUz.d.ts +0 -625
package/dist/elements/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { I as Instance } from '../types-BkS_raL8.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import { C as ChatBackgroundInstance,
|
|
2
|
+
import { cS as StudioDockInstance, cV as StudioDockView, d6 as TrailerInstance, b6 as DialogInstance, b8 as DialogOptions, bS as MenuInstance, cc as QuantityInstance, b_ as PaginationInstance, bB as HoverCardInstance, bH as InputOtpInstance, ak as CalendarInstance, cF as SlotPickerInstance, a7 as AttachmentInstance, a6 as AttachmentFile, ac as AttachmentStatus, cC as SkeletonInstance, cf as QuestionnaireInstance, ce as QuestionnaireAnswers, az as CodeBlockInstance, aO as ContextMenuInstance, bM as LinkPreviewInstance, c9 as ProgressInstance, ck as RangeSliderInstance, cm as RangeValue, aq as ChartInstance, ar as ChartOptions, aR as CreditCardInstance, aQ as CreditCardField, aU as CreditCardValues, ap as CardBrand, aM as CommandSearchInstance, aL as CommandItem, bz as HoldConfirmInstance, bF as ImagePreviewInstance, bX as NotificationBellInstance, c3 as PasswordStrengthInstance, cy as ScratchCardInstance, cO as StarRatingInstance, aJ as ColorSliderInstance, aB as ColorAreaInstance, aE as ColorFieldInstance, aH as ColorPickerInstance, cZ as TimeFieldInstance, ci as RangeCalendarInstance, b1 as DateRange, b2 as DateRangePickerInstance, d4 as TooltipInstance, c7 as PopoverInstance, bP as LoadingButtonInstance, bR as LoadingState, ae as BreadcrumbInstance, bh as EmptyStateInstance, cQ as StatCardInstance, au as ChartTooltipInstance, bU as MultiSelectInstance, cX as TagInputInstance, b4 as DateTimePickerInstance, br as FilterBuilderInstance, bv as FilterGroup, d1 as TimelineInstance, d0 as TimelineEvent, a2 as ActivityFeedInstance, a4 as ActivityItem, d9 as TreeViewInstance, bm as FileExplorerInstance, bK as JsonViewerInstance, dc as VirtualListInstance, cn as ResizablePanelInstance, cM as SplitViewInstance, a_ as DataTableInstance, aY as DataRow, bc as EditableTableInstance, ct as RichTextEditorInstance } from '../reveal-DEvp6U6T.js';
|
|
3
|
+
import { l as ThemePickerInstance, r as ToasterInstance, C as ChatInstance, c as ChatRole, h as NavInstance, j as NavStyle, d as CursorInstance, I as IslandInstance } from '../store-DjkTBX7f.js';
|
|
4
|
+
export { L as toast } from '../store-DjkTBX7f.js';
|
|
5
|
+
import { C as ChatBackgroundInstance, b as StepsInstance } from '../engine-Cn6IhE3z.js';
|
|
6
|
+
import { L as LikeButtonInstance, S as SwipeActionsInstance } from '../engine-QECQnGz1.js';
|
|
6
7
|
import 'gsap/Flip';
|
|
7
8
|
|
|
8
9
|
type OptionType = 'string' | 'number' | 'boolean' | 'list' | 'json';
|
|
@@ -64,6 +65,8 @@ declare class MkDialogElement extends MkElement<Instance> {
|
|
|
64
65
|
static options: Record<string, OptionType>;
|
|
65
66
|
dialog: DialogInstance | null;
|
|
66
67
|
protected create(options: Record<string, unknown>): Instance;
|
|
68
|
+
/** The engine on the built <dialog> (Drawer swaps it). */
|
|
69
|
+
protected createEngine(dialog: HTMLDialogElement, options: DialogOptions, _attributes: Record<string, unknown>): DialogInstance;
|
|
67
70
|
open(origin?: HTMLElement | null): void;
|
|
68
71
|
close(): void;
|
|
69
72
|
get isOpen(): boolean;
|
|
@@ -223,6 +226,623 @@ declare class MkSlotPickerElement extends MkElement<SlotPickerInstance> {
|
|
|
223
226
|
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
224
227
|
}
|
|
225
228
|
|
|
229
|
+
/**
|
|
230
|
+
* <mk-attachment class="mk-attachment" accept="image/*,.pdf" multiple max-files="4" max-size="5000000"></mk-attachment>
|
|
231
|
+
* Emits mk:files ({added, files}), mk:remove ({file, files}) and mk:reject ({file, code, message}).
|
|
232
|
+
* Changing an attribute keeps the files already chosen.
|
|
233
|
+
*/
|
|
234
|
+
declare class MkAttachmentElement extends MkElement<AttachmentInstance> {
|
|
235
|
+
static options: Record<string, OptionType>;
|
|
236
|
+
protected create(options: Record<string, unknown>): AttachmentInstance;
|
|
237
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
238
|
+
addFiles(files: Iterable<File> | ArrayLike<File>): AttachmentFile[];
|
|
239
|
+
/** Remove one file (HTMLElement.remove() still removes the element). */
|
|
240
|
+
removeFile(id: string): void;
|
|
241
|
+
setProgress(id: string, value: number, status?: AttachmentStatus): void;
|
|
242
|
+
get files(): AttachmentFile[];
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* <mk-skeleton class="mk-skeleton" shape="card" label="Cargando perfil">
|
|
247
|
+
* <article data-mk-skeleton-content>…</article>
|
|
248
|
+
* </mk-skeleton>
|
|
249
|
+
* Loading until `loaded` is set (or `setLoading(false)`); a placeholder is made from `shape`.
|
|
250
|
+
*/
|
|
251
|
+
declare class MkSkeletonElement extends MkElement<SkeletonInstance> {
|
|
252
|
+
static options: Record<string, OptionType>;
|
|
253
|
+
protected create(options: Record<string, unknown>): SkeletonInstance;
|
|
254
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
255
|
+
setLoading(loading: boolean): void;
|
|
256
|
+
get loading(): boolean;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* <mk-questionnaire><form>…<section data-mk-question>…</section>…</form></mk-questionnaire>
|
|
261
|
+
* or, empty, <mk-questionnaire questions='[{"id":"name","label":"Nombre","type":"text","required":true}]'>.
|
|
262
|
+
* Emits mk:question ({index, previous, answers}), mk:invalid and mk:complete ({answers}).
|
|
263
|
+
*/
|
|
264
|
+
declare class MkQuestionnaireElement extends MkElement<Instance> {
|
|
265
|
+
static options: Record<string, OptionType>;
|
|
266
|
+
questionnaire: QuestionnaireInstance | null;
|
|
267
|
+
protected create(options: Record<string, unknown>): Instance;
|
|
268
|
+
next(): Promise<boolean>;
|
|
269
|
+
prev(): Promise<void>;
|
|
270
|
+
reset(): void;
|
|
271
|
+
get answers(): QuestionnaireAnswers;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* <mk-code-block class="mk-code-block" title="Instalar" language="bash" line-numbers>
|
|
276
|
+
* <pre><code>npm install @yewdiel21/motion-kit gsap</code></pre>
|
|
277
|
+
* </mk-code-block>
|
|
278
|
+
* Header, copy button and status are made when absent. Emits `mk:copy` ({ok, code}).
|
|
279
|
+
*/
|
|
280
|
+
declare class MkCodeBlockElement extends MkElement<CodeBlockInstance> {
|
|
281
|
+
static options: Record<string, OptionType>;
|
|
282
|
+
protected create(options: Record<string, unknown>): CodeBlockInstance;
|
|
283
|
+
setCode(code: string): void;
|
|
284
|
+
copy(): Promise<boolean>;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* <mk-context-menu class="mk-context-menu">
|
|
289
|
+
* <article>…the area…</article>
|
|
290
|
+
* <dialog class="mk-dialog mk-menu" data-mk-context-menu aria-label="Acciones">
|
|
291
|
+
* <button data-mk-item data-mk-value="rename">Renombrar</button>
|
|
292
|
+
* <hr data-mk-separator />
|
|
293
|
+
* <button data-mk-item data-mk-value="delete" disabled>Eliminar</button>
|
|
294
|
+
* </dialog>
|
|
295
|
+
* </mk-context-menu>
|
|
296
|
+
* Emits mk:select (detail.value, detail.item) from the dialog.
|
|
297
|
+
*/
|
|
298
|
+
declare class MkContextMenuElement extends MkElement<ContextMenuInstance> {
|
|
299
|
+
static options: Record<string, OptionType>;
|
|
300
|
+
protected create(options: Record<string, unknown>): ContextMenuInstance;
|
|
301
|
+
openAt(x: number, y: number): void;
|
|
302
|
+
open(origin?: HTMLElement | null): void;
|
|
303
|
+
close(): void;
|
|
304
|
+
get isOpen(): boolean;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* <mk-drawer id="filtros" side="left" heading="Filtros" [description] [no-backdrop] [persistent]>…</mk-drawer>
|
|
309
|
+
* Any [data-mk-open="filtros"] opens it. Children move into a native <dialog class="mk-dialog mk-drawer">
|
|
310
|
+
* (header, body and a [data-mk-part="footer"] child kept out of the scroll) and back on disconnect.
|
|
311
|
+
*/
|
|
312
|
+
declare class MkDrawerElement extends MkDialogElement {
|
|
313
|
+
static options: Record<string, OptionType>;
|
|
314
|
+
protected createEngine(dialog: HTMLDialogElement, options: DialogOptions, attributes: Record<string, unknown>): DialogInstance;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* <mk-link-preview class="mk-link-preview" url="https://…" title="…" description="…" image="/thumb.jpg" site-name="Blog"></mk-link-preview>
|
|
319
|
+
* variant="hover" turns it into a link that previews the card (label = link text).
|
|
320
|
+
*/
|
|
321
|
+
declare class MkLinkPreviewElement extends MkElement<LinkPreviewInstance> {
|
|
322
|
+
static options: Record<string, OptionType>;
|
|
323
|
+
protected create(options: Record<string, unknown>): LinkPreviewInstance;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* <mk-progress class="mk-progress" value="40" label="Subida" show-value></mk-progress>
|
|
328
|
+
* Without `value` (or value="indeterminate") it is indeterminate. A new value moves the fill.
|
|
329
|
+
*/
|
|
330
|
+
declare class MkProgressElement extends MkElement<ProgressInstance> {
|
|
331
|
+
static options: Record<string, OptionType>;
|
|
332
|
+
protected create(options: Record<string, unknown>): ProgressInstance;
|
|
333
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
334
|
+
setValue(value: number | null): void;
|
|
335
|
+
get value(): number | null;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* <mk-range-slider class="mk-range-slider" min="0" max="100" step="5" label="Precio" value="[20,80]">
|
|
340
|
+
* <div data-mk-range-track><input type="range" data-mk-range-input value="20"><input type="range" data-mk-range-input value="80"></div>
|
|
341
|
+
* <output data-mk-range-output></output>
|
|
342
|
+
* </mk-range-slider>
|
|
343
|
+
* Empty, it makes its input(s). Emits `mk:input` while dragging and `mk:change` ({value, previous}) on commit.
|
|
344
|
+
* `el.formatValue = (n) => `${n} €`` formats the output and aria-valuetext.
|
|
345
|
+
*/
|
|
346
|
+
declare class MkRangeSliderElement extends MkElement<RangeSliderInstance> {
|
|
347
|
+
static options: Record<string, OptionType>;
|
|
348
|
+
private format;
|
|
349
|
+
/** Formatter for the output and aria-valuetext (code, so a property rather than an attribute). */
|
|
350
|
+
get formatValue(): ((value: number) => string) | undefined;
|
|
351
|
+
set formatValue(format: ((value: number) => string) | undefined);
|
|
352
|
+
protected create(options: Record<string, unknown>): RangeSliderInstance;
|
|
353
|
+
/** Rebuild with the current attributes; keepValue keeps the edited value over the `value` attribute. */
|
|
354
|
+
private rebuild;
|
|
355
|
+
attributeChangedCallback(_name: string, previous: string | null, next: string | null): void;
|
|
356
|
+
setValue(value: RangeValue, notify?: boolean): void;
|
|
357
|
+
get value(): RangeValue | undefined;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* <mk-chart class="mk-chart" type="bar" stacked label="Sesiones por semana"
|
|
362
|
+
* labels="S1,S2,S3" series='[{"name":"Ana","values":[4,6,5]},{"name":"Luis","values":[2,3,4]}]'></mk-chart>
|
|
363
|
+
* Attribute changes redraw in place. Emits mk:select ({index, label, values, x, y, series}); tooltip="false" leaves the card to chart-tooltip.
|
|
364
|
+
*/
|
|
365
|
+
declare class MkChartElement extends MkElement<ChartInstance> {
|
|
366
|
+
static options: Record<string, OptionType>;
|
|
367
|
+
protected create(options: Record<string, unknown>): ChartInstance;
|
|
368
|
+
attributeChangedCallback(_name: string, previous: string | null, next: string | null): void;
|
|
369
|
+
update(options: ChartOptions): void;
|
|
370
|
+
select(index: number | null): void;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* <mk-credit-card class="mk-credit-card"></mk-credit-card>
|
|
375
|
+
* Makes the card and the four fields (or uses input[data-mk-card-field="number|name|expiry|cvc"] inside).
|
|
376
|
+
* Emits mk:change ({brand, complete, valid}) and mk:complete; the card data stays in the form.
|
|
377
|
+
*/
|
|
378
|
+
declare class MkCreditCardElement extends MkElement<CreditCardInstance> {
|
|
379
|
+
static options: Record<string, OptionType>;
|
|
380
|
+
protected create(options: Record<string, unknown>): CreditCardInstance;
|
|
381
|
+
focusField(field: CreditCardField): void;
|
|
382
|
+
flip(back?: boolean): void;
|
|
383
|
+
get values(): CreditCardValues | undefined;
|
|
384
|
+
get brand(): CardBrand;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* <mk-command-search class="mk-command-search" items='[{"id":"charts","label":"Charts","group":"Páginas","href":"/chart"}]'>
|
|
389
|
+
* <button data-mk-command-open>Buscar <kbd>⌘K</kbd></button>
|
|
390
|
+
* </mk-command-search>
|
|
391
|
+
* ⌘K / Ctrl+K or the button opens it. Emits mk:select ({item}, cancelable), mk:open and mk:close.
|
|
392
|
+
*/
|
|
393
|
+
declare class MkCommandSearchElement extends MkElement<CommandSearchInstance> {
|
|
394
|
+
static options: Record<string, OptionType>;
|
|
395
|
+
protected create(options: Record<string, unknown>): CommandSearchInstance;
|
|
396
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
397
|
+
open(): void;
|
|
398
|
+
close(): void;
|
|
399
|
+
setItems(items: CommandItem[]): void;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* <mk-hold-confirm class="mk-hold-confirm" duration="1200"><button>Eliminar cuenta</button></mk-hold-confirm>
|
|
404
|
+
* Hold the button (pointer, Space or Enter) to confirm. Emits mk:confirm.
|
|
405
|
+
*/
|
|
406
|
+
declare class MkHoldConfirmElement extends MkElement<HoldConfirmInstance> {
|
|
407
|
+
static options: Record<string, OptionType>;
|
|
408
|
+
protected create(options: Record<string, unknown>): HoldConfirmInstance;
|
|
409
|
+
reset(): void;
|
|
410
|
+
get confirmed(): boolean;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* <mk-image-preview class="mk-image-preview">
|
|
415
|
+
* <button data-mk-image data-mk-src="/big/1.jpg" data-mk-caption="Atardecer"><img src="/thumb/1.jpg" alt="Atardecer en la sierra"></button>
|
|
416
|
+
* </mk-image-preview>
|
|
417
|
+
* Emits mk:open, mk:change ({index, previous}) and mk:close.
|
|
418
|
+
*/
|
|
419
|
+
declare class MkImagePreviewElement extends MkElement<ImagePreviewInstance> {
|
|
420
|
+
static options: Record<string, OptionType>;
|
|
421
|
+
protected create(options: Record<string, unknown>): ImagePreviewInstance;
|
|
422
|
+
open(index?: number): void;
|
|
423
|
+
close(): void;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* <mk-like-button class="mk-like-button" count="128"><button></button></mk-like-button>
|
|
428
|
+
* Toggles with a burst; emits mk:change ({liked, count}).
|
|
429
|
+
*/
|
|
430
|
+
declare class MkLikeButtonElement extends MkElement<LikeButtonInstance> {
|
|
431
|
+
static options: Record<string, OptionType>;
|
|
432
|
+
protected create(options: Record<string, unknown>): LikeButtonInstance;
|
|
433
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
434
|
+
get liked(): boolean;
|
|
435
|
+
get count(): number;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* <mk-notification-bell class="mk-notification-bell" count="2"></mk-notification-bell>
|
|
440
|
+
* el.notify('Nueva cita a las 10:00') rings it. Emits mk:open on click and mk:count when the count changes.
|
|
441
|
+
*/
|
|
442
|
+
declare class MkNotificationBellElement extends MkElement<NotificationBellInstance> {
|
|
443
|
+
static options: Record<string, OptionType>;
|
|
444
|
+
protected create(options: Record<string, unknown>): NotificationBellInstance;
|
|
445
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
446
|
+
notify(message?: string): void;
|
|
447
|
+
clear(): void;
|
|
448
|
+
get count(): number;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* <mk-password-strength class="mk-password-strength" min-length="10">
|
|
453
|
+
* <input type="password" name="password" autocomplete="new-password" aria-label="Contraseña" />
|
|
454
|
+
* </mk-password-strength>
|
|
455
|
+
* Emits mk:strength ({score, label, met}).
|
|
456
|
+
*/
|
|
457
|
+
declare class MkPasswordStrengthElement extends MkElement<PasswordStrengthInstance> {
|
|
458
|
+
static options: Record<string, OptionType>;
|
|
459
|
+
protected create(options: Record<string, unknown>): PasswordStrengthInstance;
|
|
460
|
+
get score(): number;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* <mk-scratch-card class="mk-scratch-card" threshold="0.5">
|
|
465
|
+
* <div data-mk-scratch-content>…the coupon…</div>
|
|
466
|
+
* </mk-scratch-card>
|
|
467
|
+
* Emits mk:progress ({progress}) and mk:reveal.
|
|
468
|
+
*/
|
|
469
|
+
declare class MkScratchCardElement extends MkElement<ScratchCardInstance> {
|
|
470
|
+
static options: Record<string, OptionType>;
|
|
471
|
+
protected create(options: Record<string, unknown>): ScratchCardInstance;
|
|
472
|
+
reveal(): void;
|
|
473
|
+
reset(): void;
|
|
474
|
+
get revealed(): boolean;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* <mk-star-rating class="mk-star-rating" name="valoracion" value="4" allow-clear></mk-star-rating>
|
|
479
|
+
* readonly with value="4.5" draws a fixed rating. Emits mk:change ({value}).
|
|
480
|
+
*/
|
|
481
|
+
declare class MkStarRatingElement extends MkElement<StarRatingInstance> {
|
|
482
|
+
static options: Record<string, OptionType>;
|
|
483
|
+
protected create(options: Record<string, unknown>): StarRatingInstance;
|
|
484
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
485
|
+
get value(): number;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* <mk-swipe-actions class="mk-swipe-actions">
|
|
490
|
+
* <div data-mk-swipe-row>
|
|
491
|
+
* <div data-mk-swipe-actions="left"><button data-mk-swipe-action="archive" aria-label="Archivar">…</button></div>
|
|
492
|
+
* <div data-mk-swipe-content>…the row…</div>
|
|
493
|
+
* <div data-mk-swipe-actions="right"><button data-mk-swipe-action="delete" data-mk-swipe-remove aria-label="Eliminar">…</button></div>
|
|
494
|
+
* </div>
|
|
495
|
+
* </mk-swipe-actions>
|
|
496
|
+
* Emits mk:action ({action, row}) and mk:open ({row, side}).
|
|
497
|
+
*/
|
|
498
|
+
declare class MkSwipeActionsElement extends MkElement<SwipeActionsInstance> {
|
|
499
|
+
static options: Record<string, OptionType>;
|
|
500
|
+
protected create(options: Record<string, unknown>): SwipeActionsInstance;
|
|
501
|
+
close(): void;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* <mk-color-slider class="mk-color-slider" channel="hue" value="#ff8800" show-value></mk-color-slider>
|
|
506
|
+
* Emits mk:input / mk:change ({value, color}). Changing `value` glides the thumb.
|
|
507
|
+
*/
|
|
508
|
+
declare class MkColorSliderElement extends MkElement<ColorSliderInstance> {
|
|
509
|
+
static options: Record<string, OptionType>;
|
|
510
|
+
protected create(options: Record<string, unknown>): ColorSliderInstance;
|
|
511
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
512
|
+
get value(): string;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* <mk-color-area class="mk-color-area" value="#ff8800"></mk-color-area>
|
|
517
|
+
* Emits mk:input / mk:change ({value, color}). Changing `value` glides the thumb.
|
|
518
|
+
*/
|
|
519
|
+
declare class MkColorAreaElement extends MkElement<ColorAreaInstance> {
|
|
520
|
+
static options: Record<string, OptionType>;
|
|
521
|
+
protected create(options: Record<string, unknown>): ColorAreaInstance;
|
|
522
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
523
|
+
get value(): string;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* <mk-color-field class="mk-color-field" value="#ff8800" format="hex"></mk-color-field>
|
|
528
|
+
* Emits mk:change ({value, color}) when a new colour is committed.
|
|
529
|
+
*/
|
|
530
|
+
declare class MkColorFieldElement extends MkElement<ColorFieldInstance> {
|
|
531
|
+
static options: Record<string, OptionType>;
|
|
532
|
+
protected create(options: Record<string, unknown>): ColorFieldInstance;
|
|
533
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
534
|
+
get value(): string;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* <mk-color-picker class="mk-color-picker" value="#3b82f6" label="Color del evento"></mk-color-picker>
|
|
539
|
+
* `inline` shows the panel in place; `swatches="#111,#ef4444"` sets the presets.
|
|
540
|
+
* Emits mk:input (live) and mk:change (committed) with {value, color}.
|
|
541
|
+
*/
|
|
542
|
+
declare class MkColorPickerElement extends MkElement<ColorPickerInstance> {
|
|
543
|
+
static options: Record<string, OptionType>;
|
|
544
|
+
protected create(options: Record<string, unknown>): ColorPickerInstance;
|
|
545
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
546
|
+
open(): void;
|
|
547
|
+
close(): void;
|
|
548
|
+
get value(): string;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* <mk-time-field class="mk-time-field" value="09:30" minute-step="15" name="hora"></mk-time-field>
|
|
553
|
+
* Emits mk:change ({value}: 24 h text, null while incomplete).
|
|
554
|
+
*/
|
|
555
|
+
declare class MkTimeFieldElement extends MkElement<TimeFieldInstance> {
|
|
556
|
+
static options: Record<string, OptionType>;
|
|
557
|
+
protected create(options: Record<string, unknown>): TimeFieldInstance;
|
|
558
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
559
|
+
get value(): string | null;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* <mk-range-calendar class="mk-range-calendar" start="2026-11-23" end="2026-11-26" visible-months="2"
|
|
564
|
+
* unavailable="2026-12-24,2026-12-25"></mk-range-calendar>
|
|
565
|
+
* Emits mk:change ({start, end, length}). Changing start/end moves the range.
|
|
566
|
+
*/
|
|
567
|
+
declare class MkRangeCalendarElement extends MkElement<RangeCalendarInstance> {
|
|
568
|
+
static options: Record<string, OptionType>;
|
|
569
|
+
protected create(options: Record<string, unknown>): RangeCalendarInstance;
|
|
570
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
571
|
+
get value(): DateRange | null;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* <mk-date-range-picker class="mk-date-range-picker" start="2026-11-23" end="2026-11-26" name="viaje"
|
|
576
|
+
* presets='[{"label":"Puente","start":"2026-12-05","end":"2026-12-08"}]'></mk-date-range-picker>
|
|
577
|
+
* Emits mk:change ({start, end, length}) for valid ranges.
|
|
578
|
+
*/
|
|
579
|
+
declare class MkDateRangePickerElement extends MkElement<DateRangePickerInstance> {
|
|
580
|
+
static options: Record<string, OptionType>;
|
|
581
|
+
protected create(options: Record<string, unknown>): DateRangePickerInstance;
|
|
582
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
583
|
+
open(): void;
|
|
584
|
+
close(): void;
|
|
585
|
+
get value(): DateRange | null;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* <mk-tooltip class="mk-tooltip" content="Copiar enlace"><button>…</button></mk-tooltip>
|
|
590
|
+
* Without `content`, the trigger's title. Emits mk:open-change ({open}).
|
|
591
|
+
*/
|
|
592
|
+
declare class MkTooltipElement extends MkElement<TooltipInstance> {
|
|
593
|
+
static options: Record<string, OptionType>;
|
|
594
|
+
protected create(options: Record<string, unknown>): TooltipInstance;
|
|
595
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* <mk-popover class="mk-popover">
|
|
600
|
+
* <button data-mk-popover-trigger>Filtros</button>
|
|
601
|
+
* <div data-mk-popover-content>…</div>
|
|
602
|
+
* </mk-popover>
|
|
603
|
+
* Emits mk:open-change ({open}).
|
|
604
|
+
*/
|
|
605
|
+
declare class MkPopoverElement extends MkElement<PopoverInstance> {
|
|
606
|
+
static options: Record<string, OptionType>;
|
|
607
|
+
protected create(options: Record<string, unknown>): PopoverInstance;
|
|
608
|
+
open(): void;
|
|
609
|
+
close(): void;
|
|
610
|
+
get isOpen(): boolean;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* <mk-loading-button><button class="mk-button">Guardar</button></mk-loading-button>
|
|
615
|
+
* The `state` attribute (idle | loading | success | error) drives it from outside; run(action) walks the states.
|
|
616
|
+
* Emits mk:state-change ({state}).
|
|
617
|
+
*/
|
|
618
|
+
declare class MkLoadingButtonElement extends MkElement<LoadingButtonInstance> {
|
|
619
|
+
static options: Record<string, OptionType>;
|
|
620
|
+
protected create(options: Record<string, unknown>): LoadingButtonInstance;
|
|
621
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
622
|
+
run(action: () => unknown): Promise<boolean>;
|
|
623
|
+
get state(): LoadingState;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* <mk-breadcrumb class="mk-breadcrumb" items='[{"label":"Inicio","href":"/"},{"label":"Proyectos","href":"/p"},{"label":"Melon"}]'>
|
|
628
|
+
* </mk-breadcrumb> — or authored <a>/<span> children. Emits mk:navigate ({item, index}, cancelable).
|
|
629
|
+
*/
|
|
630
|
+
declare class MkBreadcrumbElement extends MkElement<BreadcrumbInstance> {
|
|
631
|
+
static options: Record<string, OptionType>;
|
|
632
|
+
protected create(options: Record<string, unknown>): BreadcrumbInstance;
|
|
633
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* <mk-empty-state class="mk-empty-state" illustration="search" title="Sin resultados"
|
|
638
|
+
* description="Prueba con otras palabras." actions='[{"id":"clear","label":"Borrar filtros"}]'></mk-empty-state>
|
|
639
|
+
* Emits mk:action ({id}).
|
|
640
|
+
*/
|
|
641
|
+
declare class MkEmptyStateElement extends MkElement<EmptyStateInstance> {
|
|
642
|
+
static options: Record<string, OptionType>;
|
|
643
|
+
protected create(options: Record<string, unknown>): EmptyStateInstance;
|
|
644
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* <mk-stat-card class="mk-stat-card" label="Ingresos" value="128400" previous="118900"
|
|
649
|
+
* format='{"style":"currency","currency":"MXN","maximumFractionDigits":0}' series="90,98,104,101,118,128"></mk-stat-card>
|
|
650
|
+
* Changing value, previous, series or target updates it in place (the figure counts).
|
|
651
|
+
*/
|
|
652
|
+
declare class MkStatCardElement extends MkElement<StatCardInstance> {
|
|
653
|
+
static options: Record<string, OptionType>;
|
|
654
|
+
protected create(options: Record<string, unknown>): StatCardInstance;
|
|
655
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* <mk-chart-tooltip class="mk-chart-tooltip" share total>
|
|
660
|
+
* <mk-chart class="mk-chart" tooltip="false" …></mk-chart>
|
|
661
|
+
* </mk-chart-tooltip>
|
|
662
|
+
* Over another chart give it labels, series (JSON), align, inset (JSON), min and max.
|
|
663
|
+
* Emits mk:index-change ({index, pinned}).
|
|
664
|
+
*/
|
|
665
|
+
declare class MkChartTooltipElement extends MkElement<ChartTooltipInstance> {
|
|
666
|
+
static options: Record<string, OptionType>;
|
|
667
|
+
protected create(options: Record<string, unknown>): ChartTooltipInstance;
|
|
668
|
+
attributeChangedCallback(_name: string, previous: string | null, next: string | null): void;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* <mk-multi-select class="mk-multi-select" label="Etiquetas">
|
|
673
|
+
* <select multiple name="etiquetas"><option>Diseño</option><option selected>Código</option></select>
|
|
674
|
+
* </mk-multi-select>
|
|
675
|
+
* Or options='[{"value":"ana","label":"Ana"}]' value="ana" name="personas". Emits mk:change ({value}).
|
|
676
|
+
*/
|
|
677
|
+
declare class MkMultiSelectElement extends MkElement<MultiSelectInstance> {
|
|
678
|
+
static options: Record<string, OptionType>;
|
|
679
|
+
protected create(options: Record<string, unknown>): MultiSelectInstance;
|
|
680
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
681
|
+
get value(): string[];
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* <mk-tag-input class="mk-tag-input" label="Etiquetas" value="diseño,urgente" suggestions="diseño,código,urgente" max="5" name="tags">
|
|
686
|
+
* </mk-tag-input>
|
|
687
|
+
* Emits mk:change ({value}).
|
|
688
|
+
*/
|
|
689
|
+
declare class MkTagInputElement extends MkElement<TagInputInstance> {
|
|
690
|
+
static options: Record<string, OptionType>;
|
|
691
|
+
protected create(options: Record<string, unknown>): TagInputInstance;
|
|
692
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
693
|
+
get value(): string[];
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* <mk-date-time-picker class="mk-date-time-picker" value="2026-11-23T10:30" minute-step="15" name="cita"></mk-date-time-picker>
|
|
698
|
+
* Emits mk:change ({value: 'YYYY-MM-DDTHH:MM' | null}).
|
|
699
|
+
*/
|
|
700
|
+
declare class MkDateTimePickerElement extends MkElement<DateTimePickerInstance> {
|
|
701
|
+
static options: Record<string, OptionType>;
|
|
702
|
+
protected create(options: Record<string, unknown>): DateTimePickerInstance;
|
|
703
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
704
|
+
open(): void;
|
|
705
|
+
close(): void;
|
|
706
|
+
get value(): Date | null;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* <mk-filter-builder class="mk-filter-builder"
|
|
711
|
+
* fields='[{"key":"estado","label":"Estado","type":"select","options":[{"value":"activo","label":"Activo"}]},{"key":"monto","label":"Monto","type":"number"}]'>
|
|
712
|
+
* </mk-filter-builder>
|
|
713
|
+
* Emits mk:change ({value, summary}).
|
|
714
|
+
*/
|
|
715
|
+
declare class MkFilterBuilderElement extends MkElement<FilterBuilderInstance> {
|
|
716
|
+
static options: Record<string, OptionType>;
|
|
717
|
+
protected create(options: Record<string, unknown>): FilterBuilderInstance;
|
|
718
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
719
|
+
get value(): FilterGroup | null;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* <mk-timeline class="mk-timeline" events='[{"id":"1","title":"Pedido recibido","time":"2026-11-23T09:12","status":"done"}]'>
|
|
724
|
+
* </mk-timeline> — or authored <ol><li data-status data-time>Title<p>Description</p></li></ol>.
|
|
725
|
+
*/
|
|
726
|
+
declare class MkTimelineElement extends MkElement<TimelineInstance> {
|
|
727
|
+
static options: Record<string, OptionType>;
|
|
728
|
+
protected create(options: Record<string, unknown>): TimelineInstance;
|
|
729
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
730
|
+
add(event: TimelineEvent, at?: 'start' | 'end'): void;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* <mk-activity-feed class="mk-activity-feed" items='[{"id":"1","actor":"Ana Gómez","action":"comentó en","target":"Tarea 12","time":"2026-11-23T09:12","kind":"comment"}]'>
|
|
735
|
+
* </mk-activity-feed>. element.prepend([...]) / element.append([...]) for live and older activity.
|
|
736
|
+
*/
|
|
737
|
+
declare class MkActivityFeedElement extends MkElement<ActivityFeedInstance> {
|
|
738
|
+
static options: Record<string, OptionType>;
|
|
739
|
+
protected create(options: Record<string, unknown>): ActivityFeedInstance;
|
|
740
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
741
|
+
/** New activity on top (not Element.prepend). */
|
|
742
|
+
prependItems(items: ActivityItem[]): void;
|
|
743
|
+
appendItems(items: ActivityItem[]): void;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* <mk-tree-view class="mk-tree-view" checkable search
|
|
748
|
+
* nodes='[{"id":"a","label":"Proyectos","children":[{"id":"a1","label":"Melon"}]}]'></mk-tree-view>
|
|
749
|
+
* Emits mk:select ({id, node}), mk:check ({checked}), mk:expand ({id, expanded}).
|
|
750
|
+
*/
|
|
751
|
+
declare class MkTreeViewElement extends MkElement<TreeViewInstance> {
|
|
752
|
+
static options: Record<string, OptionType>;
|
|
753
|
+
protected create(options: Record<string, unknown>): TreeViewInstance;
|
|
754
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* <mk-file-explorer class="mk-file-explorer" root-label="Mi unidad" view="grid"
|
|
759
|
+
* files='[{"id":"docs","name":"Documentos","children":[{"id":"cv","name":"Currículum.pdf","size":184320}]}]'>
|
|
760
|
+
* </mk-file-explorer>. Emits mk:open ({id, entry}), mk:navigate ({id, folder}), mk:select ({ids}), mk:change ({files, change}).
|
|
761
|
+
*/
|
|
762
|
+
declare class MkFileExplorerElement extends MkElement<FileExplorerInstance> {
|
|
763
|
+
static options: Record<string, OptionType>;
|
|
764
|
+
protected create(options: Record<string, unknown>): FileExplorerInstance;
|
|
765
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* <mk-json-viewer class="mk-json-viewer" expand-depth="2" search data='{"user":{"name":"Ana","roles":["admin"]}}'></mk-json-viewer>
|
|
770
|
+
* Or the JSON as the element's text. Emits mk:select ({path, value}) and mk:copy ({text, path}).
|
|
771
|
+
*/
|
|
772
|
+
declare class MkJsonViewerElement extends MkElement<JsonViewerInstance> {
|
|
773
|
+
static options: Record<string, OptionType>;
|
|
774
|
+
protected create(options: Record<string, unknown>): JsonViewerInstance;
|
|
775
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* <mk-virtual-list class="mk-virtual-list" item-height="44" selectable="multiple" items='["Uno","Dos", …]'></mk-virtual-list>
|
|
780
|
+
* Or an authored <ul><li>…</li></ul>. element.instance.setRenderer((item, i, row) => …) draws richer rows.
|
|
781
|
+
* Emits mk:select ({keys, items}).
|
|
782
|
+
*/
|
|
783
|
+
declare class MkVirtualListElement extends MkElement<VirtualListInstance> {
|
|
784
|
+
static options: Record<string, OptionType>;
|
|
785
|
+
protected create(options: Record<string, unknown>): VirtualListInstance<unknown>;
|
|
786
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* <mk-resizable-panel class="mk-resizable-panel" sizes="25,75" collapsible="0" storage-key="layout">
|
|
791
|
+
* <aside data-min="15">…</aside><main>…</main>
|
|
792
|
+
* </mk-resizable-panel>. Emits mk:resize ({sizes}) and mk:collapse ({index, collapsed}).
|
|
793
|
+
*/
|
|
794
|
+
declare class MkResizablePanelElement extends MkElement<ResizablePanelInstance> {
|
|
795
|
+
static options: Record<string, OptionType>;
|
|
796
|
+
protected create(options: Record<string, unknown>): ResizablePanelInstance;
|
|
797
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* <mk-split-view class="mk-split-view" ratio="0.35" stack-below="640" labels="Bandeja,Mensaje">
|
|
802
|
+
* <section>…</section><section>…</section>
|
|
803
|
+
* </mk-split-view>. Emits mk:resize and mk:collapse from its separator.
|
|
804
|
+
*/
|
|
805
|
+
declare class MkSplitViewElement extends MkElement<SplitViewInstance> {
|
|
806
|
+
static options: Record<string, OptionType>;
|
|
807
|
+
protected create(options: Record<string, unknown>): SplitViewInstance;
|
|
808
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* <mk-data-table class="mk-data-table" selectable page-size="10" sort="monto:desc"
|
|
813
|
+
* columns='[{"key":"cliente","label":"Cliente"},{"key":"monto","label":"Monto","type":"number"}]'
|
|
814
|
+
* rows='[{"id":1,"cliente":"Ana","monto":1200}]' actions='[{"id":"editar","label":"Editar"}]'></mk-data-table>
|
|
815
|
+
* Emits mk:sort, mk:select, mk:action, mk:bulk-action, mk:page and mk:filter.
|
|
816
|
+
*/
|
|
817
|
+
declare class MkDataTableElement extends MkElement<DataTableInstance> {
|
|
818
|
+
static options: Record<string, OptionType>;
|
|
819
|
+
protected create(options: Record<string, unknown>): DataTableInstance<DataRow>;
|
|
820
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* <mk-editable-table class="mk-editable-table" new-row='{"estado":"nuevo"}'
|
|
825
|
+
* columns='[{"key":"producto","label":"Producto","required":true},{"key":"precio","label":"Precio","type":"number","min":0}]'
|
|
826
|
+
* rows='[{"id":1,"producto":"Taza","precio":189}]'></mk-editable-table>
|
|
827
|
+
* Emits mk:change ({changes}) and mk:save ({changes}); listen to mk:save to send them (the engine keeps them as saved).
|
|
828
|
+
*/
|
|
829
|
+
declare class MkEditableTableElement extends MkElement<EditableTableInstance> {
|
|
830
|
+
static options: Record<string, OptionType>;
|
|
831
|
+
protected create(options: Record<string, unknown>): EditableTableInstance<DataRow>;
|
|
832
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* <mk-rich-text-editor class="mk-rich-text-editor" name="cuerpo" max-length="500" placeholder="Cuenta tu idea…">
|
|
837
|
+
* <p>Contenido <strong>inicial</strong></p>
|
|
838
|
+
* </mk-rich-text-editor>. Emits mk:change ({html, text}).
|
|
839
|
+
*/
|
|
840
|
+
declare class MkRichTextEditorElement extends MkElement<RichTextEditorInstance> {
|
|
841
|
+
static options: Record<string, OptionType>;
|
|
842
|
+
protected create(options: Record<string, unknown>): RichTextEditorInstance;
|
|
843
|
+
attributeChangedCallback(name: string, previous: string | null, next: string | null): void;
|
|
844
|
+
}
|
|
845
|
+
|
|
226
846
|
/** Tag name → element class, for every component. */
|
|
227
847
|
declare const ELEMENTS: {
|
|
228
848
|
readonly 'mk-theme-picker': typeof MkThemePickerElement;
|
|
@@ -243,9 +863,58 @@ declare const ELEMENTS: {
|
|
|
243
863
|
readonly 'mk-trailer': typeof MkTrailerElement;
|
|
244
864
|
readonly 'mk-calendar': typeof MkCalendarElement;
|
|
245
865
|
readonly 'mk-slot-picker': typeof MkSlotPickerElement;
|
|
866
|
+
readonly 'mk-attachment': typeof MkAttachmentElement;
|
|
867
|
+
readonly 'mk-skeleton': typeof MkSkeletonElement;
|
|
868
|
+
readonly 'mk-questionnaire': typeof MkQuestionnaireElement;
|
|
869
|
+
readonly 'mk-code-block': typeof MkCodeBlockElement;
|
|
870
|
+
readonly 'mk-context-menu': typeof MkContextMenuElement;
|
|
871
|
+
readonly 'mk-drawer': typeof MkDrawerElement;
|
|
872
|
+
readonly 'mk-link-preview': typeof MkLinkPreviewElement;
|
|
873
|
+
readonly 'mk-progress': typeof MkProgressElement;
|
|
874
|
+
readonly 'mk-range-slider': typeof MkRangeSliderElement;
|
|
875
|
+
readonly 'mk-chart': typeof MkChartElement;
|
|
876
|
+
readonly 'mk-credit-card': typeof MkCreditCardElement;
|
|
877
|
+
readonly 'mk-command-search': typeof MkCommandSearchElement;
|
|
878
|
+
readonly 'mk-hold-confirm': typeof MkHoldConfirmElement;
|
|
879
|
+
readonly 'mk-image-preview': typeof MkImagePreviewElement;
|
|
880
|
+
readonly 'mk-like-button': typeof MkLikeButtonElement;
|
|
881
|
+
readonly 'mk-notification-bell': typeof MkNotificationBellElement;
|
|
882
|
+
readonly 'mk-password-strength': typeof MkPasswordStrengthElement;
|
|
883
|
+
readonly 'mk-scratch-card': typeof MkScratchCardElement;
|
|
884
|
+
readonly 'mk-star-rating': typeof MkStarRatingElement;
|
|
885
|
+
readonly 'mk-swipe-actions': typeof MkSwipeActionsElement;
|
|
886
|
+
readonly 'mk-color-slider': typeof MkColorSliderElement;
|
|
887
|
+
readonly 'mk-color-area': typeof MkColorAreaElement;
|
|
888
|
+
readonly 'mk-color-field': typeof MkColorFieldElement;
|
|
889
|
+
readonly 'mk-color-picker': typeof MkColorPickerElement;
|
|
890
|
+
readonly 'mk-time-field': typeof MkTimeFieldElement;
|
|
891
|
+
readonly 'mk-range-calendar': typeof MkRangeCalendarElement;
|
|
892
|
+
readonly 'mk-date-range-picker': typeof MkDateRangePickerElement;
|
|
893
|
+
readonly 'mk-tooltip': typeof MkTooltipElement;
|
|
894
|
+
readonly 'mk-popover': typeof MkPopoverElement;
|
|
895
|
+
readonly 'mk-loading-button': typeof MkLoadingButtonElement;
|
|
896
|
+
readonly 'mk-breadcrumb': typeof MkBreadcrumbElement;
|
|
897
|
+
readonly 'mk-empty-state': typeof MkEmptyStateElement;
|
|
898
|
+
readonly 'mk-stat-card': typeof MkStatCardElement;
|
|
899
|
+
readonly 'mk-chart-tooltip': typeof MkChartTooltipElement;
|
|
900
|
+
readonly 'mk-multi-select': typeof MkMultiSelectElement;
|
|
901
|
+
readonly 'mk-tag-input': typeof MkTagInputElement;
|
|
902
|
+
readonly 'mk-date-time-picker': typeof MkDateTimePickerElement;
|
|
903
|
+
readonly 'mk-filter-builder': typeof MkFilterBuilderElement;
|
|
904
|
+
readonly 'mk-timeline': typeof MkTimelineElement;
|
|
905
|
+
readonly 'mk-activity-feed': typeof MkActivityFeedElement;
|
|
906
|
+
readonly 'mk-tree-view': typeof MkTreeViewElement;
|
|
907
|
+
readonly 'mk-file-explorer': typeof MkFileExplorerElement;
|
|
908
|
+
readonly 'mk-json-viewer': typeof MkJsonViewerElement;
|
|
909
|
+
readonly 'mk-virtual-list': typeof MkVirtualListElement;
|
|
910
|
+
readonly 'mk-resizable-panel': typeof MkResizablePanelElement;
|
|
911
|
+
readonly 'mk-split-view': typeof MkSplitViewElement;
|
|
912
|
+
readonly 'mk-data-table': typeof MkDataTableElement;
|
|
913
|
+
readonly 'mk-editable-table': typeof MkEditableTableElement;
|
|
914
|
+
readonly 'mk-rich-text-editor': typeof MkRichTextEditorElement;
|
|
246
915
|
};
|
|
247
916
|
type ElementName = keyof typeof ELEMENTS;
|
|
248
917
|
/** Register every motion-kit element (or the ones named). Safe to call more than once. */
|
|
249
918
|
declare function defineElements(names?: ElementName[]): void;
|
|
250
919
|
|
|
251
|
-
export { ELEMENTS, type ElementName, MkCalendarElement, MkChatBackgroundElement, MkChatElement, MkCursorElement, MkDialogElement, MkElement, MkHoverCardElement, MkInputOtpElement, MkIslandElement, MkMenuElement, MkNavElement, MkPaginationElement, MkQuantityElement, MkSlotPickerElement, MkStepsElement, MkStudioDockElement, MkThemePickerElement, MkToasterElement, MkTrailerElement, type OptionType, SafeHTMLElement, defineElement, defineElements, defineStudioDock, defineTrailer };
|
|
920
|
+
export { ELEMENTS, type ElementName, MkActivityFeedElement, MkAttachmentElement, MkBreadcrumbElement, MkCalendarElement, MkChartElement, MkChartTooltipElement, MkChatBackgroundElement, MkChatElement, MkCodeBlockElement, MkColorAreaElement, MkColorFieldElement, MkColorPickerElement, MkColorSliderElement, MkCommandSearchElement, MkContextMenuElement, MkCreditCardElement, MkCursorElement, MkDataTableElement, MkDateRangePickerElement, MkDateTimePickerElement, MkDialogElement, MkDrawerElement, MkEditableTableElement, MkElement, MkEmptyStateElement, MkFileExplorerElement, MkFilterBuilderElement, MkHoldConfirmElement, MkHoverCardElement, MkImagePreviewElement, MkInputOtpElement, MkIslandElement, MkJsonViewerElement, MkLikeButtonElement, MkLinkPreviewElement, MkLoadingButtonElement, MkMenuElement, MkMultiSelectElement, MkNavElement, MkNotificationBellElement, MkPaginationElement, MkPasswordStrengthElement, MkPopoverElement, MkProgressElement, MkQuantityElement, MkQuestionnaireElement, MkRangeCalendarElement, MkRangeSliderElement, MkResizablePanelElement, MkRichTextEditorElement, MkScratchCardElement, MkSkeletonElement, MkSlotPickerElement, MkSplitViewElement, MkStarRatingElement, MkStatCardElement, MkStepsElement, MkStudioDockElement, MkSwipeActionsElement, MkTagInputElement, MkThemePickerElement, MkTimeFieldElement, MkTimelineElement, MkToasterElement, MkTooltipElement, MkTrailerElement, MkTreeViewElement, MkVirtualListElement, type OptionType, SafeHTMLElement, defineElement, defineElements, defineStudioDock, defineTrailer };
|