@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,241 @@
|
|
|
1
|
+
import type { StorybookComponentsDescriptionItem } from '../../types/storybookTypes'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Descriptions for Window component properties
|
|
5
|
+
*
|
|
6
|
+
* Описания свойств компонента Window
|
|
7
|
+
*/
|
|
8
|
+
export const wikiDescriptionsWindow: StorybookComponentsDescriptionItem = {
|
|
9
|
+
name: 'Window',
|
|
10
|
+
description: {
|
|
11
|
+
en: 'Flexible modal and popup window component with advanced positioning and animation capabilities',
|
|
12
|
+
ru: 'Гибкий компонент модального и всплывающего окна с расширенными возможностями позиционирования и анимации'
|
|
13
|
+
},
|
|
14
|
+
possibilities: {
|
|
15
|
+
en: [
|
|
16
|
+
'modal and contextual window display modes',
|
|
17
|
+
'intelligent positioning system with automatic collision detection',
|
|
18
|
+
'smooth opening and closing animations with customizable transitions',
|
|
19
|
+
'static mode for embedded window components',
|
|
20
|
+
'persistent window state management',
|
|
21
|
+
'automatic scroll handling and content overflow management',
|
|
22
|
+
'keyboard navigation and accessibility support',
|
|
23
|
+
'event-driven architecture with comprehensive lifecycle hooks',
|
|
24
|
+
'integration with scrollbar and image components',
|
|
25
|
+
'responsive design with mobile and desktop optimization'
|
|
26
|
+
],
|
|
27
|
+
ru: [
|
|
28
|
+
'режимы отображения модальных и контекстных окон',
|
|
29
|
+
'интеллектуальная система позиционирования с автоматическим определением коллизий',
|
|
30
|
+
'плавные анимации открытия и закрытия с настраиваемыми переходами',
|
|
31
|
+
'статический режим для встроенных компонентов окон',
|
|
32
|
+
'управление постоянным состоянием окна',
|
|
33
|
+
'автоматическая обработка прокрутки и управление переполнением контента',
|
|
34
|
+
'навигация с клавиатуры и поддержка доступности',
|
|
35
|
+
'событийно-ориентированная архитектура с комплексными хуками жизненного цикла',
|
|
36
|
+
'интеграция с компонентами скроллбара и изображений',
|
|
37
|
+
'адаптивный дизайн с оптимизацией для мобильных устройств и десктопа'
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
import: [
|
|
41
|
+
'import { ref } from \'vue\''
|
|
42
|
+
],
|
|
43
|
+
render: `
|
|
44
|
+
<DesignComponent v-bind="args">
|
|
45
|
+
<template #control="{binds}">
|
|
46
|
+
<button class="wiki-storybook-button" v-bind="binds">Open Window</button>
|
|
47
|
+
</template>
|
|
48
|
+
|
|
49
|
+
<template #title>
|
|
50
|
+
<h3 class="wiki-storybook-item--padding">Window Component Demonstration</h3>
|
|
51
|
+
</template>
|
|
52
|
+
|
|
53
|
+
<template #default>
|
|
54
|
+
<div class="wiki-storybook-item--padding">
|
|
55
|
+
<h4>Advanced Window System</h4>
|
|
56
|
+
<p>This window component represents a sophisticated approach to modal and popup interfaces in modern web applications. It provides a comprehensive solution for displaying overlaid content with intelligent positioning, smooth animations, and extensive customization options.</p>
|
|
57
|
+
|
|
58
|
+
<p>The component automatically handles complex scenarios such as viewport boundaries, scroll positioning, and responsive behavior across different screen sizes. Whether used for modal dialogs, dropdown menus, tooltips, or contextual panels, the window component adapts to various use cases while maintaining consistent behavior and appearance.</p>
|
|
59
|
+
|
|
60
|
+
<h4>Key Features and Capabilities</h4>
|
|
61
|
+
<p>The window system includes advanced features such as automatic positioning algorithms that prevent content from appearing outside viewport boundaries, smooth transition animations that enhance user experience, and comprehensive event handling for various interaction patterns including keyboard navigation and focus management.</p>
|
|
62
|
+
|
|
63
|
+
<p>Integration with other components such as scrollbars and images is seamless, allowing for rich content presentation within window containers. The component supports both programmatic and declarative control patterns, making it suitable for different development approaches and architectural requirements.</p>
|
|
64
|
+
|
|
65
|
+
<h4>Technical Architecture</h4>
|
|
66
|
+
<p>Built with a modular composition-based architecture, the window component consists of multiple specialized subcomponents that handle specific aspects of functionality. This includes separate managers for positioning, events, styles, animations, and state persistence, ensuring maintainable and testable code.</p>
|
|
67
|
+
|
|
68
|
+
<p>The component follows modern Vue.js patterns with reactive state management, composable APIs, and TypeScript support throughout. Performance is optimized through intelligent rendering strategies and minimal DOM manipulation, ensuring smooth operation even in complex applications with multiple concurrent windows.</p>
|
|
69
|
+
</div>
|
|
70
|
+
</template>
|
|
71
|
+
|
|
72
|
+
<template #footer="{classesWindow}">
|
|
73
|
+
<div class="wiki-storybook-flex wiki-storybook-item--padding">
|
|
74
|
+
<button :class="classesWindow.close" class="wiki-storybook-button wiki-storybook-button--text">Cancel</button>
|
|
75
|
+
<button class="wiki-storybook-button">Confirm</button>
|
|
76
|
+
</div>
|
|
77
|
+
</template>
|
|
78
|
+
</DesignComponent>
|
|
79
|
+
`,
|
|
80
|
+
stories: [
|
|
81
|
+
{
|
|
82
|
+
id: 'WindowStaticMode',
|
|
83
|
+
name: {
|
|
84
|
+
en: 'Static Mode',
|
|
85
|
+
ru: 'Статический режим'
|
|
86
|
+
},
|
|
87
|
+
template: `
|
|
88
|
+
<DesignComponent :staticMode="true" adaptive="static">
|
|
89
|
+
<template #default>
|
|
90
|
+
<h4>Static Mode Window</h4>
|
|
91
|
+
<p>This window uses <code>staticMode: true</code>.</p>
|
|
92
|
+
<p>Content displays immediately without animations or modal positioning.</p>
|
|
93
|
+
|
|
94
|
+
<div class="wiki-storybook-info">
|
|
95
|
+
<strong>Static mode features:</strong>
|
|
96
|
+
<ul>
|
|
97
|
+
<li>No animations</li>
|
|
98
|
+
<li>Embedded in document flow</li>
|
|
99
|
+
<li>Always visible</li>
|
|
100
|
+
</ul>
|
|
101
|
+
</div>
|
|
102
|
+
</template>
|
|
103
|
+
</DesignComponent>
|
|
104
|
+
`
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
id: 'WindowAxis',
|
|
108
|
+
name: {
|
|
109
|
+
en: 'Axis positioning',
|
|
110
|
+
ru: 'Позиционирование по оси'
|
|
111
|
+
},
|
|
112
|
+
template: `
|
|
113
|
+
<div class="wiki-storybook-flex wiki-storybook-gap">
|
|
114
|
+
<!-- Axis: x -->
|
|
115
|
+
<DesignComponent axis="x" adaptive="menu" :indent="8">
|
|
116
|
+
<template #control="{binds}">
|
|
117
|
+
<button class="wiki-storybook-button" v-bind="binds">Open (axis: x)</button>
|
|
118
|
+
</template>
|
|
119
|
+
<template #default>
|
|
120
|
+
<div class="wiki-storybook-item--padding">
|
|
121
|
+
<strong>axis = x</strong>
|
|
122
|
+
<p>Window aligns horizontally (left/right) near the trigger.</p>
|
|
123
|
+
</div>
|
|
124
|
+
</template>
|
|
125
|
+
</DesignComponent>
|
|
126
|
+
|
|
127
|
+
<!-- Axis: y -->
|
|
128
|
+
<DesignComponent axis="y" adaptive="menu" :indent="8">
|
|
129
|
+
<template #control="{binds}">
|
|
130
|
+
<button class="wiki-storybook-button" v-bind="binds">Open (axis: y)</button>
|
|
131
|
+
</template>
|
|
132
|
+
<template #default>
|
|
133
|
+
<div class="wiki-storybook-item--padding">
|
|
134
|
+
<strong>axis = y</strong>
|
|
135
|
+
<p>Window aligns vertically (top/bottom) near the trigger.</p>
|
|
136
|
+
</div>
|
|
137
|
+
</template>
|
|
138
|
+
</DesignComponent>
|
|
139
|
+
|
|
140
|
+
<!-- Axis: on -->
|
|
141
|
+
<DesignComponent axis="on" adaptive="menu" overElement=".axis-on-target">
|
|
142
|
+
<template #control="{binds}">
|
|
143
|
+
<button class="wiki-storybook-button" v-bind="binds">Open (axis: on)</button>
|
|
144
|
+
</template>
|
|
145
|
+
<template #default>
|
|
146
|
+
<div class="wiki-storybook-item--padding">
|
|
147
|
+
<strong>axis = on</strong>
|
|
148
|
+
<p>Window positions over the target element; scroll adjusts to keep it visible.</p>
|
|
149
|
+
<ul style="max-height: 160px; overflow: auto; margin: 8px 0; padding-left: 20px;">
|
|
150
|
+
<li>Item 1</li>
|
|
151
|
+
<li>Item 2</li>
|
|
152
|
+
<li>Item 3</li>
|
|
153
|
+
<li>Item 4</li>
|
|
154
|
+
<li class="axis-on-target"><strong>Focused item (target)</strong></li>
|
|
155
|
+
<li>Item 6</li>
|
|
156
|
+
<li>Item 7</li>
|
|
157
|
+
<li>Item 8</li>
|
|
158
|
+
<li>Item 9</li>
|
|
159
|
+
<li>Item 10</li>
|
|
160
|
+
</ul>
|
|
161
|
+
</div>
|
|
162
|
+
</template>
|
|
163
|
+
</DesignComponent>
|
|
164
|
+
</div>
|
|
165
|
+
`
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
id: 'WindowVModel',
|
|
169
|
+
name: {
|
|
170
|
+
en: 'Two-way binding (v-model)',
|
|
171
|
+
ru: 'Двусторонняя привязка (v-model)'
|
|
172
|
+
},
|
|
173
|
+
setup: `
|
|
174
|
+
return {
|
|
175
|
+
open: ref(false)
|
|
176
|
+
}
|
|
177
|
+
`,
|
|
178
|
+
template: `
|
|
179
|
+
<button class="wiki-storybook-button" @click="open = true">Open via v-model ({{ open }})</button>
|
|
180
|
+
|
|
181
|
+
<DesignComponent v-model:open="open">
|
|
182
|
+
<div class="wiki-storybook-item--padding">Your content here</div>
|
|
183
|
+
</DesignComponent>
|
|
184
|
+
`
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
documentation: {
|
|
188
|
+
body: `
|
|
189
|
+
<StorybookDescriptions componentName={'Window'} type={'window'}/>
|
|
190
|
+
<StorybookDescriptions componentName={'Window'} type={'classes'}/>
|
|
191
|
+
<StorybookDescriptions componentName={'Window'} type={'staticMode'}/>
|
|
192
|
+
<Canvas of={Component.WindowStaticMode}/>
|
|
193
|
+
<StorybookDescriptions componentName={'Window'} type={'axis'}/>
|
|
194
|
+
<Canvas of={Component.WindowAxis}/>
|
|
195
|
+
<StorybookDescriptions componentName={'Window'} type={'v-model'}/>
|
|
196
|
+
<Canvas of={Component.WindowVModel}/>
|
|
197
|
+
<StorybookDescriptions componentName={'Window'} type={'hooks'}/>
|
|
198
|
+
`,
|
|
199
|
+
events: `
|
|
200
|
+
<StorybookDescriptions componentName={'Window'} type={'event.window'}/>
|
|
201
|
+
<StorybookDescriptions componentName={'Scrollbar'} type={'emits-include'}/>
|
|
202
|
+
<StorybookDescriptions componentName={'Image'} type={'event.load'}/>
|
|
203
|
+
`,
|
|
204
|
+
expose: `
|
|
205
|
+
<StorybookDescriptions componentName={'Window'} type={'expose'}/>
|
|
206
|
+
`,
|
|
207
|
+
slots: `
|
|
208
|
+
<StorybookDescriptions componentName={'Window'} type={'slots'}/>
|
|
209
|
+
`
|
|
210
|
+
},
|
|
211
|
+
ai: {
|
|
212
|
+
render: `
|
|
213
|
+
<div :class="classDemo.item">
|
|
214
|
+
<Window embedded open v-bind="args">
|
|
215
|
+
<template #control="{ binds }">
|
|
216
|
+
<button v-bind="binds">Open Window</button>
|
|
217
|
+
</template>
|
|
218
|
+
<template #title>
|
|
219
|
+
<h3>Window Title</h3>
|
|
220
|
+
</template>
|
|
221
|
+
<template #default>
|
|
222
|
+
<p>Window content goes here. This is a demonstration of the window component capabilities.</p>
|
|
223
|
+
<p>It can contain text, images, forms, or any other content.</p>
|
|
224
|
+
</template>
|
|
225
|
+
<template #footer>
|
|
226
|
+
<div>
|
|
227
|
+
<button>Cancel</button>
|
|
228
|
+
<button>Save</button>
|
|
229
|
+
</div>
|
|
230
|
+
</template>
|
|
231
|
+
</Window>
|
|
232
|
+
</div>
|
|
233
|
+
`,
|
|
234
|
+
description: `
|
|
235
|
+
Versatile high-performance container orchestration system for Modals, Popups, Dropdowns, and Cards. Automatically manages complex DOM interactions including z-index hierarchy, focus trapping, teleportation, and body scroll locking.
|
|
236
|
+
Features an intelligent multi-axis positioning engine (vertical, horizontal, or overlay) with automated viewport collision detection and obstacle avoidance. Includes a full suite of lifecycle hooks, advanced animation management, and integrated support for Scrollbar and Image components within its content area.
|
|
237
|
+
Controlled via the v-model:open prop and utilizing the #control, #title, #default, and #footer slots for modular layout. Use as a foundational building block for any overlaid or contextual interface requirement that exceeds the logic of standard Modal or Menu components.
|
|
238
|
+
`,
|
|
239
|
+
hide: true
|
|
240
|
+
}
|
|
241
|
+
}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import {Meta} from '@storybook/addon-docs/blocks'
|
|
2
2
|
|
|
3
|
-
<Meta title='@dxtmisha/en/# UI/properties/! About
|
|
3
|
+
<Meta title='@dxtmisha/en/# UI/properties/! About properties.json'/>
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Configuration (properties.json)
|
|
6
6
|
|
|
7
|
-
The `
|
|
7
|
+
The `properties.json` file is a declarative manifest of your component. In it, you describe the structure, styles, states, and parameters, which are then automatically transformed into production-ready SCSS code and typed TypeScript interfaces (`props.ts`).
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## How to work with this file?
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
11
|
+
Instead of manually writing hundreds of lines of CSS for every pseudo-class or media query, you populate a **property tree**. The system analyzes this file and performs all the routine work for you:
|
|
12
|
+
- **Style Generation (SCSS)**: Creates BEM-style classes, variables, and themes.
|
|
13
|
+
- **Interface Generation (Props)**: Forms public component properties for Vue/React.
|
|
14
|
+
- **Synchronization**: Ensures that styles and the programmatic interface always correspond to each other.
|
|
15
15
|
|
|
16
|
-
## Core
|
|
16
|
+
## Core Concept
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
1. **Tokens**: JSON tree nodes representing specific CSS properties or nested objects.
|
|
19
|
+
2. **Types & Flags (_type, _var...)**: Service parameters defining the node processing logic (generating variables, states, or exporting to Props).
|
|
20
|
+
3. **Links**: The `{...}` system for inheriting values from other tokens or global design variables.
|
|
21
|
+
4. **Markers & Shortcuts**: Special prefixes (`~`, `group|`) and link placeholders (`?`, `??`) that accelerate the creation of complex configurations.
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import {Meta} from '@storybook/addon-docs/blocks'
|
|
2
2
|
|
|
3
|
-
<Meta title='@dxtmisha/ru/# UI/properties/! О
|
|
3
|
+
<Meta title='@dxtmisha/ru/# UI/properties/! О файле properties.json'/>
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Конфигурация (properties.json)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Файл `properties.json` является декларативным манифестом вашего компонента. В нем вы описываете структуру, стили, состояния и параметры, которые затем автоматически преобразуются в готовый SCSS-код и типизированные TypeScript-интерфейсы (`props.ts`).
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Как работать с этим файлом?
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
11
|
+
Вместо того чтобы вручную писать сотни строк CSS для каждого псевдокласса или медиа-запроса, вы наполняете **дерево свойств**. Система анализирует этот файл и выполняет всю рутинную работу:
|
|
12
|
+
- **Генерация стилей (SCSS)**: Создает классы по методологии BEM, переменные и темы.
|
|
13
|
+
- **Генерация интерфейса (Props)**: Формирует публичные свойства компонента для Vue/React.
|
|
14
|
+
- **Синхронизация**: Гарантирует, что стили и программный интерфейс всегда соответствуют друг другу.
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## Основная концепция
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
1. **Токены (Tokens)**: Узлы дерева JSON, описывающие конкретные CSS-свойства или вложенные объекты.
|
|
19
|
+
2. **Типы и Флаги (_type, _var...)**: Служебные параметры, определяющие логику обработки узла (генерация переменной, состояния или экспорт в Props).
|
|
20
|
+
3. **Ссылки (Links)**: Система `{...}`, позволяющая заимствовать значения из других токенов или глобальных переменных дизайна.
|
|
21
|
+
4. **Маркеры и Шорткаты**: Специальные префиксы (`~`, `group|`) и подстановки (`?`, `??`), ускоряющие написание сложных конфигураций.
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import {Meta} from '@storybook/addon-docs/blocks'
|
|
2
2
|
|
|
3
|
-
<Meta title='@dxtmisha/vi/# UI/properties/! Về
|
|
3
|
+
<Meta title='@dxtmisha/vi/# UI/properties/! Về properties.json'/>
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Cấu hình (properties.json)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Tệp `properties.json` là bản tuyên ngôn khai báo cho thành phần của bạn. Trong đó, bạn mô tả cấu trúc, kiểu dáng, trạng thái và tham số, sau đó chúng sẽ tự động được chuyển đổi thành mã SCSS hoàn chỉnh và các giao diện TypeScript có kiểu dữ liệu (`props.ts`).
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Làm thế nào để làm việc với tệp này?
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
11
|
+
Thay vì viết hàng trăm dòng CSS thủ công cho mọi pseudo-class hoặc media query, bạn điền vào một **cây thuộc tính**. Hệ thống phân tích tệp này và thực hiện mọi công việc lặp đi lặp lại:
|
|
12
|
+
- **Tạo kiểu dáng (SCSS)**: Tạo ra các lớp theo phương pháp BEM, các biến và chủ đề.
|
|
13
|
+
- **Tạo giao diện (Props)**: Hình thành các thuộc tính thành phần công khai cho Vue/React.
|
|
14
|
+
- **Đồng bộ hóa**: Đảm bảo rằng các kiểu dáng và giao diện lập trình luôn tương ứng với nhau.
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## Khái niệm cốt lõi
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
1. **Token**: Các nút cấp độ JSON mô tả thuộc tính CSS cụ thể hoặc các đối tượng lồng nhau.
|
|
19
|
+
2. **Loại và Cờ (_type, _var...)**: Các tham số dịch vụ xác định logic xử lý nút (tạo biến, trạng thái hoặc xuất ra Props).
|
|
20
|
+
3. **Liên kết (Links)**: Hệ thống `{...}` cho phép kế thừa giá trị từ các token khác hoặc các biến thiết kế toàn cục.
|
|
21
|
+
4. **Dấu hiệu và Phím tắt**: Các tiền tố đặc biệt (`~`, `group|`) và các trình giữ chỗ liên kết (`?`, `??`) giúp tăng tốc độ viết các cấu hình phức tạp.
|
|
@@ -1,78 +1,108 @@
|
|
|
1
1
|
import {Meta} from '@storybook/addon-docs/blocks'
|
|
2
2
|
|
|
3
|
-
<Meta title='@dxtmisha/en/# UI/properties
|
|
3
|
+
<Meta title='@dxtmisha/en/# UI/properties/! Quick start'/>
|
|
4
4
|
|
|
5
5
|
# Quick Start
|
|
6
6
|
|
|
7
|
-
This guide
|
|
7
|
+
This guide helps you quickly master working with the `properties.json` file using a typical UI component as an example. The file serves as the **single source of truth** — both styles (SCSS) and the programmatic interface (TypeScript Props) are generated from it.
|
|
8
8
|
|
|
9
|
-
## 1.
|
|
9
|
+
## 1. Base Properties and Tokens
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Instead of fixed values (HEX, px), always use the design token system `{sys...}`. This ensures theme support and consistency.
|
|
12
12
|
|
|
13
13
|
```json
|
|
14
14
|
{
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"padding": "{sys.spacing.md}",
|
|
16
|
+
"background-color": "{sys.palette.surface}",
|
|
17
|
+
"border-radius": "{sys.rounded.md}"
|
|
17
18
|
}
|
|
18
19
|
```
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
**Result (SCSS):**
|
|
21
22
|
```scss
|
|
22
23
|
.component {
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
padding: var(--sys-spacing-md);
|
|
25
|
+
background-color: var(--sys-palette-surface);
|
|
26
|
+
border-radius: var(--sys-rounded-md);
|
|
25
27
|
}
|
|
26
28
|
```
|
|
27
29
|
|
|
28
|
-
## 2.
|
|
30
|
+
## 2. States
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
Use reserved keys to describe interactivity (hover, focus, active, disabled).
|
|
31
33
|
|
|
32
34
|
```json
|
|
33
35
|
{
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
36
|
+
"hover": {
|
|
37
|
+
"background-color": "{sys.palette.surfaceVariant}"
|
|
38
|
+
},
|
|
39
|
+
"disabled": {
|
|
40
|
+
"opacity": "{sys.opacity.disabled}",
|
|
41
|
+
"cursor": "not-allowed"
|
|
37
42
|
}
|
|
38
43
|
}
|
|
39
44
|
```
|
|
40
45
|
|
|
41
|
-
Result
|
|
46
|
+
**Result (SCSS):**
|
|
42
47
|
```scss
|
|
43
48
|
.component {
|
|
44
|
-
--
|
|
45
|
-
|
|
49
|
+
&:hover { background-color: var(--sys-palette-surfaceVariant); }
|
|
50
|
+
&:disabled {
|
|
51
|
+
opacity: var(--sys-opacity-disabled);
|
|
52
|
+
cursor: not-allowed;
|
|
53
|
+
}
|
|
46
54
|
}
|
|
47
55
|
```
|
|
48
56
|
|
|
49
|
-
## 3.
|
|
57
|
+
## 3. Modifiers (Marker `~`)
|
|
50
58
|
|
|
51
|
-
|
|
59
|
+
To create a variation of a component (e.g., `primary` or `secondary`), use the `~` prefix. These keys are automatically transformed into **Props** in Vue/React and BEM modifiers in CSS.
|
|
52
60
|
|
|
53
61
|
```json
|
|
54
62
|
{
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"background-color": "#555555"
|
|
63
|
+
"~primary": {
|
|
64
|
+
"color": "{sys.palette.onPrimary}",
|
|
65
|
+
"background-color": "{sys.palette.primary}",
|
|
66
|
+
"_default": true
|
|
60
67
|
}
|
|
61
68
|
}
|
|
62
69
|
```
|
|
63
70
|
|
|
64
|
-
|
|
71
|
+
**Result (SCSS):**
|
|
65
72
|
```scss
|
|
66
73
|
.component {
|
|
67
|
-
|
|
68
|
-
|
|
74
|
+
&--primary {
|
|
75
|
+
color: var(--sys-palette-onPrimary);
|
|
76
|
+
background-color: var(--sys-palette-primary);
|
|
69
77
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**Result (TypeScript Props):**
|
|
82
|
+
```typescript
|
|
83
|
+
type PropsToken = {
|
|
84
|
+
primary?: boolean // Generated automatically
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## 4. Custom Variables (`_var`)
|
|
89
|
+
|
|
90
|
+
If you need a property to be available as a CSS variable for external control or use in scripts, add the `_var: true` flag.
|
|
91
|
+
|
|
92
|
+
```json
|
|
93
|
+
{
|
|
94
|
+
"height": {
|
|
95
|
+
"value": "48px",
|
|
96
|
+
"_var": true
|
|
74
97
|
}
|
|
75
98
|
}
|
|
76
99
|
```
|
|
77
100
|
|
|
78
|
-
|
|
101
|
+
**Result (SCSS):**
|
|
102
|
+
```scss
|
|
103
|
+
.component {
|
|
104
|
+
--component-height: 48px;
|
|
105
|
+
height: var(--component-height);
|
|
106
|
+
}
|
|
107
|
+
```
|
|
108
|
+
|