@dxtmisha/wiki 0.24.2 → 0.25.1
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 -7
- package/src/classes/WikiStorybookItem.ts +24 -0
- package/src/library.ts +7 -7
- package/src/media/descriptions/wikiDescriptions.ts +28 -0
- package/src/media/descriptions/wikiDescriptionsAccordion.ts +158 -0
- package/src/media/descriptions/wikiDescriptionsActionSheet.ts +211 -0
- package/src/media/descriptions/wikiDescriptionsActions.ts +161 -0
- package/src/media/descriptions/wikiDescriptionsAnchor.ts +42 -0
- package/src/media/descriptions/wikiDescriptionsArrow.ts +181 -0
- package/src/media/descriptions/wikiDescriptionsBars.ts +1 -3
- package/src/media/descriptions/wikiDescriptionsBlock.ts +97 -0
- package/src/media/descriptions/wikiDescriptionsButton.ts +0 -1
- package/src/media/descriptions/wikiDescriptionsCell.ts +3 -3
- package/src/media/descriptions/wikiDescriptionsChip.ts +0 -1
- package/src/media/descriptions/wikiDescriptionsChipGroup.ts +168 -0
- package/src/media/descriptions/wikiDescriptionsDialog.ts +182 -0
- package/src/media/descriptions/wikiDescriptionsField.ts +3 -4
- package/src/media/descriptions/wikiDescriptionsFieldCounter.ts +6 -6
- package/src/media/descriptions/wikiDescriptionsFieldMessage.ts +1 -2
- package/src/media/descriptions/wikiDescriptionsImage.ts +43 -8
- package/src/media/descriptions/wikiDescriptionsInput.ts +257 -0
- package/src/media/descriptions/wikiDescriptionsList.ts +1 -5
- package/src/media/descriptions/wikiDescriptionsListGroup.ts +2 -3
- package/src/media/descriptions/wikiDescriptionsListItem.ts +1 -3
- package/src/media/descriptions/wikiDescriptionsListMenu.ts +2 -9
- package/src/media/descriptions/wikiDescriptionsMask.ts +12 -0
- package/src/media/descriptions/wikiDescriptionsMenu.ts +126 -14
- package/src/media/descriptions/wikiDescriptionsModal.ts +145 -0
- package/src/media/descriptions/wikiDescriptionsMotionTransform.ts +4 -10
- package/src/media/descriptions/wikiDescriptionsScrollbar.ts +1 -7
- package/src/media/descriptions/wikiDescriptionsSelect.ts +209 -0
- package/src/media/descriptions/wikiDescriptionsSelectValue.ts +78 -0
- package/src/media/descriptions/wikiDescriptionsSkeleton.ts +1 -0
- package/src/media/descriptions/wikiDescriptionsTextareaAutosize.ts +50 -0
- package/src/media/descriptions/wikiDescriptionsTooltip.ts +89 -0
- package/src/media/descriptions/wikiDescriptionsWindow.ts +5 -22
- package/src/media/functional/en/broadcastMessage.mdx +307 -0
- package/src/media/functional/en/conversions.mdx +67 -0
- package/src/media/functional/en/dataUtils.mdx +25 -0
- package/src/media/functional/en/datetimeRef.mdx +1 -1
- package/src/media/functional/en/eventRef.mdx +1 -1
- package/src/media/functional/en/executionUtils.mdx +58 -0
- package/src/media/functional/en/geoFlagRef.mdx +1 -1
- package/src/media/functional/en/geoIntlRef.mdx +1 -1
- package/src/media/functional/en/geoRef.mdx +2 -2
- package/src/media/functional/en/meta.mdx +1206 -0
- package/src/media/functional/en/metaManager.mdx +376 -0
- package/src/media/functional/en/metaOg.mdx +694 -0
- package/src/media/functional/en/metaTwitter.mdx +853 -0
- package/src/media/functional/en/reactive.mdx +40 -0
- package/src/media/functional/en/refTypes.mdx +1 -1
- package/src/media/functional/en/useApiRef.mdx +5 -5
- package/src/media/functional/en/useMeta.mdx +431 -0
- package/src/media/functional/en/validationUtils.mdx +11 -0
- package/src/media/functional/ru/broadcastMessage.mdx +305 -0
- package/src/media/functional/ru/conversions.mdx +67 -0
- package/src/media/functional/ru/dataUtils.mdx +25 -0
- package/src/media/functional/ru/datetimeRef.mdx +2 -2
- package/src/media/functional/ru/eventRef.mdx +1 -1
- package/src/media/functional/ru/executionUtils.mdx +58 -0
- package/src/media/functional/ru/geoFlagRef.mdx +1 -1
- package/src/media/functional/ru/geoIntl.mdx +2 -2
- package/src/media/functional/ru/geoIntlRef.mdx +1 -1
- package/src/media/functional/ru/geoRef.mdx +2 -2
- package/src/media/functional/ru/listTypes.mdx +1 -1
- package/src/media/functional/ru/meta.mdx +1330 -0
- package/src/media/functional/ru/metaManager.mdx +376 -0
- package/src/media/functional/ru/metaOg.mdx +694 -0
- package/src/media/functional/ru/metaTwitter.mdx +853 -0
- package/src/media/functional/ru/reactive.mdx +40 -0
- package/src/media/functional/ru/refTypes.mdx +2 -2
- package/src/media/functional/ru/useApiRef.mdx +5 -5
- package/src/media/functional/ru/useMeta.mdx +431 -0
- package/src/media/functional/ru/validationUtils.mdx +11 -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 +6 -0
- package/src/media/mdx/Accordion/slots.ru.mdx +6 -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 +6 -0
- package/src/media/mdx/Anchor/expose.go.ru.mdx +6 -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 +85 -7
- package/src/media/mdx/Badge/badge.ru.mdx +85 -7
- package/src/media/mdx/Badge/dot.en.mdx +16 -12
- package/src/media/mdx/Badge/dot.ru.mdx +16 -12
- package/src/media/mdx/Badge/outline.en.mdx +12 -13
- package/src/media/mdx/Badge/outline.ru.mdx +12 -13
- package/src/media/mdx/Badge/primary.en.mdx +12 -12
- package/src/media/mdx/Badge/primary.ru.mdx +12 -12
- package/src/media/mdx/Badge/secondary.en.mdx +12 -13
- package/src/media/mdx/Badge/secondary.ru.mdx +12 -13
- package/src/media/mdx/Bars/action.en.mdx +72 -28
- package/src/media/mdx/Bars/action.ru.mdx +73 -29
- package/src/media/mdx/Bars/bars.en.mdx +90 -15
- package/src/media/mdx/Bars/bars.ru.mdx +91 -15
- package/src/media/mdx/Bars/slots.en.mdx +33 -0
- package/src/media/mdx/Bars/slots.ru.mdx +33 -0
- package/src/media/mdx/Bars/v-model.en.mdx +23 -14
- package/src/media/mdx/Bars/v-model.ru.mdx +23 -14
- package/src/media/mdx/Bars/wikiMdxBars.ts +5 -11
- 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/wikiMdxBlock.ts +19 -0
- package/src/media/mdx/Button/button.en.mdx +89 -1
- package/src/media/mdx/Button/button.ru.mdx +89 -1
- package/src/media/mdx/Button/outline.en.mdx +12 -14
- package/src/media/mdx/Button/outline.ru.mdx +12 -14
- package/src/media/mdx/Button/primary.en.mdx +12 -19
- package/src/media/mdx/Button/primary.ru.mdx +12 -19
- package/src/media/mdx/Button/secondary.en.mdx +12 -17
- package/src/media/mdx/Button/secondary.ru.mdx +12 -17
- package/src/media/mdx/Button/text.en.mdx +12 -11
- package/src/media/mdx/Button/text.ru.mdx +12 -11
- package/src/media/mdx/Cell/cell.en.mdx +50 -9
- package/src/media/mdx/Cell/cell.ru.mdx +50 -9
- package/src/media/mdx/Cell/slots.en.mdx +82 -0
- package/src/media/mdx/Cell/slots.ru.mdx +83 -0
- package/src/media/mdx/Cell/wikiMdxCell.ts +6 -12
- package/src/media/mdx/Chip/assistive.en.mdx +12 -14
- package/src/media/mdx/Chip/assistive.ru.mdx +12 -14
- package/src/media/mdx/Chip/chip.en.mdx +69 -9
- package/src/media/mdx/Chip/chip.ru.mdx +69 -9
- package/src/media/mdx/Chip/input.en.mdx +12 -19
- package/src/media/mdx/Chip/input.ru.mdx +12 -19
- 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/Field/arrows.en.mdx +83 -17
- package/src/media/mdx/Field/arrows.ru.mdx +83 -17
- package/src/media/mdx/Field/cancel.en.mdx +47 -10
- package/src/media/mdx/Field/cancel.ru.mdx +47 -10
- package/src/media/mdx/Field/field.en.mdx +45 -15
- package/src/media/mdx/Field/field.ru.mdx +45 -15
- package/src/media/mdx/Field/slots.en.mdx +138 -0
- package/src/media/mdx/Field/slots.ru.mdx +138 -0
- package/src/media/mdx/Field/value.en.mdx +49 -28
- package/src/media/mdx/Field/value.ru.mdx +49 -28
- package/src/media/mdx/Field/width.en.mdx +21 -19
- package/src/media/mdx/Field/width.ru.mdx +21 -19
- package/src/media/mdx/Field/wikiMdxField.ts +14 -26
- package/src/media/mdx/FieldCounter/fieldCounter.en.mdx +52 -14
- package/src/media/mdx/FieldCounter/fieldCounter.ru.mdx +55 -14
- package/src/media/mdx/FieldCounter/templates.en.mdx +26 -6
- package/src/media/mdx/FieldCounter/templates.ru.mdx +25 -5
- package/src/media/mdx/FieldLabel/fieldLabel.en.mdx +56 -14
- package/src/media/mdx/FieldLabel/fieldLabel.ru.mdx +56 -14
- package/src/media/mdx/FieldMessage/fieldMessage.en.mdx +58 -14
- package/src/media/mdx/FieldMessage/fieldMessage.ru.mdx +58 -14
- package/src/media/mdx/FieldMessage/slots.en.mdx +45 -0
- package/src/media/mdx/FieldMessage/slots.ru.mdx +45 -0
- package/src/media/mdx/FieldMessage/wikiMdxFieldMessage.ts +6 -12
- package/src/media/mdx/Icon/expose.isActive.en.mdx +2 -10
- package/src/media/mdx/Icon/expose.isActive.ru.mdx +2 -10
- package/src/media/mdx/Icon/icon.en.mdx +43 -9
- package/src/media/mdx/Icon/icon.ru.mdx +27 -28
- package/src/media/mdx/Image/adaptive.en.mdx +63 -20
- package/src/media/mdx/Image/adaptive.ru.mdx +62 -25
- package/src/media/mdx/Image/event.load.en.mdx +37 -2
- package/src/media/mdx/Image/event.load.ru.mdx +34 -7
- package/src/media/mdx/Image/{expose.type.ru.mdx → expose.en.mdx} +11 -1
- package/src/media/mdx/Image/expose.ru.mdx +31 -0
- package/src/media/mdx/Image/image.en.mdx +46 -0
- package/src/media/mdx/Image/image.ru.mdx +47 -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 +19 -19
- package/src/media/mdx/Image/size.ru.mdx +19 -23
- package/src/media/mdx/Image/value.en.mdx +10 -27
- package/src/media/mdx/Image/value.ru.mdx +10 -29
- package/src/media/mdx/Image/wikiMdxImage.ts +17 -11
- 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 +5 -8
- package/src/media/mdx/List/event.close.ru.mdx +5 -8
- package/src/media/mdx/List/list.en.mdx +56 -14
- package/src/media/mdx/List/list.ru.mdx +56 -14
- package/src/media/mdx/List/lite.en.mdx +17 -12
- package/src/media/mdx/List/lite.ru.mdx +17 -12
- package/src/media/mdx/List/slot.html.en.mdx +72 -21
- package/src/media/mdx/List/slot.html.ru.mdx +72 -21
- package/src/media/mdx/ListGroup/listGroup.en.mdx +55 -1
- package/src/media/mdx/ListGroup/listGroup.ru.mdx +55 -1
- package/src/media/mdx/ListGroup/slots.en.mdx +10 -0
- package/src/media/mdx/ListGroup/slots.ru.mdx +10 -0
- package/src/media/mdx/ListGroup/wikiMdxListGroup.ts +6 -12
- package/src/media/mdx/ListItem/basic.en.mdx +47 -10
- package/src/media/mdx/ListItem/basic.ru.mdx +46 -9
- package/src/media/mdx/ListItem/fill.en.mdx +22 -8
- package/src/media/mdx/ListItem/fill.ru.mdx +22 -8
- package/src/media/mdx/ListItem/slots.en.mdx +7 -0
- package/src/media/mdx/ListItem/slots.ru.mdx +7 -0
- package/src/media/mdx/ListItem/wikiMdxListItem.ts +7 -13
- package/src/media/mdx/ListMenu/listMenu.en.mdx +62 -1
- package/src/media/mdx/ListMenu/listMenu.ru.mdx +62 -1
- package/src/media/mdx/Mask/basic.en.mdx +68 -16
- package/src/media/mdx/Mask/basic.ru.mdx +70 -11
- package/src/media/mdx/Mask/dateTypes.en.mdx +82 -68
- package/src/media/mdx/Mask/dateTypes.ru.mdx +82 -68
- package/src/media/mdx/Mask/expose.en.mdx +20 -0
- package/src/media/mdx/Mask/expose.ru.mdx +20 -0
- package/src/media/mdx/Mask/groupSave.en.mdx +13 -46
- package/src/media/mdx/Mask/groupSave.ru.mdx +13 -46
- package/src/media/mdx/Mask/mask.en.mdx +12 -66
- package/src/media/mdx/Mask/mask.ru.mdx +12 -66
- package/src/media/mdx/Mask/match.en.mdx +16 -24
- package/src/media/mdx/Mask/match.ru.mdx +16 -24
- package/src/media/mdx/Mask/numberTypes.en.mdx +64 -52
- package/src/media/mdx/Mask/numberTypes.ru.mdx +64 -52
- package/src/media/mdx/Mask/pattern.en.mdx +63 -75
- package/src/media/mdx/Mask/pattern.ru.mdx +63 -75
- package/src/media/mdx/Mask/special.en.mdx +174 -97
- package/src/media/mdx/Mask/special.ru.mdx +174 -97
- package/src/media/mdx/Mask/type.en.mdx +12 -36
- package/src/media/mdx/Mask/type.ru.mdx +11 -35
- package/src/media/mdx/Mask/visible.en.mdx +33 -41
- package/src/media/mdx/Mask/visible.ru.mdx +32 -40
- package/src/media/mdx/Mask/wikiMdxMask.ts +6 -0
- package/src/media/mdx/Menu/ajax.en.mdx +44 -51
- package/src/media/mdx/Menu/ajax.ru.mdx +44 -52
- 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 +12 -0
- package/src/media/mdx/Menu/expose.navigation.ru.mdx +12 -0
- package/src/media/mdx/Menu/menu.en.mdx +63 -1
- package/src/media/mdx/Menu/menu.ru.mdx +64 -1
- 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 +65 -0
- package/src/media/mdx/Menu/slots.control.ru.mdx +65 -0
- package/src/media/mdx/Menu/slots.en.mdx +100 -0
- package/src/media/mdx/Menu/slots.ru.mdx +100 -0
- package/src/media/mdx/Menu/wikiMdxMenu.ts +27 -28
- 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/MotionTransform/animationHeadPosition.en.mdx +10 -22
- package/src/media/mdx/MotionTransform/animationHeadPosition.ru.mdx +10 -22
- package/src/media/mdx/MotionTransform/classes.en.mdx +18 -25
- package/src/media/mdx/MotionTransform/classes.ru.mdx +18 -25
- package/src/media/mdx/MotionTransform/events.en.mdx +31 -43
- package/src/media/mdx/MotionTransform/events.ru.mdx +31 -43
- package/src/media/mdx/MotionTransform/expose.isShow.en.mdx +2 -4
- package/src/media/mdx/MotionTransform/expose.isShow.ru.mdx +2 -4
- package/src/media/mdx/MotionTransform/expose.motionTransformElement.en.mdx +13 -0
- package/src/media/mdx/MotionTransform/expose.motionTransformElement.ru.mdx +14 -0
- package/src/media/mdx/MotionTransform/ignore.en.mdx +22 -24
- package/src/media/mdx/MotionTransform/ignore.ru.mdx +22 -24
- package/src/media/mdx/MotionTransform/motionTransform.en.mdx +44 -15
- package/src/media/mdx/MotionTransform/motionTransform.ru.mdx +44 -15
- package/src/media/mdx/MotionTransform/slots.en.mdx +92 -0
- package/src/media/mdx/MotionTransform/slots.ru.mdx +92 -0
- package/src/media/mdx/MotionTransform/v-model.en.mdx +23 -14
- package/src/media/mdx/MotionTransform/v-model.ru.mdx +23 -14
- package/src/media/mdx/MotionTransform/wikiMdxMotionTransform.ts +11 -17
- package/src/media/mdx/Progress/circular.en.mdx +7 -20
- package/src/media/mdx/Progress/circular.ru.mdx +7 -20
- package/src/media/mdx/Progress/delays.en.mdx +6 -13
- package/src/media/mdx/Progress/delays.ru.mdx +6 -13
- package/src/media/mdx/Progress/linear.en.mdx +9 -23
- package/src/media/mdx/Progress/linear.ru.mdx +9 -23
- package/src/media/mdx/Progress/progress.en.mdx +67 -5
- package/src/media/mdx/Progress/progress.ru.mdx +67 -5
- package/src/media/mdx/Progress/values.en.mdx +6 -28
- package/src/media/mdx/Progress/values.ru.mdx +6 -29
- package/src/media/mdx/Ripple/ripple.en.mdx +34 -40
- package/src/media/mdx/Ripple/ripple.ru.mdx +34 -40
- 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 +38 -2
- package/src/media/mdx/Scrollbar/scrollbar.ru.mdx +38 -2
- package/src/media/mdx/Scrollbar/wikiMdxScrollbar.ts +12 -43
- 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 +7 -28
- package/src/media/mdx/Skeleton/expose.isActive.ru.mdx +7 -28
- package/src/media/mdx/Skeleton/skeleton.en.mdx +37 -36
- package/src/media/mdx/Skeleton/skeleton.ru.mdx +37 -36
- package/src/media/mdx/Skeleton/wikiMdxSkeleton.ts +7 -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 +14 -0
- package/src/media/mdx/Tooltip/slot.control.ru.mdx +14 -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 +11 -19
- package/src/media/mdx/Window/axis.ru.mdx +11 -19
- package/src/media/mdx/Window/classes.en.mdx +9 -26
- package/src/media/mdx/Window/classes.ru.mdx +9 -26
- package/src/media/mdx/Window/event.window.en.mdx +26 -8
- package/src/media/mdx/Window/event.window.ru.mdx +26 -8
- package/src/media/mdx/Window/expose.en.mdx +44 -0
- package/src/media/mdx/Window/expose.ru.mdx +44 -0
- package/src/media/mdx/Window/hooks.en.mdx +29 -50
- package/src/media/mdx/Window/hooks.ru.mdx +31 -52
- package/src/media/mdx/Window/slots.en.mdx +168 -0
- package/src/media/mdx/Window/slots.ru.mdx +168 -0
- package/src/media/mdx/Window/v-model.en.mdx +20 -11
- package/src/media/mdx/Window/v-model.ru.mdx +19 -11
- package/src/media/mdx/Window/wikiMdxWindow.ts +11 -41
- package/src/media/mdx/Window/window.en.mdx +55 -1
- package/src/media/mdx/Window/window.ru.mdx +55 -1
- 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 +90 -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 +50 -73
- package/src/media/mdx/expose/expose.clear.en.mdx +3 -0
- package/src/media/mdx/expose/expose.clear.ru.mdx +3 -0
- package/src/media/mdx/expose/expose.descriptionId.en.mdx +6 -0
- package/src/media/mdx/expose/expose.descriptionId.ru.mdx +6 -0
- package/src/media/mdx/expose/expose.detail.en.mdx +5 -0
- package/src/media/mdx/expose/{detail.ru.mdx → expose.detail.ru.mdx} +1 -3
- package/src/media/mdx/expose/expose.id.en.mdx +6 -0
- package/src/media/mdx/expose/expose.id.ru.mdx +6 -0
- package/src/media/mdx/expose/expose.labelId.en.mdx +6 -0
- package/src/media/mdx/expose/expose.labelId.ru.mdx +6 -0
- package/src/media/mdx/expose/expose.open.en.mdx +5 -0
- package/src/media/mdx/expose/expose.open.ru.mdx +5 -0
- package/src/media/mdx/expose/expose.selected.en.mdx +23 -0
- package/src/media/mdx/expose/expose.selected.ru.mdx +23 -0
- package/src/media/mdx/expose/{value.en.mdx → expose.value.en.mdx} +1 -3
- package/src/media/mdx/expose/{value.ru.mdx → expose.value.ru.mdx} +1 -3
- package/src/media/mdx/expose/wikiMdxExpose.ts +41 -29
- package/src/media/mdx/slot/body.en.mdx +6 -0
- package/src/media/mdx/slot/body.ru.mdx +6 -0
- package/src/media/mdx/slot/caption.en.mdx +2 -7
- package/src/media/mdx/slot/caption.ru.mdx +2 -7
- package/src/media/mdx/slot/control.en.mdx +4 -5
- package/src/media/mdx/slot/control.ru.mdx +4 -5
- package/src/media/mdx/slot/default.en.mdx +2 -7
- package/src/media/mdx/slot/default.ru.mdx +2 -7
- package/src/media/mdx/slot/description.en.mdx +2 -7
- package/src/media/mdx/slot/description.ru.mdx +2 -7
- package/src/media/mdx/slot/footer.en.mdx +4 -5
- package/src/media/mdx/slot/footer.ru.mdx +4 -5
- package/src/media/mdx/slot/headline.en.mdx +7 -0
- package/src/media/mdx/slot/headline.ru.mdx +6 -0
- package/src/media/mdx/slot/label.en.mdx +2 -8
- package/src/media/mdx/slot/label.ru.mdx +2 -8
- package/src/media/mdx/slot/leading.en.mdx +7 -0
- package/src/media/mdx/slot/leading.ru.mdx +7 -0
- package/src/media/mdx/slot/prefix.en.mdx +1 -4
- package/src/media/mdx/slot/prefix.ru.mdx +1 -4
- package/src/media/mdx/slot/secondary.en.mdx +5 -0
- package/src/media/mdx/slot/secondary.ru.mdx +5 -0
- package/src/media/mdx/slot/suffix.en.mdx +1 -4
- package/src/media/mdx/slot/suffix.ru.mdx +1 -4
- package/src/media/mdx/slot/trailing.en.mdx +7 -0
- package/src/media/mdx/slot/trailing.ru.mdx +7 -0
- package/src/media/mdx/slot/wikiMdxSlot.ts +29 -5
- package/src/media/mdx/style/adaptive.en.mdx +6 -16
- package/src/media/mdx/style/adaptive.ru.mdx +6 -16
- package/src/media/mdx/style/asPalette.en.mdx +13 -5
- package/src/media/mdx/style/asPalette.ru.mdx +13 -5
- package/src/media/mdx/style/dir.en.mdx +14 -7
- package/src/media/mdx/style/dir.ru.mdx +14 -7
- package/src/media/mdx/style/isSkeleton.en.mdx +20 -6
- package/src/media/mdx/style/isSkeleton.ru.mdx +19 -5
- package/src/media/mdx/value/highlight.en.mdx +19 -12
- package/src/media/mdx/value/highlight.ru.mdx +19 -12
- package/src/media/mdx/value/labelNumber.en.mdx +39 -20
- package/src/media/mdx/value/labelNumber.ru.mdx +39 -20
- 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 +6 -12
- package/src/media/mdx/value/value.ru.mdx +6 -12
- package/src/media/mdx/value/wikiMdxValue.ts +24 -3
- package/src/media/mdx/wikiMdx.ts +29 -1
- package/src/media/props/wiki.ts +42 -0
- package/src/media/props/wikiActions.ts +43 -0
- package/src/media/props/wikiActionsInclude.ts +62 -0
- package/src/media/props/wikiAnchor.ts +84 -0
- package/src/media/props/wikiAria.ts +102 -0
- package/src/media/props/wikiArrow.ts +24 -0
- package/src/media/props/wikiArrowInclude.ts +45 -0
- package/src/media/props/wikiBarsInclude.ts +80 -0
- package/src/media/props/wikiChipGroup.ts +39 -0
- package/src/media/props/wikiDialog.ts +34 -0
- package/src/media/props/wikiField.ts +0 -21
- package/src/media/props/wikiFieldCounterInclude.ts +78 -0
- package/src/media/props/wikiForm.ts +248 -0
- package/src/media/props/wikiHook.ts +20 -0
- package/src/media/props/wikiIcon.ts +3 -3
- package/src/media/props/wikiIconInclude.ts +319 -0
- package/src/media/props/wikiImage.ts +71 -19
- package/src/media/props/wikiInformation.ts +160 -0
- package/src/media/props/wikiInput.ts +34 -0
- package/src/media/props/wikiListItem.ts +20 -0
- package/src/media/props/wikiMask.ts +0 -10
- package/src/media/props/wikiMaskInclude.ts +54 -0
- package/src/media/props/wikiMenu.ts +0 -10
- package/src/media/props/wikiMotionTransform.ts +0 -10
- package/src/media/props/wikiOption.ts +113 -0
- package/src/media/props/wikiSelect.ts +68 -0
- package/src/media/props/wikiSelectValue.ts +30 -0
- package/src/media/props/wikiStatus.ts +29 -41
- package/src/media/props/wikiStyle.ts +154 -243
- package/src/media/props/wikiTechnical.ts +65 -0
- package/src/media/props/wikiText.ts +57 -0
- package/src/media/props/wikiTooltip.ts +53 -0
- package/src/media/props/wikiValue.ts +14 -203
- package/src/media/props/wikiWindow.ts +0 -31
- package/src/media/styles/color.md +1 -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/styles/storybookStyle.scss +4 -1
- package/src/types/storybookTypes.ts +26 -4
- package/src/media/mdx/Bars/slot.actionBars.en.mdx +0 -12
- package/src/media/mdx/Bars/slot.actionBars.ru.mdx +0 -11
- package/src/media/mdx/Bars/slot.bars.en.mdx +0 -12
- package/src/media/mdx/Bars/slot.bars.ru.mdx +0 -11
- package/src/media/mdx/Cell/slot.body.en.mdx +0 -7
- package/src/media/mdx/Cell/slot.body.ru.mdx +0 -7
- package/src/media/mdx/Cell/slot.trailing.en.mdx +0 -7
- package/src/media/mdx/Cell/slot.trailing.ru.mdx +0 -7
- package/src/media/mdx/Field/slot.default.en.mdx +0 -9
- package/src/media/mdx/Field/slot.default.ru.mdx +0 -9
- package/src/media/mdx/Field/slot.leading.en.mdx +0 -10
- package/src/media/mdx/Field/slot.leading.ru.mdx +0 -10
- package/src/media/mdx/Field/slot.trailing.en.mdx +0 -10
- package/src/media/mdx/Field/slot.trailing.ru.mdx +0 -10
- package/src/media/mdx/FieldMessage/slot.helper.en.mdx +0 -12
- package/src/media/mdx/FieldMessage/slot.helper.ru.mdx +0 -12
- package/src/media/mdx/FieldMessage/slot.validation.en.mdx +0 -12
- package/src/media/mdx/FieldMessage/slot.validation.ru.mdx +0 -12
- package/src/media/mdx/Image/expose.data.en.mdx +0 -13
- package/src/media/mdx/Image/expose.data.ru.mdx +0 -13
- package/src/media/mdx/Image/expose.type.en.mdx +0 -21
- package/src/media/mdx/ListGroup/slot.head.en.mdx +0 -8
- package/src/media/mdx/ListGroup/slot.head.ru.mdx +0 -8
- package/src/media/mdx/ListGroup/slot.list.en.mdx +0 -8
- package/src/media/mdx/ListGroup/slot.list.ru.mdx +0 -8
- package/src/media/mdx/ListItem/slot.body.en.mdx +0 -7
- package/src/media/mdx/ListItem/slot.body.ru.mdx +0 -7
- package/src/media/mdx/ListItem/slot.trailing.en.mdx +0 -7
- package/src/media/mdx/ListItem/slot.trailing.ru.mdx +0 -7
- package/src/media/mdx/Menu/slot.contextBottom.en.mdx +0 -9
- package/src/media/mdx/Menu/slot.contextBottom.ru.mdx +0 -9
- package/src/media/mdx/Menu/slot.contextTop.en.mdx +0 -9
- package/src/media/mdx/Menu/slot.contextTop.ru.mdx +0 -9
- package/src/media/mdx/Menu/slot.control.en.mdx +0 -9
- package/src/media/mdx/Menu/slot.control.ru.mdx +0 -9
- package/src/media/mdx/Menu/slot.footer.en.mdx +0 -9
- package/src/media/mdx/Menu/slot.footer.ru.mdx +0 -9
- package/src/media/mdx/Menu/slot.title.en.mdx +0 -9
- package/src/media/mdx/Menu/slot.title.ru.mdx +0 -9
- package/src/media/mdx/MotionTransform/slot.body.en.mdx +0 -11
- package/src/media/mdx/MotionTransform/slot.body.ru.mdx +0 -11
- package/src/media/mdx/MotionTransform/slot.head.en.mdx +0 -11
- package/src/media/mdx/MotionTransform/slot.head.ru.mdx +0 -11
- package/src/media/mdx/MotionTransform/slot.params.en.mdx +0 -61
- package/src/media/mdx/MotionTransform/slot.params.ru.mdx +0 -61
- package/src/media/mdx/Scrollbar/event.bottom.en.mdx +0 -12
- package/src/media/mdx/Scrollbar/event.bottom.ru.mdx +0 -12
- package/src/media/mdx/Scrollbar/event.edge.en.mdx +0 -14
- package/src/media/mdx/Scrollbar/event.edge.ru.mdx +0 -14
- package/src/media/mdx/Scrollbar/event.leaveBottom.en.mdx +0 -11
- package/src/media/mdx/Scrollbar/event.leaveBottom.ru.mdx +0 -11
- package/src/media/mdx/Scrollbar/event.leaveTop.en.mdx +0 -11
- package/src/media/mdx/Scrollbar/event.leaveTop.ru.mdx +0 -11
- package/src/media/mdx/Scrollbar/event.reachBottom.en.mdx +0 -11
- package/src/media/mdx/Scrollbar/event.reachBottom.ru.mdx +0 -11
- package/src/media/mdx/Scrollbar/event.reachTop.en.mdx +0 -11
- package/src/media/mdx/Scrollbar/event.reachTop.ru.mdx +0 -11
- package/src/media/mdx/Scrollbar/event.top.en.mdx +0 -12
- package/src/media/mdx/Scrollbar/event.top.ru.mdx +0 -12
- package/src/media/mdx/Window/expose.control.en.mdx +0 -15
- package/src/media/mdx/Window/expose.control.ru.mdx +0 -15
- package/src/media/mdx/Window/expose.id.en.mdx +0 -7
- package/src/media/mdx/Window/expose.id.ru.mdx +0 -7
- package/src/media/mdx/Window/expose.open.en.mdx +0 -7
- package/src/media/mdx/Window/expose.open.ru.mdx +0 -7
- package/src/media/mdx/Window/expose.setOpen.en.mdx +0 -7
- package/src/media/mdx/Window/expose.setOpen.ru.mdx +0 -7
- package/src/media/mdx/Window/expose.toClose.en.mdx +0 -7
- package/src/media/mdx/Window/expose.toClose.ru.mdx +0 -7
- package/src/media/mdx/Window/expose.toOpen.en.mdx +0 -7
- package/src/media/mdx/Window/expose.toOpen.ru.mdx +0 -7
- package/src/media/mdx/Window/expose.toggle.en.mdx +0 -7
- package/src/media/mdx/Window/expose.toggle.ru.mdx +0 -7
- package/src/media/mdx/event/bars.en.mdx +0 -17
- package/src/media/mdx/event/bars.ru.mdx +0 -14
- package/src/media/mdx/event/barsBack.en.mdx +0 -14
- package/src/media/mdx/event/barsBack.ru.mdx +0 -16
- package/src/media/mdx/event/barsLite.en.mdx +0 -14
- package/src/media/mdx/event/barsLite.ru.mdx +0 -14
- package/src/media/mdx/event/click.en.mdx +0 -18
- package/src/media/mdx/event/click.ru.mdx +0 -18
- package/src/media/mdx/event/clickLite.en.mdx +0 -18
- package/src/media/mdx/event/clickLite.ru.mdx +0 -18
- package/src/media/mdx/event/scrollbarBottom.en.mdx +0 -13
- package/src/media/mdx/event/scrollbarBottom.ru.mdx +0 -13
- package/src/media/mdx/event/scrollbarEdge.en.mdx +0 -15
- package/src/media/mdx/event/scrollbarEdge.ru.mdx +0 -15
- package/src/media/mdx/event/scrollbarLeaveBottom.en.mdx +0 -12
- package/src/media/mdx/event/scrollbarLeaveBottom.ru.mdx +0 -12
- package/src/media/mdx/event/scrollbarLeaveTop.en.mdx +0 -12
- package/src/media/mdx/event/scrollbarLeaveTop.ru.mdx +0 -12
- package/src/media/mdx/event/scrollbarReachBottom.en.mdx +0 -12
- package/src/media/mdx/event/scrollbarReachBottom.ru.mdx +0 -12
- package/src/media/mdx/event/scrollbarReachTop.en.mdx +0 -12
- package/src/media/mdx/event/scrollbarReachTop.ru.mdx +0 -12
- package/src/media/mdx/event/scrollbarTop.en.mdx +0 -13
- package/src/media/mdx/event/scrollbarTop.ru.mdx +0 -13
- package/src/media/mdx/event/window.en.mdx +0 -20
- package/src/media/mdx/event/window.ru.mdx +0 -20
- package/src/media/mdx/expose/detail.en.mdx +0 -7
- package/src/media/mdx/expose/isSelected.en.mdx +0 -8
- package/src/media/mdx/expose/isSelected.ru.mdx +0 -8
- package/src/media/mdx/expose/selectedList.en.mdx +0 -7
- package/src/media/mdx/expose/selectedList.ru.mdx +0 -7
- package/src/media/mdx/expose/selectedNames.en.mdx +0 -7
- package/src/media/mdx/expose/selectedNames.ru.mdx +0 -7
- package/src/media/mdx/expose/selectedValues.en.mdx +0 -8
- package/src/media/mdx/expose/selectedValues.ru.mdx +0 -8
- package/src/media/mdx/slot/title.en.mdx +0 -9
- package/src/media/mdx/slot/title.ru.mdx +0 -9
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import type { StorybookComponentsDescriptionItem } from '../../types/storybookTypes'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Descriptions for Actions component properties
|
|
5
|
+
*
|
|
6
|
+
* Описания свойств компонента Actions
|
|
7
|
+
*/
|
|
8
|
+
export const wikiDescriptionsActions: StorybookComponentsDescriptionItem = {
|
|
9
|
+
name: 'Actions',
|
|
10
|
+
description: {
|
|
11
|
+
en: 'A flexible container component for organizing action buttons with primary and secondary groups, supporting various alignment options and adaptive behavior.',
|
|
12
|
+
ru: 'Гибкий компонент-контейнер для организации кнопок действий с основной и вторичной группами, поддерживающий различные варианты выравнивания и адаптивное поведение.'
|
|
13
|
+
},
|
|
14
|
+
possibilities: {
|
|
15
|
+
en: [
|
|
16
|
+
'Organizes action buttons into primary and secondary groups',
|
|
17
|
+
'Supports multiple alignment modes: left, right, center, block',
|
|
18
|
+
'Flexible layout that adapts to available space',
|
|
19
|
+
'Automatic spacing between button groups',
|
|
20
|
+
'Customizable button attributes for each group',
|
|
21
|
+
'Responsive behavior with adaptive breakpoints',
|
|
22
|
+
'Supports both array-based and slot-based button rendering'
|
|
23
|
+
],
|
|
24
|
+
ru: [
|
|
25
|
+
'Организует кнопки действий в основные и вторичные группы',
|
|
26
|
+
'Поддерживает несколько режимов выравнивания: left, right, center, block',
|
|
27
|
+
'Гибкая раскладка, адаптирующаяся к доступному пространству',
|
|
28
|
+
'Автоматическое расстояние между группами кнопок',
|
|
29
|
+
'Настраиваемые атрибуты кнопок для каждой группы',
|
|
30
|
+
'Адаптивное поведение с точками перехода',
|
|
31
|
+
'Поддерживает рендеринг кнопок через массив и слоты'
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
import: [],
|
|
35
|
+
stories: [
|
|
36
|
+
{
|
|
37
|
+
id: 'ActionsBasic',
|
|
38
|
+
name: {
|
|
39
|
+
en: 'Basic',
|
|
40
|
+
ru: 'Базовые'
|
|
41
|
+
},
|
|
42
|
+
template: `
|
|
43
|
+
<div class="wiki-storybook-flex-column">
|
|
44
|
+
<DesignComponent
|
|
45
|
+
:list="[
|
|
46
|
+
{ label: 'Cancel' },
|
|
47
|
+
{ label: 'Save', primary: true }
|
|
48
|
+
]"
|
|
49
|
+
/>
|
|
50
|
+
</div>
|
|
51
|
+
`
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: 'ActionsAlignment',
|
|
55
|
+
name: {
|
|
56
|
+
en: 'Alignment',
|
|
57
|
+
ru: 'Выравнивание'
|
|
58
|
+
},
|
|
59
|
+
template: `
|
|
60
|
+
<div class="wiki-storybook-flex-column">
|
|
61
|
+
<DesignComponent
|
|
62
|
+
align="left"
|
|
63
|
+
:list="[
|
|
64
|
+
{ label: 'Cancel' },
|
|
65
|
+
{ label: 'Save', primary: true }
|
|
66
|
+
]"
|
|
67
|
+
/>
|
|
68
|
+
<DesignComponent
|
|
69
|
+
align="center"
|
|
70
|
+
:list="[
|
|
71
|
+
{ label: 'Cancel' },
|
|
72
|
+
{ label: 'Save', primary: true }
|
|
73
|
+
]"
|
|
74
|
+
/>
|
|
75
|
+
<DesignComponent
|
|
76
|
+
align="right"
|
|
77
|
+
:list="[
|
|
78
|
+
{ label: 'Cancel' },
|
|
79
|
+
{ label: 'Save', primary: true }
|
|
80
|
+
]"
|
|
81
|
+
/>
|
|
82
|
+
<DesignComponent
|
|
83
|
+
align="block"
|
|
84
|
+
:list="[
|
|
85
|
+
{ label: 'Cancel' },
|
|
86
|
+
{ label: 'Save', primary: true }
|
|
87
|
+
]"
|
|
88
|
+
/>
|
|
89
|
+
</div>
|
|
90
|
+
`
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
id: 'ActionsPrimarySecondary',
|
|
94
|
+
name: {
|
|
95
|
+
en: 'Primary & Secondary Groups',
|
|
96
|
+
ru: 'Основная и вторичная группы'
|
|
97
|
+
},
|
|
98
|
+
template: `
|
|
99
|
+
<div class="wiki-storybook-flex-column">
|
|
100
|
+
<DesignComponent
|
|
101
|
+
:list="[
|
|
102
|
+
{ label: 'Cancel' },
|
|
103
|
+
{ label: 'Save', primary: true }
|
|
104
|
+
]"
|
|
105
|
+
:list-secondary="[
|
|
106
|
+
{ label: 'Delete', text: true }
|
|
107
|
+
]"
|
|
108
|
+
/>
|
|
109
|
+
</div>
|
|
110
|
+
`
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
id: 'ActionsFlexible',
|
|
114
|
+
name: {
|
|
115
|
+
en: 'Flexible Layout',
|
|
116
|
+
ru: 'Гибкая раскладка'
|
|
117
|
+
},
|
|
118
|
+
template: `
|
|
119
|
+
<div class="wiki-storybook-flex-column">
|
|
120
|
+
<DesignComponent
|
|
121
|
+
flexible="adaptive"
|
|
122
|
+
:list="[
|
|
123
|
+
{ label: 'Cancel' },
|
|
124
|
+
{ label: 'Apply' },
|
|
125
|
+
{ label: 'Save', primary: true }
|
|
126
|
+
]"
|
|
127
|
+
/>
|
|
128
|
+
</div>
|
|
129
|
+
`
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
id: 'ActionsCustomButtons',
|
|
133
|
+
name: {
|
|
134
|
+
en: 'Custom Button Styles',
|
|
135
|
+
ru: 'Пользовательские стили кнопок'
|
|
136
|
+
},
|
|
137
|
+
template: `
|
|
138
|
+
<div class="wiki-storybook-flex-column">
|
|
139
|
+
<DesignComponent
|
|
140
|
+
:list="[
|
|
141
|
+
{ label: 'Cancel', outlined: true },
|
|
142
|
+
{ label: 'Save', primary: true }
|
|
143
|
+
]"
|
|
144
|
+
:button-attrs="{ size: 'large' }"
|
|
145
|
+
/>
|
|
146
|
+
</div>
|
|
147
|
+
`
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
documentation: {
|
|
151
|
+
body: `
|
|
152
|
+
<StorybookDescriptions componentName={'Actions'} type={'actions'}/>
|
|
153
|
+
<StorybookDescriptions componentName={'Actions'} type={'list'}/>
|
|
154
|
+
<StorybookDescriptions componentName={'Actions'} type={'flexible'}/>
|
|
155
|
+
`,
|
|
156
|
+
slots: `
|
|
157
|
+
<StorybookDescriptions componentName={'Slot'} type={'default'}/>
|
|
158
|
+
<StorybookDescriptions componentName={'Slot'} type={'secondary'}/>
|
|
159
|
+
`
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { StorybookComponentsDescriptionItem } from '../../types/storybookTypes'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Descriptions for Anchor component properties
|
|
5
|
+
*
|
|
6
|
+
* Описания свойств компонента Anchor
|
|
7
|
+
*/
|
|
8
|
+
export const wikiDescriptionsAnchor: StorybookComponentsDescriptionItem = {
|
|
9
|
+
name: 'Anchor',
|
|
10
|
+
description: {
|
|
11
|
+
en: 'Component for creating hyperlinks or anchor points for navigation',
|
|
12
|
+
ru: 'Компонент для создания гиперссылок или якорных точек для навигации'
|
|
13
|
+
},
|
|
14
|
+
possibilities: {
|
|
15
|
+
en: [
|
|
16
|
+
'creating links to other pages or resources',
|
|
17
|
+
'creating anchor points for internal page navigation',
|
|
18
|
+
'support for icons and text',
|
|
19
|
+
'customizable appearance'
|
|
20
|
+
],
|
|
21
|
+
ru: [
|
|
22
|
+
'создание ссылок на другие страницы или ресурсы',
|
|
23
|
+
'создание якорных точек для внутренней навигации по странице',
|
|
24
|
+
'поддержка иконок и текста',
|
|
25
|
+
'настраиваемый внешний вид'
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
documentation: {
|
|
29
|
+
body: `
|
|
30
|
+
<StorybookDescriptions componentName={'Anchor'} type={'anchor'}/>
|
|
31
|
+
<StorybookDescriptions componentName={'Anchor'} type={'isCopy'}/>
|
|
32
|
+
<StorybookDescriptions componentName={'Anchor'} type={'hide'}/>
|
|
33
|
+
<StorybookDescriptions componentName={'Anchor'} type={'scroll'}/>
|
|
34
|
+
`,
|
|
35
|
+
expose: `
|
|
36
|
+
<StorybookDescriptions componentName={'Anchor'} type={'expose.go'}/>
|
|
37
|
+
`,
|
|
38
|
+
slots: `
|
|
39
|
+
<StorybookDescriptions componentName={'Slot'} type={'default'}/>
|
|
40
|
+
`
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import type { StorybookComponentsDescriptionItem } from '../../types/storybookTypes'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Descriptions for Arrow component properties
|
|
5
|
+
*
|
|
6
|
+
* Описания свойств компонента Arrow
|
|
7
|
+
*/
|
|
8
|
+
export const wikiDescriptionsArrow: StorybookComponentsDescriptionItem = {
|
|
9
|
+
name: 'Arrow',
|
|
10
|
+
description: {
|
|
11
|
+
en: 'Component for displaying an arrow or directional indicator',
|
|
12
|
+
ru: 'Компонент для отображения стрелки или индикатора направления'
|
|
13
|
+
},
|
|
14
|
+
possibilities: {
|
|
15
|
+
en: [
|
|
16
|
+
'displaying directional arrows',
|
|
17
|
+
'customizable size and color',
|
|
18
|
+
'rotation support'
|
|
19
|
+
],
|
|
20
|
+
ru: [
|
|
21
|
+
'отображение направляющих стрелок',
|
|
22
|
+
'настраиваемый размер и цвет',
|
|
23
|
+
'поддержка вращения'
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
import: [
|
|
27
|
+
'import { ref } from \'vue\''
|
|
28
|
+
],
|
|
29
|
+
render: `
|
|
30
|
+
<div class="wiki-storybook-item wiki-storybook-item--rectangle wiki-storybook-item--center">
|
|
31
|
+
<div>
|
|
32
|
+
<div
|
|
33
|
+
style="
|
|
34
|
+
width: 256px;
|
|
35
|
+
margin-bottom: 32px;
|
|
36
|
+
margin-left: 32px;
|
|
37
|
+
"
|
|
38
|
+
>
|
|
39
|
+
<div
|
|
40
|
+
id="id-arrow-target"
|
|
41
|
+
style="
|
|
42
|
+
padding: 8px;
|
|
43
|
+
width: min-content;
|
|
44
|
+
border-radius: 8px;
|
|
45
|
+
background-color: oklch(90.2% 0.063 306.703);
|
|
46
|
+
"
|
|
47
|
+
>
|
|
48
|
+
Target
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
<div
|
|
52
|
+
style="
|
|
53
|
+
position: relative;
|
|
54
|
+
width: 256px;
|
|
55
|
+
height: 128px;
|
|
56
|
+
border-radius: 16px;
|
|
57
|
+
background-color: oklch(93.2% 0.032 255.585);
|
|
58
|
+
border: 2px solid oklch(80.9% 0.105 251.813);
|
|
59
|
+
box-shadow: 0 0 8px oklch(0.281 0.092 268.132 / 0.32);
|
|
60
|
+
"
|
|
61
|
+
>
|
|
62
|
+
<DesignComponent v-bind="args"/>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
`,
|
|
67
|
+
stories: [
|
|
68
|
+
{
|
|
69
|
+
id: 'ArrowBasic',
|
|
70
|
+
name: {
|
|
71
|
+
en: 'Basic',
|
|
72
|
+
ru: 'Базовые'
|
|
73
|
+
},
|
|
74
|
+
setup: `
|
|
75
|
+
const elementBasic = ref()
|
|
76
|
+
const elementTarget = ref()
|
|
77
|
+
const elementArray = ref()
|
|
78
|
+
|
|
79
|
+
const x = ref('0px')
|
|
80
|
+
const y = ref('0px')
|
|
81
|
+
|
|
82
|
+
const onClick = (event: PointerEvent) => {
|
|
83
|
+
if (elementBasic.value) {
|
|
84
|
+
const rect = elementBasic.value.getBoundingClientRect()
|
|
85
|
+
let offsetX = 0
|
|
86
|
+
let offsetY = 0
|
|
87
|
+
|
|
88
|
+
if (elementTarget.value) {
|
|
89
|
+
const targetRect = elementTarget.value.getBoundingClientRect()
|
|
90
|
+
offsetX = targetRect.width / 2
|
|
91
|
+
offsetY = targetRect.height / 2
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
x.value = (event.clientX - rect.left - offsetX) + 'px'
|
|
95
|
+
y.value = (event.clientY - rect.top - offsetY) + 'px'
|
|
96
|
+
|
|
97
|
+
requestAnimationFrame(() => elementArray.value?.update())
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
elementBasic,
|
|
103
|
+
elementTarget,
|
|
104
|
+
elementArray,
|
|
105
|
+
x,
|
|
106
|
+
y,
|
|
107
|
+
onClick
|
|
108
|
+
}
|
|
109
|
+
`,
|
|
110
|
+
template: `
|
|
111
|
+
<div
|
|
112
|
+
class="wiki-storybook-item wiki-storybook-item--rectangle wiki-storybook-item--center"
|
|
113
|
+
style="cursor: crosshair;"
|
|
114
|
+
@click="onClick"
|
|
115
|
+
>
|
|
116
|
+
<div>
|
|
117
|
+
<div
|
|
118
|
+
style="
|
|
119
|
+
opacity: 0.5;
|
|
120
|
+
font-size: 14px;
|
|
121
|
+
margin-bottom: 8px;
|
|
122
|
+
text-align: center;
|
|
123
|
+
"
|
|
124
|
+
>
|
|
125
|
+
Click to move target
|
|
126
|
+
</div>
|
|
127
|
+
<div
|
|
128
|
+
ref="elementBasic"
|
|
129
|
+
style="
|
|
130
|
+
position: relative;
|
|
131
|
+
margin-bottom: 96px;
|
|
132
|
+
margin-left: 32px;
|
|
133
|
+
z-index: 32;
|
|
134
|
+
"
|
|
135
|
+
>
|
|
136
|
+
<div
|
|
137
|
+
ref="elementTarget"
|
|
138
|
+
id="id-arrow-target-2"
|
|
139
|
+
style="
|
|
140
|
+
position: absolute;
|
|
141
|
+
padding: 8px;
|
|
142
|
+
width: min-content;
|
|
143
|
+
border-radius: 8px;
|
|
144
|
+
background-color: oklch(90.2% 0.063 306.703);
|
|
145
|
+
text-wrap: nowrap;
|
|
146
|
+
pointer-events: none;
|
|
147
|
+
"
|
|
148
|
+
:style="{left: x, top: y}"
|
|
149
|
+
>
|
|
150
|
+
Target Element Example
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
<div
|
|
154
|
+
style="
|
|
155
|
+
position: relative;
|
|
156
|
+
width: 256px;
|
|
157
|
+
height: 128px;
|
|
158
|
+
border-radius: 16px;
|
|
159
|
+
background-color: oklch(93.2% 0.032 255.585);
|
|
160
|
+
border: 2px solid oklch(80.9% 0.105 251.813);
|
|
161
|
+
box-shadow: 0 0 8px oklch(0.281 0.092 268.132 / 0.32);
|
|
162
|
+
"
|
|
163
|
+
>
|
|
164
|
+
<DesignComponent
|
|
165
|
+
ref="elementArray"
|
|
166
|
+
position="auto"
|
|
167
|
+
element-target="#id-arrow-target-2"
|
|
168
|
+
/>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
`
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
documentation: {
|
|
176
|
+
body: `
|
|
177
|
+
<StorybookDescriptions componentName={'Arrow'} type={'arrow'}/>
|
|
178
|
+
<Canvas of={Component.ArrowBasic}/>
|
|
179
|
+
`
|
|
180
|
+
}
|
|
181
|
+
}
|
|
@@ -130,13 +130,11 @@ export const wikiDescriptionsBars: StorybookComponentsDescriptionItem = {
|
|
|
130
130
|
`,
|
|
131
131
|
events: `
|
|
132
132
|
<StorybookDescriptions componentName={'Event'} type={'click'}/>
|
|
133
|
-
<StorybookDescriptions componentName={'Event'} type={'clickLite'}/>
|
|
134
133
|
`,
|
|
135
134
|
slots: `
|
|
135
|
+
<StorybookDescriptions componentName={'Bars'} type={'slots'}/>
|
|
136
136
|
<StorybookDescriptions componentName={'Slot'} type={'default'}/>
|
|
137
137
|
<StorybookDescriptions componentName={'Slot'} type={'description'}/>
|
|
138
|
-
<StorybookDescriptions componentName={'Bars'} type={'slot.bars'}/>
|
|
139
|
-
<StorybookDescriptions componentName={'Bars'} type={'slot.actionBars'}/>
|
|
140
138
|
`
|
|
141
139
|
}
|
|
142
140
|
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { StorybookComponentsDescriptionItem } from '../../types/storybookTypes'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Descriptions for Block component properties
|
|
5
|
+
*
|
|
6
|
+
* Описания свойств компонента Block
|
|
7
|
+
*/
|
|
8
|
+
export const wikiDescriptionsBlock: StorybookComponentsDescriptionItem = {
|
|
9
|
+
name: 'Block',
|
|
10
|
+
description: {
|
|
11
|
+
en: 'A versatile structural component that serves as a container with support for labels, descriptions, captions, icons, and headlines',
|
|
12
|
+
ru: 'Универсальный структурный компонент, служащий контейнером с поддержкой меток, описаний, подписей, иконок и заголовков'
|
|
13
|
+
},
|
|
14
|
+
possibilities: {
|
|
15
|
+
en: [
|
|
16
|
+
'displaying a headline, label, description, and caption',
|
|
17
|
+
'support for icons',
|
|
18
|
+
'customizable HTML tag',
|
|
19
|
+
'flexible layout for content organization'
|
|
20
|
+
],
|
|
21
|
+
ru: [
|
|
22
|
+
'отображение заголовка, метки, описания и подписи',
|
|
23
|
+
'поддержка иконок',
|
|
24
|
+
'настраиваемый HTML-тег',
|
|
25
|
+
'гибкая компоновка для организации контента'
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
import: [],
|
|
29
|
+
render: `
|
|
30
|
+
<DesignComponent v-bind="args">
|
|
31
|
+
<p>
|
|
32
|
+
The Block component serves as a fundamental building unit for constructing complex user interfaces.
|
|
33
|
+
It provides a flexible container that can host various content elements such as labels, descriptions, and icons.
|
|
34
|
+
</p>
|
|
35
|
+
<p>
|
|
36
|
+
With its versatile design, the Block component adapts seamlessly to different layout requirements.
|
|
37
|
+
Whether you need a simple content wrapper or a detailed card with a headline and caption, this component handles it all.
|
|
38
|
+
</p>
|
|
39
|
+
<p>
|
|
40
|
+
Developers can easily customize the appearance and behavior of the Block using properties and slots.
|
|
41
|
+
This ensures that the component fits perfectly into any design system while maintaining consistency across the application.
|
|
42
|
+
</p>
|
|
43
|
+
</DesignComponent>
|
|
44
|
+
`,
|
|
45
|
+
stories: [
|
|
46
|
+
{
|
|
47
|
+
id: 'BlockBasic',
|
|
48
|
+
name: {
|
|
49
|
+
en: 'Basic',
|
|
50
|
+
ru: 'Базовые'
|
|
51
|
+
},
|
|
52
|
+
template: `
|
|
53
|
+
<div class="wiki-storybook-flex">
|
|
54
|
+
<DesignComponent>Content</DesignComponent>
|
|
55
|
+
<DesignComponent label="Label" description="Description">Content</DesignComponent>
|
|
56
|
+
<DesignComponent headline="Headline" label="Label">Content</DesignComponent>
|
|
57
|
+
<DesignComponent icon="home" label="Label">Content</DesignComponent>
|
|
58
|
+
</div>
|
|
59
|
+
`
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
id: 'BlockSlots',
|
|
63
|
+
name: {
|
|
64
|
+
en: 'Slots usage',
|
|
65
|
+
ru: 'Использование слотов'
|
|
66
|
+
},
|
|
67
|
+
template: `
|
|
68
|
+
<DesignComponent>
|
|
69
|
+
<template #default>Default slot</template>
|
|
70
|
+
<template #headline>Headline slot</template>
|
|
71
|
+
<template #label>Label slot</template>
|
|
72
|
+
<template #description>Description slot</template>
|
|
73
|
+
<template #caption>Caption slot</template>
|
|
74
|
+
<template #trailing>Trailing slot</template>
|
|
75
|
+
</DesignComponent>
|
|
76
|
+
`
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
documentation: {
|
|
80
|
+
body: `
|
|
81
|
+
<StorybookDescriptions componentName={'Block'} type={'block'}/>
|
|
82
|
+
`,
|
|
83
|
+
slots: `
|
|
84
|
+
<Canvas of={Component.BlockSlots}/>
|
|
85
|
+
<StorybookDescriptions componentName={'Slot'} type={'default'}/>
|
|
86
|
+
<StorybookDescriptions componentName={'Slot'} type={'headline'}/>
|
|
87
|
+
<StorybookDescriptions componentName={'Slot'} type={'label'}/>
|
|
88
|
+
<StorybookDescriptions componentName={'Slot'} type={'description'}/>
|
|
89
|
+
<StorybookDescriptions componentName={'Slot'} type={'caption'}/>
|
|
90
|
+
<StorybookDescriptions componentName={'Slot'} type={'trailing'}/>
|
|
91
|
+
`,
|
|
92
|
+
expose: `
|
|
93
|
+
<StorybookDescriptions componentName={'Expose'} type={'labelId'}/>
|
|
94
|
+
<StorybookDescriptions componentName={'Expose'} type={'descriptionId'}/>
|
|
95
|
+
`
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -181,7 +181,6 @@ export const wikiDescriptionsButton: StorybookComponentsDescriptionItem = {
|
|
|
181
181
|
`,
|
|
182
182
|
events: `
|
|
183
183
|
<StorybookDescriptions componentName={'Event'} type={'click'}/>
|
|
184
|
-
<StorybookDescriptions componentName={'Event'} type={'clickLite'}/>
|
|
185
184
|
`,
|
|
186
185
|
expose: `
|
|
187
186
|
<StorybookDescriptions componentName={'Expose'} type={'value'}/>
|
|
@@ -96,19 +96,19 @@ export const wikiDescriptionsCell: StorybookComponentsDescriptionItem = {
|
|
|
96
96
|
`,
|
|
97
97
|
events: `
|
|
98
98
|
<StorybookDescriptions componentName={'Event'} type={'click'}/>
|
|
99
|
-
<StorybookDescriptions componentName={'Event'} type={'clickLite'}/>
|
|
100
99
|
`,
|
|
101
100
|
expose: `
|
|
102
101
|
<StorybookDescriptions componentName={'Expose'} type={'value'}/>
|
|
103
102
|
<StorybookDescriptions componentName={'Expose'} type={'detail'}/>
|
|
103
|
+
<StorybookDescriptions componentName={'Expose'} type={'labelId'}/>
|
|
104
|
+
<StorybookDescriptions componentName={'Expose'} type={'descriptionId'}/>
|
|
104
105
|
`,
|
|
105
106
|
slots: `
|
|
106
107
|
<Canvas of={Component.CellSlots}/>
|
|
107
108
|
<StorybookDescriptions componentName={'Slot'} type={'default'}/>
|
|
108
109
|
<StorybookDescriptions componentName={'Slot'} type={'caption'}/>
|
|
109
110
|
<StorybookDescriptions componentName={'Slot'} type={'description'}/>
|
|
110
|
-
<StorybookDescriptions componentName={'Cell'} type={'
|
|
111
|
-
<StorybookDescriptions componentName={'Cell'} type={'slot.body'}/>
|
|
111
|
+
<StorybookDescriptions componentName={'Cell'} type={'slots'}/>
|
|
112
112
|
`
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -209,7 +209,6 @@ export const wikiDescriptionsChip: StorybookComponentsDescriptionItem = {
|
|
|
209
209
|
`,
|
|
210
210
|
events: `
|
|
211
211
|
<StorybookDescriptions componentName={'Event'} type={'click'}/>
|
|
212
|
-
<StorybookDescriptions componentName={'Event'} type={'clickLite'}/>
|
|
213
212
|
`,
|
|
214
213
|
expose: `
|
|
215
214
|
<StorybookDescriptions componentName={'Expose'} type={'value'}/>
|