@dxtmisha/wiki 0.39.3 → 0.39.5
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/package.json +7 -18
- package/src/classes/WikiStorybook.ts +353 -0
- package/src/classes/WikiStorybookDescriptions.ts +77 -0
- package/src/classes/WikiStorybookItem.ts +400 -0
- package/src/classes/WikiStorybookProp.ts +118 -0
- package/src/library-lite.ts +9 -0
- package/src/library.ts +10 -8
- package/src/media/descriptions/wikiDescriptions.ts +109 -0
- package/src/media/descriptions/wikiDescriptionsAccordion.ts +177 -0
- package/src/media/descriptions/wikiDescriptionsActionSheet.ts +148 -0
- package/src/media/descriptions/wikiDescriptionsActions.ts +73 -0
- package/src/media/descriptions/wikiDescriptionsAnchor.ts +49 -0
- package/src/media/descriptions/wikiDescriptionsArrow.ts +193 -0
- package/src/media/descriptions/wikiDescriptionsBadge.ts +150 -0
- package/src/media/descriptions/wikiDescriptionsBars.ts +177 -0
- package/src/media/descriptions/wikiDescriptionsBlock.ts +115 -0
- package/src/media/descriptions/wikiDescriptionsButton.ts +200 -0
- package/src/media/descriptions/wikiDescriptionsCell.ts +121 -0
- package/src/media/descriptions/wikiDescriptionsCheckbox.ts +134 -0
- package/src/media/descriptions/wikiDescriptionsChip.ts +144 -0
- package/src/media/descriptions/wikiDescriptionsChipGroup.ts +113 -0
- package/src/media/descriptions/wikiDescriptionsDialog.ts +198 -0
- package/src/media/descriptions/wikiDescriptionsDummy.ts +42 -0
- package/src/media/descriptions/wikiDescriptionsField.ts +222 -0
- package/src/media/descriptions/wikiDescriptionsFieldCounter.ts +75 -0
- package/src/media/descriptions/wikiDescriptionsFieldLabel.ts +46 -0
- package/src/media/descriptions/wikiDescriptionsFieldMessage.ts +71 -0
- package/src/media/descriptions/wikiDescriptionsGrid.ts +68 -0
- package/src/media/descriptions/wikiDescriptionsGridItem.ts +55 -0
- package/src/media/descriptions/wikiDescriptionsGroup.ts +118 -0
- package/src/media/descriptions/wikiDescriptionsHorizontalScroll.ts +93 -0
- package/src/media/descriptions/wikiDescriptionsIcon.ts +134 -0
- package/src/media/descriptions/wikiDescriptionsImage.ts +197 -0
- package/src/media/descriptions/wikiDescriptionsInput.ts +264 -0
- package/src/media/descriptions/wikiDescriptionsList.ts +131 -0
- package/src/media/descriptions/wikiDescriptionsListGroup.ts +99 -0
- package/src/media/descriptions/wikiDescriptionsListItem.ts +167 -0
- package/src/media/descriptions/wikiDescriptionsListMenu.ts +97 -0
- package/src/media/descriptions/wikiDescriptionsMask.ts +239 -0
- package/src/media/descriptions/wikiDescriptionsMenu.ts +228 -0
- package/src/media/descriptions/wikiDescriptionsModal.ts +143 -0
- package/src/media/descriptions/wikiDescriptionsMotionAxis.ts +196 -0
- package/src/media/descriptions/wikiDescriptionsMotionTransform.ts +235 -0
- package/src/media/descriptions/wikiDescriptionsPage.ts +116 -0
- package/src/media/descriptions/wikiDescriptionsProgress.ts +220 -0
- package/src/media/descriptions/wikiDescriptionsRipple.ts +52 -0
- package/src/media/descriptions/wikiDescriptionsScrollbar.ts +111 -0
- package/src/media/descriptions/wikiDescriptionsSection.ts +116 -0
- package/src/media/descriptions/wikiDescriptionsSelect.ts +223 -0
- package/src/media/descriptions/wikiDescriptionsSelectValue.ts +85 -0
- package/src/media/descriptions/wikiDescriptionsSkeleton.ts +140 -0
- package/src/media/descriptions/wikiDescriptionsSnackbar.ts +86 -0
- package/src/media/descriptions/wikiDescriptionsSnackbarItem.ts +96 -0
- package/src/media/descriptions/wikiDescriptionsTabItem.ts +79 -0
- package/src/media/descriptions/wikiDescriptionsTabs.ts +115 -0
- package/src/media/descriptions/wikiDescriptionsTabsNavigation.ts +102 -0
- package/src/media/descriptions/wikiDescriptionsTextarea.ts +58 -0
- package/src/media/descriptions/wikiDescriptionsTextareaAutosize.ts +57 -0
- package/src/media/descriptions/wikiDescriptionsTooltip.ts +105 -0
- package/src/media/descriptions/wikiDescriptionsWindow.ts +241 -0
- package/src/media/functional/ui/properties/about/about.en.mdx +13 -12
- package/src/media/functional/ui/properties/about/about.ru.mdx +13 -12
- package/src/media/functional/ui/properties/about/about.vi.mdx +13 -12
- package/src/media/functional/ui/properties/quick-start/quick-start.en.mdx +62 -32
- package/src/media/functional/ui/properties/quick-start/quick-start.ru.mdx +62 -32
- package/src/media/functional/ui/properties/quick-start/quick-start.vi.mdx +62 -32
- package/src/media/functional/ui/properties/type-media/type-media.en.mdx +29 -0
- package/src/media/functional/ui/properties/type-media/type-media.ru.mdx +29 -0
- package/src/media/functional/ui/properties/type-media/type-media.vi.mdx +29 -0
- package/src/media/mdx/Accordion/accordion.en.mdx +59 -0
- package/src/media/mdx/Accordion/accordion.ru.mdx +59 -0
- package/src/media/mdx/Accordion/slots.en.mdx +9 -0
- package/src/media/mdx/Accordion/slots.ru.mdx +9 -0
- package/src/media/mdx/Accordion/wikiMdxAccordion.ts +25 -0
- package/src/media/mdx/ActionSheet/actionSheet.en.mdx +61 -0
- package/src/media/mdx/ActionSheet/actionSheet.ru.mdx +61 -0
- package/src/media/mdx/ActionSheet/touchClose.en.mdx +21 -0
- package/src/media/mdx/ActionSheet/touchClose.ru.mdx +21 -0
- package/src/media/mdx/ActionSheet/wikiMdxActionSheet.ts +25 -0
- package/src/media/mdx/Actions/actions.en.mdx +48 -0
- package/src/media/mdx/Actions/actions.ru.mdx +48 -0
- package/src/media/mdx/Actions/flexible.en.mdx +19 -0
- package/src/media/mdx/Actions/flexible.ru.mdx +19 -0
- package/src/media/mdx/Actions/list.en.mdx +50 -0
- package/src/media/mdx/Actions/list.ru.mdx +50 -0
- package/src/media/mdx/Actions/wikiMdxActions.ts +31 -0
- package/src/media/mdx/Anchor/anchor.en.mdx +34 -0
- package/src/media/mdx/Anchor/anchor.ru.mdx +34 -0
- package/src/media/mdx/Anchor/expose.go.en.mdx +1 -0
- package/src/media/mdx/Anchor/expose.go.ru.mdx +1 -0
- package/src/media/mdx/Anchor/hide.en.mdx +28 -0
- package/src/media/mdx/Anchor/hide.ru.mdx +28 -0
- package/src/media/mdx/Anchor/isCopy.en.mdx +23 -0
- package/src/media/mdx/Anchor/isCopy.ru.mdx +23 -0
- package/src/media/mdx/Anchor/scroll.en.mdx +34 -0
- package/src/media/mdx/Anchor/scroll.ru.mdx +35 -0
- package/src/media/mdx/Anchor/wikiMdxAnchor.ts +43 -0
- package/src/media/mdx/Arrow/arrow.en.mdx +33 -0
- package/src/media/mdx/Arrow/arrow.ru.mdx +33 -0
- package/src/media/mdx/Arrow/wikiMdxArrow.ts +19 -0
- package/src/media/mdx/Badge/badge.en.mdx +89 -0
- package/src/media/mdx/Badge/badge.ru.mdx +89 -0
- package/src/media/mdx/Badge/dot.en.mdx +21 -0
- package/src/media/mdx/Badge/dot.ru.mdx +21 -0
- package/src/media/mdx/Badge/outline.en.mdx +16 -0
- package/src/media/mdx/Badge/outline.ru.mdx +16 -0
- package/src/media/mdx/Badge/primary.en.mdx +16 -0
- package/src/media/mdx/Badge/primary.ru.mdx +16 -0
- package/src/media/mdx/Badge/secondary.en.mdx +16 -0
- package/src/media/mdx/Badge/secondary.ru.mdx +16 -0
- package/src/media/mdx/Badge/wikiMdxBadge.ts +43 -0
- package/src/media/mdx/Bars/action.en.mdx +84 -0
- package/src/media/mdx/Bars/action.ru.mdx +84 -0
- package/src/media/mdx/Bars/bars.en.mdx +97 -0
- package/src/media/mdx/Bars/bars.ru.mdx +98 -0
- package/src/media/mdx/Bars/slots.en.mdx +2 -0
- package/src/media/mdx/Bars/slots.ru.mdx +2 -0
- package/src/media/mdx/Bars/v-model.en.mdx +28 -0
- package/src/media/mdx/Bars/v-model.ru.mdx +28 -0
- package/src/media/mdx/Bars/wikiMdxBars.ts +37 -0
- package/src/media/mdx/Block/block.en.mdx +42 -0
- package/src/media/mdx/Block/block.ru.mdx +42 -0
- package/src/media/mdx/Block/differences.en.mdx +47 -0
- package/src/media/mdx/Block/differences.ru.mdx +47 -0
- package/src/media/mdx/Block/wikiMdxBlock.ts +25 -0
- package/src/media/mdx/Button/button.en.mdx +29 -0
- package/src/media/mdx/Button/button.ru.mdx +29 -0
- package/src/media/mdx/Button/outline.en.mdx +16 -0
- package/src/media/mdx/Button/outline.ru.mdx +16 -0
- package/src/media/mdx/Button/primary.en.mdx +16 -0
- package/src/media/mdx/Button/primary.ru.mdx +16 -0
- package/src/media/mdx/Button/secondary.en.mdx +16 -0
- package/src/media/mdx/Button/secondary.ru.mdx +16 -0
- package/src/media/mdx/Button/text.en.mdx +16 -0
- package/src/media/mdx/Button/text.ru.mdx +16 -0
- package/src/media/mdx/Button/wikiMdxButton.ts +43 -0
- package/src/media/mdx/Cell/cell.en.mdx +57 -0
- package/src/media/mdx/Cell/cell.ru.mdx +57 -0
- package/src/media/mdx/Cell/slots.en.mdx +8 -0
- package/src/media/mdx/Cell/slots.ru.mdx +8 -0
- package/src/media/mdx/Cell/wikiMdxCell.ts +25 -0
- package/src/media/mdx/Checkbox/checkbox.en.mdx +22 -0
- package/src/media/mdx/Checkbox/checkbox.ru.mdx +22 -0
- package/src/media/mdx/Checkbox/indeterminate.en.mdx +61 -0
- package/src/media/mdx/Checkbox/indeterminate.ru.mdx +61 -0
- package/src/media/mdx/Checkbox/value.en.mdx +64 -0
- package/src/media/mdx/Checkbox/value.ru.mdx +64 -0
- package/src/media/mdx/Checkbox/wikiMdxCheckbox.ts +31 -0
- package/src/media/mdx/Chip/assistive.en.mdx +16 -0
- package/src/media/mdx/Chip/assistive.ru.mdx +16 -0
- package/src/media/mdx/Chip/chip.en.mdx +75 -0
- package/src/media/mdx/Chip/chip.ru.mdx +75 -0
- package/src/media/mdx/Chip/input.en.mdx +16 -0
- package/src/media/mdx/Chip/input.ru.mdx +16 -0
- package/src/media/mdx/Chip/wikiMdxChip.ts +31 -0
- package/src/media/mdx/ChipGroup/chipGroup.en.mdx +51 -0
- package/src/media/mdx/ChipGroup/chipGroup.ru.mdx +51 -0
- package/src/media/mdx/ChipGroup/selected.en.mdx +50 -0
- package/src/media/mdx/ChipGroup/selected.ru.mdx +50 -0
- package/src/media/mdx/ChipGroup/wikiMdxChipGroup.ts +25 -0
- package/src/media/mdx/Dialog/buttons.en.mdx +45 -0
- package/src/media/mdx/Dialog/buttons.ru.mdx +45 -0
- package/src/media/mdx/Dialog/dialog.en.mdx +66 -0
- package/src/media/mdx/Dialog/dialog.ru.mdx +65 -0
- package/src/media/mdx/Dialog/events.en.mdx +63 -0
- package/src/media/mdx/Dialog/events.ru.mdx +63 -0
- package/src/media/mdx/Dialog/states.en.mdx +58 -0
- package/src/media/mdx/Dialog/states.ru.mdx +57 -0
- package/src/media/mdx/Dialog/wikiMdxDialog.ts +37 -0
- package/src/media/mdx/Dummy/dummy.en.mdx +35 -0
- package/src/media/mdx/Dummy/dummy.ru.mdx +35 -0
- package/src/media/mdx/Dummy/wikiMdxDummy.ts +19 -0
- package/src/media/mdx/Field/arrows.en.mdx +91 -0
- package/src/media/mdx/Field/arrows.ru.mdx +91 -0
- package/src/media/mdx/Field/cancel.en.mdx +54 -0
- package/src/media/mdx/Field/cancel.ru.mdx +54 -0
- package/src/media/mdx/Field/field.en.mdx +52 -0
- package/src/media/mdx/Field/field.ru.mdx +52 -0
- package/src/media/mdx/Field/slots.en.mdx +10 -0
- package/src/media/mdx/Field/slots.ru.mdx +10 -0
- package/src/media/mdx/Field/value.en.mdx +49 -0
- package/src/media/mdx/Field/value.ru.mdx +49 -0
- package/src/media/mdx/Field/width.en.mdx +28 -0
- package/src/media/mdx/Field/width.ru.mdx +26 -0
- package/src/media/mdx/Field/wikiMdxField.ts +49 -0
- package/src/media/mdx/FieldCounter/fieldCounter.en.mdx +34 -0
- package/src/media/mdx/FieldCounter/fieldCounter.ru.mdx +34 -0
- package/src/media/mdx/FieldCounter/templates.en.mdx +39 -0
- package/src/media/mdx/FieldCounter/templates.ru.mdx +39 -0
- package/src/media/mdx/FieldCounter/wikiMdxFieldCounter.ts +25 -0
- package/src/media/mdx/FieldLabel/fieldLabel.en.mdx +39 -0
- package/src/media/mdx/FieldLabel/fieldLabel.ru.mdx +39 -0
- package/src/media/mdx/FieldLabel/wikiMdxFieldLabel.ts +19 -0
- package/src/media/mdx/FieldMessage/fieldMessage.en.mdx +38 -0
- package/src/media/mdx/FieldMessage/fieldMessage.ru.mdx +38 -0
- package/src/media/mdx/FieldMessage/slots.en.mdx +7 -0
- package/src/media/mdx/FieldMessage/slots.ru.mdx +7 -0
- package/src/media/mdx/FieldMessage/wikiMdxFieldMessage.ts +25 -0
- package/src/media/mdx/Grid/grid.en.mdx +21 -0
- package/src/media/mdx/Grid/grid.ru.mdx +23 -0
- package/src/media/mdx/Grid/wikiMdxGrid.ts +19 -0
- package/src/media/mdx/GridItem/gridItem.en.mdx +25 -0
- package/src/media/mdx/GridItem/gridItem.ru.mdx +27 -0
- package/src/media/mdx/GridItem/wikiMdxGridItem.ts +19 -0
- package/src/media/mdx/Group/group.en.mdx +40 -0
- package/src/media/mdx/Group/group.ru.mdx +40 -0
- package/src/media/mdx/Group/wikiMdxGroup.ts +19 -0
- package/src/media/mdx/HorizontalScroll/expose.toSelected.en.mdx +1 -0
- package/src/media/mdx/HorizontalScroll/expose.toSelected.ru.mdx +1 -0
- package/src/media/mdx/HorizontalScroll/horizontalScroll.en.mdx +62 -0
- package/src/media/mdx/HorizontalScroll/horizontalScroll.ru.mdx +62 -0
- package/src/media/mdx/HorizontalScroll/selected.en.mdx +33 -0
- package/src/media/mdx/HorizontalScroll/selected.ru.mdx +33 -0
- package/src/media/mdx/HorizontalScroll/wikiMdxHorizontalScroll.ts +31 -0
- package/src/media/mdx/Icon/expose.isActive.en.mdx +1 -0
- package/src/media/mdx/Icon/expose.isActive.ru.mdx +1 -0
- package/src/media/mdx/Icon/icon.en.mdx +77 -0
- package/src/media/mdx/Icon/icon.ru.mdx +42 -0
- package/src/media/mdx/Icon/wikiMdxIcon.ts +21 -0
- package/src/media/mdx/Image/adaptive.en.mdx +75 -0
- package/src/media/mdx/Image/adaptive.ru.mdx +75 -0
- package/src/media/mdx/Image/event.load.en.mdx +39 -0
- package/src/media/mdx/Image/event.load.ru.mdx +39 -0
- package/src/media/mdx/Image/expose.en.mdx +12 -0
- package/src/media/mdx/Image/expose.ru.mdx +12 -0
- package/src/media/mdx/Image/flag.en.mdx +23 -0
- package/src/media/mdx/Image/flag.ru.mdx +23 -0
- package/src/media/mdx/Image/image.en.mdx +51 -0
- package/src/media/mdx/Image/image.ru.mdx +51 -0
- package/src/media/mdx/Image/img-tag.en.mdx +105 -0
- package/src/media/mdx/Image/img-tag.ru.mdx +105 -0
- package/src/media/mdx/Image/size.en.mdx +32 -0
- package/src/media/mdx/Image/size.ru.mdx +32 -0
- package/src/media/mdx/Image/value.en.mdx +23 -0
- package/src/media/mdx/Image/value.ru.mdx +23 -0
- package/src/media/mdx/Image/wikiMdxImage.ts +58 -0
- package/src/media/mdx/Input/currency.en.mdx +38 -0
- package/src/media/mdx/Input/currency.ru.mdx +38 -0
- package/src/media/mdx/Input/date.en.mdx +53 -0
- package/src/media/mdx/Input/date.ru.mdx +53 -0
- package/src/media/mdx/Input/input.en.mdx +143 -0
- package/src/media/mdx/Input/input.ru.mdx +71 -0
- package/src/media/mdx/Input/mask.en.mdx +30 -0
- package/src/media/mdx/Input/mask.ru.mdx +30 -0
- package/src/media/mdx/Input/number.en.mdx +41 -0
- package/src/media/mdx/Input/number.ru.mdx +41 -0
- package/src/media/mdx/Input/type.en.mdx +26 -0
- package/src/media/mdx/Input/type.ru.mdx +26 -0
- package/src/media/mdx/Input/wikiMdxInput.ts +49 -0
- package/src/media/mdx/List/event.close.en.mdx +8 -0
- package/src/media/mdx/List/event.close.ru.mdx +8 -0
- package/src/media/mdx/List/list.en.mdx +64 -0
- package/src/media/mdx/List/list.ru.mdx +64 -0
- package/src/media/mdx/List/lite.en.mdx +24 -0
- package/src/media/mdx/List/lite.ru.mdx +24 -0
- package/src/media/mdx/List/slot.html.en.mdx +1 -0
- package/src/media/mdx/List/slot.html.ru.mdx +1 -0
- package/src/media/mdx/List/wikiMdxList.ts +37 -0
- package/src/media/mdx/ListGroup/listGroup.en.mdx +56 -0
- package/src/media/mdx/ListGroup/listGroup.ru.mdx +56 -0
- package/src/media/mdx/ListGroup/slots.en.mdx +2 -0
- package/src/media/mdx/ListGroup/slots.ru.mdx +2 -0
- package/src/media/mdx/ListGroup/wikiMdxListGroup.ts +25 -0
- package/src/media/mdx/ListItem/basic.en.mdx +55 -0
- package/src/media/mdx/ListItem/basic.ru.mdx +55 -0
- package/src/media/mdx/ListItem/fill.en.mdx +24 -0
- package/src/media/mdx/ListItem/fill.ru.mdx +24 -0
- package/src/media/mdx/ListItem/slots.en.mdx +2 -0
- package/src/media/mdx/ListItem/slots.ru.mdx +2 -0
- package/src/media/mdx/ListItem/wikiMdxListItem.ts +31 -0
- package/src/media/mdx/ListMenu/listMenu.en.mdx +63 -0
- package/src/media/mdx/ListMenu/listMenu.ru.mdx +63 -0
- package/src/media/mdx/ListMenu/wikiMdxListMenu.ts +19 -0
- package/src/media/mdx/Mask/basic.en.mdx +76 -0
- package/src/media/mdx/Mask/basic.ru.mdx +76 -0
- package/src/media/mdx/Mask/dateTypes.en.mdx +38 -0
- package/src/media/mdx/Mask/dateTypes.ru.mdx +38 -0
- package/src/media/mdx/Mask/expose.en.mdx +3 -0
- package/src/media/mdx/Mask/expose.ru.mdx +3 -0
- package/src/media/mdx/Mask/groupSave.en.mdx +26 -0
- package/src/media/mdx/Mask/groupSave.ru.mdx +26 -0
- package/src/media/mdx/Mask/mask.en.mdx +21 -0
- package/src/media/mdx/Mask/mask.ru.mdx +21 -0
- package/src/media/mdx/Mask/match.en.mdx +28 -0
- package/src/media/mdx/Mask/match.ru.mdx +28 -0
- package/src/media/mdx/Mask/numberTypes.en.mdx +38 -0
- package/src/media/mdx/Mask/numberTypes.ru.mdx +38 -0
- package/src/media/mdx/Mask/pattern.en.mdx +66 -0
- package/src/media/mdx/Mask/pattern.ru.mdx +66 -0
- package/src/media/mdx/Mask/special.en.mdx +106 -0
- package/src/media/mdx/Mask/special.ru.mdx +106 -0
- package/src/media/mdx/Mask/type.en.mdx +22 -0
- package/src/media/mdx/Mask/type.ru.mdx +22 -0
- package/src/media/mdx/Mask/visible.en.mdx +40 -0
- package/src/media/mdx/Mask/visible.ru.mdx +40 -0
- package/src/media/mdx/Mask/wikiMdxMask.ts +79 -0
- package/src/media/mdx/Menu/ajax.en.mdx +49 -0
- package/src/media/mdx/Menu/ajax.ru.mdx +49 -0
- package/src/media/mdx/Menu/event.updateValue.en.mdx +29 -0
- package/src/media/mdx/Menu/event.updateValue.ru.mdx +30 -0
- package/src/media/mdx/Menu/expose.navigation.en.mdx +2 -0
- package/src/media/mdx/Menu/expose.navigation.ru.mdx +2 -0
- package/src/media/mdx/Menu/menu.en.mdx +64 -0
- package/src/media/mdx/Menu/menu.ru.mdx +64 -0
- package/src/media/mdx/Menu/navigation.en.mdx +56 -0
- package/src/media/mdx/Menu/navigation.ru.mdx +56 -0
- package/src/media/mdx/Menu/slots.control.en.mdx +1 -0
- package/src/media/mdx/Menu/slots.control.ru.mdx +1 -0
- package/src/media/mdx/Menu/slots.en.mdx +14 -0
- package/src/media/mdx/Menu/slots.ru.mdx +14 -0
- package/src/media/mdx/Menu/wikiMdxMenu.ts +51 -0
- package/src/media/mdx/Modal/differences.en.mdx +130 -0
- package/src/media/mdx/Modal/differences.ru.mdx +65 -0
- package/src/media/mdx/Modal/modal.en.mdx +63 -0
- package/src/media/mdx/Modal/modal.ru.mdx +63 -0
- package/src/media/mdx/Modal/wikiMdxModal.ts +25 -0
- package/src/media/mdx/MotionAxis/classes.en.mdx +18 -0
- package/src/media/mdx/MotionAxis/classes.ru.mdx +18 -0
- package/src/media/mdx/MotionAxis/event.en.mdx +53 -0
- package/src/media/mdx/MotionAxis/event.ru.mdx +53 -0
- package/src/media/mdx/MotionAxis/expose.en.mdx +9 -0
- package/src/media/mdx/MotionAxis/expose.ru.mdx +9 -0
- package/src/media/mdx/MotionAxis/motionAxis.en.mdx +43 -0
- package/src/media/mdx/MotionAxis/motionAxis.ru.mdx +43 -0
- package/src/media/mdx/MotionAxis/slots.en.mdx +1 -0
- package/src/media/mdx/MotionAxis/slots.ru.mdx +1 -0
- package/src/media/mdx/MotionAxis/v-model.en.mdx +30 -0
- package/src/media/mdx/MotionAxis/v-model.ru.mdx +30 -0
- package/src/media/mdx/MotionAxis/wikiMdxMotionAxis.ts +49 -0
- package/src/media/mdx/MotionTransform/animationHeadPosition.en.mdx +18 -0
- package/src/media/mdx/MotionTransform/animationHeadPosition.ru.mdx +18 -0
- package/src/media/mdx/MotionTransform/classes.en.mdx +25 -0
- package/src/media/mdx/MotionTransform/classes.ru.mdx +25 -0
- package/src/media/mdx/MotionTransform/events.en.mdx +39 -0
- package/src/media/mdx/MotionTransform/events.ru.mdx +39 -0
- package/src/media/mdx/MotionTransform/expose.en.mdx +6 -0
- package/src/media/mdx/MotionTransform/expose.motionTransformElement.en.mdx +9 -0
- package/src/media/mdx/MotionTransform/expose.motionTransformElement.ru.mdx +9 -0
- package/src/media/mdx/MotionTransform/expose.ru.mdx +6 -0
- package/src/media/mdx/MotionTransform/ignore.en.mdx +32 -0
- package/src/media/mdx/MotionTransform/ignore.ru.mdx +32 -0
- package/src/media/mdx/MotionTransform/motionTransform.en.mdx +51 -0
- package/src/media/mdx/MotionTransform/motionTransform.ru.mdx +51 -0
- package/src/media/mdx/MotionTransform/slots.en.mdx +5 -0
- package/src/media/mdx/MotionTransform/slots.ru.mdx +5 -0
- package/src/media/mdx/MotionTransform/v-model.en.mdx +19 -0
- package/src/media/mdx/MotionTransform/v-model.ru.mdx +19 -0
- package/src/media/mdx/MotionTransform/wikiMdxMotionTransform.ts +67 -0
- package/src/media/mdx/Page/page.en.mdx +38 -0
- package/src/media/mdx/Page/page.ru.mdx +38 -0
- package/src/media/mdx/Page/wikiMdxPage.ts +19 -0
- package/src/media/mdx/Progress/circular.en.mdx +24 -0
- package/src/media/mdx/Progress/circular.ru.mdx +24 -0
- package/src/media/mdx/Progress/delays.en.mdx +24 -0
- package/src/media/mdx/Progress/delays.ru.mdx +24 -0
- package/src/media/mdx/Progress/linear.en.mdx +25 -0
- package/src/media/mdx/Progress/linear.ru.mdx +25 -0
- package/src/media/mdx/Progress/progress.en.mdx +71 -0
- package/src/media/mdx/Progress/progress.ru.mdx +71 -0
- package/src/media/mdx/Progress/values.en.mdx +24 -0
- package/src/media/mdx/Progress/values.ru.mdx +24 -0
- package/src/media/mdx/Progress/wikiMdxProgress.ts +38 -0
- package/src/media/mdx/Ripple/ripple.en.mdx +42 -0
- package/src/media/mdx/Ripple/ripple.ru.mdx +42 -0
- package/src/media/mdx/Ripple/wikiMdxRipple.ts +14 -0
- package/src/media/mdx/Scrollbar/emits-include.en.mdx +38 -0
- package/src/media/mdx/Scrollbar/emits-include.ru.mdx +38 -0
- package/src/media/mdx/Scrollbar/emits.en.mdx +38 -0
- package/src/media/mdx/Scrollbar/emits.ru.mdx +38 -0
- package/src/media/mdx/Scrollbar/scrollbar.en.mdx +39 -0
- package/src/media/mdx/Scrollbar/scrollbar.ru.mdx +39 -0
- package/src/media/mdx/Scrollbar/wikiMdxScrollbar.ts +31 -0
- package/src/media/mdx/Section/section.en.mdx +38 -0
- package/src/media/mdx/Section/section.ru.mdx +38 -0
- package/src/media/mdx/Section/wikiMdxSection.ts +19 -0
- package/src/media/mdx/Select/select.en.mdx +69 -0
- package/src/media/mdx/Select/select.ru.mdx +69 -0
- package/src/media/mdx/Select/wikiMdxSelect.ts +19 -0
- package/src/media/mdx/SelectValue/selectValue.en.mdx +64 -0
- package/src/media/mdx/SelectValue/selectValue.ru.mdx +64 -0
- package/src/media/mdx/SelectValue/wikiMdxSelectValue.ts +19 -0
- package/src/media/mdx/Skeleton/classes.en.mdx +13 -0
- package/src/media/mdx/Skeleton/classes.ru.mdx +13 -0
- package/src/media/mdx/Skeleton/expose.isActive.en.mdx +1 -0
- package/src/media/mdx/Skeleton/expose.isActive.ru.mdx +1 -0
- package/src/media/mdx/Skeleton/skeleton.en.mdx +45 -0
- package/src/media/mdx/Skeleton/skeleton.ru.mdx +45 -0
- package/src/media/mdx/Skeleton/wikiMdxSkeleton.ts +28 -0
- package/src/media/mdx/Snackbar/adaptation.en.mdx +10 -0
- package/src/media/mdx/Snackbar/adaptation.ru.mdx +10 -0
- package/src/media/mdx/Snackbar/add.en.mdx +44 -0
- package/src/media/mdx/Snackbar/add.ru.mdx +44 -0
- package/src/media/mdx/Snackbar/event.hide.en.mdx +12 -0
- package/src/media/mdx/Snackbar/event.hide.ru.mdx +12 -0
- package/src/media/mdx/Snackbar/event.show.en.mdx +11 -0
- package/src/media/mdx/Snackbar/event.show.ru.mdx +11 -0
- package/src/media/mdx/Snackbar/expose.add.en.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.add.ru.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.clear.en.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.clear.ru.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.isItem.en.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.isItem.ru.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.remove.en.mdx +1 -0
- package/src/media/mdx/Snackbar/expose.remove.ru.mdx +1 -0
- package/src/media/mdx/Snackbar/position.en.mdx +10 -0
- package/src/media/mdx/Snackbar/position.ru.mdx +10 -0
- package/src/media/mdx/Snackbar/snackbar.en.mdx +46 -0
- package/src/media/mdx/Snackbar/snackbar.ru.mdx +46 -0
- package/src/media/mdx/Snackbar/wikiMdxSnackbar.ts +73 -0
- package/src/media/mdx/SnackbarItem/component.en.mdx +9 -0
- package/src/media/mdx/SnackbarItem/component.ru.mdx +9 -0
- package/src/media/mdx/SnackbarItem/event.close.en.mdx +18 -0
- package/src/media/mdx/SnackbarItem/event.close.ru.mdx +18 -0
- package/src/media/mdx/SnackbarItem/html.en.mdx +6 -0
- package/src/media/mdx/SnackbarItem/html.ru.mdx +6 -0
- package/src/media/mdx/SnackbarItem/role.en.mdx +18 -0
- package/src/media/mdx/SnackbarItem/role.ru.mdx +18 -0
- package/src/media/mdx/SnackbarItem/snackbarItem.en.mdx +44 -0
- package/src/media/mdx/SnackbarItem/snackbarItem.ru.mdx +44 -0
- package/src/media/mdx/SnackbarItem/wikiMdxSnackbarItem.ts +47 -0
- package/src/media/mdx/TabItem/tabItem.en.mdx +52 -0
- package/src/media/mdx/TabItem/tabItem.ru.mdx +38 -0
- package/src/media/mdx/TabItem/wikiMdxTabItem.ts +19 -0
- package/src/media/mdx/Tabs/tabs.en.mdx +44 -0
- package/src/media/mdx/Tabs/tabs.ru.mdx +44 -0
- package/src/media/mdx/Tabs/v-model.en.mdx +27 -0
- package/src/media/mdx/Tabs/v-model.ru.mdx +27 -0
- package/src/media/mdx/Tabs/wikiMdxTabs.ts +25 -0
- package/src/media/mdx/TabsNavigation/tabsNavigation.en.mdx +40 -0
- package/src/media/mdx/TabsNavigation/tabsNavigation.ru.mdx +40 -0
- package/src/media/mdx/TabsNavigation/v-model.en.mdx +27 -0
- package/src/media/mdx/TabsNavigation/v-model.ru.mdx +27 -0
- package/src/media/mdx/TabsNavigation/wikiMdxTabsNavigation.ts +25 -0
- package/src/media/mdx/Textarea/autosize.en.mdx +35 -0
- package/src/media/mdx/Textarea/autosize.ru.mdx +35 -0
- package/src/media/mdx/Textarea/textarea.en.mdx +39 -0
- package/src/media/mdx/Textarea/textarea.ru.mdx +39 -0
- package/src/media/mdx/Textarea/wikiMdxTextarea.ts +25 -0
- package/src/media/mdx/TextareaAutosize/textarea-autosize.en.mdx +65 -0
- package/src/media/mdx/TextareaAutosize/textarea-autosize.ru.mdx +65 -0
- package/src/media/mdx/TextareaAutosize/wikiMdxTextareaAutosize.ts +19 -0
- package/src/media/mdx/Tooltip/event.tooltip.en.mdx +7 -0
- package/src/media/mdx/Tooltip/event.tooltip.ru.mdx +8 -0
- package/src/media/mdx/Tooltip/slot.control.en.mdx +5 -0
- package/src/media/mdx/Tooltip/slot.control.ru.mdx +5 -0
- package/src/media/mdx/Tooltip/tooltip.en.mdx +34 -0
- package/src/media/mdx/Tooltip/tooltip.ru.mdx +34 -0
- package/src/media/mdx/Tooltip/wikiMdxTooltip.ts +31 -0
- package/src/media/mdx/Window/axis.en.mdx +17 -0
- package/src/media/mdx/Window/axis.ru.mdx +17 -0
- package/src/media/mdx/Window/classes.en.mdx +11 -0
- package/src/media/mdx/Window/classes.ru.mdx +11 -0
- package/src/media/mdx/Window/event.window.en.mdx +31 -0
- package/src/media/mdx/Window/event.window.ru.mdx +31 -0
- package/src/media/mdx/Window/expose.en.mdx +17 -0
- package/src/media/mdx/Window/expose.ru.mdx +17 -0
- package/src/media/mdx/Window/hooks.en.mdx +31 -0
- package/src/media/mdx/Window/hooks.ru.mdx +31 -0
- package/src/media/mdx/Window/slots.en.mdx +29 -0
- package/src/media/mdx/Window/slots.ru.mdx +29 -0
- package/src/media/mdx/Window/staticMode.en.mdx +10 -0
- package/src/media/mdx/Window/staticMode.ru.mdx +10 -0
- package/src/media/mdx/Window/v-model.en.mdx +25 -0
- package/src/media/mdx/Window/v-model.ru.mdx +25 -0
- package/src/media/mdx/Window/wikiMdxWindow.ts +67 -0
- package/src/media/mdx/Window/window.en.mdx +55 -0
- package/src/media/mdx/Window/window.ru.mdx +55 -0
- package/src/media/mdx/event/events.actions.en.mdx +44 -0
- package/src/media/mdx/event/events.actions.ru.mdx +44 -0
- package/src/media/mdx/event/events.bars.en.mdx +50 -0
- package/src/media/mdx/event/events.bars.ru.mdx +50 -0
- package/src/media/mdx/event/events.beforeinput.en.mdx +13 -0
- package/src/media/mdx/event/events.beforeinput.ru.mdx +13 -0
- package/src/media/mdx/event/events.click.en.mdx +36 -0
- package/src/media/mdx/event/events.click.ru.mdx +36 -0
- package/src/media/mdx/event/events.focus.en.mdx +13 -0
- package/src/media/mdx/event/events.focus.ru.mdx +13 -0
- package/src/media/mdx/event/events.input.en.mdx +89 -0
- package/src/media/mdx/event/events.input.ru.mdx +88 -0
- package/src/media/mdx/event/events.inputStandard.en.mdx +6 -0
- package/src/media/mdx/event/events.inputStandard.ru.mdx +6 -0
- package/src/media/mdx/event/events.keyboard.en.mdx +13 -0
- package/src/media/mdx/event/events.keyboard.ru.mdx +13 -0
- package/src/media/mdx/event/events.paste.en.mdx +6 -0
- package/src/media/mdx/event/events.paste.ru.mdx +6 -0
- package/src/media/mdx/event/events.reset.en.mdx +6 -0
- package/src/media/mdx/event/events.reset.ru.mdx +6 -0
- package/src/media/mdx/event/wikiMdxEvent.ts +68 -0
- package/src/media/mdx/expose/expose.checkValidity.en.mdx +1 -0
- package/src/media/mdx/expose/expose.checkValidity.ru.mdx +1 -0
- package/src/media/mdx/expose/expose.clear.en.mdx +1 -0
- package/src/media/mdx/expose/expose.clear.ru.mdx +1 -0
- package/src/media/mdx/expose/expose.descriptionId.en.mdx +2 -0
- package/src/media/mdx/expose/expose.descriptionId.ru.mdx +2 -0
- package/src/media/mdx/expose/expose.detail.en.mdx +1 -0
- package/src/media/mdx/expose/expose.detail.ru.mdx +1 -0
- package/src/media/mdx/expose/expose.id.en.mdx +2 -0
- package/src/media/mdx/expose/expose.id.ru.mdx +2 -0
- package/src/media/mdx/expose/expose.labelId.en.mdx +2 -0
- package/src/media/mdx/expose/expose.labelId.ru.mdx +2 -0
- package/src/media/mdx/expose/expose.open.en.mdx +1 -0
- package/src/media/mdx/expose/expose.open.ru.mdx +1 -0
- package/src/media/mdx/expose/expose.selected.en.mdx +4 -0
- package/src/media/mdx/expose/expose.selected.ru.mdx +4 -0
- package/src/media/mdx/expose/expose.validationMessage.en.mdx +1 -0
- package/src/media/mdx/expose/expose.validationMessage.ru.mdx +1 -0
- package/src/media/mdx/expose/expose.value.en.mdx +1 -0
- package/src/media/mdx/expose/expose.value.ru.mdx +1 -0
- package/src/media/mdx/expose/wikiMdxExpose.ts +68 -0
- package/src/media/mdx/slot/body.en.mdx +1 -0
- package/src/media/mdx/slot/body.ru.mdx +1 -0
- package/src/media/mdx/slot/caption.en.mdx +1 -0
- package/src/media/mdx/slot/caption.ru.mdx +1 -0
- package/src/media/mdx/slot/control.en.mdx +1 -0
- package/src/media/mdx/slot/control.ru.mdx +1 -0
- package/src/media/mdx/slot/default.en.mdx +1 -0
- package/src/media/mdx/slot/default.ru.mdx +1 -0
- package/src/media/mdx/slot/description.en.mdx +1 -0
- package/src/media/mdx/slot/description.ru.mdx +1 -0
- package/src/media/mdx/slot/footer.en.mdx +1 -0
- package/src/media/mdx/slot/footer.ru.mdx +1 -0
- package/src/media/mdx/slot/headline.en.mdx +1 -0
- package/src/media/mdx/slot/headline.ru.mdx +1 -0
- package/src/media/mdx/slot/label.en.mdx +1 -0
- package/src/media/mdx/slot/label.ru.mdx +1 -0
- package/src/media/mdx/slot/leading.en.mdx +1 -0
- package/src/media/mdx/slot/leading.ru.mdx +1 -0
- package/src/media/mdx/slot/prefix.en.mdx +1 -0
- package/src/media/mdx/slot/prefix.ru.mdx +1 -0
- package/src/media/mdx/slot/secondary.en.mdx +1 -0
- package/src/media/mdx/slot/secondary.ru.mdx +1 -0
- package/src/media/mdx/slot/suffix.en.mdx +1 -0
- package/src/media/mdx/slot/suffix.ru.mdx +1 -0
- package/src/media/mdx/slot/trailing.en.mdx +1 -0
- package/src/media/mdx/slot/trailing.ru.mdx +1 -0
- package/src/media/mdx/slot/wikiMdxSlot.ts +84 -0
- package/src/media/mdx/style/adaptive.en.mdx +10 -0
- package/src/media/mdx/style/adaptive.ru.mdx +10 -0
- package/src/media/mdx/style/asPalette.en.mdx +17 -0
- package/src/media/mdx/style/asPalette.ru.mdx +17 -0
- package/src/media/mdx/style/dir.en.mdx +17 -0
- package/src/media/mdx/style/dir.ru.mdx +17 -0
- package/src/media/mdx/style/isSkeleton.en.mdx +22 -0
- package/src/media/mdx/style/isSkeleton.ru.mdx +22 -0
- package/src/media/mdx/style/wikiMdxStyle.ts +20 -0
- package/src/media/mdx/value/highlight.en.mdx +25 -0
- package/src/media/mdx/value/highlight.ru.mdx +25 -0
- package/src/media/mdx/value/labelNumber.en.mdx +47 -0
- package/src/media/mdx/value/labelNumber.ru.mdx +47 -0
- package/src/media/mdx/value/v-model-selected.en.mdx +28 -0
- package/src/media/mdx/value/v-model-selected.ru.mdx +28 -0
- package/src/media/mdx/value/v-model.en.mdx +26 -0
- package/src/media/mdx/value/v-model.ru.mdx +26 -0
- package/src/media/mdx/value/value.en.mdx +10 -0
- package/src/media/mdx/value/value.ru.mdx +10 -0
- package/src/media/mdx/value/wikiMdxValue.ts +38 -0
- package/src/media/mdx/wikiMdx.ts +121 -0
- package/src/media/props/wiki.ts +107 -0
- package/src/media/props/wikiActions.ts +45 -0
- package/src/media/props/wikiActionsInclude.ts +66 -0
- package/src/media/props/wikiAnchor.ts +91 -0
- package/src/media/props/wikiAria.ts +145 -0
- package/src/media/props/wikiArrow.ts +25 -0
- package/src/media/props/wikiArrowInclude.ts +48 -0
- package/src/media/props/wikiAttributes.ts +211 -0
- package/src/media/props/wikiBadge.ts +48 -0
- package/src/media/props/wikiBars.ts +145 -0
- package/src/media/props/wikiBarsInclude.ts +87 -0
- package/src/media/props/wikiButton.ts +61 -0
- package/src/media/props/wikiCheckbox.ts +25 -0
- package/src/media/props/wikiChip.ts +37 -0
- package/src/media/props/wikiChipGroup.ts +39 -0
- package/src/media/props/wikiDialog.ts +33 -0
- package/src/media/props/wikiField.ts +121 -0
- package/src/media/props/wikiFieldCounterInclude.ts +89 -0
- package/src/media/props/wikiForm.ts +323 -0
- package/src/media/props/wikiGridItem.ts +73 -0
- package/src/media/props/wikiHook.ts +79 -0
- package/src/media/props/wikiIcon.ts +146 -0
- package/src/media/props/wikiIconInclude.ts +365 -0
- package/src/media/props/wikiImage.ts +208 -0
- package/src/media/props/wikiInformation.ts +220 -0
- package/src/media/props/wikiInput.ts +35 -0
- package/src/media/props/wikiList.ts +281 -0
- package/src/media/props/wikiListItem.ts +101 -0
- package/src/media/props/wikiMask.ts +123 -0
- package/src/media/props/wikiMaskInclude.ts +58 -0
- package/src/media/props/wikiMenu.ts +84 -0
- package/src/media/props/wikiMotionAxis.ts +55 -0
- package/src/media/props/wikiMotionTransform.ts +82 -0
- package/src/media/props/wikiOption.ts +410 -0
- package/src/media/props/wikiProgress.ts +104 -0
- package/src/media/props/wikiPropsTextarea.ts +24 -0
- package/src/media/props/wikiScrollbar.ts +89 -0
- package/src/media/props/wikiSelect.ts +68 -0
- package/src/media/props/wikiSelectValue.ts +30 -0
- package/src/media/props/wikiSnackbar.ts +58 -0
- package/src/media/props/wikiSnackbarItem.ts +39 -0
- package/src/media/props/wikiStatus.ts +172 -0
- package/src/media/props/wikiStyle.ts +382 -0
- package/src/media/props/wikiTabs.ts +15 -0
- package/src/media/props/wikiTabsNavigation.ts +54 -0
- package/src/media/props/wikiTechnical.ts +199 -0
- package/src/media/props/wikiText.ts +181 -0
- package/src/media/props/wikiTooltip.ts +53 -0
- package/src/media/props/wikiValue.ts +197 -0
- package/src/media/props/wikiWindow.ts +277 -0
- package/src/media/styles/en/about.mdx +79 -0
- package/src/media/styles/en/color.mdx +711 -0
- package/src/media/styles/en/content.mdx +29 -0
- package/src/media/styles/en/dimension.mdx +233 -0
- package/src/media/styles/en/dir.mdx +193 -0
- package/src/media/styles/en/flex.mdx +249 -0
- package/src/media/styles/en/font.mdx +171 -0
- package/src/media/styles/en/margin.mdx +115 -0
- package/src/media/styles/en/media.mdx +133 -0
- package/src/media/styles/en/padding.mdx +115 -0
- package/src/media/styles/en/position.mdx +183 -0
- package/src/media/styles/en/rules.mdx +117 -0
- package/src/media/styles/en/scrollbar.mdx +27 -0
- package/src/media/styles/en/selector.mdx +153 -0
- package/src/media/styles/en/transform.mdx +114 -0
- package/src/media/styles/ru/about.mdx +78 -0
- package/src/media/styles/ru/color.mdx +711 -0
- package/src/media/styles/ru/content.mdx +30 -0
- package/src/media/styles/ru/dimension.mdx +233 -0
- package/src/media/styles/ru/dir.mdx +193 -0
- package/src/media/styles/ru/flex.mdx +249 -0
- package/src/media/styles/ru/font.mdx +171 -0
- package/src/media/styles/ru/margin.mdx +115 -0
- package/src/media/styles/ru/media.mdx +133 -0
- package/src/media/styles/ru/padding.mdx +115 -0
- package/src/media/styles/ru/position.mdx +183 -0
- package/src/media/styles/ru/rules.mdx +117 -0
- package/src/media/styles/ru/scrollbar.mdx +27 -0
- package/src/media/styles/ru/selector.mdx +153 -0
- package/src/media/styles/ru/transform.mdx +114 -0
- package/src/types/storybookTypes.ts +273 -0
- package/src/types/wikiTypes.ts +10 -0
- package/src/vite-env.d.ts +1 -0
- package/dist/classes/WikiStorybook.d.ts +0 -161
- package/dist/classes/WikiStorybookDescriptions.d.ts +0 -29
- package/dist/classes/WikiStorybookItem.d.ts +0 -122
- package/dist/classes/WikiStorybookProp.d.ts +0 -76
- package/dist/documentation/storybook/StorybookDescriptions.d.ts +0 -12
- package/dist/documentation/storybook/StorybookMain.d.ts +0 -6
- package/dist/library.d.ts +0 -6
- package/dist/library.js +0 -30346
- package/dist/media/descriptions/wikiDescriptions.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsAccordion.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsActionSheet.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsActions.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsAnchor.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsArrow.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsBadge.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsBars.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsBlock.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsButton.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsCell.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsCheckbox.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsChip.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsChipGroup.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsDialog.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsDummy.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsField.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsFieldCounter.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsFieldLabel.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsFieldMessage.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsGrid.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsGridItem.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsGroup.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsHorizontalScroll.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsIcon.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsImage.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsInput.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsList.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsListGroup.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsListItem.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsListMenu.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsMask.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsMenu.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsModal.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsMotionAxis.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsMotionTransform.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsPage.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsProgress.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsRipple.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsScrollbar.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsSection.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsSelect.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsSelectValue.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsSkeleton.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsSnackbar.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsSnackbarItem.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsTabItem.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsTabs.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsTabsNavigation.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsTextarea.d.ts +0 -2
- package/dist/media/descriptions/wikiDescriptionsTextareaAutosize.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsTooltip.d.ts +0 -7
- package/dist/media/descriptions/wikiDescriptionsWindow.d.ts +0 -7
- package/dist/media/mdx/Accordion/wikiMdxAccordion.d.ts +0 -7
- package/dist/media/mdx/ActionSheet/wikiMdxActionSheet.d.ts +0 -7
- package/dist/media/mdx/Actions/wikiMdxActions.d.ts +0 -7
- package/dist/media/mdx/Anchor/wikiMdxAnchor.d.ts +0 -7
- package/dist/media/mdx/Arrow/wikiMdxArrow.d.ts +0 -7
- package/dist/media/mdx/Badge/wikiMdxBadge.d.ts +0 -7
- package/dist/media/mdx/Bars/wikiMdxBars.d.ts +0 -7
- package/dist/media/mdx/Block/wikiMdxBlock.d.ts +0 -7
- package/dist/media/mdx/Button/wikiMdxButton.d.ts +0 -7
- package/dist/media/mdx/Cell/wikiMdxCell.d.ts +0 -7
- package/dist/media/mdx/Checkbox/wikiMdxCheckbox.d.ts +0 -7
- package/dist/media/mdx/Chip/wikiMdxChip.d.ts +0 -7
- package/dist/media/mdx/ChipGroup/wikiMdxChipGroup.d.ts +0 -7
- package/dist/media/mdx/Dialog/wikiMdxDialog.d.ts +0 -7
- package/dist/media/mdx/Dummy/wikiMdxDummy.d.ts +0 -7
- package/dist/media/mdx/Field/wikiMdxField.d.ts +0 -7
- package/dist/media/mdx/FieldCounter/wikiMdxFieldCounter.d.ts +0 -7
- package/dist/media/mdx/FieldLabel/wikiMdxFieldLabel.d.ts +0 -7
- package/dist/media/mdx/FieldMessage/wikiMdxFieldMessage.d.ts +0 -7
- package/dist/media/mdx/Grid/wikiMdxGrid.d.ts +0 -7
- package/dist/media/mdx/GridItem/wikiMdxGridItem.d.ts +0 -7
- package/dist/media/mdx/Group/wikiMdxGroup.d.ts +0 -7
- package/dist/media/mdx/HorizontalScroll/wikiMdxHorizontalScroll.d.ts +0 -7
- package/dist/media/mdx/Icon/wikiMdxIcon.d.ts +0 -2
- package/dist/media/mdx/Image/wikiMdxImage.d.ts +0 -2
- package/dist/media/mdx/Input/wikiMdxInput.d.ts +0 -7
- package/dist/media/mdx/List/wikiMdxList.d.ts +0 -7
- package/dist/media/mdx/ListGroup/wikiMdxListGroup.d.ts +0 -7
- package/dist/media/mdx/ListItem/wikiMdxListItem.d.ts +0 -7
- package/dist/media/mdx/ListMenu/wikiMdxListMenu.d.ts +0 -7
- package/dist/media/mdx/Mask/wikiMdxMask.d.ts +0 -7
- package/dist/media/mdx/Menu/wikiMdxMenu.d.ts +0 -3
- package/dist/media/mdx/Modal/wikiMdxModal.d.ts +0 -7
- package/dist/media/mdx/MotionAxis/wikiMdxMotionAxis.d.ts +0 -7
- package/dist/media/mdx/MotionTransform/wikiMdxMotionTransform.d.ts +0 -7
- package/dist/media/mdx/Page/wikiMdxPage.d.ts +0 -7
- package/dist/media/mdx/Progress/wikiMdxProgress.d.ts +0 -2
- package/dist/media/mdx/Ripple/wikiMdxRipple.d.ts +0 -2
- package/dist/media/mdx/Scrollbar/wikiMdxScrollbar.d.ts +0 -7
- package/dist/media/mdx/Section/wikiMdxSection.d.ts +0 -7
- package/dist/media/mdx/Select/wikiMdxSelect.d.ts +0 -7
- package/dist/media/mdx/SelectValue/wikiMdxSelectValue.d.ts +0 -7
- package/dist/media/mdx/Skeleton/wikiMdxSkeleton.d.ts +0 -2
- package/dist/media/mdx/Snackbar/wikiMdxSnackbar.d.ts +0 -7
- package/dist/media/mdx/SnackbarItem/wikiMdxSnackbarItem.d.ts +0 -7
- package/dist/media/mdx/TabItem/wikiMdxTabItem.d.ts +0 -7
- package/dist/media/mdx/Tabs/wikiMdxTabs.d.ts +0 -7
- package/dist/media/mdx/TabsNavigation/wikiMdxTabsNavigation.d.ts +0 -7
- package/dist/media/mdx/Textarea/wikiMdxTextarea.d.ts +0 -7
- package/dist/media/mdx/TextareaAutosize/wikiMdxTextareaAutosize.d.ts +0 -7
- package/dist/media/mdx/Tooltip/wikiMdxTooltip.d.ts +0 -7
- package/dist/media/mdx/Window/wikiMdxWindow.d.ts +0 -7
- package/dist/media/mdx/event/wikiMdxEvent.d.ts +0 -2
- package/dist/media/mdx/expose/wikiMdxExpose.d.ts +0 -2
- package/dist/media/mdx/slot/wikiMdxSlot.d.ts +0 -2
- package/dist/media/mdx/style/wikiMdxStyle.d.ts +0 -2
- package/dist/media/mdx/value/wikiMdxValue.d.ts +0 -2
- package/dist/media/mdx/wikiMdx.d.ts +0 -2
- package/dist/media/props/wiki.d.ts +0 -2
- package/dist/media/props/wikiActions.d.ts +0 -7
- package/dist/media/props/wikiActionsInclude.d.ts +0 -7
- package/dist/media/props/wikiAnchor.d.ts +0 -7
- package/dist/media/props/wikiAria.d.ts +0 -7
- package/dist/media/props/wikiArrow.d.ts +0 -7
- package/dist/media/props/wikiArrowInclude.d.ts +0 -7
- package/dist/media/props/wikiAttributes.d.ts +0 -7
- package/dist/media/props/wikiBadge.d.ts +0 -7
- package/dist/media/props/wikiBars.d.ts +0 -7
- package/dist/media/props/wikiBarsInclude.d.ts +0 -7
- package/dist/media/props/wikiButton.d.ts +0 -7
- package/dist/media/props/wikiCheckbox.d.ts +0 -7
- package/dist/media/props/wikiChip.d.ts +0 -7
- package/dist/media/props/wikiChipGroup.d.ts +0 -7
- package/dist/media/props/wikiDialog.d.ts +0 -7
- package/dist/media/props/wikiField.d.ts +0 -7
- package/dist/media/props/wikiFieldCounterInclude.d.ts +0 -7
- package/dist/media/props/wikiForm.d.ts +0 -2
- package/dist/media/props/wikiGridItem.d.ts +0 -7
- package/dist/media/props/wikiHook.d.ts +0 -7
- package/dist/media/props/wikiIcon.d.ts +0 -2
- package/dist/media/props/wikiIconInclude.d.ts +0 -2
- package/dist/media/props/wikiImage.d.ts +0 -7
- package/dist/media/props/wikiInformation.d.ts +0 -2
- package/dist/media/props/wikiInput.d.ts +0 -7
- package/dist/media/props/wikiList.d.ts +0 -7
- package/dist/media/props/wikiListItem.d.ts +0 -7
- package/dist/media/props/wikiMask.d.ts +0 -7
- package/dist/media/props/wikiMaskInclude.d.ts +0 -7
- package/dist/media/props/wikiMenu.d.ts +0 -7
- package/dist/media/props/wikiMotionAxis.d.ts +0 -7
- package/dist/media/props/wikiMotionTransform.d.ts +0 -7
- package/dist/media/props/wikiOption.d.ts +0 -7
- package/dist/media/props/wikiProgress.d.ts +0 -7
- package/dist/media/props/wikiPropsTextarea.d.ts +0 -7
- package/dist/media/props/wikiScrollbar.d.ts +0 -7
- package/dist/media/props/wikiSelect.d.ts +0 -7
- package/dist/media/props/wikiSelectValue.d.ts +0 -7
- package/dist/media/props/wikiSnackbar.d.ts +0 -7
- package/dist/media/props/wikiSnackbarItem.d.ts +0 -7
- package/dist/media/props/wikiStatus.d.ts +0 -7
- package/dist/media/props/wikiStyle.d.ts +0 -7
- package/dist/media/props/wikiTabs.d.ts +0 -7
- package/dist/media/props/wikiTabsNavigation.d.ts +0 -7
- package/dist/media/props/wikiTechnical.d.ts +0 -7
- package/dist/media/props/wikiText.d.ts +0 -7
- package/dist/media/props/wikiTooltip.d.ts +0 -7
- package/dist/media/props/wikiValue.d.ts +0 -7
- package/dist/media/props/wikiWindow.d.ts +0 -7
- package/dist/media.d.ts +0 -8
- package/dist/storybook.d.ts +0 -2
- package/dist/types/storybookTypes.d.ts +0 -244
- package/dist/types/wikiTypes.d.ts +0 -9
- /package/{dist → src}/shims-mdx.d.ts +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
## Управление состоянием через v-model
|
|
2
|
+
|
|
3
|
+
Двусторонняя привязка выбранного слайда через `v-model:selected`.
|
|
4
|
+
|
|
5
|
+
**Параметры:**
|
|
6
|
+
- `selected: string | number` — идентификатор выбранного слайда
|
|
7
|
+
|
|
8
|
+
```html
|
|
9
|
+
<script setup>
|
|
10
|
+
import { ref } from 'vue'
|
|
11
|
+
|
|
12
|
+
const selected = ref('slide1')
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div class="buttons">
|
|
17
|
+
<button @click="selected = 'slide1'">Слайд 1</button>
|
|
18
|
+
<button @click="selected = 'slide2'">Слайд 2</button>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<MotionAxis v-model:selected="selected">
|
|
22
|
+
<template #slide1>
|
|
23
|
+
<div>Контент слайда 1</div>
|
|
24
|
+
</template>
|
|
25
|
+
<template #slide2>
|
|
26
|
+
<div>Контент слайда 2</div>
|
|
27
|
+
</template>
|
|
28
|
+
</MotionAxis>
|
|
29
|
+
</template>
|
|
30
|
+
```
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { StorybookComponentsMdxItem } from '../../../types/storybookTypes'
|
|
2
|
+
|
|
3
|
+
import classesEn from './classes.en.mdx'
|
|
4
|
+
import classesRu from './classes.ru.mdx'
|
|
5
|
+
import eventEn from './event.en.mdx'
|
|
6
|
+
import eventRu from './event.ru.mdx'
|
|
7
|
+
import exposeEn from './expose.en.mdx'
|
|
8
|
+
import exposeRu from './expose.ru.mdx'
|
|
9
|
+
import motionAxisEn from './motionAxis.en.mdx'
|
|
10
|
+
import motionAxisRu from './motionAxis.ru.mdx'
|
|
11
|
+
import slotsEn from './slots.en.mdx'
|
|
12
|
+
import slotsRu from './slots.ru.mdx'
|
|
13
|
+
import vModelEn from './v-model.en.mdx'
|
|
14
|
+
import vModelRu from './v-model.ru.mdx'
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* MDX files for MotionAxis component
|
|
18
|
+
*
|
|
19
|
+
* MDX файлы для компонента MotionAxis
|
|
20
|
+
*/
|
|
21
|
+
export const wikiMdxMotionAxis: StorybookComponentsMdxItem = {
|
|
22
|
+
name: 'MotionAxis',
|
|
23
|
+
descriptions: {
|
|
24
|
+
'classes': {
|
|
25
|
+
en: classesEn,
|
|
26
|
+
ru: classesRu
|
|
27
|
+
},
|
|
28
|
+
'events': {
|
|
29
|
+
en: eventEn,
|
|
30
|
+
ru: eventRu
|
|
31
|
+
},
|
|
32
|
+
'expose': {
|
|
33
|
+
en: exposeEn,
|
|
34
|
+
ru: exposeRu
|
|
35
|
+
},
|
|
36
|
+
'motionAxis': {
|
|
37
|
+
en: motionAxisEn,
|
|
38
|
+
ru: motionAxisRu
|
|
39
|
+
},
|
|
40
|
+
'slots': {
|
|
41
|
+
en: slotsEn,
|
|
42
|
+
ru: slotsRu
|
|
43
|
+
},
|
|
44
|
+
'v-model': {
|
|
45
|
+
en: vModelEn,
|
|
46
|
+
ru: vModelRu
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
## Head position animation
|
|
2
|
+
|
|
3
|
+
The `animationHeadPosition` property controls how the Head area behaves during show/hide animations.
|
|
4
|
+
|
|
5
|
+
**Possible values:**
|
|
6
|
+
|
|
7
|
+
- `'top'` — keeps the Head at the top during transition (default)
|
|
8
|
+
- `'toBottom'` — animates the Head toward the bottom together with content
|
|
9
|
+
|
|
10
|
+
Synchronizes header movement with content animation using CSS transforms for smooth transitions. Suitable for collapsing layouts when the header should travel with expanding content. When the `section` property is enabled (set to `true`), the `animationHeadPosition` parameter is ignored and does not affect animation behavior.
|
|
11
|
+
|
|
12
|
+
```html
|
|
13
|
+
<!-- Head stays at top -->
|
|
14
|
+
<MotionTransform animationHeadPosition="top" />
|
|
15
|
+
|
|
16
|
+
<!-- Head moves down with content -->
|
|
17
|
+
<MotionTransform animationHeadPosition="toBottom" />
|
|
18
|
+
```
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
## Анимация позиции заголовка
|
|
2
|
+
|
|
3
|
+
Свойство `animationHeadPosition` определяет поведение области Head во время анимаций показа/скрытия.
|
|
4
|
+
|
|
5
|
+
**Возможные значения:**
|
|
6
|
+
|
|
7
|
+
- `'top'` — сохраняет Head вверху во время перехода (по умолчанию)
|
|
8
|
+
- `'toBottom'` — анимирует Head вниз вместе с контентом
|
|
9
|
+
|
|
10
|
+
Синхронизирует движение заголовка с анимацией контента, используя CSS-трансформации для плавных переходов. Подходит для сворачиваемых макетов, когда заголовок должен перемещаться вместе с разворачивающимся содержимым. При включенном свойстве `section` (установлено в `true`) параметр `animationHeadPosition` игнорируется и не влияет на поведение анимации.
|
|
11
|
+
|
|
12
|
+
```html
|
|
13
|
+
<!-- Head остается вверху -->
|
|
14
|
+
<MotionTransform animationHeadPosition="top" />
|
|
15
|
+
|
|
16
|
+
<!-- Head движется вниз с контентом -->
|
|
17
|
+
<MotionTransform animationHeadPosition="toBottom" />
|
|
18
|
+
```
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
## CSS Classes for Behavior Control
|
|
2
|
+
|
|
3
|
+
**State classes:**
|
|
4
|
+
|
|
5
|
+
- `*--open` — component is fully open and its content is visible
|
|
6
|
+
- `*--show` — component is visible or in the process of open/close animation
|
|
7
|
+
- `*--window` — component operates in window mode (with teleportation)
|
|
8
|
+
- `*--click` — added briefly on click for feedback effects
|
|
9
|
+
|
|
10
|
+
**Control classes:**
|
|
11
|
+
|
|
12
|
+
- `*--close` — applied to element to trigger MotionTransform closing on click
|
|
13
|
+
- `*--none` — disables default behavior (open/close) for the element
|
|
14
|
+
- `*--noneGlobal` — globally disables MotionTransform events
|
|
15
|
+
|
|
16
|
+
**Element classes:**
|
|
17
|
+
|
|
18
|
+
- `*__context` — class for context element for positioning
|
|
19
|
+
- `*__head` — class for header area that acts as a trigger
|
|
20
|
+
- `*__body` — class for content area that appears and disappears
|
|
21
|
+
- `*__backdrop` — class for backdrop element to create overlay effect
|
|
22
|
+
- `*__scrim` — class for scrim layer in modal modes
|
|
23
|
+
- `*__clickNone` — class for element that ignores clicks
|
|
24
|
+
|
|
25
|
+
Where `*` is the component class name (e.g., `d1-motion-transform`, `m3-motion-transform`).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
## CSS классы для управления поведением
|
|
2
|
+
|
|
3
|
+
**Классы состояний:**
|
|
4
|
+
|
|
5
|
+
- `*--open` — компонент полностью открыт и его содержимое видимо
|
|
6
|
+
- `*--show` — компонент видим или находится в процессе анимации открытия/закрытия
|
|
7
|
+
- `*--window` — компонент работает в режиме окна (с телепортацией)
|
|
8
|
+
- `*--click` — добавляется на короткое время при клике для эффектов обратной связи
|
|
9
|
+
|
|
10
|
+
**Классы управления:**
|
|
11
|
+
|
|
12
|
+
- `*--close` — применяется к элементу для закрытия MotionTransform при клике
|
|
13
|
+
- `*--none` — отключает стандартное поведение (открытие/закрытие) для элемента
|
|
14
|
+
- `*--noneGlobal` — глобально отключает события MotionTransform
|
|
15
|
+
|
|
16
|
+
**Классы элементов:**
|
|
17
|
+
|
|
18
|
+
- `*__context` — класс для контекстного элемента для позиционирования
|
|
19
|
+
- `*__head` — класс для области заголовка, которая выступает в роли триггера
|
|
20
|
+
- `*__body` — класс для области содержимого, которая появляется и исчезает
|
|
21
|
+
- `*__backdrop` — класс для элемента заднего фона для создания эффекта наложения
|
|
22
|
+
- `*__scrim` — класс для затемняющего слоя в модальных режимах
|
|
23
|
+
- `*__clickNone` — класс для элемента, который игнорирует клики
|
|
24
|
+
|
|
25
|
+
Где `*` — название класса компонента (например, `d1-motion-transform`, `m3-motion-transform`).
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
### `transform`
|
|
2
|
+
|
|
3
|
+
Event fires when MotionTransform state changes with full event context.
|
|
4
|
+
|
|
5
|
+
**Parameters:**
|
|
6
|
+
- `event: Event | undefined` — DOM event that triggered the change (if any)
|
|
7
|
+
- `options: MotionTransformEmitOptions` — object with transform data
|
|
8
|
+
|
|
9
|
+
**MotionTransformEmitOptions structure:**
|
|
10
|
+
- `type: 'head' | 'body' | 'top' | 'script'` — area type that initiated the event
|
|
11
|
+
- `open: boolean` — current open state (`true` - open, `false` - closed)
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<script setup>
|
|
15
|
+
const handleTransform = (event, options) => {
|
|
16
|
+
console.log('Event:', event)
|
|
17
|
+
console.log('Type:', options.type)
|
|
18
|
+
console.log('Open state:', options.open)
|
|
19
|
+
}
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<template>
|
|
23
|
+
<Component @transform="handleTransform">
|
|
24
|
+
<template #head>
|
|
25
|
+
<div>Header</div>
|
|
26
|
+
</template>
|
|
27
|
+
<template #body>
|
|
28
|
+
<p>Content</p>
|
|
29
|
+
</template>
|
|
30
|
+
</Component>
|
|
31
|
+
</template>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### `transformLite`
|
|
35
|
+
|
|
36
|
+
Event fires when MotionTransform state changes without DOM event context (lightweight version).
|
|
37
|
+
|
|
38
|
+
**Parameters:**
|
|
39
|
+
- `options: MotionTransformEmitOptions` — object with transform data
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
### `transform`
|
|
2
|
+
|
|
3
|
+
Событие срабатывает при изменении состояния MotionTransform с полным контекстом события.
|
|
4
|
+
|
|
5
|
+
**Параметры:**
|
|
6
|
+
- `event: Event | undefined` — DOM-событие, которое вызвало изменение (если есть)
|
|
7
|
+
- `options: MotionTransformEmitOptions` — объект с данными трансформации
|
|
8
|
+
|
|
9
|
+
**Структура MotionTransformEmitOptions:**
|
|
10
|
+
- `type: 'head' | 'body' | 'top' | 'script'` — тип области, которая инициировала событие
|
|
11
|
+
- `open: boolean` — текущее состояние открытия (`true` - открыто, `false` - закрыто)
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<script setup>
|
|
15
|
+
const handleTransform = (event, options) => {
|
|
16
|
+
console.log('Событие:', event)
|
|
17
|
+
console.log('Тип:', options.type)
|
|
18
|
+
console.log('Состояние открытия:', options.open)
|
|
19
|
+
}
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<template>
|
|
23
|
+
<Component @transform="handleTransform">
|
|
24
|
+
<template #head>
|
|
25
|
+
<div>Заголовок</div>
|
|
26
|
+
</template>
|
|
27
|
+
<template #body>
|
|
28
|
+
<p>Содержимое</p>
|
|
29
|
+
</template>
|
|
30
|
+
</Component>
|
|
31
|
+
</template>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### `transformLite`
|
|
35
|
+
|
|
36
|
+
Событие срабатывает при изменении состояния MotionTransform без контекста DOM-события (облегчённая версия).
|
|
37
|
+
|
|
38
|
+
**Параметры:**
|
|
39
|
+
- `options: MotionTransformEmitOptions` — объект с данными трансформации
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
- `open: Ref<boolean>` — reactive open state.
|
|
2
|
+
- `isShow: ComputedRef<boolean>` — computed visibility state.
|
|
3
|
+
- `setOpen(open: boolean): void` — sets the open state.
|
|
4
|
+
- `toOpen(): void` — transitions to the open state.
|
|
5
|
+
- `toClose(): void` — transitions to the close state.
|
|
6
|
+
- `toggle(): void` — toggles the open state.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
- `motionTransformElement: Ref<ConstrBind<MotionTransformExpose> | undefined>` — Reactive reference to the nested MotionTransform component's expose API, providing programmatic access to control methods.
|
|
2
|
+
|
|
3
|
+
> **Methods via motionTransformElement.value:**
|
|
4
|
+
> - `open: Ref<boolean>` — reactive open state
|
|
5
|
+
> - `isShow: ComputedRef<boolean>` — computed visibility state
|
|
6
|
+
> - `setOpen(open: boolean): void` — set open state
|
|
7
|
+
> - `toOpen(): void` — open component
|
|
8
|
+
> - `toClose(): void` — close component
|
|
9
|
+
> - `toggle(): void` — toggle state
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
- `motionTransformElement: Ref<ConstrBind<MotionTransformExpose> | undefined>` — Реактивная ссылка на expose API вложенного компонента MotionTransform, предоставляющая программный доступ к методам управления.
|
|
2
|
+
|
|
3
|
+
> **Методы через motionTransformElement.value:**
|
|
4
|
+
> - `open: Ref<boolean>` — реактивное состояние открытия
|
|
5
|
+
> - `isShow: ComputedRef<boolean>` — вычисляемое состояние видимости
|
|
6
|
+
> - `setOpen(open: boolean): void` — установить состояние открытия
|
|
7
|
+
> - `toOpen(): void` — открыть компонент
|
|
8
|
+
> - `toClose(): void` — закрыть компонент
|
|
9
|
+
> - `toggle(): void` — переключить состояние
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
- `open: Ref<boolean>` — реактивное состояние открытия.
|
|
2
|
+
- `isShow: ComputedRef<boolean>` — вычисляемое состояние видимости.
|
|
3
|
+
- `setOpen(open: boolean): void` — устанавливает состояние открытия.
|
|
4
|
+
- `toOpen(): void` — переводит в состояние открытия.
|
|
5
|
+
- `toClose(): void` — переводит в состояние закрытия.
|
|
6
|
+
- `toggle(): void` — переключает состояние открытия.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
## Ignore zones
|
|
2
|
+
|
|
3
|
+
Properties that exclude elements from outside-click checks and auto-close logic.
|
|
4
|
+
|
|
5
|
+
**Properties:**
|
|
6
|
+
|
|
7
|
+
- `ignore` — DOM element reference or CSS selector to exclude from outside-click detection
|
|
8
|
+
- `ignoreSelector` — CSS selector to exclude multiple elements simultaneously
|
|
9
|
+
|
|
10
|
+
Both properties work together during outside-click evaluation. `ignore` is more precise and faster for single elements, can reference a specific DOM element directly. `ignoreSelector` is more flexible, can match multiple elements with a single selector, better suited for dynamic content. Use for trigger buttons, helper controls, and nested interactive areas.
|
|
11
|
+
|
|
12
|
+
```html
|
|
13
|
+
<script setup>
|
|
14
|
+
import { ref } from 'vue'
|
|
15
|
+
|
|
16
|
+
const triggerButton = ref()
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<template>
|
|
20
|
+
<!-- Ignoring specific element -->
|
|
21
|
+
<MotionTransform :ignore="triggerButton" />
|
|
22
|
+
|
|
23
|
+
<!-- Ignoring by selector -->
|
|
24
|
+
<MotionTransform ignoreSelector=".trigger-button" />
|
|
25
|
+
|
|
26
|
+
<!-- Combining both properties -->
|
|
27
|
+
<MotionTransform
|
|
28
|
+
:ignore="triggerButton"
|
|
29
|
+
ignoreSelector=".helper-controls"
|
|
30
|
+
/>
|
|
31
|
+
</template>
|
|
32
|
+
```
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
## Зоны игнорирования
|
|
2
|
+
|
|
3
|
+
Свойства для исключения элементов из проверок клика снаружи и логики автозакрытия.
|
|
4
|
+
|
|
5
|
+
**Свойства:**
|
|
6
|
+
|
|
7
|
+
- `ignore` — ссылка на DOM-элемент или CSS-селектор для исключения из обнаружения внешних кликов
|
|
8
|
+
- `ignoreSelector` — CSS-селектор для исключения нескольких элементов одновременно
|
|
9
|
+
|
|
10
|
+
Оба свойства работают вместе при оценке внешних кликов. `ignore` более точный и быстрее для одиночных элементов, может ссылаться на конкретный DOM-элемент напрямую. `ignoreSelector` более гибкий, может соответствовать нескольким элементам одним селектором, лучше подходит для динамического контента. Используйте для кнопок-триггеров, вспомогательных элементов и вложенных интерактивных областей.
|
|
11
|
+
|
|
12
|
+
```html
|
|
13
|
+
<script setup>
|
|
14
|
+
import { ref } from 'vue'
|
|
15
|
+
|
|
16
|
+
const triggerButton = ref()
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<template>
|
|
20
|
+
<!-- Игнорирование конкретного элемента -->
|
|
21
|
+
<MotionTransform :ignore="triggerButton" />
|
|
22
|
+
|
|
23
|
+
<!-- Игнорирование по селектору -->
|
|
24
|
+
<MotionTransform ignoreSelector=".trigger-button" />
|
|
25
|
+
|
|
26
|
+
<!-- Комбинация обоих свойств -->
|
|
27
|
+
<MotionTransform
|
|
28
|
+
:ignore="triggerButton"
|
|
29
|
+
ignoreSelector=".helper-controls"
|
|
30
|
+
/>
|
|
31
|
+
</template>
|
|
32
|
+
```
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Low-level utility for managing element transforms, state transitions, and interaction flows in components with window-like behavior.
|
|
2
|
+
|
|
3
|
+
MotionTransform centralizes management of open/show/teleport states, measures element sizes, updates CSS variables, and coordinates events to create smooth and predictable animations. Provides unified API for component visibility control, click handling, and automatic closing with support for ignore zones.
|
|
4
|
+
|
|
5
|
+
**Key Features:**
|
|
6
|
+
|
|
7
|
+
- Centralized state management (open, show, teleport)
|
|
8
|
+
- Click event and auto-close coordination
|
|
9
|
+
- Size measurement and CSS variable updates
|
|
10
|
+
- DOM helpers for working with refs, portals, and classes
|
|
11
|
+
- Programmatic control through imperative methods
|
|
12
|
+
- Configurable event ignore zones
|
|
13
|
+
- Optimized DOM manipulation
|
|
14
|
+
|
|
15
|
+
**Typical Use Cases:**
|
|
16
|
+
|
|
17
|
+
- Base utility for Window, Menu, Dialog components
|
|
18
|
+
- Managing open/close animations
|
|
19
|
+
- State coordination in popup elements
|
|
20
|
+
- Component library development with window-like behavior
|
|
21
|
+
|
|
22
|
+
```html
|
|
23
|
+
<script setup>
|
|
24
|
+
import { ref } from 'vue'
|
|
25
|
+
import { MotionTransform } from '@dxtmisha/constructor'
|
|
26
|
+
|
|
27
|
+
const element = ref()
|
|
28
|
+
const elementContext = ref()
|
|
29
|
+
|
|
30
|
+
const motion = new MotionTransform(
|
|
31
|
+
{ open: false, autoClose: true },
|
|
32
|
+
// ...other params
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
// Programmatic control
|
|
36
|
+
motion.go.toOpen()
|
|
37
|
+
motion.go.toClose()
|
|
38
|
+
|
|
39
|
+
// State access
|
|
40
|
+
const isOpen = motion.state.isOpen
|
|
41
|
+
const isShow = motion.state.isShow
|
|
42
|
+
</script>
|
|
43
|
+
|
|
44
|
+
<template>
|
|
45
|
+
<div ref="element">
|
|
46
|
+
<!-- Content with managed transform -->
|
|
47
|
+
</div>
|
|
48
|
+
</template>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
> This is a low-level utility for component library development, not intended for direct use in applications.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Низкоуровневая утилита для управления трансформациями элементов, переходами состояний и потоками взаимодействия в компонентах с оконным поведением.
|
|
2
|
+
|
|
3
|
+
MotionTransform централизует управление состояниями открытия/отображения/телепортации, измеряет размеры элементов, обновляет CSS-переменные и координирует события для создания плавных и предсказуемых анимаций. Предоставляет единый API для работы с видимостью компонентов, обработки кликов и автоматического закрытия с поддержкой игнорируемых зон.
|
|
4
|
+
|
|
5
|
+
**Основные возможности:**
|
|
6
|
+
|
|
7
|
+
- Централизованное управление состояниями (open, show, teleport)
|
|
8
|
+
- Координация событий кликов и автозакрытия
|
|
9
|
+
- Измерение размеров и обновление CSS-переменных
|
|
10
|
+
- DOM-хелперы для работы с refs, порталами и классами
|
|
11
|
+
- Программное управление через императивные методы
|
|
12
|
+
- Настраиваемые зоны игнорирования событий
|
|
13
|
+
- Оптимизированная работа с DOM
|
|
14
|
+
|
|
15
|
+
**Типичные сценарии использования:**
|
|
16
|
+
|
|
17
|
+
- Базовая утилита для компонентов Window, Menu, Dialog
|
|
18
|
+
- Управление анимациями открытия/закрытия
|
|
19
|
+
- Координация состояний в всплывающих элементах
|
|
20
|
+
- Разработка библиотек компонентов с оконным поведением
|
|
21
|
+
|
|
22
|
+
```html
|
|
23
|
+
<script setup>
|
|
24
|
+
import { ref } from 'vue'
|
|
25
|
+
import { MotionTransform } from '@dxtmisha/constructor'
|
|
26
|
+
|
|
27
|
+
const element = ref()
|
|
28
|
+
const elementContext = ref()
|
|
29
|
+
|
|
30
|
+
const motion = new MotionTransform(
|
|
31
|
+
{ open: false, autoClose: true },
|
|
32
|
+
// ...other params
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
// Программное управление
|
|
36
|
+
motion.go.toOpen()
|
|
37
|
+
motion.go.toClose()
|
|
38
|
+
|
|
39
|
+
// Доступ к состояниям
|
|
40
|
+
const isOpen = motion.state.isOpen
|
|
41
|
+
const isShow = motion.state.isShow
|
|
42
|
+
</script>
|
|
43
|
+
|
|
44
|
+
<template>
|
|
45
|
+
<div ref="element">
|
|
46
|
+
<!-- Контент с управляемой трансформацией -->
|
|
47
|
+
</div>
|
|
48
|
+
</template>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
> Это низкоуровневая утилита для разработки библиотек компонентов, не предназначенная для прямого использования в приложениях.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
- `control(props: MotionTransformControlItem): any` — Slot for placing the trigger element that controls the animation.
|
|
2
|
+
- `default: any` — Slot for placing the content that will be animated.
|
|
3
|
+
|
|
4
|
+
> **MotionTransformControlItem:**
|
|
5
|
+
> - `onclick: (event) => void` — handler for opening/closing the transformed element.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
- `control(props: MotionTransformControlItem): any` — Слот для размещения триггерного элемента, управляющего анимацией.
|
|
2
|
+
- `default: any` — Слот для размещения контента, который будет анимирован.
|
|
3
|
+
|
|
4
|
+
> **MotionTransformControlItem:**
|
|
5
|
+
> - `onclick: (event) => void` — обработчик открытия/закрытия трансформируемого элемента.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
## State Management via v-model
|
|
2
|
+
|
|
3
|
+
Two-way binding of component open state via `v-model:open`.
|
|
4
|
+
|
|
5
|
+
**Parameters:**
|
|
6
|
+
- `open: boolean` — component open state
|
|
7
|
+
|
|
8
|
+
```html
|
|
9
|
+
<script setup>
|
|
10
|
+
import { ref } from 'vue'
|
|
11
|
+
|
|
12
|
+
const isOpen = ref(false)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<button @click="isOpen = true">Open</button>
|
|
17
|
+
<Component v-model:open="isOpen"/>
|
|
18
|
+
</template>
|
|
19
|
+
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
## Управление состоянием через v-model
|
|
2
|
+
|
|
3
|
+
Двусторонняя привязка состояния открытия компонента через `v-model:open`.
|
|
4
|
+
|
|
5
|
+
**Параметры:**
|
|
6
|
+
- `open: boolean` — состояние открытия компонента
|
|
7
|
+
|
|
8
|
+
```html
|
|
9
|
+
<script setup>
|
|
10
|
+
import { ref } from 'vue'
|
|
11
|
+
|
|
12
|
+
const isOpen = ref(false)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<button @click="isOpen = true">Открыть</button>
|
|
17
|
+
<Component v-model:open="isOpen"/>
|
|
18
|
+
</template>
|
|
19
|
+
```
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { StorybookComponentsMdxItem } from '../../../types/storybookTypes'
|
|
2
|
+
|
|
3
|
+
import animationHeadPositionEn from './animationHeadPosition.en.mdx'
|
|
4
|
+
import animationHeadPositionRu from './animationHeadPosition.ru.mdx'
|
|
5
|
+
import classesEn from './classes.en.mdx'
|
|
6
|
+
import classesRu from './classes.ru.mdx'
|
|
7
|
+
import eventsEn from './events.en.mdx'
|
|
8
|
+
import eventsRu from './events.ru.mdx'
|
|
9
|
+
import exposeEn from './expose.en.mdx'
|
|
10
|
+
import exposeRu from './expose.ru.mdx'
|
|
11
|
+
import exposeMotionTransformElementEn from './expose.motionTransformElement.en.mdx'
|
|
12
|
+
import exposeMotionTransformElementRu from './expose.motionTransformElement.ru.mdx'
|
|
13
|
+
import ignoreEn from './ignore.en.mdx'
|
|
14
|
+
import ignoreRu from './ignore.ru.mdx'
|
|
15
|
+
import motionTransformEn from './motionTransform.en.mdx'
|
|
16
|
+
import motionTransformRu from './motionTransform.ru.mdx'
|
|
17
|
+
import slotsEn from './slots.en.mdx'
|
|
18
|
+
import slotsRu from './slots.ru.mdx'
|
|
19
|
+
import vModelEn from './v-model.en.mdx'
|
|
20
|
+
import vModelRu from './v-model.ru.mdx'
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* MDX files for MotionTransform component
|
|
24
|
+
*
|
|
25
|
+
* MDX файлы для компонента MotionTransform
|
|
26
|
+
*/
|
|
27
|
+
export const wikiMdxMotionTransform: StorybookComponentsMdxItem = {
|
|
28
|
+
name: 'MotionTransform',
|
|
29
|
+
descriptions: {
|
|
30
|
+
'animationHeadPosition': {
|
|
31
|
+
en: animationHeadPositionEn,
|
|
32
|
+
ru: animationHeadPositionRu
|
|
33
|
+
},
|
|
34
|
+
'classes': {
|
|
35
|
+
en: classesEn,
|
|
36
|
+
ru: classesRu
|
|
37
|
+
},
|
|
38
|
+
'events': {
|
|
39
|
+
en: eventsEn,
|
|
40
|
+
ru: eventsRu
|
|
41
|
+
},
|
|
42
|
+
'expose': {
|
|
43
|
+
en: exposeEn,
|
|
44
|
+
ru: exposeRu
|
|
45
|
+
},
|
|
46
|
+
'expose.motionTransformElement': {
|
|
47
|
+
en: exposeMotionTransformElementEn,
|
|
48
|
+
ru: exposeMotionTransformElementRu
|
|
49
|
+
},
|
|
50
|
+
'ignore': {
|
|
51
|
+
en: ignoreEn,
|
|
52
|
+
ru: ignoreRu
|
|
53
|
+
},
|
|
54
|
+
'motionTransform': {
|
|
55
|
+
en: motionTransformEn,
|
|
56
|
+
ru: motionTransformRu
|
|
57
|
+
},
|
|
58
|
+
'slots': {
|
|
59
|
+
en: slotsEn,
|
|
60
|
+
ru: slotsRu
|
|
61
|
+
},
|
|
62
|
+
'v-model': {
|
|
63
|
+
en: vModelEn,
|
|
64
|
+
ru: vModelRu
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
## Description
|
|
2
|
+
|
|
3
|
+
A top-level semantic container component designed to wrap the main content of a page. It uses the `<main>` tag by default.
|
|
4
|
+
|
|
5
|
+
Page provides capabilities for displaying main headlines, labels, descriptions, captions, and icons. The main purpose of the component is to designate the unique part of the document's content, which is critical for accessibility and SEO. The headline is rendered as `<h1>` by default.
|
|
6
|
+
|
|
7
|
+
**Key Features:**
|
|
8
|
+
|
|
9
|
+
- Semantic wrapper for main content (`<main>` tag)
|
|
10
|
+
- Support for main headlines (default `<h1>`), labels, descriptions, and captions
|
|
11
|
+
- Support for icons
|
|
12
|
+
- Customizable layout and spacing
|
|
13
|
+
- Full support for slots for content customization
|
|
14
|
+
|
|
15
|
+
**Typical Use Cases:**
|
|
16
|
+
|
|
17
|
+
- Wrapper for unique page content
|
|
18
|
+
- Main application screen
|
|
19
|
+
- Article or documentation page
|
|
20
|
+
- Root element for routed components (views)
|
|
21
|
+
|
|
22
|
+
```html
|
|
23
|
+
<script setup>
|
|
24
|
+
import { ref } from 'vue'
|
|
25
|
+
</script>
|
|
26
|
+
|
|
27
|
+
<template>
|
|
28
|
+
<Page
|
|
29
|
+
headline="Main Page Title"
|
|
30
|
+
label="Category"
|
|
31
|
+
description="Brief description of the page content"
|
|
32
|
+
>
|
|
33
|
+
<p>Unique page content...</p>
|
|
34
|
+
</Page>
|
|
35
|
+
</template>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
> Page should be used once per page (or per active view) and should not include repeated navigation elements.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
## Описание
|
|
2
|
+
|
|
3
|
+
Семантический компонент-контейнер верхнего уровня, предназначенный для обертки основного содержимого страницы. По умолчанию использует тег `<main>`.
|
|
4
|
+
|
|
5
|
+
Page предоставляет возможности для отображения главных заголовков, меток, описаний, подписей и иконок. Основное назначение компонента — обозначение уникальной части содержимого документа, что критически важно для доступности (accessibility) и SEO. Заголовок по умолчанию рендерится как `<h1>`.
|
|
6
|
+
|
|
7
|
+
**Основные возможности:**
|
|
8
|
+
|
|
9
|
+
- Семантическая обертка основного контента (тег `<main>`)
|
|
10
|
+
- Поддержка главных заголовков (по умолчанию `<h1>`), меток, описаний и подписей
|
|
11
|
+
- Поддержка иконок
|
|
12
|
+
- Настраиваемый макет и отступы
|
|
13
|
+
- Полная поддержка слотов для кастомизации контента
|
|
14
|
+
|
|
15
|
+
**Типичные сценарии использования:**
|
|
16
|
+
|
|
17
|
+
- Обертка для уникального контента страницы
|
|
18
|
+
- Главный экран приложения
|
|
19
|
+
- Страница статьи или документации
|
|
20
|
+
- Корневой элемент для маршрутизируемых компонентов (views)
|
|
21
|
+
|
|
22
|
+
```html
|
|
23
|
+
<script setup>
|
|
24
|
+
import { ref } from 'vue'
|
|
25
|
+
</script>
|
|
26
|
+
|
|
27
|
+
<template>
|
|
28
|
+
<Page
|
|
29
|
+
headline="Главный заголовок страницы"
|
|
30
|
+
label="Категория"
|
|
31
|
+
description="Краткое описание содержимого страницы"
|
|
32
|
+
>
|
|
33
|
+
<p>Уникальный контент страницы...</p>
|
|
34
|
+
</Page>
|
|
35
|
+
</template>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
> Page должен использоваться один раз на странице (или в активном view) и не должен включать повторяющиеся элементы навигации.
|