@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
|
@@ -1,28 +1,47 @@
|
|
|
1
|
-
##
|
|
1
|
+
## Working with text labels and numbers
|
|
2
2
|
|
|
3
|
-
The `label`, `labelMax`, and `formatting` properties are designed to
|
|
3
|
+
The `label`, `labelMax`, and `formatting` properties are designed to manage the display of textual and numerical content in interface components.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**Properties:**
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
7
|
+
- `label` — text label or numeric value to display
|
|
8
|
+
- `labelMax` — maximum value for numeric labels (adds "+" indicator when exceeded)
|
|
9
|
+
- `formatting` — enables formatting of numeric values according to user locale
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Properties work together for flexible content management: `label` accepts both textual and numeric values. When a number is passed, automatic processing is applied with localization consideration. The `labelMax` property limits the display of large numbers — when the value is exceeded, a "+" symbol is added (e.g., "99+"). The `formatting` property controls number formatting according to user regional settings, ensuring correct display of separators and numeric formats.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
```html
|
|
14
|
+
<script setup>
|
|
15
|
+
import { ref } from 'vue'
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- Conversion occurs with consideration of maximum values and localization
|
|
17
|
+
const count = ref(5)
|
|
18
|
+
const largeNumber = ref(1234)
|
|
19
|
+
</script>
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
- Ensures consistent display across different contexts
|
|
21
|
+
<template>
|
|
22
|
+
<!-- Basic usage with text -->
|
|
23
|
+
<Component label="Text" />
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
<!-- Numeric value -->
|
|
26
|
+
<Component :label="count" />
|
|
27
|
+
|
|
28
|
+
<!-- Maximum value limitation -->
|
|
29
|
+
<Component :label="150" :label-max="99" />
|
|
30
|
+
<!-- Displays: 99+ -->
|
|
31
|
+
|
|
32
|
+
<!-- With number formatting -->
|
|
33
|
+
<Component
|
|
34
|
+
:label="largeNumber"
|
|
35
|
+
:formatting="true"
|
|
36
|
+
/>
|
|
37
|
+
<!-- Displays: 1,234 (depending on locale) -->
|
|
38
|
+
|
|
39
|
+
<!-- Combined usage -->
|
|
40
|
+
<Component
|
|
41
|
+
:label="999"
|
|
42
|
+
:label-max="99"
|
|
43
|
+
:formatting="true"
|
|
44
|
+
/>
|
|
45
|
+
<!-- Displays: 99+ -->
|
|
46
|
+
</template>
|
|
47
|
+
```
|
|
@@ -1,28 +1,47 @@
|
|
|
1
|
-
##
|
|
1
|
+
## Работа с текстовыми метками и числами
|
|
2
2
|
|
|
3
|
-
Свойства `label`, `labelMax` и `formatting` предназначены для управления отображением текстового и числового контента в
|
|
3
|
+
Свойства `label`, `labelMax` и `formatting` предназначены для управления отображением текстового и числового контента в компонентах интерфейса.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**Свойства:**
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
7
|
+
- `label` — текстовая метка или числовое значение для отображения
|
|
8
|
+
- `labelMax` — максимальное значение для числовых меток (при превышении добавляется индикатор "+")
|
|
9
|
+
- `formatting` — включает форматирование числовых значений согласно локали пользователя
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Свойства работают совместно для гибкого управления контентом: `label` принимает как текстовые, так и числовые значения. При передаче числа применяется автоматическая обработка с учётом локализации. Свойство `labelMax` ограничивает отображение больших чисел — при превышении значения добавляется символ "+" (например, "99+"). Свойство `formatting` контролирует форматирование чисел согласно региональным настройкам пользователя, обеспечивая корректное отображение разделителей и числовых форматов.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
```html
|
|
14
|
+
<script setup>
|
|
15
|
+
import { ref } from 'vue'
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- Происходит преобразование с учетом максимальных значений и локализации
|
|
17
|
+
const count = ref(5)
|
|
18
|
+
const largeNumber = ref(1234)
|
|
19
|
+
</script>
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
- Обеспечивает консистентность отображения в различных контекстах
|
|
21
|
+
<template>
|
|
22
|
+
<!-- Базовое использование с текстом -->
|
|
23
|
+
<Component label="Текст" />
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
<!-- Числовое значение -->
|
|
26
|
+
<Component :label="count" />
|
|
27
|
+
|
|
28
|
+
<!-- Ограничение максимального значения -->
|
|
29
|
+
<Component :label="150" :label-max="99" />
|
|
30
|
+
<!-- Отобразит: 99+ -->
|
|
31
|
+
|
|
32
|
+
<!-- С форматированием чисел -->
|
|
33
|
+
<Component
|
|
34
|
+
:label="largeNumber"
|
|
35
|
+
:formatting="true"
|
|
36
|
+
/>
|
|
37
|
+
<!-- Отобразит: 1 234 (в зависимости от локали) -->
|
|
38
|
+
|
|
39
|
+
<!-- Комбинированное использование -->
|
|
40
|
+
<Component
|
|
41
|
+
:label="999"
|
|
42
|
+
:label-max="99"
|
|
43
|
+
:formatting="true"
|
|
44
|
+
/>
|
|
45
|
+
<!-- Отобразит: 99+ -->
|
|
46
|
+
</template>
|
|
47
|
+
```
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
## Managing selection via v-model:selected
|
|
2
|
+
|
|
3
|
+
Two-way binding for selected value using `v-model:selected` (component uses `modelSelected`).
|
|
4
|
+
|
|
5
|
+
**Parameters:**
|
|
6
|
+
- `modelSelected: string | number | string[] | number[] | undefined` — current selected value
|
|
7
|
+
|
|
8
|
+
```html
|
|
9
|
+
<script setup>
|
|
10
|
+
import { ref } from 'vue'
|
|
11
|
+
|
|
12
|
+
const selected = ref('')
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div>
|
|
17
|
+
<button @click="selected = 'option1'">Select Option 1</button>
|
|
18
|
+
<button @click="selected = 'option2'">Select Option 2</button>
|
|
19
|
+
<button @click="selected = undefined">Clear</button>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<Component v-model:selected="selected" :list="['Option 1', 'Option 2', 'Option 3']" />
|
|
23
|
+
|
|
24
|
+
<div>Current selected value: {{ selected }}</div>
|
|
25
|
+
</template>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
## Управление выбором через v-model:selected
|
|
2
|
+
|
|
3
|
+
Двусторонняя привязка выбранного значения через `v-model:selected` (компонент использует `modelSelected`).
|
|
4
|
+
|
|
5
|
+
**Параметры:**
|
|
6
|
+
- `modelSelected: string | number | string[] | number[] | undefined` — текущее выбранное значение
|
|
7
|
+
|
|
8
|
+
```html
|
|
9
|
+
<script setup>
|
|
10
|
+
import { ref } from 'vue'
|
|
11
|
+
|
|
12
|
+
const selected = ref('')
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div>
|
|
17
|
+
<button @click="selected = 'option1'">Выбрать Option 1</button>
|
|
18
|
+
<button @click="selected = 'option2'">Выбрать Option 2</button>
|
|
19
|
+
<button @click="selected = undefined">Очистить</button>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<Component v-model:selected="selected" :list="['Option 1', 'Option 2', 'Option 3']" />
|
|
23
|
+
|
|
24
|
+
<div>Текущее выбранное значение: {{ selected }}</div>
|
|
25
|
+
</template>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
## Managing value via v-model
|
|
2
|
+
|
|
3
|
+
Two-way value binding using `v-model` (component uses standard `modelValue`).
|
|
4
|
+
|
|
5
|
+
**Parameters:**
|
|
6
|
+
- `modelValue: string | number` — current value
|
|
7
|
+
|
|
8
|
+
```html
|
|
9
|
+
<script setup>
|
|
10
|
+
import { ref } from 'vue'
|
|
11
|
+
|
|
12
|
+
const value = ref('')
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div>
|
|
17
|
+
<button @click="value = 'Example'">Set value</button>
|
|
18
|
+
<button @click="value = ''">Clear</button>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<Component v-model="value" />
|
|
22
|
+
|
|
23
|
+
<div>Current value: {{ value }}</div>
|
|
24
|
+
</template>
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
## Управление значением через v-model
|
|
2
|
+
|
|
3
|
+
Двусторонняя привязка значения через `v-model` (компонент использует стандартный `modelValue`).
|
|
4
|
+
|
|
5
|
+
**Параметры:**
|
|
6
|
+
- `modelValue: string | number` — текущее значение
|
|
7
|
+
|
|
8
|
+
```html
|
|
9
|
+
<script setup>
|
|
10
|
+
import { ref } from 'vue'
|
|
11
|
+
|
|
12
|
+
const value = ref('')
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div>
|
|
17
|
+
<button @click="value = 'Пример'">Установить значение</button>
|
|
18
|
+
<button @click="value = ''">Очистить</button>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<Component v-model="value" />
|
|
22
|
+
|
|
23
|
+
<div>Текущее значение: {{ value }}</div>
|
|
24
|
+
</template>
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
## Value and Data
|
|
1
|
+
## Value and Data Passing
|
|
2
2
|
|
|
3
|
-
The `value` and `detail` properties are designed to transfer information when interacting with components.
|
|
3
|
+
The `value` and `detail` properties are designed to transfer information when interacting with components and handling events.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**Properties:**
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
7
|
+
- `value` — main component value (string, number, object)
|
|
8
|
+
- `detail` — additional data and contextual information
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
The properties complement each other, providing complete information about the component's state and context. `value` contains the main value, while `detail` extends it with additional data.
|
|
13
|
-
|
|
14
|
-
- `value` reflects the current state or value of the component
|
|
15
|
-
- `detail` can contain metadata, identifiers, coordinates, or other auxiliary data
|
|
16
|
-
- Both properties work together to transfer structured information
|
|
10
|
+
Properties work together: `value` contains the main component value, which is passed during events and accessible via the expose API. `detail` extends `value` with additional data such as metadata, identifiers, or other auxiliary information. Both properties are available for programmatic reading and passed in component events, providing complete information about the state and context during interaction.
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
##
|
|
1
|
+
## Передача значений и данных
|
|
2
2
|
|
|
3
|
-
Свойства `value` и `detail` предназначены для передачи информации при взаимодействии с
|
|
3
|
+
Свойства `value` и `detail` предназначены для передачи информации при взаимодействии с компонентами и обработке событий.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**Свойства:**
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
7
|
+
- `value` — основное значение компонента (строка, число, объект)
|
|
8
|
+
- `detail` — дополнительные данные и контекстная информация
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Свойства дополняют друг друга, предоставляя полную информацию о состоянии и контексте компонента. `value` содержит основное значение, а `detail` расширяет его дополнительными данными.
|
|
13
|
-
|
|
14
|
-
- `value` отражает текущее состояние или значение компонента
|
|
15
|
-
- `detail` может содержать метаданные, идентификаторы, координаты или другие вспомогательные данные
|
|
16
|
-
- Оба свойства работают совместно для передачи структурированной информации
|
|
10
|
+
Свойства работают совместно: `value` содержит основное значение компонента, которое передаётся при событиях и доступно через expose API. `detail` расширяет `value` дополнительными данными, такими как метаданные, идентификаторы или другая вспомогательная информация. Оба свойства доступны для программного чтения и передаются в события компонента, обеспечивая полную информацию о состоянии и контексте при взаимодействии.
|
|
@@ -6,12 +6,33 @@ import labelNumberEn from './labelNumber.en.mdx'
|
|
|
6
6
|
import labelNumberRu from './labelNumber.ru.mdx'
|
|
7
7
|
import valueEn from './value.en.mdx'
|
|
8
8
|
import valueRu from './value.ru.mdx'
|
|
9
|
+
import vModelEn from './v-model.en.mdx'
|
|
10
|
+
import vModelRu from './v-model.ru.mdx'
|
|
11
|
+
import vModelSelectedEn from './v-model-selected.en.mdx'
|
|
12
|
+
import vModelSelectedRu from './v-model-selected.ru.mdx'
|
|
9
13
|
|
|
10
14
|
export const wikiMdxValue: StorybookComponentsMdxItem = {
|
|
11
15
|
name: 'Value',
|
|
12
16
|
descriptions: {
|
|
13
|
-
highlight: {
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
'highlight': {
|
|
18
|
+
en: highlightEn,
|
|
19
|
+
ru: highlightRu
|
|
20
|
+
},
|
|
21
|
+
'labelNumber': {
|
|
22
|
+
en: labelNumberEn,
|
|
23
|
+
ru: labelNumberRu
|
|
24
|
+
},
|
|
25
|
+
'v-model': {
|
|
26
|
+
en: vModelEn,
|
|
27
|
+
ru: vModelRu
|
|
28
|
+
},
|
|
29
|
+
'v-model:selected': {
|
|
30
|
+
en: vModelSelectedEn,
|
|
31
|
+
ru: vModelSelectedRu
|
|
32
|
+
},
|
|
33
|
+
'value': {
|
|
34
|
+
en: valueEn,
|
|
35
|
+
ru: valueRu
|
|
36
|
+
}
|
|
16
37
|
}
|
|
17
38
|
}
|
package/src/media/mdx/wikiMdx.ts
CHANGED
|
@@ -6,28 +6,42 @@ import { wikiMdxSlot } from './slot/wikiMdxSlot'
|
|
|
6
6
|
import { wikiMdxStyle } from './style/wikiMdxStyle'
|
|
7
7
|
import { wikiMdxValue } from './value/wikiMdxValue'
|
|
8
8
|
|
|
9
|
+
import { wikiMdxAccordion } from './Accordion/wikiMdxAccordion'
|
|
10
|
+
import { wikiMdxActions } from './Actions/wikiMdxActions'
|
|
11
|
+
import { wikiMdxActionSheet } from './ActionSheet/wikiMdxActionSheet'
|
|
12
|
+
import { wikiMdxAnchor } from './Anchor/wikiMdxAnchor'
|
|
13
|
+
import { wikiMdxArrow } from './Arrow/wikiMdxArrow'
|
|
9
14
|
import { wikiMdxBadge } from './Badge/wikiMdxBadge'
|
|
10
15
|
import { wikiMdxBars } from './Bars/wikiMdxBars'
|
|
16
|
+
import { wikiMdxBlock } from './Block/wikiMdxBlock'
|
|
11
17
|
import { wikiMdxButton } from './Button/wikiMdxButton'
|
|
12
18
|
import { wikiMdxCell } from './Cell/wikiMdxCell'
|
|
13
19
|
import { wikiMdxChip } from './Chip/wikiMdxChip'
|
|
20
|
+
import { wikiMdxChipGroup } from './ChipGroup/wikiMdxChipGroup'
|
|
21
|
+
import { wikiMdxDialog } from './Dialog/wikiMdxDialog'
|
|
14
22
|
import { wikiMdxField } from './Field/wikiMdxField'
|
|
15
23
|
import { wikiMdxFieldCounter } from './FieldCounter/wikiMdxFieldCounter'
|
|
16
24
|
import { wikiMdxFieldLabel } from './FieldLabel/wikiMdxFieldLabel'
|
|
17
25
|
import { wikiMdxFieldMessage } from './FieldMessage/wikiMdxFieldMessage'
|
|
18
26
|
import { wikiMdxIcon } from './Icon/wikiMdxIcon'
|
|
19
27
|
import { wikiMdxImage } from './Image/wikiMdxImage'
|
|
28
|
+
import { wikiMdxInput } from './Input/wikiMdxInput'
|
|
20
29
|
import { wikiMdxList } from './List/wikiMdxList'
|
|
21
30
|
import { wikiMdxListGroup } from './ListGroup/wikiMdxListGroup'
|
|
22
31
|
import { wikiMdxListItem } from './ListItem/wikiMdxListItem'
|
|
23
32
|
import { wikiMdxListMenu } from './ListMenu/wikiMdxListMenu'
|
|
24
33
|
import { wikiMdxMask } from './Mask/wikiMdxMask'
|
|
25
34
|
import { wikiMdxMenu } from './Menu/wikiMdxMenu'
|
|
35
|
+
import { wikiMdxModal } from './Modal/wikiMdxModal'
|
|
26
36
|
import { wikiMdxMotionTransform } from './MotionTransform/wikiMdxMotionTransform'
|
|
27
37
|
import { wikiMdxProgress } from './Progress/wikiMdxProgress'
|
|
28
38
|
import { wikiMdxRipple } from './Ripple/wikiMdxRipple'
|
|
29
39
|
import { wikiMdxScrollbar } from './Scrollbar/wikiMdxScrollbar'
|
|
40
|
+
import { wikiMdxSelect } from './Select/wikiMdxSelect'
|
|
41
|
+
import { wikiMdxSelectValue } from './SelectValue/wikiMdxSelectValue'
|
|
30
42
|
import { wikiMdxSkeleton } from './Skeleton/wikiMdxSkeleton'
|
|
43
|
+
import { wikiMdxTextareaAutosize } from './TextareaAutosize/wikiMdxTextareaAutosize'
|
|
44
|
+
import { wikiMdxTooltip } from './Tooltip/wikiMdxTooltip'
|
|
31
45
|
import { wikiMdxWindow } from './Window/wikiMdxWindow'
|
|
32
46
|
|
|
33
47
|
export const wikiMdx: StorybookComponentsMdx = [
|
|
@@ -37,27 +51,41 @@ export const wikiMdx: StorybookComponentsMdx = [
|
|
|
37
51
|
wikiMdxStyle,
|
|
38
52
|
wikiMdxValue,
|
|
39
53
|
|
|
54
|
+
wikiMdxAccordion,
|
|
55
|
+
wikiMdxActions,
|
|
56
|
+
wikiMdxActionSheet,
|
|
57
|
+
wikiMdxAnchor,
|
|
58
|
+
wikiMdxArrow,
|
|
40
59
|
wikiMdxBadge,
|
|
41
60
|
wikiMdxBars,
|
|
61
|
+
wikiMdxBlock,
|
|
42
62
|
wikiMdxButton,
|
|
43
63
|
wikiMdxCell,
|
|
44
64
|
wikiMdxChip,
|
|
65
|
+
wikiMdxChipGroup,
|
|
66
|
+
wikiMdxDialog,
|
|
45
67
|
wikiMdxField,
|
|
46
68
|
wikiMdxFieldCounter,
|
|
47
69
|
wikiMdxFieldLabel,
|
|
48
70
|
wikiMdxFieldMessage,
|
|
49
71
|
wikiMdxIcon,
|
|
50
72
|
wikiMdxImage,
|
|
73
|
+
wikiMdxInput,
|
|
51
74
|
wikiMdxList,
|
|
52
75
|
wikiMdxListGroup,
|
|
53
76
|
wikiMdxListItem,
|
|
54
77
|
wikiMdxListMenu,
|
|
55
78
|
wikiMdxMask,
|
|
56
|
-
wikiMdxMotionTransform,
|
|
57
79
|
wikiMdxMenu,
|
|
80
|
+
wikiMdxModal,
|
|
81
|
+
wikiMdxMotionTransform,
|
|
58
82
|
wikiMdxProgress,
|
|
59
83
|
wikiMdxRipple,
|
|
60
84
|
wikiMdxScrollbar,
|
|
85
|
+
wikiMdxSelect,
|
|
86
|
+
wikiMdxSelectValue,
|
|
61
87
|
wikiMdxSkeleton,
|
|
88
|
+
wikiMdxTextareaAutosize,
|
|
89
|
+
wikiMdxTooltip,
|
|
62
90
|
wikiMdxWindow
|
|
63
91
|
]
|
package/src/media/props/wiki.ts
CHANGED
|
@@ -1,18 +1,36 @@
|
|
|
1
1
|
import type { StorybookArgsToList } from '../../types/storybookTypes'
|
|
2
2
|
|
|
3
|
+
import { wikiAria } from './wikiAria'
|
|
4
|
+
import { wikiForm } from './wikiForm'
|
|
3
5
|
import { wikiStatus } from './wikiStatus'
|
|
6
|
+
import { wikiInformation } from './wikiInformation'
|
|
4
7
|
import { wikiValue } from './wikiValue'
|
|
5
8
|
import { wikiStyle } from './wikiStyle'
|
|
9
|
+
import { wikiOption } from './wikiOption'
|
|
6
10
|
import { wikiTechnical } from './wikiTechnical'
|
|
11
|
+
import { wikiText } from './wikiText'
|
|
7
12
|
import { wikiHook } from './wikiHook'
|
|
8
13
|
|
|
14
|
+
import { wikiActionsInclude } from './wikiActionsInclude'
|
|
15
|
+
import { wikiArrowInclude } from './wikiArrowInclude'
|
|
16
|
+
import { wikiBarsInclude } from './wikiBarsInclude'
|
|
17
|
+
import { wikiFieldCounterInclude } from './wikiFieldCounterInclude'
|
|
18
|
+
import { wikiIconInclude } from './wikiIconInclude'
|
|
19
|
+
import { wikiMaskInclude } from './wikiMaskInclude'
|
|
20
|
+
|
|
21
|
+
import { wikiActions } from './wikiActions'
|
|
22
|
+
import { wikiAnchor } from './wikiAnchor'
|
|
23
|
+
import { wikiArrow } from './wikiArrow'
|
|
9
24
|
import { wikiBadge } from './wikiBadge'
|
|
10
25
|
import { wikiBars } from './wikiBars'
|
|
11
26
|
import { wikiButton } from './wikiButton'
|
|
12
27
|
import { wikiChip } from './wikiChip'
|
|
28
|
+
import { wikiChipGroup } from './wikiChipGroup'
|
|
29
|
+
import { wikiDialog } from './wikiDialog'
|
|
13
30
|
import { wikiField } from './wikiField'
|
|
14
31
|
import { wikiIcon } from './wikiIcon'
|
|
15
32
|
import { wikiImage } from './wikiImage'
|
|
33
|
+
import { wikiInput } from './wikiInput'
|
|
16
34
|
import { wikiList } from './wikiList'
|
|
17
35
|
import { wikiListItem } from './wikiListItem'
|
|
18
36
|
import { wikiMask } from './wikiMask'
|
|
@@ -20,22 +38,43 @@ import { wikiMenu } from './wikiMenu'
|
|
|
20
38
|
import { wikiMotionTransform } from './wikiMotionTransform'
|
|
21
39
|
import { wikiProgress } from './wikiProgress'
|
|
22
40
|
import { wikiScrollbar } from './wikiScrollbar'
|
|
41
|
+
import { wikiSelect } from './wikiSelect'
|
|
42
|
+
import { wikiSelectValue } from './wikiSelectValue'
|
|
43
|
+
import { wikiTooltip } from './wikiTooltip'
|
|
23
44
|
import { wikiWindow } from './wikiWindow'
|
|
24
45
|
|
|
25
46
|
export const wiki: StorybookArgsToList = {
|
|
47
|
+
...wikiAria,
|
|
48
|
+
...wikiForm,
|
|
26
49
|
...wikiStatus,
|
|
50
|
+
...wikiInformation,
|
|
27
51
|
...wikiValue,
|
|
28
52
|
...wikiStyle,
|
|
53
|
+
...wikiOption,
|
|
29
54
|
...wikiTechnical,
|
|
55
|
+
...wikiText,
|
|
30
56
|
...wikiHook,
|
|
31
57
|
|
|
58
|
+
...wikiActionsInclude,
|
|
59
|
+
...wikiArrowInclude,
|
|
60
|
+
...wikiBarsInclude,
|
|
61
|
+
...wikiFieldCounterInclude,
|
|
62
|
+
...wikiIconInclude,
|
|
63
|
+
...wikiMaskInclude,
|
|
64
|
+
|
|
65
|
+
...wikiActions,
|
|
66
|
+
...wikiAnchor,
|
|
67
|
+
...wikiArrow,
|
|
32
68
|
...wikiBadge,
|
|
33
69
|
...wikiBars,
|
|
34
70
|
...wikiButton,
|
|
35
71
|
...wikiChip,
|
|
72
|
+
...wikiChipGroup,
|
|
73
|
+
...wikiDialog,
|
|
36
74
|
...wikiField,
|
|
37
75
|
...wikiIcon,
|
|
38
76
|
...wikiImage,
|
|
77
|
+
...wikiInput,
|
|
39
78
|
...wikiList,
|
|
40
79
|
...wikiListItem,
|
|
41
80
|
...wikiMask,
|
|
@@ -43,5 +82,8 @@ export const wiki: StorybookArgsToList = {
|
|
|
43
82
|
...wikiMotionTransform,
|
|
44
83
|
...wikiProgress,
|
|
45
84
|
...wikiScrollbar,
|
|
85
|
+
...wikiSelect,
|
|
86
|
+
...wikiSelectValue,
|
|
87
|
+
...wikiTooltip,
|
|
46
88
|
...wikiWindow
|
|
47
89
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
type StorybookArgsToList,
|
|
3
|
+
StorybookCategory,
|
|
4
|
+
StorybookControl
|
|
5
|
+
} from '../../types/storybookTypes'
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The wikiActions object contains descriptions of all properties for the Actions component
|
|
9
|
+
*
|
|
10
|
+
* Объект wikiActions содержит описание всех свойств для компонента Actions
|
|
11
|
+
*/
|
|
12
|
+
export const wikiActions: StorybookArgsToList = {
|
|
13
|
+
'actions.list': {
|
|
14
|
+
type: StorybookControl.object,
|
|
15
|
+
options: {
|
|
16
|
+
category: StorybookCategory.value,
|
|
17
|
+
description: {
|
|
18
|
+
en: 'Array of primary action button configurations',
|
|
19
|
+
ru: 'Массив конфигураций основных кнопок действий'
|
|
20
|
+
},
|
|
21
|
+
value: [
|
|
22
|
+
{ label: 'Ok' },
|
|
23
|
+
{ label: 'Cancel' }
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
'actions.listSecondary': {
|
|
28
|
+
type: StorybookControl.object,
|
|
29
|
+
options: {
|
|
30
|
+
category: StorybookCategory.value,
|
|
31
|
+
description: {
|
|
32
|
+
en: 'Array of secondary action button configurations',
|
|
33
|
+
ru: 'Массив конфигураций вторичных кнопок действий'
|
|
34
|
+
},
|
|
35
|
+
value: [
|
|
36
|
+
{ icon: 'edit' },
|
|
37
|
+
{ icon: 'photo_camera' },
|
|
38
|
+
{ icon: 'image' },
|
|
39
|
+
{ icon: 'tune' }
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import {
|
|
2
|
+
type StorybookArgsToList,
|
|
3
|
+
StorybookCategory,
|
|
4
|
+
StorybookControl
|
|
5
|
+
} from '../../types/storybookTypes'
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The wikiActionsInclude object contains descriptions of all properties for the Actions include
|
|
9
|
+
*
|
|
10
|
+
* Объект wikiActionsInclude содержит описание всех свойств для включения Actions
|
|
11
|
+
*/
|
|
12
|
+
export const wikiActionsInclude: StorybookArgsToList = {
|
|
13
|
+
actionsAttrs: {
|
|
14
|
+
type: StorybookControl.object,
|
|
15
|
+
options: {
|
|
16
|
+
category: StorybookCategory.actions,
|
|
17
|
+
description: {
|
|
18
|
+
en: 'Additional attributes for the Actions component container',
|
|
19
|
+
ru: 'Дополнительные атрибуты для контейнера компонента Actions'
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
actionsHide: {
|
|
24
|
+
type: StorybookControl.boolean,
|
|
25
|
+
options: {
|
|
26
|
+
category: StorybookCategory.actions,
|
|
27
|
+
description: {
|
|
28
|
+
en: 'Hides the actions block',
|
|
29
|
+
ru: 'Скрывает блок действий'
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
actionsList: {
|
|
34
|
+
type: StorybookControl.object,
|
|
35
|
+
options: {
|
|
36
|
+
category: StorybookCategory.actions,
|
|
37
|
+
description: {
|
|
38
|
+
en: 'Array of primary action buttons displayed in the actions area',
|
|
39
|
+
ru: 'Массив основных кнопок действий, отображаемых в области действий'
|
|
40
|
+
},
|
|
41
|
+
value: [
|
|
42
|
+
{ icon: 'edit', label: 'Edit' },
|
|
43
|
+
{ icon: 'delete', label: 'Delete' },
|
|
44
|
+
{ icon: 'share', label: 'Share' }
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
actionsSecondary: {
|
|
49
|
+
type: StorybookControl.object,
|
|
50
|
+
options: {
|
|
51
|
+
category: StorybookCategory.actions,
|
|
52
|
+
description: {
|
|
53
|
+
en: 'Array of secondary action buttons displayed in the actions area',
|
|
54
|
+
ru: 'Массив вторичных кнопок действий, отображаемых в области действий'
|
|
55
|
+
},
|
|
56
|
+
value: [
|
|
57
|
+
{ icon: 'info', label: 'Info' },
|
|
58
|
+
{ icon: 'help', label: 'Help' }
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|